@cloudflare/realtimekit-ui 2.0.1-staging.1 → 2.0.2-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/ChatHead-DzH-mYX1.js +11 -0
- package/dist/cjs/{TextMessage-492778db.js → TextMessage-5iqcrDk9.js} +9 -11
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/breakout-rooms-46jWgGiL.js +72 -0
- package/dist/cjs/breakout-rooms-manager-Bgk5FEK1.js +303 -0
- package/dist/cjs/{chat-4f5c28ca.js → chat-CiRLOYTj.js} +1 -1
- package/dist/cjs/{config-705c8f2c.js → config-Dr-kt-RY.js} +6 -5
- package/dist/cjs/debounce-BgZ6dvDk.js +659 -0
- package/dist/cjs/{debounce-7fa6354d.js → debounce-padcVDRF.js} +4 -6
- package/dist/cjs/{file-0b9afa34.js → file-BfaJmhHW.js} +1 -1
- package/dist/cjs/{floating-ui.dom.esm-9d940028.js → floating-ui.dom-D8vZii24.js} +3 -310
- package/dist/cjs/hark-qJk9qiLr.js +322 -0
- package/dist/cjs/{index-4366eb3b.js → index-BOQMsbCN.js} +2 -2
- package/dist/cjs/{index-2e5758b6.js → index-Bi2L8zQ7.js} +1202 -555
- package/dist/cjs/{index-6f8c1928.js → index-Ck9E7Wf2.js} +22 -31
- package/dist/cjs/index.cjs.js +14 -13
- package/dist/cjs/livestream-B1z1fq_f.js +78 -0
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/{merge-79537b1d.js → merge-CSoi4R44.js} +136 -17
- package/dist/cjs/{notification-8f4db150.js → notification-BM6CUHyL.js} +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +7 -7
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +15 -14
- package/dist/cjs/rtk-ai_3.cjs.entry.js +19 -17
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +12 -10
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +13 -10
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +26 -23
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +120 -123
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +33 -27
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +38 -41
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +11 -11
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +20 -15
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +9 -9
- package/dist/cjs/rtk-chat-message.cjs.entry.js +8 -8
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +16 -12
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +8 -8
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +9 -9
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-clock.cjs.entry.js +11 -10
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +5 -8
- package/dist/cjs/rtk-controlbar.cjs.entry.js +9 -9
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +42 -48
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +9 -10
- package/dist/cjs/rtk-dialog.cjs.entry.js +5 -8
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +11 -9
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +8 -8
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +11 -14
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +6 -9
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +17 -15
- package/dist/cjs/rtk-grid.cjs.entry.js +28 -19
- package/dist/cjs/rtk-header.cjs.entry.js +9 -9
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +14 -10
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +7 -10
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/rtk-leave-button.cjs.entry.js +5 -8
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +41 -52
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +10 -10
- package/dist/cjs/rtk-logo.cjs.entry.js +14 -10
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +5 -8
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +12 -10
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +16 -13
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +11 -9
- package/dist/cjs/rtk-name-tag.cjs.entry.js +9 -10
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +11 -9
- package/dist/cjs/rtk-notification.cjs.entry.js +13 -12
- package/dist/cjs/rtk-notifications.cjs.entry.js +22 -16
- package/dist/cjs/rtk-participant-count.cjs.entry.js +11 -11
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +14 -10
- package/dist/cjs/rtk-participant_2.cjs.entry.js +29 -28
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +11 -11
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +33 -24
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-participants.cjs.entry.js +15 -11
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +11 -13
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-poll_2.cjs.entry.js +8 -12
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +8 -9
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +9 -10
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +10 -12
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-settings.cjs.entry.js +8 -9
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +11 -12
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +11 -9
- package/dist/cjs/rtk-sidebar.cjs.entry.js +17 -13
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +11 -12
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +7 -10
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +8 -9
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-stage.cjs.entry.js +5 -8
- package/dist/cjs/rtk-transcript.cjs.entry.js +8 -9
- package/dist/cjs/rtk-transcripts.cjs.entry.js +14 -10
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +28 -18
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +8 -8
- package/dist/cjs/{sidebar-3d8abb05.js → sidebar-CaEYxWaS.js} +2 -2
- package/dist/cjs/{ui-store-b1ac9e83.js → ui-store-CTof0Q5V.js} +100 -813
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/rtk-ai/rtk-ai.js +16 -10
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +18 -11
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +9 -5
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +16 -10
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +18 -11
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +15 -11
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +15 -10
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +18 -13
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +7 -4
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +19 -12
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +12 -7
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +11 -6
- package/dist/collection/components/rtk-button/rtk-button.js +9 -8
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +12 -8
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +16 -10
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +20 -12
- package/dist/collection/components/rtk-chat/rtk-chat.js +19 -11
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -11
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +16 -14
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +34 -26
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +20 -14
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +24 -14
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +11 -8
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +20 -12
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +10 -8
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +18 -11
- package/dist/collection/components/rtk-clock/rtk-clock.js +8 -5
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +11 -6
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +17 -11
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +16 -14
- package/dist/collection/components/rtk-counter/rtk-counter.js +12 -9
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +15 -9
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +13 -8
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +13 -8
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +13 -8
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +18 -11
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +13 -8
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +18 -12
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +17 -10
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +5 -3
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +6 -4
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +7 -5
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +15 -9
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +5 -3
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +9 -6
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +8 -7
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +13 -10
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +16 -10
- package/dist/collection/components/rtk-grid/rtk-grid.js +22 -15
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +14 -9
- package/dist/collection/components/rtk-header/rtk-header.js +17 -11
- package/dist/collection/components/rtk-icon/rtk-icon.js +6 -5
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +11 -6
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +11 -7
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +7 -5
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +11 -7
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +17 -10
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +14 -9
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +11 -6
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +11 -7
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +11 -7
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +16 -10
- package/dist/collection/components/rtk-logo/rtk-logo.js +9 -6
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +4 -4
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +27 -19
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +7 -4
- package/dist/collection/components/rtk-menu/rtk-menu.js +13 -9
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +10 -7
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +6 -4
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +5 -4
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +19 -17
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +16 -10
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +12 -8
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +31 -19
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +13 -8
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +16 -10
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +11 -6
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +16 -11
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +11 -7
- package/dist/collection/components/rtk-notification/rtk-notification.js +13 -9
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +15 -9
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +11 -6
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +14 -11
- package/dist/collection/components/rtk-participant/rtk-participant.js +15 -9
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +11 -7
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +19 -13
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +26 -17
- package/dist/collection/components/rtk-participants/rtk-participants.js +18 -11
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +7 -4
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +20 -13
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +16 -10
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +18 -11
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +18 -12
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +16 -10
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +11 -6
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +9 -5
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +20 -12
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +10 -6
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +15 -9
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +18 -11
- package/dist/collection/components/rtk-poll/rtk-poll.js +12 -8
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +7 -4
- package/dist/collection/components/rtk-polls/rtk-polls.js +13 -8
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +18 -11
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +11 -7
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +15 -10
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +18 -11
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +21 -14
- package/dist/collection/components/rtk-settings/rtk-settings.js +15 -9
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +15 -9
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +16 -10
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +15 -9
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +17 -10
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +23 -14
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +9 -8
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +19 -12
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +14 -9
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +5 -3
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +27 -17
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +11 -7
- package/dist/collection/components/rtk-stage/rtk-stage.js +7 -4
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +18 -11
- package/dist/collection/components/rtk-switch/rtk-switch.js +8 -6
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +18 -11
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +13 -11
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +9 -6
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +3 -3
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +13 -11
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +5 -3
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +9 -5
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +18 -11
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +8 -5
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +6 -4
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +9 -5
- package/dist/collection/utils/livestream.js +1 -1
- package/dist/collection/utils/sync-with-store/ui-store.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -247
- package/dist/components/p-1sLF61J1.js +1 -0
- package/dist/components/p-7zlNLqpS.js +1 -0
- package/dist/components/p-B-k80wnP.js +1 -0
- package/dist/components/p-B1SWgSTZ.js +1 -0
- package/dist/components/p-B1wrArJr.js +1 -0
- package/dist/components/p-B4TnXODX.js +1 -0
- package/dist/components/p-B5-LNbkp.js +1 -0
- package/dist/components/p-B9MPybze.js +1 -0
- package/dist/components/p-BA_UY9k8.js +1 -0
- package/dist/components/p-BBHQOrFK.js +2 -0
- package/dist/{realtimekit-ui/p-598b792e.js → components/p-BCuMxcZN.js} +1 -1
- package/dist/components/p-BEOq_QN5.js +1 -0
- package/dist/components/p-BFTU3MAI.js +1 -0
- package/dist/components/p-BJKSFJeB.js +1 -0
- package/dist/components/p-BOYkqKBb.js +1 -0
- package/dist/components/p-BRbb3tLk.js +1 -0
- package/dist/components/p-BWNToYSb.js +1 -0
- package/dist/components/p-BYIBbfJ8.js +1 -0
- package/dist/components/p-BbJzI1u1.js +1 -0
- package/dist/components/p-BcCYogfR.js +1 -0
- package/dist/components/p-Bf4LuZWa.js +1 -0
- package/dist/{realtimekit-ui/p-1e62d63b.js → components/p-Bj1kNPpe.js} +1 -1
- package/dist/components/p-BjF9F_tX.js +1 -0
- package/dist/components/p-BoGbJ5PX.js +1 -0
- package/dist/components/p-BuZhKlht.js +1 -0
- package/dist/{realtimekit-ui/p-fa9759f4.js → components/p-Bx38FZhs.js} +1 -1
- package/dist/components/p-C-OVY3ug.js +1 -0
- package/dist/components/p-C0H4DNJM.js +1 -0
- package/dist/components/p-C0vp-Q7v.js +1 -0
- package/dist/components/p-C3Z3GLQh.js +1 -0
- package/dist/components/p-C4IJ0f9O.js +1 -0
- package/dist/components/p-C9EBo56b.js +1 -0
- package/dist/components/p-CABfszIM.js +1 -0
- package/dist/components/p-CB5hzEOM.js +1 -0
- package/dist/components/p-CBJjerDR.js +1 -0
- package/dist/components/p-CBLUz_2s.js +1 -0
- package/dist/components/p-CJsXePY3.js +1 -0
- package/dist/components/p-CKX6X8es.js +1 -0
- package/dist/components/p-COEreDeR.js +1 -0
- package/dist/components/p-COZSdc5O.js +1 -0
- package/dist/components/p-CQAMoQlr.js +1 -0
- package/dist/components/p-Cd-WpR0J.js +1 -0
- package/dist/components/p-CdV0xzjB.js +1 -0
- package/dist/components/p-Ce-9kgl0.js +1 -0
- package/dist/components/p-ChuKD7QS.js +1 -0
- package/dist/components/p-Cj44pA_c.js +1 -0
- package/dist/components/p-Cmu_4ZYL.js +1 -0
- package/dist/components/p-CnJQLwM-.js +1 -0
- package/dist/components/p-CpOL3OJd.js +1 -0
- package/dist/components/p-CphAED3J.js +1 -0
- package/dist/components/p-CqEcYX16.js +1 -0
- package/dist/components/p-CrExxJHe.js +1 -0
- package/dist/components/p-D0bZYAmS.js +1 -0
- package/dist/components/p-D1zAGrQ9.js +1 -0
- package/dist/components/p-D6vw6bT2.js +1 -0
- package/dist/{realtimekit-ui/p-6befaf17.js → components/p-D9HGXWKc.js} +1 -1
- package/dist/components/p-DBjcFAtV.js +1 -0
- package/dist/components/p-DCEjf6bL.js +1 -0
- package/dist/components/p-DD3_OTZn.js +1 -0
- package/dist/{realtimekit-ui/p-40be18ee.js → components/p-DDaHXyCC.js} +1 -1
- package/dist/components/p-DEOaS443.js +1 -0
- package/dist/components/p-DHSRRtn3.js +1 -0
- package/dist/components/p-DKjr_UXt.js +1 -0
- package/dist/components/p-DLocSBO3.js +1 -0
- package/dist/components/p-DNkzP2hS.js +1 -0
- package/dist/components/p-DP4RUNa1.js +1 -0
- package/dist/components/p-DU5mNJqK.js +1 -0
- package/dist/components/p-DY8ll5IU.js +1 -0
- package/dist/components/p-DZC8m5f_.js +1 -0
- package/dist/components/p-Daj_55_i.js +1 -0
- package/dist/components/p-DbHOlaHU.js +1 -0
- package/dist/components/p-De8YQHVd.js +1 -0
- package/dist/components/p-Deo_3EhX.js +1 -0
- package/dist/components/p-Df2S0-LE.js +1 -0
- package/dist/components/p-DfWuSKCq.js +1 -0
- package/dist/components/p-Dguuxuf6.js +1 -0
- package/dist/components/p-Dkd2PDJ-.js +1 -0
- package/dist/components/p-DlKMnwxL.js +1 -0
- package/dist/components/p-DmVA5ArE.js +1 -0
- package/dist/components/p-DnQYtb0h.js +1 -0
- package/dist/components/p-DuOnRaMu.js +1 -0
- package/dist/components/p-DxDYE5-a.js +1 -0
- package/dist/components/p-EuNHmu13.js +1 -0
- package/dist/components/p-FVFlyS1y.js +1 -0
- package/dist/components/p-FdeAvICb.js +1 -0
- package/dist/components/p-J1kxEVHe.js +1 -0
- package/dist/components/p-JyC3dswA.js +1 -0
- package/dist/components/p-KpmupjxR.js +1 -0
- package/dist/components/p-L9yK33Cu.js +1 -0
- package/dist/components/p-PXVZ-Szx.js +1 -0
- package/dist/components/p-ViKGg-Ct.js +1 -0
- package/dist/components/p-aS2wpIc0.js +1 -0
- package/dist/components/p-ak2clYhw.js +1 -0
- package/dist/components/p-e-OVL-Mg.js +1 -0
- package/dist/components/p-j2J2Tn1F.js +1 -0
- package/dist/components/p-oXrlIvqH.js +1 -0
- package/dist/components/p-pb5wDMuJ.js +1 -0
- package/dist/components/p-s-jAl7lc.js +1 -0
- package/dist/components/p-sSs7a3Ms.js +1 -0
- package/dist/components/p-t72veIFj.js +1 -0
- package/dist/components/p-uOh9MOi7.js +1 -0
- package/dist/components/p-wemYeTS7.js +1 -0
- package/dist/components/p-wl6GEzgG.js +1 -0
- package/dist/components/p-zBoy9v8V.js +1 -0
- package/dist/components/rtk-ai-toggle.js +1 -122
- package/dist/components/rtk-ai-transcriptions.js +1 -6
- package/dist/components/rtk-ai.js +1 -6
- package/dist/components/rtk-audio-grid.js +1 -145
- package/dist/components/rtk-audio-tile.js +1 -184
- package/dist/components/rtk-audio-visualizer.js +1 -6
- package/dist/components/rtk-avatar.js +1 -6
- package/dist/components/rtk-breakout-room-manager.js +1 -6
- package/dist/components/rtk-breakout-room-participants.js +1 -6
- package/dist/components/rtk-breakout-rooms-manager.js +1 -6
- package/dist/components/rtk-breakout-rooms-toggle.js +1 -128
- package/dist/components/rtk-broadcast-message-modal.js +1 -6
- package/dist/components/rtk-button.js +1 -6
- package/dist/components/rtk-camera-selector.js +1 -6
- package/dist/components/rtk-camera-toggle.js +1 -236
- package/dist/components/rtk-caption-toggle.js +1 -131
- package/dist/components/rtk-chat-composer-ui.js +1 -363
- package/dist/components/rtk-chat-composer-view.js +1 -6
- package/dist/components/rtk-chat-header.js +1 -6
- package/dist/components/rtk-chat-message.js +1 -6
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -6
- package/dist/components/rtk-chat-messages-ui.js +1 -313
- package/dist/components/rtk-chat-search-results.js +1 -147
- package/dist/components/rtk-chat-selector-ui.js +1 -108
- package/dist/components/rtk-chat-selector.js +1 -6
- package/dist/components/rtk-chat-toggle.js +1 -181
- package/dist/components/rtk-chat.js +1 -6
- package/dist/components/rtk-clock.js +1 -128
- package/dist/components/rtk-confirmation-modal.js +1 -6
- package/dist/components/rtk-controlbar-button.js +1 -6
- package/dist/components/rtk-controlbar.js +1 -91
- package/dist/components/rtk-counter.js +1 -6
- package/dist/components/rtk-debugger-audio.js +1 -6
- package/dist/components/rtk-debugger-screenshare.js +1 -6
- package/dist/components/rtk-debugger-system.js +1 -6
- package/dist/components/rtk-debugger-toggle.js +1 -98
- package/dist/components/rtk-debugger-video.js +1 -6
- package/dist/components/rtk-debugger.js +1 -6
- package/dist/components/rtk-dialog-manager.js +1 -310
- package/dist/components/rtk-dialog.js +1 -6
- package/dist/components/rtk-draft-attachment-view.js +1 -6
- package/dist/components/rtk-emoji-picker-button.js +1 -6
- package/dist/components/rtk-emoji-picker.js +1 -6
- package/dist/components/rtk-ended-screen.js +1 -150
- package/dist/components/rtk-file-dropzone.js +1 -87
- package/dist/components/rtk-file-message-view.js +1 -6
- package/dist/components/rtk-file-message.js +1 -6
- package/dist/components/rtk-file-picker-button.js +1 -6
- package/dist/components/rtk-fullscreen-toggle.js +1 -6
- package/dist/components/rtk-grid-pagination.js +1 -206
- package/dist/components/rtk-grid.js +1 -468
- package/dist/components/rtk-header.js +1 -91
- package/dist/components/rtk-icon.js +1 -6
- package/dist/components/rtk-idle-screen.js +1 -139
- package/dist/components/rtk-image-message-view.js +1 -6
- package/dist/components/rtk-image-message.js +1 -6
- package/dist/components/rtk-image-viewer.js +1 -91
- package/dist/components/rtk-information-tooltip.js +1 -61
- package/dist/components/rtk-join-stage.js +1 -6
- package/dist/components/rtk-leave-button.js +1 -87
- package/dist/components/rtk-leave-meeting.js +1 -6
- package/dist/components/rtk-livestream-indicator.js +1 -6
- package/dist/components/rtk-livestream-player.js +1 -6
- package/dist/components/rtk-livestream-toggle.js +1 -181
- package/dist/components/rtk-logo.js +1 -6
- package/dist/components/rtk-markdown-view.js +1 -6
- package/dist/components/rtk-meeting-title.js +1 -74
- package/dist/components/rtk-meeting.js +1 -533
- package/dist/components/rtk-menu-item.js +1 -6
- package/dist/components/rtk-menu-list.js +1 -6
- package/dist/components/rtk-menu.js +1 -6
- package/dist/components/rtk-message-list-view.js +1 -324
- package/dist/components/rtk-message-view.js +1 -6
- package/dist/components/rtk-mic-toggle.js +1 -234
- package/dist/components/rtk-microphone-selector.js +1 -6
- package/dist/components/rtk-mixed-grid.js +1 -300
- package/dist/components/rtk-more-toggle.js +1 -112
- package/dist/components/rtk-mute-all-button.js +1 -127
- package/dist/components/rtk-mute-all-confirmation.js +1 -6
- package/dist/components/rtk-name-tag.js +1 -6
- package/dist/components/rtk-network-indicator.js +1 -117
- package/dist/components/rtk-notification.js +1 -6
- package/dist/components/rtk-notifications.js +1 -637
- package/dist/components/rtk-overlay-modal.js +1 -6
- package/dist/components/rtk-paginated-list.js +1 -6
- package/dist/components/rtk-participant-count.js +1 -118
- package/dist/components/rtk-participant-setup.js +1 -149
- package/dist/components/rtk-participant-tile.js +1 -6
- package/dist/components/rtk-participant.js +1 -6
- package/dist/components/rtk-participants-audio.js +1 -249
- package/dist/components/rtk-participants-stage-list.js +1 -6
- package/dist/components/rtk-participants-stage-queue.js +1 -6
- package/dist/components/rtk-participants-toggle.js +1 -195
- package/dist/components/rtk-participants-viewer-list.js +1 -6
- package/dist/components/rtk-participants-waiting-list.js +1 -6
- package/dist/components/rtk-participants.js +1 -306
- package/dist/components/rtk-permissions-message.js +1 -6
- package/dist/components/rtk-pinned-message-selector.js +1 -6
- package/dist/components/rtk-pip-toggle.js +1 -135
- package/dist/components/rtk-plugin-main.js +1 -6
- package/dist/components/rtk-plugins-toggle.js +1 -148
- package/dist/components/rtk-plugins.js +1 -6
- package/dist/components/rtk-poll-form.js +1 -6
- package/dist/components/rtk-poll.js +1 -6
- package/dist/components/rtk-polls-toggle.js +1 -160
- package/dist/components/rtk-polls.js +1 -6
- package/dist/components/rtk-recording-indicator.js +1 -96
- package/dist/components/rtk-recording-toggle.js +1 -203
- package/dist/components/rtk-screen-share-toggle.js +1 -317
- package/dist/components/rtk-screenshare-view.js +1 -194
- package/dist/components/rtk-settings-audio.js +1 -6
- package/dist/components/rtk-settings-toggle.js +1 -93
- package/dist/components/rtk-settings-video.js +1 -6
- package/dist/components/rtk-settings.js +1 -208
- package/dist/components/rtk-setup-screen.js +1 -215
- package/dist/components/rtk-sidebar-ui.js +1 -6
- package/dist/components/rtk-sidebar.js +1 -253
- package/dist/components/rtk-simple-grid.js +1 -149
- package/dist/components/rtk-speaker-selector.js +1 -6
- package/dist/components/rtk-spinner.js +1 -6
- package/dist/components/rtk-spotlight-grid.js +1 -135
- package/dist/components/rtk-spotlight-indicator.js +1 -6
- package/dist/components/rtk-stage-toggle.js +1 -195
- package/dist/components/rtk-stage.js +1 -61
- package/dist/components/rtk-switch.js +1 -6
- package/dist/components/rtk-tab-bar.js +1 -6
- package/dist/components/rtk-text-composer-view.js +1 -6
- package/dist/components/rtk-text-message-view.js +1 -6
- package/dist/components/rtk-text-message.js +1 -6
- package/dist/components/rtk-tooltip.js +1 -6
- package/dist/components/rtk-transcript.js +1 -6
- package/dist/components/rtk-transcripts.js +1 -199
- package/dist/components/rtk-ui-provider.js +1 -281
- package/dist/components/rtk-viewer-count.js +1 -6
- package/dist/components/rtk-virtualized-participant-list.js +1 -6
- package/dist/components/rtk-waiting-screen.js +1 -77
- package/dist/docs/docs-components.d.ts +37 -0
- package/dist/docs/docs-components.json +5693 -3069
- package/dist/docs/docs-vscode.json +78 -78
- package/dist/esm/ChatHead-BV_pLIJ6.js +9 -0
- package/dist/{components/p-1a950769.js → esm/TextMessage-DRvjfMBy.js} +9 -11
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/breakout-rooms-Daj_55_i.js +64 -0
- package/dist/esm/breakout-rooms-manager-B1Qky9zO.js +301 -0
- package/dist/esm/{chat-1107a64f.js → chat-Zou036qQ.js} +1 -1
- package/dist/{components/p-9f0c9162.js → esm/config-BYcrCEso.js} +5 -4
- package/dist/esm/debounce-BLQbB67V.js +657 -0
- package/dist/{components/p-1dca17d1.js → esm/debounce-BYqYBLuN.js} +4 -6
- package/dist/{components/p-47314bc7.js → esm/file-6Fkktc2w.js} +1 -1
- package/dist/esm/{floating-ui.dom.esm-78a1e61c.js → floating-ui.dom-B1SWgSTZ.js} +3 -310
- package/dist/esm/hark-Dwnntwzh.js +320 -0
- package/dist/{components/p-bd10fae6.js → esm/index-7w76SzJW.js} +2 -2
- package/dist/{components/p-88bd1053.js → esm/index-BUsisVB6.js} +22 -31
- package/dist/esm/{index-55463a54.js → index-gJCRRBX0.js} +1198 -549
- package/dist/esm/index.js +13 -10
- package/dist/esm/livestream-C0vp-Q7v.js +73 -0
- package/dist/esm/loader.js +3614 -2781
- package/dist/{components/p-556de366.js → esm/merge-CiWMx7_3.js} +133 -15
- package/dist/{components/p-598b792e.js → esm/notification-DcR6dHfn.js} +1 -1
- package/dist/esm/realtimekit-ui.js +6 -5
- package/dist/esm/rtk-ai-toggle.entry.js +8 -7
- package/dist/esm/rtk-ai-transcriptions.entry.js +15 -12
- package/dist/esm/rtk-ai_3.entry.js +19 -15
- package/dist/esm/rtk-audio-grid.entry.js +12 -8
- package/dist/esm/rtk-audio-tile.entry.js +13 -8
- package/dist/esm/rtk-audio-visualizer_4.entry.js +26 -21
- package/dist/esm/rtk-avatar_26.entry.js +116 -117
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +25 -17
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +33 -34
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +9 -7
- package/dist/esm/rtk-camera-selector_2.entry.js +20 -13
- package/dist/esm/rtk-camera-toggle.entry.js +8 -7
- package/dist/esm/rtk-caption-toggle.entry.js +11 -7
- package/dist/esm/rtk-chat-composer-ui.entry.js +9 -7
- package/dist/esm/rtk-chat-message.entry.js +8 -6
- package/dist/esm/rtk-chat-messages-ui.entry.js +16 -10
- package/dist/esm/rtk-chat-search-results.entry.js +8 -6
- package/dist/esm/rtk-chat-selector-ui.entry.js +9 -7
- package/dist/esm/rtk-chat-toggle.entry.js +16 -10
- package/dist/esm/rtk-clock.entry.js +11 -8
- package/dist/esm/rtk-controlbar-button.entry.js +5 -6
- package/dist/esm/rtk-controlbar.entry.js +9 -7
- package/dist/esm/rtk-debugger-audio_4.entry.js +42 -46
- package/dist/esm/rtk-debugger-toggle.entry.js +5 -6
- package/dist/esm/rtk-dialog-manager.entry.js +9 -8
- package/dist/esm/rtk-dialog.entry.js +5 -6
- package/dist/esm/rtk-ended-screen.entry.js +11 -7
- package/dist/esm/rtk-file-dropzone.entry.js +8 -6
- package/dist/esm/rtk-file-message_3.entry.js +11 -12
- package/dist/esm/rtk-fullscreen-toggle.entry.js +6 -7
- package/dist/esm/rtk-grid-pagination.entry.js +17 -13
- package/dist/esm/rtk-grid.entry.js +27 -16
- package/dist/esm/rtk-header.entry.js +9 -7
- package/dist/esm/rtk-idle-screen.entry.js +14 -8
- package/dist/esm/rtk-image-viewer.entry.js +7 -8
- package/dist/esm/rtk-information-tooltip.entry.js +8 -6
- package/dist/esm/rtk-leave-button.entry.js +5 -6
- package/dist/esm/rtk-livestream-indicator_3.entry.js +26 -35
- package/dist/esm/rtk-livestream-toggle.entry.js +9 -7
- package/dist/esm/rtk-logo.entry.js +14 -8
- package/dist/esm/rtk-meeting-title.entry.js +5 -6
- package/dist/esm/rtk-message-list-view.entry.js +12 -8
- package/dist/esm/rtk-mic-toggle.entry.js +8 -7
- package/dist/esm/rtk-mixed-grid.entry.js +16 -11
- package/dist/esm/rtk-more-toggle.entry.js +5 -6
- package/dist/esm/rtk-mute-all-button.entry.js +11 -7
- package/dist/esm/rtk-name-tag.entry.js +9 -8
- package/dist/esm/rtk-network-indicator.entry.js +11 -7
- package/dist/esm/rtk-notification.entry.js +13 -10
- package/dist/esm/rtk-notifications.entry.js +21 -13
- package/dist/esm/rtk-participant-count.entry.js +9 -7
- package/dist/esm/rtk-participant-setup.entry.js +14 -8
- package/dist/esm/rtk-participant_2.entry.js +24 -21
- package/dist/esm/rtk-participants-audio.entry.js +10 -8
- package/dist/esm/rtk-participants-stage-list_4.entry.js +33 -22
- package/dist/esm/rtk-participants-toggle.entry.js +16 -10
- package/dist/esm/rtk-participants.entry.js +15 -9
- package/dist/esm/rtk-pip-toggle.entry.js +11 -7
- package/dist/esm/rtk-plugin-main_2.entry.js +11 -11
- package/dist/esm/rtk-plugins-toggle.entry.js +16 -10
- package/dist/esm/rtk-poll_2.entry.js +8 -10
- package/dist/esm/rtk-polls-toggle.entry.js +16 -10
- package/dist/esm/rtk-recording-indicator.entry.js +8 -7
- package/dist/esm/rtk-recording-toggle.entry.js +8 -7
- package/dist/esm/rtk-screen-share-toggle.entry.js +8 -7
- package/dist/esm/rtk-screenshare-view.entry.js +9 -8
- package/dist/esm/rtk-settings-audio_2.entry.js +10 -10
- package/dist/esm/rtk-settings-toggle.entry.js +5 -6
- package/dist/esm/rtk-settings.entry.js +8 -7
- package/dist/esm/rtk-setup-screen.entry.js +11 -10
- package/dist/esm/rtk-sidebar-ui.entry.js +11 -7
- package/dist/esm/rtk-sidebar.entry.js +17 -11
- package/dist/esm/rtk-simple-grid.entry.js +11 -10
- package/dist/esm/rtk-spotlight-grid.entry.js +7 -8
- package/dist/esm/rtk-spotlight-indicator.entry.js +8 -7
- package/dist/esm/rtk-stage-toggle.entry.js +11 -7
- package/dist/esm/rtk-stage.entry.js +5 -6
- package/dist/esm/rtk-transcript.entry.js +8 -7
- package/dist/esm/rtk-transcripts.entry.js +14 -8
- package/dist/esm/rtk-ui-provider.entry.js +28 -16
- package/dist/esm/rtk-waiting-screen.entry.js +8 -6
- package/dist/{components/p-a3fc952e.js → esm/sidebar-B3trLKC3.js} +1 -1
- package/dist/{components/p-d5a12339.js → esm/ui-store-BtrgoOOT.js} +258 -762
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/p-04237239.entry.js +1 -0
- package/dist/realtimekit-ui/p-070294a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-088325e7.entry.js +1 -0
- package/dist/realtimekit-ui/p-0d5719ea.entry.js +1 -0
- package/dist/realtimekit-ui/p-0fe1ced3.entry.js +1 -0
- package/dist/realtimekit-ui/p-105e4115.entry.js +1 -0
- package/dist/realtimekit-ui/{p-30fa04e9.entry.js → p-117f34c2.entry.js} +1 -1
- package/dist/realtimekit-ui/p-12fdd525.entry.js +1 -0
- package/dist/realtimekit-ui/{p-069cc080.entry.js → p-149c0b9c.entry.js} +1 -1
- package/dist/realtimekit-ui/p-15d96f62.entry.js +1 -0
- package/dist/realtimekit-ui/p-16fe4fca.entry.js +1 -0
- package/dist/realtimekit-ui/p-17690ef8.entry.js +1 -0
- package/dist/realtimekit-ui/p-1ae8c9ea.entry.js +1 -0
- package/dist/realtimekit-ui/p-1f114cc0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d93b1e9c.entry.js → p-213b9942.entry.js} +1 -1
- package/dist/realtimekit-ui/p-243e3c22.entry.js +1 -0
- package/dist/realtimekit-ui/p-25374ae7.entry.js +1 -0
- package/dist/realtimekit-ui/{p-71a44776.entry.js → p-26ba0489.entry.js} +1 -1
- package/dist/realtimekit-ui/p-27dcaef7.entry.js +1 -0
- package/dist/realtimekit-ui/p-2906e52d.entry.js +1 -0
- package/dist/realtimekit-ui/{p-58b2f1a1.entry.js → p-2baa2443.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2bd8f726.entry.js +1 -0
- package/dist/realtimekit-ui/p-2c5a9a4d.entry.js +1 -0
- package/dist/realtimekit-ui/p-2f438543.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b5f0c31d.entry.js → p-34ebceb7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-3df3b56b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-03db9946.entry.js → p-3f297e22.entry.js} +1 -1
- package/dist/realtimekit-ui/p-405addc8.entry.js +1 -0
- package/dist/realtimekit-ui/p-450803e1.entry.js +1 -0
- package/dist/realtimekit-ui/p-49f22238.entry.js +1 -0
- package/dist/realtimekit-ui/{p-4b9450d3.entry.js → p-49feda1f.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4c1b7ee2.entry.js +1 -0
- package/dist/realtimekit-ui/{p-234a709e.entry.js → p-4f264d60.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-64b59d46.entry.js → p-560dcff9.entry.js} +1 -1
- package/dist/realtimekit-ui/p-56261662.entry.js +1 -0
- package/dist/realtimekit-ui/p-5a1918a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-5bd05c88.entry.js +1 -0
- package/dist/realtimekit-ui/p-5c5ca185.entry.js +1 -0
- package/dist/realtimekit-ui/p-6092b383.entry.js +1 -0
- package/dist/realtimekit-ui/p-650339c3.entry.js +1 -0
- package/dist/realtimekit-ui/p-65c856c3.entry.js +1 -0
- package/dist/realtimekit-ui/p-69ddb3a9.entry.js +1 -0
- package/dist/realtimekit-ui/p-6bc7af7a.entry.js +1 -0
- package/dist/realtimekit-ui/p-73bd1b57.entry.js +1 -0
- package/dist/realtimekit-ui/p-768c3c20.entry.js +1 -0
- package/dist/realtimekit-ui/p-779bd93e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-72461b1f.entry.js → p-7d4e36b0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1b26c15d.entry.js → p-7ff08b19.entry.js} +1 -1
- package/dist/realtimekit-ui/p-836455f1.entry.js +1 -0
- package/dist/realtimekit-ui/p-8dcf542b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-91795fd7.entry.js → p-9810aada.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9b089f06.entry.js +1 -0
- package/dist/realtimekit-ui/p-9b93c273.entry.js +1 -0
- package/dist/realtimekit-ui/p-9c5cf5a3.entry.js +1 -0
- package/dist/realtimekit-ui/p-9cb3685c.entry.js +1 -0
- package/dist/realtimekit-ui/p-B1SWgSTZ.js +1 -0
- package/dist/realtimekit-ui/{p-7e3c2d64.js → p-BCaKYPpD.js} +1 -1
- package/dist/realtimekit-ui/p-BCuMxcZN.js +1 -0
- package/dist/realtimekit-ui/p-BFTU3MAI.js +1 -0
- package/dist/realtimekit-ui/p-BIplIdLH.js +1 -0
- package/dist/realtimekit-ui/p-BJvHNbaa.js +1 -0
- package/dist/realtimekit-ui/p-BSWYrdZA.js +1 -0
- package/dist/realtimekit-ui/p-BWNToYSb.js +1 -0
- package/dist/realtimekit-ui/p-Bbls2zyp.js +1 -0
- package/dist/realtimekit-ui/p-C0vp-Q7v.js +1 -0
- package/dist/realtimekit-ui/p-C5Ah4uY5.js +1 -0
- package/dist/realtimekit-ui/p-CAqYddlg.js +1 -0
- package/dist/realtimekit-ui/{p-eccb6d78.js → p-CTFO-5XH.js} +1 -1
- package/dist/realtimekit-ui/p-CmmyVCoN.js +1 -0
- package/dist/realtimekit-ui/p-CqWk07gT.js +1 -0
- package/dist/realtimekit-ui/p-D9HGXWKc.js +1 -0
- package/dist/realtimekit-ui/p-Daj_55_i.js +1 -0
- package/dist/realtimekit-ui/p-Dg4b2aZr.js +1 -0
- package/dist/realtimekit-ui/p-DpAk_WQ6.js +1 -0
- package/dist/realtimekit-ui/p-DxDYE5-a.js +1 -0
- package/dist/realtimekit-ui/p-FdeAvICb.js +1 -0
- package/dist/realtimekit-ui/p-GSFejkz7.js +1 -0
- package/dist/realtimekit-ui/{p-3306b122.entry.js → p-a060fa07.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e0426f17.entry.js → p-a8b77530.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ae94a77b.entry.js +1 -0
- package/dist/realtimekit-ui/p-b77aab62.entry.js +1 -0
- package/dist/realtimekit-ui/p-b81bfd1b.entry.js +1 -0
- package/dist/realtimekit-ui/p-bb7b542e.entry.js +1 -0
- package/dist/realtimekit-ui/p-c0fb33e4.entry.js +1 -0
- package/dist/realtimekit-ui/{p-88a01a0c.entry.js → p-c25c6602.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d0baf267.entry.js +1 -0
- package/dist/realtimekit-ui/p-d39bd2e9.entry.js +1 -0
- package/dist/realtimekit-ui/p-d5ccf7d6.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b89873a4.entry.js → p-d75ea8a3.entry.js} +1 -1
- package/dist/realtimekit-ui/p-db957a5c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d4a2594a.entry.js → p-ddd3808d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e0837ae7.entry.js +1 -0
- package/dist/realtimekit-ui/p-e12de42e.entry.js +1 -0
- package/dist/realtimekit-ui/p-e2f9a4fc.entry.js +1 -0
- package/dist/realtimekit-ui/{p-20390946.entry.js → p-e5293ed6.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e87aa0f9.entry.js +1 -0
- package/dist/realtimekit-ui/p-e8823daa.entry.js +1 -0
- package/dist/realtimekit-ui/p-f101d6f9.entry.js +1 -0
- package/dist/realtimekit-ui/p-f4c228c8.entry.js +1 -0
- package/dist/realtimekit-ui/p-f5688e34.entry.js +1 -0
- package/dist/realtimekit-ui/p-fb973221.entry.js +1 -0
- package/dist/realtimekit-ui/p-fcde019e.entry.js +1 -0
- package/dist/realtimekit-ui/p-fd29249a.entry.js +1 -0
- package/dist/realtimekit-ui/p-gJCRRBX0.js +2 -0
- package/dist/realtimekit-ui/p-jvwnrxra.js +1 -0
- package/dist/realtimekit-ui/p-t72veIFj.js +1 -0
- package/dist/realtimekit-ui/p-uIA60Puf.js +1 -0
- package/dist/realtimekit-ui/p-vBfDtD_u.js +1 -0
- package/dist/realtimekit-ui/p-wWDkfcFk.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
- package/dist/types/components.d.ts +1752 -255
- package/dist/types/stencil-public-runtime.d.ts +193 -12
- package/dist/types/utils/livestream.d.ts +60 -0
- package/dist/types/utils/sync-with-store/ui-store.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/ChatHead-777e6a2d.js +0 -13
- package/dist/cjs/debounce-6080cc73.js +0 -544
- package/dist/cjs/hark-c97d0a59.js +0 -301
- package/dist/components/p-00568bea.js +0 -159
- package/dist/components/p-026049ee.js +0 -81
- package/dist/components/p-03e354cd.js +0 -82
- package/dist/components/p-04ac37d4.js +0 -69
- package/dist/components/p-0529c72c.js +0 -218
- package/dist/components/p-084f7d6c.js +0 -95
- package/dist/components/p-08e39399.js +0 -199
- package/dist/components/p-0db812c2.js +0 -189
- package/dist/components/p-0e02697c.js +0 -85
- package/dist/components/p-1a7dd46a.js +0 -390
- package/dist/components/p-1cb276df.js +0 -104
- package/dist/components/p-240d48d1.js +0 -96
- package/dist/components/p-278a613b.js +0 -115
- package/dist/components/p-29e60132.js +0 -437
- package/dist/components/p-2f2b07a1.js +0 -168
- package/dist/components/p-303a7f1f.js +0 -122
- package/dist/components/p-32b95100.js +0 -128
- package/dist/components/p-32f14b1a.js +0 -260
- package/dist/components/p-36ad7fe2.js +0 -98
- package/dist/components/p-38d22d57.js +0 -11
- package/dist/components/p-3ae130f7.js +0 -178
- package/dist/components/p-3e0452c4.js +0 -48
- package/dist/components/p-3eedb9db.js +0 -68
- package/dist/components/p-3f882e7c.js +0 -299
- package/dist/components/p-42c2e598.js +0 -103
- package/dist/components/p-4351785c.js +0 -103
- package/dist/components/p-467abb0c.js +0 -159
- package/dist/components/p-48b6fb95.js +0 -327
- package/dist/components/p-4e02ee0f.js +0 -131
- package/dist/components/p-51b6f520.js +0 -43
- package/dist/components/p-549ab58f.js +0 -108
- package/dist/components/p-5654365f.js +0 -94
- package/dist/components/p-592cd396.js +0 -105
- package/dist/components/p-5995471c.js +0 -125
- package/dist/components/p-5c55e43b.js +0 -115
- package/dist/components/p-5d3174d1.js +0 -127
- package/dist/components/p-632cbbe7.js +0 -164
- package/dist/components/p-695e5dc5.js +0 -223
- package/dist/components/p-6a0a1a25.js +0 -101
- package/dist/components/p-6bd3b29c.js +0 -97
- package/dist/components/p-6c6cefb0.js +0 -224
- package/dist/components/p-70c0c7ce.js +0 -179
- package/dist/components/p-78db5933.js +0 -92
- package/dist/components/p-7d8d9693.js +0 -119
- package/dist/components/p-8133c228.js +0 -79
- package/dist/components/p-82df4307.js +0 -114
- package/dist/components/p-84deab1d.js +0 -126
- package/dist/components/p-85587a5c.js +0 -50
- package/dist/components/p-92ac782c.js +0 -37205
- package/dist/components/p-95721bd2.js +0 -159
- package/dist/components/p-96be6716.js +0 -120
- package/dist/components/p-9c89d7b1.js +0 -131
- package/dist/components/p-9f5d24b0.js +0 -191
- package/dist/components/p-a0a863fa.js +0 -61
- package/dist/components/p-a3c85ced.js +0 -177
- package/dist/components/p-a6cf88b5.js +0 -146
- package/dist/components/p-a83ccdbd.js +0 -40
- package/dist/components/p-a9d577bb.js +0 -271
- package/dist/components/p-ab37c121.js +0 -181
- package/dist/components/p-ae373651.js +0 -4028
- package/dist/components/p-b1a93be0.js +0 -1945
- package/dist/components/p-b1a9a7c4.js +0 -214
- package/dist/components/p-b1aeb013.js +0 -113
- package/dist/components/p-b29d03cf.js +0 -77
- package/dist/components/p-b4068392.js +0 -60
- package/dist/components/p-b75297d7.js +0 -299
- package/dist/components/p-b98fd0eb.js +0 -102
- package/dist/components/p-bece0226.js +0 -141
- package/dist/components/p-bf64e0af.js +0 -76
- package/dist/components/p-c3c8f309.js +0 -127
- package/dist/components/p-c82e13b1.js +0 -92
- package/dist/components/p-c9f704c4.js +0 -349
- package/dist/components/p-cbdd7a99.js +0 -542
- package/dist/components/p-cedfbbd4.js +0 -105
- package/dist/components/p-cf1903b1.js +0 -60
- package/dist/components/p-d411c80b.js +0 -463
- package/dist/components/p-d48b4170.js +0 -159
- package/dist/components/p-d83124b1.js +0 -86
- package/dist/components/p-de0b23a0.js +0 -210
- package/dist/components/p-e0129657.js +0 -201
- package/dist/components/p-e8809896.js +0 -147
- package/dist/components/p-ea359bb7.js +0 -90
- package/dist/components/p-ea4aa3bf.js +0 -86
- package/dist/components/p-ed0fad6d.js +0 -166
- package/dist/components/p-efabd2ce.js +0 -58
- package/dist/components/p-f179a6ff.js +0 -80
- package/dist/components/p-f867ebba.js +0 -122
- package/dist/components/p-f9cbb223.js +0 -127
- package/dist/components/p-f9f08610.js +0 -157
- package/dist/esm/ChatHead-148558a8.js +0 -11
- package/dist/esm/ResizeObserver.es-02979d4e.js +0 -928
- package/dist/esm/TextMessage-0ab2db20.js +0 -67
- package/dist/esm/browser-24d8ab3e.js +0 -3
- package/dist/esm/config-f3f01b9a.js +0 -352
- package/dist/esm/date-b1f78dea.js +0 -32
- package/dist/esm/debounce-0169a54d.js +0 -542
- package/dist/esm/debounce-430cbf00.js +0 -329
- package/dist/esm/file-6114f1a9.js +0 -57
- package/dist/esm/full-screen-d36ffc68.js +0 -50
- package/dist/esm/grid-a3ca5a3e.js +0 -96
- package/dist/esm/hark-6327d91e.js +0 -299
- package/dist/esm/index-3f51790f.js +0 -224
- package/dist/esm/index-b81ca899.js +0 -92
- package/dist/esm/init-error-ff5ead9a.js +0 -26
- package/dist/esm/join-error-e87be64a.js +0 -29
- package/dist/esm/merge-201ecd5c.js +0 -820
- package/dist/esm/notification-1ebf7700.js +0 -37
- package/dist/esm/scroll-2d8e810c.js +0 -13
- package/dist/esm/sidebar-a13dc215.js +0 -49
- package/dist/esm/ui-store-1bc7abc6.js +0 -4033
- package/dist/realtimekit-ui/p-012cd22a.entry.js +0 -1
- package/dist/realtimekit-ui/p-026e8157.entry.js +0 -1
- package/dist/realtimekit-ui/p-083e53cc.entry.js +0 -1
- package/dist/realtimekit-ui/p-0bd95245.entry.js +0 -1
- package/dist/realtimekit-ui/p-1e19ef2c.entry.js +0 -1
- package/dist/realtimekit-ui/p-217dcd9f.entry.js +0 -1
- package/dist/realtimekit-ui/p-26ffb189.entry.js +0 -1
- package/dist/realtimekit-ui/p-3540d2b0.entry.js +0 -1
- package/dist/realtimekit-ui/p-3707f1e0.entry.js +0 -1
- package/dist/realtimekit-ui/p-39c48b22.entry.js +0 -1
- package/dist/realtimekit-ui/p-3f882e7c.js +0 -1
- package/dist/realtimekit-ui/p-41fa7b4f.js +0 -1
- package/dist/realtimekit-ui/p-44fb5d40.entry.js +0 -1
- package/dist/realtimekit-ui/p-4564c9ff.entry.js +0 -1
- package/dist/realtimekit-ui/p-4ec77793.js +0 -1
- package/dist/realtimekit-ui/p-548f72ee.entry.js +0 -1
- package/dist/realtimekit-ui/p-5564adad.entry.js +0 -1
- package/dist/realtimekit-ui/p-5623d82e.entry.js +0 -1
- package/dist/realtimekit-ui/p-5862bcba.entry.js +0 -1
- package/dist/realtimekit-ui/p-62c4d1ba.entry.js +0 -1
- package/dist/realtimekit-ui/p-667c84b1.js +0 -1
- package/dist/realtimekit-ui/p-6b177ee6.entry.js +0 -1
- package/dist/realtimekit-ui/p-6c9a2464.entry.js +0 -1
- package/dist/realtimekit-ui/p-7649168e.entry.js +0 -1
- package/dist/realtimekit-ui/p-76f87172.entry.js +0 -1
- package/dist/realtimekit-ui/p-79060698.entry.js +0 -1
- package/dist/realtimekit-ui/p-7bdd688b.entry.js +0 -1
- package/dist/realtimekit-ui/p-7e4a3510.entry.js +0 -1
- package/dist/realtimekit-ui/p-80be0156.entry.js +0 -1
- package/dist/realtimekit-ui/p-85818728.entry.js +0 -1
- package/dist/realtimekit-ui/p-873a645c.entry.js +0 -1
- package/dist/realtimekit-ui/p-8c971978.entry.js +0 -1
- package/dist/realtimekit-ui/p-8cc4f116.entry.js +0 -1
- package/dist/realtimekit-ui/p-8edfe6fa.entry.js +0 -1
- package/dist/realtimekit-ui/p-8fa0ea33.entry.js +0 -1
- package/dist/realtimekit-ui/p-91c8f9d1.entry.js +0 -1
- package/dist/realtimekit-ui/p-93f88675.entry.js +0 -1
- package/dist/realtimekit-ui/p-9727a165.js +0 -1
- package/dist/realtimekit-ui/p-a0471508.entry.js +0 -1
- package/dist/realtimekit-ui/p-a056fd35.entry.js +0 -1
- package/dist/realtimekit-ui/p-a2693bee.entry.js +0 -1
- package/dist/realtimekit-ui/p-a47c017b.entry.js +0 -1
- package/dist/realtimekit-ui/p-a599f720.js +0 -2
- package/dist/realtimekit-ui/p-a9ab826e.entry.js +0 -1
- package/dist/realtimekit-ui/p-ae0bb894.js +0 -1
- package/dist/realtimekit-ui/p-b1a93be0.js +0 -1
- package/dist/realtimekit-ui/p-b27886ff.entry.js +0 -1
- package/dist/realtimekit-ui/p-b3f1ad3b.entry.js +0 -1
- package/dist/realtimekit-ui/p-b86e3e01.entry.js +0 -1
- package/dist/realtimekit-ui/p-bde05d24.entry.js +0 -1
- package/dist/realtimekit-ui/p-c57e0778.entry.js +0 -1
- package/dist/realtimekit-ui/p-c6a8ef1e.entry.js +0 -1
- package/dist/realtimekit-ui/p-c8bc3bb1.entry.js +0 -1
- package/dist/realtimekit-ui/p-c8f7b427.entry.js +0 -1
- package/dist/realtimekit-ui/p-c9d62ba7.entry.js +0 -1
- package/dist/realtimekit-ui/p-cbdd7a99.js +0 -1
- package/dist/realtimekit-ui/p-d0959773.entry.js +0 -1
- package/dist/realtimekit-ui/p-d59e0ecc.entry.js +0 -1
- package/dist/realtimekit-ui/p-d790f2be.entry.js +0 -1
- package/dist/realtimekit-ui/p-d7fd359f.entry.js +0 -1
- package/dist/realtimekit-ui/p-daf01d45.entry.js +0 -1
- package/dist/realtimekit-ui/p-db2a6aed.entry.js +0 -1
- package/dist/realtimekit-ui/p-de170ad4.entry.js +0 -1
- package/dist/realtimekit-ui/p-de31f5b0.entry.js +0 -1
- package/dist/realtimekit-ui/p-deaae495.entry.js +0 -1
- package/dist/realtimekit-ui/p-e59cc7d0.entry.js +0 -1
- package/dist/realtimekit-ui/p-ea03b1a0.entry.js +0 -1
- package/dist/realtimekit-ui/p-ede50497.entry.js +0 -1
- package/dist/realtimekit-ui/p-f47d4fe8.js +0 -1
- package/dist/realtimekit-ui/p-f52fdfb4.entry.js +0 -1
- package/dist/realtimekit-ui/p-fd80c28e.entry.js +0 -1
- package/dist/realtimekit-ui/p-ff971eea.entry.js +0 -1
- package/loader/package.json +0 -11
- /package/dist/cjs/{ResizeObserver.es-ba961f16.js → ResizeObserver.es-26EdCpEA.js} +0 -0
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/cjs/{browser-5538db4d.js → browser-qKzDfwbO.js} +0 -0
- /package/dist/cjs/{date-61ffcd0a.js → date-CObAPgSZ.js} +0 -0
- /package/dist/cjs/{full-screen-b02d13dd.js → full-screen-BRlJJI9n.js} +0 -0
- /package/dist/cjs/{grid-edc342a7.js → grid-D_7WOWNI.js} +0 -0
- /package/dist/cjs/{init-error-70ccf3b6.js → init-error-DIWXbjwA.js} +0 -0
- /package/dist/cjs/{join-error-c1eed98e.js → join-error-CZSJQxsP.js} +0 -0
- /package/dist/cjs/{scroll-c6404609.js → scroll-uQ4eWvC-.js} +0 -0
- /package/dist/cjs/{string-9bce3253.js → string-C1A6N-tA.js} +0 -0
- /package/dist/{realtimekit-ui/p-0752f2ba.js → components/p-BIplIdLH.js} +0 -0
- /package/dist/{realtimekit-ui/p-05186172.js → components/p-CAqYddlg.js} +0 -0
- /package/dist/{realtimekit-ui/p-b13ddb7d.js → components/p-CmmyVCoN.js} +0 -0
- /package/dist/{realtimekit-ui/p-3974d97a.js → components/p-GSFejkz7.js} +0 -0
- /package/dist/{realtimekit-ui/p-382270d8.js → components/p-jvwnrxra.js} +0 -0
- /package/dist/{realtimekit-ui/p-f7c2daba.js → components/p-vBfDtD_u.js} +0 -0
- /package/dist/{realtimekit-ui/p-cfa0b5c7.js → components/p-wWDkfcFk.js} +0 -0
- /package/dist/{components/p-f47d4fe8.js → esm/ResizeObserver.es-FdeAvICb.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/{components/p-05186172.js → esm/browser-CAqYddlg.js} +0 -0
- /package/dist/{components/p-382270d8.js → esm/date-jvwnrxra.js} +0 -0
- /package/dist/{components/p-3974d97a.js → esm/full-screen-GSFejkz7.js} +0 -0
- /package/dist/{components/p-b13ddb7d.js → esm/grid-CmmyVCoN.js} +0 -0
- /package/dist/{components/p-cfa0b5c7.js → esm/init-error-wWDkfcFk.js} +0 -0
- /package/dist/{components/p-f7c2daba.js → esm/join-error-vBfDtD_u.js} +0 -0
- /package/dist/{components/p-0752f2ba.js → esm/scroll-BIplIdLH.js} +0 -0
- /package/dist/esm/{string-068ce30a.js → string-vBD2htwQ.js} +0 -0
- /package/dist/realtimekit-ui/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
- /package/dist/realtimekit-ui/{p-6f211c3e.js → p-vBD2htwQ.js} +0 -0
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as createEvent, h, c as Host } from './p-ae373651.js';
|
|
2
|
-
import { S as SyncWithStore } from './p-bd10fae6.js';
|
|
3
|
-
import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage, f as defaultOverrides } from './p-d5a12339.js';
|
|
4
|
-
import './p-a83ccdbd.js';
|
|
5
|
-
import { d as defineCustomElement$5 } from './p-ea359bb7.js';
|
|
6
|
-
import { d as defineCustomElement$4 } from './p-85587a5c.js';
|
|
7
|
-
import { d as defineCustomElement$3 } from './p-3e0452c4.js';
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-29e60132.js';
|
|
9
|
-
import { d as defineCustomElement$1 } from './p-cf1903b1.js';
|
|
10
|
-
|
|
11
|
-
const rtkChatSelectorCss = ":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;width:100%;flex-direction:column;font-size:14px;position:relative;box-sizing:border-box;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.chat-header{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);gap:var(--rtk-space-2, 8px);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);display:flex;flex-direction:row;align-items:center;justify-content:space-between;--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-600, 255 255 255 / 0.52));cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px);border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.chat-header-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px)}.dropdown{position:absolute;top:100%;z-index:10;padding:var(--rtk-space-0, 0px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));opacity:0;pointer-events:none;border-bottom-right-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);left:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);max-width:calc(100vw - var(--rtk-space-4, 16px));box-sizing:border-box}.dropdown.open{opacity:1;pointer-events:auto;border-width:1px;border-top-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity))}.dropdown rtk-paginated-list{box-sizing:border-box;display:flex;height:30vh;flex-direction:column}.public-chat-group-label{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);border-left-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-bottom-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}.public-chat-icon{display:flex;align-items:center;justify-content:center;padding:var(--rtk-space-1, 4px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}.public-chat-icon rtk-icon{color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}";
|
|
12
|
-
const RtkChatSelectorStyle0 = rtkChatSelectorCss;
|
|
13
|
-
|
|
14
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
17
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
18
|
-
else
|
|
19
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
20
|
-
if (d = decorators[i])
|
|
21
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
-
};
|
|
24
|
-
const RtkChatSelector = /*@__PURE__*/ proxyCustomElement(class RtkChatSelector extends H {
|
|
25
|
-
constructor() {
|
|
26
|
-
super();
|
|
27
|
-
this.__registerHost();
|
|
28
|
-
this.__attachShadow();
|
|
29
|
-
this.dropdownToggle = createEvent(this, "rtkDropdownToggle", 7);
|
|
30
|
-
this.chatSelectorChange = createEvent(this, "rtkChatSelectorChange", 7);
|
|
31
|
-
/** Config */
|
|
32
|
-
this.config = createDefaultConfig();
|
|
33
|
-
/** Icon pack */
|
|
34
|
-
this.iconPack = defaultIconPack;
|
|
35
|
-
/** Language */
|
|
36
|
-
this.t = useLanguage();
|
|
37
|
-
/** UI Overrides */
|
|
38
|
-
this.overrides = defaultOverrides;
|
|
39
|
-
this.isOpen = false;
|
|
40
|
-
this.showPrivateChat = false;
|
|
41
|
-
this.selectedUser = undefined;
|
|
42
|
-
//NOTE(ikabra): Fix this value once backend supports pagination for participants
|
|
43
|
-
this.pageSize = 100000;
|
|
44
|
-
this.pagesAllowed = 3;
|
|
45
|
-
this.unreadMap = new Map();
|
|
46
|
-
this.disconnectMeeting = (meeting) => {
|
|
47
|
-
var _a, _b, _c, _d;
|
|
48
|
-
const { self, participants } = meeting || {};
|
|
49
|
-
(_a = meeting.chat) === null || _a === void 0 ? void 0 : _a.off('chatUpdate', this.chatUpdateListener);
|
|
50
|
-
(_b = self === null || self === void 0 ? void 0 : self.permissions) === null || _b === void 0 ? void 0 : _b.off('*', this.chatPermissionUpdateListener);
|
|
51
|
-
(_c = participants === null || participants === void 0 ? void 0 : participants.joined) === null || _c === void 0 ? void 0 : _c.off('participantJoined', this.participantJoinedListener);
|
|
52
|
-
(_d = participants === null || participants === void 0 ? void 0 : participants.joined) === null || _d === void 0 ? void 0 : _d.off('participantLeft', this.participantLeftListener);
|
|
53
|
-
};
|
|
54
|
-
this.toggle = (e) => {
|
|
55
|
-
e.preventDefault();
|
|
56
|
-
e.stopPropagation();
|
|
57
|
-
this.isOpen = !this.isOpen;
|
|
58
|
-
this.dropdownToggle.emit({ open: this.isOpen });
|
|
59
|
-
};
|
|
60
|
-
this.selectUser = async (user) => {
|
|
61
|
-
if (user === null || user === void 0 ? void 0 : user.userId) {
|
|
62
|
-
this.unreadMap.set(user.userId, false);
|
|
63
|
-
this.$paginatedListRef.rerenderList();
|
|
64
|
-
}
|
|
65
|
-
this.selectedUser = user;
|
|
66
|
-
this.chatSelectorChange.emit({ selectedUser: user });
|
|
67
|
-
await this.close();
|
|
68
|
-
};
|
|
69
|
-
this.chatPermissionUpdateListener = () => {
|
|
70
|
-
var _a, _b;
|
|
71
|
-
this.showPrivateChat = !!(((_a = this.meeting.self.permissions.chatPrivate) === null || _a === void 0 ? void 0 : _a.canSend) ||
|
|
72
|
-
((_b = this.meeting.self.permissions.chatPrivate) === null || _b === void 0 ? void 0 : _b.canReceive));
|
|
73
|
-
if (!this.showPrivateChat) {
|
|
74
|
-
this.selectedUser = undefined;
|
|
75
|
-
this.chatSelectorChange.emit({ selectedUser: undefined });
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
this.onParticipantUpdate = () => {
|
|
79
|
-
var _a, _b, _c, _d;
|
|
80
|
-
if (!this.selectedUser)
|
|
81
|
-
return;
|
|
82
|
-
const participants = ((_d = (_c = (_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants) === null || _b === void 0 ? void 0 : _b.joined) === null || _c === void 0 ? void 0 : _c.toArray) === null || _d === void 0 ? void 0 : _d.call(_c)) || [];
|
|
83
|
-
if (!participants.some((p) => { var _a; return p.id === ((_a = this.selectedUser) === null || _a === void 0 ? void 0 : _a.id); })) {
|
|
84
|
-
this.selectedUser = undefined;
|
|
85
|
-
this.chatSelectorChange.emit({ selectedUser: undefined });
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
this.participantJoinedListener = (data) => {
|
|
89
|
-
this.$paginatedListRef.onNewNode(data);
|
|
90
|
-
};
|
|
91
|
-
this.participantLeftListener = (data) => {
|
|
92
|
-
this.$paginatedListRef.onNodeDelete(data.id);
|
|
93
|
-
this.onParticipantUpdate();
|
|
94
|
-
};
|
|
95
|
-
// @ts-ignore - unused params
|
|
96
|
-
this.getParticipants = async (timestamp, size, reversed) => {
|
|
97
|
-
const meeting = this.meeting;
|
|
98
|
-
if (!meeting)
|
|
99
|
-
return [];
|
|
100
|
-
/**
|
|
101
|
-
* FIXME(ikabra): This is a temporary hack in place to handle the initial load
|
|
102
|
-
* and not repeat participants when a user reaches the top of the list.
|
|
103
|
-
* This must be replaced by actual pagination APIs from backend for participants.
|
|
104
|
-
*/
|
|
105
|
-
if (!timestamp)
|
|
106
|
-
return [];
|
|
107
|
-
const participants = meeting.participants.joined.toArray();
|
|
108
|
-
return participants;
|
|
109
|
-
};
|
|
110
|
-
this.createPaticipantNodes = (data) => {
|
|
111
|
-
return data.map((participant) => {
|
|
112
|
-
var _a;
|
|
113
|
-
return (h("div", { class: "private-chat-label", id: participant.id, onClick: () => this.selectUser(participant) }, h("rtk-avatar", { size: "sm", participant: participant }), h("span", null, (_a = participant.name) !== null && _a !== void 0 ? _a : this.t('participant')), this.unreadMap.get(participant.userId) ? (h("div", { class: "private-chat-unread-badge" })) : null));
|
|
114
|
-
});
|
|
115
|
-
};
|
|
116
|
-
this.chatUpdateListener = (data) => {
|
|
117
|
-
var _a;
|
|
118
|
-
if (data.action !== 'add')
|
|
119
|
-
return;
|
|
120
|
-
if (!((_a = data.message.targetUserIds) === null || _a === void 0 ? void 0 : _a.length))
|
|
121
|
-
return;
|
|
122
|
-
const selfUserId = this.meeting.self.userId;
|
|
123
|
-
const otherUserId = data.message.targetUserIds.find((id) => id !== selfUserId);
|
|
124
|
-
if (!otherUserId)
|
|
125
|
-
return;
|
|
126
|
-
this.unreadMap.set(otherUserId, true);
|
|
127
|
-
this.$paginatedListRef.rerenderList();
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
/** */
|
|
131
|
-
async close() {
|
|
132
|
-
if (!this.isOpen)
|
|
133
|
-
return;
|
|
134
|
-
this.isOpen = false;
|
|
135
|
-
this.dropdownToggle.emit({ open: false });
|
|
136
|
-
}
|
|
137
|
-
connectedCallback() {
|
|
138
|
-
this.meetingChanged(this.meeting);
|
|
139
|
-
this.overridesChanged(this.overrides);
|
|
140
|
-
}
|
|
141
|
-
disconnectedCallback() {
|
|
142
|
-
var _a, _b, _c;
|
|
143
|
-
if (!this.meeting)
|
|
144
|
-
return;
|
|
145
|
-
const { self, participants } = this.meeting;
|
|
146
|
-
(_a = self === null || self === void 0 ? void 0 : self.permissions) === null || _a === void 0 ? void 0 : _a.off('*', this.chatPermissionUpdateListener);
|
|
147
|
-
(_b = participants === null || participants === void 0 ? void 0 : participants.joined) === null || _b === void 0 ? void 0 : _b.off('participantJoined', this.participantJoinedListener);
|
|
148
|
-
(_c = participants === null || participants === void 0 ? void 0 : participants.joined) === null || _c === void 0 ? void 0 : _c.off('participantLeft', this.participantLeftListener);
|
|
149
|
-
}
|
|
150
|
-
overridesChanged(overrides) {
|
|
151
|
-
var _a, _b;
|
|
152
|
-
if (!this.meeting || this.meeting.self)
|
|
153
|
-
return;
|
|
154
|
-
this.showPrivateChat =
|
|
155
|
-
!!(((_a = this.meeting.self.permissions.chatPrivate) === null || _a === void 0 ? void 0 : _a.canSend) ||
|
|
156
|
-
((_b = this.meeting.self.permissions.chatPrivate) === null || _b === void 0 ? void 0 : _b.canReceive)) && !overrides.disablePrivateChat;
|
|
157
|
-
}
|
|
158
|
-
meetingChanged(meeting, oldMeeting) {
|
|
159
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
160
|
-
if (oldMeeting)
|
|
161
|
-
this.disconnectMeeting(oldMeeting);
|
|
162
|
-
if (!meeting || !meeting.chat)
|
|
163
|
-
return;
|
|
164
|
-
this.showPrivateChat =
|
|
165
|
-
!!(((_a = meeting.self.permissions.chatPrivate) === null || _a === void 0 ? void 0 : _a.canSend) ||
|
|
166
|
-
((_b = meeting.self.permissions.chatPrivate) === null || _b === void 0 ? void 0 : _b.canReceive)) && !this.overrides.disablePrivateChat;
|
|
167
|
-
this.onParticipantUpdate();
|
|
168
|
-
(_c = meeting.chat) === null || _c === void 0 ? void 0 : _c.on('chatUpdate', this.chatUpdateListener);
|
|
169
|
-
meeting.self.permissions.on('*', this.chatPermissionUpdateListener);
|
|
170
|
-
(_e = (_d = meeting === null || meeting === void 0 ? void 0 : meeting.participants) === null || _d === void 0 ? void 0 : _d.joined) === null || _e === void 0 ? void 0 : _e.on('participantJoined', this.participantJoinedListener);
|
|
171
|
-
(_g = (_f = meeting === null || meeting === void 0 ? void 0 : meeting.participants) === null || _f === void 0 ? void 0 : _f.joined) === null || _g === void 0 ? void 0 : _g.on('participantLeft', this.participantLeftListener);
|
|
172
|
-
}
|
|
173
|
-
render() {
|
|
174
|
-
if (!this.showPrivateChat)
|
|
175
|
-
return null;
|
|
176
|
-
return (h(Host, null, h("div", { class: "chat-header", onClick: this.toggle }, h("div", { class: "chat-header-label" }, this.selectedUser ? (h("rtk-icon", { icon: this.iconPack.people, size: "sm" })) : (h("rtk-icon", { icon: this.iconPack.participants, size: "sm" })), !this.selectedUser ? this.t('chat.everyone') : this.selectedUser.name), h("div", { class: "chevron" }, h("rtk-icon", { icon: this.isOpen ? this.iconPack.chevron_up : this.iconPack.chevron_down, size: "sm" }))), h("div", { class: { dropdown: true, open: this.isOpen, scrollbar: true } }, h("div", { class: "public-chat-group-label", onClick: () => this.selectUser(undefined) }, h("div", { class: "public-chat-icon" }, h("rtk-icon", { icon: this.iconPack.participants, size: "sm" })), this.t('chat.everyone')), h("rtk-paginated-list", { class: "chat-selector-paginated-list", ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getParticipants, createNodes: this.createPaticipantNodes, emptyListLabel: this.t('participants.empty_list') }, h("slot", null)))));
|
|
177
|
-
}
|
|
178
|
-
static get watchers() { return {
|
|
179
|
-
"overrides": ["overridesChanged"],
|
|
180
|
-
"meeting": ["meetingChanged"]
|
|
181
|
-
}; }
|
|
182
|
-
static get style() { return RtkChatSelectorStyle0; }
|
|
183
|
-
}, [1, "rtk-chat-selector", {
|
|
184
|
-
"meeting": [16],
|
|
185
|
-
"states": [16],
|
|
186
|
-
"config": [16],
|
|
187
|
-
"iconPack": [16],
|
|
188
|
-
"t": [16],
|
|
189
|
-
"overrides": [16],
|
|
190
|
-
"size": [513],
|
|
191
|
-
"isOpen": [32],
|
|
192
|
-
"showPrivateChat": [32],
|
|
193
|
-
"selectedUser": [32],
|
|
194
|
-
"pageSize": [32],
|
|
195
|
-
"pagesAllowed": [32],
|
|
196
|
-
"unreadMap": [32],
|
|
197
|
-
"close": [64]
|
|
198
|
-
}, undefined, {
|
|
199
|
-
"overrides": ["overridesChanged"],
|
|
200
|
-
"meeting": ["meetingChanged"]
|
|
201
|
-
}]);
|
|
202
|
-
__decorate([
|
|
203
|
-
SyncWithStore()
|
|
204
|
-
], RtkChatSelector.prototype, "meeting", void 0);
|
|
205
|
-
__decorate([
|
|
206
|
-
SyncWithStore()
|
|
207
|
-
], RtkChatSelector.prototype, "states", void 0);
|
|
208
|
-
__decorate([
|
|
209
|
-
SyncWithStore()
|
|
210
|
-
], RtkChatSelector.prototype, "config", void 0);
|
|
211
|
-
__decorate([
|
|
212
|
-
SyncWithStore()
|
|
213
|
-
], RtkChatSelector.prototype, "iconPack", void 0);
|
|
214
|
-
__decorate([
|
|
215
|
-
SyncWithStore()
|
|
216
|
-
], RtkChatSelector.prototype, "t", void 0);
|
|
217
|
-
__decorate([
|
|
218
|
-
SyncWithStore()
|
|
219
|
-
], RtkChatSelector.prototype, "overrides", void 0);
|
|
220
|
-
function defineCustomElement() {
|
|
221
|
-
if (typeof customElements === "undefined") {
|
|
222
|
-
return;
|
|
223
|
-
}
|
|
224
|
-
const components = ["rtk-chat-selector", "rtk-avatar", "rtk-button", "rtk-icon", "rtk-paginated-list", "rtk-spinner"];
|
|
225
|
-
components.forEach(tagName => { switch (tagName) {
|
|
226
|
-
case "rtk-chat-selector":
|
|
227
|
-
if (!customElements.get(tagName)) {
|
|
228
|
-
customElements.define(tagName, RtkChatSelector);
|
|
229
|
-
}
|
|
230
|
-
break;
|
|
231
|
-
case "rtk-avatar":
|
|
232
|
-
if (!customElements.get(tagName)) {
|
|
233
|
-
defineCustomElement$5();
|
|
234
|
-
}
|
|
235
|
-
break;
|
|
236
|
-
case "rtk-button":
|
|
237
|
-
if (!customElements.get(tagName)) {
|
|
238
|
-
defineCustomElement$4();
|
|
239
|
-
}
|
|
240
|
-
break;
|
|
241
|
-
case "rtk-icon":
|
|
242
|
-
if (!customElements.get(tagName)) {
|
|
243
|
-
defineCustomElement$3();
|
|
244
|
-
}
|
|
245
|
-
break;
|
|
246
|
-
case "rtk-paginated-list":
|
|
247
|
-
if (!customElements.get(tagName)) {
|
|
248
|
-
defineCustomElement$2();
|
|
249
|
-
}
|
|
250
|
-
break;
|
|
251
|
-
case "rtk-spinner":
|
|
252
|
-
if (!customElements.get(tagName)) {
|
|
253
|
-
defineCustomElement$1();
|
|
254
|
-
}
|
|
255
|
-
break;
|
|
256
|
-
} });
|
|
257
|
-
}
|
|
258
|
-
defineCustomElement();
|
|
259
|
-
|
|
260
|
-
export { RtkChatSelector as R, defineCustomElement as d };
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, c as Host } from './p-ae373651.js';
|
|
2
|
-
import { c as createDefaultConfig, i as useLanguage } from './p-d5a12339.js';
|
|
3
|
-
import { S as SyncWithStore } from './p-bd10fae6.js';
|
|
4
|
-
import './p-a83ccdbd.js';
|
|
5
|
-
|
|
6
|
-
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))}";
|
|
7
|
-
const RtkLogoStyle0 = rtkLogoCss;
|
|
8
|
-
|
|
9
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
12
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
13
|
-
else
|
|
14
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
15
|
-
if (d = decorators[i])
|
|
16
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
-
};
|
|
19
|
-
const RtkLogo = /*@__PURE__*/ proxyCustomElement(class RtkLogo extends H {
|
|
20
|
-
constructor() {
|
|
21
|
-
super();
|
|
22
|
-
this.__registerHost();
|
|
23
|
-
this.__attachShadow();
|
|
24
|
-
/** Config object */
|
|
25
|
-
this.config = createDefaultConfig();
|
|
26
|
-
/** Language */
|
|
27
|
-
this.t = useLanguage();
|
|
28
|
-
}
|
|
29
|
-
connectedCallback() {
|
|
30
|
-
this.configChanged(this.config);
|
|
31
|
-
this.meetingChanged(this.meeting);
|
|
32
|
-
}
|
|
33
|
-
configChanged(config) {
|
|
34
|
-
var _a;
|
|
35
|
-
if (config != null) {
|
|
36
|
-
const configLogo = (_a = config === null || config === void 0 ? void 0 : config.designTokens) === null || _a === void 0 ? void 0 : _a.logo;
|
|
37
|
-
// NOTE(callmetarush): Only update logo if not passed via prop
|
|
38
|
-
if (configLogo != null && this.logoUrl == null) {
|
|
39
|
-
this.logoUrl = configLogo;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
meetingChanged(meeting) {
|
|
44
|
-
var _a, _b, _c, _d;
|
|
45
|
-
if (meeting != null) {
|
|
46
|
-
const meetingLogo = (_d = (_c = (_b = (_a = meeting.self) === null || _a === void 0 ? void 0 : _a.config) === null || _b === void 0 ? void 0 : _b.header) === null || _c === void 0 ? void 0 : _c.elements) === null || _d === void 0 ? void 0 : _d.logo;
|
|
47
|
-
if (meetingLogo != null && this.logoUrl == null) {
|
|
48
|
-
this.logoUrl = meetingLogo;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
render() {
|
|
53
|
-
if (!this.logoUrl || this.logoUrl === '') {
|
|
54
|
-
return null;
|
|
55
|
-
}
|
|
56
|
-
const logo = this.logoUrl;
|
|
57
|
-
const text = this.t('logo');
|
|
58
|
-
return (h(Host, { class: "loaded" }, h("img", { src: logo, alt: text })));
|
|
59
|
-
}
|
|
60
|
-
static get watchers() { return {
|
|
61
|
-
"config": ["configChanged"],
|
|
62
|
-
"meeting": ["meetingChanged"]
|
|
63
|
-
}; }
|
|
64
|
-
static get style() { return RtkLogoStyle0; }
|
|
65
|
-
}, [1, "rtk-logo", {
|
|
66
|
-
"logoUrl": [1025, "logo-url"],
|
|
67
|
-
"config": [16],
|
|
68
|
-
"meeting": [16],
|
|
69
|
-
"t": [16]
|
|
70
|
-
}, undefined, {
|
|
71
|
-
"config": ["configChanged"],
|
|
72
|
-
"meeting": ["meetingChanged"]
|
|
73
|
-
}]);
|
|
74
|
-
__decorate([
|
|
75
|
-
SyncWithStore()
|
|
76
|
-
], RtkLogo.prototype, "config", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
SyncWithStore()
|
|
79
|
-
], RtkLogo.prototype, "meeting", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
SyncWithStore()
|
|
82
|
-
], RtkLogo.prototype, "t", void 0);
|
|
83
|
-
function defineCustomElement() {
|
|
84
|
-
if (typeof customElements === "undefined") {
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
const components = ["rtk-logo"];
|
|
88
|
-
components.forEach(tagName => { switch (tagName) {
|
|
89
|
-
case "rtk-logo":
|
|
90
|
-
if (!customElements.get(tagName)) {
|
|
91
|
-
customElements.define(tagName, RtkLogo);
|
|
92
|
-
}
|
|
93
|
-
break;
|
|
94
|
-
} });
|
|
95
|
-
}
|
|
96
|
-
defineCustomElement();
|
|
97
|
-
|
|
98
|
-
export { RtkLogo as R, defineCustomElement as d };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { h } from './p-ae373651.js';
|
|
2
|
-
import { f as formatDateTime, e as elapsedDuration } from './p-382270d8.js';
|
|
3
|
-
import { s as shorten, f as formatName } from './p-efabd2ce.js';
|
|
4
|
-
|
|
5
|
-
const ChatHead = ({ name, time, now }) => {
|
|
6
|
-
return (h("div", { class: "head" },
|
|
7
|
-
h("div", { class: "name" }, shorten(formatName(name), 20)),
|
|
8
|
-
h("div", { class: "time", title: formatDateTime(time) }, elapsedDuration(time, now))));
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { ChatHead as C };
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as createEvent, h, c as Host } from './p-ae373651.js';
|
|
2
|
-
import { e as defaultIconPack, i as useLanguage, H as participantIdentifier, G as getAllConnectedParticipants } from './p-d5a12339.js';
|
|
3
|
-
import { S as SyncWithStore } from './p-bd10fae6.js';
|
|
4
|
-
import { f as formatName, s as shorten } from './p-efabd2ce.js';
|
|
5
|
-
import { d as defineCustomElement$4 } from './p-ea359bb7.js';
|
|
6
|
-
import { d as defineCustomElement$3 } from './p-3e0452c4.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-cf1903b1.js';
|
|
8
|
-
import { d as defineCustomElement$1 } from './p-bece0226.js';
|
|
9
|
-
|
|
10
|
-
const rtkBreakoutRoomParticipantsCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;height:100%;flex-direction:column;font-size:14px}:host input[type='checkbox']{margin:var(--rtk-space-0, 0px);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rtk-border-radius-sm, 4px);position:relative;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;border-color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}:host input[type='checkbox']:checked{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host input[type='checkbox']:checked::before{position:absolute;top:1px;left:1px;height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);background-color:rgb(var(--rtk-colors-text-1000, 255 255 255));content:'';clip-path:polygon(5% 60%, 35% 93%, 100% 19%, 86% 4%, 36% 62%, 19% 44%)}*{box-sizing:border-box}.participants{margin-top:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px)}.ctr{box-sizing:border-box;padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);overflow-y:auto;flex-grow:1;flex-basis:0}.empty-message{margin-top:var(--rtk-space-10, 40px);margin-bottom:var(--rtk-space-10, 40px);text-align:center;font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.empty-room{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--rtk-space-2, 8px);height:100%;text-align:center;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.empty-room rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}.empty-room p{font-size:16px;font-weight:500;margin:var(--rtk-space-0, 0px)}.empty-room span{font-size:12px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search-wrapper{margin-bottom:var(--rtk-space-1, 4px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);height:var(--rtk-space-8, 32px)}.search .search-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:inherit;color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.header{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-1\\.5, 6px);height:var(--rtk-space-9, 36px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-0\\.5, 2px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-bottom-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));display:flex;align-items:center;justify-content:space-between}.title-wrapper{display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}.participant-count{display:flex;align-items:center;font-size:14px}.participant-count rtk-icon{margin-right:var(--rtk-space-0\\.5, 2px);width:var(--rtk-space-3, 12px)}.participant-item{display:flex;align-items:center;justify-content:space-between;margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);cursor:pointer}.participant-item input.hide-checkbox{display:none}.participant-item input:checked{display:inline-block}.dragging input{display:none}.participant-item:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.participant-item:hover input{display:inline-block}.peer-ui-container{position:relative;display:flex;align-items:center;gap:var(--rtk-space-2, 8px);height:var(--rtk-space-10, 40px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.peer-ui-container rtk-avatar{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.peer-ui-container .name{font-size:14px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}";
|
|
11
|
-
const RtkBreakoutRoomParticipantsStyle0 = rtkBreakoutRoomParticipantsCss;
|
|
12
|
-
|
|
13
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
14
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
16
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else
|
|
18
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
19
|
-
if (d = decorators[i])
|
|
20
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
const RtkBreakoutRoomParticipants = /*@__PURE__*/ proxyCustomElement(class RtkBreakoutRoomParticipants extends H {
|
|
24
|
-
constructor() {
|
|
25
|
-
super();
|
|
26
|
-
this.__registerHost();
|
|
27
|
-
this.__attachShadow();
|
|
28
|
-
this.onSelectedParticipantsUpdate = createEvent(this, "selectedParticipantsUpdate", 7);
|
|
29
|
-
this.onAllToggled = createEvent(this, "allParticipantsToggleUpdate", 7);
|
|
30
|
-
this.onParticipantsDragging = createEvent(this, "participantsDragging", 7);
|
|
31
|
-
/** Participant ids */
|
|
32
|
-
this.participantIds = [];
|
|
33
|
-
/** Icon pack */
|
|
34
|
-
this.iconPack = defaultIconPack;
|
|
35
|
-
/** Language */
|
|
36
|
-
this.t = useLanguage();
|
|
37
|
-
this.search = '';
|
|
38
|
-
this.participantsToShow = [];
|
|
39
|
-
/** selected participants */
|
|
40
|
-
this.selectedParticipantIds = [];
|
|
41
|
-
this.isDragging = false;
|
|
42
|
-
this.onSearchInput = (e) => {
|
|
43
|
-
this.search = e.target.value;
|
|
44
|
-
};
|
|
45
|
-
this.onDragStart = (participant) => {
|
|
46
|
-
this.isDragging = true;
|
|
47
|
-
this.onParticipantsDragging.emit(true);
|
|
48
|
-
this.updateSelectedParticipants(participant, true);
|
|
49
|
-
};
|
|
50
|
-
this.onDragEnd = (participant) => {
|
|
51
|
-
this.isDragging = false;
|
|
52
|
-
this.onParticipantsDragging.emit(false);
|
|
53
|
-
this.updateSelectedParticipants(participant, false);
|
|
54
|
-
};
|
|
55
|
-
this.onClick = (participant) => {
|
|
56
|
-
const selected = this.selectedParticipantIds.includes(participantIdentifier(participant));
|
|
57
|
-
this.updateSelectedParticipants(participant, !selected);
|
|
58
|
-
};
|
|
59
|
-
this.onToggleAll = (checked) => {
|
|
60
|
-
const selectedParticipants = checked ? this.participantsToShow.map(participantIdentifier) : [];
|
|
61
|
-
this.onAllToggled.emit(selectedParticipants);
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
connectedCallback() {
|
|
65
|
-
this.meetingChanged(this.meeting);
|
|
66
|
-
this.searchChanged(this.search);
|
|
67
|
-
}
|
|
68
|
-
disconnectedCallback() {
|
|
69
|
-
if (!this.meeting)
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
updateSelectedParticipants(participant, selected) {
|
|
73
|
-
const id = participantIdentifier(participant);
|
|
74
|
-
let selectedParticipants = [];
|
|
75
|
-
if (selected && !this.selectedParticipantIds.includes(id)) {
|
|
76
|
-
selectedParticipants = [...this.selectedParticipantIds, id];
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
selectedParticipants = [...this.selectedParticipantIds.filter((x) => x !== id)];
|
|
80
|
-
}
|
|
81
|
-
this.onSelectedParticipantsUpdate.emit(selectedParticipants);
|
|
82
|
-
}
|
|
83
|
-
meetingChanged(meeting) {
|
|
84
|
-
if (!meeting)
|
|
85
|
-
return;
|
|
86
|
-
this.getParticipants(this.search);
|
|
87
|
-
}
|
|
88
|
-
participantsChanged() {
|
|
89
|
-
this.getParticipants(this.search);
|
|
90
|
-
}
|
|
91
|
-
searchChanged(search) {
|
|
92
|
-
this.getParticipants(search);
|
|
93
|
-
}
|
|
94
|
-
getParticipants(search) {
|
|
95
|
-
const allParticipants = getAllConnectedParticipants(this.meeting);
|
|
96
|
-
this.participantsToShow = allParticipants.filter((participant) => {
|
|
97
|
-
var _a;
|
|
98
|
-
return (this.participantIds.includes(participantIdentifier(participant)) &&
|
|
99
|
-
((_a = participant.displayName) !== null && _a !== void 0 ? _a : '').toLowerCase().includes(search.toLowerCase()));
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
renderPeer(participant) {
|
|
103
|
-
const name = formatName(participant.displayName || '');
|
|
104
|
-
return (h("div", { class: "peer-ui-container" }, h("rtk-avatar", { participant: {
|
|
105
|
-
name: participant.displayName,
|
|
106
|
-
picture: participant.displayPictureUrl,
|
|
107
|
-
}, size: "sm" }), h("p", { class: "name", title: name }, shorten(name, 16), this.meeting.self.userId === participant.id && ` (${this.t('you')})`)));
|
|
108
|
-
}
|
|
109
|
-
render() {
|
|
110
|
-
return (h(Host, { key: '94cb6d982e09320de84247ed54125112bd3e13d3' }, h("div", { key: '209bf3e3aab27fa05592bb24242bd6b4d0311437', class: "search-wrapper" }, h("div", { key: 'a827dcb5f643d421e6974f37f61b9d491332467f', class: "search", part: "search" }, h("rtk-icon", { key: 'cf06dfdf881b67faeff7c99445eb96994e73c87f', icon: this.iconPack.search, part: "search-icon", class: "search-icon" }), h("input", { key: 'd70fda9e533d770f1e03735ff7f1a69a49e8e8ad', type: "search", autocomplete: "off", placeholder: this.t('search'), onInput: this.onSearchInput, part: "search-input" })), h("slot", { key: '14ae3d89ee242081fdbc953b4c5b6416c873933f', name: "shuffle-button" })), h("div", { key: 'c86217a6ccf23ce29d6cf366be8c401556f5b72e', class: "header" }, h("div", { key: '217d658e89b4647628fb826d11dd05bcf9ac892f', class: "title-wrapper" }, h("span", { key: '7fa37a9e42871c36543f2107a872f1e14fb03bb8' }, this.t('breakout_rooms.main_room')), h("span", { key: '956a5b53d06dea779b1bd00df955f653ea26202f', class: "participant-count" }, "(", h("rtk-icon", { key: '9f9de13fc327edc1f90beddbf1edefb70bcedbe0', icon: this.iconPack.people }), this.participantsToShow.length, ")")), this.selectedParticipantIds.length !== 0 && (h("rtk-tooltip", { key: 'abc39eba7b381b8beae1ecc6d6afda27ba37975a', label: this.t('breakout_rooms.select_all') }, h("input", { key: '5e5dfa6c0f68a80b58d44d8b2be8d31c5c22bc69', type: "checkbox", checked: this.selectedParticipantIds.length === this.participantsToShow.length, onChange: (e) => this.onToggleAll(!!e.target.checked) })))), h("div", { key: 'fcb0a2ceac16b68948d3f93ddc0f6f9e2542d6d8', class: "ctr scrollbar", part: "container" }, this.participantsToShow.length > 0 && (h("ul", { key: '19916d9d462370718445dfb01a23d2806a57f1ff', class: "participants", part: "participants" }, this.participantsToShow.map((participant) => (h("li", { class: { 'participant-item': true, dragging: this.isDragging }, onClick: () => this.onClick(participant), onDragStart: () => this.onDragStart(participant), onDragEnd: () => this.onDragEnd(participant), draggable: this.selectedParticipantIds.length === 0, role: "listitem", key: participant.id }, this.renderPeer(participant), !this.isDragging && (h("input", { type: "checkbox", class: {
|
|
111
|
-
'hide-checkbox': this.selectedParticipantIds.length === 0,
|
|
112
|
-
}, checked: this.selectedParticipantIds.includes(participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (h("div", { key: '2b0898cb78599610406ff0ec2b2be0ef8c4615cf', class: "empty-message" }, this.t('participants.errors.empty_results'))), this.participantsToShow.length === 0 && this.search.length === 0 && (h("div", { key: 'f6bdab6034aa82bf26dfa1a08615d36dcd00dcf6', class: "empty-room" }, h("rtk-icon", { key: '115e987588beb229aba15dffbd05ffbef71cb74c', icon: this.iconPack.people_checked, part: "search-icon", class: "search-icon" }), h("p", { key: 'd8b6120c1361b97d1e73969d9da119aa7488a7b3' }, this.t('breakout_rooms.all_assigned')), h("span", { key: '020aa6e5440976f89960b0972784c997a1f765a8' }, this.t('breakout_rooms.empty_main_room')))))));
|
|
113
|
-
}
|
|
114
|
-
static get watchers() { return {
|
|
115
|
-
"meeting": ["meetingChanged"],
|
|
116
|
-
"participantIds": ["participantsChanged"],
|
|
117
|
-
"search": ["searchChanged"]
|
|
118
|
-
}; }
|
|
119
|
-
static get style() { return RtkBreakoutRoomParticipantsStyle0; }
|
|
120
|
-
}, [1, "rtk-breakout-room-participants", {
|
|
121
|
-
"meeting": [16],
|
|
122
|
-
"participantIds": [16],
|
|
123
|
-
"iconPack": [16],
|
|
124
|
-
"t": [16],
|
|
125
|
-
"selectedParticipantIds": [16],
|
|
126
|
-
"search": [32],
|
|
127
|
-
"participantsToShow": [32],
|
|
128
|
-
"isDragging": [32]
|
|
129
|
-
}, undefined, {
|
|
130
|
-
"meeting": ["meetingChanged"],
|
|
131
|
-
"participantIds": ["participantsChanged"],
|
|
132
|
-
"search": ["searchChanged"]
|
|
133
|
-
}]);
|
|
134
|
-
__decorate([
|
|
135
|
-
SyncWithStore()
|
|
136
|
-
], RtkBreakoutRoomParticipants.prototype, "meeting", void 0);
|
|
137
|
-
__decorate([
|
|
138
|
-
SyncWithStore()
|
|
139
|
-
], RtkBreakoutRoomParticipants.prototype, "iconPack", void 0);
|
|
140
|
-
__decorate([
|
|
141
|
-
SyncWithStore()
|
|
142
|
-
], RtkBreakoutRoomParticipants.prototype, "t", void 0);
|
|
143
|
-
function defineCustomElement() {
|
|
144
|
-
if (typeof customElements === "undefined") {
|
|
145
|
-
return;
|
|
146
|
-
}
|
|
147
|
-
const components = ["rtk-breakout-room-participants", "rtk-avatar", "rtk-icon", "rtk-spinner", "rtk-tooltip"];
|
|
148
|
-
components.forEach(tagName => { switch (tagName) {
|
|
149
|
-
case "rtk-breakout-room-participants":
|
|
150
|
-
if (!customElements.get(tagName)) {
|
|
151
|
-
customElements.define(tagName, RtkBreakoutRoomParticipants);
|
|
152
|
-
}
|
|
153
|
-
break;
|
|
154
|
-
case "rtk-avatar":
|
|
155
|
-
if (!customElements.get(tagName)) {
|
|
156
|
-
defineCustomElement$4();
|
|
157
|
-
}
|
|
158
|
-
break;
|
|
159
|
-
case "rtk-icon":
|
|
160
|
-
if (!customElements.get(tagName)) {
|
|
161
|
-
defineCustomElement$3();
|
|
162
|
-
}
|
|
163
|
-
break;
|
|
164
|
-
case "rtk-spinner":
|
|
165
|
-
if (!customElements.get(tagName)) {
|
|
166
|
-
defineCustomElement$2();
|
|
167
|
-
}
|
|
168
|
-
break;
|
|
169
|
-
case "rtk-tooltip":
|
|
170
|
-
if (!customElements.get(tagName)) {
|
|
171
|
-
defineCustomElement$1();
|
|
172
|
-
}
|
|
173
|
-
break;
|
|
174
|
-
} });
|
|
175
|
-
}
|
|
176
|
-
defineCustomElement();
|
|
177
|
-
|
|
178
|
-
export { RtkBreakoutRoomParticipants as R, defineCustomElement as d };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, c as Host } from './p-ae373651.js';
|
|
2
|
-
|
|
3
|
-
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))}";
|
|
4
|
-
const RtkIconStyle0 = rtkIconCss;
|
|
5
|
-
|
|
6
|
-
const parseIcon = (icon) => {
|
|
7
|
-
try {
|
|
8
|
-
return JSON.parse(icon);
|
|
9
|
-
}
|
|
10
|
-
catch (e) {
|
|
11
|
-
return icon;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
const RtkIcon = /*@__PURE__*/ proxyCustomElement(class RtkIcon extends H {
|
|
15
|
-
constructor() {
|
|
16
|
-
super();
|
|
17
|
-
this.__registerHost();
|
|
18
|
-
this.__attachShadow();
|
|
19
|
-
/** Icon variant */
|
|
20
|
-
this.variant = 'primary';
|
|
21
|
-
/** Size */
|
|
22
|
-
this.size = 'lg';
|
|
23
|
-
}
|
|
24
|
-
render() {
|
|
25
|
-
return (h(Host, { key: 'fdbe6fd9647bae7cfdf02ba6a250aa3c0c39ad85' }, h("div", { key: '114baca2f9ce9376e69073b40170473cc359915f', class: "icon-wrapper", innerHTML: parseIcon(this.icon), part: "wrapper" })));
|
|
26
|
-
}
|
|
27
|
-
static get style() { return RtkIconStyle0; }
|
|
28
|
-
}, [1, "rtk-icon", {
|
|
29
|
-
"icon": [1],
|
|
30
|
-
"variant": [513],
|
|
31
|
-
"size": [513]
|
|
32
|
-
}]);
|
|
33
|
-
function defineCustomElement() {
|
|
34
|
-
if (typeof customElements === "undefined") {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
const components = ["rtk-icon"];
|
|
38
|
-
components.forEach(tagName => { switch (tagName) {
|
|
39
|
-
case "rtk-icon":
|
|
40
|
-
if (!customElements.get(tagName)) {
|
|
41
|
-
customElements.define(tagName, RtkIcon);
|
|
42
|
-
}
|
|
43
|
-
break;
|
|
44
|
-
} });
|
|
45
|
-
}
|
|
46
|
-
defineCustomElement();
|
|
47
|
-
|
|
48
|
-
export { RtkIcon as R, defineCustomElement as d };
|