@cloudflare/realtimekit-ui 1.0.9-staging.2 → 1.0.9-staging.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/ChatHead-e13f3b0e.js +13 -0
- package/dist/cjs/{TextMessage-4f9299ff.js → TextMessage-7bb3e1fd.js} +1 -1
- package/dist/cjs/{chat-04fd67b4.js → chat-717e517d.js} +1 -1
- package/dist/cjs/{notification-6f17add8.js → config-8c9ac89a.js} +0 -35
- package/dist/cjs/{ChatHead-6416d6cf.js → date-61ffcd0a.js} +0 -10
- package/dist/cjs/index-05554ce6.js +62 -2
- package/dist/cjs/index.cjs.js +11 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/notification-567fe887.js +39 -0
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +3 -2
- 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 +2584 -0
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +397 -0
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +986 -0
- package/dist/cjs/rtk-channel-creator.cjs.entry.js +163 -0
- package/dist/cjs/rtk-channel-details.cjs.entry.js +49 -0
- package/dist/cjs/rtk-channel-header.cjs.entry.js +83 -0
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +1 -1
- package/dist/cjs/rtk-chat-message.cjs.entry.js +118 -0
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +200 -0
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +57 -0
- package/dist/cjs/rtk-chat-selector-ui.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-audio_4.cjs.entry.js +686 -0
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +154 -0
- package/dist/cjs/rtk-dialog.cjs.entry.js +93 -0
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +1 -1
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +148 -0
- 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-logo.cjs.entry.js +77 -0
- 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 +71 -0
- package/dist/cjs/rtk-notifications.cjs.entry.js +588 -0
- 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-sidebar.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 +5 -2
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +2 -1
- package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +1 -0
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +5 -2
- package/dist/collection/components/rtk-chat/rtk-chat.js +5 -102
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +3 -2
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +13 -4
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +4 -2
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +2 -1
- package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
- package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +0 -6
- 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 +3 -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 +5 -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-message-view/rtk-message-view.css +26 -12
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +23 -1
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
- package/dist/collection/components/rtk-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 +25 -1
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +25 -22
- 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-sidebar/rtk-sidebar.css +2 -0
- 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 +3 -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/collection/utils/chat.js +1 -1
- package/dist/components/index.js +7 -7
- package/dist/components/{p-26055088.js → p-080acf18.js} +3 -3
- package/dist/components/{p-34b580c9.js → p-0a35a909.js} +3 -3
- package/dist/components/{p-f9faeffc.js → p-0b4e526c.js} +3 -3
- package/dist/components/{p-a3ebfc10.js → p-0d582365.js} +2 -2
- package/dist/components/{p-c7413ac8.js → p-0d7bf41b.js} +4 -4
- package/dist/components/{p-a5a40d7e.js → p-102b6df8.js} +2 -2
- package/dist/components/{p-12d2b558.js → p-10ef077c.js} +3 -3
- package/dist/components/{p-4772f368.js → p-121e073d.js} +2 -2
- package/dist/components/{p-b804a5f5.js → p-188bfe87.js} +8 -8
- package/dist/components/{p-a9d5d165.js → p-190db142.js} +7 -7
- package/dist/components/{p-fb427023.js → p-20290b0b.js} +4 -4
- package/dist/components/{p-03fe0979.js → p-244cbe7b.js} +2 -2
- package/dist/components/{p-cc5ecd67.js → p-2d08ab28.js} +2 -2
- package/dist/components/{p-91a9efcf.js → p-2e282643.js} +5 -5
- package/dist/components/{p-aba9b612.js → p-2f82e0b0.js} +7 -7
- package/dist/components/{p-7119673c.js → p-33a87325.js} +2 -2
- package/dist/components/{p-511ed3f8.js → p-395d7140.js} +4 -4
- package/dist/components/{p-1a60f5b0.js → p-3da4880c.js} +4 -4
- package/dist/components/{p-af35ac31.js → p-47c25f64.js} +1 -1
- package/dist/components/{p-01a50790.js → p-488d88a8.js} +4 -4
- package/dist/components/{p-e2e22bf8.js → p-4d582a90.js} +5 -5
- package/dist/components/{p-b373754d.js → p-51de7af3.js} +1 -1
- package/dist/components/{p-65b9931e.js → p-55501201.js} +4 -4
- package/dist/components/{p-7f0ee3c6.js → p-563c785d.js} +3 -3
- package/dist/components/{p-c40166a9.js → p-5c92df32.js} +5 -5
- package/dist/components/{p-ed8955d0.js → p-5f26bba3.js} +2 -2
- package/dist/components/{p-0a7f6a8a.js → p-618864a0.js} +3 -3
- package/dist/components/{p-49967150.js → p-63ef7ea4.js} +6 -6
- package/dist/components/{p-00ebd1dc.js → p-65cd2fe3.js} +4 -4
- package/dist/components/{p-3438fd71.js → p-6756b222.js} +2 -2
- package/dist/components/{p-9730c398.js → p-6c2cfa0d.js} +3 -3
- package/dist/components/{p-3a80e3ab.js → p-6f272732.js} +8 -8
- package/dist/components/{p-df25c2a7.js → p-6f340109.js} +1 -1
- package/dist/components/{p-a09aefba.js → p-7481511c.js} +2 -2
- package/dist/components/{p-6bd3b767.js → p-78b61cce.js} +1 -1
- package/dist/components/{p-037e572f.js → p-7fc0dc2f.js} +1 -1
- package/dist/components/{p-314b1504.js → p-82f8c924.js} +2 -2
- package/dist/components/{p-6d49cf9f.js → p-84e5b453.js} +2 -2
- package/dist/components/{p-f5f0b499.js → p-88bef213.js} +2 -2
- package/dist/components/{p-f46a0782.js → p-8d25843a.js} +3 -3
- package/dist/components/{p-2b955eb0.js → p-914563e7.js} +5 -5
- package/dist/components/{p-04aaec79.js → p-94e867c2.js} +17 -15
- package/dist/components/{p-731ee854.js → p-9889bee5.js} +5 -5
- package/dist/components/{p-dc4b6fc4.js → p-9e87b2c9.js} +2 -2
- package/dist/components/{p-f734a4cf.js → p-a10b9faa.js} +2 -2
- package/dist/components/{p-f81c7fda.js → p-a29c01fc.js} +2 -2
- package/dist/components/{p-551bed08.js → p-a4a5ff5a.js} +4 -4
- package/dist/components/{p-1986022b.js → p-a6296b02.js} +3 -3
- package/dist/components/{p-93e1439e.js → p-a94b2e67.js} +2 -2
- package/dist/components/{p-4c8cff29.js → p-a9540d93.js} +28 -24
- package/dist/components/{p-a2f4f9e3.js → p-aae4c250.js} +1 -1
- package/dist/components/{p-3051f5f5.js → p-abe1dbe6.js} +4 -4
- package/dist/components/{p-840ef7fe.js → p-adf73364.js} +5 -5
- package/dist/components/{p-72346e7f.js → p-afe77b50.js} +2 -2
- package/dist/components/{p-f4ff7d70.js → p-b011763d.js} +3 -3
- package/dist/components/{p-9ea5df8f.js → p-b34865c7.js} +4 -4
- package/dist/components/{p-897a04be.js → p-b882f4a1.js} +4 -4
- package/dist/components/{p-4edd666b.js → p-bb8f2597.js} +6 -6
- package/dist/components/{p-9149c02e.js → p-c078ae06.js} +2 -2
- package/dist/components/{p-989d36e2.js → p-c3621e10.js} +6 -6
- package/dist/components/{p-40c5ca62.js → p-c515acba.js} +2 -2
- package/dist/components/{p-12437468.js → p-cf503999.js} +2 -2
- package/dist/components/{p-66bae0d9.js → p-d06d1eac.js} +2 -2
- package/dist/components/{p-17867774.js → p-d107e9f4.js} +3 -3
- package/dist/components/{p-c5dfd548.js → p-d37b8a32.js} +49 -326
- package/dist/components/{p-bccc21f8.js → p-d3de8b85.js} +3 -3
- package/dist/components/{p-22a734a8.js → p-d4e2ac64.js} +6 -6
- package/dist/components/{p-0abe4b8a.js → p-dab9d3d6.js} +1 -1
- package/dist/components/{p-52b090fc.js → p-dbfc9151.js} +3 -3
- package/dist/components/{p-d2c3870a.js → p-e4a080a5.js} +3 -3
- package/dist/components/{p-c663f9b1.js → p-e6710b76.js} +4 -4
- package/dist/components/{p-3df2211d.js → p-e675729a.js} +4 -4
- package/dist/components/{p-ddb2df62.js → p-e81fc1e8.js} +3 -3
- package/dist/components/{p-39a6a6a6.js → p-e8df7ac5.js} +18 -18
- package/dist/components/{p-1d29b7c3.js → p-ee98bbaf.js} +12 -12
- package/dist/components/{p-3fe1bb0d.js → p-f47894a6.js} +12 -12
- package/dist/components/{p-6fe2233b.js → p-f4e75ea9.js} +3 -3
- package/dist/components/{p-22d9d3ff.js → p-f7430e46.js} +5 -5
- package/dist/components/{p-d2b37264.js → p-f7eb9c47.js} +5 -5
- package/dist/components/{p-54dba22f.js → p-f8f5cb31.js} +4 -4
- package/dist/components/{p-03bdc4c0.js → p-fa8f6b4a.js} +1 -1
- package/dist/components/{p-fb46d041.js → p-fd68a52b.js} +8 -8
- package/dist/components/{p-c3582bf3.js → p-fe911889.js} +12 -9
- package/dist/components/rtk-ai-toggle.js +4 -4
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +3 -3
- package/dist/components/rtk-audio-grid.js +3 -3
- package/dist/components/rtk-audio-tile.js +5 -5
- 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 +4 -4
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +5 -5
- package/dist/components/rtk-caption-toggle.js +4 -4
- package/dist/components/rtk-channel-creator.js +209 -1
- package/dist/components/rtk-channel-details.js +1 -1
- package/dist/components/rtk-channel-header.js +146 -1
- package/dist/components/rtk-channel-selector-ui.js +7 -7
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +7 -7
- 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 +302 -1
- package/dist/components/rtk-chat-search-results.js +146 -1
- package/dist/components/rtk-chat-selector-ui.js +3 -3
- package/dist/components/rtk-chat-toggle.js +5 -5
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +5 -5
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +3 -3
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +5 -5
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +305 -1
- package/dist/components/rtk-dialog.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-ended-screen.js +3 -3
- package/dist/components/rtk-file-dropzone.js +3 -3
- 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 +3 -3
- package/dist/components/rtk-grid.js +8 -8
- package/dist/components/rtk-header.js +3 -3
- package/dist/components/rtk-idle-screen.js +5 -5
- 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 +3 -3
- package/dist/components/rtk-information-tooltip.js +3 -3
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +5 -5
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +4 -4
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +3 -3
- package/dist/components/rtk-meeting.js +47 -227
- 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 +6 -6
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +5 -5
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +6 -6
- package/dist/components/rtk-more-toggle.js +6 -6
- package/dist/components/rtk-mute-all-button.js +5 -5
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-network-indicator.js +2 -2
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +629 -1
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-count.js +2 -2
- package/dist/components/rtk-participant-setup.js +4 -4
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +4 -4
- 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 +5 -5
- 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 +14 -14
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +4 -4
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +5 -5
- 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 +5 -5
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +3 -3
- package/dist/components/rtk-recording-toggle.js +4 -4
- package/dist/components/rtk-screen-share-toggle.js +5 -5
- package/dist/components/rtk-screenshare-view.js +8 -8
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +5 -5
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +10 -10
- package/dist/components/rtk-setup-screen.js +6 -6
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +10 -10
- package/dist/components/rtk-simple-grid.js +2 -2
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +4 -4
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +5 -5
- package/dist/components/rtk-stage.js +3 -3
- 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 +3 -3
- package/dist/components/rtk-ui-provider.js +2 -2
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-virtualized-participant-list.js +1 -1
- package/dist/components/rtk-waiting-screen.js +4 -4
- package/dist/docs/docs-components.json +144 -384
- package/dist/docs/docs-vscode.json +7 -3
- package/dist/esm/ChatHead-15c2f8d4.js +11 -0
- package/dist/esm/{TextMessage-07d53134.js → TextMessage-ca92045e.js} +1 -1
- package/dist/esm/{chat-32ac0c2b.js → chat-ff185374.js} +2 -2
- package/dist/esm/{notification-0794a8cc.js → config-e684aa4d.js} +3 -37
- package/dist/esm/{ChatHead-11b92a26.js → date-b1f78dea.js} +1 -10
- package/dist/esm/{debounce-6ec038d3.js → debounce-3ea4df36.js} +1 -1
- package/dist/esm/{file-849468c1.js → file-6114f1a9.js} +1 -1
- package/dist/esm/index-c1fb98bb.js +62 -2
- package/dist/esm/{index-849b9dd9.js → index-e65afca5.js} +1 -1
- package/dist/esm/index.js +7 -6
- package/dist/esm/loader.js +13237 -13245
- package/dist/esm/{merge-f5f3ca10.js → merge-7ffc04b3.js} +1 -1
- package/dist/esm/notification-78afaabf.js +37 -0
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-toggle.entry.js +2 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +6 -5
- package/dist/esm/rtk-ai.entry.js +2 -2
- package/dist/esm/rtk-audio-grid.entry.js +3 -3
- package/dist/esm/rtk-audio-tile.entry.js +2 -2
- package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
- package/dist/esm/rtk-avatar_24.entry.js +2557 -0
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +391 -0
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +974 -0
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
- package/dist/esm/rtk-camera-toggle.entry.js +2 -2
- package/dist/esm/rtk-caption-toggle.entry.js +2 -2
- package/dist/{components/p-c9a7cf06.js → esm/rtk-channel-creator.entry.js} +12 -64
- package/dist/esm/rtk-channel-details.entry.js +45 -0
- package/dist/{components/p-0c11d195.js → esm/rtk-channel-header.entry.js} +9 -78
- package/dist/esm/rtk-channel-selector-ui.entry.js +6 -6
- package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-message.entry.js +114 -0
- package/dist/{components/p-0e07ea51.js → esm/rtk-chat-messages-ui.entry.js} +14 -122
- package/dist/esm/rtk-chat-search-results.entry.js +53 -0
- package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +3 -3
- package/dist/esm/rtk-clock.entry.js +5 -5
- package/dist/esm/rtk-controlbar-button.entry.js +2 -2
- package/dist/esm/rtk-controlbar.entry.js +3 -3
- package/dist/esm/rtk-debugger-audio_4.entry.js +679 -0
- package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
- package/dist/{components/p-3042f998.js → esm/rtk-dialog-manager.entry.js} +10 -179
- package/dist/esm/rtk-dialog.entry.js +89 -0
- package/dist/esm/rtk-ended-screen.entry.js +2 -2
- package/dist/esm/rtk-file-dropzone.entry.js +3 -3
- package/dist/esm/rtk-file-message_3.entry.js +142 -0
- package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
- package/dist/esm/rtk-grid-pagination.entry.js +2 -2
- package/dist/esm/rtk-grid.entry.js +2 -2
- package/dist/esm/rtk-header.entry.js +3 -3
- package/dist/esm/rtk-idle-screen.entry.js +3 -3
- package/dist/esm/rtk-image-viewer.entry.js +5 -5
- package/dist/esm/rtk-information-tooltip.entry.js +3 -3
- package/dist/esm/rtk-leave-button.entry.js +3 -3
- package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
- package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
- package/dist/esm/rtk-logo.entry.js +73 -0
- package/dist/esm/rtk-meeting-title.entry.js +2 -2
- package/dist/esm/rtk-message-list-view.entry.js +6 -6
- package/dist/esm/rtk-mic-toggle.entry.js +2 -2
- package/dist/esm/rtk-mixed-grid.entry.js +2 -2
- package/dist/esm/rtk-more-toggle.entry.js +4 -4
- package/dist/esm/rtk-mute-all-button.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +3 -3
- package/dist/esm/rtk-network-indicator.entry.js +2 -2
- package/dist/esm/rtk-notification.entry.js +67 -0
- package/dist/{components/p-7a336667.js → esm/rtk-notifications.entry.js} +13 -60
- package/dist/esm/rtk-participant-count.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +4 -4
- package/dist/esm/rtk-participant_2.entry.js +18 -18
- package/dist/esm/rtk-participants-audio.entry.js +3 -3
- package/dist/esm/rtk-participants-stage-list_4.entry.js +3 -3
- package/dist/esm/rtk-participants-toggle.entry.js +3 -3
- package/dist/esm/rtk-participants.entry.js +3 -3
- package/dist/esm/rtk-pip-toggle.entry.js +2 -2
- package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
- package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
- package/dist/esm/rtk-plugins_2.entry.js +6 -6
- package/dist/esm/rtk-poll_2.entry.js +6 -6
- package/dist/esm/rtk-polls-toggle.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +3 -3
- package/dist/esm/rtk-recording-toggle.entry.js +2 -2
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +7 -7
- package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
- package/dist/esm/rtk-settings-toggle.entry.js +3 -3
- package/dist/esm/rtk-settings.entry.js +2 -2
- package/dist/esm/rtk-setup-screen.entry.js +3 -3
- package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
- package/dist/esm/rtk-sidebar.entry.js +4 -4
- package/dist/esm/rtk-simple-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
- package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
- package/dist/esm/rtk-stage-toggle.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +3 -3
- package/dist/esm/rtk-transcript.entry.js +3 -3
- package/dist/esm/rtk-transcripts.entry.js +2 -2
- package/dist/esm/rtk-ui-provider.entry.js +2 -2
- package/dist/esm/rtk-waiting-screen.entry.js +3 -3
- package/dist/esm/{sidebar-76cae1f0.js → sidebar-030fff49.js} +1 -1
- package/dist/esm/{string-5e8dab07.js → string-068ce30a.js} +1 -1
- package/dist/esm/{ui-store-2965ff1a.js → ui-store-9e486e1b.js} +1 -1
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-ff19ee1e.entry.js → p-0689d68b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2318c3af.js → p-084b6f30.js} +1 -1
- package/dist/realtimekit-ui/{p-e6f1e6aa.entry.js → p-09869644.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-22313959.entry.js → p-0b8c47d9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b6c83f82.entry.js → p-11c964cf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2857144e.js → p-12e4cb4a.js} +1 -1
- package/dist/realtimekit-ui/{p-9ba26c9f.entry.js → p-1666857d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7f896d33.entry.js → p-1bf58a84.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2d6c5160.entry.js → p-2a0ec1c6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-404207e0.entry.js → p-2b373e53.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2f641bfa.entry.js +1 -0
- package/dist/realtimekit-ui/p-2fc5ef84.entry.js +1 -0
- package/dist/realtimekit-ui/{p-9b6d809b.entry.js → p-31f58b98.entry.js} +1 -1
- package/dist/realtimekit-ui/p-33228f0a.entry.js +1 -0
- package/dist/realtimekit-ui/p-3369f405.entry.js +1 -0
- package/dist/realtimekit-ui/p-36c8dfa0.entry.js +1 -0
- package/dist/realtimekit-ui/p-382270d8.js +1 -0
- package/dist/realtimekit-ui/{p-ac1ff0f8.entry.js → p-385fddbd.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f1ab4672.entry.js → p-38aec474.entry.js} +1 -1
- package/dist/realtimekit-ui/p-38f4773b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-368420fc.entry.js → p-3a325310.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-83a8cd29.entry.js → p-3d0c4257.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6495f016.entry.js → p-3e02ec0b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-3eefefa3.entry.js +1 -0
- package/dist/realtimekit-ui/p-40be18ee.js +1 -0
- package/dist/realtimekit-ui/{p-f5a3ccc0.entry.js → p-481549ac.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2aa2727b.entry.js → p-4eba1baa.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4eee77b0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-1185eec6.entry.js → p-50157a65.entry.js} +1 -1
- package/dist/realtimekit-ui/p-50e861f9.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a7ba0456.entry.js → p-5383fe87.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2d09aeb4.entry.js → p-53ac3d30.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e32c13e0.entry.js → p-54a31e02.entry.js} +1 -1
- package/dist/realtimekit-ui/p-57277553.entry.js +1 -0
- package/dist/realtimekit-ui/{p-95ab3abe.entry.js → p-5a2d8313.entry.js} +1 -1
- package/dist/realtimekit-ui/p-5b2d97fc.js +1 -0
- package/dist/realtimekit-ui/p-60a29b69.entry.js +1 -0
- package/dist/realtimekit-ui/{p-62949a7d.entry.js → p-61a16ccf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-47d8e5c8.entry.js → p-61a53713.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-77f71d40.entry.js → p-61d3f74f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2dc496f0.entry.js → p-62e0a141.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-dfa4a588.entry.js → p-639ab9ad.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0ab52f70.entry.js → p-643194e4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-6a45f305.js +1 -0
- package/dist/realtimekit-ui/{p-e65d2f04.entry.js → p-6adb2de4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-efabd2ce.js → p-6f211c3e.js} +1 -1
- package/dist/realtimekit-ui/{p-c1d92065.entry.js → p-74e1b5a6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a449b5cd.entry.js → p-7613857e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-7786e9a7.entry.js +1 -0
- package/dist/realtimekit-ui/{p-5cb4f925.entry.js → p-77e04fb7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1f328e83.entry.js → p-788f26c4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-53ffaa9f.entry.js → p-7a8ca3f2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f5560043.entry.js → p-7b999408.entry.js} +1 -1
- package/dist/realtimekit-ui/p-7f76de48.entry.js +1 -0
- package/dist/realtimekit-ui/{p-2799d5b2.js → p-80c856cd.js} +1 -1
- package/dist/realtimekit-ui/{p-64aa0fae.entry.js → p-882d07c9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7fab2c53.entry.js → p-8b189438.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-81d1334c.entry.js → p-8b341608.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e24289b8.entry.js → p-8f512d69.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c6c86fd8.js → p-91ea043c.js} +1 -1
- package/dist/realtimekit-ui/{p-145caa6b.js → p-91fd286c.js} +1 -1
- package/dist/realtimekit-ui/p-930f0255.entry.js +1 -0
- package/dist/realtimekit-ui/p-93b84c22.js +1 -0
- package/dist/realtimekit-ui/{p-34350578.entry.js → p-941f159e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f3998c17.entry.js → p-949b2b6a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3144bec3.entry.js → p-951a7b06.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-616f3a25.entry.js → p-95f05e26.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-db9dd8ea.entry.js → p-98ee3341.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7fbca8d1.entry.js → p-9ad2c746.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9c1f42dd.entry.js +1 -0
- package/dist/realtimekit-ui/{p-6334ca51.entry.js → p-9cbf286a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-560fc162.entry.js → p-a1203856.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0b93c12d.entry.js → p-a319e81f.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a4e223e8.entry.js +1 -0
- package/dist/realtimekit-ui/{p-e7a89e24.entry.js → p-a9126c12.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a55863be.entry.js → p-a9dd63ef.entry.js} +1 -1
- package/dist/realtimekit-ui/p-aa70de39.entry.js +1 -0
- package/dist/realtimekit-ui/{p-ead8970b.entry.js → p-ae7319ac.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b387e9a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-b564d931.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f16345d6.entry.js → p-ba51770e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0979ba30.entry.js → p-c1b81873.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-543dcdc1.entry.js → p-c5c965b8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b2b8b421.entry.js → p-c638f666.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c7711712.entry.js +1 -0
- package/dist/realtimekit-ui/{p-bfd7cd5a.entry.js → p-d0384d90.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d7f16f24.entry.js +1 -0
- package/dist/realtimekit-ui/p-d81c0263.entry.js +1 -0
- package/dist/realtimekit-ui/{p-35b87831.entry.js → p-d9cad67f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0266e82b.entry.js → p-de75d48d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4b62d6f9.entry.js → p-e62593a2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fa2ee341.js → p-e720b51e.js} +1 -1
- package/dist/realtimekit-ui/{p-9ac89beb.entry.js → p-e7b83772.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8046e263.js → p-e87928f7.js} +1 -1
- package/dist/realtimekit-ui/{p-39d0ad4d.entry.js → p-e925ca8a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e0dd5f79.entry.js → p-f0f6c282.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-51a8a9e5.entry.js → p-f40a55e3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-47e89714.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-channel-creator/rtk-channel-creator.d.ts +3 -0
- package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +1 -0
- package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +1 -0
- package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +3 -0
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +0 -9
- package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +1 -0
- package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +3 -0
- package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +1 -0
- package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +1 -0
- package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +1 -0
- package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +2 -0
- package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +5 -0
- package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +1 -0
- package/dist/types/components.d.ts +104 -0
- package/dist/types/types/props.d.ts +1 -0
- package/dist/types/utils/chat.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +0 -6417
- package/dist/components/p-6a47e2ee.js +0 -148
- package/dist/esm/rtk-avatar_54.entry.js +0 -6360
- package/dist/realtimekit-ui/p-00b5bdeb.entry.js +0 -1
- package/dist/realtimekit-ui/p-173457a5.js +0 -1
- package/dist/realtimekit-ui/p-2d729cec.entry.js +0 -1
- package/dist/realtimekit-ui/p-3263d76d.entry.js +0 -1
- package/dist/realtimekit-ui/p-34c90f1c.entry.js +0 -1
- package/dist/realtimekit-ui/p-47314bc7.js +0 -1
- package/dist/realtimekit-ui/p-4ea418c9.js +0 -1
- package/dist/realtimekit-ui/p-55f181be.entry.js +0 -1
- package/dist/realtimekit-ui/p-bad807c1.entry.js +0 -1
- package/dist/realtimekit-ui/p-bfed80f3.entry.js +0 -1
- package/dist/realtimekit-ui/p-d7a5c237.entry.js +0 -1
|
@@ -1,60 +1,30 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h,
|
|
2
|
-
import { c as createDefaultConfig, e as defaultIconPack, h as useLanguage, K as FlagsmithFeatureFlags } from './p-
|
|
3
|
-
import { h as handleFilesDataTransfer, g as generateChatGroupKey, T as TEMPORARY_CHANNEL_PREFIX, i as isDirectMessageChannel, d as alphabeticalSorter, f as getDMComparator,
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
|
|
2
|
+
import { c as createDefaultConfig, e as defaultIconPack, h as useLanguage, K as FlagsmithFeatureFlags } from './p-7fc0dc2f.js';
|
|
3
|
+
import { h as handleFilesDataTransfer, g as generateChatGroupKey, T as TEMPORARY_CHANNEL_PREFIX, i as isDirectMessageChannel, d as alphabeticalSorter, f as getDMComparator, j as parseMessageForTarget } from './p-dab9d3d6.js';
|
|
4
4
|
import { c as chatUnreadTimestamps } from './p-a83ccdbd.js';
|
|
5
|
-
import { S as SyncWithStore } from './p-
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$u } from './p-40c5ca62.js';
|
|
29
|
-
import { d as defineCustomElement$t } from './p-3042f998.js';
|
|
30
|
-
import { d as defineCustomElement$s } from './p-00ebd1dc.js';
|
|
31
|
-
import { d as defineCustomElement$r } from './p-fb427023.js';
|
|
32
|
-
import { d as defineCustomElement$q } from './p-1a60f5b0.js';
|
|
33
|
-
import { d as defineCustomElement$p } from './p-01a50790.js';
|
|
34
|
-
import { d as defineCustomElement$o } from './p-f9faeffc.js';
|
|
35
|
-
import { d as defineCustomElement$n } from './p-3df2211d.js';
|
|
36
|
-
import { d as defineCustomElement$m } from './p-3b29dda1.js';
|
|
37
|
-
import { d as defineCustomElement$l } from './p-a9d5d165.js';
|
|
38
|
-
import { d as defineCustomElement$k } from './p-49967150.js';
|
|
39
|
-
import { d as defineCustomElement$j } from './p-cc5ecd67.js';
|
|
40
|
-
import { d as defineCustomElement$i } from './p-c663f9b1.js';
|
|
41
|
-
import { d as defineCustomElement$h } from './p-03fe0979.js';
|
|
42
|
-
import { d as defineCustomElement$g } from './p-f5f0b499.js';
|
|
43
|
-
import { d as defineCustomElement$f } from './p-54dba22f.js';
|
|
44
|
-
import { d as defineCustomElement$e } from './p-1986022b.js';
|
|
45
|
-
import { d as defineCustomElement$d } from './p-26055088.js';
|
|
46
|
-
import { d as defineCustomElement$c } from './p-c3582bf3.js';
|
|
47
|
-
import { d as defineCustomElement$b } from './p-0a7f6a8a.js';
|
|
48
|
-
import { d as defineCustomElement$a } from './p-91a9efcf.js';
|
|
49
|
-
import { d as defineCustomElement$9 } from './p-7a336667.js';
|
|
50
|
-
import { d as defineCustomElement$8 } from './p-d2c3870a.js';
|
|
51
|
-
import { d as defineCustomElement$7 } from './p-4c8cff29.js';
|
|
52
|
-
import { d as defineCustomElement$6 } from './p-17867774.js';
|
|
53
|
-
import { d as defineCustomElement$5 } from './p-34b580c9.js';
|
|
54
|
-
import { d as defineCustomElement$4 } from './p-bccc21f8.js';
|
|
55
|
-
import { d as defineCustomElement$3 } from './p-731ee854.js';
|
|
56
|
-
import { d as defineCustomElement$2 } from './p-93e1439e.js';
|
|
57
|
-
import { d as defineCustomElement$1 } from './p-03bdc4c0.js';
|
|
5
|
+
import { S as SyncWithStore } from './p-47c25f64.js';
|
|
6
|
+
import { d as defineCustomElement$m } from './p-f4e75ea9.js';
|
|
7
|
+
import { d as defineCustomElement$l } from './p-1391bef0.js';
|
|
8
|
+
import { d as defineCustomElement$k } from './p-d4e2ac64.js';
|
|
9
|
+
import { d as defineCustomElement$j } from './p-f47894a6.js';
|
|
10
|
+
import { d as defineCustomElement$i } from './p-94e867c2.js';
|
|
11
|
+
import { d as defineCustomElement$h } from './p-65cd2fe3.js';
|
|
12
|
+
import { d as defineCustomElement$g } from './p-20290b0b.js';
|
|
13
|
+
import { d as defineCustomElement$f } from './p-3da4880c.js';
|
|
14
|
+
import { d as defineCustomElement$e } from './p-0b4e526c.js';
|
|
15
|
+
import { d as defineCustomElement$d } from './p-e675729a.js';
|
|
16
|
+
import { d as defineCustomElement$c } from './p-3b29dda1.js';
|
|
17
|
+
import { d as defineCustomElement$b } from './p-63ef7ea4.js';
|
|
18
|
+
import { d as defineCustomElement$a } from './p-88bef213.js';
|
|
19
|
+
import { d as defineCustomElement$9 } from './p-f8f5cb31.js';
|
|
20
|
+
import { d as defineCustomElement$8 } from './p-a6296b02.js';
|
|
21
|
+
import { d as defineCustomElement$7 } from './p-080acf18.js';
|
|
22
|
+
import { d as defineCustomElement$6 } from './p-fe911889.js';
|
|
23
|
+
import { d as defineCustomElement$5 } from './p-a9540d93.js';
|
|
24
|
+
import { d as defineCustomElement$4 } from './p-0a35a909.js';
|
|
25
|
+
import { d as defineCustomElement$3 } from './p-d3de8b85.js';
|
|
26
|
+
import { d as defineCustomElement$2 } from './p-a94b2e67.js';
|
|
27
|
+
import { d as defineCustomElement$1 } from './p-fa8f6b4a.js';
|
|
58
28
|
|
|
59
29
|
const rtkChatCss = ":host {\n line-height: initial;\n font-family: var(--rtk-font-family, sans-serif);\n\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n.scrollbar {\n /* For Firefox */\n scrollbar-width: thin;\n scrollbar-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent);\n}\n\n/* For WebKit */\n.scrollbar::-webkit-scrollbar {\n height: var(--rtk-space-1\\.5, 6px);\n width: var(--rtk-space-1\\.5, 6px);\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-background, transparent);\n}\n\n.scrollbar::-webkit-scrollbar-thumb {\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)));\n}\n\n\n:host {\n display: flex;\n height: 100%;\n width: 100%;\n flex-direction: column;\n font-size: 14px;\n position: relative;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\nh3 {\n margin: var(--rtk-space-0, 0px);\n display: flex;\n height: var(--rtk-space-12, 48px);\n align-items: center;\n justify-content: center;\n font-size: 16px;\n font-weight: 400;\n color: rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));\n text-align: center;\n}\n\n#dropzone {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n z-index: 10;\n display: none;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));\n}\n\n#dropzone.active {\n display: flex;\n animation: 0.2s slide-up ease-in;\n}\n\nrtk-chat-messages-ui,\nrtk-chat-messages-ui-paginated {\n flex: 1 0 0;\n}\n\nrtk-chat-composer-view {\n margin: var(--rtk-space-2, 8px);\n}\n\n.chat-container {\n display: flex;\n height: 100%;\n width: 100%;\n flex-direction: row;\n container-type: size;\n container-name: chatcontainer;\n}\n\n@container chatcontainer (height < 360px) {\n rtk-channel-selector-view {\n height: var(--rtk-space-8, 32px);\n min-height: 24px;\n }\n}\n\n.chat {\n display: flex;\n flex: 1 1 0%;\n flex-direction: column;\n}\n\n.banner {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.banner .welcome-new-channel {\n width: var(--rtk-space-48, 192px);\n}\n\n.banner .create-channel-illustration {\n height: var(--rtk-space-40, 160px);\n width: var(--rtk-space-40, 160px);\n}\n\n.channel-selector-header {\n box-sizing: border-box;\n height: var(--rtk-space-16, 64px);\n padding: var(--rtk-space-4, 16px);\n display: flex;\n justify-content: space-between;\n border-bottom: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.channel-selector-header .channel-create-btn {\n width: var(--rtk-space-8, 32px);\n justify-content: center;\n}\n\n.channel-selector-header .channel-create-btn:hover {\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));\n}\n\n.view-chats-btn {\n margin-top: var(--rtk-space-4, 16px);\n}\n\n.selector-container {\n z-index: 50;\n width: 100%;\n max-width: var(--rtk-space-80, 320px);\n border-right: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n}\n\n.selector-container.hide {\n display: none;\n}\n\n.mobile-close-btn {\n display: none;\n}\n\n.selector-container.mobile {\n height: 100%;\n width: 100%;\n max-width: 100%;\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / 0.6);\n display: flex;\n}\n\n.selector-container.mobile rtk-channel-selector-view {\n max-width: var(--rtk-space-96, 384px);\n animation: 0.3s swipe-in;\n}\n\n.selector-container.mobile .mobile-close-btn {\n margin-top: var(--rtk-space-4, 16px);\n margin-bottom: var(--rtk-space-4, 16px);\n margin-left: var(--rtk-space-6, 24px);\n margin-right: var(--rtk-space-6, 24px);\n display: block;\n}\n\n.pinned-messages-header {\n display: flex;\n align-items: center;\n gap: var(--rtk-space-2, 8px);\n padding: var(--rtk-space-2, 8px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n font-size: 12px;\n cursor: pointer;\n}\n\n.pinned-messages-header rtk-icon {\n height: var(--rtk-space-3, 12px);\n width: var(--rtk-space-3, 12px);\n}\n\n.pinned-messages-header:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n}\n\n.pinned-messages-header.active {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n}\n\n@keyframes swipe-in {\n from {\n transform: translateX(-100%);\n }\n to {\n transform: translateX(0);\n }\n}\n";
|
|
60
30
|
const RtkChatStyle0 = rtkChatCss;
|
|
@@ -188,11 +158,6 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
188
158
|
this.chatRecipientId = this.selectedGroup = 'everyone';
|
|
189
159
|
}
|
|
190
160
|
};
|
|
191
|
-
this.usePaginatedChat = () => {
|
|
192
|
-
if (this.isGroupCall && this.showPinnedMessages)
|
|
193
|
-
return false;
|
|
194
|
-
return this.selectedGroup === 'everyone';
|
|
195
|
-
};
|
|
196
161
|
this.updateUnreadCountGroups = (obj) => {
|
|
197
162
|
this.unreadCountGroups = Object.assign(Object.assign({}, this.unreadCountGroups), obj);
|
|
198
163
|
};
|
|
@@ -316,17 +281,7 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
316
281
|
};
|
|
317
282
|
this.onNewMessageHandler = async (e) => {
|
|
318
283
|
const message = e.detail;
|
|
319
|
-
|
|
320
|
-
await this.meeting.chat.sendMessageToChannel(message, this.selectedChannelId, this.replyMessage
|
|
321
|
-
? {
|
|
322
|
-
replyTo: this.replyMessage,
|
|
323
|
-
}
|
|
324
|
-
: {});
|
|
325
|
-
this.replyMessage = null;
|
|
326
|
-
}
|
|
327
|
-
else {
|
|
328
|
-
this.meeting.chat.sendMessage(message, this.getRecipientPeerIds());
|
|
329
|
-
}
|
|
284
|
+
this.meeting.chat.sendMessage(message, this.getRecipientPeerIds());
|
|
330
285
|
};
|
|
331
286
|
this.onEditMessageHandler = async (e) => {
|
|
332
287
|
var _a, _b;
|
|
@@ -336,15 +291,6 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
336
291
|
this.onEditCancel = () => {
|
|
337
292
|
this.editingMessage = null;
|
|
338
293
|
};
|
|
339
|
-
this.onSearchHandler = async (e) => {
|
|
340
|
-
this.searchQuery = e.detail;
|
|
341
|
-
};
|
|
342
|
-
this.onSearchDismissed = () => {
|
|
343
|
-
this.searchQuery = '';
|
|
344
|
-
};
|
|
345
|
-
this.onChannelCreateClicked = () => {
|
|
346
|
-
this.stateUpdate.emit({ activeChannelCreator: true });
|
|
347
|
-
};
|
|
348
294
|
this.onPinMessage = (event) => {
|
|
349
295
|
const message = event.detail;
|
|
350
296
|
if (message.pinned) {
|
|
@@ -358,23 +304,6 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
358
304
|
const message = event.detail;
|
|
359
305
|
this.meeting.chat.deleteMessage(message.id);
|
|
360
306
|
};
|
|
361
|
-
this.getChannelItems = () => {
|
|
362
|
-
return this.channels.map((channel) => {
|
|
363
|
-
const result = {
|
|
364
|
-
id: channel.id,
|
|
365
|
-
name: channel.displayName,
|
|
366
|
-
avatarUrl: channel.displayPictureUrl,
|
|
367
|
-
};
|
|
368
|
-
if (channel.latestMessage) {
|
|
369
|
-
result.latestMessage =
|
|
370
|
-
channel.latestMessage.type === 'text'
|
|
371
|
-
? stripOutReplyBlock(channel.latestMessage.message)
|
|
372
|
-
: '';
|
|
373
|
-
result.latestMessageTime = channel.latestMessage.time;
|
|
374
|
-
}
|
|
375
|
-
return result;
|
|
376
|
-
});
|
|
377
|
-
};
|
|
378
307
|
this.getPrivateChatRecipients = () => {
|
|
379
308
|
const participants = this.getFilteredParticipants().map((participant) => {
|
|
380
309
|
const key = generateChatGroupKey([participant.userId, this.meeting.self.userId]);
|
|
@@ -449,31 +378,6 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
449
378
|
this.canPinMessages =
|
|
450
379
|
((_e = meeting === null || meeting === void 0 ? void 0 : meeting.__internals__) === null || _e === void 0 ? void 0 : _e.features.hasFeature(FlagsmithFeatureFlags.PINNED_MESSAGES)) &&
|
|
451
380
|
meeting.self.permissions.pinParticipant;
|
|
452
|
-
this.isGroupCall = meeting.meta.viewType === 'GROUP_CALL';
|
|
453
|
-
this.isChatViewType = meeting.meta.viewType === 'CHAT';
|
|
454
|
-
if (this.isChatViewType) {
|
|
455
|
-
this.onChannelCreateOrUpdate();
|
|
456
|
-
const validChannels = this.channels.filter((channel) => !channel.id.includes(TEMPORARY_CHANNEL_PREFIX));
|
|
457
|
-
if (validChannels.length) {
|
|
458
|
-
this.selectedChannelId = this.channels[0].id;
|
|
459
|
-
}
|
|
460
|
-
if (this.resizeObserver) {
|
|
461
|
-
this.resizeObserver.disconnect();
|
|
462
|
-
}
|
|
463
|
-
this.resizeObserver = new ResizeObserver((entries) => {
|
|
464
|
-
for (const entry of entries) {
|
|
465
|
-
if (entry.contentBoxSize[0].inlineSize < 758) {
|
|
466
|
-
this.selectorState = 'hide';
|
|
467
|
-
}
|
|
468
|
-
else {
|
|
469
|
-
this.selectorState = 'desktop';
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
});
|
|
473
|
-
if (this.isChatViewType) {
|
|
474
|
-
this.resizeObserver.observe(this.host);
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
381
|
this.initializeChatGroups();
|
|
478
382
|
// shallow copy to trigger render
|
|
479
383
|
this.chatGroups = Object.assign({}, this.chatGroups);
|
|
@@ -484,12 +388,6 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
484
388
|
meeting.participants.joined.addListener('participantJoined', this.onParticipantUpdate);
|
|
485
389
|
meeting.participants.joined.addListener('participantLeft', this.onParticipantUpdate);
|
|
486
390
|
}
|
|
487
|
-
if (this.isChatViewType) {
|
|
488
|
-
meeting.chat.addListener('channelCreate', this.onChannelCreateOrUpdate);
|
|
489
|
-
meeting.chat.addListener('channelUpdate', this.onChannelCreateOrUpdate);
|
|
490
|
-
meeting.chat.addListener('channelMessageUpdate', this.onChannelCreateOrUpdate);
|
|
491
|
-
meeting.participants.all.addListener('participantsUpdate', this.onChannelCreateOrUpdate);
|
|
492
|
-
}
|
|
493
391
|
}
|
|
494
392
|
}
|
|
495
393
|
chatGroupsChanged(chatGroups) {
|
|
@@ -565,17 +463,8 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
565
463
|
channelSwitchListener(e) {
|
|
566
464
|
this.onChannelChanged(e);
|
|
567
465
|
}
|
|
568
|
-
renderHeadlessComponents() {
|
|
569
|
-
return (h(Fragment, null, h("rtk-dialog-manager", { meeting: this.meeting }), h("rtk-notifications", { meeting: this.meeting })));
|
|
570
|
-
}
|
|
571
466
|
renderComposerUI() {
|
|
572
467
|
var _a, _b, _c;
|
|
573
|
-
if (this.isChatViewType && this.channels.length === 0)
|
|
574
|
-
return null;
|
|
575
|
-
if (this.isChatViewType && this.searchQuery !== '')
|
|
576
|
-
return null;
|
|
577
|
-
if (this.isChatViewType && !this.selectedChannelId)
|
|
578
|
-
return null;
|
|
579
468
|
if (this.chatRecipientId === 'everyone') {
|
|
580
469
|
if (!this.canSendTextMessage && !this.canSendFiles)
|
|
581
470
|
return null;
|
|
@@ -589,32 +478,16 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
589
478
|
const quotedMessage = this.replyMessage ? this.replyMessage.message : '';
|
|
590
479
|
return (h("rtk-chat-composer-view", Object.assign({ message: message, storageKey: (_a = this.selectedChannelId) !== null && _a !== void 0 ? _a : `draft-${this.selectedChannelId}`, quotedMessage: quotedMessage, isEditing: !!this.editingMessage, canSendTextMessage: this.isTextMessagingAllowed(), canSendFiles: this.isFileMessagingAllowed(), disableEmojiPicker: !!((_c = (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.__internals__) === null || _c === void 0 ? void 0 : _c.features.hasFeature(FlagsmithFeatureFlags.DISABLE_EMOJI_PICKER)), maxLength: this.meeting.chat.maxTextLimit, rateLimits: this.meeting.chat.rateLimits, inputTextPlaceholder: this.t('chat.message_placeholder'), onNewMessage: this.onNewMessageHandler, onEditMessage: this.onEditMessageHandler, onEditCancel: this.onEditCancel, onQuotedMessageDismiss: this.onQuotedMessageDismiss }, uiProps), h("slot", { name: "chat-addon", slot: "chat-addon" })));
|
|
591
480
|
}
|
|
592
|
-
renderFullChat() {
|
|
593
|
-
if (this.creatingChannel) {
|
|
594
|
-
return (h("div", { class: "banner" }, h("rtk-spinner", { size: "lg" })));
|
|
595
|
-
}
|
|
596
|
-
if (this.channels.length === 0 || !this.selectedChannelId) {
|
|
597
|
-
return (h("div", { class: "banner" }, h("rtk-icon", { icon: this.iconPack.create_channel_illustration, slot: "start", class: 'create-channel-illustration' }), h("rtk-button", { kind: "wide", variant: "primary", size: "md", onClick: this.onChannelCreateClicked, class: "welcome-new-channel" }, h("rtk-icon", { icon: this.iconPack.add, slot: "start" }), h("span", null, this.t('chat.new_channel'))), (this.selectorState === 'mobile' || this.selectorState === 'hide') && (h("rtk-button", { kind: "button", variant: "secondary", size: "md", class: "view-chats-btn", onClick: () => {
|
|
598
|
-
this.selectorState = 'mobile';
|
|
599
|
-
} }, h("rtk-icon", { icon: this.iconPack.chat, slot: "start" }), h("span", null, this.t('chat.view_chats'))))));
|
|
600
|
-
}
|
|
601
|
-
const selectedChannel = this.channels.find((channel) => channel.id === this.selectedChannelId);
|
|
602
|
-
return (h("div", { class: "chat" }, h("rtk-channel-header", { slot: "header", meeting: this.meeting, channel: selectedChannel, onSearch: this.onSearchHandler, onSearchDismissed: this.onSearchDismissed, showBackButton: this.selectorState === 'mobile' || this.selectorState === 'hide', onBack: () => {
|
|
603
|
-
this.selectorState = 'mobile';
|
|
604
|
-
} }), this.searchQuery !== '' && (h("rtk-chat-search-results", { meeting: this.meeting, query: this.searchQuery, channelId: this.selectedChannelId })), this.searchQuery === '' && (h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, size: this.size, iconPack: this.iconPack, t: this.t, selectedChannelId: this.selectedChannelId, selectedChannel: selectedChannel }))));
|
|
605
|
-
}
|
|
606
481
|
render() {
|
|
607
|
-
var _a
|
|
482
|
+
var _a;
|
|
608
483
|
if (!this.meeting) {
|
|
609
484
|
return null;
|
|
610
485
|
}
|
|
611
|
-
const uiProps = { iconPack: this.iconPack, t: this.t, size: this.size };
|
|
612
|
-
const selfUserId = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId;
|
|
613
486
|
let chatMessages = this.chatGroups[this.selectedGroup] || [];
|
|
614
487
|
if (this.showPinnedMessages && this.meeting.chat.pinned.length !== 0) {
|
|
615
488
|
chatMessages = chatMessages.filter((chat) => chat.type === 'chat' && chat.message.pinned);
|
|
616
489
|
}
|
|
617
|
-
return (h(Host, null,
|
|
490
|
+
return (h(Host, null, h("div", { class: "chat-container" }, h("div", { class: "chat" }, this.isFileMessagingAllowed() && (h("div", { id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { icon: this.iconPack.attach }), h("p", null, this.t('chat.send_attachment')))), this.renderPinnedMessagesHeader(), this.isPrivateChatSupported() && (h("rtk-channel-selector-view", { channels: this.getPrivateChatRecipients(), selectedChannelId: ((_a = this.selectedParticipant) === null || _a === void 0 ? void 0 : _a.userId) || 'everyone', onChannelChange: this.updateRecipients, t: this.t, viewAs: "dropdown" })), h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, onPinMessage: this.onPinMessage, onDeleteMessage: this.onDeleteMessage, size: this.size, iconPack: this.iconPack, t: this.t }), this.renderComposerUI()))));
|
|
618
491
|
}
|
|
619
492
|
get host() { return this; }
|
|
620
493
|
static get watchers() { return {
|
|
@@ -678,7 +551,7 @@ function defineCustomElement() {
|
|
|
678
551
|
if (typeof customElements === "undefined") {
|
|
679
552
|
return;
|
|
680
553
|
}
|
|
681
|
-
const components = ["rtk-chat", "rtk-avatar", "rtk-
|
|
554
|
+
const components = ["rtk-chat", "rtk-avatar", "rtk-button", "rtk-channel-selector-view", "rtk-chat-composer-view", "rtk-chat-messages-ui-paginated", "rtk-draft-attachment-view", "rtk-emoji-picker", "rtk-emoji-picker-button", "rtk-file-message-view", "rtk-file-picker-button", "rtk-icon", "rtk-image-message-view", "rtk-markdown-view", "rtk-menu", "rtk-menu-item", "rtk-menu-list", "rtk-message-view", "rtk-paginated-list", "rtk-spinner", "rtk-text-composer-view", "rtk-text-message-view", "rtk-tooltip"];
|
|
682
555
|
components.forEach(tagName => { switch (tagName) {
|
|
683
556
|
case "rtk-chat":
|
|
684
557
|
if (!customElements.get(tagName)) {
|
|
@@ -686,251 +559,101 @@ function defineCustomElement() {
|
|
|
686
559
|
}
|
|
687
560
|
break;
|
|
688
561
|
case "rtk-avatar":
|
|
689
|
-
if (!customElements.get(tagName)) {
|
|
690
|
-
defineCustomElement$Q();
|
|
691
|
-
}
|
|
692
|
-
break;
|
|
693
|
-
case "rtk-breakout-room-manager":
|
|
694
|
-
if (!customElements.get(tagName)) {
|
|
695
|
-
defineCustomElement$P();
|
|
696
|
-
}
|
|
697
|
-
break;
|
|
698
|
-
case "rtk-breakout-room-participants":
|
|
699
|
-
if (!customElements.get(tagName)) {
|
|
700
|
-
defineCustomElement$O();
|
|
701
|
-
}
|
|
702
|
-
break;
|
|
703
|
-
case "rtk-breakout-rooms-manager":
|
|
704
|
-
if (!customElements.get(tagName)) {
|
|
705
|
-
defineCustomElement$N();
|
|
706
|
-
}
|
|
707
|
-
break;
|
|
708
|
-
case "rtk-broadcast-message-modal":
|
|
709
|
-
if (!customElements.get(tagName)) {
|
|
710
|
-
defineCustomElement$M();
|
|
711
|
-
}
|
|
712
|
-
break;
|
|
713
|
-
case "rtk-button":
|
|
714
|
-
if (!customElements.get(tagName)) {
|
|
715
|
-
defineCustomElement$L();
|
|
716
|
-
}
|
|
717
|
-
break;
|
|
718
|
-
case "rtk-channel-creator":
|
|
719
|
-
if (!customElements.get(tagName)) {
|
|
720
|
-
defineCustomElement$K();
|
|
721
|
-
}
|
|
722
|
-
break;
|
|
723
|
-
case "rtk-channel-details":
|
|
724
|
-
if (!customElements.get(tagName)) {
|
|
725
|
-
defineCustomElement$J();
|
|
726
|
-
}
|
|
727
|
-
break;
|
|
728
|
-
case "rtk-channel-header":
|
|
729
|
-
if (!customElements.get(tagName)) {
|
|
730
|
-
defineCustomElement$I();
|
|
731
|
-
}
|
|
732
|
-
break;
|
|
733
|
-
case "rtk-channel-selector-view":
|
|
734
|
-
if (!customElements.get(tagName)) {
|
|
735
|
-
defineCustomElement$H();
|
|
736
|
-
}
|
|
737
|
-
break;
|
|
738
|
-
case "rtk-chat-composer-view":
|
|
739
|
-
if (!customElements.get(tagName)) {
|
|
740
|
-
defineCustomElement$G();
|
|
741
|
-
}
|
|
742
|
-
break;
|
|
743
|
-
case "rtk-chat-message":
|
|
744
|
-
if (!customElements.get(tagName)) {
|
|
745
|
-
defineCustomElement$F();
|
|
746
|
-
}
|
|
747
|
-
break;
|
|
748
|
-
case "rtk-chat-messages-ui":
|
|
749
|
-
if (!customElements.get(tagName)) {
|
|
750
|
-
defineCustomElement$E();
|
|
751
|
-
}
|
|
752
|
-
break;
|
|
753
|
-
case "rtk-chat-messages-ui-paginated":
|
|
754
|
-
if (!customElements.get(tagName)) {
|
|
755
|
-
defineCustomElement$D();
|
|
756
|
-
}
|
|
757
|
-
break;
|
|
758
|
-
case "rtk-chat-search-results":
|
|
759
|
-
if (!customElements.get(tagName)) {
|
|
760
|
-
defineCustomElement$C();
|
|
761
|
-
}
|
|
762
|
-
break;
|
|
763
|
-
case "rtk-confirmation-modal":
|
|
764
|
-
if (!customElements.get(tagName)) {
|
|
765
|
-
defineCustomElement$B();
|
|
766
|
-
}
|
|
767
|
-
break;
|
|
768
|
-
case "rtk-counter":
|
|
769
|
-
if (!customElements.get(tagName)) {
|
|
770
|
-
defineCustomElement$A();
|
|
771
|
-
}
|
|
772
|
-
break;
|
|
773
|
-
case "rtk-debugger":
|
|
774
|
-
if (!customElements.get(tagName)) {
|
|
775
|
-
defineCustomElement$z();
|
|
776
|
-
}
|
|
777
|
-
break;
|
|
778
|
-
case "rtk-debugger-audio":
|
|
779
|
-
if (!customElements.get(tagName)) {
|
|
780
|
-
defineCustomElement$y();
|
|
781
|
-
}
|
|
782
|
-
break;
|
|
783
|
-
case "rtk-debugger-screenshare":
|
|
784
|
-
if (!customElements.get(tagName)) {
|
|
785
|
-
defineCustomElement$x();
|
|
786
|
-
}
|
|
787
|
-
break;
|
|
788
|
-
case "rtk-debugger-system":
|
|
789
|
-
if (!customElements.get(tagName)) {
|
|
790
|
-
defineCustomElement$w();
|
|
791
|
-
}
|
|
792
|
-
break;
|
|
793
|
-
case "rtk-debugger-video":
|
|
794
|
-
if (!customElements.get(tagName)) {
|
|
795
|
-
defineCustomElement$v();
|
|
796
|
-
}
|
|
797
|
-
break;
|
|
798
|
-
case "rtk-dialog":
|
|
799
|
-
if (!customElements.get(tagName)) {
|
|
800
|
-
defineCustomElement$u();
|
|
801
|
-
}
|
|
802
|
-
break;
|
|
803
|
-
case "rtk-dialog-manager":
|
|
804
|
-
if (!customElements.get(tagName)) {
|
|
805
|
-
defineCustomElement$t();
|
|
806
|
-
}
|
|
807
|
-
break;
|
|
808
|
-
case "rtk-draft-attachment-view":
|
|
809
|
-
if (!customElements.get(tagName)) {
|
|
810
|
-
defineCustomElement$s();
|
|
811
|
-
}
|
|
812
|
-
break;
|
|
813
|
-
case "rtk-emoji-picker":
|
|
814
|
-
if (!customElements.get(tagName)) {
|
|
815
|
-
defineCustomElement$r();
|
|
816
|
-
}
|
|
817
|
-
break;
|
|
818
|
-
case "rtk-emoji-picker-button":
|
|
819
|
-
if (!customElements.get(tagName)) {
|
|
820
|
-
defineCustomElement$q();
|
|
821
|
-
}
|
|
822
|
-
break;
|
|
823
|
-
case "rtk-file-message":
|
|
824
|
-
if (!customElements.get(tagName)) {
|
|
825
|
-
defineCustomElement$p();
|
|
826
|
-
}
|
|
827
|
-
break;
|
|
828
|
-
case "rtk-file-message-view":
|
|
829
|
-
if (!customElements.get(tagName)) {
|
|
830
|
-
defineCustomElement$o();
|
|
831
|
-
}
|
|
832
|
-
break;
|
|
833
|
-
case "rtk-file-picker-button":
|
|
834
|
-
if (!customElements.get(tagName)) {
|
|
835
|
-
defineCustomElement$n();
|
|
836
|
-
}
|
|
837
|
-
break;
|
|
838
|
-
case "rtk-icon":
|
|
839
562
|
if (!customElements.get(tagName)) {
|
|
840
563
|
defineCustomElement$m();
|
|
841
564
|
}
|
|
842
565
|
break;
|
|
843
|
-
case "rtk-
|
|
566
|
+
case "rtk-button":
|
|
844
567
|
if (!customElements.get(tagName)) {
|
|
845
568
|
defineCustomElement$l();
|
|
846
569
|
}
|
|
847
570
|
break;
|
|
848
|
-
case "rtk-
|
|
571
|
+
case "rtk-channel-selector-view":
|
|
849
572
|
if (!customElements.get(tagName)) {
|
|
850
573
|
defineCustomElement$k();
|
|
851
574
|
}
|
|
852
575
|
break;
|
|
853
|
-
case "rtk-
|
|
576
|
+
case "rtk-chat-composer-view":
|
|
854
577
|
if (!customElements.get(tagName)) {
|
|
855
578
|
defineCustomElement$j();
|
|
856
579
|
}
|
|
857
580
|
break;
|
|
858
|
-
case "rtk-
|
|
581
|
+
case "rtk-chat-messages-ui-paginated":
|
|
859
582
|
if (!customElements.get(tagName)) {
|
|
860
583
|
defineCustomElement$i();
|
|
861
584
|
}
|
|
862
585
|
break;
|
|
863
|
-
case "rtk-
|
|
586
|
+
case "rtk-draft-attachment-view":
|
|
864
587
|
if (!customElements.get(tagName)) {
|
|
865
588
|
defineCustomElement$h();
|
|
866
589
|
}
|
|
867
590
|
break;
|
|
868
|
-
case "rtk-
|
|
591
|
+
case "rtk-emoji-picker":
|
|
869
592
|
if (!customElements.get(tagName)) {
|
|
870
593
|
defineCustomElement$g();
|
|
871
594
|
}
|
|
872
595
|
break;
|
|
873
|
-
case "rtk-
|
|
596
|
+
case "rtk-emoji-picker-button":
|
|
874
597
|
if (!customElements.get(tagName)) {
|
|
875
598
|
defineCustomElement$f();
|
|
876
599
|
}
|
|
877
600
|
break;
|
|
878
|
-
case "rtk-
|
|
601
|
+
case "rtk-file-message-view":
|
|
879
602
|
if (!customElements.get(tagName)) {
|
|
880
603
|
defineCustomElement$e();
|
|
881
604
|
}
|
|
882
605
|
break;
|
|
883
|
-
case "rtk-
|
|
606
|
+
case "rtk-file-picker-button":
|
|
884
607
|
if (!customElements.get(tagName)) {
|
|
885
608
|
defineCustomElement$d();
|
|
886
609
|
}
|
|
887
610
|
break;
|
|
888
|
-
case "rtk-
|
|
611
|
+
case "rtk-icon":
|
|
889
612
|
if (!customElements.get(tagName)) {
|
|
890
613
|
defineCustomElement$c();
|
|
891
614
|
}
|
|
892
615
|
break;
|
|
893
|
-
case "rtk-
|
|
616
|
+
case "rtk-image-message-view":
|
|
894
617
|
if (!customElements.get(tagName)) {
|
|
895
618
|
defineCustomElement$b();
|
|
896
619
|
}
|
|
897
620
|
break;
|
|
898
|
-
case "rtk-
|
|
621
|
+
case "rtk-markdown-view":
|
|
899
622
|
if (!customElements.get(tagName)) {
|
|
900
623
|
defineCustomElement$a();
|
|
901
624
|
}
|
|
902
625
|
break;
|
|
903
|
-
case "rtk-
|
|
626
|
+
case "rtk-menu":
|
|
904
627
|
if (!customElements.get(tagName)) {
|
|
905
628
|
defineCustomElement$9();
|
|
906
629
|
}
|
|
907
630
|
break;
|
|
908
|
-
case "rtk-
|
|
631
|
+
case "rtk-menu-item":
|
|
909
632
|
if (!customElements.get(tagName)) {
|
|
910
633
|
defineCustomElement$8();
|
|
911
634
|
}
|
|
912
635
|
break;
|
|
913
|
-
case "rtk-
|
|
636
|
+
case "rtk-menu-list":
|
|
914
637
|
if (!customElements.get(tagName)) {
|
|
915
638
|
defineCustomElement$7();
|
|
916
639
|
}
|
|
917
640
|
break;
|
|
918
|
-
case "rtk-
|
|
641
|
+
case "rtk-message-view":
|
|
919
642
|
if (!customElements.get(tagName)) {
|
|
920
643
|
defineCustomElement$6();
|
|
921
644
|
}
|
|
922
645
|
break;
|
|
923
|
-
case "rtk-
|
|
646
|
+
case "rtk-paginated-list":
|
|
924
647
|
if (!customElements.get(tagName)) {
|
|
925
648
|
defineCustomElement$5();
|
|
926
649
|
}
|
|
927
650
|
break;
|
|
928
|
-
case "rtk-
|
|
651
|
+
case "rtk-spinner":
|
|
929
652
|
if (!customElements.get(tagName)) {
|
|
930
653
|
defineCustomElement$4();
|
|
931
654
|
}
|
|
932
655
|
break;
|
|
933
|
-
case "rtk-text-
|
|
656
|
+
case "rtk-text-composer-view":
|
|
934
657
|
if (!customElements.get(tagName)) {
|
|
935
658
|
defineCustomElement$3();
|
|
936
659
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h } from './p-c3592601.js';
|
|
2
|
-
import { S as SyncWithStore } from './p-
|
|
3
|
-
import { e as defaultIconPack, h as useLanguage } from './p-
|
|
2
|
+
import { S as SyncWithStore } from './p-47c25f64.js';
|
|
3
|
+
import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
|
|
4
4
|
import './p-a83ccdbd.js';
|
|
5
5
|
import { d as defineCustomElement$1 } from './p-3b29dda1.js';
|
|
6
6
|
|
|
@@ -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: '1b51f7d6ffbe8069172a5dc51f291988000c898a', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (h("div", { key: 'fe75f8333a7643458d5077fec968464327e65ca3', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, 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 && (h("div", { key: '0024d3b4e8d5eda5f94ff2fe9d8aa18cfb9297a7', class: 'text-error breached' }, h("rtk-icon", { key: 'bc3a0417a81de43b67595cde79dfe7aba21a6601', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), 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 })));
|
|
80
80
|
}
|
|
81
81
|
static get style() { return RtkTextComposerViewStyle0; }
|
|
82
82
|
}, [1, "rtk-text-composer-view", {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
|
|
2
|
-
import { e as defaultIconPack, h as useLanguage } from './p-
|
|
2
|
+
import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
|
|
3
3
|
import './p-a83ccdbd.js';
|
|
4
|
-
import { S as SyncWithStore } from './p-
|
|
5
|
-
import { d as defineCustomElement$5 } from './p-
|
|
4
|
+
import { S as SyncWithStore } from './p-47c25f64.js';
|
|
5
|
+
import { d as defineCustomElement$5 } from './p-f4e75ea9.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './p-3b29dda1.js';
|
|
7
|
-
import { d as defineCustomElement$3 } from './p-
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { d as defineCustomElement$3 } from './p-88bef213.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-0a35a909.js';
|
|
9
|
+
import { d as defineCustomElement$1 } from './p-a94b2e67.js';
|
|
10
10
|
import { d as debounce } from './p-1dca17d1.js';
|
|
11
11
|
|
|
12
12
|
const rtkChannelSelectorViewCss = ".scrollbar {\n /* For Firefox */\n scrollbar-width: thin;\n scrollbar-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent);\n}\n\n/* For WebKit */\n.scrollbar::-webkit-scrollbar {\n height: var(--rtk-space-1\\.5, 6px);\n width: var(--rtk-space-1\\.5, 6px);\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-background, transparent);\n}\n\n.scrollbar::-webkit-scrollbar-thumb {\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)));\n}\n\n\n:host {\n display: flex;\n flex-direction: column;\n width: 100%;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));\n position: relative;\n z-index: 10;\n height: var(--rtk-space-12, 48px);\n min-height: 48px;\n}\n\n.dropdown-trigger {\n height: 100%;\n width: 100%;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n padding: var(--rtk-space-4, 16px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));\n font-size: 14px;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n cursor: pointer;\n position: absolute;\n z-index: 20;\n}\n\n.dropdown-trigger span {\n display: flex;\n flex: 1 1 0%;\n align-items: center;\n justify-content: space-between;\n}\n\n.dropdown-trigger rtk-icon {\n margin-left: var(--rtk-space-1, 4px);\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n flex-shrink: 0;\n}\n\n@container chatcontainer (height < 360px) {\n .dropdown-trigger {\n padding: var(--rtk-space-2, 8px);\n }\n .dropdown {\n top: var(--rtk-space-8, 32px) !important;\n }\n .search-container {\n padding-left: var(--rtk-space-0, 0px) !important;\n padding-right: var(--rtk-space-0, 0px) !important;\n padding-top: var(--rtk-space-0, 0px) !important;\n padding-bottom: var(--rtk-space-0, 0px) !important;\n }\n input {\n height: var(--rtk-space-8, 32px) !important;\n border-radius: var(--rtk-border-radius-none, 0) !important;\n }\n .channel {\n height: var(--rtk-space-8, 32px) !important;\n border-radius: var(--rtk-border-radius-sm, 4px) !important;\n }\n .avatar-icon {\n height: var(--rtk-space-3, 12px) !important;\n width: var(--rtk-space-3, 12px) !important;\n padding: var(--rtk-space-1, 4px) !important;\n }\n\n rtk-avatar {\n height: var(--rtk-space-5, 20px) !important;\n width: var(--rtk-space-5, 20px) !important;\n }\n}\n\n.dropdown {\n position: absolute;\n width: 100%;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));\n top: var(--rtk-space-12, 48px);\n z-index: 10;\n animation: 0.3s slide-down ease;\n}\n\n.dropdown .channels-container {\n max-height: var(--rtk-space-80, 320px);\n}\n\n.list {\n display: flex;\n flex-direction: column;\n}\n\n.list .channel .channel-data {\n align-items: flex-start;\n}\n\n.unread-count {\n display: flex;\n justify-content: center;\n height: var(--rtk-space-5, 20px);\n min-width: var(--rtk-space-3, 12px);\n border-radius: 9999px;\n padding-left: var(--rtk-space-1, 4px);\n padding-right: var(--rtk-space-1, 4px);\n font-size: 12px;\n line-height: 1.25rem;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\ninput {\n height: var(--rtk-space-9, 36px);\n width: 100%;\n padding-left: var(--rtk-space-3, 12px);\n padding-right: var(--rtk-space-3, 12px);\n box-sizing: border-box;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n outline: 2px solid transparent;\n outline-offset: 2px;\n border-radius: var(--rtk-border-radius-sm, 4px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\n.search-container {\n display: flex;\n flex-shrink: 0;\n flex-grow: 0;\n flex-basis: auto;\n align-items: center;\n padding-top: var(--rtk-space-3, 12px);\n padding-bottom: var(--rtk-space-3, 12px);\n padding-left: var(--rtk-space-2, 8px);\n padding-right: var(--rtk-space-2, 8px);\n border-bottom: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.search-container rtk-icon {\n margin-left: calc(var(--rtk-space-8, 32px) * -1);\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n color: rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76));\n}\n\n.channels-container {\n display: flex;\n flex-direction: column;\n gap: var(--rtk-space-1, 4px);\n padding: var(--rtk-space-2, 8px);\n flex: 1 1 auto;\n overflow-y: auto;\n}\n\n.channel {\n flex-shrink: 0;\n box-sizing: border-box;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n background-color: transparent;\n outline: 2px solid transparent;\n outline-offset: 2px;\n cursor: pointer;\n border-radius: var(--rtk-border-radius-md, 8px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--rtk-space-2, 8px);\n height: var(--rtk-space-16, 64px);\n width: 100%;\n padding-left: var(--rtk-space-2, 8px);\n padding-right: var(--rtk-space-3, 12px);\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.channel:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n}\n\n.channel .channel-data {\n flex: 1 1 0%;\n align-items: center;\n justify-content: space-between;\n display: flex;\n gap: var(--rtk-space-2, 8px);\n}\n\n.channel .name {\n font-size: 16px;\n}\n\n.channel .name, \n .channel .last-message {\n max-width: var(--rtk-space-40, 160px);\n text-align: left;\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n}\n\n.channel .no-message {\n font-style: italic;\n}\n\n.channel rtk-avatar {\n height: var(--rtk-space-12, 48px);\n width: var(--rtk-space-12, 48px);\n overflow: clip;\n border-radius: 9999px;\n font-size: 14px;\n}\n\n.channel .avatar-icon {\n height: var(--rtk-space-6, 24px);\n width: var(--rtk-space-6, 24px);\n padding: var(--rtk-space-3, 12px);\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n overflow: clip;\n border-radius: 9999px;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n}\n\n.channel time, \n .channel .last-message {\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76));\n}\n\n.channel.active {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\n.channel.active .unread-count {\n background-color: rgb(var(--rtk-colors-text-on-brand-800, var(--rtk-colors-text-800, 255 255 255 / 0.76)));\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity));\n}\n\n.channel.active time {\n color: rgb(var(--rtk-colors-text-on-brand-800, var(--rtk-colors-text-800, 255 255 255 / 0.76)));\n}\n\n.channel.active .last-message {\n color: rgb(var(--rtk-colors-text-on-brand-700, var(--rtk-colors-text-700, 255 255 255 / 0.64)));\n}\n\n.channel.active rtk-avatar {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\n.col {\n gap: var(--rtk-space-1, 4px);\n display: flex;\n flex-direction: column;\n}\n\n.channel-meta {\n flex-shrink: 0;\n align-items: flex-end;\n}\n\n@keyframes slide-down {\n from {\n transform: translateY(-50px);\n }\n to {\n transform: translateY(0%);\n }\n}\n";
|
|
@@ -21,7 +21,7 @@ function alphabeticalSorter(a, b) {
|
|
|
21
21
|
return a.localeCompare(b);
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Generate a unique chat group key used in `<rtk-chat-
|
|
24
|
+
* Generate a unique chat group key used in `<rtk-chat /> and <rtk-chat-selector-ui />`
|
|
25
25
|
* @param ids An array of user ids
|
|
26
26
|
* @returns A unique key from the user ids
|
|
27
27
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
|
|
2
|
-
import { e as defaultIconPack, h as useLanguage } from './p-
|
|
3
|
-
import { S as SyncWithStore } from './p-
|
|
2
|
+
import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
|
|
3
|
+
import { S as SyncWithStore } from './p-47c25f64.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-fa8f6b4a.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;
|