@cloudflare/realtimekit-ui 2.0.4-staging.3 → 2.0.4-staging.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/{breakout-rooms-manager-Bgk5FEK1.js → breakout-rooms-manager-CI4CY88g.js} +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/rtk-ai_3.cjs.entry.js +1 -1
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +1 -1
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +1 -1
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +1 -1
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +1 -1
- package/dist/cjs/rtk-breakout-rooms-manager_8.cjs.entry.js +1 -1
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +1 -1
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +1 -1
- package/dist/cjs/rtk-chat-message.cjs.entry.js +1 -1
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +1 -1
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +1 -1
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +1 -1
- package/dist/cjs/rtk-controlbar.cjs.entry.js +1 -1
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +1 -1
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +1 -1
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +1 -1
- package/dist/cjs/rtk-header.cjs.entry.js +1 -1
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +1 -1
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +1 -1
- package/dist/cjs/rtk-logo.cjs.entry.js +1 -1
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +1 -1
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +1 -1
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +1 -1
- package/dist/cjs/rtk-notifications.cjs.entry.js +1 -1
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +1 -1
- package/dist/cjs/rtk-participant_2.cjs.entry.js +1 -1
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +1 -1
- package/dist/cjs/rtk-participants.cjs.entry.js +1 -1
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +1 -1
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-transcripts.cjs.entry.js +1 -1
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +1 -1
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +1 -1
- package/dist/collection/utils/breakout-rooms-manager.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-ByPpyWt6.js → p-5quurE-Z.js} +1 -1
- package/dist/components/{p-Bux-kSlP.js → p-B3XpiAaE.js} +1 -1
- package/dist/components/{p-pcKO_EeI.js → p-B4Ap4n7a.js} +1 -1
- package/dist/components/{p-vqPkhXWC.js → p-B5XTxQov.js} +1 -1
- package/dist/components/{p-93ZUKlQ1.js → p-BD2FfUwc.js} +1 -1
- package/dist/components/{p-CAsupO2z.js → p-BL_lNnwE.js} +1 -1
- package/dist/components/{p-DnOzzBR9.js → p-BODcekJl.js} +1 -1
- package/dist/components/{p-CHh7GAdL.js → p-BVwe7Wfq.js} +1 -1
- package/dist/components/{p--CEA0NQj.js → p-BW3eEJGd.js} +1 -1
- package/dist/components/{p-Bf-vQ6U9.js → p-BYNelMao.js} +1 -1
- package/dist/components/{p-DnkJztTd.js → p-BueZc6Xo.js} +1 -1
- package/dist/components/{p-y_feb08f.js → p-Bw12zqoT.js} +1 -1
- package/dist/components/{p--VK1POSX.js → p-CBGt9ESN.js} +1 -1
- package/dist/components/{p-D_AEDHUV.js → p-CGBdi6J9.js} +1 -1
- package/dist/components/{p-C0ESgBoj.js → p-CPnv0ZqZ.js} +1 -1
- package/dist/components/{p-BXHUa6x_.js → p-CRI4EXkA.js} +1 -1
- package/dist/components/{p-BY_rxRub.js → p-CgQKQwo8.js} +1 -1
- package/dist/components/{p-CuRSxmeD.js → p-CxE6v80l.js} +1 -1
- package/dist/components/{p-Ryaxu6vl.js → p-D3fF-6sB.js} +1 -1
- package/dist/components/{p-VHRH6fkb.js → p-D6Vrf7V1.js} +1 -1
- package/dist/components/p-D9EtbXLL.js +1 -0
- package/dist/components/{p-CU7xL-hP.js → p-DRDGwBZ3.js} +1 -1
- package/dist/components/{p-Bn6JMUc9.js → p-DhkCjo6N.js} +1 -1
- package/dist/components/{p-CMyYEHgz.js → p-Djf3ZrmN.js} +1 -1
- package/dist/components/{p-BbE6o8zj.js → p-LohuIsNV.js} +1 -1
- package/dist/components/{p-DZcwJOUW.js → p-hPdGZ_Bf.js} +1 -1
- package/dist/components/{p-BQJoMtIK.js → p-igDs79FY.js} +1 -1
- package/dist/components/{p-CBWhDYEo.js → p-iyI_rAph.js} +1 -1
- package/dist/components/{p-Bf-HIBwL.js → p-oJLPa1F-.js} +1 -1
- package/dist/components/{p-gixOLeKl.js → p-tZ9CpAsl.js} +1 -1
- package/dist/components/{p-DhG2PF_5.js → p-ukr4mPVB.js} +1 -1
- package/dist/components/{p-DdSpe6Sb.js → p-xKvr8ufu.js} +1 -1
- package/dist/components/{p-E1D1eNFh.js → p-xnw0dG3-.js} +1 -1
- package/dist/components/rtk-audio-grid.js +1 -1
- package/dist/components/rtk-audio-tile.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-caption-toggle.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +1 -1
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-header.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat-selector-ui.js +1 -1
- package/dist/components/rtk-chat-selector.js +1 -1
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-controlbar.js +1 -1
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-ended-screen.js +1 -1
- package/dist/components/rtk-file-dropzone.js +1 -1
- package/dist/components/rtk-file-message-view.js +1 -1
- package/dist/components/rtk-file-picker-button.js +1 -1
- package/dist/components/rtk-grid.js +1 -1
- package/dist/components/rtk-header.js +1 -1
- package/dist/components/rtk-idle-screen.js +1 -1
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-information-tooltip.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-meeting.js +1 -1
- package/dist/components/rtk-message-list-view.js +1 -1
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mute-all-button.js +1 -1
- package/dist/components/rtk-network-indicator.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-participant-setup.js +1 -1
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +1 -1
- package/dist/components/rtk-pip-toggle.js +1 -1
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +1 -1
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +1 -1
- package/dist/components/rtk-stage-toggle.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-transcripts.js +1 -1
- package/dist/components/rtk-ui-provider.js +1 -1
- package/dist/components/rtk-waiting-screen.js +1 -1
- package/dist/docs/docs-components.json +1 -1
- package/dist/esm/{breakout-rooms-manager-B1Qky9zO.js → breakout-rooms-manager-DOKq3YH6.js} +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -0
- package/dist/esm/rtk-ai_3.entry.js +1 -1
- package/dist/esm/rtk-audio-grid.entry.js +1 -1
- package/dist/esm/rtk-audio-tile.entry.js +1 -1
- package/dist/esm/rtk-avatar_26.entry.js +1 -1
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +1 -1
- package/dist/esm/rtk-breakout-rooms-manager_8.entry.js +1 -1
- package/dist/esm/rtk-camera-selector_2.entry.js +1 -1
- package/dist/esm/rtk-caption-toggle.entry.js +1 -1
- package/dist/esm/rtk-chat-composer-ui.entry.js +1 -1
- package/dist/esm/rtk-chat-message.entry.js +1 -1
- package/dist/esm/rtk-chat-messages-ui.entry.js +1 -1
- package/dist/esm/rtk-chat-search-results.entry.js +1 -1
- package/dist/esm/rtk-chat-selector-ui.entry.js +1 -1
- package/dist/esm/rtk-controlbar.entry.js +1 -1
- package/dist/esm/rtk-debugger-audio_4.entry.js +1 -1
- package/dist/esm/rtk-ended-screen.entry.js +1 -1
- package/dist/esm/rtk-file-dropzone.entry.js +1 -1
- package/dist/esm/rtk-header.entry.js +1 -1
- package/dist/esm/rtk-idle-screen.entry.js +1 -1
- package/dist/esm/rtk-information-tooltip.entry.js +1 -1
- package/dist/esm/rtk-livestream-indicator_3.entry.js +1 -1
- package/dist/esm/rtk-logo.entry.js +1 -1
- package/dist/esm/rtk-message-list-view.entry.js +1 -1
- package/dist/esm/rtk-mute-all-button.entry.js +1 -1
- package/dist/esm/rtk-network-indicator.entry.js +1 -1
- package/dist/esm/rtk-notifications.entry.js +1 -1
- package/dist/esm/rtk-participant-setup.entry.js +1 -1
- package/dist/esm/rtk-participant_2.entry.js +1 -1
- package/dist/esm/rtk-participants-stage-list_4.entry.js +1 -1
- package/dist/esm/rtk-participants.entry.js +1 -1
- package/dist/esm/rtk-pip-toggle.entry.js +1 -1
- package/dist/esm/rtk-sidebar-ui.entry.js +1 -1
- package/dist/esm/rtk-stage-toggle.entry.js +1 -1
- package/dist/esm/rtk-transcripts.entry.js +1 -1
- package/dist/esm/rtk-ui-provider.entry.js +1 -1
- package/dist/esm/rtk-waiting-screen.entry.js +1 -1
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-a646f038.entry.js → p-0742c744.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-09ce95b2.entry.js → p-1b3ffb5e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b27db286.entry.js → p-1f144efb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c6f6afcd.entry.js → p-2715643b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-01c014e4.entry.js → p-29ab5d68.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ac79ef88.entry.js → p-439c8ce4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4a7927d1.entry.js +1 -0
- package/dist/realtimekit-ui/{p-56df9c19.entry.js → p-4f3e5cb4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-401b9ed3.entry.js → p-5093081b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-20734a3a.entry.js → p-52e797c1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d9c7c4d8.entry.js → p-55ba62c3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-de4ecd17.entry.js → p-5e3931a3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e38967d0.entry.js → p-661b7281.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-23e14ccd.entry.js → p-6cc9da9f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b46d416b.entry.js → p-70de46f0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d4ff2477.entry.js → p-77c92672.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ff89f0f6.entry.js → p-77e9a0cb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6e0f43e4.entry.js → p-8c77aa57.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-27751707.entry.js → p-8e7d8c30.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4bd89bff.entry.js → p-91bcabc0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-815d9724.entry.js → p-9913c4ca.entry.js} +1 -1
- package/dist/realtimekit-ui/p-D9EtbXLL.js +1 -0
- package/dist/realtimekit-ui/{p-47abb821.entry.js → p-a6ec2863.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-80b42139.entry.js → p-b16313e9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4ed011a1.entry.js → p-b918e87c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-dc7a28a6.entry.js → p-bac3c4fb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-21f69c50.entry.js → p-c317b4a0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bcc42454.entry.js → p-d003eb81.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bcc20509.entry.js → p-d51ab494.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4add313e.entry.js → p-da2e626e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ba7fb049.entry.js → p-e7a4954c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e347e0d8.entry.js → p-ebdece22.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e8e6a1c8.entry.js → p-ee65922b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-da9c7efe.entry.js → p-ef030197.entry.js} +1 -1
- package/dist/realtimekit-ui/p-f27494e7.entry.js +1 -0
- package/dist/realtimekit-ui/{p-ce81ffaa.entry.js → p-f33e4112.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-61032e04.entry.js → p-fa84f55a.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-DxDYE5-a.js +0 -1
- package/dist/realtimekit-ui/p-DxDYE5-a.js +0 -1
- package/dist/realtimekit-ui/p-bf54cdd9.entry.js +0 -1
- package/dist/realtimekit-ui/p-cd5069ea.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as r,d as s,t as o}from"./p-BBHQOrFK.js";import"./p-
|
|
1
|
+
import{p as t,H as e,h as r,d as s,t as o}from"./p-BBHQOrFK.js";import"./p-D9EtbXLL.js";import"./p-C0vp-Q7v.js";import{e as i,i as a}from"./p-DhwysA2e.js";import"./p-Dguuxuf6.js";import{S as n}from"./p-bRRQr4xn.js";import{g as d,a as c,b as l,c as b}from"./p-BcCYogfR.js";var g=function(t,e,r,s){var o,i=arguments.length,a=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=i,this.t=a(),this.isNetworkOpen=!0,this.isDevicesOpen=!1,this.videoProducerFormattedStats=[],this.videoProducerScoreStats=null,this.networkBasedMediaHealth=null,this.devicesHealth=null,this.mediaScoreUpdateListener=({kind:t,isScreenshare:e,scoreStats:r})=>{"video"!==t||e||(this.videoProducerScoreStats=r)},this.deviceListUpdateListener=async()=>{const t=await this.meeting.self.getVideoDevices();this.devicesHealth=(null==t?void 0:t.length)>0?"Good":"Poor"},this.videoUpdateListener=()=>{this.meeting.self.videoEnabled||(this.videoProducerScoreStats=null)}}async videoProducerScoreStatsChanged(t){if(!t)return void(this.videoProducerFormattedStats=[]);const e=t,r=[];r.push({name:this.t("debugger.stats.cpu_limitations.label"),value:e.cpuLimitations?"Yes":"No",description:this.t("debugger.stats.cpu_limitations.description"),verdict:e.cpuLimitations?"Poor":"Good"}),r.push({name:this.t("debugger.stats.bandwidth_limitations.label"),value:e.bandwidthLimitations?"Yes":"No",description:this.t("debugger.stats.bandwidth_limitations.description"),verdict:e.bandwidthLimitations?"Poor":"Good"}),r.push({name:this.t("debugger.stats.bitrate.label"),value:`${Math.round(e.bitrate/1024)} kbps`,description:this.t("debugger.stats.bitrate.description"),verdict:d({bitrate:e.bitrate})}),r.push({name:this.t("debugger.stats.packet_loss.label"),value:`${e.packetsLostPercentage}%`,description:this.t("debugger.stats.packet_loss.description"),verdict:c({packetLossPercentage:e.packetsLostPercentage})}),r.push({name:this.t("debugger.stats.jitter.label"),value:`${Math.round(1e3*e.jitter)} ms`,description:this.t("debugger.stats.jitter.description"),verdict:l({jitterInMS:1e3*e.jitter})}),this.videoProducerFormattedStats=r,this.networkBasedMediaHealth=b({stats:r})}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&(this.meeting.self.off("mediaScoreUpdate",this.mediaScoreUpdateListener),this.meeting.self.off("videoUpdate",this.videoUpdateListener),this.meeting.self.off("deviceListUpdate",this.deviceListUpdateListener))}async meetingChanged(t){t&&(t.self.on("mediaScoreUpdate",this.mediaScoreUpdateListener),t.self.on("videoUpdate",this.videoUpdateListener),t.self.on("deviceListUpdate",this.deviceListUpdateListener),await this.deviceListUpdateListener())}render(){var t,e;if(this.meeting)return r(s,null,r("div",{class:"tab-body"},r("div",{class:"status-container"},r("div",{class:"status-section"},r("div",{class:"section-header "+(this.networkBasedMediaHealth?"":"only-child")},r("span",null,this.t("debugger.video.sections.network_media")),this.networkBasedMediaHealth&&r("span",{class:`status ${null===(t=this.networkBasedMediaHealth)||void 0===t?void 0:t.toLowerCase()}`},this.t(`debugger.quality.${null===(e=this.networkBasedMediaHealth)||void 0===e?void 0:e.toLowerCase()}`))),this.isNetworkOpen&&!this.videoProducerFormattedStats.length&&r("div",{class:"section-body missing-stats"},r("span",null,this.t(this.meeting.self.videoEnabled?"debugger.video.messages.generating_report":"debugger.video.messages.enable_media"))),this.isNetworkOpen&&!!this.videoProducerFormattedStats.length&&r("div",{class:"section-body network-table"},this.videoProducerFormattedStats.map((t=>{var e,s;return r("div",{class:"network-row"},r("div",{class:"network-cell label"},r("strong",null,t.name),r("span",{class:"description"},t.description)),r("div",{class:"network-cell value"},r("span",{class:`status ${null===(e=t.verdict)||void 0===e?void 0:e.toLowerCase()}`},this.t(`debugger.quality.${null===(s=t.verdict)||void 0===s?void 0:s.toLowerCase()}`)),r("span",{class:"value"},t.value)))})))))))}static get watchers(){return{videoProducerScoreStats:[{videoProducerScoreStatsChanged:0}],meeting:[{meetingChanged:0}]}}static get style(){return":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))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;min-height:0px;flex:1 1 0%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-800, 30 30 30));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-800, 30 30 30));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-800, 30 30 30))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-video{display:flex;flex-direction:column}"}},[1,"rtk-debugger-video",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],isNetworkOpen:[32],isDevicesOpen:[32],videoProducerFormattedStats:[32],videoProducerScoreStats:[32],networkBasedMediaHealth:[32],devicesHealth:[32]},void 0,{videoProducerScoreStats:[{videoProducerScoreStatsChanged:0}],meeting:[{meetingChanged:0}]}]);function u(){"undefined"!=typeof customElements&&["rtk-debugger-video"].forEach((t=>{"rtk-debugger-video"===t&&(customElements.get(o(t))||customElements.define(o(t),p))}))}g([n()],p.prototype,"meeting",void 0),g([n()],p.prototype,"states",void 0),g([n()],p.prototype,"iconPack",void 0),g([n()],p.prototype,"t",void 0),u();export{p as R,u as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as i,h as s,t as e}from"./p-BBHQOrFK.js";import"./p-
|
|
1
|
+
import{p as t,H as i,h as s,t as e}from"./p-BBHQOrFK.js";import"./p-D9EtbXLL.js";import{c as r,e as a,i as n}from"./p-DhwysA2e.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as p}from"./p-bRRQr4xn.js";import{d as o}from"./p-BHHJ7_MS.js";import{d as c}from"./p-D6vw6bT2.js";import{d as h}from"./p-BYIBbfJ8.js";import{d as m}from"./p-DMbGWtns.js";import{d as l}from"./p-Z8VMlEx7.js";import{d}from"./p-CBGt9ESN.js";import{d as u}from"./p-B0SC1Zj-.js";import{d as g}from"./p-BbJzI1u1.js";var v=function(t,i,s,e){var r,a=arguments.length,n=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var p=t.length-1;p>=0;p--)(r=t[p])&&(n=(a<3?r(n):a>3?r(i,s,n):r(i,s))||n);return a>3&&n&&Object.defineProperty(i,s,n),n};const f=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.updateStageViewers=()=>{this.getViewers(this.search)},this.config=r(),this.hideHeader=!1,this.iconPack=a,this.view="sidebar",this.search="",this.t=n(),this.stageViewers=[],this.createParticipantNode=t=>s("rtk-participant",{role:"listitem",key:t.id,meeting:this.meeting,participant:t,view:this.view,iconPack:this.iconPack,config:this.config,t:this.t}),this.shouldShowViewers=()=>{var t,i,s;return null===(s=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions)||void 0===s?void 0:s.stageEnabled}}connectedCallback(){this.meetingChanged(this.meeting),this.searchChanged(this.search)}meetingChanged(t){t&&(this.participantJoinedListener=t=>{if("ON_STAGE"===t.stageStatus)return;const i=this.search.toLowerCase();i.length>0&&!t.name.toLowerCase().includes(i)||(this.stageViewers=[...this.stageViewers.filter((i=>i.id!==t.id)),t])},this.participantLeftListener=t=>{this.stageViewers=this.stageViewers.filter((i=>i.id!==t.id))},t.participants.joined.addListener("participantJoined",this.participantJoinedListener),t.participants.joined.addListener("participantLeft",this.participantLeftListener),t.participants.joined.on("stageStatusUpdate",this.updateStageViewers),t.stage.on("stageStatusUpdate",this.updateStageViewers))}searchChanged(t){this.getViewers(t)}disconnectedCallback(){const{participants:t,stage:i}=this.meeting;this.participantJoinedListener&&this.meeting.participants.joined.removeListener("participantJoined",this.participantJoinedListener),this.participantLeftListener&&this.meeting.participants.joined.removeListener("participantLeft",this.participantLeftListener),t.joined.removeListener("stageStatusUpdate",this.updateStageViewers),i.removeListener("stageStatusUpdate",this.updateStageViewers)}getViewers(t){let i="ON_STAGE"===this.meeting.stage.status?[]:[this.meeting.self];i=[...i,...this.meeting.participants.joined.toArray()].filter((t=>"ON_STAGE"!==t.stageStatus)),this.stageViewers=""===t?i:i.filter((i=>{var s;return(null!==(s=i.name)&&void 0!==s?s:i.id).toLowerCase().includes(t.toLowerCase())}))}render(){return this.meeting?"sidebar"===this.view&&this.shouldShowViewers()?s("div",{class:"list"},!this.hideHeader&&s("div",{class:"heading-count",part:"heading-count"},this.t("viewers")," (",this.stageViewers.length,")"),s("rtk-virtualized-participant-list",{items:this.stageViewers,renderItem:this.createParticipantNode,class:"participants",part:"participants",style:{height:"100%"},emptyListElement:s("div",{class:"empty-viewers-list"},this.t(this.search.length>0?"participants.errors.empty_results":"participants.empty_list"))})):void 0:null}static get watchers(){return{meeting:[{meetingChanged:0}],search:[{searchChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;width:100%;flex-direction:column;font-size:14px}.list{margin-bottom:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column}h3,.heading-count{margin:var(--rtk-space-0, 0px);align-items:center;justify-content:center;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}.heading-count{font-size:14px}.participants{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.empty-viewers-list{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}"}},[1,"rtk-participants-viewer-list",{meeting:[16],config:[16],size:[513],hideHeader:[4,"hide-header"],iconPack:[16],view:[1],search:[1],t:[16],stageViewers:[32]},void 0,{meeting:[{meetingChanged:0}],search:[{searchChanged:0}]}]);function k(){"undefined"!=typeof customElements&&["rtk-participants-viewer-list","rtk-avatar","rtk-button","rtk-icon","rtk-menu-item","rtk-menu-list","rtk-participant","rtk-spinner","rtk-virtualized-participant-list"].forEach((t=>{switch(t){case"rtk-participants-viewer-list":customElements.get(e(t))||customElements.define(e(t),f);break;case"rtk-avatar":customElements.get(e(t))||o();break;case"rtk-button":customElements.get(e(t))||c();break;case"rtk-icon":customElements.get(e(t))||h();break;case"rtk-menu-item":customElements.get(e(t))||m();break;case"rtk-menu-list":customElements.get(e(t))||l();break;case"rtk-participant":customElements.get(e(t))||d();break;case"rtk-spinner":customElements.get(e(t))||u();break;case"rtk-virtualized-participant-list":customElements.get(e(t))||g()}}))}v([p()],f.prototype,"meeting",void 0),v([p()],f.prototype,"config",void 0),v([p()],f.prototype,"iconPack",void 0),v([p()],f.prototype,"t",void 0),k();export{f as R,k as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as s,h as i,t as o}from"./p-BBHQOrFK.js";import{S as c}from"./p-bRRQr4xn.js";import"./p-
|
|
1
|
+
import{p as t,H as e,c as s,h as i,t as o}from"./p-BBHQOrFK.js";import{S as c}from"./p-bRRQr4xn.js";import"./p-D9EtbXLL.js";import"./p-C0vp-Q7v.js";import{e as r,i as n}from"./p-DhwysA2e.js";import"./p-Dguuxuf6.js";import{d as a}from"./p-D6vw6bT2.js";import{d as l}from"./p-BYIBbfJ8.js";import{d as f}from"./p-DHSRRtn3.js";var p=function(t,e,s,i){var o,c=arguments.length,r=c<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(c<3?o(r):c>3?o(e,s,r):o(e,s))||r);return c>3&&r&&Object.defineProperty(e,s,r),r};const m=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onFileChange=s(this,"fileChange",7),this.icon="attach",this.iconPack=r,this.t=n(),this.uploadFile=()=>{const t=this.fileInputField;t.type="file",this.filter&&(t.accept=this.filter),t.onchange=t=>{const{validity:e,files:[s]}=t.target;e.valid&&this.onFileChange.emit(s)},t.click()}}connectedCallback(){this.fileInputField=document.createElement("input")}disconnectedCallback(){this.fileInputField=void 0}render(){const t=this.label||this.t("chat.send_file");return i("rtk-tooltip",{key:"329c452b2de6664978946000c6264e823c87830d",label:t},i("rtk-button",{key:"7b6a275ab946ad2aa751c8e36a6c9701f5fa0dab",variant:"ghost",kind:"icon",onClick:()=>this.uploadFile(),title:t},i("rtk-icon",{key:"d3306859b107d0988c24f098db21467787b03afc",icon:this.iconPack[this.icon]})))}static get style(){return":host{}"}},[1,"rtk-file-picker-button",{filter:[1],label:[1],icon:[1],iconPack:[16],t:[16]}]);function b(){"undefined"!=typeof customElements&&["rtk-file-picker-button","rtk-button","rtk-icon","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-file-picker-button":customElements.get(o(t))||customElements.define(o(t),m);break;case"rtk-button":customElements.get(o(t))||a();break;case"rtk-icon":customElements.get(o(t))||l();break;case"rtk-tooltip":customElements.get(o(t))||f()}}))}p([c()],m.prototype,"iconPack",void 0),p([c()],m.prototype,"t",void 0),b();export{m as R,b as d}
|