@cloudflare/realtimekit-ui 1.0.9-staging.3 → 1.1.0-staging.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/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 +47 -35
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +8 -8
- 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-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-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 +9 -13
- 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-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-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-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.css +23 -0
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +23 -4
- 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-c07e3e6d.js → p-080acf18.js} +1 -1
- package/dist/components/{p-b6ee1a32.js → p-0a35a909.js} +1 -1
- package/dist/components/{p-6cbaf90a.js → p-0b4e526c.js} +1 -1
- package/dist/components/{p-a3ebfc10.js → p-0d582365.js} +2 -2
- package/dist/components/{p-335f937c.js → p-0d7bf41b.js} +2 -2
- package/dist/components/{p-63953295.js → p-10ef077c.js} +1 -1
- package/dist/components/{p-be9fe914.js → p-188bfe87.js} +6 -6
- package/dist/components/{p-82c678d6.js → p-190db142.js} +5 -5
- package/dist/components/{p-7a322c43.js → p-20290b0b.js} +2 -2
- package/dist/components/{p-013ffc19.js → p-2e282643.js} +2 -2
- package/dist/components/{p-1f320625.js → p-2f08d7eb.js} +20 -20
- package/dist/components/{p-e732b5ee.js → p-2f82e0b0.js} +5 -5
- package/dist/components/{p-498c01a6.js → p-395d7140.js} +2 -2
- package/dist/components/{p-3fa8f1e1.js → p-3da4880c.js} +2 -2
- package/dist/components/{p-e48cd596.js → p-488d88a8.js} +2 -2
- package/dist/components/{p-b397a600.js → p-4d582a90.js} +3 -3
- package/dist/components/{p-0bbd0056.js → p-55501201.js} +2 -2
- package/dist/components/{p-024ef28a.js → p-563c785d.js} +1 -1
- package/dist/components/{p-ef71b75e.js → p-5c92df32.js} +3 -3
- package/dist/components/{p-9fd18352.js → p-618864a0.js} +1 -1
- package/dist/components/{p-5b03154d.js → p-63ef7ea4.js} +4 -4
- package/dist/components/{p-fa7412e2.js → p-65cd2fe3.js} +2 -2
- package/dist/components/{p-2590f470.js → p-6c2cfa0d.js} +1 -1
- package/dist/components/{p-32bf6a44.js → p-6f272732.js} +6 -6
- package/dist/components/{p-560e7a4f.js → p-88bef213.js} +1 -1
- package/dist/components/{p-25ca06f2.js → p-8d25843a.js} +1 -1
- package/dist/components/{p-27fea689.js → p-914563e7.js} +3 -3
- package/dist/components/{p-08382c59.js → p-9889bee5.js} +2 -2
- package/dist/components/{p-6eabd1ad.js → p-a4a5ff5a.js} +2 -2
- package/dist/components/{p-fc21299d.js → p-a6296b02.js} +1 -1
- package/dist/components/{p-88e50eea.js → p-a6f2b402.js} +20 -24
- package/dist/components/{p-566c1155.js → p-a94b2e67.js} +2 -2
- package/dist/components/{p-30ac9705.js → p-a9540d93.js} +25 -6
- package/dist/components/{p-fdb67d1f.js → p-abe1dbe6.js} +2 -2
- package/dist/components/{p-724074c4.js → p-adf73364.js} +3 -3
- package/dist/components/{p-97e1e186.js → p-b011763d.js} +1 -1
- package/dist/components/{p-2508ac98.js → p-b34865c7.js} +2 -2
- package/dist/components/{p-a4b26604.js → p-b882f4a1.js} +2 -2
- package/dist/components/{p-31c44fed.js → p-c3621e10.js} +1 -1
- package/dist/components/{p-4c7f1a19.js → p-d107e9f4.js} +1 -1
- package/dist/components/{p-68c9100f.js → p-d3de8b85.js} +1 -1
- package/dist/components/{p-eb7df0eb.js → p-d4e2ac64.js} +4 -4
- package/dist/components/{p-52d1525c.js → p-dbfc9151.js} +1 -1
- package/dist/components/{p-a159952c.js → p-e4a080a5.js} +1 -1
- package/dist/components/{p-06e20f42.js → p-e6710b76.js} +2 -2
- package/dist/components/{p-3d3fa677.js → p-e675729a.js} +2 -2
- package/dist/components/{p-2ea7652f.js → p-e81fc1e8.js} +1 -1
- package/dist/components/{p-027ec380.js → p-e8df7ac5.js} +16 -16
- package/dist/components/{p-6c1b380d.js → p-ee98bbaf.js} +10 -10
- package/dist/components/{p-b762cf1e.js → p-f47894a6.js} +9 -9
- package/dist/components/{p-b1338b4f.js → p-f4e75ea9.js} +1 -1
- package/dist/components/{p-e87b68de.js → p-f7430e46.js} +1 -1
- package/dist/components/{p-a0c8422f.js → p-f7eb9c47.js} +3 -3
- package/dist/components/{p-4b542718.js → p-f8f5cb31.js} +2 -2
- package/dist/components/{p-03bdc4c0.js → p-fa8f6b4a.js} +1 -1
- package/dist/components/{p-9c2c0760.js → p-fd68a52b.js} +6 -6
- package/dist/components/{p-32609f9f.js → p-fe911889.js} +5 -5
- 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 +2 -2
- 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 +13 -13
- 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-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-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 +5 -1
- package/dist/esm/loader.js +137 -125
- 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 +47 -35
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +4 -4
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +8 -8
- 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-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-b388b4c6.entry.js → p-0b8c47d9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bbf76104.entry.js → p-1666857d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a4372f65.entry.js → p-1bf58a84.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-871d8fbf.entry.js → p-2a0ec1c6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2d7b969d.entry.js → p-2f641bfa.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4ab26f1f.entry.js → p-2fc5ef84.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ad26f7fd.entry.js → p-31f58b98.entry.js} +1 -1
- package/dist/realtimekit-ui/p-33228f0a.entry.js +1 -0
- package/dist/realtimekit-ui/{p-99801804.entry.js → p-36c8dfa0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8c55a630.entry.js → p-385fddbd.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-51e949d6.entry.js → p-38f4773b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d8962ea0.entry.js → p-3eefefa3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a0563ab4.entry.js → p-481549ac.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4eee77b0.entry.js +1 -0
- package/dist/realtimekit-ui/p-50e861f9.entry.js +1 -0
- package/dist/realtimekit-ui/{p-013ae8ca.entry.js → p-5383fe87.entry.js} +1 -1
- package/dist/realtimekit-ui/p-57277553.entry.js +1 -0
- package/dist/realtimekit-ui/p-5dc40f1a.entry.js +1 -0
- package/dist/realtimekit-ui/{p-9d3cf603.entry.js → p-61a16ccf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f775be53.entry.js → p-61a53713.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4554a674.entry.js → p-639ab9ad.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-dbd07824.entry.js → p-7613857e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0898c8ee.entry.js → p-7a8ca3f2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c1d026d1.entry.js → p-7f76de48.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d0bba739.entry.js → p-8b341608.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-60b39e38.entry.js → p-951a7b06.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d95ce443.entry.js → p-95f05e26.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ad887be1.entry.js → p-a1203856.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-474ba04f.entry.js → p-a4e223e8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-78d19559.entry.js → p-aa70de39.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b564d931.entry.js +1 -0
- package/dist/realtimekit-ui/{p-5bbfdabe.entry.js → p-ba51770e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cdf8bc21.entry.js → p-c1b81873.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-124eb1c7.entry.js → p-c638f666.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cdacd242.entry.js → p-d7f16f24.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3b8de127.entry.js → p-f40a55e3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-986e7389.entry.js → p-f5aa8af7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-f645b8bb.entry.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +5 -0
- package/package.json +1 -1
- package/dist/realtimekit-ui/p-158b1b0c.entry.js +0 -1
- package/dist/realtimekit-ui/p-17c6d2fa.entry.js +0 -1
- package/dist/realtimekit-ui/p-32030329.entry.js +0 -1
- package/dist/realtimekit-ui/p-487e808a.entry.js +0 -1
- package/dist/realtimekit-ui/p-aa757cd3.entry.js +0 -1
- package/dist/realtimekit-ui/p-bc1a2b04.entry.js +0 -1
- package/dist/realtimekit-ui/p-fee7bd4f.entry.js +0 -1
|
@@ -986,11 +986,7 @@ const RtkChatMessagesUiPaginated = class {
|
|
|
986
986
|
// ? isSelf
|
|
987
987
|
// : chatMessagePermissions.canEdit === 'ALL' ||
|
|
988
988
|
// (chatMessagePermissions.canEdit === 'SELF' && isSelf);
|
|
989
|
-
|
|
990
|
-
// chatMessagePermissions === undefined
|
|
991
|
-
// ? isSelf
|
|
992
|
-
// : chatMessagePermissions.canDelete === 'ALL' ||
|
|
993
|
-
// (chatMessagePermissions.canDelete === 'SELF' && isSelf);
|
|
989
|
+
const canDelete = message.userId === this.meeting.self.userId;
|
|
994
990
|
if (this.meeting.self.permissions.pinParticipant) {
|
|
995
991
|
actions.push({
|
|
996
992
|
id: 'pin_message',
|
|
@@ -998,13 +994,13 @@ const RtkChatMessagesUiPaginated = class {
|
|
|
998
994
|
icon: this.iconPack.pin,
|
|
999
995
|
});
|
|
1000
996
|
}
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
997
|
+
if (canDelete) {
|
|
998
|
+
actions.push({
|
|
999
|
+
id: 'delete_message',
|
|
1000
|
+
label: this.t('chat.delete_msg'),
|
|
1001
|
+
icon: this.iconPack.delete,
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1008
1004
|
return actions;
|
|
1009
1005
|
};
|
|
1010
1006
|
this.onMessageActionHandler = (actionId, message) => {
|
|
@@ -1088,7 +1084,7 @@ const RtkChatMessagesUiPaginated = class {
|
|
|
1088
1084
|
this.lastReadMessageIndex = -1;
|
|
1089
1085
|
}
|
|
1090
1086
|
render() {
|
|
1091
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1087
|
+
return (index$1.h(index$1.Host, { key: '732dea776303ba428aedc72608516a4e4dfc1591' }, index$1.h("rtk-paginated-list", { key: '6bc3cd1373ff487b897d3ca7a5bfbccfdbaa90da', 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') }, index$1.h("slot", { key: 'f3cc795b3b39aa48f87f9908e3b205e2db6439b4' }))));
|
|
1092
1088
|
}
|
|
1093
1089
|
get host() { return index$1.getElement(this); }
|
|
1094
1090
|
static get watchers() { return {
|
|
@@ -1161,7 +1157,7 @@ const RtkDraftAttachmentView = class {
|
|
|
1161
1157
|
this.onAttachmentChange();
|
|
1162
1158
|
}
|
|
1163
1159
|
render() {
|
|
1164
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1160
|
+
return (index$1.h(index$1.Host, { key: 'b23eb412c60a62f542aec0e3cd3b99fc72de48f0' }, index$1.h("div", { key: '04251f8d4b13325f8474110c89733369bd8904f2', class: "preview-overlay" }, index$1.h("div", { key: '51963510a704b19e7c591ea177018bae6e0317f5', class: "preview" }, index$1.h("rtk-tooltip", { key: '3a2167ea7a02f1d744462826084f0fef5c607ac9', label: this.t('chat.cancel_upload') }, index$1.h("rtk-button", { key: '634c9a7e0962ed82c36519e919eb597c9b603f51', variant: "secondary", kind: "icon", onClick: this.onDeleteClickHandler }, index$1.h("rtk-icon", { key: 'b936e54ae44e1d54b73adf38a92551fbea0299c5', icon: this.iconPack.dismiss }))), this.attachment.type === 'image' ? (index$1.h("img", { class: "preview-image", src: this.filePreview })) : (index$1.h("div", { class: "preview-file" }, index$1.h("span", null, this.filePreview)))))));
|
|
1165
1161
|
}
|
|
1166
1162
|
static get watchers() { return {
|
|
1167
1163
|
"attachment": ["onAttachmentChange"]
|
|
@@ -1246,7 +1242,7 @@ const RtkEmojiPicker = class {
|
|
|
1246
1242
|
return (index$1.h("div", { id: "emoji-grid", class: "scrollbar max-w-40" }, this.filteredEmojis.map((e) => (index$1.h("rtk-button", { key: `emoji-button-${e.name}`, class: "emoji", variant: "ghost", kind: "icon", title: e.name, onClick: () => this.handleEmojiClick(e.emoji) }, e.emoji)))));
|
|
1247
1243
|
}
|
|
1248
1244
|
render() {
|
|
1249
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1245
|
+
return (index$1.h(index$1.Host, { key: 'e099d5996a16c659de17ca9a36fcd79a9f02f400' }, index$1.h("div", { key: '2a3e300c9625b877feb2b6780df7d1a9851cb7f3', class: 'close-parent' }, index$1.h("rtk-button", { key: '7ca8421704136d09d107d1f7392ba393d5f59a9a', 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') }, index$1.h("rtk-icon", { key: '040069093f7243bf5075d55b2c081c564d885a8f', icon: this.iconPack.dismiss }))), index$1.h("div", { key: '372a32be35dea5200323720e221424b5138cc4ab', class: 'emoji-parent' }, index$1.h("input", { key: 'fae2be13d736adbb99212146498f00d4f395636e', value: this.filterVal, onInput: (event) => this.handleInputChange(event.target), placeholder: this.t('search'), ref: (el) => (this.inputElement = el) }), this.mapEmojiList())));
|
|
1250
1246
|
}
|
|
1251
1247
|
};
|
|
1252
1248
|
__decorate$b([
|
|
@@ -1279,7 +1275,7 @@ const RtkEmojiPickerButton = class {
|
|
|
1279
1275
|
this.t = uiStore.useLanguage();
|
|
1280
1276
|
}
|
|
1281
1277
|
render() {
|
|
1282
|
-
return (index$1.h("rtk-tooltip", { key: '
|
|
1278
|
+
return (index$1.h("rtk-tooltip", { key: 'bcde14fb2c3a6544882502e65ffda7a6b3b6f13d', label: this.t('chat.send_emoji') }, index$1.h("rtk-button", { key: 'd82fa78c4ffe48c24131a6e38f087548f540fefa', variant: "ghost", kind: "icon", class: { active: this.isActive }, title: this.t('chat.send_emoji') }, index$1.h("rtk-icon", { key: '791bbe2537f1aeb064c5e9ccbbf4af37b706ec2a', icon: this.iconPack.emoji_multiple }))));
|
|
1283
1279
|
}
|
|
1284
1280
|
};
|
|
1285
1281
|
__decorate$a([
|
|
@@ -1310,7 +1306,7 @@ const RtkFileMessageView = class {
|
|
|
1310
1306
|
this.iconPack = uiStore.defaultIconPack;
|
|
1311
1307
|
}
|
|
1312
1308
|
render() {
|
|
1313
|
-
return (index$1.h("div", { key: '
|
|
1309
|
+
return (index$1.h("div", { key: 'cdd46a1be912f807688dc86671dddd2fa5b9e7c9', class: "file" }, index$1.h("rtk-button", { key: '20bd6c448ec64902989cd742a8f18de32e368194', variant: "secondary", kind: "icon", onClick: () => file.downloadFile(string.sanitizeLink(this.url), { name: this.name, fallbackName: 'file' }), part: "button" }, index$1.h("rtk-icon", { key: '11ac30db5146132be8aaba67a79f66f8aba7bb8d', icon: this.iconPack.download })), index$1.h("div", { key: '342dd8daa944a5857a6519339b4d3bfb6c369eda', class: "file-data" }, index$1.h("div", { key: 'e161743b75677b1e81d09d7c373be494ccf8411a', class: "name" }, this.name), index$1.h("div", { key: '99f2d8d77ef3c129aa0c229260f6e79901ce268c', class: "file-data-split" }, index$1.h("div", { key: '7b9beadca2a810c151fb1ad43ee7c47ba451a37a', class: "ext" }, file.getExtension(this.name)), index$1.h("span", { key: 'd55f69a96bbe26c262461fa87f1a0a506854cf59', class: "divider" }), index$1.h("div", { key: 'cad33d263ab75aeb3083886e83063b8ccb2ea976', class: "size" }, file.getFileSize(this.size))))));
|
|
1314
1310
|
}
|
|
1315
1311
|
};
|
|
1316
1312
|
__decorate$9([
|
|
@@ -1366,7 +1362,7 @@ const RtkFilePickerButton = class {
|
|
|
1366
1362
|
render() {
|
|
1367
1363
|
const label = this.label || this.t('chat.send_file');
|
|
1368
1364
|
const icon = this.iconPack[this.icon];
|
|
1369
|
-
return (index$1.h("rtk-tooltip", { key: '
|
|
1365
|
+
return (index$1.h("rtk-tooltip", { key: '78ef1fd3a42656601c94561bbfc63f888d8180d3', label: label }, index$1.h("rtk-button", { key: 'a0a82e689c2e3a344936db1b3253e36def3a0ce5', variant: "ghost", kind: "icon", onClick: () => this.uploadFile(), title: label }, index$1.h("rtk-icon", { key: '1651a9f460e3851ff5296f05cf08554f9da21703', icon: icon }))));
|
|
1370
1366
|
}
|
|
1371
1367
|
};
|
|
1372
1368
|
__decorate$8([
|
|
@@ -1426,7 +1422,7 @@ const RtkImageMessageView = class {
|
|
|
1426
1422
|
this.status = 'loading';
|
|
1427
1423
|
}
|
|
1428
1424
|
render() {
|
|
1429
|
-
return (index$1.h("div", { key: '
|
|
1425
|
+
return (index$1.h("div", { key: '47b2dd8f8dfc0d2aa20e80b513f802e1ebc09153', class: { image: true, loaded: this.status === 'loaded' } }, index$1.h("img", { key: 'fba4cfc015beb86040ec74b2a44e2163744a67c6', src: string.sanitizeLink(this.url), onLoad: () => {
|
|
1430
1426
|
this.status = 'loaded';
|
|
1431
1427
|
}, onError: () => {
|
|
1432
1428
|
this.status = 'errored';
|
|
@@ -1434,9 +1430,9 @@ const RtkImageMessageView = class {
|
|
|
1434
1430
|
if (this.status === 'loaded') {
|
|
1435
1431
|
this.onPreview.emit(this.url);
|
|
1436
1432
|
}
|
|
1437
|
-
} }), this.status === 'loading' && (index$1.h("div", { key: '
|
|
1433
|
+
} }), this.status === 'loading' && (index$1.h("div", { key: '4da0a3ab39d782e9affe7702a19232747bb4581c', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, index$1.h("rtk-spinner", { key: 'dea7afe2c92dd5c7c71620bc7b9089f743ef1aa2', iconPack: this.iconPack }))), this.status === 'errored' && (index$1.h("div", { key: 'ab303ce11b7182d20c64b00638a1c8be59aea774', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, index$1.h("rtk-icon", { key: 'e14eb63cc4b2d18a5abd921e25ef305095f61c17', icon: this.iconPack.image_off }))), this.status === 'loaded' && (index$1.h("div", { key: 'ccceaa5cc5821ce9b4ddab742001cee78135636a', class: "actions" }, index$1.h("rtk-button", { key: 'de49516247d9655cc74afcd58bc50771e2594dca', class: "action", variant: "secondary", kind: "icon", onClick: () => {
|
|
1438
1434
|
this.onPreview.emit(this.url);
|
|
1439
|
-
} }, index$1.h("rtk-icon", { key: '
|
|
1435
|
+
} }, index$1.h("rtk-icon", { key: 'bd1ea608e4846d994a418236dca7856570bd689d', icon: this.iconPack.full_screen_maximize })), index$1.h("rtk-button", { key: '266a860a4ab4d6cf76bd89bb35c987efbc89a593', class: "action", variant: "secondary", kind: "icon", onClick: () => file.downloadFile(this.url, { fallbackName: 'image' }) }, index$1.h("rtk-icon", { key: 'ec26862ff95e116d519280c7e62ed7a7e1ede273', icon: this.iconPack.download }))))));
|
|
1440
1436
|
}
|
|
1441
1437
|
};
|
|
1442
1438
|
__decorate$7([
|
|
@@ -1527,7 +1523,7 @@ const RtkMarkdownView = class {
|
|
|
1527
1523
|
const slicedMessage = this.text.slice(0, this.maxLength);
|
|
1528
1524
|
const withReply = chat.extractReplyBlock(slicedMessage, true);
|
|
1529
1525
|
const withoutReply = chat.stripOutReplyBlock(slicedMessage);
|
|
1530
|
-
return (index$1.h("p", { key: '
|
|
1526
|
+
return (index$1.h("p", { key: 'c33735507a0798dffc360f01793bc7b0caaac159' }, withReply.length !== 0 && index$1.h("blockquote", { key: 'c0a4271ee4c843b6e73c8300a8026a3ec8dd5fe3' }, this.renderMessage(withReply)), withoutReply.length !== 0 && this.renderMessage(withoutReply)));
|
|
1531
1527
|
}
|
|
1532
1528
|
};
|
|
1533
1529
|
RtkMarkdownView.style = RtkMarkdownViewStyle0;
|
|
@@ -1898,7 +1894,7 @@ const RtkMenu$1 = class {
|
|
|
1898
1894
|
});
|
|
1899
1895
|
}
|
|
1900
1896
|
render() {
|
|
1901
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1897
|
+
return (index$1.h(index$1.Host, { key: 'b019210ff85bde38c61855f8ac38aa8b927aa857' }, index$1.h("span", { key: '14f689eed0672642c3a181ee5d197d7a9b5c00a8', id: "trigger", ref: (el) => (this.triggerEl = el), onClick: () => {
|
|
1902
1898
|
this.clickedThis = true;
|
|
1903
1899
|
if (this.menuListEl.style.display !== 'block') {
|
|
1904
1900
|
this.menuListEl.style.display = 'block';
|
|
@@ -1907,7 +1903,7 @@ const RtkMenu$1 = class {
|
|
|
1907
1903
|
else {
|
|
1908
1904
|
this.menuListEl.style.display = 'none';
|
|
1909
1905
|
}
|
|
1910
|
-
} }, index$1.h("slot", { key: '
|
|
1906
|
+
} }, index$1.h("slot", { key: 'f1ab2111e0ad309df5b38e4f189d821b8ab50a4a', name: "trigger" })), index$1.h("span", { key: 'ec03b8c7ff60dd21dce3bc1f9b473ab59ec37ace', part: "menu-list", id: "menu-list", ref: (el) => (this.menuListEl = el) }, index$1.h("slot", { key: 'bc05fba324ccf4360340b070c8d4f3723a72cf6e' }))));
|
|
1911
1907
|
}
|
|
1912
1908
|
};
|
|
1913
1909
|
__decorate$6([
|
|
@@ -1940,7 +1936,7 @@ const RtkMenuItem = class {
|
|
|
1940
1936
|
this.t = uiStore.useLanguage();
|
|
1941
1937
|
}
|
|
1942
1938
|
render() {
|
|
1943
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1939
|
+
return (index$1.h(index$1.Host, { key: 'a5c802aa2cb8cb235dc1e68d54ec9703c57df0b9' }, index$1.h("slot", { key: 'b448160fdd220fd814d471ddc08d7f784af10c49', name: "start" }), index$1.h("slot", { key: '0b342d2547a7835ea23d1974c3fd1b2e3507e779' }), index$1.h("slot", { key: '6670a8ed947d2bd6fb1651e9c6c1cd52f5ca419c', name: "end" })));
|
|
1944
1940
|
}
|
|
1945
1941
|
};
|
|
1946
1942
|
__decorate$5([
|
|
@@ -1973,7 +1969,7 @@ const RtkMenuList = class {
|
|
|
1973
1969
|
this.t = uiStore.useLanguage();
|
|
1974
1970
|
}
|
|
1975
1971
|
render() {
|
|
1976
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1972
|
+
return (index$1.h(index$1.Host, { key: '1357690e48bef0c8c0e953886f1fd7754f0e4e4d' }, index$1.h("slot", { key: 'f3a221b7a4d28f53add6b658a0510294a998d6c1' })));
|
|
1977
1973
|
}
|
|
1978
1974
|
};
|
|
1979
1975
|
__decorate$4([
|
|
@@ -2030,7 +2026,7 @@ __decorate$3([
|
|
|
2030
2026
|
], RtkMessageView.prototype, "iconPack", void 0);
|
|
2031
2027
|
RtkMessageView.style = RtkMessageViewStyle0;
|
|
2032
2028
|
|
|
2033
|
-
const rtkPaginatedListCss = ".scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;flex:1}.container{box-sizing:border-box;display:flex;flex-direction:column-reverse;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}.file-picker{display:none}.chat *:first-child{margin-top:var(--rtk-space-0, 0px)}.chat .head{display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);overflow-wrap:break-word;font-size:14px;line-height:1.375}.chat .body .emoji{font-size:24px}p{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px)}rtk-text-message,rtk-image-message,rtk-file-message{margin-top:var(--rtk-space-4, 16px);display:block;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}*[is-continued]{margin-top:var(--rtk-space-3, 12px)}rtk-text-message[is-continued]{margin-top:var(--rtk-space-2, 8px)}.chat .image{position:relative;height:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);cursor:pointer}.chat .image img{display:none;height:100%;width:100%;border-radius:var(--rtk-border-radius-sm, 4px);-o-object-fit:cover;object-fit:cover}.chat .image .image-spinner{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.chat .image .image-spinner rtk-spinner{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat .image .image-errored{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.chat .image .actions{display:none;height:var(--rtk-space-8, 32px);align-items:center;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.image.loaded img{display:block}.image.loaded .image-spinner{display:none}.image:hover .actions,.image:focus .actions{display:flex}.chat .file{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1\\.5, 6px);padding-bottom:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.chat .file .file-data{flex:1 1 0%}.chat .file .file-data .name{word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split{margin-top:var(--rtk-space-0\\.5, 2px);display:flex;align-items:center;font-size:12px}.chat .file .file-data .file-data-split .ext{margin-right:var(--rtk-space-2, 8px);text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split .divider{height:var(--rtk-space-4, 16px);width:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.chat .file .file-data .file-data-split .size{margin-left:var(--rtk-space-2, 8px)}.smallest-dom-element{width:1px}#top-scroll{transform:translateY(20vh)}#bottom-scroll{transform:translateY(-20vh)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.show-new-messages-ctr{pointer-events:none;position:absolute;bottom:var(--rtk-space-2, 8px);right:var(--rtk-space-4, 16px);z-index:10;margin-top:calc(var(--rtk-space-14, 56px) * -1);--tw-translate-y:var(--rtk-space-28, 112px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages-ctr.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}.show-new-messages{pointer-events:auto;border-radius:9999px}.show-new-messages:hover{border-radius:9999px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}rtk-spinner,.empty-list{margin:auto}.page-wrapper{margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px)}.message-wrapper{margin-bottom:var(--rtk-space-2, 8px)}.pinned .message-wrapper{position:relative}.pinned .pin-icon{position:absolute;right:calc(var(--rtk-space-1, 4px) * -1);top:calc(var(--rtk-space-1, 4px) * -1);display:flex;border-radius:var(--rtk-border-radius-sm, 4px)}.pinned rtk-message-view{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}";
|
|
2029
|
+
const rtkPaginatedListCss = ".scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;flex:1}.container{box-sizing:border-box;display:flex;flex-direction:column-reverse;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}.file-picker{display:none}.chat *:first-child{margin-top:var(--rtk-space-0, 0px)}.chat .head{display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);overflow-wrap:break-word;font-size:14px;line-height:1.375}.chat .body .emoji{font-size:24px}p{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px)}rtk-text-message,rtk-image-message,rtk-file-message{margin-top:var(--rtk-space-4, 16px);display:block;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}*[is-continued]{margin-top:var(--rtk-space-3, 12px)}rtk-text-message[is-continued]{margin-top:var(--rtk-space-2, 8px)}.chat .image{position:relative;height:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);cursor:pointer}.chat .image img{display:none;height:100%;width:100%;border-radius:var(--rtk-border-radius-sm, 4px);-o-object-fit:cover;object-fit:cover}.chat .image .image-spinner{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.chat .image .image-spinner rtk-spinner{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat .image .image-errored{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.chat .image .actions{display:none;height:var(--rtk-space-8, 32px);align-items:center;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.image.loaded img{display:block}.image.loaded .image-spinner{display:none}.image:hover .actions,.image:focus .actions{display:flex}.chat .file{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1\\.5, 6px);padding-bottom:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.chat .file .file-data{flex:1 1 0%}.chat .file .file-data .name{word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split{margin-top:var(--rtk-space-0\\.5, 2px);display:flex;align-items:center;font-size:12px}.chat .file .file-data .file-data-split .ext{margin-right:var(--rtk-space-2, 8px);text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split .divider{height:var(--rtk-space-4, 16px);width:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.chat .file .file-data .file-data-split .size{margin-left:var(--rtk-space-2, 8px)}.smallest-dom-element{width:1px}#top-scroll{transform:translateY(20vh)}#bottom-scroll{transform:translateY(-20vh)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.show-new-messages-ctr{pointer-events:none;position:absolute;bottom:var(--rtk-space-2, 8px);right:var(--rtk-space-4, 16px);z-index:10;margin-top:calc(var(--rtk-space-14, 56px) * -1);--tw-translate-y:var(--rtk-space-28, 112px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages-ctr.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}.show-new-messages{pointer-events:auto;border-radius:9999px}.show-new-messages:hover{border-radius:9999px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}rtk-spinner,.empty-list{margin:auto}.page-wrapper{margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px)}.message-wrapper{margin-bottom:var(--rtk-space-2, 8px)}.pinned .message-wrapper{position:relative}.pinned .pin-icon{position:absolute;right:calc(var(--rtk-space-1, 4px) * -1);top:calc(var(--rtk-space-1, 4px) * -1);display:flex;border-radius:var(--rtk-border-radius-sm, 4px)}.pinned rtk-message-view{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}.load-more-on-top-container{pointer-events:none;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-4, 16px);z-index:10}.load-more-icon{pointer-events:auto;border-radius:9999px}.load-more-icon:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";
|
|
2034
2030
|
const RtkPaginatedListStyle0 = rtkPaginatedListCss;
|
|
2035
2031
|
|
|
2036
2032
|
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -2053,6 +2049,9 @@ const RtkPaginatedList = class {
|
|
|
2053
2049
|
/** label to show when empty */
|
|
2054
2050
|
this.emptyListLabel = null;
|
|
2055
2051
|
this.isLoading = false;
|
|
2052
|
+
this.isLoadingTop = false;
|
|
2053
|
+
this.isLoadingBottom = false;
|
|
2054
|
+
this.hasMoreDataAtTop = false;
|
|
2056
2055
|
this.rerenderBoolean = false;
|
|
2057
2056
|
/**
|
|
2058
2057
|
* This gets disabled when the user scrolls up and the bottom node
|
|
@@ -2185,7 +2184,8 @@ const RtkPaginatedList = class {
|
|
|
2185
2184
|
const oldestTimestamp = oldestVNode.timeMs;
|
|
2186
2185
|
// TODO: scrollIntoView
|
|
2187
2186
|
const onPageRendered = () => { }; // oldestVNode.$elm$?.scrollIntoView();
|
|
2188
|
-
this.
|
|
2187
|
+
this.isLoadingTop = true;
|
|
2188
|
+
this.loadPage(oldestTimestamp - 1, this.pageSize, true, onPageRendered, 'top');
|
|
2189
2189
|
}
|
|
2190
2190
|
loadBottom() {
|
|
2191
2191
|
/**
|
|
@@ -2204,7 +2204,8 @@ const RtkPaginatedList = class {
|
|
|
2204
2204
|
const newestTimestamp = newestVNode.timeMs;
|
|
2205
2205
|
// TODO: scrollIntoView
|
|
2206
2206
|
const onPageRendered = () => scroll.smoothScrollToBottom(this.$paginatedList);
|
|
2207
|
-
this.
|
|
2207
|
+
this.isLoadingBottom = true;
|
|
2208
|
+
this.loadPage(newestTimestamp + 1, this.pageSize, false, onPageRendered, 'bottom');
|
|
2208
2209
|
}
|
|
2209
2210
|
addNodeToRender(node, addToStart) {
|
|
2210
2211
|
if (addToStart) {
|
|
@@ -2248,11 +2249,19 @@ const RtkPaginatedList = class {
|
|
|
2248
2249
|
* @param end
|
|
2249
2250
|
* @param reversed Defines whether to add the page at the beginning or the end
|
|
2250
2251
|
* @param onPageLoaded Callback for when all new nodes are rendered
|
|
2252
|
+
* @param direction Indicates if loading from 'top' or 'bottom'
|
|
2251
2253
|
*/
|
|
2252
|
-
async loadPage(timestamp, size, reversed, onPageRendered = () => { }) {
|
|
2254
|
+
async loadPage(timestamp, size, reversed, onPageRendered = () => { }, direction) {
|
|
2253
2255
|
this.isLoading = true;
|
|
2254
2256
|
const data = (await this.fetchData(timestamp, size, reversed));
|
|
2255
2257
|
this.isLoading = false;
|
|
2258
|
+
if (direction === 'top') {
|
|
2259
|
+
this.isLoadingTop = false;
|
|
2260
|
+
this.hasMoreDataAtTop = (data === null || data === void 0 ? void 0 : data.length) > 0;
|
|
2261
|
+
}
|
|
2262
|
+
if (direction === 'bottom') {
|
|
2263
|
+
this.isLoadingBottom = false;
|
|
2264
|
+
}
|
|
2256
2265
|
if (!(data === null || data === void 0 ? void 0 : data.length)) {
|
|
2257
2266
|
/**
|
|
2258
2267
|
* While scrolling down if there were no new items found
|
|
@@ -2286,6 +2295,9 @@ const RtkPaginatedList = class {
|
|
|
2286
2295
|
*/
|
|
2287
2296
|
this.loadBottom();
|
|
2288
2297
|
}
|
|
2298
|
+
onLoadMoreOnTopClicked() {
|
|
2299
|
+
this.loadTop();
|
|
2300
|
+
}
|
|
2289
2301
|
render() {
|
|
2290
2302
|
var _a;
|
|
2291
2303
|
/**
|
|
@@ -2293,7 +2305,7 @@ const RtkPaginatedList = class {
|
|
|
2293
2305
|
* which is why div#bottom-scroll comes before div#top-scroll
|
|
2294
2306
|
* div.page-wrapper prevents reversal of messages
|
|
2295
2307
|
*/
|
|
2296
|
-
return (index$1.h(index$1.Host, { key: '
|
|
2308
|
+
return (index$1.h(index$1.Host, { key: '23e10f12b079213650cf9c947d30650ba8c95a4d' }, index$1.h("div", { key: 'b5406069fd69ff117b19d437184c38b3c7d2fc28', class: "scrollbar container", part: "container", ref: (el) => (this.$paginatedList = el) }, index$1.h("div", { key: '7be947f2409ff810e0d10beea53ace8fdec334ce', class: { 'show-new-messages-ctr': true, active: !this.shouldRenderNewNodes } }, index$1.h("rtk-button", { key: '45c43d6ca1cc39376334dffa10f3f2c137d65add', class: "show-new-messages", kind: "icon", variant: "secondary", part: "show-new-messages", onClick: () => this.onDownArrowClicked() }, index$1.h("rtk-icon", { key: '519b0db80f7d16cc4d03983e227d4897a5868ec9', icon: this.iconPack.chevron_down }))), index$1.h("div", { key: '53691e3943b90ef9e422c8da8f5facaa23f01920', class: "smallest-dom-element", id: "bottom-scroll", ref: (el) => (this.$bottomRef = el) }), this.isLoadingBottom && index$1.h("rtk-spinner", { key: '2a393cb0bbb07c356144464dcc7c597f5cc9771b', size: "sm" }), this.isLoading && this.pagesToRender.flat().length === 0 && index$1.h("rtk-spinner", { key: '4ce03be69368db0d6d0d4ad079b14f2c7d93f26d', size: "lg" }), this.pagesToRender.flat().length === 0 && this.showEmptyListLabel ? (index$1.h("div", { class: "empty-list" }, (_a = this.emptyListLabel) !== null && _a !== void 0 ? _a : this.t('list.empty'))) : (index$1.h("div", { class: "page-wrapper" }, this.pagesToRender.map((page) => this.createNodes(page)))), this.hasMoreDataAtTop && !this.isLoadingTop && (index$1.h("div", { key: '5c85806854687efe098e4bd6d06d109060445378', class: "load-more-on-top-container" }, index$1.h("rtk-button", { key: '6d73a030fad5ba133aa2841b2feb196646592ada', class: "load-more-icon", kind: "icon", variant: "secondary", part: "load-more-icon", onClick: () => this.onLoadMoreOnTopClicked() }, index$1.h("rtk-icon", { key: '61a4f376749938df280e5c734dd3fa8a9b0b7201', icon: this.iconPack.chevron_up })))), this.isLoadingTop && index$1.h("rtk-spinner", { key: '3e55b99c60ed7bc2cd937091a33663dd19c9ca68', size: "sm" }), index$1.h("div", { key: 'a69e0a3a26d295783f4f729b33770b206ab5d46b', class: "smallest-dom-element", id: "top-scroll", ref: (el) => (this.$topRef = el) }))));
|
|
2297
2309
|
}
|
|
2298
2310
|
static get watchers() { return {
|
|
2299
2311
|
"selectedItemId": ["onItemChanged"]
|
|
@@ -2329,7 +2341,7 @@ const RtkSpinner = class {
|
|
|
2329
2341
|
this.size = 'md';
|
|
2330
2342
|
}
|
|
2331
2343
|
render() {
|
|
2332
|
-
return (index$1.h(index$1.Host, { key: '
|
|
2344
|
+
return (index$1.h(index$1.Host, { key: '2eb8672a849f85e2c207ec9331d1093b7deefaa3' }, index$1.h("rtk-icon", { key: '5a2f292ddd7a5c52709ce41f47422f08bdf82852', class: "spinner", icon: this.iconPack.spinner })));
|
|
2333
2345
|
}
|
|
2334
2346
|
};
|
|
2335
2347
|
__decorate$1([
|
|
@@ -2407,7 +2419,7 @@ const RtkTextComposerView = class {
|
|
|
2407
2419
|
}
|
|
2408
2420
|
}
|
|
2409
2421
|
render() {
|
|
2410
|
-
return (index$1.h("div", { key: '
|
|
2422
|
+
return (index$1.h("div", { key: '1b51f7d6ffbe8069172a5dc51f291988000c898a', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (index$1.h("div", { key: 'fe75f8333a7643458d5077fec968464327e65ca3', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, index$1.h("rtk-icon", { key: '669066f9983f226d96baeebdfa10ffb1fc8001b7', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.maxLengthBreached, " / ", this.maxLength, " ", this.t('chat.max_limit_warning'))), this.rateLimitBreached && (index$1.h("div", { key: '0024d3b4e8d5eda5f94ff2fe9d8aa18cfb9297a7', class: 'text-error breached' }, index$1.h("rtk-icon", { key: 'bc3a0417a81de43b67595cde79dfe7aba21a6601', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), index$1.h("textarea", { key: 'c6077b3128eeea4be2358ab557062df322a8ffa9', ref: (el) => (this.$textArea = el), placeholder: this.placeholder, disabled: this.disabled, onInput: this.onInputHandler, onKeyDown: this.keyDownHandler, part: "chat-input", value: this.value })));
|
|
2411
2423
|
}
|
|
2412
2424
|
};
|
|
2413
2425
|
__decorate([
|
|
@@ -2428,7 +2440,7 @@ const RtkTextMessageView = class {
|
|
|
2428
2440
|
this.isMarkdown = false;
|
|
2429
2441
|
}
|
|
2430
2442
|
render() {
|
|
2431
|
-
return (index$1.h("p", { key: '
|
|
2443
|
+
return (index$1.h("p", { key: '90e03b1cdd7271004b0ba2932d7e00342d0b884d', class: { text: true, emoji: string.hasOnlyEmojis(this.text) } }, this.isMarkdown ? index$1.h("rtk-markdown-view", { text: this.text }) : this.text));
|
|
2432
2444
|
}
|
|
2433
2445
|
};
|
|
2434
2446
|
RtkTextMessageView.style = RtkTextMessageViewStyle0;
|
|
@@ -2534,7 +2546,7 @@ const RtkMenu = class {
|
|
|
2534
2546
|
});
|
|
2535
2547
|
}
|
|
2536
2548
|
render() {
|
|
2537
|
-
return (index$1.h(index$1.Host, { key: '
|
|
2549
|
+
return (index$1.h(index$1.Host, { key: '32f792b447497e62bc776085657de62b8d6213bf' }, index$1.h("span", { key: '96f014373662e86cadb00d5a0b981246d3a7cac4', part: "trigger", id: "trigger", ref: (el) => (this.triggerEl = el) }, index$1.h("slot", { key: '218a47538fad33071c2ed20d83610b36e8c5a8f4' })), index$1.h("div", { key: 'c338da352126320e70333ad8ae814667e53dc5b4', part: "tooltip", class: "tooltip", id: "tooltip", role: "tooltip", ref: (el) => (this.tooltipEl = el) }, index$1.h("div", { key: 'bd0fe7c880bf999ba565959e84cc78412d008fb7', id: "arrow", ref: (el) => (this.arrowEl = el), part: "arrow" }), this.label, index$1.h("slot", { key: '67fcc99de5f9db145ce832b7eb46aa0e587ed101', name: "tooltip" }))));
|
|
2538
2550
|
}
|
|
2539
2551
|
static get watchers() { return {
|
|
2540
2552
|
"open": ["openChanged"]
|
|
@@ -309,9 +309,9 @@ const RtkBreakoutRoomParticipants = class {
|
|
|
309
309
|
}, size: "sm" }), index$1.h("p", { class: "name", title: name }, string.shorten(name, 16), this.meeting.self.userId === participant.id && ` (${this.t('you')})`)));
|
|
310
310
|
}
|
|
311
311
|
render() {
|
|
312
|
-
return (index$1.h(index$1.Host, { key: '
|
|
312
|
+
return (index$1.h(index$1.Host, { key: '2df7ce2cbfbdfea7d739e2d9ba39e029e650813a' }, index$1.h("div", { key: '22e9786b7ce49b59c19f6dacd74aab60150a5ac1', class: "search-wrapper" }, index$1.h("div", { key: '66dbf04424c21717663bc72c2d005ea1ca3c7b0b', class: "search", part: "search" }, index$1.h("rtk-icon", { key: 'c6ea14f0ea2c2b4833a3c6eca076a20e876bf16a', icon: this.iconPack.search, part: "search-icon", class: "search-icon" }), index$1.h("input", { key: '506a501cbbb0d5ac9ab18d727a5878452a1ddb94', type: "search", autocomplete: "off", placeholder: this.t('search'), onInput: this.onSearchInput, part: "search-input" })), index$1.h("slot", { key: '7811caee1f0abb42effdb9f1d5cd962b1d74f378', name: "shuffle-button" })), index$1.h("div", { key: '31343e56d0109cd9a43e6baf0ecccc41e67aca0e', class: "header" }, index$1.h("div", { key: '6a534ac1cb33e0cb9b2a8edbbf8933aa87e6e679', class: "title-wrapper" }, index$1.h("span", { key: '3ce597924d2132e5b9ebacfb3d4078cff50a619b' }, this.t('breakout_rooms.main_room')), index$1.h("span", { key: '1033023b38905b1a5ef7ebfd7be025dfdedb4f61', class: "participant-count" }, "(", index$1.h("rtk-icon", { key: '5eed0bebdeb203efb34893e4e5790f8f4ff699e7', icon: this.iconPack.people }), this.participantsToShow.length, ")")), this.selectedParticipantIds.length !== 0 && (index$1.h("rtk-tooltip", { key: 'cbb49326b124b9fc085e9647fa00f0b9132b11e3', label: this.t('breakout_rooms.select_all') }, index$1.h("input", { key: '049b49f2171d40908855f156bc12e714e5cdb3d9', type: "checkbox", checked: this.selectedParticipantIds.length === this.participantsToShow.length, onChange: (e) => this.onToggleAll(!!e.target.checked) })))), index$1.h("div", { key: '0f0f58ee1e6743b40c955c8b7103d2ec73de8f9c', class: "ctr scrollbar", part: "container" }, this.participantsToShow.length > 0 && (index$1.h("ul", { key: '7ecb78de6863bb8792e69b7bdff5cc94b95050e8', class: "participants", part: "participants" }, this.participantsToShow.map((participant) => (index$1.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 && (index$1.h("input", { type: "checkbox", class: {
|
|
313
313
|
'hide-checkbox': this.selectedParticipantIds.length === 0,
|
|
314
|
-
}, checked: this.selectedParticipantIds.includes(uiStore.participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (index$1.h("div", { key: '
|
|
314
|
+
}, checked: this.selectedParticipantIds.includes(uiStore.participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (index$1.h("div", { key: 'bbe867d1f141f2c72d7f801d0eaedd5a0fc484b7', class: "empty-message" }, this.t('participants.errors.empty_results'))), this.participantsToShow.length === 0 && this.search.length === 0 && (index$1.h("div", { key: '84864749f6c582214a03ef21f027a9977d979785', class: "empty-room" }, index$1.h("rtk-icon", { key: '31353ae4541b5d32d402c77838955f263a02c75f', icon: this.iconPack.people_checked, part: "search-icon", class: "search-icon" }), index$1.h("p", { key: '4201bc2d18b32a3e96fee9fe6f8fdb4f75464cb1' }, this.t('breakout_rooms.all_assigned')), index$1.h("span", { key: 'e5245caf044fd96b17c41851dce8d22e1c6a083e' }, this.t('breakout_rooms.empty_main_room')))))));
|
|
315
315
|
}
|
|
316
316
|
static get watchers() { return {
|
|
317
317
|
"meeting": ["meetingChanged"],
|
|
@@ -370,7 +370,7 @@ const RtkCounter = class {
|
|
|
370
370
|
this.input = Math.max(this.minValue, parseInt(this.input) - 1).toString();
|
|
371
371
|
}
|
|
372
372
|
render() {
|
|
373
|
-
return (index$1.h(index$1.Host, { key: '
|
|
373
|
+
return (index$1.h(index$1.Host, { key: 'ef85b8128d8f6470dade486d8b31948db504ca21' }, index$1.h("rtk-button", { key: 'cfe52b812fcbb969cfa26cfd6f07aaf2f8b68cb2', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, index$1.h("rtk-icon", { key: '947cbae0757f3b56ca511789d431da4a9457259a', icon: this.iconPack.subtract })), index$1.h("input", { key: '082850c82f03fa110b670234c676b35e56ac663f', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
|
|
374
374
|
const val = parseInt(e.target.value, 10);
|
|
375
375
|
if (isNaN(val) || val < this.minValue) {
|
|
376
376
|
this.input = this.minValue.toString();
|
|
@@ -378,7 +378,7 @@ const RtkCounter = class {
|
|
|
378
378
|
else {
|
|
379
379
|
this.input = val.toString();
|
|
380
380
|
}
|
|
381
|
-
} }), index$1.h("rtk-button", { key: '
|
|
381
|
+
} }), index$1.h("rtk-button", { key: 'fcb469289475e418446019725f47b3fcfe4a2ec1', kind: "icon", variant: "ghost", onClick: () => this.increment() }, index$1.h("rtk-icon", { key: 'd4f907255b622dfea369815f4c99ea3a4656caf7', icon: this.iconPack.add }))));
|
|
382
382
|
}
|
|
383
383
|
static get watchers() { return {
|
|
384
384
|
"input": ["watchStateHandler"]
|
|
@@ -354,9 +354,9 @@ const RtkBroadcastMessageModal = class {
|
|
|
354
354
|
}, 2000);
|
|
355
355
|
}
|
|
356
356
|
render() {
|
|
357
|
-
return (index$1.h(index$1.Host, { key: '
|
|
357
|
+
return (index$1.h(index$1.Host, { key: 'dafb5f8358be8db735eca75ae4f1cd887267e74a' }, index$1.h("div", { key: 'e5990f3fd2c371dc8c989ec8639f0fe1c23cbde4', class: "content-col" }, index$1.h("h2", { key: '3c6362b764c6ee53b841ab2278939815de33a0c0' }, "Broadcast message to"), index$1.h("select", { key: '9f96c461261583d32197f9a8ffaf0c73cdb2404f', onChange: (e) => {
|
|
358
358
|
this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { to: e.target.value });
|
|
359
|
-
} }, index$1.h("option", { key: '
|
|
359
|
+
} }, index$1.h("option", { key: '780592e2af423343df3dce1f0da05fbfb2676691' }, "Everyone"), index$1.h("option", { key: '7874876c9354347c9ad5365128dcf419c678b801' }, "List of rooms")), index$1.h("textarea", { key: 'e0bb3a3146e6a9c38374bed1eb78429ee4478d2c', placeholder: "Type message here...", onInput: (e) => {
|
|
360
360
|
this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { message: e.target.value });
|
|
361
361
|
} }), this.successMessage ? (index$1.h("p", null, "Message sent to ", this.messagePayload.to, index$1.h("rtk-icon", { icon: this.iconPack.checkmark }))) : (index$1.h("div", { class: "content-row" }, index$1.h("rtk-button", { onClick: () => this.close(), variant: "secondary" }, "Cancel"), "\u2002", index$1.h("rtk-button", { variant: "primary", onClick: () => this.sendMessage() }, "Send"))))));
|
|
362
362
|
}
|
|
@@ -422,7 +422,7 @@ const RtkConfirmationModal = class {
|
|
|
422
422
|
render() {
|
|
423
423
|
var _a, _b;
|
|
424
424
|
const state = this.states.activeConfirmationModal;
|
|
425
|
-
return (index$1.h(index$1.Host, { key: '
|
|
425
|
+
return (index$1.h(index$1.Host, { key: '716b099a3b9d9886c41626cf977e6de8e744894b' }, index$1.h("div", { key: 'bac586faa92a4a80b78e36cbef361eec830a8ee2', class: "leave-modal" }, index$1.h("div", { key: 'ee19990482ae51504da014bf7d804b4bf577a14a', class: "header" }, index$1.h("h2", { key: 'd220797780f3f93b27f1ae511a9fd30e0211b957', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && index$1.h("p", { key: '498688e185b24eec250bcbcdd555fedc15980395', class: "message" }, this.t(state.content)), index$1.h("div", { key: '43f6068e6a14c1798ea2d9dec4dafd110222a5aa', class: "content" }, index$1.h("div", { key: 'dde485ee17c18a7a15dafd5347e9981ea6af4fe4', class: "leave-meeting" }, index$1.h("rtk-button", { key: '9cbbbe08509212e581b2e0768653a9f97efa45e3', 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')), index$1.h("rtk-button", { key: 'd6c1deaa86c2ec2dd607583aaf9ef3238c343183', 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')))))));
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
428
|
__decorate$6([
|
|
@@ -677,9 +677,9 @@ const RtkLeaveMeeting = class {
|
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
679
|
render() {
|
|
680
|
-
return (index$1.h(index$1.Host, { key: '
|
|
680
|
+
return (index$1.h(index$1.Host, { key: 'aea5962feea02bcf96948f3fe61eb6d59657de0d' }, index$1.h("div", { key: '183292c3726e742323faba5d94c21ccefe3d56c5', class: "leave-modal" }, index$1.h("div", { key: '313b84d84c8a575883c5aa89613bf8a07b53a6aa', class: "header" }, index$1.h("h2", { key: 'd87fcdf179052a18b70b9681e56858e09acb04b5', class: "title" }, this.t('leave'))), index$1.h("p", { key: 'd03e97a6556e27b3719d4ca9ea89ee8a286d3f16', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
|
|
681
681
|
? this.t('breakout_rooms.leave_confirmation')
|
|
682
|
-
: this.t('leave_confirmation')), index$1.h("div", { key: '
|
|
682
|
+
: this.t('leave_confirmation')), index$1.h("div", { key: '39742fe6bfbadfb30b116ee38685f1193c773e1c', class: "content" }, index$1.h("rtk-button", { key: '39d88ee45a920e56593cd23237bf241951d8b178', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (index$1.h("rtk-button", { key: '250fb2f7e0a44e64a29072bc59d966191ce55a88', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), index$1.h("rtk-button", { key: 'bdbea0eb8468240008a11b1f4456d52633dc2637', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (index$1.h("rtk-button", { key: 'abff846edc62ce861159bc19101ef6714a5ad99b', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
|
|
683
683
|
}
|
|
684
684
|
static get watchers() { return {
|
|
685
685
|
"meeting": ["meetingChanged"]
|
|
@@ -731,7 +731,7 @@ const RtkMuteAllConfirmation = class {
|
|
|
731
731
|
};
|
|
732
732
|
}
|
|
733
733
|
render() {
|
|
734
|
-
return (index$1.h(index$1.Host, { key: '
|
|
734
|
+
return (index$1.h(index$1.Host, { key: '012843e04afc91b7a9b8bca01d5d44ad8eb21988' }, index$1.h("div", { key: '82d246a5339936460435c45122ee9979c6f96ec4', class: "leave-modal" }, index$1.h("div", { key: '93a9cb57cc106f4dadbb3bac2dc194dc506d8926', class: "header" }, index$1.h("h2", { key: '26535ce68bae0d140ad626cfef61f7f753892404', class: "title" }, this.t('mute_all.header'))), index$1.h("p", { key: 'adf32771ba089b2b07022faa581a152495faafbc', class: "message" }, this.t('mute_all.description')), index$1.h("div", { key: '8f15b4433aa6483d968f435ce413ebe64077aee4', class: "content" }, index$1.h("div", { key: '5d9781ebe01b4085f4c5a9917a09b5b32e418c72', class: "leave-meeting" }, index$1.h("rtk-button", { key: 'bb8718e4548662d15ea67cb5a432e195c5f5f965', variant: "secondary", title: this.t('close'), onClick: this.onClose }, this.t('cancel')), index$1.h("rtk-button", { key: '0efaee116b9361826fc94a41e4727115a08100cb', variant: "danger", title: this.t('mute_all'), onClick: this.onMuteAll }, this.t('mute_all')))))));
|
|
735
735
|
}
|
|
736
736
|
};
|
|
737
737
|
__decorate$2([
|
|
@@ -778,7 +778,7 @@ const RtkOverlayModal = class {
|
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
render() {
|
|
781
|
-
return (index$1.h(index$1.Host, { key: '
|
|
781
|
+
return (index$1.h(index$1.Host, { key: '3c4b052af95eb7fd181d940b671b1d8105c568bb' }, index$1.h("rtk-icon", { key: 'a279a00bc270b2aa5bc1b867753bb10fbb13dfba', icon: this.states.activeOverlayModal.icon }), index$1.h("h2", { key: '283ade7b8c7f340e6931330a923df6d7457902e7' }, this.states.activeOverlayModal.title), index$1.h("p", { key: '16a8497d0940fa3354530555ab523e4d7236bbc0' }, this.states.activeOverlayModal.description)));
|
|
782
782
|
}
|
|
783
783
|
};
|
|
784
784
|
__decorate$1([
|
|
@@ -955,7 +955,7 @@ const RtkPermissionsMessage = class {
|
|
|
955
955
|
this.stepsTimer = setTimeout(this.nextStep, 2500);
|
|
956
956
|
}
|
|
957
957
|
const showMacDeepLink = isDeniedBySystem && this.meeting.self.device.osName == 'macOS';
|
|
958
|
-
return (index$1.h(index$1.Host, { key: '
|
|
958
|
+
return (index$1.h(index$1.Host, { key: '2286180903192f50c5a5f427f4b71b7764f908ff' }, index$1.h("h2", { key: '02bd9de1404b366114eac1b36ee94f4afa8666e4' }, index$1.h("rtk-icon", { key: 'eae918cb5e321c8ed4f853b3f7942a5ff4a06ec0', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (index$1.h("div", { key: '2ee086e9dfcf6bbce679c0714c40dbc28ccc6318', class: 'svg-container' }, this.svgSteps.map((e, index) => (index$1.h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), index$1.h("div", { key: 'ee719e6edab99a1998a2284e596c6e5becc0f078' }, this.getMessage()), !isDeniedBySystem && (index$1.h("a", { key: 'baaef2813309bde6be2087b18969dfd556ad5f1e', class: "need-help-link", href: this.getLink((_c = (_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.activePermissionsMessage) === null || _b === void 0 ? void 0 : _b.kind) !== null && _c !== void 0 ? _c : 'audio'), target: "_blank", rel: "noreferrer external noreferrer noopener" }, index$1.h("rtk-icon", { key: '23e3df4cc997eec1dedd53c5a89c611d93feb95e', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), index$1.h("div", { key: '27e0eec473b0328d503428802c46f7c648861804', class: "actions" }, index$1.h("rtk-button", { key: '4dbb461bbc79ccc78ef964c3596bf61816a941ff', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (index$1.h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (index$1.h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), index$1.h("slot", { key: 'c86e688c04b116c225daed08d622d48dcab064da' })));
|
|
959
959
|
}
|
|
960
960
|
static get watchers() { return {
|
|
961
961
|
"meeting": ["meetingChanged"]
|
|
@@ -143,9 +143,9 @@ const RtkChannelCreator = class {
|
|
|
143
143
|
(_a = this.inputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
144
144
|
}
|
|
145
145
|
render() {
|
|
146
|
-
return (index$1.h(index$1.Host, { key: '
|
|
146
|
+
return (index$1.h(index$1.Host, { key: '5d65768a72c0769857b7d817d0b555d50a5645a5' }, index$1.h("header", { key: 'f8826c58072d2ddb73ed61a1813bf62b85cb9bc8' }, this.step === 1 ? this.t('chat.new_channel') : this.t('chat.add_members')), this.step === 1 && (index$1.h("input", { key: '2bad468b946a896cb28a6206d5650c1b0192f9f9', class: "channel-name-input", type: "text", placeholder: this.t('chat.channel_name'), ref: (el) => (this.inputTextRef = el), onInput: (e) => {
|
|
147
147
|
this.channelName = e.target.value.trim();
|
|
148
|
-
} })), this.step === 2 && this.renderMemberSelector(), index$1.h("footer", { key: '
|
|
148
|
+
} })), this.step === 2 && this.renderMemberSelector(), index$1.h("footer", { key: 'd23db51c427fa67f67cc11514e241d052eb376fe' }, index$1.h("rtk-button", { key: '5031f53ed0dc632d3e778f0ecaefb0165b74d74d', kind: "button", size: "lg", disabled: this.channelName.length === 0, onClick: this.onClickHandler }, this.step === 1 ? this.t('chat.add_members') : this.t('create')))));
|
|
149
149
|
}
|
|
150
150
|
get $el() { return index$1.getElement(this); }
|
|
151
151
|
};
|
|
@@ -35,7 +35,7 @@ const RtkChannelDetails = class {
|
|
|
35
35
|
})));
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (index$1.h(index$1.Host, { key: '
|
|
38
|
+
return (index$1.h(index$1.Host, { key: 'fd16feaf7e6dff4fbf038073e953c25d3f7b4822' }, index$1.h("header", { key: 'acb5029883e4bd77eadd22d1024cb5a9dfd8247a' }, this.t('chat.channel_members')), this.renderMembers()));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
__decorate([
|
|
@@ -123,7 +123,7 @@ const RtkChannelSelectorUi = class {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (index$1.h(index$1.Host, { key: '
|
|
126
|
+
return (index$1.h(index$1.Host, { key: 'd4565e4906338b20c51ca9559f9aabcf6a54382a' }, index$1.h("div", { key: '3e196d8746296f4d8f118c5218b9c1c9818fd7c3', class: "container", ref: (el) => (this.$el = el) }, this.isHidden && (index$1.h("rtk-button", { key: 'a771768f868b0e1281281ff8dc721f8a3cb2c201', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, index$1.h("rtk-icon", { key: 'b6e75a2486cef93ad99e9e173258256ab048198b', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))), index$1.h("slot", { key: 'fd02665a1f80a946e9f6c2b642b80edc6f978a65', name: "header" }), index$1.h("div", { key: 'd24ad0988ef95f0ddabb8ff1c33f3740f8af4f76', class: "search-wrapper" }, index$1.h("div", { key: '1bb2aec77e2d1d6500709566a0bd1d9a8246ecc8', class: "search" }, index$1.h("input", { key: '10a989ac0e55bd37f67359e9ca14ea9e79edeb88', type: "search", autocomplete: "off", placeholder: this.t('chat.search_conversations'), onInput: this.onSearchInput }), index$1.h("rtk-icon", { key: 'ffaeb2e88ffc571a6271fafd9b9ef1c7f105803b', icon: this.iconPack.search, class: "search-icon" }))), index$1.h("div", { key: '9612379eb95b5d4fae3a4fa6db05660bfc92b6e8', class: "channel-container scrollbar", role: "list" }, this.channels
|
|
127
127
|
.filter((channel) => this.searchQuery === '' || channel.displayName.includes(this.searchQuery))
|
|
128
128
|
.map((channel) => {
|
|
129
129
|
return (index$1.h("div", { class: {
|
|
@@ -133,7 +133,7 @@ const RtkChannelSelectorUi = class {
|
|
|
133
133
|
}, role: "listitem", onClick: () => {
|
|
134
134
|
this.channelSelected(channel.id);
|
|
135
135
|
} }, this.renderChannelDisplayPic(channel), index$1.h("div", { class: "channel-card", "is-direct-message": channel.isDirectMessage }, index$1.h("div", { class: 'recent-message-row' }, index$1.h("span", { class: "channel-name" }, channel.displayName), channel.latestMessage && (index$1.h("span", { class: "latest-msg-time" }, this.getTimeLabel(channel.latestMessage)))), index$1.h("div", { class: 'recent-message-row' }, this.renderRecentMessage(channel), channel.unreadCount > 0 && channel.id !== this.selectedChannelId ? (index$1.h("span", { class: "new-msgs-count" }, channel.unreadCount < 99 ? channel.unreadCount : '99+')) : null))));
|
|
136
|
-
}))), !this.isHidden && (index$1.h("div", { key: '
|
|
136
|
+
}))), !this.isHidden && (index$1.h("div", { key: '84b18823c07fc0dba89b8e11fb36044d36c4e9d3', class: "overlay-container" }, index$1.h("rtk-button", { key: '7aecee5541f731e264a5f12d10e7f7b07ce647ef', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, index$1.h("rtk-icon", { key: '924fa966910f056fbe0e7ee57de122fcb7d6311c', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))))));
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
__decorate([
|
|
@@ -96,11 +96,11 @@ const RtkChatMessage = class {
|
|
|
96
96
|
} })));
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (index$1.h(index$1.Host, { key: '
|
|
99
|
+
return (index$1.h(index$1.Host, { key: '358cc92774694c9c31b965f823efd5047685ddd3' }, index$1.h("div", { key: '084dbfc81b75420c66f949b9799a60563c39b6b2', class: {
|
|
100
100
|
'message-wrapper': true,
|
|
101
101
|
'align-right': this.alignRight,
|
|
102
102
|
'left-align': this.leftAlign,
|
|
103
|
-
}, "is-continued": this.isContinued }, this.renderAvatar(), index$1.h("div", { key: '
|
|
103
|
+
}, "is-continued": this.isContinued }, this.renderAvatar(), index$1.h("div", { key: 'e3f3490eccdc1550b9232bf70f2d8f6717f2fac4', class: {
|
|
104
104
|
message: true,
|
|
105
105
|
'show-on-hover': !this.isTouchDevice(),
|
|
106
106
|
}, "is-continued": this.isContinued }, this.renderMessage(), this.renderControls()))));
|
|
@@ -160,7 +160,7 @@ const RtkChatMessagesUi = class {
|
|
|
160
160
|
var _a;
|
|
161
161
|
let prevMessage = null;
|
|
162
162
|
let reachedFirstUnread = false;
|
|
163
|
-
return (index$1.h(index$1.Host, { key: '
|
|
163
|
+
return (index$1.h(index$1.Host, { key: '02149982e96642f42c8850f5d501c038874300f7' }, index$1.h("div", { key: 'bcc27f4f4c620175c5b6daead99d0a1b64e6bba8', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, index$1.h("div", { key: '4d4ba71a572095a28aa7c03e70a724521122e96d', class: "spacer", part: "spacer" }), index$1.h("div", { key: 'eca7d4406536b4e1b8d907bffe9a1ed6ad311dd4', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
164
164
|
if (item.type === 'chat') {
|
|
165
165
|
const { message } = item;
|
|
166
166
|
const isSelfMessage = message.userId === this.selfUserId;
|
|
@@ -179,10 +179,10 @@ const RtkChatMessagesUi = class {
|
|
|
179
179
|
} })))), message.pinned && (index$1.h("div", { class: "pin-button", part: "pin-button" }, index$1.h("rtk-tooltip", { label: this.t('unpin') }, index$1.h("rtk-button", { kind: "icon", variant: "ghost", onClick: () => this.onMessageActionHandler('pin_message', message), disabled: !this.canPinMessages }, index$1.h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }))))))));
|
|
180
180
|
}
|
|
181
181
|
return null;
|
|
182
|
-
}))), index$1.h("div", { key: '
|
|
182
|
+
}))), index$1.h("div", { key: '8cbfbb3eef3f8640ddd66f68d0287cff5ade6997', class: "show-new-messages-ctr" }, index$1.h("rtk-button", { key: 'c9d841cf2d557b766c4a642291779562b71d25a1', class: {
|
|
183
183
|
'show-new-messages': true,
|
|
184
184
|
active: this.showLatestMessageButton,
|
|
185
|
-
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, index$1.h("rtk-icon", { key: '
|
|
185
|
+
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, index$1.h("rtk-icon", { key: 'c579ffd1d28139fd82535c6cc0f661118b670a59', icon: this.iconPack.chevron_down })))));
|
|
186
186
|
}
|
|
187
187
|
static get watchers() { return {
|
|
188
188
|
"messages": ["chatChanged"],
|
|
@@ -40,7 +40,7 @@ const RtkChatSearchResults = class {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (index$1.h(index$1.Host, { key: '
|
|
43
|
+
return (index$1.h(index$1.Host, { key: '226b9e52950fca3d296b041dbd93a6c060ad4abe' }, index$1.h("rtk-paginated-list", { key: '102af9de7e52317a5f9a8272e9e8a302f99268da', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
__decorate([
|
|
@@ -77,9 +77,9 @@ const RtkClock = class {
|
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
79
|
const showClock = this.startedTime !== undefined;
|
|
80
|
-
return (index$1.h(index$1.Host, { key: '
|
|
81
|
-
index$1.h("rtk-icon", { key: '
|
|
82
|
-
index$1.h("span", { key: '
|
|
80
|
+
return (index$1.h(index$1.Host, { key: '6e6b7a331666cd98cb100dca5c2869a8b5688553', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
|
|
81
|
+
index$1.h("rtk-icon", { key: '91cd9140d88447cd6662e08f4d2ed4c0df62858b', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
|
|
82
|
+
index$1.h("span", { key: 'eba0772ccc8f0cc14c9c4dd7c11574dcc368b443', part: "text" }, this.getFormattedTime()),
|
|
83
83
|
]));
|
|
84
84
|
}
|
|
85
85
|
static get watchers() { return {
|