@cloudflare/realtimekit-ui 1.0.6-staging.3 → 1.0.6-staging.5
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/{floating-ui.dom.esm-90c5a220.js → floating-ui.dom.esm-705e65f3.js} +38 -21
- 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 +9 -7
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +59 -59
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +2 -2
- 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-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-participant-setup.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant_2.cjs.entry.js +16 -16
- 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-plugin-main_2.cjs.entry.js +1 -1
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +9 -6
- 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-audio-visualizer/rtk-audio-visualizer.css +1 -1
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +8 -6
- package/dist/collection/components/rtk-avatar/rtk-avatar.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-caption-toggle/rtk-caption-toggle.js +1 -1
- 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.js +4 -4
- 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 +1 -1
- 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-dialog-manager/rtk-dialog-manager.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.js +1 -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.css +0 -2
- 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-participant-tile/rtk-participant-tile.js +3 -3
- 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-plugin-main/rtk-plugin-main.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 +8 -5
- 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-895216f5.js → p-03bdc4c0.js} +2 -2
- package/dist/components/{p-30f43e99.js → p-078bfa39.js} +1 -1
- package/dist/components/{p-18be8fba.js → p-08f6162d.js} +14 -14
- package/dist/components/{p-2b07a9ed.js → p-0a583582.js} +18 -18
- package/dist/components/{p-336cf0db.js → p-0c5aab6d.js} +11 -11
- package/dist/components/{p-4e857a0d.js → p-1740eeb4.js} +1 -1
- package/dist/components/{p-91da496e.js → p-17453290.js} +5 -5
- package/dist/components/{p-7c9cb546.js → p-1f8aeaf8.js} +1 -1
- package/dist/components/{p-ed31845a.js → p-22aa706b.js} +1 -1
- package/dist/components/{p-26f082a7.js → p-25a4363c.js} +2 -2
- package/dist/components/{p-2475ba83.js → p-262377bc.js} +1 -1
- package/dist/components/{p-0081423d.js → p-27f15618.js} +1 -1
- package/dist/components/{p-3e5293ce.js → p-2eb129f3.js} +1 -1
- package/dist/components/{p-96a0663a.js → p-30b81dcd.js} +4 -4
- package/dist/components/{p-3c344b0a.js → p-317b41b0.js} +2 -2
- package/dist/components/{p-942b1cc7.js → p-31ccb362.js} +16 -16
- package/dist/components/{p-095e6b83.js → p-3570bda3.js} +2 -2
- package/dist/components/{p-fe7d8bd5.js → p-47fbe920.js} +3 -3
- package/dist/components/{p-21c5daa6.js → p-4a4c2102.js} +2 -2
- package/dist/components/{p-0f94d9ad.js → p-4a792ea5.js} +5 -5
- package/dist/components/{p-74d7f3a0.js → p-4e9d44f6.js} +2 -2
- package/dist/components/{p-600ba2e1.js → p-519d58db.js} +3 -3
- package/dist/components/{p-9b4f77d0.js → p-5205ea87.js} +1 -1
- package/dist/components/{p-3246ca48.js → p-535a38ec.js} +1 -1
- package/dist/components/{p-07ab7497.js → p-61a18b1f.js} +2 -2
- package/dist/components/{p-8df26513.js → p-632e7c39.js} +8 -8
- package/dist/components/{p-c3ec35db.js → p-63b4ff6e.js} +2 -2
- package/dist/components/{p-4bd4064f.js → p-654f389d.js} +2 -2
- package/dist/components/{p-81f5a54c.js → p-74942069.js} +2 -2
- package/dist/components/{p-94cc1b33.js → p-769bb885.js} +38 -21
- package/dist/components/{p-5cdf3eef.js → p-7b0a9819.js} +2 -2
- package/dist/components/{p-906cc68f.js → p-7da6a349.js} +3 -3
- package/dist/components/{p-313d8bb6.js → p-80c36767.js} +6 -6
- package/dist/components/{p-10d4f8a5.js → p-8336535d.js} +3 -3
- package/dist/components/{p-95b61f33.js → p-866a285b.js} +1 -1
- package/dist/components/{p-e91c4d3d.js → p-89ce3d1b.js} +2 -2
- package/dist/components/{p-b54f0841.js → p-919e71b8.js} +3 -3
- package/dist/components/{p-73b8c09f.js → p-929a81e6.js} +1 -1
- package/dist/components/{p-46a0aa0b.js → p-92f160e9.js} +2 -2
- package/dist/components/{p-be9e62b4.js → p-96baedfe.js} +12 -12
- package/dist/components/{p-d18cc4dc.js → p-978ab9a8.js} +1 -1
- package/dist/components/{p-bc911542.js → p-99e78dbe.js} +2 -2
- package/dist/components/{p-dc3143c0.js → p-a3ebfc10.js} +2 -2
- package/dist/components/{p-fe4cd240.js → p-a59a9c97.js} +1 -1
- package/dist/components/{p-d009f42a.js → p-a9bcec5d.js} +2 -2
- package/dist/components/{p-258274b1.js → p-a9d80b81.js} +1 -1
- package/dist/components/{p-2d62c12d.js → p-ac49fc4f.js} +9 -9
- package/dist/components/{p-f3fc3655.js → p-adca9df1.js} +2 -2
- package/dist/components/{p-e98d5a6d.js → p-afd22e6f.js} +8 -6
- package/dist/components/{p-2817923a.js → p-b0a32a7d.js} +3 -3
- package/dist/components/{p-3408773e.js → p-b2c7ff74.js} +11 -8
- package/dist/components/{p-3b1c4e80.js → p-ba531eb3.js} +1 -1
- package/dist/components/{p-faad6e1b.js → p-c15ef063.js} +2 -2
- package/dist/components/{p-90efc7c2.js → p-c49f28a7.js} +3 -3
- package/dist/components/{p-2036dd73.js → p-c5b6ed4f.js} +1 -1
- package/dist/components/{p-1fb807e2.js → p-c8b8a942.js} +2 -2
- package/dist/components/{p-7f1a8e4a.js → p-cb7f0abe.js} +4 -4
- package/dist/components/{p-bb6d1fe9.js → p-d1fe3ce0.js} +1 -1
- package/dist/components/{p-90500e75.js → p-d3c93bcf.js} +1 -1
- package/dist/components/{p-dc92328d.js → p-da6a70f6.js} +2 -2
- package/dist/components/{p-d77cddb6.js → p-de20d057.js} +6 -6
- package/dist/components/{p-05b503da.js → p-e891d522.js} +4 -4
- package/dist/components/{p-ebbcc5b6.js → p-ebc865ec.js} +1 -1
- package/dist/components/{p-26d02e75.js → p-edeeedb5.js} +43 -43
- package/dist/components/{p-6651bbb0.js → p-f45ceaa6.js} +2 -2
- package/dist/components/{p-2a29bcee.js → p-f5c29229.js} +10 -10
- package/dist/components/{p-b9e78c21.js → p-f5f0b499.js} +1 -1
- package/dist/components/{p-b788bae4.js → p-f6995a6b.js} +6 -6
- package/dist/components/{p-7b0b700d.js → p-ff8e5929.js} +2 -2
- 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-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 +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 +3 -3
- package/dist/components/rtk-channel-creator.js +1 -1
- package/dist/components/rtk-channel-details.js +1 -1
- package/dist/components/rtk-channel-header.js +1 -1
- package/dist/components/rtk-channel-selector-ui.js +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 +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- 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 +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-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 +44 -44
- 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 +4 -4
- 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-tile.js +1 -1
- 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-plugin-main.js +1 -1
- 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 +5 -5
- 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 +2 -2
- package/dist/docs/docs-vscode.json +1 -1
- package/dist/esm/{floating-ui.dom.esm-a2dc8eef.js → floating-ui.dom.esm-21c3d54e.js} +38 -21
- package/dist/esm/loader.js +162 -140
- 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 +9 -7
- package/dist/esm/rtk-avatar_54.entry.js +59 -59
- package/dist/esm/rtk-camera-selector_2.entry.js +3 -3
- package/dist/esm/rtk-caption-toggle.entry.js +1 -1
- package/dist/esm/rtk-channel-selector-ui.entry.js +2 -2
- 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-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-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +16 -16
- 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-plugin-main_2.entry.js +1 -1
- package/dist/esm/rtk-plugins_2.entry.js +9 -6
- 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-6271e03b.entry.js → p-0125c45d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-efa54e8e.entry.js → p-04ab7c4a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-474b0f74.entry.js → p-11020a12.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5a54dec7.entry.js → p-13b6e4ee.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4212a5b9.entry.js → p-2764b447.entry.js} +1 -1
- package/dist/realtimekit-ui/p-307355b9.entry.js +1 -0
- package/dist/realtimekit-ui/{p-5b4a5301.entry.js → p-35a51c3b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cd21ddd6.entry.js → p-3dadb4e9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fa9d810a.entry.js → p-49e6f5e0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ea543c78.entry.js → p-4b9f6d75.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4d40567d.entry.js +1 -0
- package/dist/realtimekit-ui/{p-eef196ea.entry.js → p-4d5449e8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6a477e1f.entry.js → p-532c52bb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9942a0f1.entry.js → p-5adb0497.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5cdfc43a.entry.js → p-642f73a0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-25113d9f.entry.js → p-66370bf2.entry.js} +1 -1
- package/dist/realtimekit-ui/p-769bb885.js +1 -0
- package/dist/realtimekit-ui/p-77645be9.entry.js +1 -0
- package/dist/realtimekit-ui/p-7839a177.entry.js +1 -0
- package/dist/realtimekit-ui/{p-58b50726.entry.js → p-7d15ea69.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e61bff28.entry.js → p-825932ec.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e6285f43.entry.js → p-839d29e1.entry.js} +1 -1
- package/dist/realtimekit-ui/p-973b53de.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d676be68.entry.js → p-9f7e30fa.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6115915b.entry.js → p-a8885d0a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a9fd8cbe.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c21daa47.entry.js → p-b420bb34.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c48d0286.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c34d1441.entry.js → p-cfff77bc.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-702b87ec.entry.js → p-ded409c8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6db7b60d.entry.js → p-e28f5af8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5f73b13c.entry.js → p-e6287ffc.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7f423b4c.entry.js → p-f02d9838.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1f264d14.entry.js → p-ff811d06.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-audio-visualizer/rtk-audio-visualizer.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/package.json +2 -2
- package/dist/realtimekit-ui/p-3b5af363.entry.js +0 -1
- package/dist/realtimekit-ui/p-511cb129.entry.js +0 -1
- package/dist/realtimekit-ui/p-783ab8d8.entry.js +0 -1
- package/dist/realtimekit-ui/p-8571130f.entry.js +0 -1
- package/dist/realtimekit-ui/p-94cc1b33.js +0 -1
- package/dist/realtimekit-ui/p-adbe5063.entry.js +0 -1
- package/dist/realtimekit-ui/p-d6d86a24.entry.js +0 -1
- package/dist/realtimekit-ui/p-fb948fd1.entry.js +0 -1
|
@@ -80,7 +80,7 @@ export class RtkAudioGrid {
|
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
82
|
const onStage = this.activeParticipants.concat(this.onStageParticipants);
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '9abf98e115b0c6904fd970c39880101fab2c637c' }, h("div", { key: 'dba672bd5cdd108629802028080eef8d1fb3afd6', class: "content scrollbar" }, h("div", { key: '21fc5e7ac8a6226b35695960f8f4b92a227344b5', class: "stage grid" }, this.renderGrid(onStage)), this.offStageParticipants.length > 0 && (h("div", { key: '6aee7d64d2af6e4435c5e552e24d7a3dc12847f8', class: "waitlist-area" }, h("div", { key: 'e84f6038cc0071062b9d5d033848739bdb1cc971', class: "listening-title" }, this.offStageParticipants.length, " ", this.t('grid.listening')), h("div", { key: 'd6d5cdd233847dca6902a4c0158be110b36b1c76', class: "waitlist-grid grid" }, this.renderGrid(this.offStageParticipants))))), h("slot", { key: '03aee180fdfdf0a8391e31cc2e943173fb06bcc0' })));
|
|
84
84
|
}
|
|
85
85
|
static get is() { return "rtk-audio-grid"; }
|
|
86
86
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@ export class RtkAudioVisualizer {
|
|
|
27
27
|
this.iconPack = defaultIconPack;
|
|
28
28
|
/** Language */
|
|
29
29
|
this.t = useLanguage();
|
|
30
|
-
/** Hide
|
|
30
|
+
/** Hide the visualizer if audio is muted */
|
|
31
31
|
this.hideMuted = false;
|
|
32
32
|
/** Audio visualizer for screensharing, it will use screenShareTracks.audio instead of audioTrack */
|
|
33
33
|
this.isScreenShare = false;
|
|
@@ -115,12 +115,14 @@ export class RtkAudioVisualizer {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
if (this.hideMuted && !this.audioEnabled)
|
|
119
|
+
return null;
|
|
120
|
+
return (h(Host, null, h("div", { class: {
|
|
121
|
+
audioActivePadding: this.hideMuted && this.audioEnabled,
|
|
122
|
+
} }, h("canvas", { width: "24", height: "24", class: {
|
|
121
123
|
bars: true,
|
|
122
124
|
visible: this.audioEnabled,
|
|
123
|
-
}, ref: (el) => (this.visualizer = el), part: "canvas" }), !this.isScreenShare && !this.audioEnabled &&
|
|
125
|
+
}, ref: (el) => (this.visualizer = el), part: "canvas" }), !this.isScreenShare && !this.audioEnabled && (h("rtk-icon", { icon: this.iconPack.mic_off, part: "mic-off-icon" })))));
|
|
124
126
|
}
|
|
125
127
|
static get is() { return "rtk-audio-visualizer"; }
|
|
126
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -270,7 +272,7 @@ export class RtkAudioVisualizer {
|
|
|
270
272
|
"optional": false,
|
|
271
273
|
"docs": {
|
|
272
274
|
"tags": [],
|
|
273
|
-
"text": "Hide
|
|
275
|
+
"text": "Hide the visualizer if audio is muted"
|
|
274
276
|
},
|
|
275
277
|
"getter": false,
|
|
276
278
|
"setter": false,
|
|
@@ -40,7 +40,7 @@ export class RtkAvatar {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: 'c1a0be37edb75c40b275ad59af85cee7df3f1cdf' }, this.getAvatar(), h("slot", { key: '1cd71e7494a09d68a52051edc279911dc3168515' })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "rtk-avatar"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js
CHANGED
|
@@ -99,9 +99,9 @@ export class RtkBreakoutRoomParticipants {
|
|
|
99
99
|
}, size: "sm" }), h("p", { class: "name", title: name }, shorten(name, 16), this.meeting.self.userId === participant.id && ` (${this.t('you')})`)));
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '3d6466a85fa946d5c0d064d22431e3c7bf044787' }, h("div", { key: '8626af199d5290ce595212817ee06c1ef00d91bf', class: "search-wrapper" }, h("div", { key: '9ac706f201f5975b7d36b4dde7fd9504321b7d5f', class: "search", part: "search" }, h("rtk-icon", { key: '0ccba51717c665364934ea1bfdd7eeea3c5e96b7', icon: this.iconPack.search, part: "search-icon", class: "search-icon" }), h("input", { key: '01c85631f3e1823d1ab384bad4a9efbd86514894', type: "search", autocomplete: "off", placeholder: this.t('search'), onInput: this.onSearchInput, part: "search-input" })), h("slot", { key: '9d3a00a2bd167d053025d979bb0a498028b664de', name: "shuffle-button" })), h("div", { key: '38defd0577bedacd300e8cb558b42727b7817420', class: "header" }, h("div", { key: 'e11f58aae66a50800625464b79517e59094e5f1d', class: "title-wrapper" }, h("span", { key: '99ec80653bc7045fd08c4e95ac15f95dc3ca90ad' }, this.t('breakout_rooms.main_room')), h("span", { key: '40617acc26b95df49c2f221846ee811046709908', class: "participant-count" }, "(", h("rtk-icon", { key: 'aa8c4c4281635c998ea7c254b611341fd28e65cc', icon: this.iconPack.people }), this.participantsToShow.length, ")")), this.selectedParticipantIds.length !== 0 && (h("rtk-tooltip", { key: 'ce8eb895411d27003cafccb8ed694851df0ec52e', label: this.t('breakout_rooms.select_all') }, h("input", { key: '76ba09891936c9dfbfbd216f030c32b38c3160ee', type: "checkbox", checked: this.selectedParticipantIds.length === this.participantsToShow.length, onChange: (e) => this.onToggleAll(!!e.target.checked) })))), h("div", { key: '2ac3f88bd10747f453a626837a8806072ccc283d', class: "ctr scrollbar", part: "container" }, this.participantsToShow.length > 0 && (h("ul", { key: '01e08e47d7b52a1805561b3efc4e97713f542a4d', class: "participants", part: "participants" }, this.participantsToShow.map((participant) => (h("li", { class: { 'participant-item': true, dragging: this.isDragging }, onClick: () => this.onClick(participant), onDragStart: () => this.onDragStart(participant), onDragEnd: () => this.onDragEnd(participant), draggable: this.selectedParticipantIds.length === 0, role: "listitem", key: participant.id }, this.renderPeer(participant), !this.isDragging && (h("input", { type: "checkbox", class: {
|
|
103
103
|
'hide-checkbox': this.selectedParticipantIds.length === 0,
|
|
104
|
-
}, checked: this.selectedParticipantIds.includes(participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (h("div", { key: '
|
|
104
|
+
}, checked: this.selectedParticipantIds.includes(participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (h("div", { key: 'aa14388c88e230528364d906d97972abdb4a5d7c', class: "empty-message" }, this.t('participants.errors.empty_results'))), this.participantsToShow.length === 0 && this.search.length === 0 && (h("div", { key: '0b10bd982a32001549df0d38cb76f0fcc112fb3d', class: "empty-room" }, h("rtk-icon", { key: 'bc7ce0cfa9f46e0d793f9b9a6b3866325963d017', icon: this.iconPack.people_checked, part: "search-icon", class: "search-icon" }), h("p", { key: '6ff4827b2df19620c677fdbf432669fd60200bb1' }, this.t('breakout_rooms.all_assigned')), h("span", { key: 'ea6e1b05bfaf16842687fbdf1b680cb64fe2a9ef' }, this.t('breakout_rooms.empty_main_room')))))));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "rtk-breakout-room-participants"; }
|
|
107
107
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js
CHANGED
|
@@ -37,9 +37,9 @@ export class RtkBroadcastMessageModal {
|
|
|
37
37
|
}, 2000);
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '4d23ce819f004fd0e14a4c9062e21f1321c46495' }, h("div", { key: 'f0814536068dd268c1aec9d80c45cc6817fe184b', class: "content-col" }, h("h2", { key: '5b0caef4e9f93d1a18c7bba8a269f10d95f5d290' }, "Broadcast message to"), h("select", { key: '8f32291fa522cf7a5947caf54178327e1574f103', onChange: (e) => {
|
|
41
41
|
this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { to: e.target.value });
|
|
42
|
-
} }, h("option", { key: '
|
|
42
|
+
} }, h("option", { key: 'b09bb9b952ade48788bf8ab15645a1a45dab6935' }, "Everyone"), h("option", { key: '177d1af8eaeaa77393a9b2e477fca32563c05290' }, "List of rooms")), h("textarea", { key: 'b592528751cb63fa8c107b2b63455bfed0b3f3cb', placeholder: "Type message here...", onInput: (e) => {
|
|
43
43
|
this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { message: e.target.value });
|
|
44
44
|
} }), this.successMessage ? (h("p", null, "Message sent to ", this.messagePayload.to, h("rtk-icon", { icon: this.iconPack.checkmark }))) : (h("div", { class: "content-row" }, h("rtk-button", { onClick: () => this.close(), variant: "secondary" }, "Cancel"), "\u2002", h("rtk-button", { variant: "primary", onClick: () => this.sendMessage() }, "Send"))))));
|
|
45
45
|
}
|
|
@@ -33,7 +33,7 @@ export class RtkCaptionToggle {
|
|
|
33
33
|
this.meetingChanged(this.meeting);
|
|
34
34
|
}
|
|
35
35
|
meetingChanged(meeting) {
|
|
36
|
-
if (meeting
|
|
36
|
+
if (!meeting)
|
|
37
37
|
return;
|
|
38
38
|
this.permissionsUpdateListener();
|
|
39
39
|
this.meeting.self.permissions.addListener('permissionsUpdate', this.permissionsUpdateListener);
|
|
@@ -133,9 +133,9 @@ export class RtkChannelCreator {
|
|
|
133
133
|
(_a = this.inputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: '7d1b6bc07ef49de8075a25dec0f70b1f01d41222' }, h("header", { key: 'd0db6948cb2888043e6bb260f219570523398721' }, this.step === 1 ? this.t('chat.new_channel') : this.t('chat.add_members')), this.step === 1 && (h("input", { key: 'ebe47cfa27796197bc08a74e3e2d23e557325e30', class: "channel-name-input", type: "text", placeholder: this.t('chat.channel_name'), ref: (el) => (this.inputTextRef = el), onInput: (e) => {
|
|
137
137
|
this.channelName = e.target.value.trim();
|
|
138
|
-
} })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: '
|
|
138
|
+
} })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: 'c2a1b31a32bef53ced22b6d7267dba25173376cf' }, h("rtk-button", { key: '2766a128dca00f5175545897e985ab9fe2a074b1', kind: "button", size: "lg", disabled: this.channelName.length === 0, onClick: this.onClickHandler }, this.step === 1 ? this.t('chat.add_members') : this.t('create')))));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "rtk-channel-creator"; }
|
|
141
141
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,7 +26,7 @@ export class RtkChannelDetails {
|
|
|
26
26
|
})));
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'cc8b22dae541a200e63d0d6b286f7ad380a53f09' }, h("header", { key: 'e481f5db77f40f53cac0c6aeae28752ddab505cb' }, this.t('chat.channel_members')), this.renderMembers()));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "rtk-channel-details"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -112,7 +112,7 @@ export class RtkChannelSelectorUi {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '5a2393ac0ac3f67bfae1acf2ec06c2e3ced317f7' }, h("div", { key: '73361a84f8078584b80bca96f1f1f9c9f04d74b9', class: "container", ref: (el) => (this.$el = el) }, this.isHidden && (h("rtk-button", { key: 'ea1f4caf8e5e7aeb633cdec506952fad6f168900', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: '165420751ca42a7fe1040152bae366964e2dfe9f', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))), h("slot", { key: '4a04c6acd67fd6a243e66cbadfb527f70c95c416', name: "header" }), h("div", { key: 'd994d7c80ddab2ab5d87e8b7bfbaf24283f400f6', class: "search-wrapper" }, h("div", { key: '6d3c72ccf0576bb1c682c9b687fd769f8720501a', class: "search" }, h("input", { key: '65eaf233392c435772a3a2da1a33f819e4760f66', type: "search", autocomplete: "off", placeholder: this.t('chat.search_conversations'), onInput: this.onSearchInput }), h("rtk-icon", { key: 'c70df6fb76af5815837461f4f9382631acc8f336', icon: this.iconPack.search, class: "search-icon" }))), h("div", { key: '9b298879a017f3ac5c0919ec5869cb644839c31f', class: "channel-container scrollbar", role: "list" }, this.channels
|
|
116
116
|
.filter((channel) => this.searchQuery === '' || channel.displayName.includes(this.searchQuery))
|
|
117
117
|
.map((channel) => {
|
|
118
118
|
return (h("div", { class: {
|
|
@@ -122,7 +122,7 @@ export class RtkChannelSelectorUi {
|
|
|
122
122
|
}, role: "listitem", onClick: () => {
|
|
123
123
|
this.channelSelected(channel.id);
|
|
124
124
|
} }, 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))));
|
|
125
|
-
}))), !this.isHidden && (h("div", { key: '
|
|
125
|
+
}))), !this.isHidden && (h("div", { key: '3d760da990293e4ed28a2408d9db7987012c2bd4', class: "overlay-container" }, h("rtk-button", { key: 'ae83483508d71df77f4de75a92d99b89d148eefe', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: '482ab05f50c151ee956611db128cdd197df6ad11', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))))));
|
|
126
126
|
}
|
|
127
127
|
static get is() { return "rtk-channel-selector-ui"; }
|
|
128
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -112,11 +112,11 @@ export class RtkChannelSelectorView {
|
|
|
112
112
|
render() {
|
|
113
113
|
const filteredChannels = this.getFilteredChannels();
|
|
114
114
|
const shouldShowDropdown = this.viewAs === 'list' || (this.viewAs === 'dropdown' && this.showDropdown);
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: 'adc8ab4b9c8c865998588fbd9766296f18b3e48e' }, this.viewAs === 'list' && h("slot", { key: 'e5740725a4349472ca2eb1fb0816eb2311a99838', name: "header" }), shouldShowDropdown && (h("div", { key: '425adc920c28e0421e07bb0bd9f61b31c42fcda9', class: {
|
|
116
116
|
dropdown: this.viewAs === 'dropdown',
|
|
117
117
|
scrollbar: this.viewAs === 'dropdown',
|
|
118
118
|
list: this.viewAs === 'list',
|
|
119
|
-
} }, !this.disableSearch && (h("div", { key: '
|
|
119
|
+
} }, !this.disableSearch && (h("div", { key: '9fbbc48d8489f2a6490729fac1fecdef1838e84a', class: "search-container", ref: (el) => (this.$searchEl = el) }, h("input", { key: 'f7fb43662d50274f80380b735ef9f5fc0b215442', type: "text", placeholder: this.t('chat.search_conversations'), value: this.searchQuery, onInput: (e) => (this.searchQuery = e.target.value) }), h("rtk-icon", { key: 'af76e65a1397d2a6e557a28b687e26aef641c568', icon: this.iconPack.search }))), h("div", { key: '0711a9cfcc811269a5020dc41030c0daee5cc8bf', class: "channels-container scrollbar", ref: (el) => (this.$listEl = el) }, filteredChannels.map((channel) => {
|
|
120
120
|
return (h("button", { class: { channel: true, active: this.selectedChannelId === channel.id }, onClick: () => this.onChannelClickHandler(channel) }, !this.hideAvatar && (h("div", null, channel.icon ? (h("rtk-icon", { class: "avatar-icon", icon: this.iconPack[channel.icon] })) : (h("rtk-avatar", { participant: {
|
|
121
121
|
name: channel.name,
|
|
122
122
|
picture: channel.avatarUrl,
|
|
@@ -124,8 +124,8 @@ export class RtkChannelSelectorView {
|
|
|
124
124
|
'last-message': true,
|
|
125
125
|
'no-message': !channel.latestMessage,
|
|
126
126
|
} }, h("rtk-text-message-view", { isMarkdown: true, text: channel.latestMessage })))), h("div", { class: "col channel-meta" }, channel.latestMessageTime && (h("time", { class: "time" }, this.getTimeLabel(channel.latestMessageTime))), channel.unreadCount > 0 && (h("div", { class: "unread-count" }, channel.unreadCount))))));
|
|
127
|
-
})))), this.viewAs === 'dropdown' && (h("button", { key: '
|
|
128
|
-
`${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: '
|
|
127
|
+
})))), this.viewAs === 'dropdown' && (h("button", { key: '0c87f90d6d0fe22284995ab7259689f80a862829', class: "dropdown-trigger", onClick: this.toggleDropdown }, h("span", { key: 'd1a364f2c5c57d19702d0b8707ca661c1dc4c14f' }, this.selectedChannelId &&
|
|
128
|
+
`${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: 'bf789f9df82851825bc6ea12a19a5f37ab74aefe', class: "unread-count" }, this.getTotalUnreads()))), h("rtk-icon", { key: 'c0d03f883f4c46b2698be0f197751fc0470717ea', icon: this.showDropdown ? this.iconPack.chevron_up : this.iconPack.chevron_down })))));
|
|
129
129
|
}
|
|
130
130
|
static get is() { return "rtk-channel-selector-view"; }
|
|
131
131
|
static get encapsulation() { return "shadow"; }
|
|
@@ -84,11 +84,11 @@ export class RtkChatMessage {
|
|
|
84
84
|
} })));
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '50c4021e3c717d8d2c7e035ce6541adca05ca3d2' }, h("div", { key: '1f5a0d679baea7ea72855846f57fa8419e46f019', class: {
|
|
88
88
|
'message-wrapper': true,
|
|
89
89
|
'align-right': this.alignRight,
|
|
90
90
|
'left-align': this.leftAlign,
|
|
91
|
-
}, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: '
|
|
91
|
+
}, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: '1f11244450725426035076a80fcc41a76ef0b7a4', class: {
|
|
92
92
|
message: true,
|
|
93
93
|
'show-on-hover': !this.isTouchDevice(),
|
|
94
94
|
}, "is-continued": this.isContinued }, this.renderMessage(), this.renderControls()))));
|
|
@@ -153,7 +153,7 @@ export class RtkChatMessagesUi {
|
|
|
153
153
|
var _a;
|
|
154
154
|
let prevMessage = null;
|
|
155
155
|
let reachedFirstUnread = false;
|
|
156
|
-
return (h(Host, { key: '
|
|
156
|
+
return (h(Host, { key: '1e44ac8e6bd0eabff25aaedb905d80fb4007903d' }, h("div", { key: 'ffbb1fe97efc2408e2ee7e4bccef1cc8a3100b66', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, h("div", { key: '58d11c81a25a0760d3bdd9e60a8a6d0a96c022c2', class: "spacer", part: "spacer" }), h("div", { key: 'be68b5ccfd53bc7ec4c7dc23b10fe325a7c54314', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
157
157
|
if (item.type === 'chat') {
|
|
158
158
|
const { message } = item;
|
|
159
159
|
const isSelfMessage = message.userId === this.selfUserId;
|
|
@@ -172,10 +172,10 @@ export class RtkChatMessagesUi {
|
|
|
172
172
|
} })))), 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" }))))))));
|
|
173
173
|
}
|
|
174
174
|
return null;
|
|
175
|
-
}))), h("div", { key: '
|
|
175
|
+
}))), h("div", { key: 'ae321cae98279cb45e61968b5fab1806d8ae2f33', class: "show-new-messages-ctr" }, h("rtk-button", { key: 'e593e952615692612b2423e49975f97bb22df0fe', class: {
|
|
176
176
|
'show-new-messages': true,
|
|
177
177
|
active: this.showLatestMessageButton,
|
|
178
|
-
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '
|
|
178
|
+
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '454e7ecb90b1660b882bb6f988beb1d7d0494d5f', icon: this.iconPack.chevron_down })))));
|
|
179
179
|
}
|
|
180
180
|
static get is() { return "rtk-chat-messages-ui"; }
|
|
181
181
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js
CHANGED
|
@@ -171,7 +171,7 @@ export class RtkChatMessagesUiPaginated {
|
|
|
171
171
|
this.lastReadMessageIndex = -1;
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
|
-
return (h(Host, { key: '
|
|
174
|
+
return (h(Host, { key: 'd0ae21ca32589c18ede4b1e4b4682f5b82b58320' }, h("rtk-paginated-list", { key: 'bff3bdae7c6bbefed8dd8b478ac60370067c75a6', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, selectedItemId: this.selectedChannelId, emptyListLabel: this.t('chat.empty_channel') }, h("slot", { key: '043cfe627a1056c2267dd00705ff33e7e96f1f89' }))));
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "rtk-chat-messages-ui-paginated"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,7 +31,7 @@ export class RtkChatSearchResults {
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '9947c793cb766158d4ed3d81871bbdb8b60274af' }, h("rtk-paginated-list", { key: '0d91dc8818b08c7ed053728074c483f159811a41', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "rtk-chat-search-results"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,9 +71,9 @@ export class RtkClock {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
const showClock = this.startedTime !== undefined;
|
|
74
|
-
return (h(Host, { key: '
|
|
75
|
-
h("rtk-icon", { key: '
|
|
76
|
-
h("span", { key: '
|
|
74
|
+
return (h(Host, { key: '23a8a2e6c14a8c1d1dd70dce26df45f1a302f085', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
|
|
75
|
+
h("rtk-icon", { key: '914bd75f8e3a14df602bbb58b2c2d75b26f7cb27', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
|
|
76
|
+
h("span", { key: 'abb38cd4d3dbb3a6be06d1bf98b082c42551af2c', part: "text" }, this.getFormattedTime()),
|
|
77
77
|
]));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "rtk-clock"; }
|
|
@@ -47,7 +47,7 @@ export class RtkConfirmationModal {
|
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
49
|
const state = this.states.activeConfirmationModal;
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'c79124361c70a80d200f4021c7483038f330b683' }, h("div", { key: 'a1c812cc2742b0eca2525416e67579864a8c0ae7', class: "leave-modal" }, h("div", { key: '21edbc34bdd1c996707d297abf86a1c04a487396', class: "header" }, h("h2", { key: 'a7c77cf1a39bc46b787b851d51a5cd37695e44eb', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && h("p", { key: '25ceecc3c208442821795ebf0a1a981b5130d1d9', class: "message" }, this.t(state.content)), h("div", { key: 'f081c0544fb467787cbfea432575d4a16a1c42c3', class: "content" }, h("div", { key: 'a7cf64611e6a516624310fbe0c119c279bec682d', class: "leave-meeting" }, h("rtk-button", { key: '469b16b167d943f369f9995c9b0d20225108303a', variant: "secondary", title: state.cancelText ? this.t(state.cancelText) : this.t('cancel'), onClick: this.close, class: "br-secondary-btn" }, state.cancelText ? this.t(state.cancelText) : this.t('cancel')), h("rtk-button", { key: '5fc8427e0b0c51fad3a4d033f1d6c4b4399477f3', onClick: () => this.onConfirmation(), variant: (_b = (_a = this.states.activeConfirmationModal) === null || _a === void 0 ? void 0 : _a.variant) !== null && _b !== void 0 ? _b : 'danger', title: state.ctaText ? this.t(state.ctaText) : this.t('yes') }, state.ctaText ? this.t(state.ctaText) : this.t('yes')))))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "rtk-confirmation-modal"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ export class RtkControlbar {
|
|
|
40
40
|
iconPack: this.iconPack,
|
|
41
41
|
size: this.size,
|
|
42
42
|
};
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '65680394a70e60ccdb25b0a872ab433610e1b8b7' }, !this.disableRender && (h(Render, { key: '244f8d28e5a18483193a8a62fabd7550c06c110d', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), h("slot", { key: 'e77d170e9292b6b1c0962c196ea9232ea4372294' })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "rtk-controlbar"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ export class RtkCounter {
|
|
|
40
40
|
this.input = Math.max(this.minValue, parseInt(this.input) - 1).toString();
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '151ffb29ae91788d05b46f4c795b817c20a35b90' }, h("rtk-button", { key: '9568cb52875c92f57597033cc7b396fa5c2d0371', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, h("rtk-icon", { key: '8ef248b64e90f01bd1f78db5048db148d7c374c9', icon: this.iconPack.subtract })), h("input", { key: '376d604bb62a6c9013e7361da51de8f05f34c870', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
|
|
44
44
|
const val = parseInt(e.target.value, 10);
|
|
45
45
|
if (isNaN(val) || val < this.minValue) {
|
|
46
46
|
this.input = this.minValue.toString();
|
|
@@ -48,7 +48,7 @@ export class RtkCounter {
|
|
|
48
48
|
else {
|
|
49
49
|
this.input = val.toString();
|
|
50
50
|
}
|
|
51
|
-
} }), h("rtk-button", { key: '
|
|
51
|
+
} }), h("rtk-button", { key: 'cea8491840c69cf3856e97d97b5c4f34abf45e55', kind: "icon", variant: "ghost", onClick: () => this.increment() }, h("rtk-icon", { key: 'cb2146960e8c8368cce69fb8d8a696078bcea2fc', icon: this.iconPack.add }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "rtk-counter"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class RtkDebuggerToggle {
|
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '5675d28a2da23df6c54e79827b0adf37ef128cd9', title: this.t('Troubleshooting') }, h("rtk-controlbar-button", { key: 'b8e16bbfb77fe9c4d50e872ed4eaecf351816a98', size: this.size, iconPack: this.iconPack, onClick: () => this.toggleDebugger(), icon: this.iconPack.debug, label: this.t('Troubleshooting'), variant: this.variant })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "rtk-debugger-toggle"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,7 +63,7 @@ export class RtkDialogManager {
|
|
|
63
63
|
(_a = this.meeting.stage) === null || _a === void 0 ? void 0 : _a.removeListener('stageStatusUpdate', this.stageStatusUpdateListener);
|
|
64
64
|
}
|
|
65
65
|
meetingChanged(meeting) {
|
|
66
|
-
if (meeting
|
|
66
|
+
if (!meeting)
|
|
67
67
|
return;
|
|
68
68
|
const { stage } = meeting;
|
|
69
69
|
stage === null || stage === void 0 ? void 0 : stage.addListener('stageStatusUpdate', this.stageStatusUpdateListener);
|
|
@@ -53,7 +53,7 @@ export class RtkDraftAttachmentView {
|
|
|
53
53
|
this.onAttachmentChange();
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '22c8ff3317b6247dc6a0fa2088f28dc293de9738' }, h("div", { key: '317c0e6a06849af0af42d81353dc0002b82185a5', class: "preview-overlay" }, h("div", { key: '94d0d35a3696725b59341303760212cf6e01c8a7', class: "preview" }, h("rtk-tooltip", { key: '3171acf60f22a80cbcbf9d3d6f8cf5ac61b67b67', label: this.t('chat.cancel_upload') }, h("rtk-button", { key: '37d1055de9d59318c0f7f612dee3304838142968', variant: "secondary", kind: "icon", onClick: this.onDeleteClickHandler }, h("rtk-icon", { key: '9988b389300e0c6bd404d02440d7b3d323f384dd', icon: this.iconPack.dismiss }))), this.attachment.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview)))))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "rtk-draft-attachment-view"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,7 +57,7 @@ export class RtkEmojiPicker {
|
|
|
57
57
|
return (h("div", { id: "emoji-grid", class: "scrollbar max-w-40" }, this.filteredEmojis.map((e) => (h("rtk-button", { key: `emoji-button-${e.name}`, class: "emoji", variant: "ghost", kind: "icon", title: e.name, onClick: () => this.handleEmojiClick(e.emoji) }, e.emoji)))));
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '48f4159ff5232b9d03fdcabf2d39e4375ca4fa14' }, h("div", { key: '20f86592a9dc47231c0c6cf33484af981533e21d', class: 'close-parent' }, h("rtk-button", { key: 'cff61f9c8fa0c1e0a8b6dc9433abedf914f9ded0', variant: "ghost", kind: "icon", class: "close", onClick: () => { var _a; return (_a = this.pickerClose) === null || _a === void 0 ? void 0 : _a.emit(); }, "aria-label": this.t('close') }, h("rtk-icon", { key: '56a12d4cc55b80ea026c92906466ebb10bf6cd6e', icon: this.iconPack.dismiss }))), h("div", { key: 'b48a1933b33f9886f39955ecbd046ffff370719b', class: 'emoji-parent' }, h("input", { key: '40d0f74a160358c3214b810de0f2ee6f286f1af7', value: this.filterVal, onInput: (event) => this.handleInputChange(event.target), placeholder: this.t('search'), ref: (el) => (this.inputElement = el) }), this.mapEmojiList())));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "rtk-emoji-picker"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,7 +19,7 @@ export class RtkEmojiPickerButton {
|
|
|
19
19
|
this.t = useLanguage();
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("rtk-tooltip", { key: '
|
|
22
|
+
return (h("rtk-tooltip", { key: '9826128cb78d2cb79a21b4dcb877ecc1ab020090', label: this.t('chat.send_emoji') }, h("rtk-button", { key: '07fd6bcc6ffdb58278c843748f771a2597f8edcd', variant: "ghost", kind: "icon", class: { active: this.isActive }, title: this.t('chat.send_emoji') }, h("rtk-icon", { key: '30f352d18771bd542d9ca4ff1a4615ef5958ec7d', icon: this.iconPack.emoji_multiple }))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "rtk-emoji-picker-button"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,7 +37,7 @@ export class RtkFileDropzone {
|
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'b48025cbb3461f9eb95eb3731d3cf0e0b7c370c7' }, h("div", { key: '00112e25f54a6b0a1c66530abcf232bf553d02d2', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { key: '57b13d941c10854e3144d6107135e610734ed9f1', icon: this.iconPack.attach }), h("p", { key: '5f803ce1f2938255b865a6b905658463f6870060' }, this.t('chat.send_attachment')))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "rtk-file-dropzone"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,10 +33,10 @@ export class RtkFileMessage {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const link = sanitizeLink(this.message.link);
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '771fc8ccb2700a3fba83f04676a0c4396c1a8a41' }, !this.isContinued && (h(ChatHead, { key: 'ef2d83897dcae870bb7a2b0eeef397585b873b77', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '841039fcad32f254653bd490a98f268479345b44', class: {
|
|
37
37
|
body: true,
|
|
38
38
|
bubble: this.showBubble,
|
|
39
|
-
}, part: "body" }, h("div", { key: '
|
|
39
|
+
}, part: "body" }, h("div", { key: '65e3c8aafa4e9fa55a24264685bb0cf20841048a', class: "file" }, h("div", { key: '1b1e97b1518c5471964ea91889f4500fc0e01e03', class: "file-data" }, h("div", { key: 'ff9d3071b528162f6e796ccb49e2472df2e8d364', class: "name" }, this.message.name), h("div", { key: '1d3ccb1f5bc2a94983de216e77a8ebc0ae07d669', class: "file-data-split" }, h("div", { key: 'ebab32b642e097b3c1c1903269a8d76fbd586f5c', class: "ext" }, getExtension(this.message.name)), h("span", { key: '81ee3600ba18a7689706504befebcf02697a56e7', class: "divider" }), h("div", { key: 'e969a8d6221d8af560a26510c38a92406a18ef2a', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '482c27659f71cfebf9f88fdf538e32baa6b87073', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '4efaeb927b4ea2010eed09227eb7f511b9253017', icon: this.iconPack.download }))))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "rtk-file-message"; }
|
|
42
42
|
static get properties() {
|
|
@@ -22,7 +22,7 @@ export class RtkFileMessageView {
|
|
|
22
22
|
this.iconPack = defaultIconPack;
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: 'd2cbeddc138f81c05da1656ee7f59c170e83bd1e', class: "file" }, h("rtk-button", { key: 'b0ee90c3493c24e938b6ea88a317c642e4afc003', variant: "secondary", kind: "icon", onClick: () => downloadFile(sanitizeLink(this.url), { name: this.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: 'c1b25c655b5c87bf95948abfa461f8b58ff79195', icon: this.iconPack.download })), h("div", { key: 'c961a8ce93d4ff4405590787a88b5a9bbdbf56ab', class: "file-data" }, h("div", { key: 'bd178354d166c7816d6fabb72f7bba70fd711415', class: "name" }, this.name), h("div", { key: '59a791ae9f94a13b4005a0d8f79d09687fe3fc4c', class: "file-data-split" }, h("div", { key: 'b31421fdf786d92eed0decec9d3b247530413aa9', class: "ext" }, getExtension(this.name)), h("span", { key: '7a0a2a188b3e0b6bee0cf54d3afe29c2454788bb', class: "divider" }), h("div", { key: 'b217b87fa0737732aae10662b82d337d7258e6d7', class: "size" }, getFileSize(this.size))))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "rtk-file-message-view"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class RtkFilePickerButton {
|
|
|
44
44
|
render() {
|
|
45
45
|
const label = this.label || this.t('chat.send_file');
|
|
46
46
|
const icon = this.iconPack[this.icon];
|
|
47
|
-
return (h("rtk-tooltip", { key: '
|
|
47
|
+
return (h("rtk-tooltip", { key: '90e405f39792f7ea0430c55e9b5ba0da72ce2a4a', label: label }, h("rtk-button", { key: 'f0957e7a9668afd9e25e866ea2acbb6891123bbe', variant: "ghost", kind: "icon", onClick: () => this.uploadFile(), title: label }, h("rtk-icon", { key: '1955f524343683974831b28629291428637aa8fc', icon: icon }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "rtk-file-picker-button"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ export class RtkHeader {
|
|
|
40
40
|
iconPack: this.iconPack,
|
|
41
41
|
size: this.size,
|
|
42
42
|
};
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '1f3b7e1a0a0895e6429c12ddb44470ef35a30d23' }, !this.disableRender && h(Render, { key: '3b1525e4f4aaac177b466e4c72be4b7492bd404f', element: "rtk-header", defaults: defaults, onlyChildren: true }), h("slot", { key: '6f770052362e6daa803638e0857de41c2c894ed3' })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "rtk-header"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@ export class RtkIdleScreen {
|
|
|
27
27
|
this.t = useLanguage();
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'c5eff1252dc42e20190130962994d713b95b922b' }, h("slot", { key: '99a385d737fba394bcce3340d7ceaa49fe290580' }, h("div", { key: '484cfb782b699eea5be2eac7c003dcaea922177a', class: "ctr", part: "container" }, h("rtk-logo", { key: '0e190078187680faec1df09a7a50bc80d405a978', meeting: this.meeting, config: this.config, t: this.t, part: "logo" }), h("rtk-spinner", { key: 'f00bae50ccb13120714d2d94c9629747824b5eaa', "aria-label": "Idle, waiting for meeting data", part: "spinner", iconPack: this.iconPack })))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "rtk-idle-screen"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,10 +33,10 @@ export class RtkImageMessage {
|
|
|
33
33
|
this.status = 'loading';
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '7e0fc95aff5f4db94f4ec0ba3c4dcd4d2ee9ffa6' }, !this.isContinued && (h(ChatHead, { key: 'cc7f214502f49fe2869f3e9bdfd797926987ef74', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '2e61a7320c1941df7c0d13082a9257e47ec5df58', class: {
|
|
37
37
|
body: true,
|
|
38
38
|
bubble: this.showBubble,
|
|
39
|
-
}, part: "body" }, h("div", { key: '
|
|
39
|
+
}, part: "body" }, h("div", { key: 'bf2eec18c82aae79f31c40d44711ec7db2ab5bf1', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'acb8f5ef169bd0c663dbc74c1d43b4186f81004a', src: sanitizeLink(this.message.link), onLoad: () => {
|
|
40
40
|
this.status = 'loaded';
|
|
41
41
|
}, onError: () => {
|
|
42
42
|
this.status = 'errored';
|
|
@@ -44,9 +44,9 @@ export class RtkImageMessage {
|
|
|
44
44
|
if (this.status === 'loaded') {
|
|
45
45
|
this.stateUpdate.emit({ image: this.message });
|
|
46
46
|
}
|
|
47
|
-
} }), this.status === 'loading' && (h("div", { key: '
|
|
47
|
+
} }), this.status === 'loading' && (h("div", { key: '92a6610a937088e03200f9048146da0e4f749054', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: 'b85fa3e9dd0580f1d7e18360e74670a933e74367', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: 'b1046aff30dfe244498c957799f33c3a7c26ecb8', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: '833e3ea7f7734a17450c98077e52b9db4fb5404a', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '2545e3685f6e586b4fdc1304da08bbece5ec2cda', class: "actions" }, h("rtk-button", { key: 'bb5e37862d82702f6350f48c275100825dd494fa', class: "action", variant: "secondary", kind: "icon", onClick: () => {
|
|
48
48
|
this.stateUpdate.emit({ image: this.message });
|
|
49
|
-
} }, h("rtk-icon", { key: '
|
|
49
|
+
} }, h("rtk-icon", { key: '247f754dfe4c9b63634906105a71bb2146154eaa', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: 'ab2712266ddce6f79abf1fca68379abcb4a3c9a1', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.message.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'ffafa0e22d7752b125d0e1e50cfc03d858d29365', icon: this.iconPack.download }))))))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "rtk-image-message"; }
|
|
52
52
|
static get originalStyleUrls() {
|
|
@@ -25,7 +25,7 @@ export class RtkImageMessageView {
|
|
|
25
25
|
this.status = 'loading';
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '259bdc1102c6026dd10388ae759f67608c777b5f', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'dbcb8d497fee3710f4474ec3ac0ce9a9b4f1bb49', src: sanitizeLink(this.url), onLoad: () => {
|
|
29
29
|
this.status = 'loaded';
|
|
30
30
|
}, onError: () => {
|
|
31
31
|
this.status = 'errored';
|
|
@@ -33,9 +33,9 @@ export class RtkImageMessageView {
|
|
|
33
33
|
if (this.status === 'loaded') {
|
|
34
34
|
this.onPreview.emit(this.url);
|
|
35
35
|
}
|
|
36
|
-
} }), this.status === 'loading' && (h("div", { key: '
|
|
36
|
+
} }), this.status === 'loading' && (h("div", { key: 'b0ecfada4428e1cb8c3625cc4ce3d2a5bae058ab', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: 'fff61c6522d8bcb7de1345bb6505721ee6c6325e', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: 'c07e2cf6e9a94d375802c974e519d859ab48aa9b', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: '83108f4f0396d77778463601a4f18d8593b0ffe7', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '96b5aafbd94eec920ae1cad14f09ab4a44571bd7', class: "actions" }, h("rtk-button", { key: 'a87ec11cc8de472aeb356689b49b6b366bd67f28', class: "action", variant: "secondary", kind: "icon", onClick: () => {
|
|
37
37
|
this.onPreview.emit(this.url);
|
|
38
|
-
} }, h("rtk-icon", { key: '
|
|
38
|
+
} }, h("rtk-icon", { key: '543478c786b709ac477d4482874608c0b394b27c', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '6ce6d94a965688c7ec6ee64f79a4d13dda9651e3', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.url, { fallbackName: 'image' }) }, h("rtk-icon", { key: '3b1d67fbdd667e0d006e342c37f6e78c90fd2e34', icon: this.iconPack.download }))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "rtk-image-message-view"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class RtkImageViewer {
|
|
|
39
39
|
document.removeEventListener('click', this.handleOutsideClick);
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: 'f7d65ee86716b9bea4ff1839df12647fa03bc053', class: "scrollbar", onClick: (e) => e.stopPropagation() }, h("div", { key: '30715a0e1d52250815411be7a4339c47a9c050ff', class: "header" }, h("div", { key: '69bcd74cea972c9663f46549b1c62b08afd94558', class: "shared-by-user" }, this.t('chat.img.shared_by'), ' ', h("span", { key: '86b7f0095054d490e0a534d2c5df3733503dde72', class: "displayName" }, formatName(shorten(this.image.displayName)))), h("div", { key: '84b428b667da741f420753a0c58ef6a04169f765', class: "actions" }, h("rtk-button", { key: 'dce9d2b6c6e4b7dcfb429839762a0f350dc474df', onClick: () => downloadFile(this.image.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'f9a6b1fbd5f770555ba4bc7267fff7ca6102f097', icon: this.iconPack.download, slot: "start" }), "Download"), h("rtk-button", { key: '4051efa57da483dc628769fdd1e754a49fd389b7', kind: "icon", variant: "secondary", onClick: () => this.close.emit() }, h("rtk-icon", { key: 'ee1e43b0f89ad76c5cad6db21d6f8759c5d87a89', icon: this.iconPack.dismiss })))), h("div", { key: '752ab0206aa1b1e9447f9814210bcaa346dfab5d', class: "image-ctr" }, h("img", { key: '7de531b58aa5aad94ab03d500d34d13c37b43ba1', src: this.image.link }))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "rtk-image-viewer"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ export class RtkInformationTooltip {
|
|
|
17
17
|
this.iconPack = defaultIconPack;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '71ecafbad168eb980530eb5e524f9b243ac49fc7' }, h("div", { key: 'beb675be20de89080d7fdeefb47367c5ab201a73', class: "tooltip-container" }, h("rtk-icon", { key: '8e135030eb60115c1f2a49ad71caedbd9e1b50e8', icon: this.iconPack.info, size: "sm" }), h("div", { key: '9b4c277f0d2c9311258c24f1001bf763936adde3', class: "tooltip" }, h("slot", { key: '66c6b7895cd23271cca393cc12dc075c1bf14923', name: "tootlip-text" })))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "rtk-information-tooltip"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|