@cloudflare/realtimekit-ui 1.0.3-staging.4 → 1.0.4-staging.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/{TextMessage-87c1e5a0.js → TextMessage-b9599251.js} +1 -1
- package/dist/cjs/{chat-6d305b71.js → chat-aac81e73.js} +1 -1
- package/dist/cjs/{debounce-6dabb441.js → debounce-8ebb7833.js} +6 -6
- package/dist/cjs/index-2ae99c70.js +88 -0
- package/dist/cjs/index.cjs.js +17 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/merge-ee976be5.js +575 -0
- package/dist/cjs/{config-9632c81a.js → notification-541b7cfa.js} +39 -576
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +4 -2
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +4 -7
- package/dist/cjs/rtk-ai.cjs.entry.js +8 -3
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +6 -3
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +8 -3
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +11 -11
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +385 -297
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +4 -2
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +12 -7
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +4 -2
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +8 -3
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +6 -6
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +6 -4
- package/dist/cjs/rtk-clock.cjs.entry.js +5 -5
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-controlbar.cjs.entry.js +7 -4
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +8 -3
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +3 -3
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +7 -5
- package/dist/cjs/rtk-grid.cjs.entry.js +14 -11
- package/dist/cjs/rtk-header.cjs.entry.js +7 -4
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +7 -4
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +3 -3
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/rtk-leave-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +4 -4
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +6 -6
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +6 -7
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +4 -2
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +10 -5
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +4 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +3 -3
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +8 -5
- package/dist/cjs/rtk-participant_2.cjs.entry.js +21 -19
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +29 -13
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participants.cjs.entry.js +13 -9
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +8 -3
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +7 -4
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +15 -9
- package/dist/cjs/rtk-poll_2.cjs.entry.js +5 -5
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +5 -5
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +7 -7
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +5 -5
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings.cjs.entry.js +3 -3
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +11 -5
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar.cjs.entry.js +13 -4
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +9 -4
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +8 -5
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcripts.cjs.entry.js +10 -10
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +127 -57
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +7 -4
- package/dist/cjs/{sidebar-8256d60e.js → sidebar-8b82a470.js} +1 -1
- package/dist/cjs/{ui-store-7807fa2a.js → ui-store-af000a8e.js} +2419 -13
- package/dist/collection/components/rtk-ai/rtk-ai.js +8 -3
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +2 -0
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +4 -1
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +6 -1
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +3 -3
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +11 -9
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +4 -4
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -0
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +2 -2
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +2 -0
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +8 -3
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +2 -2
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +2 -2
- 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/rtk-chat.js +8 -4
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +2 -2
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +7 -7
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +4 -4
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +4 -4
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +3 -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 +7 -4
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +1 -1
- package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +6 -3
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +9 -3
- 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-ended-screen/rtk-ended-screen.js +8 -3
- 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 -3
- 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-grid/rtk-grid.js +14 -12
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +5 -3
- package/dist/collection/components/rtk-header/rtk-header.js +7 -4
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +7 -4
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +5 -5
- 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 +2 -2
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +7 -4
- 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-livestream-indicator/rtk-livestream-indicator.js +1 -1
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +4 -4
- package/dist/collection/components/rtk-logo/rtk-logo.js +6 -3
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +119 -64
- 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-mic-toggle/rtk-mic-toggle.js +2 -0
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +3 -3
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +11 -6
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +2 -0
- 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-notifications/rtk-notifications.js +13 -7
- 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 +18 -15
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +8 -5
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +10 -5
- package/dist/collection/components/rtk-participants/rtk-participants.js +12 -7
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +3 -3
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +10 -7
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +9 -4
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +2 -2
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +9 -4
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +7 -4
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +8 -3
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +7 -4
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
- package/dist/collection/components/rtk-poll/rtk-poll.js +2 -2
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
- package/dist/collection/components/rtk-polls/rtk-polls.js +10 -7
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +3 -3
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
- package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +2 -2
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +11 -5
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +12 -3
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +9 -4
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +2 -2
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +8 -5
- package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +2 -3
- package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +7 -4
- 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 -3
- 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-transcripts/rtk-transcripts.js +9 -6
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.css +41 -3
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +162 -93
- 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 +7 -4
- package/dist/collection/exports.js +2 -2
- package/dist/collection/lib/builder/index.js +2 -2
- package/dist/collection/lib/default-ui-config.js +4 -0
- package/dist/collection/utils/config.js +2 -2
- package/dist/collection/utils/sync-with-store/index.js +66 -4
- package/dist/collection/utils/sync-with-store/ui-store.js +77 -15
- package/dist/components/index.js +6 -6
- package/dist/components/{p-cc6ff913.js → p-04dc0331.js} +17 -12
- package/dist/components/{p-a09473cb.js → p-095e6b83.js} +2 -2
- package/dist/components/{p-01788fc5.js → p-09ec425b.js} +6 -6
- package/dist/components/{p-79534847.js → p-0a0515d9.js} +4 -4
- package/dist/components/{p-cfbb9bd9.js → p-0b9cf1da.js} +4 -4
- package/dist/components/{p-de567bdf.js → p-0c855484.js} +6 -6
- package/dist/components/{p-6631e984.js → p-0f10661d.js} +3 -3
- package/dist/components/{p-20c74379.js → p-1035acb6.js} +3 -3
- package/dist/components/{p-afc2ce7b.js → p-12e64755.js} +3 -3
- package/dist/components/{p-7916d083.js → p-17ac0da7.js} +6 -3
- package/dist/components/{p-a08b5a59.js → p-1dca17d1.js} +1 -1
- package/dist/components/{p-a0000935.js → p-1f5e21d0.js} +11 -8
- package/dist/components/{p-23d64784.js → p-24c3ffc2.js} +4 -4
- package/dist/components/{p-fc4484ae.js → p-2b523e10.js} +2233 -14
- package/dist/components/{p-1f0c5462.js → p-2d58e36e.js} +6 -6
- package/dist/components/{p-77338347.js → p-2ee6390c.js} +11 -8
- package/dist/components/{p-c1f57f6b.js → p-2f9525bf.js} +4 -4
- package/dist/components/{p-ff6d9602.js → p-3081fabf.js} +5 -5
- package/dist/components/{p-eab1b7c1.js → p-310a03ac.js} +16 -16
- package/dist/components/{p-9b7dc3b2.js → p-32584f88.js} +6 -6
- package/dist/components/{p-153e1ac6.js → p-36b8529e.js} +6 -6
- package/dist/components/{p-efda30dd.js → p-37f70cfb.js} +4 -4
- package/dist/components/{p-b76deed8.js → p-384919de.js} +15 -15
- package/dist/components/{p-9007d4aa.js → p-388b17ad.js} +6 -6
- package/dist/components/p-3968315b.js +86 -0
- package/dist/components/{p-c86a0f9e.js → p-40870ba7.js} +9 -9
- package/dist/components/{p-8804314e.js → p-47a6f5a0.js} +3 -4
- package/dist/components/{p-cac807c5.js → p-47f6fdfa.js} +4 -4
- package/dist/components/{p-14c496c6.js → p-483894c7.js} +9 -6
- package/dist/components/{p-8c391f68.js → p-4bb5e9bb.js} +14 -14
- package/dist/components/{p-2507c6c8.js → p-4c2acc5c.js} +1 -1
- package/dist/components/{p-d8be719c.js → p-4f585ec2.js} +13 -13
- package/dist/components/{p-6d3c8a73.js → p-5255d2f8.js} +10 -10
- package/dist/components/{p-65e9c741.js → p-52628938.js} +6 -6
- package/dist/components/{p-b1161cb8.js → p-54de25c6.js} +3 -3
- package/dist/components/{p-97ce630d.js → p-557d4076.js} +15 -12
- package/dist/components/{p-22f2908e.js → p-5677f439.js} +4 -4
- package/dist/components/{p-ed0df5b1.js → p-57973e22.js} +4 -4
- package/dist/components/{p-2e9c3dd2.js → p-616cfbd8.js} +12 -9
- package/dist/components/{p-2c3cda13.js → p-632cbbe7.js} +25 -25
- package/dist/components/{p-11048ea8.js → p-65980189.js} +18 -16
- package/dist/components/{p-4b89a5d6.js → p-6b4eccd6.js} +6 -6
- package/dist/components/{p-b29a58cd.js → p-6c351e40.js} +14 -9
- package/dist/components/{p-f0df8c15.js → p-7525d343.js} +4 -4
- package/dist/components/{p-eba76ab4.js → p-7764b66b.js} +32 -26
- package/dist/components/{p-2df5f773.js → p-792de3bc.js} +3 -3
- package/dist/components/{p-7afb8f24.js → p-7ac93e47.js} +2 -2
- package/dist/components/{p-40a18d12.js → p-7d95084a.js} +7 -7
- package/dist/components/{p-9b675f4f.js → p-7f4b9092.js} +24 -21
- package/dist/components/{p-07c5a2da.js → p-80efd900.js} +17 -11
- package/dist/components/{p-cbc8e449.js → p-81a13bf2.js} +5 -5
- package/dist/components/{p-8d07e4b3.js → p-8320939f.js} +9 -9
- package/dist/components/{p-01b76741.js → p-87ae32cb.js} +9 -9
- package/dist/components/{p-1cc409c6.js → p-885dad3e.js} +5 -5
- package/dist/components/{p-1590eea9.js → p-889bc7b9.js} +5 -5
- package/dist/components/{p-ba8208ac.js → p-8afd3f68.js} +5 -5
- package/dist/components/{p-f77fe02e.js → p-8d93417e.js} +8 -8
- package/dist/components/{p-a575deb5.js → p-93355c43.js} +1 -1
- package/dist/components/{p-f634f020.js → p-938ee31c.js} +4 -4
- package/dist/components/{p-e9c999f4.js → p-96362151.js} +6 -6
- package/dist/components/{p-783ab170.js → p-96e2ff79.js} +8 -8
- package/dist/components/{p-7a1b0433.js → p-99303d10.js} +1 -1
- package/dist/components/{p-eaa808b7.js → p-9f843e5a.js} +9 -9
- package/dist/components/{p-3d5214b4.js → p-9f86929b.js} +8 -8
- package/dist/components/{p-60b29ed0.js → p-a10339f4.js} +5 -5
- package/dist/components/{p-ebb19a87.js → p-ab84cfbb.js} +8 -5
- package/dist/components/{p-b2b2e917.js → p-acbb932e.js} +2 -2
- package/dist/components/{p-11b00854.js → p-b53c309c.js} +6 -6
- package/dist/components/{p-c1a12313.js → p-b8baba9f.js} +60 -56
- package/dist/components/p-b8fe19b6.js +574 -0
- package/dist/components/{p-3358d7dc.js → p-b9e78c21.js} +1 -1
- package/dist/components/{p-5597fe9f.js → p-bee7d918.js} +9 -9
- package/dist/components/{p-1c22a3a0.js → p-bf72bb45.js} +10 -10
- package/dist/components/{p-85665c03.js → p-c254f63b.js} +9 -6
- package/dist/{esm/config-407ad80b.js → components/p-c5fd7cc6.js} +4 -575
- package/dist/components/{p-e902ab68.js → p-c65aaf73.js} +18 -18
- package/dist/components/{p-a73161da.js → p-cadee920.js} +1 -1
- package/dist/components/{p-b1030316.js → p-d1084f45.js} +2 -2
- package/dist/components/{p-8eea1b4d.js → p-d4f3d3d2.js} +11 -6
- package/dist/components/{p-9e5b47ea.js → p-dc3143c0.js} +3 -3
- package/dist/components/{p-b5dc3971.js → p-e10e8a56.js} +12 -12
- package/dist/components/{p-a59e060b.js → p-ea160150.js} +2 -2
- package/dist/components/{p-7dcce90b.js → p-f1a781b0.js} +4 -4
- package/dist/components/{p-65da3d17.js → p-f31839f4.js} +5 -5
- package/dist/components/{p-7d76715d.js → p-f3f1b0c0.js} +3 -3
- package/dist/components/{p-287eadbd.js → p-f3fbe2fb.js} +6 -6
- package/dist/components/{p-fab54b49.js → p-f44a0212.js} +4 -4
- package/dist/components/{p-f4158e29.js → p-f8594d8e.js} +2 -2
- package/dist/components/{p-d5ce79e0.js → p-fb038bd0.js} +6 -6
- package/dist/components/{p-0daa472f.js → p-fbe523dc.js} +8 -8
- package/dist/components/{p-273196ec.js → p-fc56c6ea.js} +6 -6
- package/dist/components/rtk-ai-toggle.js +7 -5
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +11 -6
- package/dist/components/rtk-audio-grid.js +6 -3
- package/dist/components/rtk-audio-tile.js +12 -7
- 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 +7 -5
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-button.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +8 -6
- package/dist/components/rtk-caption-toggle.js +11 -6
- 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 +8 -8
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +8 -8
- 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-selector-ui.js +3 -3
- package/dist/components/rtk-chat-toggle.js +9 -7
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +6 -6
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +7 -4
- 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 +6 -6
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +1 -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 +10 -5
- package/dist/components/rtk-file-dropzone.js +4 -4
- 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 +10 -8
- package/dist/components/rtk-grid.js +22 -19
- package/dist/components/rtk-header.js +7 -4
- package/dist/components/rtk-icon.js +1 -1
- package/dist/components/rtk-idle-screen.js +10 -7
- 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 +5 -5
- package/dist/components/rtk-information-tooltip.js +4 -4
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +6 -6
- 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 +9 -9
- 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 +173 -109
- 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 +8 -8
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +8 -6
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +16 -11
- package/dist/components/rtk-more-toggle.js +7 -7
- package/dist/components/rtk-mute-all-button.js +8 -6
- 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 +3 -3
- 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-count.js +3 -3
- package/dist/components/rtk-participant-setup.js +8 -5
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +8 -8
- 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 +8 -8
- 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 +27 -22
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +11 -6
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +7 -7
- 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 +6 -6
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +4 -4
- package/dist/components/rtk-recording-toggle.js +8 -8
- package/dist/components/rtk-screen-share-toggle.js +6 -6
- package/dist/components/rtk-screenshare-view.js +10 -10
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +6 -6
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +13 -13
- package/dist/components/rtk-setup-screen.js +17 -11
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +21 -12
- package/dist/components/rtk-simple-grid.js +9 -4
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +8 -5
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +8 -8
- 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 +10 -8
- package/dist/components/rtk-ui-provider.js +130 -58
- 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 +8 -5
- package/dist/docs/docs-components.json +84 -122
- package/dist/docs/docs-vscode.json +10 -2
- package/dist/esm/{TextMessage-3e08c5e1.js → TextMessage-a699d8da.js} +1 -1
- package/dist/esm/{chat-927074dc.js → chat-0fec85e9.js} +1 -1
- package/dist/esm/{debounce-ea0579b2.js → debounce-29e3a983.js} +1 -1
- package/dist/esm/index-21637ec2.js +86 -0
- package/dist/esm/index.js +7 -9
- package/dist/esm/loader.js +18560 -18143
- package/dist/esm/merge-ef938315.js +573 -0
- package/dist/{components/p-31f1e8e5.js → esm/notification-deef1123.js} +38 -575
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-toggle.entry.js +4 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +3 -6
- package/dist/esm/rtk-ai.entry.js +8 -3
- package/dist/esm/rtk-audio-grid.entry.js +6 -3
- package/dist/esm/rtk-audio-tile.entry.js +8 -3
- package/dist/esm/rtk-audio-visualizer_4.entry.js +11 -11
- package/dist/esm/rtk-avatar_54.entry.js +382 -294
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +4 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +12 -7
- package/dist/esm/rtk-camera-toggle.entry.js +4 -2
- package/dist/esm/rtk-caption-toggle.entry.js +8 -3
- 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-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +6 -4
- package/dist/esm/rtk-clock.entry.js +5 -5
- package/dist/esm/rtk-controlbar-button.entry.js +3 -3
- package/dist/esm/rtk-controlbar.entry.js +7 -4
- package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
- package/dist/esm/rtk-ended-screen.entry.js +8 -3
- package/dist/esm/rtk-file-dropzone.entry.js +3 -3
- package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
- package/dist/esm/rtk-grid-pagination.entry.js +7 -5
- package/dist/esm/rtk-grid.entry.js +14 -11
- package/dist/esm/rtk-header.entry.js +7 -4
- package/dist/esm/rtk-idle-screen.entry.js +7 -4
- package/dist/esm/rtk-image-viewer.entry.js +3 -3
- 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 +4 -4
- package/dist/esm/rtk-livestream-toggle.entry.js +6 -6
- package/dist/esm/rtk-meeting-title.entry.js +2 -2
- package/dist/esm/rtk-message-list-view.entry.js +6 -7
- package/dist/esm/rtk-mic-toggle.entry.js +4 -2
- package/dist/esm/rtk-mixed-grid.entry.js +10 -5
- package/dist/esm/rtk-more-toggle.entry.js +4 -4
- package/dist/esm/rtk-mute-all-button.entry.js +4 -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-participant-count.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +8 -5
- package/dist/esm/rtk-participant_2.entry.js +21 -19
- package/dist/esm/rtk-participants-audio.entry.js +5 -5
- package/dist/esm/rtk-participants-stage-list_4.entry.js +29 -13
- package/dist/esm/rtk-participants-toggle.entry.js +5 -5
- package/dist/esm/rtk-participants.entry.js +13 -9
- package/dist/esm/rtk-pip-toggle.entry.js +8 -3
- package/dist/esm/rtk-plugin-main_2.entry.js +7 -4
- package/dist/esm/rtk-plugins-toggle.entry.js +4 -4
- package/dist/esm/rtk-plugins_2.entry.js +15 -9
- package/dist/esm/rtk-poll_2.entry.js +5 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/esm/rtk-settings-toggle.entry.js +3 -3
- package/dist/esm/rtk-settings.entry.js +3 -3
- package/dist/esm/rtk-setup-screen.entry.js +11 -5
- package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
- package/dist/esm/rtk-sidebar.entry.js +13 -4
- package/dist/esm/rtk-simple-grid.entry.js +9 -4
- package/dist/esm/rtk-spotlight-grid.entry.js +8 -5
- package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
- package/dist/esm/rtk-stage-toggle.entry.js +4 -4
- 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 +9 -9
- package/dist/esm/rtk-ui-provider.entry.js +127 -57
- package/dist/esm/rtk-waiting-screen.entry.js +7 -4
- package/dist/esm/{sidebar-50d89918.js → sidebar-c47b86b4.js} +1 -1
- package/dist/esm/{ui-store-1b477153.js → ui-store-fabf2b32.js} +2395 -14
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/p-05b3a3fa.entry.js +1 -0
- package/dist/realtimekit-ui/p-08628c03.entry.js +1 -0
- package/dist/realtimekit-ui/p-0f5681eb.entry.js +1 -0
- package/dist/realtimekit-ui/p-116eabc9.entry.js +1 -0
- package/dist/realtimekit-ui/p-17c4a39a.entry.js +1 -0
- package/dist/realtimekit-ui/{p-fa03ab98.entry.js → p-18618102.entry.js} +1 -1
- package/dist/realtimekit-ui/p-18ca0ccd.entry.js +1 -0
- package/dist/realtimekit-ui/p-199f622a.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c203aff3.js → p-1f3bfcdb.js} +1 -1
- package/dist/realtimekit-ui/p-23893740.entry.js +1 -0
- package/dist/realtimekit-ui/{p-da56f340.entry.js → p-28ac7dfd.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2bd5be73.js +1 -0
- package/dist/realtimekit-ui/p-2d0676a9.entry.js +1 -0
- package/dist/realtimekit-ui/p-309def3e.entry.js +1 -0
- package/dist/realtimekit-ui/p-30fe4bbf.entry.js +1 -0
- package/dist/realtimekit-ui/p-33c173a8.entry.js +1 -0
- package/dist/realtimekit-ui/p-375c10a2.entry.js +1 -0
- package/dist/realtimekit-ui/{p-9a2536ed.entry.js → p-37a218a8.entry.js} +1 -1
- package/dist/realtimekit-ui/p-38c18a6b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-efbe07a6.entry.js → p-393ff18f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a08b5a59.js → p-3956d569.js} +1 -1
- package/dist/realtimekit-ui/p-3b14c478.entry.js +1 -0
- package/dist/realtimekit-ui/{p-0787a8a4.entry.js → p-3eb310d3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6f487b93.entry.js → p-420629b1.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4265c450.entry.js +1 -0
- package/dist/realtimekit-ui/p-458b4f23.entry.js +1 -0
- package/dist/realtimekit-ui/p-4a2d51d2.entry.js +1 -0
- package/dist/realtimekit-ui/p-51fd9745.js +1 -0
- package/dist/realtimekit-ui/p-526f1a76.js +1 -0
- package/dist/realtimekit-ui/p-52b25934.js +1 -0
- package/dist/realtimekit-ui/p-542f52e9.entry.js +1 -0
- package/dist/realtimekit-ui/p-586b8e78.entry.js +1 -0
- package/dist/realtimekit-ui/p-59837fe1.entry.js +1 -0
- package/dist/realtimekit-ui/p-59cd209a.entry.js +1 -0
- package/dist/realtimekit-ui/p-5d60f101.entry.js +1 -0
- package/dist/realtimekit-ui/{p-221efc53.entry.js → p-67ff2615.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bf5ecc7c.js → p-6cd96b58.js} +1 -1
- package/dist/realtimekit-ui/p-6f24d78f.entry.js +1 -0
- package/dist/realtimekit-ui/p-716f90a3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d9138a0d.entry.js → p-76bcc78d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-7bae9d05.entry.js +1 -0
- package/dist/realtimekit-ui/p-82520fc0.entry.js +1 -0
- package/dist/realtimekit-ui/p-86d3632a.entry.js +1 -0
- package/dist/realtimekit-ui/p-87a8cbc2.entry.js +1 -0
- package/dist/realtimekit-ui/p-881f7e61.entry.js +1 -0
- package/dist/realtimekit-ui/p-9b8a0f9b.entry.js +1 -0
- package/dist/realtimekit-ui/p-9c5cb84c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-7965a765.entry.js → p-a02141f1.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a29ad4d8.entry.js +1 -0
- package/dist/realtimekit-ui/p-a33714b1.entry.js +1 -0
- package/dist/realtimekit-ui/p-a5512788.entry.js +1 -0
- package/dist/realtimekit-ui/p-a6802383.entry.js +1 -0
- package/dist/realtimekit-ui/p-a80ce945.entry.js +1 -0
- package/dist/realtimekit-ui/p-ad5fc6df.entry.js +1 -0
- package/dist/realtimekit-ui/p-af81e9cf.entry.js +1 -0
- package/dist/realtimekit-ui/p-af95d40e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-4bace64f.entry.js → p-b616deb3.entry.js} +1 -1
- package/dist/realtimekit-ui/p-bd103adc.entry.js +1 -0
- package/dist/realtimekit-ui/p-c2f35fc7.entry.js +1 -0
- package/dist/realtimekit-ui/p-c31bcf97.entry.js +1 -0
- package/dist/realtimekit-ui/p-cde200c4.entry.js +1 -0
- package/dist/realtimekit-ui/p-d0ec8218.entry.js +1 -0
- package/dist/realtimekit-ui/p-d2998b1e.entry.js +1 -0
- package/dist/realtimekit-ui/p-de42b31f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c4fc57c1.entry.js → p-e0303097.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e368f30f.entry.js +1 -0
- package/dist/realtimekit-ui/p-e48166db.entry.js +1 -0
- package/dist/realtimekit-ui/p-e77e5cef.entry.js +1 -0
- package/dist/realtimekit-ui/p-e872d214.entry.js +1 -0
- package/dist/realtimekit-ui/p-e8e68c22.entry.js +1 -0
- package/dist/realtimekit-ui/p-eae4e83b.js +1 -0
- package/dist/realtimekit-ui/p-ef3ac9e9.entry.js +1 -0
- package/dist/realtimekit-ui/{p-629258de.entry.js → p-efc9cddb.entry.js} +1 -1
- package/dist/realtimekit-ui/p-f16ed5c8.entry.js +1 -0
- package/dist/realtimekit-ui/p-f2af9690.entry.js +1 -0
- package/dist/realtimekit-ui/p-f7cc7f81.entry.js +1 -0
- package/dist/realtimekit-ui/p-fdc0d8cc.entry.js +1 -0
- package/dist/realtimekit-ui/p-fdec3315.entry.js +1 -0
- package/dist/realtimekit-ui/p-ff4f156f.entry.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +13 -3
- package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +13 -8
- package/dist/types/components.d.ts +10 -10
- package/dist/types/exports.d.ts +2 -2
- package/dist/types/lib/default-ui-config.d.ts +1 -0
- package/dist/types/utils/sync-with-store/ui-store.d.ts +23 -7
- package/package.json +1 -1
- package/dist/cjs/clone-2e9a4cae.js +0 -754
- package/dist/cjs/index-49c92728.js +0 -26
- package/dist/cjs/isObjectLike-73d13a39.js +0 -171
- package/dist/cjs/keysIn-8bdbe83d.js +0 -1438
- package/dist/cjs/notification-6d70e3a8.js +0 -39
- package/dist/components/p-46923b34.js +0 -1409
- package/dist/components/p-989a34c9.js +0 -24
- package/dist/components/p-c15d924f.js +0 -752
- package/dist/esm/clone-acd4af50.js +0 -752
- package/dist/esm/index-3481d5b2.js +0 -24
- package/dist/esm/isObjectLike-773b9473.js +0 -164
- package/dist/esm/keysIn-310f65c1.js +0 -1409
- package/dist/esm/notification-2ab22a76.js +0 -37
- package/dist/realtimekit-ui/p-0215809e.entry.js +0 -1
- package/dist/realtimekit-ui/p-076d6fb1.entry.js +0 -1
- package/dist/realtimekit-ui/p-0df0bc3b.entry.js +0 -1
- package/dist/realtimekit-ui/p-0f91e886.entry.js +0 -1
- package/dist/realtimekit-ui/p-11a81411.entry.js +0 -1
- package/dist/realtimekit-ui/p-14284891.entry.js +0 -1
- package/dist/realtimekit-ui/p-14350b0d.entry.js +0 -1
- package/dist/realtimekit-ui/p-15e0e0fc.entry.js +0 -1
- package/dist/realtimekit-ui/p-17588509.entry.js +0 -1
- package/dist/realtimekit-ui/p-1abb4841.entry.js +0 -1
- package/dist/realtimekit-ui/p-293547d1.entry.js +0 -1
- package/dist/realtimekit-ui/p-2c3cda13.js +0 -1
- package/dist/realtimekit-ui/p-2ed8953f.entry.js +0 -1
- package/dist/realtimekit-ui/p-3c46bebb.entry.js +0 -1
- package/dist/realtimekit-ui/p-3e54f3e8.entry.js +0 -1
- package/dist/realtimekit-ui/p-4023c083.js +0 -1
- package/dist/realtimekit-ui/p-44c22bd9.entry.js +0 -1
- package/dist/realtimekit-ui/p-46923b34.js +0 -1
- package/dist/realtimekit-ui/p-49602b35.entry.js +0 -1
- package/dist/realtimekit-ui/p-4bcf9db7.entry.js +0 -1
- package/dist/realtimekit-ui/p-5444d39b.entry.js +0 -1
- package/dist/realtimekit-ui/p-546ff22a.entry.js +0 -1
- package/dist/realtimekit-ui/p-5b277ae0.entry.js +0 -1
- package/dist/realtimekit-ui/p-63064c88.entry.js +0 -1
- package/dist/realtimekit-ui/p-64514c63.entry.js +0 -1
- package/dist/realtimekit-ui/p-67a1126f.entry.js +0 -1
- package/dist/realtimekit-ui/p-67dcfbf3.entry.js +0 -1
- package/dist/realtimekit-ui/p-6f56ad30.entry.js +0 -1
- package/dist/realtimekit-ui/p-6fd65de6.entry.js +0 -1
- package/dist/realtimekit-ui/p-7597f3ea.entry.js +0 -1
- package/dist/realtimekit-ui/p-7ade6183.entry.js +0 -1
- package/dist/realtimekit-ui/p-7e96fb7b.entry.js +0 -1
- package/dist/realtimekit-ui/p-86afa8c3.entry.js +0 -1
- package/dist/realtimekit-ui/p-8819f726.entry.js +0 -1
- package/dist/realtimekit-ui/p-89543b39.entry.js +0 -1
- package/dist/realtimekit-ui/p-8e869d13.entry.js +0 -1
- package/dist/realtimekit-ui/p-9274e173.entry.js +0 -1
- package/dist/realtimekit-ui/p-9d038c16.entry.js +0 -1
- package/dist/realtimekit-ui/p-9d8e8a27.entry.js +0 -1
- package/dist/realtimekit-ui/p-9de3f942.entry.js +0 -1
- package/dist/realtimekit-ui/p-a42c0e83.entry.js +0 -1
- package/dist/realtimekit-ui/p-a4922241.js +0 -1
- package/dist/realtimekit-ui/p-a845c29f.entry.js +0 -1
- package/dist/realtimekit-ui/p-a8b7c6a2.entry.js +0 -1
- package/dist/realtimekit-ui/p-ac8a0151.entry.js +0 -1
- package/dist/realtimekit-ui/p-acd86770.entry.js +0 -1
- package/dist/realtimekit-ui/p-b15377a2.entry.js +0 -1
- package/dist/realtimekit-ui/p-b5af8a86.entry.js +0 -1
- package/dist/realtimekit-ui/p-b965ac1d.entry.js +0 -1
- package/dist/realtimekit-ui/p-c15d924f.js +0 -1
- package/dist/realtimekit-ui/p-c1db5ef9.entry.js +0 -1
- package/dist/realtimekit-ui/p-c6837853.entry.js +0 -1
- package/dist/realtimekit-ui/p-c6eb9963.entry.js +0 -1
- package/dist/realtimekit-ui/p-d3bf4348.js +0 -1
- package/dist/realtimekit-ui/p-d560f5c8.entry.js +0 -1
- package/dist/realtimekit-ui/p-d8c2b553.entry.js +0 -1
- package/dist/realtimekit-ui/p-da59b75c.js +0 -1
- package/dist/realtimekit-ui/p-dac97779.js +0 -1
- package/dist/realtimekit-ui/p-dd6d2ca9.entry.js +0 -1
- package/dist/realtimekit-ui/p-e0450660.entry.js +0 -1
- package/dist/realtimekit-ui/p-e0a80608.entry.js +0 -1
- package/dist/realtimekit-ui/p-ea1736c3.entry.js +0 -1
- package/dist/realtimekit-ui/p-eb4025c0.entry.js +0 -1
- package/dist/realtimekit-ui/p-ed87ad1f.entry.js +0 -1
- package/dist/realtimekit-ui/p-f2ba56ec.entry.js +0 -1
- package/dist/realtimekit-ui/p-f3d02201.entry.js +0 -1
- package/dist/realtimekit-ui/p-f78cecba.entry.js +0 -1
|
@@ -11,12 +11,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
11
11
|
import { Host, h } from "@stencil/core";
|
|
12
12
|
import { defaultIconPack } from "../../lib/icons";
|
|
13
13
|
import { useLanguage } from "../../lib/lang";
|
|
14
|
-
import {
|
|
14
|
+
import { createDefaultConfig } from "../../lib/default-ui-config";
|
|
15
15
|
import { SyncWithStore } from "../../utils/sync-with-store";
|
|
16
16
|
export class RtkAi {
|
|
17
17
|
constructor() {
|
|
18
18
|
/** Config */
|
|
19
|
-
this.config =
|
|
19
|
+
this.config = createDefaultConfig();
|
|
20
20
|
/** Icon pack */
|
|
21
21
|
this.iconPack = defaultIconPack;
|
|
22
22
|
/** Language */
|
|
@@ -45,6 +45,8 @@ export class RtkAi {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
var _a, _b, _c;
|
|
48
|
+
if (!this.meeting)
|
|
49
|
+
return null;
|
|
48
50
|
if (!((_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self) === null || _b === void 0 ? void 0 : _b.permissions).transcriptionEnabled ||
|
|
49
51
|
!((_c = this.states) === null || _c === void 0 ? void 0 : _c.activeAI)) {
|
|
50
52
|
return null;
|
|
@@ -141,7 +143,7 @@ export class RtkAi {
|
|
|
141
143
|
},
|
|
142
144
|
"getter": false,
|
|
143
145
|
"setter": false,
|
|
144
|
-
"defaultValue": "
|
|
146
|
+
"defaultValue": "createDefaultConfig()"
|
|
145
147
|
},
|
|
146
148
|
"iconPack": {
|
|
147
149
|
"type": "unknown",
|
|
@@ -281,6 +283,9 @@ __decorate([
|
|
|
281
283
|
__decorate([
|
|
282
284
|
SyncWithStore()
|
|
283
285
|
], RtkAi.prototype, "states", void 0);
|
|
286
|
+
__decorate([
|
|
287
|
+
SyncWithStore()
|
|
288
|
+
], RtkAi.prototype, "config", void 0);
|
|
284
289
|
__decorate([
|
|
285
290
|
SyncWithStore()
|
|
286
291
|
], RtkAi.prototype, "iconPack", void 0);
|
|
@@ -37,6 +37,8 @@ export class RtkAiToggle {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
var _a, _b;
|
|
40
|
+
if (!this.meeting)
|
|
41
|
+
return null;
|
|
40
42
|
const text = this.t('ai.meeting_ai');
|
|
41
43
|
if (!((_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self) === null || _b === void 0 ? void 0 : _b.permissions).transcriptionEnabled) {
|
|
42
44
|
return h(Host, { "data-hidden": true });
|
|
@@ -108,7 +108,7 @@ export class RtkAiTranscriptions {
|
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '94f60db03785e266280aea971d3b998280840be2' }, h("div", { key: '0c709d7013ffd86748abc3a367e9cb504c2a37f5', class: "search-bar" }, h("input", { key: 'd98c6b1eb8835e59ed48d7a07bd12efbf72c9ae1', type: "text", placeholder: "Search Participant", value: this.participantQuery, onInput: (e) => (this.participantQuery = e.target.value) })), this.isProcessing && (h("div", { key: '041a08dd3e14b3d8c35d2d487d30a281f53338a0', class: "processing" }, h("p", { key: 'c4c90b39ca5ad0fd8161f0e3eb96aba38d959c6e' }, "Processing audio...."))), !this.isProcessing && (h("div", { key: '03bd5836324c9865d0e522d86e51701ec305f6ad', class: "content scrollbar", ref: (el) => (this.contentContainer = el) }, h("div", { key: '1df6f1b8cf06aa6f14d5700a7dfa86177bf3a752', class: "started-message" }, "Transcription started"), this.renderTranscripts()))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "rtk-ai-transcriptions"; }
|
|
114
114
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,7 +80,7 @@ export class RtkAudioGrid {
|
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
82
|
const onStage = this.activeParticipants.concat(this.onStageParticipants);
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '168d23a466cf3b4c7b25d2a95968a559cbe67e51' }, h("div", { key: 'cff2b9f9bf08c9d83d076e12b8b0cd0d7b054c49', class: "content scrollbar" }, h("div", { key: '2e4ea5563eb9de04310049a2ed945c851037c1b8', class: "stage grid" }, this.renderGrid(onStage)), this.offStageParticipants.length > 0 && (h("div", { key: '4c8042d69fbb0c6b23ee1ba92da96f759e9fb216', class: "waitlist-area" }, h("div", { key: 'a6a7acd1f3dbee1dc70ab631fa55ea6637810748', class: "listening-title" }, this.offStageParticipants.length, " ", this.t('grid.listening')), h("div", { key: '41fa24716a2d8e3ebc72b133a1a40cb45e4a7070', class: "waitlist-grid grid" }, this.renderGrid(this.offStageParticipants))))), h("slot", { key: '304b5ed0cb1f7f8b2beaf13814442f912b91a46d' })));
|
|
84
84
|
}
|
|
85
85
|
static get is() { return "rtk-audio-grid"; }
|
|
86
86
|
static get encapsulation() { return "shadow"; }
|
|
@@ -278,6 +278,9 @@ export class RtkAudioGrid {
|
|
|
278
278
|
__decorate([
|
|
279
279
|
SyncWithStore()
|
|
280
280
|
], RtkAudioGrid.prototype, "meeting", void 0);
|
|
281
|
+
__decorate([
|
|
282
|
+
SyncWithStore()
|
|
283
|
+
], RtkAudioGrid.prototype, "config", void 0);
|
|
281
284
|
__decorate([
|
|
282
285
|
SyncWithStore()
|
|
283
286
|
], RtkAudioGrid.prototype, "states", void 0);
|
|
@@ -77,6 +77,8 @@ export class RtkAudioTile {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
+
if (!this.meeting)
|
|
81
|
+
return null;
|
|
80
82
|
const defaults = {
|
|
81
83
|
meeting: this.meeting,
|
|
82
84
|
size: this.size,
|
|
@@ -95,7 +97,7 @@ export class RtkAudioTile {
|
|
|
95
97
|
else {
|
|
96
98
|
shadowClass = 'bar-' + this.volume;
|
|
97
99
|
}
|
|
98
|
-
return (h(Host,
|
|
100
|
+
return (h(Host, null, h("div", { class: { 'avatar-ctr': true, speaking: this.audioEnabled, [shadowClass]: true } }, h("rtk-avatar", { participant: this.participant, size: this.size }, !this.audioEnabled && (h("div", { class: "mic-icon" }, h("rtk-icon", { icon: defaultIconPack.mic_off }))))), h("rtk-name-tag", Object.assign({ variant: "text", participant: this.participant }, defaults)), h("slot", null)));
|
|
99
101
|
}
|
|
100
102
|
static get is() { return "rtk-audio-tile"; }
|
|
101
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -294,6 +296,9 @@ export class RtkAudioTile {
|
|
|
294
296
|
__decorate([
|
|
295
297
|
SyncWithStore()
|
|
296
298
|
], RtkAudioTile.prototype, "meeting", void 0);
|
|
299
|
+
__decorate([
|
|
300
|
+
SyncWithStore()
|
|
301
|
+
], RtkAudioTile.prototype, "config", void 0);
|
|
297
302
|
__decorate([
|
|
298
303
|
SyncWithStore()
|
|
299
304
|
], RtkAudioTile.prototype, "size", void 0);
|
|
@@ -115,12 +115,12 @@ export class RtkAudioVisualizer {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: 'ee4ec36b4c9828a6e064e68d00e31c4e17a465e8' }, h("div", { key: 'e07d2ff77cbb1c9f70df5324db43e2356952e0b9', class: {
|
|
119
119
|
hideMuted: this.hideMuted,
|
|
120
|
-
} }, h("canvas", { key: '
|
|
120
|
+
} }, h("canvas", { key: '4699a67cfbc1cdc2867d41483f384bc8582721fc', width: "24", height: "24", class: {
|
|
121
121
|
bars: true,
|
|
122
122
|
visible: this.audioEnabled,
|
|
123
|
-
}, ref: (el) => (this.visualizer = el), part: "canvas" }), !this.isScreenShare && !this.audioEnabled && this.hideMuted !== true && (h("rtk-icon", { key: '
|
|
123
|
+
}, ref: (el) => (this.visualizer = el), part: "canvas" }), !this.isScreenShare && !this.audioEnabled && this.hideMuted !== true && (h("rtk-icon", { key: '45aae6d22e0f15b49c8bbdbe6d754fe1bb30e669', icon: this.iconPack.mic_off, part: "mic-off-icon" })))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "rtk-audio-visualizer"; }
|
|
126
126
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ export class RtkAvatar {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '3ac8e9c14a3389b76dd0e27037a75358bf837fd4' }, this.getAvatar(), h("slot", { key: 'a1b51c492d328a00352cfb6f2a11acb7cdb5fe75' })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "rtk-avatar"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -155,27 +155,29 @@ export class RtkBreakoutRoomManager {
|
|
|
155
155
|
}
|
|
156
156
|
render() {
|
|
157
157
|
var _a, _b, _c;
|
|
158
|
-
|
|
158
|
+
if (!this.meeting)
|
|
159
|
+
return null;
|
|
160
|
+
return (h(Host, null, h("div", { class: {
|
|
159
161
|
'assign-mode': this.assigningParticipants,
|
|
160
162
|
'selector-mode': !this.assigningParticipants,
|
|
161
163
|
'glowing-card': this.glowingCard,
|
|
162
|
-
} }, h("div", {
|
|
164
|
+
} }, h("div", { class: "header" }, h("input", { ref: (el) => (this.inputTextEl = el), placeholder: this.t('breakout_rooms.room_name'), disabled: !(this.editingTitleRoomId === this.room.id), value: this.roomTitle, minlength: ROOM_TITLE_MIN_CHARS, onChange: (e) => {
|
|
163
165
|
this.newTitle = e.target.value;
|
|
164
|
-
}, onKeyPress: (e) => this.onTitleChanged(e), class: { 'editing-enabled': this.editingTitleRoomId === this.room.id }, style: { width: `${this.roomTitle.length + 1}ch` } }), this.editingTitleRoomId !== this.room.id && (h("span", {
|
|
166
|
+
}, onKeyPress: (e) => this.onTitleChanged(e), class: { 'editing-enabled': this.editingTitleRoomId === this.room.id }, style: { width: `${this.roomTitle.length + 1}ch` } }), this.editingTitleRoomId !== this.room.id && (h("span", { class: "participant-count" }, "(", h("rtk-icon", { icon: this.iconPack.people }), (_c = (_b = (_a = this.room) === null || _a === void 0 ? void 0 : _a.participants) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : '0', ")")), this.canEditMeetingTitle && (h("rtk-tooltip", { label: this.editingTitleRoomId === this.room.id
|
|
165
167
|
? this.t('breakout_rooms.save_room_name')
|
|
166
|
-
: this.t('breakout_rooms.edit_room_name') }, h("rtk-icon", {
|
|
168
|
+
: this.t('breakout_rooms.edit_room_name') }, h("rtk-icon", { icon: this.editingTitleRoomId === this.room.id
|
|
167
169
|
? this.iconPack.checkmark
|
|
168
|
-
: this.iconPack.edit, class: "show-on-hover", onClick: this.onEditClick }))), h("div", {
|
|
170
|
+
: this.iconPack.edit, class: "show-on-hover", onClick: this.onEditClick }))), h("div", { class: "rooms-container" }, this.permissions.canAlterConnectedMeetings &&
|
|
169
171
|
!this.room.isParent &&
|
|
170
|
-
this.allowDelete && (h("rtk-tooltip", {
|
|
172
|
+
this.allowDelete && (h("rtk-tooltip", { label: this.t('breakout_rooms.delete'), class: "danger" }, h("rtk-icon", { icon: this.iconPack.delete, class: "show-on-hover", onClick: () => {
|
|
171
173
|
this.deleteRoom.emit();
|
|
172
174
|
} }))), this.assigningParticipants &&
|
|
173
175
|
this.permissions.canAlterConnectedMeetings &&
|
|
174
|
-
!this.room.isParent && (h("rtk-button", {
|
|
176
|
+
!this.room.isParent && (h("rtk-button", { kind: "button", variant: "ghost", class: "assign-button", size: "md", onClick: () => this.onAssign() }, this.t('breakout_rooms.assign'))), this.mode === 'edit' &&
|
|
175
177
|
!this.assigningParticipants &&
|
|
176
|
-
this.permissions.canSwitchConnectedMeetings && (h("rtk-button", {
|
|
178
|
+
this.permissions.canSwitchConnectedMeetings && (h("rtk-button", { kind: "button", variant: "ghost", class: "assign-button", size: "md", disabled: this.room.id === this.meeting.meta.meetingId, onClick: () => this.onJoin() }, this.room.id === this.meeting.meta.meetingId
|
|
177
179
|
? this.t('joined')
|
|
178
|
-
: this.t('join'))), !this.room.isParent && (h("rtk-icon", {
|
|
180
|
+
: this.t('join'))), !this.room.isParent && (h("rtk-icon", { icon: this.showExpandedCard ? this.iconPack.chevron_up : this.iconPack.chevron_down, onClick: () => this.toggleCardDisplay() })))), this.renderExpandedCardMaybe(), this.renderParticipantsMaybe())));
|
|
179
181
|
}
|
|
180
182
|
static get is() { return "rtk-breakout-room-manager"; }
|
|
181
183
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js
CHANGED
|
@@ -58,7 +58,7 @@ export class RtkBreakoutRoomParticipants {
|
|
|
58
58
|
this.searchChanged(this.search);
|
|
59
59
|
}
|
|
60
60
|
disconnectedCallback() {
|
|
61
|
-
if (this.meeting
|
|
61
|
+
if (!this.meeting)
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
64
|
updateSelectedParticipants(participant, selected) {
|
|
@@ -73,7 +73,7 @@ export class RtkBreakoutRoomParticipants {
|
|
|
73
73
|
this.onSelectedParticipantsUpdate.emit(selectedParticipants);
|
|
74
74
|
}
|
|
75
75
|
meetingChanged(meeting) {
|
|
76
|
-
if (meeting
|
|
76
|
+
if (!meeting)
|
|
77
77
|
return;
|
|
78
78
|
this.getParticipants(this.search);
|
|
79
79
|
}
|
|
@@ -99,9 +99,9 @@ export class RtkBreakoutRoomParticipants {
|
|
|
99
99
|
}, size: "sm" }), h("p", { class: "name", title: name }, shorten(name, 16), this.meeting.self.userId === participant.id && ` (${this.t('you')})`)));
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '01a707fa50950501d11428747783c1e9828e6572' }, h("div", { key: '535f80747ddc6b0d7b4c2d3d3bd82464284db304', class: "search-wrapper" }, h("div", { key: '14b0ae5148bc13345df0732eeb299354ce7e3ae4', class: "search", part: "search" }, h("rtk-icon", { key: 'c2eda4fadab2d20b16a95786a763748ee5a5e123', icon: this.iconPack.search, part: "search-icon", class: "search-icon" }), h("input", { key: '71b153979188a4eca0368faad5afe22ad4a65d84', type: "search", autocomplete: "off", placeholder: this.t('search'), onInput: this.onSearchInput, part: "search-input" })), h("slot", { key: '3ce56a86dfa9063150ff586f3333ad1a1e363219', name: "shuffle-button" })), h("div", { key: '2eed52da4d3e61f65b69c5dda8054891182615ac', class: "header" }, h("div", { key: 'c661c77b3fcfaea354456f741d2d816666bf4b68', class: "title-wrapper" }, h("span", { key: 'bc52e54641259a5c8f7eb0c749117444594a2f24' }, this.t('breakout_rooms.main_room')), h("span", { key: '9f84a8c77c7af6df6849103235927c68cafda518', class: "participant-count" }, "(", h("rtk-icon", { key: '34d4139b8fa98d3a1594a34a90774cf3bf5dc589', icon: this.iconPack.people }), this.participantsToShow.length, ")")), this.selectedParticipantIds.length !== 0 && (h("rtk-tooltip", { key: '866cf16aa1666a3cbc6521fadee36a50b168cf21', label: this.t('breakout_rooms.select_all') }, h("input", { key: 'd60fc5c1ee7a8e7b63ed7a9fd804f86bb7c945ed', type: "checkbox", checked: this.selectedParticipantIds.length === this.participantsToShow.length, onChange: (e) => this.onToggleAll(!!e.target.checked) })))), h("div", { key: 'fc8b60be1e14fd6fe92276fae65b357a998ae80a', class: "ctr scrollbar", part: "container" }, this.participantsToShow.length > 0 && (h("ul", { key: '9e76ca169c9c3a3fd3796f8e6f20a7ba19906c8f', class: "participants", part: "participants" }, this.participantsToShow.map((participant) => (h("li", { class: { 'participant-item': true, dragging: this.isDragging }, onClick: () => this.onClick(participant), onDragStart: () => this.onDragStart(participant), onDragEnd: () => this.onDragEnd(participant), draggable: this.selectedParticipantIds.length === 0, role: "listitem", key: participant.id }, this.renderPeer(participant), !this.isDragging && (h("input", { type: "checkbox", class: {
|
|
103
103
|
'hide-checkbox': this.selectedParticipantIds.length === 0,
|
|
104
|
-
}, checked: this.selectedParticipantIds.includes(participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (h("div", { key: '
|
|
104
|
+
}, checked: this.selectedParticipantIds.includes(participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (h("div", { key: '179104c8fd8bfe2692147a23d3520ba51f830721', class: "empty-message" }, this.t('participants.errors.empty_results'))), this.participantsToShow.length === 0 && this.search.length === 0 && (h("div", { key: 'c50a8a4ae9863d918108430ffbe61721fd155847', class: "empty-room" }, h("rtk-icon", { key: 'afa0afc1ecda667d26fd921438f9369549c5463b', icon: this.iconPack.people_checked, part: "search-icon", class: "search-icon" }), h("p", { key: 'be9fe2e7d745f88228ecd5053b129b344a626eb6' }, this.t('breakout_rooms.all_assigned')), h("span", { key: 'e16a34744352686361f4a2aff6e90bba44ae3a15' }, this.t('breakout_rooms.empty_main_room')))))));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "rtk-breakout-room-participants"; }
|
|
107
107
|
static get encapsulation() { return "shadow"; }
|
|
@@ -55,6 +55,8 @@ export class RtkBreakoutRoomsToggle {
|
|
|
55
55
|
meeting.self.permissions.on('permissionsUpdate', this.permissionsUpdateListener);
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
+
if (!this.meeting)
|
|
59
|
+
return null;
|
|
58
60
|
if (!this.canToggle)
|
|
59
61
|
return;
|
|
60
62
|
return (h(Host, { title: this.t('breakout_rooms') }, h("rtk-controlbar-button", { part: "controlbar-button", size: this.size, iconPack: this.iconPack, onClick: this.breakoutRoomToggle, icon: this.iconPack.breakout_rooms, label: this.t('breakout_rooms'), variant: this.variant })));
|
package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js
CHANGED
|
@@ -37,9 +37,9 @@ export class RtkBroadcastMessageModal {
|
|
|
37
37
|
}, 2000);
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '6fbeed26fe6bd27b9f0fb5d574437db002931560' }, h("div", { key: '539893028570a33bae6e10dfbbf30a9872660cc9', class: "content-col" }, h("h2", { key: '066aaa4541f135cd6d8d424395cf449f79c61caa' }, "Broadcast message to"), h("select", { key: '413dea8a9bd7a1efbf17948cfb45b655ddb79b71', onChange: (e) => {
|
|
41
41
|
this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { to: e.target.value });
|
|
42
|
-
} }, h("option", { key: '
|
|
42
|
+
} }, h("option", { key: '72df6790e57bdd905ad96d62c9d6fa57e4a3a41c' }, "Everyone"), h("option", { key: '82650452bb4de2b6d382a14dab3e901d62ca3b13' }, "List of rooms")), h("textarea", { key: '2be2bad10700c89162a06d662198b4eaadd96027', placeholder: "Type message here...", onInput: (e) => {
|
|
43
43
|
this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { message: e.target.value });
|
|
44
44
|
} }), this.successMessage ? (h("p", null, "Message sent to ", this.messagePayload.to, h("rtk-icon", { icon: this.iconPack.checkmark }))) : (h("div", { class: "content-row" }, h("rtk-button", { onClick: () => this.close(), variant: "secondary" }, "Cancel"), "\u2002", h("rtk-button", { variant: "primary", onClick: () => this.sendMessage() }, "Send"))))));
|
|
45
45
|
}
|
|
@@ -55,7 +55,7 @@ export class RtkCameraSelector {
|
|
|
55
55
|
}
|
|
56
56
|
meetingChanged(meeting) {
|
|
57
57
|
var _a, _b, _c;
|
|
58
|
-
if (meeting
|
|
58
|
+
if (!meeting)
|
|
59
59
|
return;
|
|
60
60
|
(_a = meeting.self) === null || _a === void 0 ? void 0 : _a.addListener('deviceListUpdate', this.deviceListUpdateListener);
|
|
61
61
|
(_b = meeting.self) === null || _b === void 0 ? void 0 : _b.addListener('deviceUpdate', this.deviceUpdateListener);
|
|
@@ -95,7 +95,7 @@ export class RtkCameraSelector {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
if (this.meeting
|
|
98
|
+
if (!this.meeting)
|
|
99
99
|
return null;
|
|
100
100
|
let unnamedVideoCount = 0;
|
|
101
101
|
return (h(Host, null, this.canProduceVideo && (h("div", { class: 'group container ' + this.variant, part: "camera-selection" }, h("label", null, this.variant !== 'inline' && this.t('camera'), h("rtk-icon", { icon: this.iconPack.video_on, size: "sm" })), h("div", { class: "row" }, h("select", { class: "rtk-select", onChange: (e) => this.setDevice(e.target.value) }, this.videoDevices.map(({ deviceId, label }) => {
|
|
@@ -151,6 +151,8 @@ export class RtkCameraToggle {
|
|
|
151
151
|
}
|
|
152
152
|
render() {
|
|
153
153
|
var _a;
|
|
154
|
+
if (!this.meeting)
|
|
155
|
+
return null;
|
|
154
156
|
if (!this.canProduceVideo ||
|
|
155
157
|
((_a = this.meeting) === null || _a === void 0 ? void 0 : _a.meta.viewType) === 'AUDIO_ROOM' ||
|
|
156
158
|
['OFF_STAGE', 'REQUESTED_TO_JOIN_STAGE'].includes(this.stageStatus)) {
|
|
@@ -9,7 +9,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
9
9
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10
10
|
};
|
|
11
11
|
import { Host, h } from "@stencil/core";
|
|
12
|
-
import {
|
|
12
|
+
import { createDefaultConfig, defaultIconPack, } from "../../exports";
|
|
13
13
|
import { useLanguage } from "../../lib/lang";
|
|
14
14
|
import { SyncWithStore } from "../../utils/sync-with-store";
|
|
15
15
|
export class RtkCaptionToggle {
|
|
@@ -17,7 +17,7 @@ export class RtkCaptionToggle {
|
|
|
17
17
|
/** Variant */
|
|
18
18
|
this.variant = 'button';
|
|
19
19
|
/** Config */
|
|
20
|
-
this.config =
|
|
20
|
+
this.config = createDefaultConfig();
|
|
21
21
|
/** Icon pack */
|
|
22
22
|
this.iconPack = defaultIconPack;
|
|
23
23
|
/** Language */
|
|
@@ -46,6 +46,8 @@ export class RtkCaptionToggle {
|
|
|
46
46
|
this.stateUpdate.emit({ activeCaptions: !this.states.activeCaptions, activeMoreMenu: false });
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
+
if (!this.meeting)
|
|
50
|
+
return null;
|
|
49
51
|
if (!this.captionEnabled)
|
|
50
52
|
return null;
|
|
51
53
|
const captionsEnabled = this.states.activeCaptions;
|
|
@@ -159,7 +161,7 @@ export class RtkCaptionToggle {
|
|
|
159
161
|
},
|
|
160
162
|
"getter": false,
|
|
161
163
|
"setter": false,
|
|
162
|
-
"defaultValue": "
|
|
164
|
+
"defaultValue": "createDefaultConfig()"
|
|
163
165
|
},
|
|
164
166
|
"iconPack": {
|
|
165
167
|
"type": "unknown",
|
|
@@ -278,6 +280,9 @@ __decorate([
|
|
|
278
280
|
__decorate([
|
|
279
281
|
SyncWithStore()
|
|
280
282
|
], RtkCaptionToggle.prototype, "states", void 0);
|
|
283
|
+
__decorate([
|
|
284
|
+
SyncWithStore()
|
|
285
|
+
], RtkCaptionToggle.prototype, "config", void 0);
|
|
281
286
|
__decorate([
|
|
282
287
|
SyncWithStore()
|
|
283
288
|
], RtkCaptionToggle.prototype, "iconPack", void 0);
|
|
@@ -133,9 +133,9 @@ export class RtkChannelCreator {
|
|
|
133
133
|
(_a = this.inputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: '2249fbd72c1bb3c33abc7d8a9759bd5166b511e3' }, h("header", { key: '624be5f38731e2388c350a7cfd33c6d5a0071a83' }, this.step === 1 ? this.t('chat.new_channel') : this.t('chat.add_members')), this.step === 1 && (h("input", { key: '3a837246569c74ca2876770b473b774ab5dd0cf6', class: "channel-name-input", type: "text", placeholder: this.t('chat.channel_name'), ref: (el) => (this.inputTextRef = el), onInput: (e) => {
|
|
137
137
|
this.channelName = e.target.value.trim();
|
|
138
|
-
} })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: '
|
|
138
|
+
} })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: '7fc3656d7786406c7a25978cf4eac76bd46329ba' }, h("rtk-button", { key: 'fa648df5ca88fdb5ea6946d353270ee79e10fb73', kind: "button", size: "lg", disabled: this.channelName.length === 0, onClick: this.onClickHandler }, this.step === 1 ? this.t('chat.add_members') : this.t('create')))));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "rtk-channel-creator"; }
|
|
141
141
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,7 +26,7 @@ export class RtkChannelDetails {
|
|
|
26
26
|
})));
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '56390bafc9a8a933499c11e51b38898494f407bc' }, h("header", { key: 'a27a3d775aceb8f23481823c1a21eb0286f5723a' }, this.t('chat.channel_members')), this.renderMembers()));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "rtk-channel-details"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,7 +123,7 @@ export class RtkChannelDetails {
|
|
|
123
123
|
"RTKBasicParticipant": {
|
|
124
124
|
"location": "import",
|
|
125
125
|
"path": "@cloudflare/realtimekit",
|
|
126
|
-
"id": "
|
|
126
|
+
"id": "node_modules::RTKBasicParticipant"
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
},
|
|
@@ -112,7 +112,7 @@ export class RtkChannelSelectorUi {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '136cbd5937436f0e67410ed17ee55bdc84be52e5' }, h("div", { key: 'd6eaec8105117ef6fc354ce73cd112a911383eef', class: "container", ref: (el) => (this.$el = el) }, this.isHidden && (h("rtk-button", { key: 'eada98e8ca313b96e284b755d2fdef8093a3dc90', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: '6e6d637b32053c624939935826bc0ff1ab68598e', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))), h("slot", { key: '8cec1de02484371962db82e2d759bcbba5a3b2c7', name: "header" }), h("div", { key: '688f3a270abe7d9095e6f23d0e6b194142de9c91', class: "search-wrapper" }, h("div", { key: '18e4839b236a35b25a06dafa6fe6009c6f2f3eb8', class: "search" }, h("input", { key: 'ff6c1cfcea206467eed86155620473babbe1b439', type: "search", autocomplete: "off", placeholder: this.t('chat.search_conversations'), onInput: this.onSearchInput }), h("rtk-icon", { key: '48048bd742cffc5bddc0133ea83eca96cf4591c3', icon: this.iconPack.search, class: "search-icon" }))), h("div", { key: '1be26975130df38b0466cb304a69674699e69b36', class: "channel-container scrollbar", role: "list" }, this.channels
|
|
116
116
|
.filter((channel) => this.searchQuery === '' || channel.displayName.includes(this.searchQuery))
|
|
117
117
|
.map((channel) => {
|
|
118
118
|
return (h("div", { class: {
|
|
@@ -122,7 +122,7 @@ export class RtkChannelSelectorUi {
|
|
|
122
122
|
}, role: "listitem", onClick: () => {
|
|
123
123
|
this.channelSelected(channel.id);
|
|
124
124
|
} }, this.renderChannelDisplayPic(channel), h("div", { class: "channel-card", "is-direct-message": channel.isDirectMessage }, h("div", { class: 'recent-message-row' }, h("span", { class: "channel-name" }, channel.displayName), channel.latestMessage && (h("span", { class: "latest-msg-time" }, this.getTimeLabel(channel.latestMessage)))), h("div", { class: 'recent-message-row' }, this.renderRecentMessage(channel), channel.unreadCount > 0 && channel.id !== this.selectedChannelId ? (h("span", { class: "new-msgs-count" }, channel.unreadCount < 99 ? channel.unreadCount : '99+')) : null))));
|
|
125
|
-
}))), !this.isHidden && (h("div", { key: '
|
|
125
|
+
}))), !this.isHidden && (h("div", { key: '3f9a4a9bd4d8969416774f4c723a2eebd7d3cd6a', class: "overlay-container" }, h("rtk-button", { key: '50f5c7faf80014ecf2f67bd36e090c7a7f7fae01', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: '34ea5d4835d26cb97d33fdcf585ef26813c243cd', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))))));
|
|
126
126
|
}
|
|
127
127
|
static get is() { return "rtk-channel-selector-ui"; }
|
|
128
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -112,11 +112,11 @@ export class RtkChannelSelectorView {
|
|
|
112
112
|
render() {
|
|
113
113
|
const filteredChannels = this.getFilteredChannels();
|
|
114
114
|
const shouldShowDropdown = this.viewAs === 'list' || (this.viewAs === 'dropdown' && this.showDropdown);
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '55c0b7974fdc4d69ab8205d216aadd3be538a1f6' }, this.viewAs === 'list' && h("slot", { key: '469c1b7f79dd75fb160ec0ed28dc64e7c0818df6', name: "header" }), shouldShowDropdown && (h("div", { key: '3012a7fd9e766b6e06d2973c1944c5a7dbad6517', class: {
|
|
116
116
|
dropdown: this.viewAs === 'dropdown',
|
|
117
117
|
scrollbar: this.viewAs === 'dropdown',
|
|
118
118
|
list: this.viewAs === 'list',
|
|
119
|
-
} }, !this.disableSearch && (h("div", { key: '
|
|
119
|
+
} }, !this.disableSearch && (h("div", { key: 'bed4be1b983d9a03523f08a4e1a1a15b9e811ab7', class: "search-container", ref: (el) => (this.$searchEl = el) }, h("input", { key: '09eab0a72de67a3355ed691e1dfbb8f8cddcf83a', type: "text", placeholder: this.t('chat.search_conversations'), value: this.searchQuery, onInput: (e) => (this.searchQuery = e.target.value) }), h("rtk-icon", { key: '8b5d6cadef7748e9bb6110f011751d49c64373d4', icon: this.iconPack.search }))), h("div", { key: 'ad46257295bc7ca372786f3b8161734af37f745a', class: "channels-container scrollbar", ref: (el) => (this.$listEl = el) }, filteredChannels.map((channel) => {
|
|
120
120
|
return (h("button", { class: { channel: true, active: this.selectedChannelId === channel.id }, onClick: () => this.onChannelClickHandler(channel) }, !this.hideAvatar && (h("div", null, channel.icon ? (h("rtk-icon", { class: "avatar-icon", icon: this.iconPack[channel.icon] })) : (h("rtk-avatar", { participant: {
|
|
121
121
|
name: channel.name,
|
|
122
122
|
picture: channel.avatarUrl,
|
|
@@ -124,8 +124,8 @@ export class RtkChannelSelectorView {
|
|
|
124
124
|
'last-message': true,
|
|
125
125
|
'no-message': !channel.latestMessage,
|
|
126
126
|
} }, h("rtk-text-message-view", { isMarkdown: true, text: channel.latestMessage })))), h("div", { class: "col channel-meta" }, channel.latestMessageTime && (h("time", { class: "time" }, this.getTimeLabel(channel.latestMessageTime))), channel.unreadCount > 0 && (h("div", { class: "unread-count" }, channel.unreadCount))))));
|
|
127
|
-
})))), this.viewAs === 'dropdown' && (h("button", { key: '
|
|
128
|
-
`${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: '
|
|
127
|
+
})))), this.viewAs === 'dropdown' && (h("button", { key: '21e0faa2655c3f0c8cca668abda6ef761c57d179', class: "dropdown-trigger", onClick: this.toggleDropdown }, h("span", { key: 'ac1c51cb7fd12350d643ac5bdd106350fd4a7657' }, this.selectedChannelId &&
|
|
128
|
+
`${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: 'ea8d9f60114649f119db36d36f95b5c2ac957cc5', class: "unread-count" }, this.getTotalUnreads()))), h("rtk-icon", { key: 'e27b18e174975a8a9a5be7dfc0d53cd9bc1efd9c', icon: this.showDropdown ? this.iconPack.chevron_up : this.iconPack.chevron_down })))));
|
|
129
129
|
}
|
|
130
130
|
static get is() { return "rtk-channel-selector-view"; }
|
|
131
131
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ import { useLanguage } from "../../lib/lang";
|
|
|
14
14
|
import { TEMPORARY_CHANNEL_PREFIX, alphabeticalSorter, getDMComparator, generateChatGroupKey, handleFilesDataTransfer, isDirectMessageChannel, parseMessageForTarget, stripOutReplyBlock, } from "../../utils/chat";
|
|
15
15
|
import { chatUnreadTimestamps } from "../../utils/user-prefs";
|
|
16
16
|
import { FlagsmithFeatureFlags, usePaginatedChat } from "../../utils/flags";
|
|
17
|
-
import {
|
|
17
|
+
import { createDefaultConfig } from "../../exports";
|
|
18
18
|
import { SyncWithStore } from "../../utils/sync-with-store";
|
|
19
19
|
/**
|
|
20
20
|
* Fully featured chat component with image & file upload, emoji picker and auto-scroll.
|
|
@@ -36,7 +36,7 @@ export class RtkChat {
|
|
|
36
36
|
this.canSendFiles = this.meeting.self.permissions.chatPublic.files;
|
|
37
37
|
};
|
|
38
38
|
/** Config */
|
|
39
|
-
this.config =
|
|
39
|
+
this.config = createDefaultConfig();
|
|
40
40
|
/** Icon pack */
|
|
41
41
|
this.iconPack = defaultIconPack;
|
|
42
42
|
/** Language */
|
|
@@ -551,8 +551,9 @@ export class RtkChat {
|
|
|
551
551
|
}
|
|
552
552
|
render() {
|
|
553
553
|
var _a, _b;
|
|
554
|
-
if (!this.meeting)
|
|
554
|
+
if (!this.meeting) {
|
|
555
555
|
return null;
|
|
556
|
+
}
|
|
556
557
|
const uiProps = { iconPack: this.iconPack, t: this.t, size: this.size };
|
|
557
558
|
const selfUserId = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId;
|
|
558
559
|
let chatMessages = this.chatGroups[this.selectedGroup] || [];
|
|
@@ -620,7 +621,7 @@ export class RtkChat {
|
|
|
620
621
|
},
|
|
621
622
|
"getter": false,
|
|
622
623
|
"setter": false,
|
|
623
|
-
"defaultValue": "
|
|
624
|
+
"defaultValue": "createDefaultConfig()"
|
|
624
625
|
},
|
|
625
626
|
"size": {
|
|
626
627
|
"type": "string",
|
|
@@ -855,6 +856,9 @@ export class RtkChat {
|
|
|
855
856
|
__decorate([
|
|
856
857
|
SyncWithStore()
|
|
857
858
|
], RtkChat.prototype, "meeting", void 0);
|
|
859
|
+
__decorate([
|
|
860
|
+
SyncWithStore()
|
|
861
|
+
], RtkChat.prototype, "config", void 0);
|
|
858
862
|
__decorate([
|
|
859
863
|
SyncWithStore()
|
|
860
864
|
], RtkChat.prototype, "size", void 0);
|
|
@@ -444,7 +444,7 @@ export class RtkChatComposerUi {
|
|
|
444
444
|
"TextMessage": {
|
|
445
445
|
"location": "import",
|
|
446
446
|
"path": "@cloudflare/realtimekit",
|
|
447
|
-
"id": "
|
|
447
|
+
"id": "node_modules::TextMessage"
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
450
|
},
|
|
@@ -468,7 +468,7 @@ export class RtkChatComposerUi {
|
|
|
468
468
|
"RTKBasicParticipant": {
|
|
469
469
|
"location": "import",
|
|
470
470
|
"path": "@cloudflare/realtimekit",
|
|
471
|
-
"id": "
|
|
471
|
+
"id": "node_modules::RTKBasicParticipant"
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
},
|
|
@@ -84,11 +84,11 @@ export class RtkChatMessage {
|
|
|
84
84
|
} })));
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '4f04ac68994dd416dd2e00828cec15bd1865ef8f' }, h("div", { key: '54cfcb68d201b3c2680b1aa26f1db7ab9330d632', class: {
|
|
88
88
|
'message-wrapper': true,
|
|
89
89
|
'align-right': this.alignRight,
|
|
90
90
|
'left-align': this.leftAlign,
|
|
91
|
-
}, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: '
|
|
91
|
+
}, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: 'a70b19bae3c4f410c012c275f7257409c4d443be', class: {
|
|
92
92
|
message: true,
|
|
93
93
|
'show-on-hover': !this.isTouchDevice(),
|
|
94
94
|
}, "is-continued": this.isContinued }, this.renderMessage(), this.renderControls()))));
|
|
@@ -117,7 +117,7 @@ export class RtkChatMessage {
|
|
|
117
117
|
"Message": {
|
|
118
118
|
"location": "import",
|
|
119
119
|
"path": "@cloudflare/realtimekit",
|
|
120
|
-
"id": "
|
|
120
|
+
"id": "node_modules::Message"
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
},
|
|
@@ -487,7 +487,7 @@ export class RtkChatMessage {
|
|
|
487
487
|
"Message": {
|
|
488
488
|
"location": "import",
|
|
489
489
|
"path": "@cloudflare/realtimekit",
|
|
490
|
-
"id": "
|
|
490
|
+
"id": "node_modules::Message"
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
493
|
}
|
|
@@ -508,7 +508,7 @@ export class RtkChatMessage {
|
|
|
508
508
|
"Message": {
|
|
509
509
|
"location": "import",
|
|
510
510
|
"path": "@cloudflare/realtimekit",
|
|
511
|
-
"id": "
|
|
511
|
+
"id": "node_modules::Message"
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
}
|
|
@@ -529,7 +529,7 @@ export class RtkChatMessage {
|
|
|
529
529
|
"Message": {
|
|
530
530
|
"location": "import",
|
|
531
531
|
"path": "@cloudflare/realtimekit",
|
|
532
|
-
"id": "
|
|
532
|
+
"id": "node_modules::Message"
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
}
|
|
@@ -550,7 +550,7 @@ export class RtkChatMessage {
|
|
|
550
550
|
"Message": {
|
|
551
551
|
"location": "import",
|
|
552
552
|
"path": "@cloudflare/realtimekit",
|
|
553
|
-
"id": "
|
|
553
|
+
"id": "node_modules::Message"
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
}
|
|
@@ -153,7 +153,7 @@ export class RtkChatMessagesUi {
|
|
|
153
153
|
var _a;
|
|
154
154
|
let prevMessage = null;
|
|
155
155
|
let reachedFirstUnread = false;
|
|
156
|
-
return (h(Host, { key: '
|
|
156
|
+
return (h(Host, { key: 'e727d609d8bc7a88027ec7afcd292b5b627fe6a7' }, h("div", { key: 'cb9736e926d5dd0c396933e748a5b32f8b8caf56', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, h("div", { key: '4ee9b26a26363fcbe8d4ba30b93c9ede40eb26ed', class: "spacer", part: "spacer" }), h("div", { key: 'b1b772b5066f5b5c64001fef4ecd0ea397ae3ff7', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
157
157
|
if (item.type === 'chat') {
|
|
158
158
|
const { message } = item;
|
|
159
159
|
const isSelfMessage = message.userId === this.selfUserId;
|
|
@@ -172,10 +172,10 @@ export class RtkChatMessagesUi {
|
|
|
172
172
|
} })))), message.pinned && (h("div", { class: "pin-button", part: "pin-button" }, h("rtk-tooltip", { label: this.t('unpin') }, h("rtk-button", { kind: "icon", variant: "ghost", onClick: () => this.onMessageActionHandler('pin_message', message), disabled: !this.canPinMessages }, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }))))))));
|
|
173
173
|
}
|
|
174
174
|
return null;
|
|
175
|
-
}))), h("div", { key: '
|
|
175
|
+
}))), h("div", { key: 'f6904a989121d59799e092d14b090b59e2acb66b', class: "show-new-messages-ctr" }, h("rtk-button", { key: 'b5f154738cb266b7284456bebcbbd8b7ec6693e9', class: {
|
|
176
176
|
'show-new-messages': true,
|
|
177
177
|
active: this.showLatestMessageButton,
|
|
178
|
-
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '
|
|
178
|
+
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: 'd7b8035eb277251dffbb2ec7cf757d6083c9fa2b', icon: this.iconPack.chevron_down })))));
|
|
179
179
|
}
|
|
180
180
|
static get is() { return "rtk-chat-messages-ui"; }
|
|
181
181
|
static get encapsulation() { return "shadow"; }
|
|
@@ -372,7 +372,7 @@ export class RtkChatMessagesUi {
|
|
|
372
372
|
"Message": {
|
|
373
373
|
"location": "import",
|
|
374
374
|
"path": "@cloudflare/realtimekit",
|
|
375
|
-
"id": "
|
|
375
|
+
"id": "node_modules::Message"
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
}
|