@cloudflare/realtimekit-ui 1.0.6-staging.4 → 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/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 +57 -57
- 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 +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-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-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-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.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-fb836f65.js → p-03bdc4c0.js} +1 -1
- package/dist/components/{p-30f43e99.js → p-078bfa39.js} +1 -1
- package/dist/components/{p-4e55295e.js → p-08f6162d.js} +14 -14
- package/dist/components/{p-8935943a.js → p-0a583582.js} +16 -16
- package/dist/components/{p-5eb08127.js → p-0c5aab6d.js} +11 -11
- package/dist/components/{p-4e857a0d.js → p-1740eeb4.js} +1 -1
- package/dist/components/{p-3b34a317.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-e5ef089b.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-af8be74e.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-a5750e39.js → p-31ccb362.js} +15 -15
- package/dist/components/{p-095e6b83.js → p-3570bda3.js} +2 -2
- package/dist/components/{p-2e5d41d6.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-b8845b46.js → p-519d58db.js} +3 -3
- package/dist/components/{p-9b4f77d0.js → p-5205ea87.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-5493aac4.js → p-74942069.js} +2 -2
- package/dist/components/{p-1c7de86c.js → p-7b0a9819.js} +2 -2
- package/dist/components/{p-906cc68f.js → p-7da6a349.js} +3 -3
- package/dist/components/{p-555bbef5.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-ec54a0c7.js → p-919e71b8.js} +2 -2
- 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-914c0c0d.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-a41a2311.js → p-a9bcec5d.js} +1 -1
- package/dist/components/{p-258274b1.js → p-a9d80b81.js} +1 -1
- package/dist/components/{p-f504adce.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-a922eb37.js → p-b0a32a7d.js} +3 -3
- package/dist/components/{p-daaafd7a.js → p-b2c7ff74.js} +6 -6
- 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-ab3007bd.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-590b8d1c.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-53c730fe.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-e6cd5276.js → p-edeeedb5.js} +43 -43
- package/dist/components/{p-63225105.js → p-f45ceaa6.js} +2 -2
- package/dist/components/{p-13258097.js → p-f5c29229.js} +10 -10
- package/dist/components/{p-b9e78c21.js → p-f5f0b499.js} +1 -1
- package/dist/components/{p-ee929898.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 +2 -2
- 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 +3 -3
- package/dist/components/rtk-more-toggle.js +4 -4
- package/dist/components/rtk-mute-all-button.js +3 -3
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-setup.js +2 -2
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +1 -1
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-toggle.js +2 -2
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +11 -11
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +2 -2
- package/dist/components/rtk-plugins-toggle.js +2 -2
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +2 -2
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +1 -1
- package/dist/components/rtk-recording-toggle.js +2 -2
- package/dist/components/rtk-screen-share-toggle.js +3 -3
- package/dist/components/rtk-screenshare-view.js +6 -6
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +3 -3
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +4 -4
- 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/loader.js +124 -122
- 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 +57 -57
- 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 +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-1b626699.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-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-82832d02.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-77645be9.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-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 +1 -1
- package/dist/realtimekit-ui/p-511cb129.entry.js +0 -1
- package/dist/realtimekit-ui/p-822bf597.entry.js +0 -1
- package/dist/realtimekit-ui/p-adbe5063.entry.js +0 -1
- package/dist/realtimekit-ui/p-d6d86a24.entry.js +0 -1
|
@@ -4,19 +4,19 @@ import { c as chatUnreadTimestamps } from './p-a83ccdbd.js';
|
|
|
4
4
|
import { d as differenceInMinutes, f as formatDateTime, e as elapsedDuration } from './p-382270d8.js';
|
|
5
5
|
import { s as smoothScrollToBottom } from './p-0752f2ba.js';
|
|
6
6
|
import { S as SyncWithStore } from './p-beb5c7c8.js';
|
|
7
|
-
import { d as defineCustomElement$d } from './p-
|
|
7
|
+
import { d as defineCustomElement$d } from './p-4e9d44f6.js';
|
|
8
8
|
import { d as defineCustomElement$c } from './p-1391bef0.js';
|
|
9
|
-
import { d as defineCustomElement$b } from './p-
|
|
9
|
+
import { d as defineCustomElement$b } from './p-27f15618.js';
|
|
10
10
|
import { d as defineCustomElement$a } from './p-3b29dda1.js';
|
|
11
|
-
import { d as defineCustomElement$9 } from './p-
|
|
12
|
-
import { d as defineCustomElement$8 } from './p-
|
|
13
|
-
import { d as defineCustomElement$7 } from './p-
|
|
14
|
-
import { d as defineCustomElement$6 } from './p-
|
|
15
|
-
import { d as defineCustomElement$5 } from './p-
|
|
16
|
-
import { d as defineCustomElement$4 } from './p-
|
|
17
|
-
import { d as defineCustomElement$3 } from './p-
|
|
18
|
-
import { d as defineCustomElement$2 } from './p-
|
|
19
|
-
import { d as defineCustomElement$1 } from './p-
|
|
11
|
+
import { d as defineCustomElement$9 } from './p-e891d522.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './p-f5f0b499.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './p-919e71b8.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './p-5205ea87.js';
|
|
15
|
+
import { d as defineCustomElement$5 } from './p-a9d80b81.js';
|
|
16
|
+
import { d as defineCustomElement$4 } from './p-de20d057.js';
|
|
17
|
+
import { d as defineCustomElement$3 } from './p-a59a9c97.js';
|
|
18
|
+
import { d as defineCustomElement$2 } from './p-3570bda3.js';
|
|
19
|
+
import { d as defineCustomElement$1 } from './p-03bdc4c0.js';
|
|
20
20
|
|
|
21
21
|
const rtkChatMessagesUiCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));word-break:break-word}.chat-container{box-sizing:border-box;display:flex;flex-direction:column;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);flex:1 0 0px;overflow-y:scroll}.chat-container .spacer{flex:1 1 auto}.chat-container .chat{flex:0 0 auto}.file-picker{display:none}.chat .head{margin-bottom:var(--rtk-space-2, 8px);display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-2, 8px);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{overflow-wrap:break-word;line-height:1.5}.chat .body .emoji{font-size:24px}p{margin:var(--rtk-space-0, 0px);line-height:1.5}rtk-message-view{margin-top:var(--rtk-space-2, 8px);display:block;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}rtk-message-view::part(message){flex-grow:1}*[is-continued] rtk-message-view{margin-top:var(--rtk-space-1, 4px)}.pinned .message-wrapper{position:relative}.pinned .pin-button{position:absolute;right:var(--rtk-space-4, 16px);top:calc(var(--rtk-space-4, 16px) * -1);display:flex;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.pinned .pin-button:hover rtk-button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-bg-opacity))}.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)}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}.new-chat-marker{display:flex;width:100%;align-items:center;gap:var(--rtk-space-2, 8px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.new-chat-marker::before{content:'';height:1px;flex:1 1 0%;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.show-new-messages-ctr{pointer-events:none;display:flex;justify-content:flex-end;padding:var(--rtk-space-3, 12px);z-index:0;margin-top:calc(var(--rtk-space-14, 56px) * -1)}.show-new-messages{pointer-events:auto;--tw-translate-y:var(--rtk-space-16, 64px);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.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}";
|
|
22
22
|
const RtkChatMessagesUiStyle0 = rtkChatMessagesUiCss;
|
|
@@ -172,7 +172,7 @@ const RtkChatMessagesUi = /*@__PURE__*/ proxyCustomElement(class RtkChatMessages
|
|
|
172
172
|
var _a;
|
|
173
173
|
let prevMessage = null;
|
|
174
174
|
let reachedFirstUnread = false;
|
|
175
|
-
return (h(Host, { key: '
|
|
175
|
+
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) => {
|
|
176
176
|
if (item.type === 'chat') {
|
|
177
177
|
const { message } = item;
|
|
178
178
|
const isSelfMessage = message.userId === this.selfUserId;
|
|
@@ -191,10 +191,10 @@ const RtkChatMessagesUi = /*@__PURE__*/ proxyCustomElement(class RtkChatMessages
|
|
|
191
191
|
} })))), 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" }))))))));
|
|
192
192
|
}
|
|
193
193
|
return null;
|
|
194
|
-
}))), h("div", { key: '
|
|
194
|
+
}))), h("div", { key: 'ae321cae98279cb45e61968b5fab1806d8ae2f33', class: "show-new-messages-ctr" }, h("rtk-button", { key: 'e593e952615692612b2423e49975f97bb22df0fe', class: {
|
|
195
195
|
'show-new-messages': true,
|
|
196
196
|
active: this.showLatestMessageButton,
|
|
197
|
-
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '
|
|
197
|
+
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '454e7ecb90b1660b882bb6f988beb1d7d0494d5f', icon: this.iconPack.chevron_down })))));
|
|
198
198
|
}
|
|
199
199
|
static get watchers() { return {
|
|
200
200
|
"messages": ["chatChanged"],
|
|
@@ -5,12 +5,12 @@ import { f as formatName, s as shorten } from './p-338c7261.js';
|
|
|
5
5
|
import './p-a83ccdbd.js';
|
|
6
6
|
import { c as computePosition, b as autoPlacement, o as offset, s as shift, h as hide } from './p-769bb885.js';
|
|
7
7
|
import { S as SyncWithStore } from './p-beb5c7c8.js';
|
|
8
|
-
import { d as defineCustomElement$6 } from './p-
|
|
8
|
+
import { d as defineCustomElement$6 } from './p-4e9d44f6.js';
|
|
9
9
|
import { d as defineCustomElement$5 } from './p-1391bef0.js';
|
|
10
10
|
import { d as defineCustomElement$4 } from './p-3b29dda1.js';
|
|
11
|
-
import { d as defineCustomElement$3 } from './p-
|
|
12
|
-
import { d as defineCustomElement$2 } from './p-
|
|
13
|
-
import { d as defineCustomElement$1 } from './p-
|
|
11
|
+
import { d as defineCustomElement$3 } from './p-5205ea87.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './p-a9d80b81.js';
|
|
13
|
+
import { d as defineCustomElement$1 } from './p-a59a9c97.js';
|
|
14
14
|
|
|
15
15
|
const rtkParticipantCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;height:var(--rtk-space-14, 56px);align-items:center;justify-content:space-between;cursor:pointer;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host rtk-avatar{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);font-size:14px}.left{display:flex;align-items:center}.left>*{margin-right:var(--rtk-space-2, 8px)}.left>*:last-child{margin-right:var(--rtk-space-0, 0px)}.right{display:flex;align-items:center;justify-content:flex-end}.right>*{margin-left:var(--rtk-space-2, 8px)}.right>*:first-child{margin-left:var(--rtk-space-0, 0px)}.name{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}rtk-icon.red{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}rtk-icon.more{cursor:pointer}.menu{position:relative;display:inline-block;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}#menu-list{position:absolute;z-index:20}";
|
|
16
16
|
const RtkParticipantStyle0 = rtkParticipantCss;
|
|
@@ -226,9 +226,9 @@ const RtkParticipant = /*@__PURE__*/ proxyCustomElement(class RtkParticipant ext
|
|
|
226
226
|
iconPack: this.iconPack,
|
|
227
227
|
t: this.t,
|
|
228
228
|
};
|
|
229
|
-
return (h(Host, { key: '
|
|
229
|
+
return (h(Host, { key: '804f9c2daf473fd518c6697a51b82f5baf63fb17' }, h("div", { class: "left", key: (_e = this.participant) === null || _e === void 0 ? void 0 : _e.id }, h("rtk-avatar", { key: '98f6f1a031269f5ca6523ed38228bcb64a3fe97d', participant: this.participant, size: "sm", iconPack: this.iconPack, t: this.t }), h("p", { key: 'de05ef0806cb0e614bae951715ec263cb2271492', class: "name", title: name }, shorten(name, 16), " ", ((_f = this.meeting) === null || _f === void 0 ? void 0 : _f.self.id) === ((_g = this.participant) === null || _g === void 0 ? void 0 : _g.id) && this.t('(you)'))), this.view === 'sidebar' && (h("div", { key: '8393d899384cac8ff0e248a76f4095922f98e1cb', class: "right" }, isActiveParticipant && (h("rtk-icon", { key: '7b99b6269a101d01a8014dc4038b6bcada21203f', class: {
|
|
230
230
|
red: !this.audioEnabled,
|
|
231
|
-
}, icon: this.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off })), isActiveParticipant && !isAudioRoom && (h("rtk-icon", { key: '
|
|
231
|
+
}, icon: this.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off })), isActiveParticipant && !isAudioRoom && (h("rtk-icon", { key: 'e6e7d7e8a50a9ad0be657b85245252300182c539', class: {
|
|
232
232
|
red: !this.videoEnabled,
|
|
233
233
|
}, icon: this.videoEnabled ? this.iconPack.video_on : this.iconPack.video_off })), (showMenu ||
|
|
234
234
|
lenChildren({
|
|
@@ -237,34 +237,34 @@ const RtkParticipant = /*@__PURE__*/ proxyCustomElement(class RtkParticipant ext
|
|
|
237
237
|
childProps: {
|
|
238
238
|
participant: this.participant,
|
|
239
239
|
},
|
|
240
|
-
}) > 0) && (h("div", { key: '
|
|
240
|
+
}) > 0) && (h("div", { key: '085e0ffe3c230ef1f21ed5de6c11ef70ccfeb69b', class: "menu" }, h("span", { key: 'ab295b485204509824a6bce511a80ec939e31fbb', id: "trigger", onClick: this.onMenuToggle }, h("rtk-button", { key: '0f0cb35c69e63ba8d8b3835cec42aba9f65dc6b8', variant: "ghost", kind: "icon", slot: "trigger" }, h("rtk-icon", { key: 'ebd5705879751573de28ddad204d8f16b055a2b9', class: "more", icon: this.iconPack.more_vertical }))), h("span", { key: '98ec81219c735d44ba36eb2e677b734cc43e478d', id: "menu-list" }, this.menuOpen && (h("rtk-menu-list", { key: '243c43eacd1c429f4c7bd2fcd24fef3983209226', iconPack: this.iconPack, t: this.t }, this.canPinParticipant && isActiveParticipant && !isAudioRoom && (h("rtk-menu-item", { key: '93b74a42b5b37fe15bcbe7a5217258c8cb2b48b9', onClick: () => {
|
|
241
241
|
if (this.isPinned) {
|
|
242
242
|
this.participant.unpin();
|
|
243
243
|
}
|
|
244
244
|
else {
|
|
245
245
|
this.participant.pin();
|
|
246
246
|
}
|
|
247
|
-
}, iconPack: this.iconPack, t: this.t }, h("rtk-icon", { key: '
|
|
247
|
+
}, iconPack: this.iconPack, t: this.t }, h("rtk-icon", { key: '0c1c8f6cc7b10c2fdea37f79ad0fc00cbb50f1d6', icon: this.isPinned ? this.iconPack.pin_off : this.iconPack.pin, slot: "start" }), this.isPinned ? this.t('unpin') : this.t('pin'))), isSelf && (h("rtk-menu-item", { key: 'dd4d5dff2c77f93a233a5f565d9d64fddb660c0d', iconPack: this.iconPack, t: this.t, onClick: () => {
|
|
248
248
|
this.isHidden
|
|
249
249
|
? this.participant.show()
|
|
250
250
|
: this.participant.hide();
|
|
251
|
-
} }, h("rtk-icon", { key: '
|
|
251
|
+
} }, h("rtk-icon", { key: 'fdfc1cfeca1b1c63dd27fcc31a658f1d1a8d5c17', icon: this.isHidden ? this.iconPack.minimize : this.iconPack.maximize, slot: "start" }), !this.meeting.self.hidden ? this.t('minimize') : this.t('maximize'))), this.canDisableParticipantAudio &&
|
|
252
252
|
isActiveParticipant &&
|
|
253
|
-
this.audioEnabled && (h("rtk-menu-item", { key: '
|
|
253
|
+
this.audioEnabled && (h("rtk-menu-item", { key: '95edf3439889a9c468acce8ef88ababef747e018', iconPack: this.iconPack, t: this.t, onClick: () => {
|
|
254
254
|
this.participant.disableAudio();
|
|
255
|
-
} }, h("rtk-icon", { key: '
|
|
255
|
+
} }, h("rtk-icon", { key: '1df60ff6541717369a5c8c1fa47dcb09e2499f8d', icon: this.iconPack.mic_off, slot: "start" }), this.t('mute'))), this.canDisableParticipantVideo &&
|
|
256
256
|
isActiveParticipant &&
|
|
257
|
-
this.videoEnabled && (h("rtk-menu-item", { key: '
|
|
257
|
+
this.videoEnabled && (h("rtk-menu-item", { key: 'e3812a8631be2f84695b90ac80f0214a26495071', iconPack: this.iconPack, t: this.t, onClick: () => {
|
|
258
258
|
this.participant.disableVideo();
|
|
259
|
-
} }, h("rtk-icon", { key: '
|
|
260
|
-
((_h = this.participant) === null || _h === void 0 ? void 0 : _h.id) !== ((_j = this.meeting) === null || _j === void 0 ? void 0 : _j.self.id) && (h("rtk-menu-item", { key: '
|
|
259
|
+
} }, h("rtk-icon", { key: '634c9c452ecd36d6c024cbb0e22a79059f4b85a6', icon: this.iconPack.video_off, slot: "start" }), this.t('participants.turn_off_video'))), this.canAllowParticipantOnStage &&
|
|
260
|
+
((_h = this.participant) === null || _h === void 0 ? void 0 : _h.id) !== ((_j = this.meeting) === null || _j === void 0 ? void 0 : _j.self.id) && (h("rtk-menu-item", { key: '3428e0c1d22f675bbec3a920670a26dd3c7c66e5', iconPack: this.iconPack, t: this.t, class: this.isOnStage ? 'red' : '', onClick: this.inviteToStageToggle }, h("rtk-icon", { key: '55cdf3825acd959945ce82b19fd69f36e26aa476', icon: this.isOnStage
|
|
261
261
|
? this.iconPack.leave_stage
|
|
262
262
|
: this.iconPack.join_stage, slot: "start" }), this.isOnStage
|
|
263
263
|
? this.t('stage.remove_from_stage')
|
|
264
|
-
: this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: '
|
|
264
|
+
: this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: 'affe710adb04e305b6a46b9de2d25984d6c075d6', iconPack: this.iconPack, t: this.t, class: "red", onClick: () => {
|
|
265
265
|
var _a, _b;
|
|
266
266
|
(_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants.kick((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id);
|
|
267
|
-
} }, h("rtk-icon", { key: '
|
|
267
|
+
} }, h("rtk-icon", { key: 'd9c55c666231f76f00dd68ce0e2bedd92462ef89', icon: this.iconPack.dismiss, slot: "start" }), this.t('kick'))), h("slot", { key: '7017ef52152b1908e93ce539f762120425e50562' }, h(Render, { key: '28c3eacd6a4572c806748a7d09a861f000430b90', element: "rtk-participant", defaults: defaults, childProps: {
|
|
268
268
|
participant: this.participant,
|
|
269
269
|
}, deepProps: true, onlyChildren: true })))))))))));
|
|
270
270
|
}
|
|
@@ -2,18 +2,18 @@ import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
|
|
|
2
2
|
import { e as defaultIconPack, h as useLanguage } from './p-74e01969.js';
|
|
3
3
|
import './p-a83ccdbd.js';
|
|
4
4
|
import { S as SyncWithStore } from './p-beb5c7c8.js';
|
|
5
|
-
import { d as defineCustomElement$c } from './p-
|
|
5
|
+
import { d as defineCustomElement$c } from './p-4e9d44f6.js';
|
|
6
6
|
import { d as defineCustomElement$b } from './p-1391bef0.js';
|
|
7
|
-
import { d as defineCustomElement$a } from './p-
|
|
8
|
-
import { d as defineCustomElement$9 } from './p-
|
|
7
|
+
import { d as defineCustomElement$a } from './p-f5c29229.js';
|
|
8
|
+
import { d as defineCustomElement$9 } from './p-63b4ff6e.js';
|
|
9
9
|
import { d as defineCustomElement$8 } from './p-3b29dda1.js';
|
|
10
|
-
import { d as defineCustomElement$7 } from './p-
|
|
11
|
-
import { d as defineCustomElement$6 } from './p-
|
|
12
|
-
import { d as defineCustomElement$5 } from './p-
|
|
13
|
-
import { d as defineCustomElement$4 } from './p-
|
|
14
|
-
import { d as defineCustomElement$3 } from './p-
|
|
15
|
-
import { d as defineCustomElement$2 } from './p-
|
|
16
|
-
import { d as defineCustomElement$1 } from './p-
|
|
10
|
+
import { d as defineCustomElement$7 } from './p-4a792ea5.js';
|
|
11
|
+
import { d as defineCustomElement$6 } from './p-919e71b8.js';
|
|
12
|
+
import { d as defineCustomElement$5 } from './p-5205ea87.js';
|
|
13
|
+
import { d as defineCustomElement$4 } from './p-a9d80b81.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './p-ff8e5929.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './p-a59a9c97.js';
|
|
16
|
+
import { d as defineCustomElement$1 } from './p-317b41b0.js';
|
|
17
17
|
|
|
18
18
|
const rtkChatSearchResultsCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;flex-direction:column;position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}";
|
|
19
19
|
const RtkChatSearchResultsStyle0 = rtkChatSearchResultsCss;
|
|
@@ -51,7 +51,7 @@ const RtkChatSearchResults = /*@__PURE__*/ proxyCustomElement(class RtkChatSearc
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
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 })));
|
|
55
55
|
}
|
|
56
56
|
static get style() { return RtkChatSearchResultsStyle0; }
|
|
57
57
|
}, [1, "rtk-chat-search-results", {
|
|
@@ -52,7 +52,7 @@ const RtkConfirmationModal = /*@__PURE__*/ proxyCustomElement(class RtkConfirmat
|
|
|
52
52
|
render() {
|
|
53
53
|
var _a, _b;
|
|
54
54
|
const state = this.states.activeConfirmationModal;
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
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')))))));
|
|
56
56
|
}
|
|
57
57
|
static get style() { return RtkConfirmationModalStyle0; }
|
|
58
58
|
}, [1, "rtk-confirmation-modal", {
|
|
@@ -2,10 +2,10 @@ import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-
|
|
|
2
2
|
import { e as defaultIconPack, h as useLanguage, H as participantIdentifier, G as getAllConnectedParticipants } from './p-74e01969.js';
|
|
3
3
|
import { S as SyncWithStore } from './p-beb5c7c8.js';
|
|
4
4
|
import { f as formatName, s as shorten } from './p-338c7261.js';
|
|
5
|
-
import { d as defineCustomElement$4 } from './p-
|
|
5
|
+
import { d as defineCustomElement$4 } from './p-4e9d44f6.js';
|
|
6
6
|
import { d as defineCustomElement$3 } from './p-3b29dda1.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-a59a9c97.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './p-03bdc4c0.js';
|
|
9
9
|
|
|
10
10
|
const rtkBreakoutRoomParticipantsCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;height:100%;flex-direction:column;font-size:14px}:host input[type='checkbox']{margin:var(--rtk-space-0, 0px);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rtk-border-radius-sm, 4px);position:relative;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;border-color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}:host input[type='checkbox']:checked{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host input[type='checkbox']:checked::before{position:absolute;top:1px;left:1px;height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);background-color:rgb(var(--rtk-colors-text-1000, 255 255 255));content:'';clip-path:polygon(5% 60%, 35% 93%, 100% 19%, 86% 4%, 36% 62%, 19% 44%)}*{box-sizing:border-box}.participants{margin-top:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px)}.ctr{box-sizing:border-box;padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);overflow-y:auto;flex-grow:1;flex-basis:0}.empty-message{margin-top:var(--rtk-space-10, 40px);margin-bottom:var(--rtk-space-10, 40px);text-align:center;font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.empty-room{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--rtk-space-2, 8px);height:100%;text-align:center;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.empty-room rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}.empty-room p{font-size:16px;font-weight:500;margin:var(--rtk-space-0, 0px)}.empty-room span{font-size:12px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search-wrapper{margin-bottom:var(--rtk-space-1, 4px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);height:var(--rtk-space-8, 32px)}.search .search-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:inherit;color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.header{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-1\\.5, 6px);height:var(--rtk-space-9, 36px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-0\\.5, 2px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-bottom-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));display:flex;align-items:center;justify-content:space-between}.title-wrapper{display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}.participant-count{display:flex;align-items:center;font-size:14px}.participant-count rtk-icon{margin-right:var(--rtk-space-0\\.5, 2px);width:var(--rtk-space-3, 12px)}.participant-item{display:flex;align-items:center;justify-content:space-between;margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);cursor:pointer}.participant-item input.hide-checkbox{display:none}.participant-item input:checked{display:inline-block}.dragging input{display:none}.participant-item:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.participant-item:hover input{display:inline-block}.peer-ui-container{position:relative;display:flex;align-items:center;gap:var(--rtk-space-2, 8px);height:var(--rtk-space-10, 40px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.peer-ui-container rtk-avatar{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.peer-ui-container .name{font-size:14px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}";
|
|
11
11
|
const RtkBreakoutRoomParticipantsStyle0 = rtkBreakoutRoomParticipantsCss;
|
|
@@ -107,9 +107,9 @@ const RtkBreakoutRoomParticipants = /*@__PURE__*/ proxyCustomElement(class RtkBr
|
|
|
107
107
|
}, size: "sm" }), h("p", { class: "name", title: name }, shorten(name, 16), this.meeting.self.userId === participant.id && ` (${this.t('you')})`)));
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(Host, { key: '
|
|
110
|
+
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: {
|
|
111
111
|
'hide-checkbox': this.selectedParticipantIds.length === 0,
|
|
112
|
-
}, checked: this.selectedParticipantIds.includes(participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (h("div", { key: '
|
|
112
|
+
}, 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')))))));
|
|
113
113
|
}
|
|
114
114
|
static get watchers() { return {
|
|
115
115
|
"meeting": ["meetingChanged"],
|
|
@@ -60,7 +60,7 @@ const RtkPlugins = /*@__PURE__*/ proxyCustomElement(class RtkPlugins extends H {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: 'c0621bcd1d64b1eb9e4b913bb2707d66179848a8' }, h("ul", { key: '2796e509a4df169a3b6455b06e33bcf9e1e634d4', class: "scrollbar" }, this.plugins.map((plugin) => (h("li", { key: plugin.name, class: "plugin" }, h("div", { class: "metadata" }, h("img", { src: plugin.picture }), h("div", { class: "name" }, plugin.name)), !this.activatedPluginsId.includes(plugin.id) && this.canStartPlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
|
|
64
64
|
plugin.activate();
|
|
65
65
|
this.close();
|
|
66
66
|
}, "aria-label": `${this.t('activate')} ${plugin.name}` }, h("rtk-icon", { icon: this.iconPack.rocket, tabIndex: -1, "aria-hidden": true })))), this.activatedPluginsId.includes(plugin.id) && this.canClosePlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
|
|
@@ -56,7 +56,7 @@ const RtkSwitch = /*@__PURE__*/ proxyCustomElement(class RtkSwitch extends H {
|
|
|
56
56
|
this.onChange.emit(checked);
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '74affe48ce91e7be340e9d37507859fdd473bcb1', role: "switch", tabIndex: this.disabled && 0, "aria-readonly": this.readonly, "aria-checked": this.checked, "aria-disabled": this.disabled, class: { checked: this.checked }, onClick: this.onClick, onKeyPress: this.onKeyPress }, h("div", { key: '24ae27603c839d40d6452c5ee669342acb60f73d', class: "switch", part: "switch" })));
|
|
60
60
|
}
|
|
61
61
|
static get watchers() { return {
|
|
62
62
|
"checked": ["checkedChange"]
|
|
@@ -4,7 +4,7 @@ import { e as defaultIconPack, h as useLanguage } from './p-74e01969.js';
|
|
|
4
4
|
import './p-a83ccdbd.js';
|
|
5
5
|
import { d as defineCustomElement$3 } from './p-1391bef0.js';
|
|
6
6
|
import { d as defineCustomElement$2 } from './p-3b29dda1.js';
|
|
7
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { d as defineCustomElement$1 } from './p-03bdc4c0.js';
|
|
8
8
|
|
|
9
9
|
const rtkEmojiPickerButtonCss = ":host{}";
|
|
10
10
|
const RtkEmojiPickerButtonStyle0 = rtkEmojiPickerButtonCss;
|
|
@@ -30,7 +30,7 @@ const RtkEmojiPickerButton = /*@__PURE__*/ proxyCustomElement(class RtkEmojiPick
|
|
|
30
30
|
this.t = useLanguage();
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h("rtk-tooltip", { key: '
|
|
33
|
+
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 }))));
|
|
34
34
|
}
|
|
35
35
|
static get style() { return RtkEmojiPickerButtonStyle0; }
|
|
36
36
|
}, [1, "rtk-emoji-picker-button", {
|
|
@@ -76,7 +76,7 @@ const RtkTextComposerView = /*@__PURE__*/ proxyCustomElement(class RtkTextCompos
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h("div", { key: '
|
|
79
|
+
return (h("div", { key: '16cc81323e6fb16e4d4a6622895ed7edc80f2db9', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (h("div", { key: '05fde7b4f3e084e464fcc3276f0ce1e0d909e6a7', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, h("rtk-icon", { key: 'd4101bf8933a9873605e88fbb617d8ae38bb56a1', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.maxLengthBreached, " / ", this.maxLength, " ", this.t('chat.max_limit_warning'))), this.rateLimitBreached && (h("div", { key: '779a1c58114de2cce65a13ee3ea8cb308f7cd68a', class: 'text-error breached' }, h("rtk-icon", { key: '9dedd14d826b1437f434d92c985659ecc3bc1842', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), h("textarea", { key: 'f45f8f812ad668a86d2d0a22926bf437be44cbc9', ref: (el) => (this.$textArea = el), placeholder: this.placeholder, disabled: this.disabled, onInput: this.onInputHandler, onKeyDown: this.keyDownHandler, part: "chat-input", value: this.value })));
|
|
80
80
|
}
|
|
81
81
|
static get style() { return RtkTextComposerViewStyle0; }
|
|
82
82
|
}, [1, "rtk-text-composer-view", {
|
|
@@ -29,7 +29,7 @@ const RtkFileMessageView = /*@__PURE__*/ proxyCustomElement(class RtkFileMessage
|
|
|
29
29
|
this.iconPack = defaultIconPack;
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
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))))));
|
|
33
33
|
}
|
|
34
34
|
static get style() { return RtkFileMessageViewStyle0; }
|
|
35
35
|
}, [1, "rtk-file-message-view", {
|
|
@@ -2,7 +2,7 @@ import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
|
|
|
2
2
|
import { e as defaultIconPack, h as useLanguage } from './p-74e01969.js';
|
|
3
3
|
import { S as SyncWithStore } from './p-beb5c7c8.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './p-3b29dda1.js';
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-03bdc4c0.js';
|
|
6
6
|
|
|
7
7
|
const rtkSpotlightIndicatorCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{font-size:12px}#sync-button{flex-direction:row;border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-1, 4px);display:flex;align-items:center;justify-content:center;margin-bottom:var(--rtk-space-1, 4px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) rtk-tooltip,:host([size='md']) rtk-tooltip{width:100%}:host([size='sm'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px);padding-left:var(--rtk-space-0, 0px)}:host([size='md'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}:host([size='lg'])>#sync-button{flex-direction:row;height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}@media (orientation: portrait){:host([size='lg']) #sync-button{flex-direction:column-reverse;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='md']) #sync-button{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='sm']) #sync-button{height:var(--rtk-space-10, 40px);width:var(--rtk-space-16, 64px);flex-direction:row}}#sync-button>rtk-icon{max-height:14px}#sync-button rtk-icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']) #sync-button>rtk-icon{width:auto}#sync-button.active rtk-icon{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}div{align-content:center;line-height:2rem}rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-8, 32px)}#sync-button.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-bg-opacity))}";
|
|
8
8
|
const RtkSpotlightIndicatorStyle0 = rtkSpotlightIndicatorCss;
|
|
@@ -2,10 +2,10 @@ import { p as proxyCustomElement, H, d as createEvent, w as writeTask, f as forc
|
|
|
2
2
|
import { h as useLanguage, e as defaultIconPack } from './p-74e01969.js';
|
|
3
3
|
import './p-a83ccdbd.js';
|
|
4
4
|
import { S as SyncWithStore } from './p-beb5c7c8.js';
|
|
5
|
-
import { d as defineCustomElement$4 } from './p-
|
|
5
|
+
import { d as defineCustomElement$4 } from './p-4e9d44f6.js';
|
|
6
6
|
import { d as defineCustomElement$3 } from './p-1391bef0.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './p-3b29dda1.js';
|
|
8
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$1 } from './p-a59a9c97.js';
|
|
9
9
|
|
|
10
10
|
const rtkChannelCreatorCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));display:flex;flex-direction:column;width:var(--rtk-space-96, 384px);padding-left:var(--rtk-space-9, 36px);padding-right:var(--rtk-space-9, 36px);padding-top:var(--rtk-space-10, 40px);padding-bottom:var(--rtk-space-10, 40px)}header{margin-bottom:var(--rtk-space-8, 32px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px);font-size:24px;font-weight:600}.channel-name-input{--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));border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-3, 12px);font-size:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.25;outline:2px solid transparent;outline-offset:2px}.channel-name-input:focus{outline-width:2px;outline-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}footer{margin-top:var(--rtk-space-5, 20px);display:flex;justify-content:flex-end}.member{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding:var(--rtk-space-2, 8px)}.member rtk-avatar{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.input-container{position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.25;outline:2px solid transparent;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5);border-radius:var(--rtk-border-radius-sm, 4px)}.input-container .members{margin:var(--rtk-space-0, 0px);max-height:var(--rtk-space-28, 112px);border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);list-style-type:none;display:flex;flex-wrap:wrap;gap:var(--rtk-space-1, 4px);cursor:text;font-size:16px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));overflow-y:auto;min-height:var(--rtk-space-7, 28px)}.input-container .pill{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.input-container .pill rtk-avatar{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.input-container .pill span{max-width:var(--rtk-space-32, 128px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-container .pill rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);cursor:pointer}.input-container input{width:var(--rtk-space-24, 96px);border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-1, 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));outline:2px solid transparent;outline-offset:2px;font-size:16px;line-height:1.25rem}.input-container input.wide-input{width:100%}.search-results{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-1, 4px);max-height:var(--rtk-space-28, 112px);width:100%;padding:var(--rtk-space-0, 0px);position:absolute;list-style-type:none;overflow-y:auto;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-md, 8px);--tw-border-spacing-x:var(--rtk-space-2, 8px);--tw-border-spacing-y:var(--rtk-space-2, 8px);border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-style:solid;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.search-results .member{cursor:pointer}.search-results .member rtk-avatar{color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.search-results .member:hover,.search-results .member.selected{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-700, 2 70 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}";
|
|
11
11
|
const RtkChannelCreatorStyle0 = rtkChannelCreatorCss;
|
|
@@ -146,9 +146,9 @@ const RtkChannelCreator = /*@__PURE__*/ proxyCustomElement(class RtkChannelCreat
|
|
|
146
146
|
(_a = this.inputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
147
147
|
}
|
|
148
148
|
render() {
|
|
149
|
-
return (h(Host, { key: '
|
|
149
|
+
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) => {
|
|
150
150
|
this.channelName = e.target.value.trim();
|
|
151
|
-
} })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: '
|
|
151
|
+
} })), 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')))));
|
|
152
152
|
}
|
|
153
153
|
get $el() { return this; }
|
|
154
154
|
static get style() { return RtkChannelCreatorStyle0; }
|
|
@@ -31,10 +31,10 @@ const RtkTextMessage = /*@__PURE__*/ proxyCustomElement(class RtkTextMessage ext
|
|
|
31
31
|
this.showBubble = false;
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '74b8d7a70a5960c4350061055ded0fa8838084ae' }, !this.isContinued && (h(ChatHead, { key: 'c0819a75eb645eff5ac6ccd7bdb54e7dbdce9876', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: 'f06fbf9a9e4680cc426c183d9ee09bfad452a5ad', class: {
|
|
35
35
|
body: true,
|
|
36
36
|
bubble: this.showBubble,
|
|
37
|
-
}, part: "body" }, h("div", { key: '
|
|
37
|
+
}, part: "body" }, h("div", { key: '2755f1cefa98695843569934c414d6b2fbf158e5', class: { text: true, emoji: hasOnlyEmojis(this.message.message) } }, h(TextMessageView, { key: '52e0ae4b7710d970cb1915fc4059abef212b12fd', message: this.message.message })))));
|
|
38
38
|
}
|
|
39
39
|
}, [0, "rtk-text-message", {
|
|
40
40
|
"message": [16],
|
|
@@ -2,15 +2,15 @@ import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-
|
|
|
2
2
|
import { c as createDefaultConfig, e as defaultIconPack, h as useLanguage } from './p-74e01969.js';
|
|
3
3
|
import { S as SyncWithStore } from './p-beb5c7c8.js';
|
|
4
4
|
import { R as Render } from './p-60fdbd75.js';
|
|
5
|
-
import { d as defineCustomElement$n } from './p-
|
|
6
|
-
import { d as defineCustomElement$m } from './p-
|
|
7
|
-
import { d as defineCustomElement$l } from './p-
|
|
8
|
-
import { d as defineCustomElement$k } from './p-
|
|
9
|
-
import { d as defineCustomElement$j } from './p-
|
|
5
|
+
import { d as defineCustomElement$n } from './p-4e9d44f6.js';
|
|
6
|
+
import { d as defineCustomElement$m } from './p-b0a32a7d.js';
|
|
7
|
+
import { d as defineCustomElement$l } from './p-17453290.js';
|
|
8
|
+
import { d as defineCustomElement$k } from './p-f6995a6b.js';
|
|
9
|
+
import { d as defineCustomElement$j } from './p-92f160e9.js';
|
|
10
10
|
import { d as defineCustomElement$i } from './p-1391bef0.js';
|
|
11
|
-
import { d as defineCustomElement$h } from './p-
|
|
12
|
-
import { d as defineCustomElement$g } from './p-
|
|
13
|
-
import { d as defineCustomElement$f } from './p-
|
|
11
|
+
import { d as defineCustomElement$h } from './p-30b81dcd.js';
|
|
12
|
+
import { d as defineCustomElement$g } from './p-1740eeb4.js';
|
|
13
|
+
import { d as defineCustomElement$f } from './p-61a18b1f.js';
|
|
14
14
|
import { d as defineCustomElement$e } from './p-60025dc2.js';
|
|
15
15
|
import { d as defineCustomElement$d } from './p-84847c17.js';
|
|
16
16
|
import { d as defineCustomElement$c } from './p-55f81a3e.js';
|
|
@@ -18,13 +18,13 @@ import { d as defineCustomElement$b } from './p-be80c5b1.js';
|
|
|
18
18
|
import { d as defineCustomElement$a } from './p-a34d743e.js';
|
|
19
19
|
import { d as defineCustomElement$9 } from './p-dc9eb0c2.js';
|
|
20
20
|
import { d as defineCustomElement$8 } from './p-3b29dda1.js';
|
|
21
|
-
import { d as defineCustomElement$7 } from './p-
|
|
22
|
-
import { d as defineCustomElement$6 } from './p-
|
|
23
|
-
import { d as defineCustomElement$5 } from './p-
|
|
24
|
-
import { d as defineCustomElement$4 } from './p-
|
|
25
|
-
import { d as defineCustomElement$3 } from './p-
|
|
26
|
-
import { d as defineCustomElement$2 } from './p-
|
|
27
|
-
import { d as defineCustomElement$1 } from './p-
|
|
21
|
+
import { d as defineCustomElement$7 } from './p-d3c93bcf.js';
|
|
22
|
+
import { d as defineCustomElement$6 } from './p-654f389d.js';
|
|
23
|
+
import { d as defineCustomElement$5 } from './p-d1fe3ce0.js';
|
|
24
|
+
import { d as defineCustomElement$4 } from './p-ba531eb3.js';
|
|
25
|
+
import { d as defineCustomElement$3 } from './p-866a285b.js';
|
|
26
|
+
import { d as defineCustomElement$2 } from './p-a59a9c97.js';
|
|
27
|
+
import { d as defineCustomElement$1 } from './p-03bdc4c0.js';
|
|
28
28
|
|
|
29
29
|
const rtkDialogManagerCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";
|
|
30
30
|
const RtkDialogManagerStyle0 = rtkDialogManagerCss;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-c3592601.js';
|
|
2
2
|
import { h as hasOnlyEmojis } from './p-338c7261.js';
|
|
3
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-f5f0b499.js';
|
|
4
4
|
|
|
5
5
|
const rtkTextMessageViewCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.text{word-break:break-word;display:block;overflow-wrap:break-word;line-height:1.375}.text.emoji{font-size:24px}";
|
|
6
6
|
const RtkTextMessageViewStyle0 = rtkTextMessageViewCss;
|
|
@@ -13,7 +13,7 @@ const RtkTextMessageView = /*@__PURE__*/ proxyCustomElement(class RtkTextMessage
|
|
|
13
13
|
this.isMarkdown = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("p", { key: '
|
|
16
|
+
return (h("p", { key: '3a9c21d67487ea40760163f0dd69152454049063', class: { text: true, emoji: hasOnlyEmojis(this.text) } }, this.isMarkdown ? h("rtk-markdown-view", { text: this.text }) : this.text));
|
|
17
17
|
}
|
|
18
18
|
static get style() { return RtkTextMessageViewStyle0; }
|
|
19
19
|
}, [0, "rtk-text-message-view", {
|
|
@@ -4,7 +4,7 @@ import { e as defaultIconPack, h as useLanguage } from './p-74e01969.js';
|
|
|
4
4
|
import './p-a83ccdbd.js';
|
|
5
5
|
import { d as defineCustomElement$3 } from './p-1391bef0.js';
|
|
6
6
|
import { d as defineCustomElement$2 } from './p-3b29dda1.js';
|
|
7
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { d as defineCustomElement$1 } from './p-03bdc4c0.js';
|
|
8
8
|
|
|
9
9
|
const rtkFilePickerButtonCss = ":host{}";
|
|
10
10
|
const RtkFilePickerButtonStyle0 = rtkFilePickerButtonCss;
|
|
@@ -56,7 +56,7 @@ const RtkFilePickerButton = /*@__PURE__*/ proxyCustomElement(class RtkFilePicker
|
|
|
56
56
|
render() {
|
|
57
57
|
const label = this.label || this.t('chat.send_file');
|
|
58
58
|
const icon = this.iconPack[this.icon];
|
|
59
|
-
return (h("rtk-tooltip", { key: '
|
|
59
|
+
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 }))));
|
|
60
60
|
}
|
|
61
61
|
static get style() { return RtkFilePickerButtonStyle0; }
|
|
62
62
|
}, [1, "rtk-file-picker-button", {
|
|
@@ -6,7 +6,7 @@ import { d as downloadFile } from './p-9fc565cf.js';
|
|
|
6
6
|
import { S as SyncWithStore } from './p-beb5c7c8.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './p-1391bef0.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './p-3b29dda1.js';
|
|
9
|
-
import { d as defineCustomElement$1 } from './p-
|
|
9
|
+
import { d as defineCustomElement$1 } from './p-a59a9c97.js';
|
|
10
10
|
|
|
11
11
|
const rtkImageMessageCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.image-spinner{cursor:wait}.image-errored{cursor:not-allowed}";
|
|
12
12
|
const RtkImageMessageStyle0 = rtkImageMessageCss;
|
|
@@ -39,10 +39,10 @@ const RtkImageMessage = /*@__PURE__*/ proxyCustomElement(class RtkImageMessage e
|
|
|
39
39
|
this.status = 'loading';
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
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: {
|
|
43
43
|
body: true,
|
|
44
44
|
bubble: this.showBubble,
|
|
45
|
-
}, part: "body" }, h("div", { key: '
|
|
45
|
+
}, part: "body" }, h("div", { key: 'bf2eec18c82aae79f31c40d44711ec7db2ab5bf1', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'acb8f5ef169bd0c663dbc74c1d43b4186f81004a', src: sanitizeLink(this.message.link), onLoad: () => {
|
|
46
46
|
this.status = 'loaded';
|
|
47
47
|
}, onError: () => {
|
|
48
48
|
this.status = 'errored';
|
|
@@ -50,9 +50,9 @@ const RtkImageMessage = /*@__PURE__*/ proxyCustomElement(class RtkImageMessage e
|
|
|
50
50
|
if (this.status === 'loaded') {
|
|
51
51
|
this.stateUpdate.emit({ image: this.message });
|
|
52
52
|
}
|
|
53
|
-
} }), this.status === 'loading' && (h("div", { key: '
|
|
53
|
+
} }), 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: () => {
|
|
54
54
|
this.stateUpdate.emit({ image: this.message });
|
|
55
|
-
} }, h("rtk-icon", { key: '
|
|
55
|
+
} }, 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 }))))))));
|
|
56
56
|
}
|
|
57
57
|
static get style() { return RtkImageMessageStyle0; }
|
|
58
58
|
}, [0, "rtk-image-message", {
|
|
@@ -3,7 +3,7 @@ import { e as defaultIconPack, h as useLanguage } from './p-74e01969.js';
|
|
|
3
3
|
import { f as formatName, g as getInitials } from './p-338c7261.js';
|
|
4
4
|
import { S as SyncWithStore } from './p-beb5c7c8.js';
|
|
5
5
|
import { d as defineCustomElement$2 } from './p-3b29dda1.js';
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-a59a9c97.js';
|
|
7
7
|
|
|
8
8
|
const rtkAvatarCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:var(--rtk-space-32, 128px);width:var(--rtk-space-32, 128px);align-items:center;justify-content:center;font-size:28px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));overflow:clip;border-radius:9999px;-webkit-user-select:none;-moz-user-select:none;user-select:none}rtk-icon{height:50%;width:50%}.image-ctr{display:flex;height:100%;width:100%;align-items:center;justify-content:center;--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-600, 255 255 255 / 0.52))}img{height:var(--rtk-space-0, 0px);width:var(--rtk-space-0, 0px);-o-object-fit:cover;object-fit:cover}img.loaded{height:100%;width:100%}.initials{display:flex;height:100%;width:100%;align-items:center;justify-content:center;text-transform:uppercase}.image{display:flex;height:100%;width:100%;align-items:center;justify-content:center}.image img{display:none;height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.image img.loaded{display:block}:host([variant='hexagon']){border-radius:var(--rtk-border-radius-none, 0);clip-path:polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%)}:host([variant='square']){border-radius:var(--rtk-border-radius-none, 0);clip-path:polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)}:host([size='sm']){height:var(--rtk-space-14, 56px);width:var(--rtk-space-14, 56px);font-size:12px}:host([size='md']){height:var(--rtk-space-28, 112px);width:var(--rtk-space-28, 112px)}:host([size='lg']){height:var(--rtk-space-32, 128px);width:var(--rtk-space-32, 128px)}";
|
|
9
9
|
const RtkAvatarStyle0 = rtkAvatarCss;
|
|
@@ -45,7 +45,7 @@ const RtkAvatar = /*@__PURE__*/ proxyCustomElement(class RtkAvatar extends H {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'c1a0be37edb75c40b275ad59af85cee7df3f1cdf' }, this.getAvatar(), h("slot", { key: '1cd71e7494a09d68a52051edc279911dc3168515' })));
|
|
49
49
|
}
|
|
50
50
|
static get style() { return RtkAvatarStyle0; }
|
|
51
51
|
}, [1, "rtk-avatar", {
|
|
@@ -2,11 +2,11 @@ import { p as proxyCustomElement, H, h } from './p-c3592601.js';
|
|
|
2
2
|
import { c as createDefaultConfig, e as defaultIconPack, h as useLanguage } from './p-74e01969.js';
|
|
3
3
|
import './p-a83ccdbd.js';
|
|
4
4
|
import { S as SyncWithStore } from './p-beb5c7c8.js';
|
|
5
|
-
import { d as defineCustomElement$5 } from './p-
|
|
5
|
+
import { d as defineCustomElement$5 } from './p-4e9d44f6.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './p-1391bef0.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './p-3b29dda1.js';
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-a59a9c97.js';
|
|
9
|
+
import { d as defineCustomElement$1 } from './p-03bdc4c0.js';
|
|
10
10
|
|
|
11
11
|
const rtkParticipantsWaitingListCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{margin-top:var(--rtk-space-4, 16px);margin-bottom:calc(var(--rtk-space-2, 8px) * -1);display:flex;width:100%;flex-direction:column;font-size:14px}.waiting-participants{margin-bottom:var(--rtk-space-8, 32px)}.waiting-participants .accept-all-button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}h3,.heading-count{margin:var(--rtk-space-0, 0px);display:flex;align-items:center;justify-content:center;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}.heading-count{font-size:14px}.participants{margin-top:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px)}.waiting-participant{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;align-items:center}.waiting-participant .participant-details{margin-right:auto;display:flex;align-items:center}.waiting-participant .participant-details rtk-avatar{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);flex-shrink:0;font-size:14px}.waiting-participant .participant-details .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 1080px){.waiting-participant .participant-details .name{max-width:var(--rtk-space-40, 160px)}}.waiting-participant .waitlist-controls{display:flex}.waiting-participant .waitlist-controls rtk-button{margin-left:var(--rtk-space-2, 8px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px)}.waiting-participant .waitlist-controls rtk-icon.accept{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}.waiting-participant .waitlist-controls rtk-icon.deny{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";
|
|
12
12
|
const RtkParticipantsWaitingListStyle0 = rtkParticipantsWaitingListCss;
|