@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
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, c as createEvent, w as writeTask, f as forceUpdate, a as getElement, F as Fragment } from './index-c1fb98bb.js';
|
|
2
|
-
import {
|
|
2
|
+
import { e as defaultIconPack, h as useLanguage, H as getAllConnectedParticipants, I as participantIdentifier, J as resetRoomCount, B as BreakoutRoomsManager, c as createDefaultConfig, K as usePaginatedChat, L as FlagsmithFeatureFlags, k as chatUnreadTimestamps, M as gracefulStorage, u as uiStore, b as createPeerStore, N as showLivestream } from './ui-store-fabf2b32.js';
|
|
3
3
|
import { f as formatName, g as getInitials, s as shorten, a as sanitizeLink, h as hasOnlyEmojis } from './string-ed1380fb.js';
|
|
4
|
-
import { S as SyncWithStore } from './index-
|
|
5
|
-
import { d as debounce } from './debounce-
|
|
6
|
-
import { h as handleFilesDataTransfer, g as generateChatGroupKey, T as TEMPORARY_CHANNEL_PREFIX, i as isDirectMessageChannel, d as alphabeticalSorter, e as getDMComparator, s as stripOutReplyBlock, p as parseMessageForTarget, M as MAX_TEXT_LENGTH, f as parseRichText, j as extractReplyBlock } from './chat-
|
|
4
|
+
import { S as SyncWithStore } from './index-21637ec2.js';
|
|
5
|
+
import { d as debounce } from './debounce-29e3a983.js';
|
|
6
|
+
import { h as handleFilesDataTransfer, g as generateChatGroupKey, T as TEMPORARY_CHANNEL_PREFIX, i as isDirectMessageChannel, d as alphabeticalSorter, e as getDMComparator, s as stripOutReplyBlock, p as parseMessageForTarget, M as MAX_TEXT_LENGTH, f as parseRichText, j as extractReplyBlock } from './chat-0fec85e9.js';
|
|
7
7
|
import { d as differenceInMinutes, f as formatDateTime, e as elapsedDuration, C as ChatHead } from './ChatHead-cf7a7e22.js';
|
|
8
8
|
import { s as smoothScrollToBottom } from './scroll-2d8e810c.js';
|
|
9
9
|
import { R as Render } from './index-d31a2e33.js';
|
|
10
10
|
import { g as getExtension, a as getFileSize, d as downloadFile } from './file-1d408324.js';
|
|
11
|
-
import {
|
|
11
|
+
import { d as deepMerge } from './merge-ef938315.js';
|
|
12
12
|
import { g as getSize } from './size-505ade24.js';
|
|
13
|
+
import { p as provideRtkDesignSystem, g as generateConfig, R as RTKNotificationsAudio } from './notification-deef1123.js';
|
|
13
14
|
import { i as index } from './ResizeObserver.es-02979d4e.js';
|
|
14
15
|
import { c as computePosition, o as offset, f as flip, s as shift, a as arrow } from './floating-ui.dom.esm-a2dc8eef.js';
|
|
15
|
-
import { T as TextMessageView } from './TextMessage-
|
|
16
|
-
import { R as RTKNotificationsAudio } from './notification-2ab22a76.js';
|
|
17
|
-
import './isObjectLike-773b9473.js';
|
|
18
|
-
import './keysIn-310f65c1.js';
|
|
16
|
+
import { T as TextMessageView } from './TextMessage-a699d8da.js';
|
|
19
17
|
|
|
20
18
|
const rtkAvatarCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:var(--rtk-space-32, 128px);width:var(--rtk-space-32, 128px);align-items:center;justify-content:center;font-size:28px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));overflow:clip;border-radius:9999px;-webkit-user-select:none;-moz-user-select:none;user-select:none}rtk-icon{height:50%;width:50%}.image-ctr{display:flex;height:100%;width:100%;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}img{height:var(--rtk-space-0, 0px);width:var(--rtk-space-0, 0px);-o-object-fit:cover;object-fit:cover}img.loaded{height:100%;width:100%}.initials{display:flex;height:100%;width:100%;align-items:center;justify-content:center;text-transform:uppercase}.image{display:flex;height:100%;width:100%;align-items:center;justify-content:center}.image img{display:none;height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.image img.loaded{display:block}:host([variant='hexagon']){border-radius:var(--rtk-border-radius-none, 0);clip-path:polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%)}:host([variant='square']){border-radius:var(--rtk-border-radius-none, 0);clip-path:polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)}:host([size='sm']){height:var(--rtk-space-14, 56px);width:var(--rtk-space-14, 56px);font-size:12px}:host([size='md']){height:var(--rtk-space-28, 112px);width:var(--rtk-space-28, 112px)}:host([size='lg']){height:var(--rtk-space-32, 128px);width:var(--rtk-space-32, 128px)}";
|
|
21
19
|
const RtkAvatarStyle0 = rtkAvatarCss;
|
|
22
20
|
|
|
23
|
-
var __decorate$
|
|
21
|
+
var __decorate$O = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
24
22
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
25
23
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
26
24
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -55,16 +53,16 @@ const RtkAvatar = class {
|
|
|
55
53
|
};
|
|
56
54
|
}
|
|
57
55
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '3ac8e9c14a3389b76dd0e27037a75358bf837fd4' }, this.getAvatar(), h("slot", { key: 'a1b51c492d328a00352cfb6f2a11acb7cdb5fe75' })));
|
|
59
57
|
}
|
|
60
58
|
};
|
|
61
|
-
__decorate$
|
|
59
|
+
__decorate$O([
|
|
62
60
|
SyncWithStore()
|
|
63
61
|
], RtkAvatar.prototype, "size", void 0);
|
|
64
|
-
__decorate$
|
|
62
|
+
__decorate$O([
|
|
65
63
|
SyncWithStore()
|
|
66
64
|
], RtkAvatar.prototype, "iconPack", void 0);
|
|
67
|
-
__decorate$
|
|
65
|
+
__decorate$O([
|
|
68
66
|
SyncWithStore()
|
|
69
67
|
], RtkAvatar.prototype, "t", void 0);
|
|
70
68
|
RtkAvatar.style = RtkAvatarStyle0;
|
|
@@ -72,7 +70,7 @@ RtkAvatar.style = RtkAvatarStyle0;
|
|
|
72
70
|
const rtkBreakoutRoomManagerCss = ":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{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-sm, 4px)}@keyframes bg-glow{25%{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}50%{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}75%{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}}.glowing-card{animation:bg-glow 0.8s}.selector-mode,.assign-mode{display:flex;flex-direction:column;align-items:center;padding:var(--rtk-space-2, 8px);cursor:pointer}.selector:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.show-on-hover{display:none}.header{width:100%;display:flex;align-items:center}.header rtk-icon{margin-left:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);cursor:pointer}.header .danger{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.header .hide{display:none}.header .rooms-container{display:flex;flex-grow:1;flex-direction:row;align-items:center;justify-content:flex-end}.header input{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding:var(--rtk-space-1, 4px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));max-width:var(--rtk-space-36, 144px);font-size:14px;font-weight:500;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;border-bottom-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-bottom-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-border-opacity))}.header input:disabled{overflow-x:visible;border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}.header input:invalid{border-bottom-width:var(--rtk-border-width-sm, 1px);border-style:dashed;--tw-border-opacity:1;border-bottom-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-border-opacity))}.header input.editing-enabled{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.header .participant-count{display:flex;align-items:center;font-size:14px;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.header .participant-count rtk-icon{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0\\.5, 2px);width:var(--rtk-space-3, 12px)}.header .assign-button{height:var(--rtk-space-6, 24px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity));text-decoration-line:underline}.header .assign-button:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.participant-list{display:grid;flex-grow:1;grid-template-columns:repeat(2, minmax(0, 1fr));gap:var(--rtk-space-2, 8px);margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);width:100%;border-radius:var(--rtk-border-radius-sm, 4px)}.participant-list::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px)}.participant-list::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.participant-list::-webkit-scrollbar-track{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.participant-item{display:flex;align-items:center;justify-content:space-between;margin-right:var(--rtk-space-2, 8px);height:-moz-fit-content;height:fit-content;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}.participant-item:hover{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.selector-mode:hover .show-on-hover{display:flex}.message-container{margin:var(--rtk-space-0, 0px);display:flex;width:100%;padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}.message-container p{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);height:var(--rtk-space-20, 80px);display:flex;width:100%;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));border-style:dashed;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity))}.message-container p:hover{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.25)}.message-container .drop-zone-active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.25)}rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}.show-on-hover{margin-left:var(--rtk-space-4, 16px);height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);display:none}:host(:hover) .show-on-hover{display:flex}.peer-ui-container{position:relative;display:flex;align-items:center;gap:var(--rtk-space-2, 8px);height:var(--rtk-space-10, 40px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.peer-ui-container rtk-avatar{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.peer-ui-container .name{font-size:14px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}";
|
|
73
71
|
const RtkBreakoutRoomManagerStyle0 = rtkBreakoutRoomManagerCss;
|
|
74
72
|
|
|
75
|
-
var __decorate$
|
|
73
|
+
var __decorate$N = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
76
74
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
77
75
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
78
76
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -229,39 +227,41 @@ const RtkBreakoutRoomManager = class {
|
|
|
229
227
|
}
|
|
230
228
|
render() {
|
|
231
229
|
var _a, _b, _c;
|
|
232
|
-
|
|
230
|
+
if (!this.meeting)
|
|
231
|
+
return null;
|
|
232
|
+
return (h(Host, null, h("div", { class: {
|
|
233
233
|
'assign-mode': this.assigningParticipants,
|
|
234
234
|
'selector-mode': !this.assigningParticipants,
|
|
235
235
|
'glowing-card': this.glowingCard,
|
|
236
|
-
} }, h("div", {
|
|
236
|
+
} }, 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) => {
|
|
237
237
|
this.newTitle = e.target.value;
|
|
238
|
-
}, 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", {
|
|
238
|
+
}, 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
|
|
239
239
|
? this.t('breakout_rooms.save_room_name')
|
|
240
|
-
: this.t('breakout_rooms.edit_room_name') }, h("rtk-icon", {
|
|
240
|
+
: this.t('breakout_rooms.edit_room_name') }, h("rtk-icon", { icon: this.editingTitleRoomId === this.room.id
|
|
241
241
|
? this.iconPack.checkmark
|
|
242
|
-
: this.iconPack.edit, class: "show-on-hover", onClick: this.onEditClick }))), h("div", {
|
|
242
|
+
: this.iconPack.edit, class: "show-on-hover", onClick: this.onEditClick }))), h("div", { class: "rooms-container" }, this.permissions.canAlterConnectedMeetings &&
|
|
243
243
|
!this.room.isParent &&
|
|
244
|
-
this.allowDelete && (h("rtk-tooltip", {
|
|
244
|
+
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: () => {
|
|
245
245
|
this.deleteRoom.emit();
|
|
246
246
|
} }))), this.assigningParticipants &&
|
|
247
247
|
this.permissions.canAlterConnectedMeetings &&
|
|
248
|
-
!this.room.isParent && (h("rtk-button", {
|
|
248
|
+
!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' &&
|
|
249
249
|
!this.assigningParticipants &&
|
|
250
|
-
this.permissions.canSwitchConnectedMeetings && (h("rtk-button", {
|
|
250
|
+
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
|
|
251
251
|
? this.t('joined')
|
|
252
|
-
: this.t('join'))), !this.room.isParent && (h("rtk-icon", {
|
|
252
|
+
: 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())));
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
|
-
__decorate$
|
|
255
|
+
__decorate$N([
|
|
256
256
|
SyncWithStore()
|
|
257
257
|
], RtkBreakoutRoomManager.prototype, "meeting", void 0);
|
|
258
|
-
__decorate$
|
|
258
|
+
__decorate$N([
|
|
259
259
|
SyncWithStore()
|
|
260
260
|
], RtkBreakoutRoomManager.prototype, "states", void 0);
|
|
261
|
-
__decorate$
|
|
261
|
+
__decorate$N([
|
|
262
262
|
SyncWithStore()
|
|
263
263
|
], RtkBreakoutRoomManager.prototype, "iconPack", void 0);
|
|
264
|
-
__decorate$
|
|
264
|
+
__decorate$N([
|
|
265
265
|
SyncWithStore()
|
|
266
266
|
], RtkBreakoutRoomManager.prototype, "t", void 0);
|
|
267
267
|
RtkBreakoutRoomManager.style = RtkBreakoutRoomManagerStyle0;
|
|
@@ -269,7 +269,7 @@ RtkBreakoutRoomManager.style = RtkBreakoutRoomManagerStyle0;
|
|
|
269
269
|
const rtkBreakoutRoomParticipantsCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;height:100%;flex-direction:column;font-size:14px}:host input[type='checkbox']{margin:var(--rtk-space-0, 0px);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rtk-border-radius-sm, 4px);position:relative;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;border-color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}:host input[type='checkbox']:checked{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host input[type='checkbox']:checked::before{position:absolute;top:1px;left:1px;height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);background-color:rgb(var(--rtk-colors-text-1000, 255 255 255));content:'';clip-path:polygon(5% 60%, 35% 93%, 100% 19%, 86% 4%, 36% 62%, 19% 44%)}*{box-sizing:border-box}.participants{margin-top:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px)}.ctr{box-sizing:border-box;padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);overflow-y:auto;flex-grow:1;flex-basis:0}.empty-message{margin-top:var(--rtk-space-10, 40px);margin-bottom:var(--rtk-space-10, 40px);text-align:center;font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.empty-room{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--rtk-space-2, 8px);height:100%;text-align:center;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.empty-room rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}.empty-room p{font-size:16px;font-weight:500;margin:var(--rtk-space-0, 0px)}.empty-room span{font-size:12px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search-wrapper{margin-bottom:var(--rtk-space-1, 4px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);height:var(--rtk-space-8, 32px)}.search .search-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:inherit;color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.header{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-1\\.5, 6px);height:var(--rtk-space-9, 36px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-0\\.5, 2px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-bottom-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));display:flex;align-items:center;justify-content:space-between}.title-wrapper{display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}.participant-count{display:flex;align-items:center;font-size:14px}.participant-count rtk-icon{margin-right:var(--rtk-space-0\\.5, 2px);width:var(--rtk-space-3, 12px)}.participant-item{display:flex;align-items:center;justify-content:space-between;margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);cursor:pointer}.participant-item input.hide-checkbox{display:none}.participant-item input:checked{display:inline-block}.dragging input{display:none}.participant-item:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.participant-item:hover input{display:inline-block}.peer-ui-container{position:relative;display:flex;align-items:center;gap:var(--rtk-space-2, 8px);height:var(--rtk-space-10, 40px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.peer-ui-container rtk-avatar{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.peer-ui-container .name{font-size:14px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}";
|
|
270
270
|
const RtkBreakoutRoomParticipantsStyle0 = rtkBreakoutRoomParticipantsCss;
|
|
271
271
|
|
|
272
|
-
var __decorate$
|
|
272
|
+
var __decorate$M = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
273
273
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
274
274
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
275
275
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -323,7 +323,7 @@ const RtkBreakoutRoomParticipants = class {
|
|
|
323
323
|
this.searchChanged(this.search);
|
|
324
324
|
}
|
|
325
325
|
disconnectedCallback() {
|
|
326
|
-
if (this.meeting
|
|
326
|
+
if (!this.meeting)
|
|
327
327
|
return;
|
|
328
328
|
}
|
|
329
329
|
updateSelectedParticipants(participant, selected) {
|
|
@@ -338,7 +338,7 @@ const RtkBreakoutRoomParticipants = class {
|
|
|
338
338
|
this.onSelectedParticipantsUpdate.emit(selectedParticipants);
|
|
339
339
|
}
|
|
340
340
|
meetingChanged(meeting) {
|
|
341
|
-
if (meeting
|
|
341
|
+
if (!meeting)
|
|
342
342
|
return;
|
|
343
343
|
this.getParticipants(this.search);
|
|
344
344
|
}
|
|
@@ -364,9 +364,9 @@ const RtkBreakoutRoomParticipants = class {
|
|
|
364
364
|
}, size: "sm" }), h("p", { class: "name", title: name }, shorten(name, 16), this.meeting.self.userId === participant.id && ` (${this.t('you')})`)));
|
|
365
365
|
}
|
|
366
366
|
render() {
|
|
367
|
-
return (h(Host, { key: '
|
|
367
|
+
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: {
|
|
368
368
|
'hide-checkbox': this.selectedParticipantIds.length === 0,
|
|
369
|
-
}, checked: this.selectedParticipantIds.includes(participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (h("div", { key: '
|
|
369
|
+
}, 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')))))));
|
|
370
370
|
}
|
|
371
371
|
static get watchers() { return {
|
|
372
372
|
"meeting": ["meetingChanged"],
|
|
@@ -374,13 +374,13 @@ const RtkBreakoutRoomParticipants = class {
|
|
|
374
374
|
"search": ["searchChanged"]
|
|
375
375
|
}; }
|
|
376
376
|
};
|
|
377
|
-
__decorate$
|
|
377
|
+
__decorate$M([
|
|
378
378
|
SyncWithStore()
|
|
379
379
|
], RtkBreakoutRoomParticipants.prototype, "meeting", void 0);
|
|
380
|
-
__decorate$
|
|
380
|
+
__decorate$M([
|
|
381
381
|
SyncWithStore()
|
|
382
382
|
], RtkBreakoutRoomParticipants.prototype, "iconPack", void 0);
|
|
383
|
-
__decorate$
|
|
383
|
+
__decorate$M([
|
|
384
384
|
SyncWithStore()
|
|
385
385
|
], RtkBreakoutRoomParticipants.prototype, "t", void 0);
|
|
386
386
|
RtkBreakoutRoomParticipants.style = RtkBreakoutRoomParticipantsStyle0;
|
|
@@ -388,7 +388,7 @@ RtkBreakoutRoomParticipants.style = RtkBreakoutRoomParticipantsStyle0;
|
|
|
388
388
|
const rtkBreakoutRoomsManagerCss = ":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)}.color-brand{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.color-danger{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.loading-content{height:var(--rtk-space-60, 240px);width:var(--rtk-space-96, 384px);padding:var(--rtk-space-9, 36px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));display:flex;align-items:center;justify-content:center}.room-config{overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));display:flex;flex-direction:column;width:var(--rtk-space-96, 384px);padding-left:var(--rtk-space-9, 36px);padding-right:var(--rtk-space-9, 36px);padding-top:var(--rtk-space-10, 40px);padding-bottom:var(--rtk-space-10, 40px)}header{margin-bottom:var(--rtk-space-8, 32px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px);font-size:24px;font-weight:600}header rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}.create-room{margin-bottom:var(--rtk-space-4, 16px);display:flex;align-items:center;gap:var(--rtk-space-3, 12px);width:100%}.create-room p{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-1, 4px);font-size:16px}.distribution-hint{margin-bottom:var(--rtk-space-8, 32px);font-size:14px;font-weight:400;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.distribution-hint em{font-style:normal;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}footer{display:flex;flex-direction:row;vertical-align:middle;justify-content:center}footer rtk-button{width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}label{margin-bottom:var(--rtk-space-3, 12px);font-weight:400;color:rgb(var(--rtk-colors-text-1000, 255 255 255));opacity:0.4}.participant-config-wrapper{width:850px;height:595px;max-width:100%;max-height:100%;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));display:flex;flex-direction:column}.participant-config-actions{display:flex;justify-content:space-between;padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-5, 20px);padding-bottom:var(--rtk-space-5, 20px);border-bottom-right-radius:var(--rtk-border-radius-md, 8px);border-bottom-left-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.participant-config{display:flex;flex-grow:1;flex-direction:row;overflow:hidden}aside{box-sizing:border-box;display:flex;width:var(--rtk-space-96, 384px);flex-grow:1;flex-direction:column;padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-4, 16px);border-right-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-right-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity))}aside header{margin-bottom:var(--rtk-space-4, 16px);width:100%;padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px);padding-top:var(--rtk-space-8, 32px);font-size:20px;font-weight:500;line-height:2rem}.shuffle-button{display:flex;flex-direction:row;align-items:center}.shuffle-button rtk-icon{height:var(--rtk-space-8, 32px)}.participants-assign-actions{display:flex;flex-direction:row;align-items:center;justify-content:space-between;font-size:14px;padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-2, 8px);margin-left:calc(var(--rtk-space-8, 32px) * -1);margin-right:calc(var(--rtk-space-4, 16px) * -1);padding-top:var(--rtk-space-0\\.5, 2px);padding-bottom:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.participants-assign-actions .deselect-button{height:var(--rtk-space-6, 24px)}.participants-assign-actions .deselect-button:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.assign-rooms{padding:var(--rtk-space-8, 32px);display:flex;width:100%;flex-direction:column}.assign-rooms .disabled{opacity:0.2}.assign-rooms .back{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:flex-start;padding:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-0, 0px);font-size:14px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.assign-rooms .back rtk-icon{height:var(--rtk-space-5, 20px)}.assign-rooms .row{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}.assign-rooms .row-header{margin:var(--rtk-space-0, 0px);font-size:16px;line-height:2rem}.assign-rooms .cta-buttons{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px)}.assign-rooms .cta-buttons rtk-button div{display:flex;flex-direction:row;align-items:center}.assign-rooms .cta-buttons rtk-button div rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}.rooms{margin-bottom:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-1, 4px);display:flex;flex-grow:1;flex-direction:column;gap:var(--rtk-space-2, 8px);overflow-y:auto;max-height:500px}.rooms::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-sm, 4px)}.rooms::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.rooms::-webkit-scrollbar-track{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.breakout-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}.breakout-actions .start-breakout-button{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.breakout-actions .close-breakout-button{color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity))}.breakout-actions .update-breakout-button{background-color:transparent;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity));border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity))}.status-bar{display:flex;align-items:center;font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));width:var(--rtk-space-80, 320px)}.ephemeral-status{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}.ephemeral-status rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}.room-switcher-container{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));width:468px;padding:var(--rtk-space-8, 32px)}.add-room-jumbo-btn div{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.add-room-jumbo-btn div rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}.br-primary-btn:not([disabled]){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.br-primary-btn:not([disabled]):hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-bg-opacity))}.br-secondary-btn:not([disabled]){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.br-secondary-btn:not([disabled]):hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";
|
|
389
389
|
const RtkBreakoutRoomsManagerStyle0 = rtkBreakoutRoomsManagerCss;
|
|
390
390
|
|
|
391
|
-
var __decorate$
|
|
391
|
+
var __decorate$L = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
392
392
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
393
393
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
394
394
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -678,16 +678,16 @@ const RtkBreakoutRoomsManager = class {
|
|
|
678
678
|
"selectedParticipants": ["onSelectedParticipantsChanged"]
|
|
679
679
|
}; }
|
|
680
680
|
};
|
|
681
|
-
__decorate$
|
|
681
|
+
__decorate$L([
|
|
682
682
|
SyncWithStore()
|
|
683
683
|
], RtkBreakoutRoomsManager.prototype, "meeting", void 0);
|
|
684
|
-
__decorate$
|
|
684
|
+
__decorate$L([
|
|
685
685
|
SyncWithStore()
|
|
686
686
|
], RtkBreakoutRoomsManager.prototype, "states", void 0);
|
|
687
|
-
__decorate$
|
|
687
|
+
__decorate$L([
|
|
688
688
|
SyncWithStore()
|
|
689
689
|
], RtkBreakoutRoomsManager.prototype, "iconPack", void 0);
|
|
690
|
-
__decorate$
|
|
690
|
+
__decorate$L([
|
|
691
691
|
SyncWithStore()
|
|
692
692
|
], RtkBreakoutRoomsManager.prototype, "t", void 0);
|
|
693
693
|
RtkBreakoutRoomsManager.style = RtkBreakoutRoomsManagerStyle0;
|
|
@@ -695,7 +695,7 @@ RtkBreakoutRoomsManager.style = RtkBreakoutRoomsManagerStyle0;
|
|
|
695
695
|
const rtkBroadcastMessageModalCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);padding:var(--rtk-space-4, 16px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));width:400px;max-width:80%}.content-col{display:flex;width:100%;flex-direction:column}h2{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-2, 8px)}.content-row{display:flex;width:100%;flex-direction:row}.content-row rtk-button{margin-top:var(--rtk-space-4, 16px);width:100%}textarea{margin-top:var(--rtk-space-3, 12px);resize:none;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;font-family:var(--rtk-font-family, sans-serif);outline:2px solid transparent;outline-offset:2px;height:var(--rtk-space-16, 64px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}textarea::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}textarea::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}select{border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);outline:2px solid transparent;outline-offset:2px;border-right-width:var(--rtk-border-width-md, 2px);border-style:solid;border-color:transparent;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}p{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-2, 8px);width:100%;text-align:center;font-size:14px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));display:flex;flex-direction:row;align-items:center;justify-content:center}p rtk-icon{margin-left:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px)}";
|
|
696
696
|
const RtkBroadcastMessageModalStyle0 = rtkBroadcastMessageModalCss;
|
|
697
697
|
|
|
698
|
-
var __decorate$
|
|
698
|
+
var __decorate$K = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
699
699
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
700
700
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
701
701
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -732,23 +732,23 @@ const RtkBroadcastMessageModal = class {
|
|
|
732
732
|
}, 2000);
|
|
733
733
|
}
|
|
734
734
|
render() {
|
|
735
|
-
return (h(Host, { key: '
|
|
735
|
+
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) => {
|
|
736
736
|
this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { to: e.target.value });
|
|
737
|
-
} }, h("option", { key: '
|
|
737
|
+
} }, h("option", { key: '72df6790e57bdd905ad96d62c9d6fa57e4a3a41c' }, "Everyone"), h("option", { key: '82650452bb4de2b6d382a14dab3e901d62ca3b13' }, "List of rooms")), h("textarea", { key: '2be2bad10700c89162a06d662198b4eaadd96027', placeholder: "Type message here...", onInput: (e) => {
|
|
738
738
|
this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { message: e.target.value });
|
|
739
739
|
} }), 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"))))));
|
|
740
740
|
}
|
|
741
741
|
};
|
|
742
|
-
__decorate$
|
|
742
|
+
__decorate$K([
|
|
743
743
|
SyncWithStore()
|
|
744
744
|
], RtkBroadcastMessageModal.prototype, "meeting", void 0);
|
|
745
|
-
__decorate$
|
|
745
|
+
__decorate$K([
|
|
746
746
|
SyncWithStore()
|
|
747
747
|
], RtkBroadcastMessageModal.prototype, "states", void 0);
|
|
748
|
-
__decorate$
|
|
748
|
+
__decorate$K([
|
|
749
749
|
SyncWithStore()
|
|
750
750
|
], RtkBroadcastMessageModal.prototype, "iconPack", void 0);
|
|
751
|
-
__decorate$
|
|
751
|
+
__decorate$K([
|
|
752
752
|
SyncWithStore()
|
|
753
753
|
], RtkBroadcastMessageModal.prototype, "t", void 0);
|
|
754
754
|
RtkBroadcastMessageModal.style = RtkBroadcastMessageModalStyle0;
|
|
@@ -756,7 +756,7 @@ RtkBroadcastMessageModal.style = RtkBroadcastMessageModalStyle0;
|
|
|
756
756
|
const rtkButtonCss = ":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{--icon-size:var(--rtk-button-icon-size, var(--rtk-space-5, 20px));--transition-property:var(--rtk-transition-property, all);--transition-duration:100ms;display:inline-flex;height:var(--rtk-space-8, 32px);cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:14px;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-sm, 4px);transition-property:var(--transition-property);transition-duration:var(--transition-duration)}button{box-sizing:border-box;background-color:transparent;color:inherit;border:var(--rtk-border-width-sm, 1px) solid transparent;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);display:inline-flex;flex-grow:1;justify-content:center;vertical-align:baseline;gap:var(--rtk-space-1, 4px);transition-property:var(--transition-property);transition-duration:var(--transition-duration);outline:none;height:inherit;border-radius:inherit;fill:inherit;cursor:inherit;font-weight:inherit;font-family:inherit;font-size:inherit;line-height:inherit}.start,.content,.end{align-self:center}::slotted(rtk-icon),::slotted(rtk-spinner){height:var(--icon-size);width:var(--icon-size)}:host([variant='primary']){color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}:host(:hover){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-bg-opacity))}button:focus-visible{border-color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host(:active){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-700, 2 70 253) / var(--tw-bg-opacity))}:host([disabled]:not([disabled='false'])){cursor:not-allowed;opacity:0.6}:host([variant='secondary']){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='secondary']:hover){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([variant='secondary']:active){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}:host([variant='danger']){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity))}:host([variant='danger']:hover){background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.7)}:host([variant='danger']:active){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity))}:host([variant='ghost']){background-color:transparent;color:inherit}:host([variant='ghost'].active){--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}:host([variant='ghost']:hover){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='ghost']:active){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([kind='icon']){--icon-size:var(--rtk-space-5, 20px);width:var(--rtk-space-8, 32px)}:host([kind='icon']) button{padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px)}:host([kind='wide']){width:100%}:host([size='lg']){--icon-size:var(--rtk-space-5, 20px);height:var(--rtk-space-10, 40px);font-size:16px}:host([size='lg'][kind='icon']){--icon-size:var(--rtk-space-6, 24px);height:var(--rtk-space-10, 40px);width:var(--rtk-space-10, 40px)}:host([size='sm']){--icon-size:var(--rtk-space-4, 16px);height:var(--rtk-space-6, 24px);font-size:12px}:host([size='sm'][kind='icon']){height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}";
|
|
757
757
|
const RtkButtonStyle0 = rtkButtonCss;
|
|
758
758
|
|
|
759
|
-
var __decorate$
|
|
759
|
+
var __decorate$J = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
760
760
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
761
761
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
762
762
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -785,7 +785,7 @@ const RtkButton = class {
|
|
|
785
785
|
}
|
|
786
786
|
static get delegatesFocus() { return true; }
|
|
787
787
|
};
|
|
788
|
-
__decorate$
|
|
788
|
+
__decorate$J([
|
|
789
789
|
SyncWithStore()
|
|
790
790
|
], RtkButton.prototype, "size", void 0);
|
|
791
791
|
RtkButton.style = RtkButtonStyle0;
|
|
@@ -793,7 +793,7 @@ RtkButton.style = RtkButtonStyle0;
|
|
|
793
793
|
const rtkChannelCreatorCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));display:flex;flex-direction:column;width:var(--rtk-space-96, 384px);padding-left:var(--rtk-space-9, 36px);padding-right:var(--rtk-space-9, 36px);padding-top:var(--rtk-space-10, 40px);padding-bottom:var(--rtk-space-10, 40px)}header{margin-bottom:var(--rtk-space-8, 32px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px);font-size:24px;font-weight:600}.channel-name-input{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-3, 12px);font-size:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.25;outline:2px solid transparent;outline-offset:2px}.channel-name-input:focus{outline-width:2px;outline-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}footer{margin-top:var(--rtk-space-5, 20px);display:flex;justify-content:flex-end}.member{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding:var(--rtk-space-2, 8px)}.member rtk-avatar{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.input-container{position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.25;outline:2px solid transparent;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5);border-radius:var(--rtk-border-radius-sm, 4px)}.input-container .members{margin:var(--rtk-space-0, 0px);max-height:var(--rtk-space-28, 112px);border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);list-style-type:none;display:flex;flex-wrap:wrap;gap:var(--rtk-space-1, 4px);cursor:text;font-size:16px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));overflow-y:auto;min-height:var(--rtk-space-7, 28px)}.input-container .pill{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.input-container .pill rtk-avatar{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.input-container .pill span{max-width:var(--rtk-space-32, 128px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-container .pill rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);cursor:pointer}.input-container input{width:var(--rtk-space-24, 96px);border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-1, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;font-size:16px;line-height:1.25rem}.input-container input.wide-input{width:100%}.search-results{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-1, 4px);max-height:var(--rtk-space-28, 112px);width:100%;padding:var(--rtk-space-0, 0px);position:absolute;list-style-type:none;overflow-y:auto;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-md, 8px);--tw-border-spacing-x:var(--rtk-space-2, 8px);--tw-border-spacing-y:var(--rtk-space-2, 8px);border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-style:solid;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.search-results .member{cursor:pointer}.search-results .member rtk-avatar{color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.search-results .member:hover,.search-results .member.selected{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-700, 2 70 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}";
|
|
794
794
|
const RtkChannelCreatorStyle0 = rtkChannelCreatorCss;
|
|
795
795
|
|
|
796
|
-
var __decorate$
|
|
796
|
+
var __decorate$I = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
797
797
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
798
798
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
799
799
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -927,19 +927,19 @@ const RtkChannelCreator = class {
|
|
|
927
927
|
(_a = this.inputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
928
928
|
}
|
|
929
929
|
render() {
|
|
930
|
-
return (h(Host, { key: '
|
|
930
|
+
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) => {
|
|
931
931
|
this.channelName = e.target.value.trim();
|
|
932
|
-
} })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: '
|
|
932
|
+
} })), 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')))));
|
|
933
933
|
}
|
|
934
934
|
get $el() { return getElement(this); }
|
|
935
935
|
};
|
|
936
|
-
__decorate$
|
|
936
|
+
__decorate$I([
|
|
937
937
|
SyncWithStore()
|
|
938
938
|
], RtkChannelCreator.prototype, "meeting", void 0);
|
|
939
|
-
__decorate$
|
|
939
|
+
__decorate$I([
|
|
940
940
|
SyncWithStore()
|
|
941
941
|
], RtkChannelCreator.prototype, "t", void 0);
|
|
942
|
-
__decorate$
|
|
942
|
+
__decorate$I([
|
|
943
943
|
SyncWithStore()
|
|
944
944
|
], RtkChannelCreator.prototype, "iconPack", void 0);
|
|
945
945
|
RtkChannelCreator.style = RtkChannelCreatorStyle0;
|
|
@@ -947,7 +947,7 @@ RtkChannelCreator.style = RtkChannelCreatorStyle0;
|
|
|
947
947
|
const rtkChannelDetailsCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));display:flex;flex-direction:column;width:var(--rtk-space-72, 288px);padding-top:var(--rtk-space-5, 20px);padding-bottom:var(--rtk-space-5, 20px);padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px)}header{font-size:20px}rtk-spinner{margin-top:var(--rtk-space-10, 40px);margin-bottom:var(--rtk-space-10, 40px);margin-left:auto;margin-right:auto}ul{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-6, 24px);margin-bottom:var(--rtk-space-4, 16px);height:var(--rtk-space-48, 192px);padding:var(--rtk-space-0, 0px);overflow-y:auto;list-style-type:none;display:flex;flex-direction:column;gap:var(--rtk-space-2, 8px)}ul li{margin-right:var(--rtk-space-2, 8px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px);padding:var(--rtk-space-2, 8px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px)}ul li:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}ul li rtk-avatar{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}";
|
|
948
948
|
const RtkChannelDetailsStyle0 = rtkChannelDetailsCss;
|
|
949
949
|
|
|
950
|
-
var __decorate$
|
|
950
|
+
var __decorate$H = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
951
951
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
952
952
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
953
953
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -973,13 +973,13 @@ const RtkChannelDetails = class {
|
|
|
973
973
|
})));
|
|
974
974
|
}
|
|
975
975
|
render() {
|
|
976
|
-
return (h(Host, { key: '
|
|
976
|
+
return (h(Host, { key: '56390bafc9a8a933499c11e51b38898494f407bc' }, h("header", { key: 'a27a3d775aceb8f23481823c1a21eb0286f5723a' }, this.t('chat.channel_members')), this.renderMembers()));
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
|
-
__decorate$
|
|
979
|
+
__decorate$H([
|
|
980
980
|
SyncWithStore()
|
|
981
981
|
], RtkChannelDetails.prototype, "t", void 0);
|
|
982
|
-
__decorate$
|
|
982
|
+
__decorate$H([
|
|
983
983
|
SyncWithStore()
|
|
984
984
|
], RtkChannelDetails.prototype, "iconPack", void 0);
|
|
985
985
|
RtkChannelDetails.style = RtkChannelDetailsStyle0;
|
|
@@ -987,7 +987,7 @@ RtkChannelDetails.style = RtkChannelDetailsStyle0;
|
|
|
987
987
|
const rtkChannelHeaderCss = "header{box-sizing:border-box;height:var(--rtk-space-16, 64px);width:100%;padding:var(--rtk-space-4, 16px);display:flex;justify-content:space-between;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));border-left-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-bottom-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-border-opacity))}header.searching{justify-content:flex-end}header.searching .channel-details{display:none}header .channel-details{display:flex;flex-grow:1;flex-direction:column;justify-content:center;height:var(--rtk-space-9, 36px);width:var(--rtk-space-1, 4px)}header .channel-details .name{font-weight:500}header .channel-details .members{margin-top:var(--rtk-space-0\\.5, 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}header .channel-tools{display:flex;flex-shrink:0;justify-content:flex-end;gap:var(--rtk-space-1, 4px);min-width:var(--rtk-space-24, 96px)}header .channel-tools rtk-tooltip{height:var(--rtk-space-8, 32px);width:var(--rtk-space-10, 40px);display:flex}header .search-input{height:var(--rtk-space-8, 32px);width:var(--rtk-space-48, 192px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}header .name{font-size:16px}header .br-primary-btn{background-color:transparent}header .br-primary-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}@media (orientation: landscape) and (min-width: 400px){header.searching .channel-details{display:flex}}.back-btn{margin-right:var(--rtk-space-3, 12px)}";
|
|
988
988
|
const RtkChannelHeaderStyle0 = rtkChannelHeaderCss;
|
|
989
989
|
|
|
990
|
-
var __decorate$
|
|
990
|
+
var __decorate$G = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
991
991
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
992
992
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
993
993
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1047,13 +1047,13 @@ const RtkChannelHeader = class {
|
|
|
1047
1047
|
"channel": ["onChannelChanged"]
|
|
1048
1048
|
}; }
|
|
1049
1049
|
};
|
|
1050
|
-
__decorate$
|
|
1050
|
+
__decorate$G([
|
|
1051
1051
|
SyncWithStore()
|
|
1052
1052
|
], RtkChannelHeader.prototype, "meeting", void 0);
|
|
1053
|
-
__decorate$
|
|
1053
|
+
__decorate$G([
|
|
1054
1054
|
SyncWithStore()
|
|
1055
1055
|
], RtkChannelHeader.prototype, "iconPack", void 0);
|
|
1056
|
-
__decorate$
|
|
1056
|
+
__decorate$G([
|
|
1057
1057
|
SyncWithStore()
|
|
1058
1058
|
], RtkChannelHeader.prototype, "t", void 0);
|
|
1059
1059
|
RtkChannelHeader.style = RtkChannelHeaderStyle0;
|
|
@@ -1061,7 +1061,7 @@ RtkChannelHeader.style = RtkChannelHeaderStyle0;
|
|
|
1061
1061
|
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";
|
|
1062
1062
|
const RtkChannelSelectorViewStyle0 = rtkChannelSelectorViewCss;
|
|
1063
1063
|
|
|
1064
|
-
var __decorate$
|
|
1064
|
+
var __decorate$F = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1065
1065
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1066
1066
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1067
1067
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1173,11 +1173,11 @@ const RtkChannelSelectorView = class {
|
|
|
1173
1173
|
render() {
|
|
1174
1174
|
const filteredChannels = this.getFilteredChannels();
|
|
1175
1175
|
const shouldShowDropdown = this.viewAs === 'list' || (this.viewAs === 'dropdown' && this.showDropdown);
|
|
1176
|
-
return (h(Host, { key: '
|
|
1176
|
+
return (h(Host, { key: '55c0b7974fdc4d69ab8205d216aadd3be538a1f6' }, this.viewAs === 'list' && h("slot", { key: '469c1b7f79dd75fb160ec0ed28dc64e7c0818df6', name: "header" }), shouldShowDropdown && (h("div", { key: '3012a7fd9e766b6e06d2973c1944c5a7dbad6517', class: {
|
|
1177
1177
|
dropdown: this.viewAs === 'dropdown',
|
|
1178
1178
|
scrollbar: this.viewAs === 'dropdown',
|
|
1179
1179
|
list: this.viewAs === 'list',
|
|
1180
|
-
} }, !this.disableSearch && (h("div", { key: '
|
|
1180
|
+
} }, !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) => {
|
|
1181
1181
|
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: {
|
|
1182
1182
|
name: channel.name,
|
|
1183
1183
|
picture: channel.avatarUrl,
|
|
@@ -1185,15 +1185,15 @@ const RtkChannelSelectorView = class {
|
|
|
1185
1185
|
'last-message': true,
|
|
1186
1186
|
'no-message': !channel.latestMessage,
|
|
1187
1187
|
} }, 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))))));
|
|
1188
|
-
})))), this.viewAs === 'dropdown' && (h("button", { key: '
|
|
1189
|
-
`${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: '
|
|
1188
|
+
})))), this.viewAs === 'dropdown' && (h("button", { key: '21e0faa2655c3f0c8cca668abda6ef761c57d179', class: "dropdown-trigger", onClick: this.toggleDropdown }, h("span", { key: 'ac1c51cb7fd12350d643ac5bdd106350fd4a7657' }, this.selectedChannelId &&
|
|
1189
|
+
`${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 })))));
|
|
1190
1190
|
}
|
|
1191
1191
|
get $el() { return getElement(this); }
|
|
1192
1192
|
};
|
|
1193
|
-
__decorate$
|
|
1193
|
+
__decorate$F([
|
|
1194
1194
|
SyncWithStore()
|
|
1195
1195
|
], RtkChannelSelectorView.prototype, "iconPack", void 0);
|
|
1196
|
-
__decorate$
|
|
1196
|
+
__decorate$F([
|
|
1197
1197
|
SyncWithStore()
|
|
1198
1198
|
], RtkChannelSelectorView.prototype, "t", void 0);
|
|
1199
1199
|
RtkChannelSelectorView.style = RtkChannelSelectorViewStyle0;
|
|
@@ -1201,7 +1201,7 @@ RtkChannelSelectorView.style = RtkChannelSelectorViewStyle0;
|
|
|
1201
1201
|
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";
|
|
1202
1202
|
const RtkChatStyle0 = rtkChatCss;
|
|
1203
1203
|
|
|
1204
|
-
var __decorate$
|
|
1204
|
+
var __decorate$E = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1205
1205
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1206
1206
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1207
1207
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1230,7 +1230,7 @@ const RtkChat = class {
|
|
|
1230
1230
|
this.canSendFiles = this.meeting.self.permissions.chatPublic.files;
|
|
1231
1231
|
};
|
|
1232
1232
|
/** Config */
|
|
1233
|
-
this.config =
|
|
1233
|
+
this.config = createDefaultConfig();
|
|
1234
1234
|
/** Icon pack */
|
|
1235
1235
|
this.iconPack = defaultIconPack;
|
|
1236
1236
|
/** Language */
|
|
@@ -1745,8 +1745,9 @@ const RtkChat = class {
|
|
|
1745
1745
|
}
|
|
1746
1746
|
render() {
|
|
1747
1747
|
var _a, _b;
|
|
1748
|
-
if (!this.meeting)
|
|
1748
|
+
if (!this.meeting) {
|
|
1749
1749
|
return null;
|
|
1750
|
+
}
|
|
1750
1751
|
const uiProps = { iconPack: this.iconPack, t: this.t, size: this.size };
|
|
1751
1752
|
const selfUserId = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId;
|
|
1752
1753
|
let chatMessages = this.chatGroups[this.selectedGroup] || [];
|
|
@@ -1762,16 +1763,19 @@ const RtkChat = class {
|
|
|
1762
1763
|
"displayFilter": ["onDisplayFilterChanged"]
|
|
1763
1764
|
}; }
|
|
1764
1765
|
};
|
|
1765
|
-
__decorate$
|
|
1766
|
+
__decorate$E([
|
|
1766
1767
|
SyncWithStore()
|
|
1767
1768
|
], RtkChat.prototype, "meeting", void 0);
|
|
1768
|
-
__decorate$
|
|
1769
|
+
__decorate$E([
|
|
1770
|
+
SyncWithStore()
|
|
1771
|
+
], RtkChat.prototype, "config", void 0);
|
|
1772
|
+
__decorate$E([
|
|
1769
1773
|
SyncWithStore()
|
|
1770
1774
|
], RtkChat.prototype, "size", void 0);
|
|
1771
|
-
__decorate$
|
|
1775
|
+
__decorate$E([
|
|
1772
1776
|
SyncWithStore()
|
|
1773
1777
|
], RtkChat.prototype, "iconPack", void 0);
|
|
1774
|
-
__decorate$
|
|
1778
|
+
__decorate$E([
|
|
1775
1779
|
SyncWithStore()
|
|
1776
1780
|
], RtkChat.prototype, "t", void 0);
|
|
1777
1781
|
RtkChat.style = RtkChatStyle0;
|
|
@@ -1779,7 +1783,7 @@ RtkChat.style = RtkChatStyle0;
|
|
|
1779
1783
|
const rtkChatComposerViewCss = ":host {\n display: flex;\n flex-direction: column;\n font-family: var(--rtk-font-family, sans-serif);\n font-size: 14px;\n position: relative;\n}\n\n.quoted-message-container {\n margin-bottom: var(--rtk-space-2, 8px);\n display: flex;\n justify-content: space-between;\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-1000, 255 255 255));\n border-radius: var(--rtk-border-radius-md, 8px);\n border: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n}\n\n.quoted-message-container .quoted-message {\n flex: 1 1 0%;\n padding: var(--rtk-space-2, 8px);\n border-radius: var(--rtk-border-radius-md, 8px);\n max-height: var(--rtk-space-24, 96px);\n overflow-y: auto;\n word-break: break-all;\n}\n\n.quoted-message-container .quoted-message blockquote {\n display: none;\n}\n\n.quoted-message-container rtk-icon.dismiss {\n margin-left: auto;\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n padding: var(--rtk-space-2, 8px);\n border-radius: var(--rtk-border-radius-md, 8px);\n color: rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));\n}\n\n.quoted-message-container rtk-icon.dismiss:hover {\n cursor: pointer;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\n.quoted-message-container rtk-icon.dismiss {\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.composer-container {\n position: relative;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n border-radius: var(--rtk-border-radius-md, 8px);\n overflow: hidden;\n border: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n}\n\n.composer-container > .composers {\n min-height: 60px;\n }\n\n@container chatcontainer (height < 360px) {\n .composer-container > .composers {\n min-height: 30px;\n }\n}\n\n.chat-buttons {\n padding: var(--rtk-space-3, 12px);\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-800, 30 30 30) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\n.chat-buttons .right {\n z-index: 10;\n}\n\n.chat-buttons .right .edit-buttons {\n display: flex;\n gap: var(--rtk-space-2, 8px);\n}\n\n.chat-buttons > div {\n display: flex;\n align-items: center;\n}\n\nrtk-emoji-picker {\n z-index: 20;\n position: absolute;\n top: calc(var(--rtk-space-72, 288px) * -1);\n border-top: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n animation: 0.3s slide-up ease;\n}\n\n@keyframes slide-up {\n from {\n transform: translateY(100%);\n }\n to {\n transform: translateY(0%);\n }\n}\n";
|
|
1780
1784
|
const RtkChatComposerViewStyle0 = rtkChatComposerViewCss;
|
|
1781
1785
|
|
|
1782
|
-
var __decorate$
|
|
1786
|
+
var __decorate$D = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1783
1787
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1784
1788
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1785
1789
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1967,10 +1971,10 @@ const RtkChatComposerView = class {
|
|
|
1967
1971
|
} }, uiProps))), h("slot", { key: '782450debcfcb1ae7effe6cc3fabc176b1a17e12', name: "chat-buttons" })))), h("div", { key: '39d9e3b86a6d6e9788d71a6e6f7928cb694e5c54', class: "right", part: "chat-buttons-right" }, !this.isEditing && (h("rtk-tooltip", { key: 'e5a182cc2ce7ca563de2e7438679119bbc0ea4e3', variant: "primary", label: this.t('chat.send_msg'), delay: 2000 }, h("rtk-button", { key: 'da1d029ad519b2bdb4c43b610372ee5cbcdb3ffd', kind: "icon", disabled: this.disableSendButton, onClick: () => this.handleSendMessage(), title: this.t('chat.send_msg') }, h("rtk-icon", { key: '608f9769aaf2689a50ae9ba616218aba4ce10370', icon: this.iconPack.send })))), this.isEditing && (h("div", { key: '7bc9c5c60f9dca00a3fabd2bb9c9ff64ba32eb66', class: "edit-buttons" }, h("rtk-tooltip", { key: 'f203cb3b1f6097c84ebe9bdce87913383d561f35', variant: "secondary", label: this.t('cancel'), delay: 2000 }, h("rtk-button", { key: '36720b4a31fa853a3e7de18442acf00bd32406c9', kind: "icon", variant: "secondary", onClick: () => this.handleEditCancel(), title: this.t('cancel') }, h("rtk-icon", { key: 'f4ed9e89f3633db7a3850539517f86ffb48fde96', icon: this.iconPack.dismiss }))), h("rtk-tooltip", { key: 'e66251c4572d124359edaffb551b3aaf3e9d52ee', variant: "primary", label: this.t('chat.update_msg'), delay: 2000 }, h("rtk-button", { key: '7f3be6fd93e61d0735ec0c5d36cec9bd65d0a164', kind: "icon", onClick: () => this.handleEditMessage(), title: this.t('chat.send_msg') }, h("rtk-icon", { key: '7b092e18376c32ac441fa57fbb758c8a452bec2f', icon: this.iconPack.checkmark }))))))))));
|
|
1968
1972
|
}
|
|
1969
1973
|
};
|
|
1970
|
-
__decorate$
|
|
1974
|
+
__decorate$D([
|
|
1971
1975
|
SyncWithStore()
|
|
1972
1976
|
], RtkChatComposerView.prototype, "iconPack", void 0);
|
|
1973
|
-
__decorate$
|
|
1977
|
+
__decorate$D([
|
|
1974
1978
|
SyncWithStore()
|
|
1975
1979
|
], RtkChatComposerView.prototype, "t", void 0);
|
|
1976
1980
|
RtkChatComposerView.style = RtkChatComposerViewStyle0;
|
|
@@ -1978,7 +1982,7 @@ RtkChatComposerView.style = RtkChatComposerViewStyle0;
|
|
|
1978
1982
|
const rtkChatMessageCss = ".message-wrapper{display:flex;gap:var(--rtk-space-2, 8px);margin-left:var(--rtk-space-4, 16px);margin-right:var(--rtk-space-4, 16px);margin-top:var(--rtk-space-4, 16px)}[is-continued] .message-wrapper{margin-top:var(--rtk-space-0, 0px)}.message-wrapper.align-right{flex-direction:row-reverse}.file-picker{display:none}.message{position:relative;display:flex}.show-on-hover rtk-menu{visibility:hidden}.show-on-hover:hover rtk-menu{visibility:visible}.align-right .message{justify-content:flex-end;margin-left:auto}.align-right .message .head{margin-right:var(--rtk-space-1, 4px);margin-left:var(--rtk-space-0, 0px);flex-direction:row-reverse;gap:var(--rtk-space-4, 16px)}.align-right .message rtk-text-message .bubble,.align-right .message rtk-image-message .bubble,.align-right .message rtk-file-message .bubble{padding-right:var(--rtk-space-5, 20px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.align-right .message .actions rtk-icon{color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.align-right rtk-menu{left:auto;right:var(--rtk-space-0, 0px)}.head{margin-bottom:var(--rtk-space-2, 8px);margin-left:var(--rtk-space-1, 4px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}.head .name{font-size:14px;font-weight:600}.head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}rtk-menu{position:absolute;left:var(--rtk-space-0, 0px);top:var(--rtk-space-6, 24px);border-radius:var(--rtk-border-radius-lg, 12px)}rtk-menu rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);cursor:pointer}[is-continued] rtk-menu{top:var(--rtk-space-2, 8px)}.actions{display:flex;align-items:center;justify-content:center;padding:var(--rtk-space-0\\.5, 2px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}.actions rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.body{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);overflow-wrap:break-word;font-size:14px;line-height:1.375}.body .emoji{font-size:24px}.body.bubble{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-1, 4px);max-width:var(--rtk-space-96, 384px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);padding-left:var(--rtk-space-5, 20px);padding-right:var(--rtk-space-5, 20px);overflow-wrap:break-word;font-size:14px;line-height:1.375;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.body.bubble p{margin:var(--rtk-space-0, 0px);word-break:break-word}p{margin:var(--rtk-space-0, 0px)}rtk-text-message,rtk-image-message,rtk-file-message{display:block;font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}*[is-continued]{margin-top:var(--rtk-space-0, 0px)}.image{position:relative;height:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);cursor:pointer}.image img{display:none;height:100%;width:100%;border-radius:var(--rtk-border-radius-sm, 4px);-o-object-fit:cover;object-fit:cover}.image .image-spinner{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.image .image-spinner rtk-spinner{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.image .image-errored{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.image .actions{display:none;height:var(--rtk-space-8, 32px);align-items:center;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.image .actions .action{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.image .actions .action:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.image.loaded img{display:block}.image.loaded .image-spinner{display:none}.image:hover .actions,.image:focus .actions{display:flex}.file{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1\\.5, 6px);padding-bottom:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.file .file-data{flex:1 1 0%}.file .file-data .name{word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.file .file-data .file-data-split{margin-top:var(--rtk-space-0\\.5, 2px);display:flex;align-items:center;font-size:12px}.file .file-data .file-data-split .ext{margin-right:var(--rtk-space-2, 8px);text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.file .file-data .file-data-split .divider{height:var(--rtk-space-4, 16px);width:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.file .file-data .file-data-split .size{margin-left:var(--rtk-space-2, 8px)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.new-chat-marker{display:flex;width:100%;align-items:center;gap:var(--rtk-space-2, 8px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.new-chat-marker::before{content:'';height:1px;flex:1 1 0%;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.show-new-messages-ctr{pointer-events:none;display:flex;justify-content:flex-end;padding:var(--rtk-space-3, 12px);z-index:0;margin-top:calc(var(--rtk-space-14, 56px) * -1)}.show-new-messages{pointer-events:auto;--tw-translate-y:calc(var(--rtk-space-6, 24px) * -1);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}blockquote{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px);background-color:transparent}.block-quote,blockquote{--tw-border-spacing-x:1px;--tw-border-spacing-y:1px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-md, 2px);border-right-width:var(--rtk-border-width-none, 0);border-style:solid;border-left-color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));padding:var(--rtk-space-0\\.5, 2px);padding-left:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px) !important;border-radius:var(--rtk-border-radius-sm, 4px);border-top-left-radius:var(--rtk-border-radius-none, 0);border-bottom-left-radius:var(--rtk-border-radius-none, 0)}.link{color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.align-right .block-quote{border-color:rgb(var(--rtk-colors-text-on-brand-600, var(--rtk-colors-text-600, 255 255 255 / 0.52)));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity))}.align-right .link{color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.align-right .image .actions rtk-icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.avatar{display:flex;width:var(--rtk-space-6, 24px)}.avatar rtk-avatar{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);font-size:10px}.message{width:75%}.left-align .body{margin-top:var(--rtk-space-4, 16px)}.left-align [is-continued] .body{margin-top:var(--rtk-space-0, 0px)}.left-align .body{--tw-translate-x:calc(var(--rtk-space-8, 32px) * -1);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}";
|
|
1979
1983
|
const RtkChatMessageStyle0 = rtkChatMessageCss;
|
|
1980
1984
|
|
|
1981
|
-
var __decorate$
|
|
1985
|
+
var __decorate$C = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1982
1986
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1983
1987
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1984
1988
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2065,24 +2069,24 @@ const RtkChatMessage = class {
|
|
|
2065
2069
|
} })));
|
|
2066
2070
|
}
|
|
2067
2071
|
render() {
|
|
2068
|
-
return (h(Host, { key: '
|
|
2072
|
+
return (h(Host, { key: '4f04ac68994dd416dd2e00828cec15bd1865ef8f' }, h("div", { key: '54cfcb68d201b3c2680b1aa26f1db7ab9330d632', class: {
|
|
2069
2073
|
'message-wrapper': true,
|
|
2070
2074
|
'align-right': this.alignRight,
|
|
2071
2075
|
'left-align': this.leftAlign,
|
|
2072
|
-
}, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: '
|
|
2076
|
+
}, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: 'a70b19bae3c4f410c012c275f7257409c4d443be', class: {
|
|
2073
2077
|
message: true,
|
|
2074
2078
|
'show-on-hover': !this.isTouchDevice(),
|
|
2075
2079
|
}, "is-continued": this.isContinued }, this.renderMessage(), this.renderControls()))));
|
|
2076
2080
|
}
|
|
2077
2081
|
get $el() { return getElement(this); }
|
|
2078
2082
|
};
|
|
2079
|
-
__decorate$
|
|
2083
|
+
__decorate$C([
|
|
2080
2084
|
SyncWithStore()
|
|
2081
2085
|
], RtkChatMessage.prototype, "size", void 0);
|
|
2082
|
-
__decorate$
|
|
2086
|
+
__decorate$C([
|
|
2083
2087
|
SyncWithStore()
|
|
2084
2088
|
], RtkChatMessage.prototype, "iconPack", void 0);
|
|
2085
|
-
__decorate$
|
|
2089
|
+
__decorate$C([
|
|
2086
2090
|
SyncWithStore()
|
|
2087
2091
|
], RtkChatMessage.prototype, "t", void 0);
|
|
2088
2092
|
RtkChatMessage.style = RtkChatMessageStyle0;
|
|
@@ -2090,7 +2094,7 @@ RtkChatMessage.style = RtkChatMessageStyle0;
|
|
|
2090
2094
|
const rtkChatMessagesUiCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));word-break:break-word}.chat-container{box-sizing:border-box;display:flex;flex-direction:column;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);flex:1 0 0px;overflow-y:scroll}.chat-container .spacer{flex:1 1 auto}.chat-container .chat{flex:0 0 auto}.file-picker{display:none}.chat .head{margin-bottom:var(--rtk-space-2, 8px);display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-2, 8px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{overflow-wrap:break-word;line-height:1.5}.chat .body .emoji{font-size:24px}p{margin:var(--rtk-space-0, 0px);line-height:1.5}rtk-message-view{margin-top:var(--rtk-space-2, 8px);display:block;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}rtk-message-view::part(message){flex-grow:1}*[is-continued] rtk-message-view{margin-top:var(--rtk-space-1, 4px)}.pinned .message-wrapper{position:relative}.pinned .pin-button{position:absolute;right:var(--rtk-space-4, 16px);top:calc(var(--rtk-space-4, 16px) * -1);display:flex;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.pinned .pin-button:hover rtk-button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-bg-opacity))}.pinned rtk-message-view{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.new-chat-marker{display:flex;width:100%;align-items:center;gap:var(--rtk-space-2, 8px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.new-chat-marker::before{content:'';height:1px;flex:1 1 0%;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.show-new-messages-ctr{pointer-events:none;display:flex;justify-content:flex-end;padding:var(--rtk-space-3, 12px);z-index:0;margin-top:calc(var(--rtk-space-14, 56px) * -1)}.show-new-messages{pointer-events:auto;--tw-translate-y:var(--rtk-space-16, 64px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}";
|
|
2091
2095
|
const RtkChatMessagesUiStyle0 = rtkChatMessagesUiCss;
|
|
2092
2096
|
|
|
2093
|
-
var __decorate$
|
|
2097
|
+
var __decorate$B = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2094
2098
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2095
2099
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2096
2100
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2239,7 +2243,7 @@ const RtkChatMessagesUi = class {
|
|
|
2239
2243
|
var _a;
|
|
2240
2244
|
let prevMessage = null;
|
|
2241
2245
|
let reachedFirstUnread = false;
|
|
2242
|
-
return (h(Host, { key: '
|
|
2246
|
+
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) => {
|
|
2243
2247
|
if (item.type === 'chat') {
|
|
2244
2248
|
const { message } = item;
|
|
2245
2249
|
const isSelfMessage = message.userId === this.selfUserId;
|
|
@@ -2258,23 +2262,23 @@ const RtkChatMessagesUi = class {
|
|
|
2258
2262
|
} })))), 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" }))))))));
|
|
2259
2263
|
}
|
|
2260
2264
|
return null;
|
|
2261
|
-
}))), h("div", { key: '
|
|
2265
|
+
}))), h("div", { key: 'f6904a989121d59799e092d14b090b59e2acb66b', class: "show-new-messages-ctr" }, h("rtk-button", { key: 'b5f154738cb266b7284456bebcbbd8b7ec6693e9', class: {
|
|
2262
2266
|
'show-new-messages': true,
|
|
2263
2267
|
active: this.showLatestMessageButton,
|
|
2264
|
-
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '
|
|
2268
|
+
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: 'd7b8035eb277251dffbb2ec7cf757d6083c9fa2b', icon: this.iconPack.chevron_down })))));
|
|
2265
2269
|
}
|
|
2266
2270
|
static get watchers() { return {
|
|
2267
2271
|
"messages": ["chatChanged"],
|
|
2268
2272
|
"selectedGroup": ["selectedBucketChanged"]
|
|
2269
2273
|
}; }
|
|
2270
2274
|
};
|
|
2271
|
-
__decorate$
|
|
2275
|
+
__decorate$B([
|
|
2272
2276
|
SyncWithStore()
|
|
2273
2277
|
], RtkChatMessagesUi.prototype, "size", void 0);
|
|
2274
|
-
__decorate$
|
|
2278
|
+
__decorate$B([
|
|
2275
2279
|
SyncWithStore()
|
|
2276
2280
|
], RtkChatMessagesUi.prototype, "iconPack", void 0);
|
|
2277
|
-
__decorate$
|
|
2281
|
+
__decorate$B([
|
|
2278
2282
|
SyncWithStore()
|
|
2279
2283
|
], RtkChatMessagesUi.prototype, "t", void 0);
|
|
2280
2284
|
RtkChatMessagesUi.style = RtkChatMessagesUiStyle0;
|
|
@@ -2282,7 +2286,7 @@ RtkChatMessagesUi.style = RtkChatMessagesUiStyle0;
|
|
|
2282
2286
|
const rtkChatMessagesUiPaginatedCss = ":host{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));flex:1 0 0px}";
|
|
2283
2287
|
const RtkChatMessagesUiPaginatedStyle0 = rtkChatMessagesUiPaginatedCss;
|
|
2284
2288
|
|
|
2285
|
-
var __decorate$
|
|
2289
|
+
var __decorate$A = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2286
2290
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2287
2291
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2288
2292
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2454,7 +2458,7 @@ const RtkChatMessagesUiPaginated = class {
|
|
|
2454
2458
|
this.lastReadMessageIndex = -1;
|
|
2455
2459
|
}
|
|
2456
2460
|
render() {
|
|
2457
|
-
return (h(Host, { key: '
|
|
2461
|
+
return (h(Host, { key: 'ab3da087eddff60e803af97f66b05dbb51a3957f' }, h("rtk-paginated-list", { key: 'd22d325b961625596c529a9c6fb8e086f6e24e00', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, selectedItemId: this.selectedChannelId, emptyListLabel: this.t('chat.empty_channel') }, h("slot", { key: '9bcd54c7f8e1e97c8e876e9c06435fa6bbe27fae' }))));
|
|
2458
2462
|
}
|
|
2459
2463
|
get host() { return getElement(this); }
|
|
2460
2464
|
static get watchers() { return {
|
|
@@ -2462,16 +2466,16 @@ const RtkChatMessagesUiPaginated = class {
|
|
|
2462
2466
|
"selectedChannelId": ["channelChanged"]
|
|
2463
2467
|
}; }
|
|
2464
2468
|
};
|
|
2465
|
-
__decorate$
|
|
2469
|
+
__decorate$A([
|
|
2466
2470
|
SyncWithStore()
|
|
2467
2471
|
], RtkChatMessagesUiPaginated.prototype, "meeting", void 0);
|
|
2468
|
-
__decorate$
|
|
2472
|
+
__decorate$A([
|
|
2469
2473
|
SyncWithStore()
|
|
2470
2474
|
], RtkChatMessagesUiPaginated.prototype, "size", void 0);
|
|
2471
|
-
__decorate$
|
|
2475
|
+
__decorate$A([
|
|
2472
2476
|
SyncWithStore()
|
|
2473
2477
|
], RtkChatMessagesUiPaginated.prototype, "iconPack", void 0);
|
|
2474
|
-
__decorate$
|
|
2478
|
+
__decorate$A([
|
|
2475
2479
|
SyncWithStore()
|
|
2476
2480
|
], RtkChatMessagesUiPaginated.prototype, "t", void 0);
|
|
2477
2481
|
RtkChatMessagesUiPaginated.style = RtkChatMessagesUiPaginatedStyle0;
|
|
@@ -2479,7 +2483,7 @@ RtkChatMessagesUiPaginated.style = RtkChatMessagesUiPaginatedStyle0;
|
|
|
2479
2483
|
const rtkChatSearchResultsCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;flex-direction:column;position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}";
|
|
2480
2484
|
const RtkChatSearchResultsStyle0 = rtkChatSearchResultsCss;
|
|
2481
2485
|
|
|
2482
|
-
var __decorate$
|
|
2486
|
+
var __decorate$z = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2483
2487
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2484
2488
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2485
2489
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2510,16 +2514,16 @@ const RtkChatSearchResults = class {
|
|
|
2510
2514
|
};
|
|
2511
2515
|
}
|
|
2512
2516
|
render() {
|
|
2513
|
-
return (h(Host, { key: '
|
|
2517
|
+
return (h(Host, { key: 'f9dc934ec73372295dde976d216dc1f8ffb6f11e' }, h("rtk-paginated-list", { key: '4bdb8438495075558df2ee013a58dbbd56e3f274', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
|
|
2514
2518
|
}
|
|
2515
2519
|
};
|
|
2516
|
-
__decorate$
|
|
2520
|
+
__decorate$z([
|
|
2517
2521
|
SyncWithStore()
|
|
2518
2522
|
], RtkChatSearchResults.prototype, "meeting", void 0);
|
|
2519
|
-
__decorate$
|
|
2523
|
+
__decorate$z([
|
|
2520
2524
|
SyncWithStore()
|
|
2521
2525
|
], RtkChatSearchResults.prototype, "iconPack", void 0);
|
|
2522
|
-
__decorate$
|
|
2526
|
+
__decorate$z([
|
|
2523
2527
|
SyncWithStore()
|
|
2524
2528
|
], RtkChatSearchResults.prototype, "t", void 0);
|
|
2525
2529
|
RtkChatSearchResults.style = RtkChatSearchResultsStyle0;
|
|
@@ -2527,7 +2531,7 @@ RtkChatSearchResults.style = RtkChatSearchResultsStyle0;
|
|
|
2527
2531
|
const rtkConfirmationModalCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);padding:var(--rtk-space-8, 32px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));width:400px;max-width:80%}.leave-modal{width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.leave-modal .header h2{margin:var(--rtk-space-0, 0px)}.leave-modal .content{font-size:14px}.leave-modal p{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px)}.leave-meeting{display:flex;flex-direction:row;justify-content:space-between;gap:var(--rtk-space-4, 16px)}.leave-meeting rtk-button{color:rgb(var(--rtk-colors-text-1000, 255 255 255));flex:1 1 0%}.br-secondary-btn{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.br-secondary-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";
|
|
2528
2532
|
const RtkConfirmationModalStyle0 = rtkConfirmationModalCss;
|
|
2529
2533
|
|
|
2530
|
-
var __decorate$
|
|
2534
|
+
var __decorate$y = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2531
2535
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2532
2536
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2533
2537
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2571,19 +2575,19 @@ const RtkConfirmationModal = class {
|
|
|
2571
2575
|
render() {
|
|
2572
2576
|
var _a, _b;
|
|
2573
2577
|
const state = this.states.activeConfirmationModal;
|
|
2574
|
-
return (h(Host, { key: '
|
|
2578
|
+
return (h(Host, { key: '22ee38d06ab212134ac17a656da1251a3dc05372' }, h("div", { key: 'ed29620d69abd3202a823de32c06d7b2fb71f828', class: "leave-modal" }, h("div", { key: '07466875c79feb312e7df26cec679e62a4fc2991', class: "header" }, h("h2", { key: '4ebc7ab0dc5c2175cb234575435a30e4d1ce7a13', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && h("p", { key: 'a9fcfa27f006dfb6ee1be60529b2c02611edc4cd', class: "message" }, this.t(state.content)), h("div", { key: '940cb8e8344bd99ba5d5266e284cc5161e666748', class: "content" }, h("div", { key: 'b8862b1db1f77121f9c2032e1f8213eeced5217d', class: "leave-meeting" }, h("rtk-button", { key: '0b4e17540009e0a465097e628904b36c54e17462', variant: "secondary", title: state.cancelText ? this.t(state.cancelText) : this.t('cancel'), onClick: this.close, class: "br-secondary-btn" }, state.cancelText ? this.t(state.cancelText) : this.t('cancel')), h("rtk-button", { key: '5f8c65ea6678c14855ece31827cb4aff714a0965', onClick: () => this.onConfirmation(), variant: (_b = (_a = this.states.activeConfirmationModal) === null || _a === void 0 ? void 0 : _a.variant) !== null && _b !== void 0 ? _b : 'danger', title: state.ctaText ? this.t(state.ctaText) : this.t('yes') }, state.ctaText ? this.t(state.ctaText) : this.t('yes')))))));
|
|
2575
2579
|
}
|
|
2576
2580
|
};
|
|
2577
|
-
__decorate$
|
|
2581
|
+
__decorate$y([
|
|
2578
2582
|
SyncWithStore()
|
|
2579
2583
|
], RtkConfirmationModal.prototype, "meeting", void 0);
|
|
2580
|
-
__decorate$
|
|
2584
|
+
__decorate$y([
|
|
2581
2585
|
SyncWithStore()
|
|
2582
2586
|
], RtkConfirmationModal.prototype, "states", void 0);
|
|
2583
|
-
__decorate$
|
|
2587
|
+
__decorate$y([
|
|
2584
2588
|
SyncWithStore()
|
|
2585
2589
|
], RtkConfirmationModal.prototype, "iconPack", void 0);
|
|
2586
|
-
__decorate$
|
|
2590
|
+
__decorate$y([
|
|
2587
2591
|
SyncWithStore()
|
|
2588
2592
|
], RtkConfirmationModal.prototype, "t", void 0);
|
|
2589
2593
|
RtkConfirmationModal.style = RtkConfirmationModalStyle0;
|
|
@@ -2591,7 +2595,7 @@ RtkConfirmationModal.style = RtkConfirmationModalStyle0;
|
|
|
2591
2595
|
const rtkCounterCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));width:-moz-fit-content;width:fit-content;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-1, 4px)}p{margin:var(--rtk-space-0, 0px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}input{margin:var(--rtk-space-0, 0px);width:var(--rtk-space-6, 24px);padding:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;border-color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));text-align:center;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));border-radius:var(--rtk-border-radius-sm, 4px);font-size:16px;outline:2px solid transparent;outline-offset:2px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:var(--rtk-space-0, 0px);appearance:none;-webkit-appearance:none}input[type='number']{-moz-appearance:textfield}";
|
|
2592
2596
|
const RtkCounterStyle0 = rtkCounterCss;
|
|
2593
2597
|
|
|
2594
|
-
var __decorate$
|
|
2598
|
+
var __decorate$x = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2595
2599
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2596
2600
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2597
2601
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2628,7 +2632,7 @@ const RtkCounter = class {
|
|
|
2628
2632
|
this.input = Math.max(this.minValue, parseInt(this.input) - 1).toString();
|
|
2629
2633
|
}
|
|
2630
2634
|
render() {
|
|
2631
|
-
return (h(Host, { key: '
|
|
2635
|
+
return (h(Host, { key: '272e7b55fbdf3b7bca96c737152319c310d1f112' }, h("rtk-button", { key: 'c9fd1fc0b3338b9428eb76f10d1d63f73292995b', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, h("rtk-icon", { key: '695097f6acef35020d3ca70f6afce1df28cebfba', icon: this.iconPack.subtract })), h("input", { key: '72fb69566bd509998bcaef9ce995ed048b0db5a8', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
|
|
2632
2636
|
const val = parseInt(e.target.value, 10);
|
|
2633
2637
|
if (isNaN(val) || val < this.minValue) {
|
|
2634
2638
|
this.input = this.minValue.toString();
|
|
@@ -2636,19 +2640,19 @@ const RtkCounter = class {
|
|
|
2636
2640
|
else {
|
|
2637
2641
|
this.input = val.toString();
|
|
2638
2642
|
}
|
|
2639
|
-
} }), h("rtk-button", { key: '
|
|
2643
|
+
} }), h("rtk-button", { key: '9f0eb1678344ae27fa06b179fac938cbfdbb8307', kind: "icon", variant: "ghost", onClick: () => this.increment() }, h("rtk-icon", { key: 'd895d47a9bc64aa95723970313eca8ea2503a8c1', icon: this.iconPack.add }))));
|
|
2640
2644
|
}
|
|
2641
2645
|
static get watchers() { return {
|
|
2642
2646
|
"input": ["watchStateHandler"]
|
|
2643
2647
|
}; }
|
|
2644
2648
|
};
|
|
2645
|
-
__decorate$
|
|
2649
|
+
__decorate$x([
|
|
2646
2650
|
SyncWithStore()
|
|
2647
2651
|
], RtkCounter.prototype, "size", void 0);
|
|
2648
|
-
__decorate$
|
|
2652
|
+
__decorate$x([
|
|
2649
2653
|
SyncWithStore()
|
|
2650
2654
|
], RtkCounter.prototype, "iconPack", void 0);
|
|
2651
|
-
__decorate$
|
|
2655
|
+
__decorate$x([
|
|
2652
2656
|
SyncWithStore()
|
|
2653
2657
|
], RtkCounter.prototype, "t", void 0);
|
|
2654
2658
|
RtkCounter.style = RtkCounterStyle0;
|
|
@@ -2656,7 +2660,7 @@ RtkCounter.style = RtkCounterStyle0;
|
|
|
2656
2660
|
const rtkDebuggerCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}header{margin-right:var(--rtk-space-2, 8px);display:flex;align-items:center;justify-content:space-between;padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}header h3{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px)}.back-btn{border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.back-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside{box-sizing:border-box;display:flex;max-width:var(--rtk-space-56, 224px) !important;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-2, 8px)}aside button{margin-top:var(--rtk-space-4, 16px);box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:space-between;border-top-left-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);background-color:transparent;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));cursor:default;font-size:14px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px}aside button .right{display:flex;align-items:center}aside button .right rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}aside button .right rtk-icon:last-child{margin-left:var(--rtk-space-4, 16px)}aside button[type='button']{cursor:pointer;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}aside button[type='button']:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside button[type='button']{border-right:var(--rtk-border-width-md, 2px) solid transparent}aside button.active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.active:hover{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.hidden{display:none}main{position:relative;box-sizing:border-box;display:flex;height:100%;width:100%;flex-direction:column}:host([size='sm']) aside{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));width:100% !important;max-width:100% !important;padding-left:var(--rtk-space-0, 0px)}:host([size='sm']) aside button{border-radius:var(--rtk-border-radius-none, 0)}:host([size='sm']) aside button.active{border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}:host([size='sm']) aside button.active:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) aside button.hidden{display:none}:host([size='sm']) aside.hide{display:none}aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) main{display:none;height:100%;width:100%;padding:var(--rtk-space-0, 0px)}aside button:host([size='sm']) main{display:none}:host([size='sm']) aside button:host([size='sm']) main{display:none}:host([size='sm']) main.active{display:block}:host([size='sm']) header{margin:var(--rtk-space-0, 0px);justify-content:center}:host([size='sm']) header rtk-button{position:absolute;left:var(--rtk-space-4, 16px)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb:hover{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.progress-bar{height:var(--rtk-space-1, 4px);width:100%;overflow:hidden;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.progress-indicator{height:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}";
|
|
2657
2661
|
const RtkDebuggerStyle0 = rtkDebuggerCss;
|
|
2658
2662
|
|
|
2659
|
-
var __decorate$
|
|
2663
|
+
var __decorate$w = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2660
2664
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2661
2665
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2662
2666
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2718,7 +2722,7 @@ const RtkDebugger = class {
|
|
|
2718
2722
|
}
|
|
2719
2723
|
}
|
|
2720
2724
|
render() {
|
|
2721
|
-
if (this.meeting
|
|
2725
|
+
if (!this.meeting)
|
|
2722
2726
|
return null;
|
|
2723
2727
|
const defaults = {
|
|
2724
2728
|
meeting: this.meeting,
|
|
@@ -2732,19 +2736,19 @@ const RtkDebugger = class {
|
|
|
2732
2736
|
return (h(Host, null, h("aside", { class: { hide: this.isMobileMainVisible }, part: "menu" }, h("header", null, h("h3", null, this.t('debugger.troubleshooting.label'))), h("button", { type: "button", class: { active: this.activeTab === 'audio' }, onClick: () => this.changeTab('audio') }, this.t('debugger.audio.label'), h("div", { class: "right" }, h("rtk-icon", { icon: this.iconPack.mic_on }), this.size === 'sm' && h("rtk-icon", { icon: this.iconPack.chevron_right }))), h("button", { type: "button", class: { active: this.activeTab === 'video' }, onClick: () => this.changeTab('video') }, this.t('debugger.video.label'), h("div", { class: "right" }, h("rtk-icon", { icon: this.iconPack.video_on }), this.size === 'sm' && h("rtk-icon", { icon: this.iconPack.chevron_right }))), h("button", { type: "button", class: { active: this.activeTab === 'screenshare' }, onClick: () => this.changeTab('screenshare') }, this.t('debugger.screenshare.label'), h("div", { class: "right" }, h("rtk-icon", { icon: this.iconPack.share_screen_start }), this.size === 'sm' && h("rtk-icon", { icon: this.iconPack.chevron_right }))), h("button", { type: "button", class: { active: this.activeTab === 'system', hidden: !showSystemsTab }, onClick: () => this.changeTab('system') }, this.t('debugger.system.label'), h("div", { class: "right" }, h("rtk-icon", { icon: this.iconPack.settings }), this.size === 'sm' && h("rtk-icon", { icon: this.iconPack.chevron_right })))), h("main", { class: { active: this.isMobileMainVisible }, part: "main-content" }, this.size === 'sm' && (h("header", null, h("rtk-button", { kind: "icon", class: "back-btn", onClick: () => (this.isMobileMainVisible = false) }, h("rtk-icon", { icon: this.iconPack.chevron_left })), h("h4", null, tab))), this.activeTab === 'audio' && h("rtk-debugger-audio", Object.assign({}, defaults)), this.activeTab === 'video' && h("rtk-debugger-video", Object.assign({}, defaults)), this.activeTab === 'screenshare' && (h("rtk-debugger-screenshare", Object.assign({}, defaults))), this.activeTab === 'system' && showSystemsTab && (h("rtk-debugger-system", Object.assign({}, defaults))))));
|
|
2733
2737
|
}
|
|
2734
2738
|
};
|
|
2735
|
-
__decorate$
|
|
2739
|
+
__decorate$w([
|
|
2736
2740
|
SyncWithStore()
|
|
2737
2741
|
], RtkDebugger.prototype, "meeting", void 0);
|
|
2738
|
-
__decorate$
|
|
2742
|
+
__decorate$w([
|
|
2739
2743
|
SyncWithStore()
|
|
2740
2744
|
], RtkDebugger.prototype, "states", void 0);
|
|
2741
|
-
__decorate$
|
|
2745
|
+
__decorate$w([
|
|
2742
2746
|
SyncWithStore()
|
|
2743
2747
|
], RtkDebugger.prototype, "size", void 0);
|
|
2744
|
-
__decorate$
|
|
2748
|
+
__decorate$w([
|
|
2745
2749
|
SyncWithStore()
|
|
2746
2750
|
], RtkDebugger.prototype, "iconPack", void 0);
|
|
2747
|
-
__decorate$
|
|
2751
|
+
__decorate$w([
|
|
2748
2752
|
SyncWithStore()
|
|
2749
2753
|
], RtkDebugger.prototype, "t", void 0);
|
|
2750
2754
|
RtkDebugger.style = RtkDebuggerStyle0;
|
|
@@ -2836,7 +2840,7 @@ function getBatteryChargingVerdict({ charging, dischargingTimeInSeconds, battery
|
|
|
2836
2840
|
const rtkDebuggerAudioCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-audio{display:flex;flex-direction:column}";
|
|
2837
2841
|
const RtkDebuggerAudioStyle0 = rtkDebuggerAudioCss;
|
|
2838
2842
|
|
|
2839
|
-
var __decorate$
|
|
2843
|
+
var __decorate$v = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2840
2844
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2841
2845
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2842
2846
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2960,19 +2964,19 @@ const RtkDebuggerAudio = class {
|
|
|
2960
2964
|
"meeting": ["meetingChanged"]
|
|
2961
2965
|
}; }
|
|
2962
2966
|
};
|
|
2963
|
-
__decorate$
|
|
2967
|
+
__decorate$v([
|
|
2964
2968
|
SyncWithStore()
|
|
2965
2969
|
], RtkDebuggerAudio.prototype, "meeting", void 0);
|
|
2966
|
-
__decorate$
|
|
2970
|
+
__decorate$v([
|
|
2967
2971
|
SyncWithStore()
|
|
2968
2972
|
], RtkDebuggerAudio.prototype, "states", void 0);
|
|
2969
|
-
__decorate$
|
|
2973
|
+
__decorate$v([
|
|
2970
2974
|
SyncWithStore()
|
|
2971
2975
|
], RtkDebuggerAudio.prototype, "size", void 0);
|
|
2972
|
-
__decorate$
|
|
2976
|
+
__decorate$v([
|
|
2973
2977
|
SyncWithStore()
|
|
2974
2978
|
], RtkDebuggerAudio.prototype, "iconPack", void 0);
|
|
2975
|
-
__decorate$
|
|
2979
|
+
__decorate$v([
|
|
2976
2980
|
SyncWithStore()
|
|
2977
2981
|
], RtkDebuggerAudio.prototype, "t", void 0);
|
|
2978
2982
|
RtkDebuggerAudio.style = RtkDebuggerAudioStyle0;
|
|
@@ -2980,7 +2984,7 @@ RtkDebuggerAudio.style = RtkDebuggerAudioStyle0;
|
|
|
2980
2984
|
const rtkDebuggerScreenshareCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}";
|
|
2981
2985
|
const RtkDebuggerScreenshareStyle0 = rtkDebuggerScreenshareCss;
|
|
2982
2986
|
|
|
2983
|
-
var __decorate$
|
|
2987
|
+
var __decorate$u = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2984
2988
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2985
2989
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2986
2990
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3147,19 +3151,19 @@ const RtkDebuggerScreenShare = class {
|
|
|
3147
3151
|
"meeting": ["meetingChanged"]
|
|
3148
3152
|
}; }
|
|
3149
3153
|
};
|
|
3150
|
-
__decorate$
|
|
3154
|
+
__decorate$u([
|
|
3151
3155
|
SyncWithStore()
|
|
3152
3156
|
], RtkDebuggerScreenShare.prototype, "meeting", void 0);
|
|
3153
|
-
__decorate$
|
|
3157
|
+
__decorate$u([
|
|
3154
3158
|
SyncWithStore()
|
|
3155
3159
|
], RtkDebuggerScreenShare.prototype, "states", void 0);
|
|
3156
|
-
__decorate$
|
|
3160
|
+
__decorate$u([
|
|
3157
3161
|
SyncWithStore()
|
|
3158
3162
|
], RtkDebuggerScreenShare.prototype, "size", void 0);
|
|
3159
|
-
__decorate$
|
|
3163
|
+
__decorate$u([
|
|
3160
3164
|
SyncWithStore()
|
|
3161
3165
|
], RtkDebuggerScreenShare.prototype, "iconPack", void 0);
|
|
3162
|
-
__decorate$
|
|
3166
|
+
__decorate$u([
|
|
3163
3167
|
SyncWithStore()
|
|
3164
3168
|
], RtkDebuggerScreenShare.prototype, "t", void 0);
|
|
3165
3169
|
RtkDebuggerScreenShare.style = RtkDebuggerScreenshareStyle0;
|
|
@@ -3167,7 +3171,7 @@ RtkDebuggerScreenShare.style = RtkDebuggerScreenshareStyle0;
|
|
|
3167
3171
|
const rtkDebuggerSystemCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.battery-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.battery-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.battery-row:last-child{border-bottom:none}.battery-cell{display:flex;flex-direction:column}.battery-cell.label strong{font-size:14px}.battery-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.battery-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-video{display:flex;flex-direction:column}";
|
|
3168
3172
|
const RtkDebuggerSystemStyle0 = rtkDebuggerSystemCss;
|
|
3169
3173
|
|
|
3170
|
-
var __decorate$
|
|
3174
|
+
var __decorate$t = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3171
3175
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3172
3176
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3173
3177
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3262,19 +3266,19 @@ const RtkDebuggerSystem = class {
|
|
|
3262
3266
|
"meeting": ["meetingChanged"]
|
|
3263
3267
|
}; }
|
|
3264
3268
|
};
|
|
3265
|
-
__decorate$
|
|
3269
|
+
__decorate$t([
|
|
3266
3270
|
SyncWithStore()
|
|
3267
3271
|
], RtkDebuggerSystem.prototype, "meeting", void 0);
|
|
3268
|
-
__decorate$
|
|
3272
|
+
__decorate$t([
|
|
3269
3273
|
SyncWithStore()
|
|
3270
3274
|
], RtkDebuggerSystem.prototype, "states", void 0);
|
|
3271
|
-
__decorate$
|
|
3275
|
+
__decorate$t([
|
|
3272
3276
|
SyncWithStore()
|
|
3273
3277
|
], RtkDebuggerSystem.prototype, "size", void 0);
|
|
3274
|
-
__decorate$
|
|
3278
|
+
__decorate$t([
|
|
3275
3279
|
SyncWithStore()
|
|
3276
3280
|
], RtkDebuggerSystem.prototype, "iconPack", void 0);
|
|
3277
|
-
__decorate$
|
|
3281
|
+
__decorate$t([
|
|
3278
3282
|
SyncWithStore()
|
|
3279
3283
|
], RtkDebuggerSystem.prototype, "t", void 0);
|
|
3280
3284
|
RtkDebuggerSystem.style = RtkDebuggerSystemStyle0;
|
|
@@ -3282,7 +3286,7 @@ RtkDebuggerSystem.style = RtkDebuggerSystemStyle0;
|
|
|
3282
3286
|
const rtkDebuggerVideoCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-video{display:flex;flex-direction:column}";
|
|
3283
3287
|
const RtkDebuggerVideoStyle0 = rtkDebuggerVideoCss;
|
|
3284
3288
|
|
|
3285
|
-
var __decorate$
|
|
3289
|
+
var __decorate$s = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3286
3290
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3287
3291
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3288
3292
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3418,19 +3422,19 @@ const RtkDebuggerVideo = class {
|
|
|
3418
3422
|
"meeting": ["meetingChanged"]
|
|
3419
3423
|
}; }
|
|
3420
3424
|
};
|
|
3421
|
-
__decorate$
|
|
3425
|
+
__decorate$s([
|
|
3422
3426
|
SyncWithStore()
|
|
3423
3427
|
], RtkDebuggerVideo.prototype, "meeting", void 0);
|
|
3424
|
-
__decorate$
|
|
3428
|
+
__decorate$s([
|
|
3425
3429
|
SyncWithStore()
|
|
3426
3430
|
], RtkDebuggerVideo.prototype, "states", void 0);
|
|
3427
|
-
__decorate$
|
|
3431
|
+
__decorate$s([
|
|
3428
3432
|
SyncWithStore()
|
|
3429
3433
|
], RtkDebuggerVideo.prototype, "size", void 0);
|
|
3430
|
-
__decorate$
|
|
3434
|
+
__decorate$s([
|
|
3431
3435
|
SyncWithStore()
|
|
3432
3436
|
], RtkDebuggerVideo.prototype, "iconPack", void 0);
|
|
3433
|
-
__decorate$
|
|
3437
|
+
__decorate$s([
|
|
3434
3438
|
SyncWithStore()
|
|
3435
3439
|
], RtkDebuggerVideo.prototype, "t", void 0);
|
|
3436
3440
|
RtkDebuggerVideo.style = RtkDebuggerVideoStyle0;
|
|
@@ -3438,7 +3442,7 @@ RtkDebuggerVideo.style = RtkDebuggerVideoStyle0;
|
|
|
3438
3442
|
const rtkDialogCss = ":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{word-wrap:break-word;overflow-wrap:break-word}#dialog{position:relative;max-height:100%;max-width:100%;padding:var(--rtk-space-0, 0px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}#dialog::backdrop{background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / 0.5);-webkit-backdrop-filter:blur(12px) saturate(180%);backdrop-filter:blur(12px) saturate(180%)}#dismiss-btn{position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);z-index:50}::slotted(*){max-height:100%;max-width:100%}";
|
|
3439
3443
|
const RtkDialogStyle0 = rtkDialogCss;
|
|
3440
3444
|
|
|
3441
|
-
var __decorate$
|
|
3445
|
+
var __decorate$r = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3442
3446
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3443
3447
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3444
3448
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3457,7 +3461,7 @@ const RtkDialog = class {
|
|
|
3457
3461
|
/** Whether Escape key can close the modal */
|
|
3458
3462
|
this.disableEscapeKey = false;
|
|
3459
3463
|
/** UI Config */
|
|
3460
|
-
this.config =
|
|
3464
|
+
this.config = createDefaultConfig();
|
|
3461
3465
|
/** Icon pack */
|
|
3462
3466
|
this.iconPack = defaultIconPack;
|
|
3463
3467
|
/** Language */
|
|
@@ -3502,19 +3506,22 @@ const RtkDialog = class {
|
|
|
3502
3506
|
} }, h("slot", null), !this.hideCloseButton && (h("rtk-button", { part: "close-button", id: "dismiss-btn", kind: "icon", variant: "ghost", onClick: () => this.close(), type: "button", "aria-label": this.t('dialog.close'), role: "button" }, h("rtk-icon", { icon: this.iconPack.dismiss }))))));
|
|
3503
3507
|
}
|
|
3504
3508
|
};
|
|
3505
|
-
__decorate$
|
|
3509
|
+
__decorate$r([
|
|
3506
3510
|
SyncWithStore()
|
|
3507
3511
|
], RtkDialog.prototype, "meeting", void 0);
|
|
3508
|
-
__decorate$
|
|
3512
|
+
__decorate$r([
|
|
3513
|
+
SyncWithStore()
|
|
3514
|
+
], RtkDialog.prototype, "config", void 0);
|
|
3515
|
+
__decorate$r([
|
|
3509
3516
|
SyncWithStore()
|
|
3510
3517
|
], RtkDialog.prototype, "states", void 0);
|
|
3511
|
-
__decorate$
|
|
3518
|
+
__decorate$r([
|
|
3512
3519
|
SyncWithStore()
|
|
3513
3520
|
], RtkDialog.prototype, "size", void 0);
|
|
3514
|
-
__decorate$
|
|
3521
|
+
__decorate$r([
|
|
3515
3522
|
SyncWithStore()
|
|
3516
3523
|
], RtkDialog.prototype, "iconPack", void 0);
|
|
3517
|
-
__decorate$
|
|
3524
|
+
__decorate$r([
|
|
3518
3525
|
SyncWithStore()
|
|
3519
3526
|
], RtkDialog.prototype, "t", void 0);
|
|
3520
3527
|
RtkDialog.style = RtkDialogStyle0;
|
|
@@ -3522,7 +3529,7 @@ RtkDialog.style = RtkDialogStyle0;
|
|
|
3522
3529
|
const rtkDialogManagerCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";
|
|
3523
3530
|
const RtkDialogManagerStyle0 = rtkDialogManagerCss;
|
|
3524
3531
|
|
|
3525
|
-
var __decorate$
|
|
3532
|
+
var __decorate$q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3526
3533
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3527
3534
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3528
3535
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3537,7 +3544,7 @@ const RtkDialogManager = class {
|
|
|
3537
3544
|
registerInstance(this, hostRef);
|
|
3538
3545
|
this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
|
|
3539
3546
|
/** UI Config */
|
|
3540
|
-
this.config =
|
|
3547
|
+
this.config = createDefaultConfig();
|
|
3541
3548
|
/** Icon pack */
|
|
3542
3549
|
this.iconPack = defaultIconPack;
|
|
3543
3550
|
/** Language */
|
|
@@ -3579,6 +3586,9 @@ const RtkDialogManager = class {
|
|
|
3579
3586
|
}
|
|
3580
3587
|
render() {
|
|
3581
3588
|
var _a, _b, _c, _d;
|
|
3589
|
+
if (!this.meeting) {
|
|
3590
|
+
return;
|
|
3591
|
+
}
|
|
3582
3592
|
const defaults = {
|
|
3583
3593
|
meeting: this.meeting,
|
|
3584
3594
|
states: this.states,
|
|
@@ -3649,19 +3659,22 @@ const RtkDialogManager = class {
|
|
|
3649
3659
|
"meeting": ["meetingChanged"]
|
|
3650
3660
|
}; }
|
|
3651
3661
|
};
|
|
3652
|
-
__decorate$
|
|
3662
|
+
__decorate$q([
|
|
3653
3663
|
SyncWithStore()
|
|
3654
3664
|
], RtkDialogManager.prototype, "meeting", void 0);
|
|
3655
|
-
__decorate$
|
|
3665
|
+
__decorate$q([
|
|
3666
|
+
SyncWithStore()
|
|
3667
|
+
], RtkDialogManager.prototype, "config", void 0);
|
|
3668
|
+
__decorate$q([
|
|
3656
3669
|
SyncWithStore()
|
|
3657
3670
|
], RtkDialogManager.prototype, "states", void 0);
|
|
3658
|
-
__decorate$
|
|
3671
|
+
__decorate$q([
|
|
3659
3672
|
SyncWithStore()
|
|
3660
3673
|
], RtkDialogManager.prototype, "size", void 0);
|
|
3661
|
-
__decorate$
|
|
3674
|
+
__decorate$q([
|
|
3662
3675
|
SyncWithStore()
|
|
3663
3676
|
], RtkDialogManager.prototype, "iconPack", void 0);
|
|
3664
|
-
__decorate$
|
|
3677
|
+
__decorate$q([
|
|
3665
3678
|
SyncWithStore()
|
|
3666
3679
|
], RtkDialogManager.prototype, "t", void 0);
|
|
3667
3680
|
RtkDialogManager.style = RtkDialogManagerStyle0;
|
|
@@ -3669,7 +3682,7 @@ RtkDialogManager.style = RtkDialogManagerStyle0;
|
|
|
3669
3682
|
const rtkDraftAttachmentViewCss = ":host{display:flex;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));border-top-left-radius:var(--rtk-border-radius-md, 8px);border-top-right-radius:var(--rtk-border-radius-md, 8px)}.preview-overlay{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);background-color:inherit}.preview{position:absolute;top:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);max-width:-moz-fit-content;max-width:fit-content;max-height:var(--rtk-space-20, 80px)}.preview:hover rtk-tooltip{display:block}.preview rtk-tooltip{position:absolute;top:calc(var(--rtk-space-1, 4px) * -1);left:calc(var(--rtk-space-1, 4px) * -1);display:none;margin-left:calc(var(--rtk-space-1, 4px) * -1);margin-top:calc(var(--rtk-space-1, 4px) * -1)}.preview rtk-button{display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));border:1px solid rgb(var(--rtk-colors-text-1000, 255 255 255))}.preview rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.preview-image{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);-o-object-fit:cover;object-fit:cover;max-height:100%;max-width:100%;overflow:clip;border-radius:var(--rtk-border-radius-md, 8px)}.preview-file{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--rtk-border-radius-md, 8px);max-width:200px}";
|
|
3670
3683
|
const RtkDraftAttachmentViewStyle0 = rtkDraftAttachmentViewCss;
|
|
3671
3684
|
|
|
3672
|
-
var __decorate$
|
|
3685
|
+
var __decorate$p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3673
3686
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3674
3687
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3675
3688
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3720,16 +3733,16 @@ const RtkDraftAttachmentView = class {
|
|
|
3720
3733
|
this.onAttachmentChange();
|
|
3721
3734
|
}
|
|
3722
3735
|
render() {
|
|
3723
|
-
return (h(Host, { key: '
|
|
3736
|
+
return (h(Host, { key: 'f6ede093bcdf8100807baab4de2a296fc4960a07' }, h("div", { key: 'b19bbe9b2ea58ea4adccc2028a1b24ea6bc9f0a9', class: "preview-overlay" }, h("div", { key: 'cbb2bfcb3a50e6e7fbfd4109eb340ba51d6a162d', class: "preview" }, h("rtk-tooltip", { key: '15b50c547470b0fa22014e0992a1c7e26b234573', label: this.t('chat.cancel_upload') }, h("rtk-button", { key: '940332a51747af3368ffec497d5ef76fa64ecf75', variant: "secondary", kind: "icon", onClick: this.onDeleteClickHandler }, h("rtk-icon", { key: 'cc04b0ac70753e970ff638f187ad5f702dc3656b', icon: this.iconPack.dismiss }))), this.attachment.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview)))))));
|
|
3724
3737
|
}
|
|
3725
3738
|
static get watchers() { return {
|
|
3726
3739
|
"attachment": ["onAttachmentChange"]
|
|
3727
3740
|
}; }
|
|
3728
3741
|
};
|
|
3729
|
-
__decorate$
|
|
3742
|
+
__decorate$p([
|
|
3730
3743
|
SyncWithStore()
|
|
3731
3744
|
], RtkDraftAttachmentView.prototype, "iconPack", void 0);
|
|
3732
|
-
__decorate$
|
|
3745
|
+
__decorate$p([
|
|
3733
3746
|
SyncWithStore()
|
|
3734
3747
|
], RtkDraftAttachmentView.prototype, "t", void 0);
|
|
3735
3748
|
RtkDraftAttachmentView.style = RtkDraftAttachmentViewStyle0;
|
|
@@ -3751,7 +3764,7 @@ const fetchEmojis = async () => {
|
|
|
3751
3764
|
const rtkEmojiPickerCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{width:100%}.emoji-parent{box-sizing:border-box;display:inline-flex;height:var(--rtk-space-64, 256px);width:100%;max-width:640px;flex-direction:column;padding:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-0, 0px);-webkit-user-select:none;-moz-user-select:none;user-select:none;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.close-parent{display:flex;flex:1 1 0%;justify-content:flex-end;padding:var(--rtk-space-0, 0px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}#emoji-grid{margin-top:var(--rtk-space-2, 8px);box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;overflow-x:hidden;overflow-y:scroll;height:100%;grid-auto-rows:minmax(min-content, max-content)}#loader{display:flex;height:100%;width:100%;align-items:center;justify-content:center}input{display:block;height:var(--rtk-space-8, 32px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);font-size:14px;border-width:var(--rtk-border-width-none, 0);border-style:solid;border-style:none;border-color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}input::-moz-placeholder{color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}input::placeholder{color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}input{border-radius:var(--rtk-border-radius-sm, 4px);outline:2px solid transparent;outline-offset:2px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}input:focus{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-border-opacity));--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-ring-opacity));--tw-ring-opacity:0.3}.emoji{height:var(--rtk-space-10, 40px);width:var(--rtk-space-10, 40px);font-size:20px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}";
|
|
3752
3765
|
const RtkEmojiPickerStyle0 = rtkEmojiPickerCss;
|
|
3753
3766
|
|
|
3754
|
-
var __decorate$
|
|
3767
|
+
var __decorate$o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3755
3768
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3756
3769
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3757
3770
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3805,13 +3818,13 @@ const RtkEmojiPicker = class {
|
|
|
3805
3818
|
return (h("div", { id: "emoji-grid", class: "scrollbar max-w-40" }, this.filteredEmojis.map((e) => (h("rtk-button", { key: `emoji-button-${e.name}`, class: "emoji", variant: "ghost", kind: "icon", title: e.name, onClick: () => this.handleEmojiClick(e.emoji) }, e.emoji)))));
|
|
3806
3819
|
}
|
|
3807
3820
|
render() {
|
|
3808
|
-
return (h(Host, { key: '
|
|
3821
|
+
return (h(Host, { key: '6581d26d75a7b869d0ba00243ec74ee06b927e7d' }, h("div", { key: '3705d8c557ac3e05769171998e9176e7e40a232c', class: 'close-parent' }, h("rtk-button", { key: 'b437e579cb828a709de255ddfa6b751e4bdfbe51', variant: "ghost", kind: "icon", class: "close", onClick: () => { var _a; return (_a = this.pickerClose) === null || _a === void 0 ? void 0 : _a.emit(); }, "aria-label": this.t('close') }, h("rtk-icon", { key: '7fac79a21c6be57156d17ceeff9ceb2834bbf709', icon: this.iconPack.dismiss }))), h("div", { key: '46cb2af6654ef36b7258baf47e3cd9e5bd60bf89', class: 'emoji-parent' }, h("input", { key: 'cfde33638d531f9bac1b1bf25d966a369f4dfb38', value: this.filterVal, onInput: (event) => this.handleInputChange(event.target), placeholder: this.t('search'), ref: (el) => (this.inputElement = el) }), this.mapEmojiList())));
|
|
3809
3822
|
}
|
|
3810
3823
|
};
|
|
3811
|
-
__decorate$
|
|
3824
|
+
__decorate$o([
|
|
3812
3825
|
SyncWithStore()
|
|
3813
3826
|
], RtkEmojiPicker.prototype, "iconPack", void 0);
|
|
3814
|
-
__decorate$
|
|
3827
|
+
__decorate$o([
|
|
3815
3828
|
SyncWithStore()
|
|
3816
3829
|
], RtkEmojiPicker.prototype, "t", void 0);
|
|
3817
3830
|
RtkEmojiPicker.style = RtkEmojiPickerStyle0;
|
|
@@ -3819,7 +3832,7 @@ RtkEmojiPicker.style = RtkEmojiPickerStyle0;
|
|
|
3819
3832
|
const rtkEmojiPickerButtonCss = ":host{}";
|
|
3820
3833
|
const RtkEmojiPickerButtonStyle0 = rtkEmojiPickerButtonCss;
|
|
3821
3834
|
|
|
3822
|
-
var __decorate$
|
|
3835
|
+
var __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3823
3836
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3824
3837
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3825
3838
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3838,18 +3851,18 @@ const RtkEmojiPickerButton = class {
|
|
|
3838
3851
|
this.t = useLanguage();
|
|
3839
3852
|
}
|
|
3840
3853
|
render() {
|
|
3841
|
-
return (h("rtk-tooltip", { key: '
|
|
3854
|
+
return (h("rtk-tooltip", { key: '45ef1f18da6d1ecc3c02882590cd22e930461562', label: this.t('chat.send_emoji') }, h("rtk-button", { key: '6504abab2f1c6537443699c53a8cbdcf13530cba', variant: "ghost", kind: "icon", class: { active: this.isActive }, title: this.t('chat.send_emoji') }, h("rtk-icon", { key: 'd730c81abce72d9c3226f1f666941e1136bee77f', icon: this.iconPack.emoji_multiple }))));
|
|
3842
3855
|
}
|
|
3843
3856
|
};
|
|
3844
|
-
__decorate$
|
|
3857
|
+
__decorate$n([
|
|
3845
3858
|
SyncWithStore()
|
|
3846
3859
|
], RtkEmojiPickerButton.prototype, "iconPack", void 0);
|
|
3847
|
-
__decorate$
|
|
3860
|
+
__decorate$n([
|
|
3848
3861
|
SyncWithStore()
|
|
3849
3862
|
], RtkEmojiPickerButton.prototype, "t", void 0);
|
|
3850
3863
|
RtkEmojiPickerButton.style = RtkEmojiPickerButtonStyle0;
|
|
3851
3864
|
|
|
3852
|
-
var __decorate$
|
|
3865
|
+
var __decorate$m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3853
3866
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3854
3867
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3855
3868
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3875,23 +3888,23 @@ const RtkFileMessage = class {
|
|
|
3875
3888
|
}
|
|
3876
3889
|
render() {
|
|
3877
3890
|
const link = sanitizeLink(this.message.link);
|
|
3878
|
-
return (h(Host, { key: '
|
|
3891
|
+
return (h(Host, { key: '7c75a7c9e627cddd7beeeadf11473894371395d8' }, !this.isContinued && (h(ChatHead, { key: 'c05c95453e3f878767770c6a261ebb90e2a06e7d', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '69b824cc5d3d328a3b08cc4def693d86bd96a39b', class: {
|
|
3879
3892
|
body: true,
|
|
3880
3893
|
bubble: this.showBubble,
|
|
3881
|
-
}, part: "body" }, h("div", { key: '
|
|
3894
|
+
}, part: "body" }, h("div", { key: '86315ca5ed3c9b9f48d84ffef9f52ebbd1d3515e', class: "file" }, h("div", { key: '3475ccfa9c266adb6fefefa1eadcc3d8b1fe37f1', class: "file-data" }, h("div", { key: 'e99e1b1c6acd5b7892d9916680cde1d937dfcb82', class: "name" }, this.message.name), h("div", { key: '4f213fd3a36d457da93e75b7b51573120978893c', class: "file-data-split" }, h("div", { key: '3484e59af9f316eabfcf9bc35f015a0d3b7d286d', class: "ext" }, getExtension(this.message.name)), h("span", { key: 'b223670e2ed2bbc84b1145123fe14ca52f5f0a88', class: "divider" }), h("div", { key: 'ebe6b5e3f8e6da099438a7015a3c2d10770808b6', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '5a109a7b43db38b10e9d084f9fb141e5a0535d9b', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '57aaf2b09f11a066c298d675a06ec10202e18fc8', icon: this.iconPack.download }))))));
|
|
3882
3895
|
}
|
|
3883
3896
|
};
|
|
3884
|
-
__decorate$
|
|
3897
|
+
__decorate$m([
|
|
3885
3898
|
SyncWithStore()
|
|
3886
3899
|
], RtkFileMessage.prototype, "iconPack", void 0);
|
|
3887
|
-
__decorate$
|
|
3900
|
+
__decorate$m([
|
|
3888
3901
|
SyncWithStore()
|
|
3889
3902
|
], RtkFileMessage.prototype, "t", void 0);
|
|
3890
3903
|
|
|
3891
3904
|
const rtkFileMessageViewCss = ":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)}.file{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);min-width:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.file .file-data{margin-left:var(--rtk-space-1, 4px);flex:1 1 0%}.file .file-data .name{word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.file .file-data .file-data-split{margin-top:var(--rtk-space-0\\.5, 2px);display:flex;align-items:center;font-size:12px}.file .file-data .file-data-split .ext{margin-right:var(--rtk-space-2, 8px);text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.file .file-data .file-data-split .divider{height:var(--rtk-space-4, 16px);width:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.file .file-data .file-data-split .size{margin-left:var(--rtk-space-2, 8px)}";
|
|
3892
3905
|
const RtkFileMessageViewStyle0 = rtkFileMessageViewCss;
|
|
3893
3906
|
|
|
3894
|
-
var __decorate$
|
|
3907
|
+
var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3895
3908
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3896
3909
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3897
3910
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3908,10 +3921,10 @@ const RtkFileMessageView = class {
|
|
|
3908
3921
|
this.iconPack = defaultIconPack;
|
|
3909
3922
|
}
|
|
3910
3923
|
render() {
|
|
3911
|
-
return (h("div", { key: '
|
|
3924
|
+
return (h("div", { key: '5cc29b4780f581a2f8b045e5051bcc66f3fdaf55', class: "file" }, h("rtk-button", { key: '4100b47bc1d72f08ec5fe645291bfbb58e3a6486', variant: "secondary", kind: "icon", onClick: () => downloadFile(sanitizeLink(this.url), { name: this.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '52ae14abb7c27b89861d5ba4c907d606257628c9', icon: this.iconPack.download })), h("div", { key: '02c9ad8d173172a85cc474273a966607d456360e', class: "file-data" }, h("div", { key: '6ceca21685d04f175006ba35a6de194cc98879ad', class: "name" }, this.name), h("div", { key: 'b07d07bcaedee3fd6fbcfe81ce2f6bf757655b5f', class: "file-data-split" }, h("div", { key: '280635ef486de02bc68ca3e774be14fa5a461d1c', class: "ext" }, getExtension(this.name)), h("span", { key: '84f72d8b37b7d15c257faed036b76c737eec780b', class: "divider" }), h("div", { key: '1b88f48f51afe3fceb57920c3d17f586e848a25f', class: "size" }, getFileSize(this.size))))));
|
|
3912
3925
|
}
|
|
3913
3926
|
};
|
|
3914
|
-
__decorate$
|
|
3927
|
+
__decorate$l([
|
|
3915
3928
|
SyncWithStore()
|
|
3916
3929
|
], RtkFileMessageView.prototype, "iconPack", void 0);
|
|
3917
3930
|
RtkFileMessageView.style = RtkFileMessageViewStyle0;
|
|
@@ -3919,7 +3932,7 @@ RtkFileMessageView.style = RtkFileMessageViewStyle0;
|
|
|
3919
3932
|
const rtkFilePickerButtonCss = ":host{}";
|
|
3920
3933
|
const RtkFilePickerButtonStyle0 = rtkFilePickerButtonCss;
|
|
3921
3934
|
|
|
3922
|
-
var __decorate$
|
|
3935
|
+
var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3923
3936
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3924
3937
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3925
3938
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3964,13 +3977,13 @@ const RtkFilePickerButton = class {
|
|
|
3964
3977
|
render() {
|
|
3965
3978
|
const label = this.label || this.t('chat.send_file');
|
|
3966
3979
|
const icon = this.iconPack[this.icon];
|
|
3967
|
-
return (h("rtk-tooltip", { key: '
|
|
3980
|
+
return (h("rtk-tooltip", { key: '057a0a5a714dbbde228e3481e53adea4f88fb3ad', label: label }, h("rtk-button", { key: '04193df1053b14687fb9464a122b9158707bdda1', variant: "ghost", kind: "icon", onClick: () => this.uploadFile(), title: label }, h("rtk-icon", { key: 'ed2fce30b93dfce9dd6b967d5993c93496cf3388', icon: icon }))));
|
|
3968
3981
|
}
|
|
3969
3982
|
};
|
|
3970
|
-
__decorate$
|
|
3983
|
+
__decorate$k([
|
|
3971
3984
|
SyncWithStore()
|
|
3972
3985
|
], RtkFilePickerButton.prototype, "iconPack", void 0);
|
|
3973
|
-
__decorate$
|
|
3986
|
+
__decorate$k([
|
|
3974
3987
|
SyncWithStore()
|
|
3975
3988
|
], RtkFilePickerButton.prototype, "t", void 0);
|
|
3976
3989
|
RtkFilePickerButton.style = RtkFilePickerButtonStyle0;
|
|
@@ -3978,7 +3991,7 @@ RtkFilePickerButton.style = RtkFilePickerButtonStyle0;
|
|
|
3978
3991
|
const rtkIconCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block;height:var(--rtk-space-10, 40px);outline:2px solid transparent;outline-offset:2px}:host .icon-wrapper{display:flex;height:100%;width:100%;flex-direction:column;align-items:center}:host svg{height:100%;width:100%;outline:2px solid transparent;outline-offset:2px}:host([size='xl']){box-sizing:border-box;display:block;height:var(--rtk-space-16, 64px) !important;width:var(--rtk-space-16, 64px) !important;--rtk-spinner-color:currentColor}:host([size='md']){box-sizing:border-box;display:block;height:var(--rtk-space-6, 24px) !important;width:var(--rtk-space-6, 24px) !important;--rtk-spinner-color:currentColor}:host([size='sm']){box-sizing:border-box;display:block;height:var(--rtk-space-4, 16px) !important;width:var(--rtk-space-4, 16px) !important;--rtk-spinner-color:currentColor}:host([variant='secondary']) .icon-wrapper{--tw-text-opacity:1;color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-text-opacity))}:host([variant='danger']) .icon-wrapper{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";
|
|
3979
3992
|
const RtkIconStyle0 = rtkIconCss;
|
|
3980
3993
|
|
|
3981
|
-
var __decorate$
|
|
3994
|
+
var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3982
3995
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3983
3996
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3984
3997
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4008,7 +4021,7 @@ const RtkIcon = class {
|
|
|
4008
4021
|
return (h(Host, { key: 'cc3de7d3c31d52bdc3c38891920f0f8b08c6fd2f' }, h("div", { key: 'e5a1487a5eb1e37272190a61300db415f12e8189', class: "icon-wrapper", innerHTML: parseIcon(this.icon), part: "wrapper" })));
|
|
4009
4022
|
}
|
|
4010
4023
|
};
|
|
4011
|
-
__decorate$
|
|
4024
|
+
__decorate$j([
|
|
4012
4025
|
SyncWithStore()
|
|
4013
4026
|
], RtkIcon.prototype, "size", void 0);
|
|
4014
4027
|
RtkIcon.style = RtkIconStyle0;
|
|
@@ -4016,7 +4029,7 @@ RtkIcon.style = RtkIconStyle0;
|
|
|
4016
4029
|
const rtkImageMessageCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.image-spinner{cursor:wait}.image-errored{cursor:not-allowed}";
|
|
4017
4030
|
const RtkImageMessageStyle0 = rtkImageMessageCss;
|
|
4018
4031
|
|
|
4019
|
-
var __decorate$
|
|
4032
|
+
var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4020
4033
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4021
4034
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4022
4035
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4043,10 +4056,10 @@ const RtkImageMessage = class {
|
|
|
4043
4056
|
this.status = 'loading';
|
|
4044
4057
|
}
|
|
4045
4058
|
render() {
|
|
4046
|
-
return (h(Host, { key: '
|
|
4059
|
+
return (h(Host, { key: 'd041223e2bcae326044ca2151b44d715b2490fa6' }, !this.isContinued && (h(ChatHead, { key: '35bdbb35d3bdb4c595f8185cd81327c86cd0524a', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '44084f1be980d115f66caa8e82e97fcfb50e9827', class: {
|
|
4047
4060
|
body: true,
|
|
4048
4061
|
bubble: this.showBubble,
|
|
4049
|
-
}, part: "body" }, h("div", { key: '
|
|
4062
|
+
}, part: "body" }, h("div", { key: 'ae0e85f9d657025e71a2ecfe27b828717d52c7f1', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'b28173a53512ec4ba0bb239441453f5d081eb504', src: sanitizeLink(this.message.link), onLoad: () => {
|
|
4050
4063
|
this.status = 'loaded';
|
|
4051
4064
|
}, onError: () => {
|
|
4052
4065
|
this.status = 'errored';
|
|
@@ -4054,15 +4067,15 @@ const RtkImageMessage = class {
|
|
|
4054
4067
|
if (this.status === 'loaded') {
|
|
4055
4068
|
this.stateUpdate.emit({ image: this.message });
|
|
4056
4069
|
}
|
|
4057
|
-
} }), this.status === 'loading' && (h("div", { key: '
|
|
4070
|
+
} }), this.status === 'loading' && (h("div", { key: '408010e071e11a36613713759c4cfa6479f384b7', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '8b30e18bec4dfbbcd088d6e3c1e2f62b69d02123', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: '19db09c9ad48452d2b13f186bba8d637ef6bde3c', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: '6affdcac8b7f639a44012f003d27b5095b0d923c', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: 'c81093571c1d33bc3f1a9755c5e4150108571506', class: "actions" }, h("rtk-button", { key: '075a5832d89c4ae5c89b994e1b35649984174c32', class: "action", variant: "secondary", kind: "icon", onClick: () => {
|
|
4058
4071
|
this.stateUpdate.emit({ image: this.message });
|
|
4059
|
-
} }, h("rtk-icon", { key: '
|
|
4072
|
+
} }, h("rtk-icon", { key: 'b00d1497ae3db0adc34add3e6cfc8537be04a581', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '9421be2f6b98623a3aebe4c3809a939f44660105', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.message.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: '1623fc6cf182cb5df03ab7bb4cd858941a7f216e', icon: this.iconPack.download }))))))));
|
|
4060
4073
|
}
|
|
4061
4074
|
};
|
|
4062
|
-
__decorate$
|
|
4075
|
+
__decorate$i([
|
|
4063
4076
|
SyncWithStore()
|
|
4064
4077
|
], RtkImageMessage.prototype, "iconPack", void 0);
|
|
4065
|
-
__decorate$
|
|
4078
|
+
__decorate$i([
|
|
4066
4079
|
SyncWithStore()
|
|
4067
4080
|
], RtkImageMessage.prototype, "t", void 0);
|
|
4068
4081
|
RtkImageMessage.style = RtkImageMessageStyle0;
|
|
@@ -4070,7 +4083,7 @@ RtkImageMessage.style = RtkImageMessageStyle0;
|
|
|
4070
4083
|
const rtkImageMessageViewCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.image-spinner{cursor:wait}.image-errored{cursor:not-allowed}.image{display:block;font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));position:relative;height:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);cursor:pointer}.image img{display:none;height:100%;width:100%;border-radius:var(--rtk-border-radius-sm, 4px);-o-object-fit:cover;object-fit:cover}.image .image-spinner{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.image .image-spinner rtk-spinner{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.image .image-errored{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.image .actions{display:none;height:var(--rtk-space-8, 32px);align-items:center;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.image .actions .action{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.image .actions .action:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.image.loaded img{display:block}.image.loaded .image-spinner{display:none}.image:hover .actions,.image:focus .actions{display:flex}";
|
|
4071
4084
|
const RtkImageMessageViewStyle0 = rtkImageMessageViewCss;
|
|
4072
4085
|
|
|
4073
|
-
var __decorate$
|
|
4086
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4074
4087
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4075
4088
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4076
4089
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4091,7 +4104,7 @@ const RtkImageMessageView = class {
|
|
|
4091
4104
|
this.status = 'loading';
|
|
4092
4105
|
}
|
|
4093
4106
|
render() {
|
|
4094
|
-
return (h("div", { key: '
|
|
4107
|
+
return (h("div", { key: '066606e6ae62634b2466bb46b453e0c2d91b17ea', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'f042e5d3c1a6341e9fc0845e6643016f1be5b5f7', src: sanitizeLink(this.url), onLoad: () => {
|
|
4095
4108
|
this.status = 'loaded';
|
|
4096
4109
|
}, onError: () => {
|
|
4097
4110
|
this.status = 'errored';
|
|
@@ -4099,15 +4112,15 @@ const RtkImageMessageView = class {
|
|
|
4099
4112
|
if (this.status === 'loaded') {
|
|
4100
4113
|
this.onPreview.emit(this.url);
|
|
4101
4114
|
}
|
|
4102
|
-
} }), this.status === 'loading' && (h("div", { key: '
|
|
4115
|
+
} }), this.status === 'loading' && (h("div", { key: 'd4a5030468fbf70afae62bd55ae4d0fa989e15c2', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '216aba361a46cc100e7d26cc2daf1ffb0948d695', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: '01f5da8f70872c9fa22dc9a9b70b046b0001d05b', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: '0f7e6fed2730f6366d07fc6afddb2b247e9b7d3a', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '5ac0e61c65a88a8d6b9ee54c900b856854d1b84b', class: "actions" }, h("rtk-button", { key: 'fd83dfecd7b5d9c3976374c3c55731b1f026fc0a', class: "action", variant: "secondary", kind: "icon", onClick: () => {
|
|
4103
4116
|
this.onPreview.emit(this.url);
|
|
4104
|
-
} }, h("rtk-icon", { key: '
|
|
4117
|
+
} }, h("rtk-icon", { key: '3ca7384fa28e6716345acacf9225ae9471ff8d63', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '198787808c389e4df48d3609a53c2d27cf2e7fb3', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.url, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'f38fe3da48d1fc854001c719164c95f0673808c5', icon: this.iconPack.download }))))));
|
|
4105
4118
|
}
|
|
4106
4119
|
};
|
|
4107
|
-
__decorate$
|
|
4120
|
+
__decorate$h([
|
|
4108
4121
|
SyncWithStore()
|
|
4109
4122
|
], RtkImageMessageView.prototype, "iconPack", void 0);
|
|
4110
|
-
__decorate$
|
|
4123
|
+
__decorate$h([
|
|
4111
4124
|
SyncWithStore()
|
|
4112
4125
|
], RtkImageMessageView.prototype, "t", void 0);
|
|
4113
4126
|
RtkImageMessageView.style = RtkImageMessageViewStyle0;
|
|
@@ -4115,7 +4128,7 @@ RtkImageMessageView.style = RtkImageMessageViewStyle0;
|
|
|
4115
4128
|
const rtkJoinStageCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}:host::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host(.stage){box-sizing:border-box;display:block;width:512px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding:var(--rtk-space-6, 24px);-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:auto;border-radius:var(--rtk-border-radius-md, 8px);line-height:1.25}:host(.stage) rtk-participant-setup{display:flex;flex:1 1 0%;align-items:center;justify-content:space-around;margin-left:auto;margin-right:auto}:host(.stage) .container rtk-button{flex-grow:1;padding:var(--rtk-space-1, 4px);width:50%}:host(.stage) .container rtk-button:nth-child(1){margin-right:var(--rtk-space-1\\.5, 6px)}:host(.stage) .container rtk-button:nth-child(2){margin-left:var(--rtk-space-1\\.5, 6px)}:host(.stage) h2{font-size:24px;font-weight:500;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host(.stage) header{padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host(.stage) .summary{padding:var(--rtk-space-4, 16px)}.deny-access{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.container{width:100%;max-width:1080px;display:flex;flex:1 1 0%;align-items:center;justify-content:space-around}header{display:flex;align-items:center;justify-content:space-between}";
|
|
4116
4129
|
const RtkJoinStageStyle0 = rtkJoinStageCss;
|
|
4117
4130
|
|
|
4118
|
-
var __decorate$
|
|
4131
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4119
4132
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4120
4133
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4121
4134
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4132,7 +4145,7 @@ const RtkJoinStage = class {
|
|
|
4132
4145
|
this.joinStage = createEvent(this, "rtkJoinStage", 7);
|
|
4133
4146
|
this.leaveStage = createEvent(this, "rtkLeaveStage", 7);
|
|
4134
4147
|
/** UI Config */
|
|
4135
|
-
this.config =
|
|
4148
|
+
this.config = createDefaultConfig();
|
|
4136
4149
|
/** Icon pack */
|
|
4137
4150
|
this.iconPack = defaultIconPack;
|
|
4138
4151
|
/** Language */
|
|
@@ -4158,7 +4171,7 @@ const RtkJoinStage = class {
|
|
|
4158
4171
|
iconPack: this.iconPack,
|
|
4159
4172
|
t: this.t,
|
|
4160
4173
|
};
|
|
4161
|
-
return (h(Host, { key: '
|
|
4174
|
+
return (h(Host, { key: 'ee254941b89cdcfbe322d8e913ca3dd2790d1ea6', class: { stage: true } }, h("header", { key: 'be0b1d01f1130eb94e5359a72dc95d9ce686e31d' }, h("h2", { key: 'aadacf690b450d5be0f2c86e029882e4345a5f52' }, this.dataConfig.title)), h(Render, { key: 'ea1f369c29e31d4c60e8dfe1f324a9d58866904b', element: "rtk-participant-setup", defaults: defaults, props: { participant: (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self, size: 'md' }, childProps: { participant: (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self, size: 'md' }, deepProps: true }), h("div", { key: 'dc4258092491548d8434be632a3b0e0c18b8b161', class: "summary" }, this.dataConfig.description), h("div", { key: '83d272287d60dc1a18cdac4baf2d0aa88ed5360c', class: "container" }, h("rtk-button", { key: 'c6eadb7cbf2b933e702e9f5fdd34ef88d0b01147', variant: "secondary", onClick: () => this.leaveStage.emit(), title: this.dataConfig.label.reject }, this.dataConfig.label.reject), h("rtk-button", { key: 'e1c685560706b75b9f9118c18d82b4148c1bb32a', onClick: () => {
|
|
4162
4175
|
if (this.isLoading)
|
|
4163
4176
|
return;
|
|
4164
4177
|
this.isLoading = true;
|
|
@@ -4166,19 +4179,22 @@ const RtkJoinStage = class {
|
|
|
4166
4179
|
}, title: this.dataConfig.label.accept }, this.isLoading ? (h("rtk-icon", { icon: this.iconPack.spinner })) : (this.dataConfig.label.accept)))));
|
|
4167
4180
|
}
|
|
4168
4181
|
};
|
|
4169
|
-
__decorate$
|
|
4182
|
+
__decorate$g([
|
|
4170
4183
|
SyncWithStore()
|
|
4171
4184
|
], RtkJoinStage.prototype, "meeting", void 0);
|
|
4172
|
-
__decorate$
|
|
4185
|
+
__decorate$g([
|
|
4186
|
+
SyncWithStore()
|
|
4187
|
+
], RtkJoinStage.prototype, "config", void 0);
|
|
4188
|
+
__decorate$g([
|
|
4173
4189
|
SyncWithStore()
|
|
4174
4190
|
], RtkJoinStage.prototype, "states", void 0);
|
|
4175
|
-
__decorate$
|
|
4191
|
+
__decorate$g([
|
|
4176
4192
|
SyncWithStore()
|
|
4177
4193
|
], RtkJoinStage.prototype, "size", void 0);
|
|
4178
|
-
__decorate$
|
|
4194
|
+
__decorate$g([
|
|
4179
4195
|
SyncWithStore()
|
|
4180
4196
|
], RtkJoinStage.prototype, "iconPack", void 0);
|
|
4181
|
-
__decorate$
|
|
4197
|
+
__decorate$g([
|
|
4182
4198
|
SyncWithStore()
|
|
4183
4199
|
], RtkJoinStage.prototype, "t", void 0);
|
|
4184
4200
|
RtkJoinStage.style = RtkJoinStageStyle0;
|
|
@@ -4186,7 +4202,7 @@ RtkJoinStage.style = RtkJoinStageStyle0;
|
|
|
4186
4202
|
const rtkLeaveMeetingCss = ":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)}.leave-modal{width:var(--rtk-space-72, 288px)}@media (min-width: 768px){.leave-modal{width:var(--rtk-space-96, 384px)}}.leave-modal{position:relative;display:flex;flex-direction:column;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding:var(--rtk-space-8, 32px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.leave-modal .header h2{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px)}.leave-modal .message{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.leave-modal .content{margin-top:var(--rtk-space-4, 16px);font-size:14px;display:flex;flex-wrap:wrap;gap:var(--rtk-space-4, 16px)}.leave-modal .content rtk-button{height:var(--rtk-space-9, 36px);min-width:var(--rtk-space-44, 176px);flex-grow:1}.leave-modal .content .secondary-btn{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.leave-modal .content .secondary-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.leave-modal .content .secondary-danger-btn{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";
|
|
4187
4203
|
const RtkLeaveMeetingStyle0 = rtkLeaveMeetingCss;
|
|
4188
4204
|
|
|
4189
|
-
var __decorate$
|
|
4205
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4190
4206
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4191
4207
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4192
4208
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4257,24 +4273,24 @@ const RtkLeaveMeeting = class {
|
|
|
4257
4273
|
}
|
|
4258
4274
|
}
|
|
4259
4275
|
render() {
|
|
4260
|
-
return (h(Host, { key: '
|
|
4276
|
+
return (h(Host, { key: '55991a2b1b60bb963ee7dfb10fbea5d5bc63c186' }, h("div", { key: 'bc50b5a89ff7ee5348aadbba4fe8f709fa35bee9', class: "leave-modal" }, h("div", { key: '7a19d21b272222e7cf83bbb6dbd8bb4284ea9d29', class: "header" }, h("h2", { key: '935e06a35f3669457c63761697a9152972d69c54', class: "title" }, this.t('leave'))), h("p", { key: 'cd1ba755b4f73c0d3fb4c9078ee11afc31cee726', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
|
|
4261
4277
|
? this.t('breakout_rooms.leave_confirmation')
|
|
4262
|
-
: this.t('leave_confirmation')), h("div", { key: '
|
|
4278
|
+
: this.t('leave_confirmation')), h("div", { key: 'd4031f068f492f76d5feb9dd39587263e9b545f0', class: "content" }, h("rtk-button", { key: 'a014dc329e5f861de85468e04715d8aeb87f4e8c', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (h("rtk-button", { key: '501a689793bb5e1ff2a8d03f5b9d0ab3d6baafbf', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), h("rtk-button", { key: '35a6941049928fa81f1e0a73b64f4ce937c86451', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (h("rtk-button", { key: '7c6367e3f9322235e126c01cc16014f5b2c81ecc', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
|
|
4263
4279
|
}
|
|
4264
4280
|
static get watchers() { return {
|
|
4265
4281
|
"meeting": ["meetingChanged"]
|
|
4266
4282
|
}; }
|
|
4267
4283
|
};
|
|
4268
|
-
__decorate$
|
|
4284
|
+
__decorate$f([
|
|
4269
4285
|
SyncWithStore()
|
|
4270
4286
|
], RtkLeaveMeeting.prototype, "meeting", void 0);
|
|
4271
|
-
__decorate$
|
|
4287
|
+
__decorate$f([
|
|
4272
4288
|
SyncWithStore()
|
|
4273
4289
|
], RtkLeaveMeeting.prototype, "states", void 0);
|
|
4274
|
-
__decorate$
|
|
4290
|
+
__decorate$f([
|
|
4275
4291
|
SyncWithStore()
|
|
4276
4292
|
], RtkLeaveMeeting.prototype, "iconPack", void 0);
|
|
4277
|
-
__decorate$
|
|
4293
|
+
__decorate$f([
|
|
4278
4294
|
SyncWithStore()
|
|
4279
4295
|
], RtkLeaveMeeting.prototype, "t", void 0);
|
|
4280
4296
|
RtkLeaveMeeting.style = RtkLeaveMeetingStyle0;
|
|
@@ -4282,7 +4298,7 @@ RtkLeaveMeeting.style = RtkLeaveMeetingStyle0;
|
|
|
4282
4298
|
const rtkLogoCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;flex-direction:column;align-items:center;justify-content:center;color:rgb(var(--rtk-colors-text-1000, 255 255 255));height:100%;width:auto}svg,img{height:100%;width:auto}.brand-color{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}";
|
|
4283
4299
|
const RtkLogoStyle0 = rtkLogoCss;
|
|
4284
4300
|
|
|
4285
|
-
var __decorate$
|
|
4301
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4286
4302
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4287
4303
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4288
4304
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4296,7 +4312,7 @@ const RtkLogo = class {
|
|
|
4296
4312
|
constructor(hostRef) {
|
|
4297
4313
|
registerInstance(this, hostRef);
|
|
4298
4314
|
/** Config object */
|
|
4299
|
-
this.config =
|
|
4315
|
+
this.config = createDefaultConfig();
|
|
4300
4316
|
/** Language */
|
|
4301
4317
|
this.t = useLanguage();
|
|
4302
4318
|
}
|
|
@@ -4336,10 +4352,13 @@ const RtkLogo = class {
|
|
|
4336
4352
|
"meeting": ["meetingChanged"]
|
|
4337
4353
|
}; }
|
|
4338
4354
|
};
|
|
4339
|
-
__decorate$
|
|
4355
|
+
__decorate$e([
|
|
4356
|
+
SyncWithStore()
|
|
4357
|
+
], RtkLogo.prototype, "config", void 0);
|
|
4358
|
+
__decorate$e([
|
|
4340
4359
|
SyncWithStore()
|
|
4341
4360
|
], RtkLogo.prototype, "meeting", void 0);
|
|
4342
|
-
__decorate$
|
|
4361
|
+
__decorate$e([
|
|
4343
4362
|
SyncWithStore()
|
|
4344
4363
|
], RtkLogo.prototype, "t", void 0);
|
|
4345
4364
|
RtkLogo.style = RtkLogoStyle0;
|
|
@@ -4424,7 +4443,7 @@ const RtkMarkdownView = class {
|
|
|
4424
4443
|
const slicedMessage = this.text.slice(0, this.maxLength);
|
|
4425
4444
|
const withReply = extractReplyBlock(slicedMessage, true);
|
|
4426
4445
|
const withoutReply = stripOutReplyBlock(slicedMessage);
|
|
4427
|
-
return (h("p", { key: '
|
|
4446
|
+
return (h("p", { key: '787e6d3177f4faf1c8dcd7c73d83a6de9c57b42b' }, withReply.length !== 0 && h("blockquote", { key: '1c4b82fb870994e6707d35adcd5e6f2f0e65dd26' }, this.renderMessage(withReply)), withoutReply.length !== 0 && this.renderMessage(withoutReply)));
|
|
4428
4447
|
}
|
|
4429
4448
|
};
|
|
4430
4449
|
RtkMarkdownView.style = RtkMarkdownViewStyle0;
|
|
@@ -4432,20 +4451,12 @@ RtkMarkdownView.style = RtkMarkdownViewStyle0;
|
|
|
4432
4451
|
const rtkMeetingCss = ":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{box-sizing:border-box;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));overflow:hidden;position:fixed;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);height:100%;width:100%}:host([mode='fill']){position:relative}";
|
|
4433
4452
|
const RtkMeetingStyle0 = rtkMeetingCss;
|
|
4434
4453
|
|
|
4435
|
-
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4436
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4437
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4438
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
4439
|
-
else
|
|
4440
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
4441
|
-
if (d = decorators[i])
|
|
4442
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4443
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4444
|
-
};
|
|
4445
4454
|
const RtkMeeting = class {
|
|
4446
4455
|
constructor(hostRef) {
|
|
4447
4456
|
registerInstance(this, hostRef);
|
|
4448
4457
|
this.statesUpdate = createEvent(this, "rtkStatesUpdate", 7);
|
|
4458
|
+
/** Since RtkMeeting by design works as a provider for component, to be in sync with other providers, added provider id */
|
|
4459
|
+
this.providerId = 'provider-' + Math.floor(Math.random() * 100);
|
|
4449
4460
|
this.roomJoinedListener = () => {
|
|
4450
4461
|
this.updateStates({ meeting: 'joined' });
|
|
4451
4462
|
};
|
|
@@ -4461,7 +4472,7 @@ const RtkMeeting = class {
|
|
|
4461
4472
|
this.mediaPermissionUpdateListener = ({ kind, message }) => {
|
|
4462
4473
|
if (['audio', 'video'].includes(kind)) {
|
|
4463
4474
|
if ((message === 'DENIED' || message === 'SYSTEM_DENIED') &&
|
|
4464
|
-
|
|
4475
|
+
(this.peerStore || uiStore).state.states.activeDebugger !== true) {
|
|
4465
4476
|
const permissionModalSettings = {
|
|
4466
4477
|
enabled: true,
|
|
4467
4478
|
kind,
|
|
@@ -4477,6 +4488,7 @@ const RtkMeeting = class {
|
|
|
4477
4488
|
}, this.leaveRoomTimer);
|
|
4478
4489
|
}
|
|
4479
4490
|
};
|
|
4491
|
+
this.peerStore = null; // peer specific store for this meeting peer instance
|
|
4480
4492
|
/** Whether to load config from preset */
|
|
4481
4493
|
this.loadConfigFromPreset = false;
|
|
4482
4494
|
/** Whether to apply the design system on the document root from config */
|
|
@@ -4488,14 +4500,15 @@ const RtkMeeting = class {
|
|
|
4488
4500
|
/** Language */
|
|
4489
4501
|
this.t = useLanguage();
|
|
4490
4502
|
/** UI Config */
|
|
4491
|
-
this.config =
|
|
4503
|
+
this.config = createDefaultConfig();
|
|
4492
4504
|
/** Grid layout */
|
|
4493
4505
|
this.gridLayout = 'row';
|
|
4494
4506
|
/** Icon pack */
|
|
4495
4507
|
this.iconPack = defaultIconPack;
|
|
4496
4508
|
this.handleChangingMeeting = (destinationMeetingId) => {
|
|
4509
|
+
const currentStates = (this.peerStore || uiStore).state.states;
|
|
4497
4510
|
this.updateStates({
|
|
4498
|
-
activeBreakoutRoomsManager: Object.assign(Object.assign({},
|
|
4511
|
+
activeBreakoutRoomsManager: Object.assign(Object.assign({}, currentStates.activeBreakoutRoomsManager), { destinationMeetingId }),
|
|
4499
4512
|
});
|
|
4500
4513
|
};
|
|
4501
4514
|
}
|
|
@@ -4509,17 +4522,76 @@ const RtkMeeting = class {
|
|
|
4509
4522
|
};
|
|
4510
4523
|
window.addEventListener('rtkError', this.authErrorListener);
|
|
4511
4524
|
}
|
|
4525
|
+
// Initialize default values
|
|
4512
4526
|
this.leaveRoomTimer = 10000;
|
|
4513
4527
|
this.loadConfigFromPreset = true;
|
|
4514
4528
|
this.applyDesignSystem = true;
|
|
4529
|
+
// Setup event listeners
|
|
4530
|
+
this.setupStoreRequestListener();
|
|
4531
|
+
this.setupStateUpdateListener();
|
|
4532
|
+
this.meetingChanged(this.meeting);
|
|
4515
4533
|
this.resizeObserver = new index(() => this.handleResize());
|
|
4516
4534
|
this.resizeObserver.observe(this.host);
|
|
4517
4535
|
if (this.applyDesignSystem &&
|
|
4518
4536
|
((_a = this.config) === null || _a === void 0 ? void 0 : _a.designTokens) != null &&
|
|
4519
|
-
typeof document !== 'undefined'
|
|
4537
|
+
typeof document !== 'undefined' &&
|
|
4538
|
+
(this.peerStore || uiStore).state.states.activeDebugger !== true) {
|
|
4520
4539
|
provideRtkDesignSystem(document.documentElement, this.config.designTokens);
|
|
4521
4540
|
}
|
|
4522
|
-
|
|
4541
|
+
}
|
|
4542
|
+
disconnectedCallback() {
|
|
4543
|
+
var _a;
|
|
4544
|
+
if (this.leaveOnUnmount) {
|
|
4545
|
+
(_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leaveRoom();
|
|
4546
|
+
}
|
|
4547
|
+
this.resizeObserver.disconnect();
|
|
4548
|
+
window.removeEventListener('rtkError', this.authErrorListener);
|
|
4549
|
+
// Remove event listeners
|
|
4550
|
+
if (this.storeRequestListener) {
|
|
4551
|
+
this.host.removeEventListener('rtkRequestStore', this.storeRequestListener);
|
|
4552
|
+
this.storeRequestListener = null;
|
|
4553
|
+
}
|
|
4554
|
+
if (this.stateUpdateListener) {
|
|
4555
|
+
this.host.removeEventListener('rtkStateUpdate', this.stateUpdateListener);
|
|
4556
|
+
this.stateUpdateListener = null;
|
|
4557
|
+
}
|
|
4558
|
+
// Clear meeting listeners
|
|
4559
|
+
if (this.meeting) {
|
|
4560
|
+
this.clearListeners(this.meeting);
|
|
4561
|
+
}
|
|
4562
|
+
}
|
|
4563
|
+
setupStoreRequestListener() {
|
|
4564
|
+
// Remove existing listener if any
|
|
4565
|
+
if (this.storeRequestListener) {
|
|
4566
|
+
this.host.removeEventListener('rtkRequestStore', this.storeRequestListener);
|
|
4567
|
+
}
|
|
4568
|
+
// Listen for store requests from child components
|
|
4569
|
+
this.storeRequestListener = (event) => {
|
|
4570
|
+
// Provide peer specific store if available, otherwise fall back to global store
|
|
4571
|
+
if (!this.peerStore)
|
|
4572
|
+
return;
|
|
4573
|
+
const storeToProvide = this.peerStore;
|
|
4574
|
+
const responseEvent = new CustomEvent('rtkProvideStore', {
|
|
4575
|
+
detail: { store: storeToProvide, requestId: event.detail.requestId },
|
|
4576
|
+
});
|
|
4577
|
+
document.dispatchEvent(responseEvent);
|
|
4578
|
+
// Stop the event from bubbling further to prevent other meetings from handling it
|
|
4579
|
+
event.stopPropagation();
|
|
4580
|
+
};
|
|
4581
|
+
this.host.addEventListener('rtkRequestStore', this.storeRequestListener);
|
|
4582
|
+
}
|
|
4583
|
+
setupStateUpdateListener() {
|
|
4584
|
+
if (this.stateUpdateListener) {
|
|
4585
|
+
this.host.removeEventListener('rtkStateUpdate', this.stateUpdateListener);
|
|
4586
|
+
}
|
|
4587
|
+
this.stateUpdateListener = (event) => {
|
|
4588
|
+
const eventTarget = event.target;
|
|
4589
|
+
if (!this.host.contains(eventTarget)) {
|
|
4590
|
+
return;
|
|
4591
|
+
}
|
|
4592
|
+
this.updateStates(event.detail);
|
|
4593
|
+
};
|
|
4594
|
+
this.host.addEventListener('rtkStateUpdate', this.stateUpdateListener);
|
|
4523
4595
|
}
|
|
4524
4596
|
clearListeners(meeting) {
|
|
4525
4597
|
if (!meeting)
|
|
@@ -4530,40 +4602,47 @@ const RtkMeeting = class {
|
|
|
4530
4602
|
meeting.self.removeListener('mediaPermissionUpdate', this.mediaPermissionUpdateListener);
|
|
4531
4603
|
meeting.meta.removeListener('socketConnectionUpdate', this.socketConnectionUpdateListener);
|
|
4532
4604
|
}
|
|
4533
|
-
disconnectedCallback() {
|
|
4534
|
-
var _a;
|
|
4535
|
-
if (this.leaveOnUnmount) {
|
|
4536
|
-
(_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leaveRoom();
|
|
4537
|
-
}
|
|
4538
|
-
this.resizeObserver.disconnect();
|
|
4539
|
-
this.clearListeners(this.meeting);
|
|
4540
|
-
window.removeEventListener('rtkError', this.authErrorListener);
|
|
4541
|
-
}
|
|
4542
4605
|
meetingChanged(meeting) {
|
|
4543
4606
|
var _a, _b;
|
|
4544
4607
|
if (!meeting)
|
|
4545
4608
|
return;
|
|
4609
|
+
// Create peer specific store for this meeting peer instance
|
|
4610
|
+
if (meeting) {
|
|
4611
|
+
this.peerStore = createPeerStore({
|
|
4612
|
+
meeting,
|
|
4613
|
+
config: this.config,
|
|
4614
|
+
iconPack: this.iconPack,
|
|
4615
|
+
t: this.t,
|
|
4616
|
+
size: this.size,
|
|
4617
|
+
providerId: this.providerId,
|
|
4618
|
+
});
|
|
4619
|
+
// Notify components that peer specific store is now available
|
|
4620
|
+
document.dispatchEvent(new CustomEvent('rtkPeerStoreReady', {
|
|
4621
|
+
detail: {
|
|
4622
|
+
peerId: meeting.self.id,
|
|
4623
|
+
},
|
|
4624
|
+
}));
|
|
4625
|
+
}
|
|
4626
|
+
else {
|
|
4627
|
+
this.peerStore = null;
|
|
4628
|
+
}
|
|
4546
4629
|
this.updateStates({ viewType: meeting.meta.viewType });
|
|
4547
4630
|
if (this.loadConfigFromPreset && meeting.self.config != null) {
|
|
4548
4631
|
const theme = meeting.self.config;
|
|
4549
4632
|
const { config, data } = generateConfig(theme, meeting);
|
|
4550
|
-
|
|
4551
|
-
// only override the config if the object is same as defaultConfig
|
|
4552
|
-
// which means it's a different object passed via prop
|
|
4553
|
-
this.config = config;
|
|
4554
|
-
}
|
|
4633
|
+
this.config = config;
|
|
4555
4634
|
if (this.showSetupScreen == null) {
|
|
4556
|
-
// only override this value if the prop isn't passed
|
|
4557
4635
|
this.showSetupScreen = data.showSetupScreen;
|
|
4558
4636
|
}
|
|
4559
4637
|
if (meeting.connectedMeetings.supportsConnectedMeetings &&
|
|
4560
|
-
((_a =
|
|
4638
|
+
((_a = (this.peerStore || uiStore).state.states.activeBreakoutRoomsManager) === null || _a === void 0 ? void 0 : _a.destinationMeetingId)) {
|
|
4561
4639
|
this.showSetupScreen = false;
|
|
4562
4640
|
}
|
|
4563
4641
|
}
|
|
4564
4642
|
if (this.applyDesignSystem &&
|
|
4565
4643
|
((_b = this.config) === null || _b === void 0 ? void 0 : _b.designTokens) != null &&
|
|
4566
|
-
typeof document !== 'undefined'
|
|
4644
|
+
typeof document !== 'undefined' &&
|
|
4645
|
+
(this.peerStore || uiStore).state.states.activeDebugger !== true) {
|
|
4567
4646
|
provideRtkDesignSystem(document.documentElement, this.config.designTokens);
|
|
4568
4647
|
}
|
|
4569
4648
|
meeting.self.addListener('roomJoined', this.roomJoinedListener);
|
|
@@ -4582,33 +4661,44 @@ const RtkMeeting = class {
|
|
|
4582
4661
|
this.updateStates({ meeting: 'setup' });
|
|
4583
4662
|
}
|
|
4584
4663
|
else {
|
|
4585
|
-
// join directly to the meeting
|
|
4586
4664
|
meeting.joinRoom();
|
|
4587
4665
|
}
|
|
4588
4666
|
}
|
|
4589
4667
|
window.removeEventListener('rtkError', this.authErrorListener);
|
|
4590
4668
|
}
|
|
4591
|
-
|
|
4592
|
-
this.
|
|
4669
|
+
onSizeChange(newSize) {
|
|
4670
|
+
if (this.peerStore) {
|
|
4671
|
+
this.peerStore.state.size = newSize;
|
|
4672
|
+
}
|
|
4593
4673
|
}
|
|
4594
4674
|
handleResize() {
|
|
4595
4675
|
this.size = getSize(this.host.clientWidth);
|
|
4596
4676
|
}
|
|
4597
4677
|
updateStates(states) {
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4678
|
+
// Use peer specific store if available, otherwise fall back to global store
|
|
4679
|
+
const targetStore = this.peerStore || uiStore;
|
|
4680
|
+
const newStates = Object.assign({}, targetStore.state.states);
|
|
4681
|
+
targetStore.state.states = deepMerge(newStates, states);
|
|
4682
|
+
// Emit unscoped event for backward compatibility
|
|
4683
|
+
this.statesUpdate.emit(targetStore.state.states);
|
|
4684
|
+
// Also emit a scoped event that only this meeting's components should listen to
|
|
4685
|
+
const scopedEvent = new CustomEvent('rtkStatesUpdate', {
|
|
4686
|
+
detail: targetStore.state.states,
|
|
4687
|
+
bubbles: true,
|
|
4688
|
+
composed: true,
|
|
4689
|
+
});
|
|
4690
|
+
this.host.dispatchEvent(scopedEvent);
|
|
4601
4691
|
}
|
|
4602
4692
|
render() {
|
|
4603
4693
|
const defaults = {
|
|
4604
4694
|
meeting: this.meeting,
|
|
4605
4695
|
size: this.size,
|
|
4606
|
-
states:
|
|
4607
|
-
config: this.config,
|
|
4696
|
+
states: (this.peerStore || uiStore).state.states,
|
|
4697
|
+
config: this.config || createDefaultConfig(),
|
|
4608
4698
|
iconPack: this.iconPack,
|
|
4609
4699
|
t: this.t,
|
|
4610
4700
|
};
|
|
4611
|
-
if (
|
|
4701
|
+
if ((this.peerStore || uiStore).state.states.viewType === 'CHAT') {
|
|
4612
4702
|
return h("rtk-chat", Object.assign({}, defaults));
|
|
4613
4703
|
}
|
|
4614
4704
|
const elementProps = {
|
|
@@ -4620,18 +4710,10 @@ const RtkMeeting = class {
|
|
|
4620
4710
|
}
|
|
4621
4711
|
get host() { return getElement(this); }
|
|
4622
4712
|
static get watchers() { return {
|
|
4623
|
-
"meeting": ["meetingChanged"]
|
|
4713
|
+
"meeting": ["meetingChanged"],
|
|
4714
|
+
"size": ["onSizeChange"]
|
|
4624
4715
|
}; }
|
|
4625
4716
|
};
|
|
4626
|
-
__decorate$e([
|
|
4627
|
-
SyncWithStore()
|
|
4628
|
-
], RtkMeeting.prototype, "meeting", void 0);
|
|
4629
|
-
__decorate$e([
|
|
4630
|
-
SyncWithStore()
|
|
4631
|
-
], RtkMeeting.prototype, "t", void 0);
|
|
4632
|
-
__decorate$e([
|
|
4633
|
-
SyncWithStore()
|
|
4634
|
-
], RtkMeeting.prototype, "iconPack", void 0);
|
|
4635
4717
|
RtkMeeting.style = RtkMeetingStyle0;
|
|
4636
4718
|
|
|
4637
4719
|
const rtkMenuCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:inline-block;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}#menu-list{position:absolute;z-index:20;display:none}";
|
|
@@ -4688,7 +4770,7 @@ const RtkMenu$1 = class {
|
|
|
4688
4770
|
});
|
|
4689
4771
|
}
|
|
4690
4772
|
render() {
|
|
4691
|
-
return (h(Host, { key: '
|
|
4773
|
+
return (h(Host, { key: 'bd41e5e2f0d26ac7b532ac85d1904cf6c0307fc8' }, h("span", { key: 'dcdb7df85f283aa37efd82d6f014371e655dab23', id: "trigger", ref: (el) => (this.triggerEl = el), onClick: () => {
|
|
4692
4774
|
this.clickedThis = true;
|
|
4693
4775
|
if (this.menuListEl.style.display !== 'block') {
|
|
4694
4776
|
this.menuListEl.style.display = 'block';
|
|
@@ -4697,7 +4779,7 @@ const RtkMenu$1 = class {
|
|
|
4697
4779
|
else {
|
|
4698
4780
|
this.menuListEl.style.display = 'none';
|
|
4699
4781
|
}
|
|
4700
|
-
} }, h("slot", { key: '
|
|
4782
|
+
} }, h("slot", { key: '0bbc31781b3b8702b6d233688de2031abd97d2dc', name: "trigger" })), h("span", { key: '5c0279fa9912ea5b5332f4c52e285405cfb18f05', part: "menu-list", id: "menu-list", ref: (el) => (this.menuListEl = el) }, h("slot", { key: '0185ee09c1f2034ffe44553c613f3e2bd59400e8' }))));
|
|
4701
4783
|
}
|
|
4702
4784
|
};
|
|
4703
4785
|
__decorate$d([
|
|
@@ -4733,7 +4815,7 @@ const RtkMenuItem = class {
|
|
|
4733
4815
|
this.t = useLanguage();
|
|
4734
4816
|
}
|
|
4735
4817
|
render() {
|
|
4736
|
-
return (h(Host, { key: '
|
|
4818
|
+
return (h(Host, { key: 'd847b9442e5e814e035bdca3b4ce69da7ed0d4bb' }, h("slot", { key: '9cf4adef243b99317aa627becb9412bf0c16e7d5', name: "start" }), h("slot", { key: 'efc47210f2527b061050a8f125eff3c3f2fed56f' }), h("slot", { key: '58b7b22d93c33d2bc85fc275209ef3f3ae3fdfc7', name: "end" })));
|
|
4737
4819
|
}
|
|
4738
4820
|
};
|
|
4739
4821
|
__decorate$c([
|
|
@@ -4769,7 +4851,7 @@ const RtkMenuList = class {
|
|
|
4769
4851
|
this.t = useLanguage();
|
|
4770
4852
|
}
|
|
4771
4853
|
render() {
|
|
4772
|
-
return (h(Host, { key: '
|
|
4854
|
+
return (h(Host, { key: '8d727ee3603bff8472bbe65a3fac47711fc6315c' }, h("slot", { key: '11755f7306267fd0496721a65aae0d36f84acb7b' })));
|
|
4773
4855
|
}
|
|
4774
4856
|
};
|
|
4775
4857
|
__decorate$b([
|
|
@@ -4816,7 +4898,7 @@ const RtkMessageView = class {
|
|
|
4816
4898
|
return (h("rtk-menu", { placement: "top-end", offset: 1 }, h("button", { slot: "trigger", class: "actions" }, h("rtk-icon", { icon: this.iconPack.chevron_down })), h("rtk-menu-list", null, this.actions.map((action) => (h("rtk-menu-item", { onClick: () => this.onAction.emit(action.id) }, action.icon && h("rtk-icon", { icon: action.icon, slot: "start" }), action.label))))));
|
|
4817
4899
|
}
|
|
4818
4900
|
render() {
|
|
4819
|
-
return (h(Host, { key: '
|
|
4901
|
+
return (h(Host, { key: 'cb9a54f30d9d3e42b1513c887c5c4ecdbbe1286d' }, h("div", { key: '9ff05d12f6441a3831fc91cda2094640ca730169', class: { 'message-wrapper': true, [this.viewType]: true } }, !this.hideAvatar && (h("aside", { key: '0afb28d2b8e2e09aad98b81f1eee75f08fe8d5a5', class: "avatar", part: "avatar" }, h("rtk-avatar", { key: 'a10f437e451b49941c9d5bed52ad450ddf6046d2', participant: { name: this.authorName, picture: this.avatarUrl }, size: "sm" }))), h("div", { key: '2d1b48256431776d34939f88c04fd8154fd4c95a', class: "message", part: "message" }, !this.hideAuthorName && h("div", { key: 'c380e92a56f94f9013e68067a86d743bc18fbb33', class: "header" }, this.authorName), h("div", { key: 'a81ffdc5e9665f0aad597a49b3467d5b4858f317', class: { body: true, bubble: this.variant === 'bubble' } }, h("slot", { key: '117f39722e02058aabef8eaacbaa99c7b5797452' }), !this.hideMetadata && !!this.time && (h("div", { key: '233f2bc3dd6dc62b5e6cfddef7c3a2135c1a0c6f', class: "metadata", title: formatDateTime(this.time) }, elapsedDuration(this.time, new Date(Date.now())))), this.actions.length !== 0 && this.renderActions())))));
|
|
4820
4902
|
}
|
|
4821
4903
|
};
|
|
4822
4904
|
__decorate$a([
|
|
@@ -4856,7 +4938,7 @@ const RtkMuteAllConfirmation = class {
|
|
|
4856
4938
|
};
|
|
4857
4939
|
}
|
|
4858
4940
|
render() {
|
|
4859
|
-
return (h(Host, { key: '
|
|
4941
|
+
return (h(Host, { key: 'd7439c9c3ffd1a79974ed8f8a0081aa807a2b103' }, h("div", { key: 'f11f6d201c843384f3e173cf611ea6b26fcfe620', class: "leave-modal" }, h("div", { key: '8475acebc7a3abd14a4d0716b6dbdeabb0f1896e', class: "header" }, h("h2", { key: 'fe5cfaa40eccca120a696555456acd59610bd5f0', class: "title" }, this.t('mute_all.header'))), h("p", { key: '88b6d8faf23e5780d632f9bac0077751bb9db554', class: "message" }, this.t('mute_all.description')), h("div", { key: 'b901ffb7714dbcf5bbda907df1f44214672ded17', class: "content" }, h("div", { key: 'f554e5829ff3250400307f139661a0fe426ee22c', class: "leave-meeting" }, h("rtk-button", { key: 'c300ddc6c3ae02266d4769a964eb3fb246aa7dbd', variant: "secondary", title: this.t('close'), onClick: this.onClose }, this.t('cancel')), h("rtk-button", { key: '897d7d2639a6c51c5fb0ae1b51a111fbba5431c9', variant: "danger", title: this.t('mute_all'), onClick: this.onMuteAll }, this.t('mute_all')))))));
|
|
4860
4942
|
}
|
|
4861
4943
|
};
|
|
4862
4944
|
__decorate$9([
|
|
@@ -4916,9 +4998,9 @@ const RtkNotification = class {
|
|
|
4916
4998
|
}
|
|
4917
4999
|
render() {
|
|
4918
5000
|
var _a;
|
|
4919
|
-
return (h(Host, { key: '
|
|
5001
|
+
return (h(Host, { key: 'ac0be33a8d9e03bd13cbc79f3ba082133fe6f227' }, h("div", { key: '7275520c8656b883a2f075768d3a8e2b84d64386', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: '368c448f1d2ec32c5bd555fda37955f50125f111', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
|
|
4920
5002
|
this.notification.icon == null &&
|
|
4921
|
-
this.imageState !== 'errored' && (h("img", { key: '
|
|
5003
|
+
this.imageState !== 'errored' && (h("img", { key: '510e84f6b3e0573ff1e617f5ccef73e79ac85028', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: '943becbe12a608de855b501d3209c0a795865d5b', class: "message" }, h(TextMessageView, { key: 'c81b7d0419a3da383c9fdb94cd0b25232094ae90', message: this.notification.message })), h("div", { key: '69eb21920c5cd680a781548e9981c3f1997d21c4', class: "right" }, this.notification.button != null && (h("rtk-button", { key: '7df0f1e71e531577eb3d9a8914247c0977a6ad20', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: 'f66c7958c125fd77ed04e6a66d5ea1527aa97dc1', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: '6d6a9fe85560b6c108672172a12235cab9ab6ff3', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
|
|
4922
5004
|
}
|
|
4923
5005
|
static get watchers() { return {
|
|
4924
5006
|
"paused": ["pausedChanged"],
|
|
@@ -5007,7 +5089,7 @@ const RtkNotifications = class {
|
|
|
5007
5089
|
this.permissions = DEFAULT_NOTIFICATION_CONFIG;
|
|
5008
5090
|
this.enabledSounds = getEnabledSounds(DEFAULT_NOTIFICATION_CONFIG.notification_sounds);
|
|
5009
5091
|
/** Config object */
|
|
5010
|
-
this.config =
|
|
5092
|
+
this.config = createDefaultConfig();
|
|
5011
5093
|
/** Language */
|
|
5012
5094
|
this.t = useLanguage();
|
|
5013
5095
|
/** Icon pack */
|
|
@@ -5085,7 +5167,7 @@ const RtkNotifications = class {
|
|
|
5085
5167
|
if (typeof document !== 'undefined') {
|
|
5086
5168
|
document === null || document === void 0 ? void 0 : document.removeEventListener('rtkNotification', this.onNotification);
|
|
5087
5169
|
}
|
|
5088
|
-
if (this.meeting
|
|
5170
|
+
if (!this.meeting)
|
|
5089
5171
|
return;
|
|
5090
5172
|
this.clearListeners(this.meeting);
|
|
5091
5173
|
this.waitlistedParticipantJoinedListener &&
|
|
@@ -5100,9 +5182,9 @@ const RtkNotifications = class {
|
|
|
5100
5182
|
meetingChanged(meeting, oldMeeting) {
|
|
5101
5183
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
5102
5184
|
clearTimeout(this.disconnectTimeout);
|
|
5103
|
-
if (oldMeeting
|
|
5185
|
+
if (oldMeeting)
|
|
5104
5186
|
this.clearListeners(oldMeeting);
|
|
5105
|
-
if (meeting
|
|
5187
|
+
if (!meeting)
|
|
5106
5188
|
return;
|
|
5107
5189
|
const isLivestream = meeting.meta.viewType === 'LIVESTREAM';
|
|
5108
5190
|
this.audio = new RTKNotificationsAudio(meeting);
|
|
@@ -5483,7 +5565,10 @@ const RtkNotifications = class {
|
|
|
5483
5565
|
this.meeting.self.permissions.acceptWaitingRequests);
|
|
5484
5566
|
}
|
|
5485
5567
|
render() {
|
|
5486
|
-
|
|
5568
|
+
if (!this.meeting) {
|
|
5569
|
+
return;
|
|
5570
|
+
}
|
|
5571
|
+
return (h(Host, null, h("div", { onMouseEnter: () => (this.paused = true), onFocusin: () => (this.paused = true), onMouseLeave: () => (this.paused = false), onFocusout: () => (this.paused = false) }, this.notifications.map((notification) => (h("rtk-notification", { size: this.size, key: notification.id, "data-id": notification.id, notification: notification, onRtkNotificationDismiss: (e) => this.handleDismiss(e), iconPack: this.iconPack, paused: this.paused, t: this.t }))))));
|
|
5487
5572
|
}
|
|
5488
5573
|
get host() { return getElement(this); }
|
|
5489
5574
|
static get watchers() { return {
|
|
@@ -5498,6 +5583,9 @@ __decorate$7([
|
|
|
5498
5583
|
__decorate$7([
|
|
5499
5584
|
SyncWithStore()
|
|
5500
5585
|
], RtkNotifications.prototype, "states", void 0);
|
|
5586
|
+
__decorate$7([
|
|
5587
|
+
SyncWithStore()
|
|
5588
|
+
], RtkNotifications.prototype, "config", void 0);
|
|
5501
5589
|
__decorate$7([
|
|
5502
5590
|
SyncWithStore()
|
|
5503
5591
|
], RtkNotifications.prototype, "t", void 0);
|
|
@@ -5539,7 +5627,7 @@ const RtkOverlayModal = class {
|
|
|
5539
5627
|
}
|
|
5540
5628
|
}
|
|
5541
5629
|
render() {
|
|
5542
|
-
return (h(Host, { key: '
|
|
5630
|
+
return (h(Host, { key: 'd2837e184517e21a048bf3c0132db866e76df98e' }, h("rtk-icon", { key: '986632806311740b097ef99ad2cefc286f54b7d4', icon: this.states.activeOverlayModal.icon }), h("h2", { key: 'f7c985545abeefcf0dccd10744c70e84b14c0f1d' }, this.states.activeOverlayModal.title), h("p", { key: '43ab2a1bde3c41732d3e159c493a799f68bcd0c7' }, this.states.activeOverlayModal.description)));
|
|
5543
5631
|
}
|
|
5544
5632
|
};
|
|
5545
5633
|
__decorate$6([
|
|
@@ -5834,7 +5922,7 @@ const RtkPaginatedList = class {
|
|
|
5834
5922
|
* which is why div#bottom-scroll comes before div#top-scroll
|
|
5835
5923
|
* div.page-wrapper prevents reversal of messages
|
|
5836
5924
|
*/
|
|
5837
|
-
return (h(Host, { key: '
|
|
5925
|
+
return (h(Host, { key: '69d3a477477c252a20b07d749979b8b7dfb2e2e7' }, h("div", { key: '8ad8afdcc6ff74dfb150615597029db185369293', class: "scrollbar container", part: "container", ref: (el) => (this.$paginatedList = el) }, h("div", { key: '62b9e1007f9c46f181d2c4b0ab3ca532b9e89f3d', class: { 'show-new-messages-ctr': true, active: !this.shouldRenderNewNodes } }, h("rtk-button", { key: '4107ae7cfa77f50df7834e95dd35cad6b4836fda', class: "show-new-messages", kind: "icon", variant: "secondary", part: "show-new-messages", onClick: () => this.onDownArrowClicked() }, h("rtk-icon", { key: '1cd4a0c65e38021ecfc42c3669852fe311ac0600', icon: this.iconPack.chevron_down }))), h("div", { key: 'a52878eee8c962808b431f18b0fc6f97ecafd314', class: "smallest-dom-element", id: "bottom-scroll", ref: (el) => (this.$bottomRef = el) }), this.isLoading && this.pagesToRender.flat().length === 0 && h("rtk-spinner", { key: 'f40afc71664c93e55773112e8f69a2f97b1d8146', size: "lg" }), this.pagesToRender.flat().length === 0 && this.showEmptyListLabel ? (h("div", { class: "empty-list" }, (_a = this.emptyListLabel) !== null && _a !== void 0 ? _a : this.t('list.empty'))) : (h("div", { class: "page-wrapper" }, this.pagesToRender.map((page) => this.createNodes(page)))), h("div", { key: 'ff33dae45c6cf06f6ee64adf84b2ebfaec10d290', class: "smallest-dom-element", id: "top-scroll", ref: (el) => (this.$topRef = el) }))));
|
|
5838
5926
|
}
|
|
5839
5927
|
static get watchers() { return {
|
|
5840
5928
|
"selectedItemId": ["onItemChanged"]
|
|
@@ -6008,7 +6096,7 @@ const RtkPermissionsMessage = class {
|
|
|
6008
6096
|
this.stepsTimer = setTimeout(this.nextStep, 2500);
|
|
6009
6097
|
}
|
|
6010
6098
|
const showMacDeepLink = isDeniedBySystem && this.meeting.self.device.osName == 'macOS';
|
|
6011
|
-
return (h(Host, { key: '
|
|
6099
|
+
return (h(Host, { key: '8a733f9212eeeaa2beeb660f388cd386bd5866da' }, h("h2", { key: '8b98272023226f4d555bc4a392132cc4f3bb5508' }, h("rtk-icon", { key: '5512cf5917b4e621cc478ace72d66a5a018d3abc', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (h("div", { key: '51b406b4466bed495737ffc4dd8c931e89a7b313', class: 'svg-container' }, this.svgSteps.map((e, index) => (h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), h("div", { key: '2aa51de951fa6e325407214400aacfb3c159332d' }, this.getMessage()), !isDeniedBySystem && (h("a", { key: 'f5ca776a56d696f623f373dda8bb0bfb034daaaa', class: "need-help-link", href: this.getLink((_c = (_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.activePermissionsMessage) === null || _b === void 0 ? void 0 : _b.kind) !== null && _c !== void 0 ? _c : 'audio'), target: "_blank", rel: "noreferrer external noreferrer noopener" }, h("rtk-icon", { key: 'a4a220afa615666aa5124af81e754ad7cd0ae8ce', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), h("div", { key: '34a967813793d6deb854c008164fc14b859a3b53', class: "actions" }, h("rtk-button", { key: '8676c863a486b365b378728ca89f494297160bf0', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), h("slot", { key: '67e17eb781cb49110f92dfd89faec112d79b03b3' })));
|
|
6012
6100
|
}
|
|
6013
6101
|
static get watchers() { return {
|
|
6014
6102
|
"meeting": ["meetingChanged"]
|
|
@@ -6050,7 +6138,7 @@ const RtkSpinner = class {
|
|
|
6050
6138
|
this.size = 'md';
|
|
6051
6139
|
}
|
|
6052
6140
|
render() {
|
|
6053
|
-
return (h(Host, { key: '
|
|
6141
|
+
return (h(Host, { key: 'bbdde15ee0caf22bb7ff382047bfab8f9903e49e' }, h("rtk-icon", { key: '20e695a671308c7157014554eade4eb42b41da2e', class: "spinner", icon: this.iconPack.spinner })));
|
|
6054
6142
|
}
|
|
6055
6143
|
};
|
|
6056
6144
|
__decorate$3([
|
|
@@ -6131,7 +6219,7 @@ const RtkTextComposerView = class {
|
|
|
6131
6219
|
}
|
|
6132
6220
|
}
|
|
6133
6221
|
render() {
|
|
6134
|
-
return (h("div", { key: '
|
|
6222
|
+
return (h("div", { key: 'e5f7fa2bd4a2386ff5185001981477ccacf24556', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (h("div", { key: '4c06c853ddc7bebafe45fdb2e2c5c9e1c20021fe', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, h("rtk-icon", { key: '524037dc257f0aea206fbc3503d1fe1cb03449be', 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: 'cf975664f367f2621593239ab1cf2e73f5acdb45', class: 'text-error breached' }, h("rtk-icon", { key: '70a6555f1fa9752f91951181b46e0ed0e7eb8679', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), h("textarea", { key: '7fc7280dd143cd701d5037e04c2b36c3ea8ec023', ref: (el) => (this.$textArea = el), placeholder: this.placeholder, disabled: this.disabled, onInput: this.onInputHandler, onKeyDown: this.keyDownHandler, part: "chat-input", value: this.value })));
|
|
6135
6223
|
}
|
|
6136
6224
|
};
|
|
6137
6225
|
__decorate$2([
|
|
@@ -6167,10 +6255,10 @@ const RtkTextMessage = class {
|
|
|
6167
6255
|
this.showBubble = false;
|
|
6168
6256
|
}
|
|
6169
6257
|
render() {
|
|
6170
|
-
return (h(Host, { key: '
|
|
6258
|
+
return (h(Host, { key: 'b66a5f7edf4e656d66770ed8f06a6ae97523a759' }, !this.isContinued && (h(ChatHead, { key: 'b9f0be274d374ff247327029322e91b57b88e4c3', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '2a58af17b4657f2a49d7fbf1ef14e76857a12cbc', class: {
|
|
6171
6259
|
body: true,
|
|
6172
6260
|
bubble: this.showBubble,
|
|
6173
|
-
}, part: "body" }, h("div", { key: '
|
|
6261
|
+
}, part: "body" }, h("div", { key: '45a0bcd30f2e048af77cb1704c178a750e1aaac4', class: { text: true, emoji: hasOnlyEmojis(this.message.message) } }, h(TextMessageView, { key: '262f5e6d7c71e950356842e442d44f5b280c0036', message: this.message.message })))));
|
|
6174
6262
|
}
|
|
6175
6263
|
};
|
|
6176
6264
|
__decorate$1([
|
|
@@ -6190,7 +6278,7 @@ const RtkTextMessageView = class {
|
|
|
6190
6278
|
this.isMarkdown = false;
|
|
6191
6279
|
}
|
|
6192
6280
|
render() {
|
|
6193
|
-
return (h("p", { key: '
|
|
6281
|
+
return (h("p", { key: 'b4cbabb44d32f96a23cd72f108d6a36b05491c97', class: { text: true, emoji: hasOnlyEmojis(this.text) } }, this.isMarkdown ? h("rtk-markdown-view", { text: this.text }) : this.text));
|
|
6194
6282
|
}
|
|
6195
6283
|
};
|
|
6196
6284
|
RtkTextMessageView.style = RtkTextMessageViewStyle0;
|
|
@@ -6306,7 +6394,7 @@ const RtkMenu = class {
|
|
|
6306
6394
|
});
|
|
6307
6395
|
}
|
|
6308
6396
|
render() {
|
|
6309
|
-
return (h(Host, { key: '
|
|
6397
|
+
return (h(Host, { key: '1171880dd123a4fc6dae379441f92667caf63d2e' }, h("span", { key: '217b66740fb8211fd72b8f1b3f0da4014d669e62', part: "trigger", id: "trigger", ref: (el) => (this.triggerEl = el) }, h("slot", { key: 'ac32d29a69f21946cc0dee0854b5b711f76f1f09' })), h("div", { key: 'da4261f9e0c6f32aab99a8ab420bfb2aaf4bfba8', part: "tooltip", class: "tooltip", id: "tooltip", role: "tooltip", ref: (el) => (this.tooltipEl = el) }, h("div", { key: '5e1a94d52579954ca933b907cb908ac5ee87c8b8', id: "arrow", ref: (el) => (this.arrowEl = el), part: "arrow" }), this.label, h("slot", { key: '3a3e4a70424981d46358d2ad831a6ac7a51974a1', name: "tooltip" }))));
|
|
6310
6398
|
}
|
|
6311
6399
|
static get watchers() { return {
|
|
6312
6400
|
"open": ["openChanged"]
|