@arbidocs/blocks 0.5.36 → 0.5.37
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/README.md +22 -0
- package/dist/{ConnectedCallDock-V7DPSE6X.cjs → ConnectedCallDock-2LMIR4ID.cjs} +17 -17
- package/dist/{ConnectedCallDock-V7DPSE6X.cjs.map → ConnectedCallDock-2LMIR4ID.cjs.map} +1 -1
- package/dist/{ConnectedCallDock-CT3D6LLI.js → ConnectedCallDock-2NYM46HU.js} +8 -8
- package/dist/{ConnectedCallDock-CT3D6LLI.js.map → ConnectedCallDock-2NYM46HU.js.map} +1 -1
- package/dist/{ConnectedCallRoom-TNOCSTX2.cjs → ConnectedCallRoom-26PBMTCC.cjs} +9 -9
- package/dist/{ConnectedCallRoom-TNOCSTX2.cjs.map → ConnectedCallRoom-26PBMTCC.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-A27AM7IQ.js → ConnectedCallRoom-QJ2UV6GV.js} +8 -8
- package/dist/{ConnectedCallRoom-A27AM7IQ.js.map → ConnectedCallRoom-QJ2UV6GV.js.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-H2OZMWHT.cjs → ConnectedNativeDocxComparison-5MN7PVRE.cjs} +13 -13
- package/dist/{ConnectedNativeDocxComparison-H2OZMWHT.cjs.map → ConnectedNativeDocxComparison-5MN7PVRE.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-RWKFPJPJ.js → ConnectedNativeDocxComparison-GHOEFJUN.js} +12 -12
- package/dist/{ConnectedNativeDocxComparison-RWKFPJPJ.js.map → ConnectedNativeDocxComparison-GHOEFJUN.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-43BI5LN6.js → ConnectedNativeDocxEditor-HWPSWU2A.js} +11 -11
- package/dist/{ConnectedNativeDocxEditor-43BI5LN6.js.map → ConnectedNativeDocxEditor-HWPSWU2A.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-6DQEM6SD.cjs → ConnectedNativeDocxEditor-VA7476NF.cjs} +13 -13
- package/dist/{ConnectedNativeDocxEditor-6DQEM6SD.cjs.map → ConnectedNativeDocxEditor-VA7476NF.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-TEB332E3.js → ConnectedStreamedWordArtifact-KZUZB47X.js} +12 -12
- package/dist/ConnectedStreamedWordArtifact-KZUZB47X.js.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-3VKYIG6C.cjs → ConnectedStreamedWordArtifact-UMSTUZBY.cjs} +13 -13
- package/dist/ConnectedStreamedWordArtifact-UMSTUZBY.cjs.map +1 -0
- package/dist/{WorkspaceTableView-ATZHON74.cjs → WorkspaceTableView-DYXHUIRA.cjs} +9 -9
- package/dist/{WorkspaceTableView-ATZHON74.cjs.map → WorkspaceTableView-DYXHUIRA.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-7APDRIPL.js → WorkspaceTableView-HXSBJY42.js} +7 -7
- package/dist/{WorkspaceTableView-7APDRIPL.js.map → WorkspaceTableView-HXSBJY42.js.map} +1 -1
- package/dist/agents/index.cjs +401 -401
- package/dist/agents/index.js +10 -10
- package/dist/calls/index.cjs +131 -131
- package/dist/calls/index.js +9 -9
- package/dist/chat/index.cjs +81 -81
- package/dist/chat/index.js +3 -3
- package/dist/{chunk-NUV5F6MM.js → chunk-2VEBUYEJ.js} +3 -3
- package/dist/{chunk-NUV5F6MM.js.map → chunk-2VEBUYEJ.js.map} +1 -1
- package/dist/{chunk-EGSSLWNZ.cjs → chunk-32ZIHUXE.cjs} +3 -3
- package/dist/{chunk-EGSSLWNZ.cjs.map → chunk-32ZIHUXE.cjs.map} +1 -1
- package/dist/{chunk-24H5WTGM.js → chunk-3ON5DJLR.js} +4 -4
- package/dist/{chunk-24H5WTGM.js.map → chunk-3ON5DJLR.js.map} +1 -1
- package/dist/{chunk-6EQSP77K.cjs → chunk-7P2IL7RX.cjs} +5 -5
- package/dist/{chunk-6EQSP77K.cjs.map → chunk-7P2IL7RX.cjs.map} +1 -1
- package/dist/{chunk-LNYEYR7W.cjs → chunk-7W7TPWSZ.cjs} +3 -3
- package/dist/{chunk-LNYEYR7W.cjs.map → chunk-7W7TPWSZ.cjs.map} +1 -1
- package/dist/{chunk-EFSL4O3B.cjs → chunk-ABKRLMWN.cjs} +5 -5
- package/dist/{chunk-EFSL4O3B.cjs.map → chunk-ABKRLMWN.cjs.map} +1 -1
- package/dist/{chunk-YPR4FSDJ.js → chunk-APPHGHMM.js} +3 -3
- package/dist/{chunk-YPR4FSDJ.js.map → chunk-APPHGHMM.js.map} +1 -1
- package/dist/{chunk-AL7EXOX5.js → chunk-CXY2ELL5.js} +3 -3
- package/dist/{chunk-AL7EXOX5.js.map → chunk-CXY2ELL5.js.map} +1 -1
- package/dist/{chunk-2C3I27VI.js → chunk-EHRT5M5F.js} +3 -3
- package/dist/{chunk-2C3I27VI.js.map → chunk-EHRT5M5F.js.map} +1 -1
- package/dist/{chunk-3ZLNI7ZA.cjs → chunk-EZJOJFY2.cjs} +3 -3
- package/dist/{chunk-3ZLNI7ZA.cjs.map → chunk-EZJOJFY2.cjs.map} +1 -1
- package/dist/{chunk-PRY52BW5.js → chunk-GI5ITZ53.js} +4 -4
- package/dist/{chunk-PRY52BW5.js.map → chunk-GI5ITZ53.js.map} +1 -1
- package/dist/{chunk-RBHVIVWP.js → chunk-GMECFWVT.js} +81 -81
- package/dist/chunk-GMECFWVT.js.map +1 -0
- package/dist/{chunk-S3YRRD54.js → chunk-GMZ2XFQQ.js} +3 -3
- package/dist/{chunk-S3YRRD54.js.map → chunk-GMZ2XFQQ.js.map} +1 -1
- package/dist/{chunk-VMLEISRZ.cjs → chunk-H3JKC55K.cjs} +9 -9
- package/dist/{chunk-VMLEISRZ.cjs.map → chunk-H3JKC55K.cjs.map} +1 -1
- package/dist/{chunk-FHB4G77H.js → chunk-IC2BXIUT.js} +3 -3
- package/dist/{chunk-FHB4G77H.js.map → chunk-IC2BXIUT.js.map} +1 -1
- package/dist/{chunk-PUX4M22Q.cjs → chunk-IYW6Q33D.cjs} +50 -50
- package/dist/{chunk-PUX4M22Q.cjs.map → chunk-IYW6Q33D.cjs.map} +1 -1
- package/dist/{chunk-4DKI37QQ.js → chunk-JYASRZUQ.js} +7 -7
- package/dist/{chunk-4DKI37QQ.js.map → chunk-JYASRZUQ.js.map} +1 -1
- package/dist/{chunk-G4VUVOHZ.cjs → chunk-K7OF4KGP.cjs} +82 -82
- package/dist/chunk-K7OF4KGP.cjs.map +1 -0
- package/dist/{chunk-Q7BS7EOU.cjs → chunk-KFQ6E6LE.cjs} +32 -28
- package/dist/chunk-KFQ6E6LE.cjs.map +1 -0
- package/dist/{chunk-N3HVTMQK.js → chunk-L7IBURSP.js} +3 -3
- package/dist/{chunk-N3HVTMQK.js.map → chunk-L7IBURSP.js.map} +1 -1
- package/dist/{chunk-FEVJA4BP.cjs → chunk-LPGFODB4.cjs} +3 -3
- package/dist/{chunk-FEVJA4BP.cjs.map → chunk-LPGFODB4.cjs.map} +1 -1
- package/dist/{chunk-VKY4SQMH.js → chunk-LXF22VRI.js} +4 -4
- package/dist/{chunk-VKY4SQMH.js.map → chunk-LXF22VRI.js.map} +1 -1
- package/dist/{chunk-XFSEPGF7.cjs → chunk-ME3R44JN.cjs} +4 -4
- package/dist/{chunk-XFSEPGF7.cjs.map → chunk-ME3R44JN.cjs.map} +1 -1
- package/dist/{chunk-P6MVDOCL.js → chunk-MJYGHJ4Y.js} +3 -3
- package/dist/{chunk-P6MVDOCL.js.map → chunk-MJYGHJ4Y.js.map} +1 -1
- package/dist/{chunk-WALADS2S.cjs → chunk-N2SUDWY2.cjs} +3 -3
- package/dist/{chunk-WALADS2S.cjs.map → chunk-N2SUDWY2.cjs.map} +1 -1
- package/dist/{chunk-ICCBNHPU.js → chunk-NNUNS47F.js} +3 -3
- package/dist/{chunk-ICCBNHPU.js.map → chunk-NNUNS47F.js.map} +1 -1
- package/dist/{chunk-NOKTUWTN.cjs → chunk-OJTXFIXU.cjs} +4 -4
- package/dist/{chunk-NOKTUWTN.cjs.map → chunk-OJTXFIXU.cjs.map} +1 -1
- package/dist/{chunk-QFYRXQTD.js → chunk-ORBXJ4IT.js} +3 -3
- package/dist/{chunk-QFYRXQTD.js.map → chunk-ORBXJ4IT.js.map} +1 -1
- package/dist/{chunk-5NTSJV5H.cjs → chunk-OXIGJYMO.cjs} +3 -3
- package/dist/{chunk-5NTSJV5H.cjs.map → chunk-OXIGJYMO.cjs.map} +1 -1
- package/dist/{chunk-XHW35TC7.js → chunk-PPHUOWCJ.js} +33 -29
- package/dist/chunk-PPHUOWCJ.js.map +1 -0
- package/dist/{chunk-H5BFOVVL.cjs → chunk-RVCQE66I.cjs} +5 -5
- package/dist/{chunk-H5BFOVVL.cjs.map → chunk-RVCQE66I.cjs.map} +1 -1
- package/dist/{chunk-7CHI36EP.js → chunk-T7O73MX2.js} +5 -5
- package/dist/{chunk-7CHI36EP.js.map → chunk-T7O73MX2.js.map} +1 -1
- package/dist/{chunk-JKMV4QNV.cjs → chunk-U7IEC2EM.cjs} +74 -74
- package/dist/{chunk-JKMV4QNV.cjs.map → chunk-U7IEC2EM.cjs.map} +1 -1
- package/dist/{chunk-FY4C7HU5.cjs → chunk-UCCYCT3R.cjs} +16 -16
- package/dist/{chunk-FY4C7HU5.cjs.map → chunk-UCCYCT3R.cjs.map} +1 -1
- package/dist/{chunk-RH4XIABH.js → chunk-UHYO2E25.js} +3 -3
- package/dist/{chunk-RH4XIABH.js.map → chunk-UHYO2E25.js.map} +1 -1
- package/dist/{chunk-2QDNQM63.cjs → chunk-UKG4DDLI.cjs} +10 -10
- package/dist/{chunk-2QDNQM63.cjs.map → chunk-UKG4DDLI.cjs.map} +1 -1
- package/dist/{chunk-VPWCARVO.js → chunk-VP5TGUBY.js} +5 -5
- package/dist/{chunk-VPWCARVO.js.map → chunk-VP5TGUBY.js.map} +1 -1
- package/dist/{chunk-MLHOG7YH.js → chunk-VWX5UECZ.js} +3 -3
- package/dist/{chunk-MLHOG7YH.js.map → chunk-VWX5UECZ.js.map} +1 -1
- package/dist/{chunk-H6K7EWL2.cjs → chunk-WDMWWBPB.cjs} +7 -7
- package/dist/{chunk-H6K7EWL2.cjs.map → chunk-WDMWWBPB.cjs.map} +1 -1
- package/dist/{chunk-BIWPXSGS.cjs → chunk-YRWMYVHU.cjs} +20 -20
- package/dist/{chunk-BIWPXSGS.cjs.map → chunk-YRWMYVHU.cjs.map} +1 -1
- package/dist/{chunk-EZSYYENN.js → chunk-ZXU2TKUV.js} +6 -6
- package/dist/{chunk-EZSYYENN.js.map → chunk-ZXU2TKUV.js.map} +1 -1
- package/dist/{chunk-BRYRZOS3.cjs → chunk-ZZ76AUGX.cjs} +4 -4
- package/dist/{chunk-BRYRZOS3.cjs.map → chunk-ZZ76AUGX.cjs.map} +1 -1
- package/dist/collaboration/index.cjs +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/connect/docx.cjs +15 -15
- package/dist/connect/docx.js +11 -11
- package/dist/connect/index.cjs +2866 -2606
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +1 -0
- package/dist/connect/index.js +2090 -1832
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +63 -63
- package/dist/connect/viewer.js +16 -16
- package/dist/connection/workspace-form/ConnectedProjectSelector.d.ts +15 -0
- package/dist/connection/workspace-form/ConnectedWorkspaceFormModal.d.ts +11 -0
- package/dist/connection/workspace-form/WorkspaceCreateForm.d.ts +15 -0
- package/dist/connection/workspace-form/index.d.ts +3 -0
- package/dist/connection/workspace-form/types.d.ts +28 -0
- package/dist/connection/workspace-list/ConnectedWorkspaceList.d.ts +4 -1
- package/dist/connection/workspace-list/useConnectedWorkspaceList.d.ts +12 -36
- package/dist/facts/index.cjs +2 -2
- package/dist/facts/index.js +2 -2
- package/dist/files/index.cjs +223 -223
- package/dist/files/index.js +3 -3
- package/dist/home/index.cjs +29 -29
- package/dist/home/index.js +4 -4
- package/dist/index.cjs +1656 -1656
- package/dist/index.js +22 -22
- package/dist/settings/index.cjs +156 -156
- package/dist/settings/index.js +3 -3
- package/dist/shell/index.cjs +72 -72
- package/dist/shell/index.js +4 -4
- package/dist/studio/index.cjs +8 -8
- package/dist/studio/index.js +7 -7
- package/dist/workflow-canvas/index.cjs +23 -23
- package/dist/workflow-canvas/index.js +10 -10
- package/dist/workspaces/WorkspaceFormParts.d.ts +3 -2
- package/dist/workspaces/index.cjs +27 -27
- package/dist/workspaces/index.js +2 -2
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-3VKYIG6C.cjs.map +0 -1
- package/dist/ConnectedStreamedWordArtifact-TEB332E3.js.map +0 -1
- package/dist/chunk-G4VUVOHZ.cjs.map +0 -1
- package/dist/chunk-Q7BS7EOU.cjs.map +0 -1
- package/dist/chunk-RBHVIVWP.js.map +0 -1
- package/dist/chunk-XHW35TC7.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunk7W7TPWSZ_cjs = require('./chunk-7W7TPWSZ.cjs');
|
|
5
|
+
var chunk32ZIHUXE_cjs = require('./chunk-32ZIHUXE.cjs');
|
|
6
6
|
var chunkNXHETIOB_cjs = require('./chunk-NXHETIOB.cjs');
|
|
7
7
|
var chunkB3NYBMDR_cjs = require('./chunk-B3NYBMDR.cjs');
|
|
8
8
|
var react$1 = require('react');
|
|
@@ -21,7 +21,7 @@ function TranscriptionToggle({
|
|
|
21
21
|
if (!available || !canToggle) return null;
|
|
22
22
|
const label = on ? "Stop transcription" : "Transcribe the call";
|
|
23
23
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
24
|
-
|
|
24
|
+
chunk32ZIHUXE_cjs.CallControlButton,
|
|
25
25
|
{
|
|
26
26
|
label,
|
|
27
27
|
shortcut: "C",
|
|
@@ -52,7 +52,7 @@ function TranscriptionIndicator({
|
|
|
52
52
|
}, [setIndicatorShown]);
|
|
53
53
|
const by = startedByMe ? "you" : startedByName || "a participant";
|
|
54
54
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
55
|
-
|
|
55
|
+
chunk32ZIHUXE_cjs.TranscriptionStatusChip,
|
|
56
56
|
{
|
|
57
57
|
sentence: `Transcription on \u2014 started by ${by}`,
|
|
58
58
|
short: muted ? "Transcribing \xB7 you are muted" : "Transcribing",
|
|
@@ -85,7 +85,7 @@ function CaptionsOverlay({
|
|
|
85
85
|
})),
|
|
86
86
|
[captions]
|
|
87
87
|
);
|
|
88
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
88
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CaptionsStrip, { captions: entries, reserve, className });
|
|
89
89
|
}
|
|
90
90
|
function TranscriptionSender({ transcription }) {
|
|
91
91
|
const { isMicrophoneEnabled, microphoneTrack } = componentsReact.useLocalParticipant();
|
|
@@ -111,7 +111,7 @@ function RecordingControl({
|
|
|
111
111
|
const canHost = react.useIsEntitled("host_calls");
|
|
112
112
|
if (!available || !canControl || !on && !canHost) return null;
|
|
113
113
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
114
|
-
|
|
114
|
+
chunk32ZIHUXE_cjs.RecordControl,
|
|
115
115
|
{
|
|
116
116
|
on,
|
|
117
117
|
busy,
|
|
@@ -119,13 +119,13 @@ function RecordingControl({
|
|
|
119
119
|
modes: [
|
|
120
120
|
{
|
|
121
121
|
mode: "audio",
|
|
122
|
-
label:
|
|
122
|
+
label: chunk32ZIHUXE_cjs.MODE_LABEL.audio,
|
|
123
123
|
description: "Everyone\u2019s microphone, one track each",
|
|
124
124
|
testId: "recording-mode-audio"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
mode: "audio_video",
|
|
128
|
-
label:
|
|
128
|
+
label: chunk32ZIHUXE_cjs.MODE_LABEL.audio_video,
|
|
129
129
|
description: "Plus a video of your view of the call",
|
|
130
130
|
testId: "recording-mode-video"
|
|
131
131
|
}
|
|
@@ -175,9 +175,9 @@ function RecordingIndicator({
|
|
|
175
175
|
}, [setIndicatorShown]);
|
|
176
176
|
const by = startedByMe ? "you" : startedByName || "the host";
|
|
177
177
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
178
|
-
|
|
178
|
+
chunk32ZIHUXE_cjs.RecordingStatusChip,
|
|
179
179
|
{
|
|
180
|
-
sentence: `Recording${mode ? ` (${
|
|
180
|
+
sentence: `Recording${mode ? ` (${chunk32ZIHUXE_cjs.MODE_LABEL[mode]})` : ""} \u2014 started by ${by}`,
|
|
181
181
|
compact,
|
|
182
182
|
announce,
|
|
183
183
|
onAnnounced,
|
|
@@ -245,7 +245,7 @@ function CompositeRecorder({
|
|
|
245
245
|
if (!uploader || !stage) return;
|
|
246
246
|
let capture;
|
|
247
247
|
try {
|
|
248
|
-
capture =
|
|
248
|
+
capture = chunk32ZIHUXE_cjs.startCompositeCapture(stage);
|
|
249
249
|
} catch (err) {
|
|
250
250
|
console.warn("[calls] cannot record the composite", err);
|
|
251
251
|
notify("This browser cannot record the call video; audio is still recorded.", "warning");
|
|
@@ -298,9 +298,9 @@ function RoomMediaControl({
|
|
|
298
298
|
const { devices, activeDeviceId, setActiveMediaDevice } = componentsReact.useMediaDeviceSelect({
|
|
299
299
|
kind: mic ? "audioinput" : "videoinput"
|
|
300
300
|
});
|
|
301
|
-
const [mirror, setMirror] =
|
|
301
|
+
const [mirror, setMirror] = chunk32ZIHUXE_cjs.useMirrorSelfView();
|
|
302
302
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
303
|
-
|
|
303
|
+
chunk32ZIHUXE_cjs.MediaControl,
|
|
304
304
|
{
|
|
305
305
|
kind: mic ? "microphone" : "camera",
|
|
306
306
|
enabled,
|
|
@@ -454,15 +454,15 @@ function CallControls({
|
|
|
454
454
|
] : []
|
|
455
455
|
];
|
|
456
456
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
457
|
-
|
|
457
|
+
chunk32ZIHUXE_cjs.CallControlBar,
|
|
458
458
|
{
|
|
459
459
|
shortcuts,
|
|
460
460
|
left: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
461
|
-
full && /* @__PURE__ */ jsxRuntime.jsx(
|
|
461
|
+
full && /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.ElapsedTime, { since: startedAt, title: "Time in this call" }),
|
|
462
462
|
/* @__PURE__ */ jsxRuntime.jsx(EnableAudioButton, { compact: !full })
|
|
463
463
|
] }),
|
|
464
464
|
right: /* @__PURE__ */ jsxRuntime.jsx(
|
|
465
|
-
|
|
465
|
+
chunk32ZIHUXE_cjs.LeaveButton,
|
|
466
466
|
{
|
|
467
467
|
compact: !full,
|
|
468
468
|
onLeave: () => void room.disconnect(),
|
|
@@ -470,15 +470,15 @@ function CallControls({
|
|
|
470
470
|
}
|
|
471
471
|
),
|
|
472
472
|
children: [
|
|
473
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
473
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk32ZIHUXE_cjs.ControlGroup, { children: [
|
|
474
474
|
/* @__PURE__ */ jsxRuntime.jsx(RoomMediaControl, { source: livekitClient.Track.Source.Microphone, shortcut: "M", testId: "call-mic-toggle" }),
|
|
475
475
|
/* @__PURE__ */ jsxRuntime.jsx(RoomMediaControl, { source: livekitClient.Track.Source.Camera, shortcut: "V", testId: "call-camera-toggle" })
|
|
476
476
|
] }),
|
|
477
477
|
!tiny && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
478
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
479
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
478
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.ControlDivider, {}),
|
|
479
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk32ZIHUXE_cjs.ControlGroup, { children: [
|
|
480
480
|
full && /* @__PURE__ */ jsxRuntime.jsx(
|
|
481
|
-
|
|
481
|
+
chunk32ZIHUXE_cjs.CallControlButton,
|
|
482
482
|
{
|
|
483
483
|
label: share.enabled ? "Stop sharing" : "Share your screen",
|
|
484
484
|
tone: share.enabled ? "active" : "neutral",
|
|
@@ -494,7 +494,7 @@ function CallControls({
|
|
|
494
494
|
] })
|
|
495
495
|
] }),
|
|
496
496
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
497
|
-
|
|
497
|
+
chunk32ZIHUXE_cjs.MoreMenu,
|
|
498
498
|
{
|
|
499
499
|
details: experimental ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
500
500
|
"span",
|
|
@@ -522,13 +522,13 @@ function WebinarChat({ chat }) {
|
|
|
522
522
|
end.current?.scrollIntoView?.({ block: "end" });
|
|
523
523
|
}, [count]);
|
|
524
524
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "webinar-chat", children: [
|
|
525
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
526
|
-
count === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
525
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk7W7TPWSZ_cjs.MessageListRoot, { className: "min-h-0 flex-1 overflow-y-auto py-2", testId: "webinar-chat-list", children: [
|
|
526
|
+
count === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunk7W7TPWSZ_cjs.MessageListEmpty, { className: "h-32 text-sm", children: "No messages yet." }) : chat.lines.map((line, i) => {
|
|
527
527
|
const startsRun = !line.mine && chat.lines[i - 1]?.senderIdentity !== line.senderIdentity;
|
|
528
528
|
const id = `${line.senderIdentity}-${line.id}`;
|
|
529
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
530
|
-
startsRun && /* @__PURE__ */ jsxRuntime.jsx(
|
|
531
|
-
|
|
529
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk7W7TPWSZ_cjs.MessageRoot, { role: "user", messageId: id, className: "px-3", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk7W7TPWSZ_cjs.MessageContent, { role: "user", messageId: id, align: line.mine ? "end" : "start", children: [
|
|
530
|
+
startsRun && /* @__PURE__ */ jsxRuntime.jsx(chunk7W7TPWSZ_cjs.MessageAuthor, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
531
|
+
chunk32ZIHUXE_cjs.CallUserPill,
|
|
532
532
|
{
|
|
533
533
|
identity: line.senderIdentity,
|
|
534
534
|
name: line.senderName,
|
|
@@ -536,12 +536,12 @@ function WebinarChat({ chat }) {
|
|
|
536
536
|
}
|
|
537
537
|
) }),
|
|
538
538
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
539
|
-
|
|
539
|
+
chunk7W7TPWSZ_cjs.MessageBubble,
|
|
540
540
|
{
|
|
541
541
|
role: "user",
|
|
542
542
|
messageId: id,
|
|
543
543
|
className: line.mine ? void 0 : "border border-border bg-card",
|
|
544
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
544
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunk7W7TPWSZ_cjs.MessageBody, { messageId: id, className: "whitespace-pre-wrap text-sm", children: line.text })
|
|
545
545
|
}
|
|
546
546
|
)
|
|
547
547
|
] }) }, id);
|
|
@@ -549,7 +549,7 @@ function WebinarChat({ chat }) {
|
|
|
549
549
|
/* @__PURE__ */ jsxRuntime.jsx("div", { ref: end })
|
|
550
550
|
] }),
|
|
551
551
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0 border-t border-border p-3", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
552
|
-
|
|
552
|
+
chunk32ZIHUXE_cjs.PanelComposer,
|
|
553
553
|
{
|
|
554
554
|
placeholder: "Message everyone",
|
|
555
555
|
ariaLabel: "Message everyone",
|
|
@@ -599,19 +599,19 @@ function WebinarQA({ webinar }) {
|
|
|
599
599
|
body: q.text,
|
|
600
600
|
status: q.status,
|
|
601
601
|
answer: q.answerText,
|
|
602
|
-
answeredBy: q.answered_by_ext_id ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
602
|
+
answeredBy: q.answered_by_ext_id ? /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CallUserPill, { identity: q.answered_by_ext_id }) : void 0,
|
|
603
603
|
voteCount: q.vote_count,
|
|
604
604
|
voted: q.voted,
|
|
605
605
|
mine: q.mine,
|
|
606
606
|
createdAt: q.created_at,
|
|
607
607
|
// Who asked is hidden from attendees (another attendee's question): "Attendee".
|
|
608
608
|
askerName: q.asker_ext_id ? "" : null,
|
|
609
|
-
asker: q.asker_ext_id ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
609
|
+
asker: q.asker_ext_id ? /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CallUserPill, { identity: q.asker_ext_id }) : void 0
|
|
610
610
|
})),
|
|
611
611
|
[webinar.questions]
|
|
612
612
|
);
|
|
613
613
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
614
|
-
|
|
614
|
+
chunk32ZIHUXE_cjs.QAPanel,
|
|
615
615
|
{
|
|
616
616
|
questions,
|
|
617
617
|
team: webinar.team,
|
|
@@ -631,14 +631,14 @@ function WebinarAudience({ webinar }) {
|
|
|
631
631
|
return () => clearInterval(id);
|
|
632
632
|
}, [refresh]);
|
|
633
633
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
634
|
-
|
|
634
|
+
chunk32ZIHUXE_cjs.WebinarAudiencePanel,
|
|
635
635
|
{
|
|
636
636
|
className: "min-h-0 flex-1 overflow-y-auto",
|
|
637
637
|
hands: webinar.hands.map((h) => ({
|
|
638
638
|
id: h.identity,
|
|
639
639
|
name: h.name,
|
|
640
640
|
raisedAt: h.raised_at,
|
|
641
|
-
entity: /* @__PURE__ */ jsxRuntime.jsx(
|
|
641
|
+
entity: /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CallUserPill, { identity: h.identity, name: h.name, size: "sm" })
|
|
642
642
|
})),
|
|
643
643
|
attendees: webinar.attendees.map((a) => ({
|
|
644
644
|
id: a.identity,
|
|
@@ -646,7 +646,7 @@ function WebinarAudience({ webinar }) {
|
|
|
646
646
|
role: a.role,
|
|
647
647
|
onStage: a.on_stage,
|
|
648
648
|
handRaised: a.hand_raised,
|
|
649
|
-
entity: /* @__PURE__ */ jsxRuntime.jsx(
|
|
649
|
+
entity: /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CallUserPill, { identity: a.identity, name: a.name, size: "sm" })
|
|
650
650
|
})),
|
|
651
651
|
onPromote: webinar.promote,
|
|
652
652
|
onDemote: webinar.demote
|
|
@@ -665,7 +665,7 @@ function WebinarSidePanel({
|
|
|
665
665
|
const tabs = webinarTabs(webinar, { people: !!people, unreadChat: chat.unread });
|
|
666
666
|
const current = tabs.some((t) => t.id === tab) ? tab : tabs[0].id;
|
|
667
667
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
668
|
-
|
|
668
|
+
chunk32ZIHUXE_cjs.CallSidePanel,
|
|
669
669
|
{
|
|
670
670
|
title: "Webinar",
|
|
671
671
|
tabs,
|
|
@@ -718,7 +718,7 @@ function ConnectedCallRoom({
|
|
|
718
718
|
] });
|
|
719
719
|
}
|
|
720
720
|
if (!room) {
|
|
721
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
721
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CallStateMessage, { title: "Connecting\u2026", testId: "call-connecting" });
|
|
722
722
|
}
|
|
723
723
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
724
724
|
componentsReact.LiveKitRoom,
|
|
@@ -786,7 +786,7 @@ function useRoomVoiceLevels() {
|
|
|
786
786
|
muted: !componentsReact.isTrackReference(t) || t.publication.isMuted,
|
|
787
787
|
local: t.participant.isLocal
|
|
788
788
|
}));
|
|
789
|
-
react$1.useEffect(() =>
|
|
789
|
+
react$1.useEffect(() => chunk32ZIHUXE_cjs.startVoiceLevels(() => sources.current), []);
|
|
790
790
|
}
|
|
791
791
|
function CallBody({
|
|
792
792
|
callExtId,
|
|
@@ -830,9 +830,9 @@ function CallBody({
|
|
|
830
830
|
onTranscriptionChange?.(transcription.on);
|
|
831
831
|
}, [transcription.on, onTranscriptionChange]);
|
|
832
832
|
react$1.useEffect(() => {
|
|
833
|
-
|
|
833
|
+
chunk32ZIHUXE_cjs.publishCallStatus({ callExtId, transcribing: transcription.on });
|
|
834
834
|
}, [callExtId, transcription.on]);
|
|
835
|
-
react$1.useEffect(() => () =>
|
|
835
|
+
react$1.useEffect(() => () => chunk32ZIHUXE_cjs.publishCallStatus({ callExtId: null, transcribing: false }), []);
|
|
836
836
|
const recording = calls.useCallRecorder({ callExtId, callKey: e2eeKey, isCreator, linkVersion });
|
|
837
837
|
react$1.useEffect(() => {
|
|
838
838
|
onRecordingChange?.(recording.on);
|
|
@@ -842,7 +842,7 @@ function CallBody({
|
|
|
842
842
|
const [endConfirm, setEndConfirm] = react$1.useState(false);
|
|
843
843
|
const [viewerSide, setViewerSide] = react$1.useState(null);
|
|
844
844
|
const [tab, setTab] = react$1.useState("people");
|
|
845
|
-
const [frameRef, frame] =
|
|
845
|
+
const [frameRef, frame] = chunk32ZIHUXE_cjs.useElementSize();
|
|
846
846
|
const viewerSideOpen = viewerSide ?? frame.width >= VIEWER_SIDE_DOCKS_AT;
|
|
847
847
|
const sideOpen = audienceView ? viewerSideOpen : teamPanelOpen;
|
|
848
848
|
const chat = calls.useInCallChat({
|
|
@@ -855,9 +855,9 @@ function CallBody({
|
|
|
855
855
|
const askToMute = calls.useMuteRequests();
|
|
856
856
|
calls.useHostMuteNotice(callExtId);
|
|
857
857
|
const participants = componentsReact.useParticipants();
|
|
858
|
-
const speakingIds =
|
|
858
|
+
const speakingIds = chunk32ZIHUXE_cjs.useSpeakingIds();
|
|
859
859
|
const speakingNames = react$1.useMemo(
|
|
860
|
-
() => speakingIds.map((id) => participants.find((p) => p.identity === id)).filter((p) => !!p).map((p) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
860
|
+
() => speakingIds.map((id) => participants.find((p) => p.identity === id)).filter((p) => !!p).map((p) => /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CallUserPill, { identity: p.identity, name: p.name }, p.identity)),
|
|
861
861
|
[speakingIds, participants]
|
|
862
862
|
);
|
|
863
863
|
const stageRef = react$1.useRef(null);
|
|
@@ -869,9 +869,9 @@ function CallBody({
|
|
|
869
869
|
const drawsComposite = recording.on && recording.canControl && recording.mode === "audio_video";
|
|
870
870
|
const density = frame.width === 0 || frame.width >= 620 ? "full" : frame.width >= 400 ? "compact" : "tiny";
|
|
871
871
|
const shortPanel = frame.height > 0 && frame.height < 520;
|
|
872
|
-
const [mirrorSelf] =
|
|
872
|
+
const [mirrorSelf] = chunk32ZIHUXE_cjs.useMirrorSelfView();
|
|
873
873
|
const status = (small) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
874
|
-
webinar.enabled && webinar.live && /* @__PURE__ */ jsxRuntime.jsx(
|
|
874
|
+
webinar.enabled && webinar.live && /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.WebinarLiveChip, { compact: small }),
|
|
875
875
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
876
876
|
StatusChips,
|
|
877
877
|
{
|
|
@@ -883,7 +883,7 @@ function CallBody({
|
|
|
883
883
|
)
|
|
884
884
|
] });
|
|
885
885
|
const header = !minimized && /* @__PURE__ */ jsxRuntime.jsx(
|
|
886
|
-
|
|
886
|
+
chunk32ZIHUXE_cjs.CallHeader,
|
|
887
887
|
{
|
|
888
888
|
title,
|
|
889
889
|
status,
|
|
@@ -919,9 +919,9 @@ function CallBody({
|
|
|
919
919
|
sendsMedia && /* @__PURE__ */ jsxRuntime.jsx(SpeakerRecorder, { recording, callKey: e2eeKey }),
|
|
920
920
|
recording.canControl && recording.mode === "audio_video" && /* @__PURE__ */ jsxRuntime.jsx(CompositeRecorder, { recording, callKey: e2eeKey, stageRef }),
|
|
921
921
|
/* @__PURE__ */ jsxRuntime.jsx(RecordingQuotaWarning, { recording }),
|
|
922
|
-
webinar.moderator && /* @__PURE__ */ jsxRuntime.jsx(
|
|
922
|
+
webinar.moderator && /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.WebinarEndConfirm, { open: endConfirm, onOpenChange: setEndConfirm, onEnd: webinar.end }),
|
|
923
923
|
webinar.stageCheck && /* @__PURE__ */ jsxRuntime.jsx(
|
|
924
|
-
|
|
924
|
+
chunk32ZIHUXE_cjs.OnStageCheck,
|
|
925
925
|
{
|
|
926
926
|
initialChoices: react.DEFAULT_JOIN_CHOICES,
|
|
927
927
|
open: true,
|
|
@@ -944,7 +944,7 @@ function CallBody({
|
|
|
944
944
|
inert: minimized || void 0,
|
|
945
945
|
"data-testid": "call-stage-frame",
|
|
946
946
|
children: audienceView ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
947
|
-
|
|
947
|
+
chunk32ZIHUXE_cjs.WebinarViewer,
|
|
948
948
|
{
|
|
949
949
|
header,
|
|
950
950
|
stage: /* @__PURE__ */ jsxRuntime.jsx(CallTiles, { view: "speaker", includeLocal: false }),
|
|
@@ -968,14 +968,14 @@ function CallBody({
|
|
|
968
968
|
shortcuts: !minimized
|
|
969
969
|
}
|
|
970
970
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
971
|
-
|
|
971
|
+
chunk32ZIHUXE_cjs.CallStageFrame,
|
|
972
972
|
{
|
|
973
973
|
stageRef,
|
|
974
974
|
header,
|
|
975
975
|
subheader: !minimized && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
976
|
-
webinar.team && !webinar.live && /* @__PURE__ */ jsxRuntime.jsx(
|
|
977
|
-
notices.map((n) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
978
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
976
|
+
webinar.team && !webinar.live && /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.BackstageBanner, { onGoLive: webinar.moderator ? webinar.goLive : void 0 }),
|
|
977
|
+
notices.map((n) => /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CallNotice, { children: n }, n)),
|
|
978
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.SpeakingNow, { names: speakingNames })
|
|
979
979
|
] }),
|
|
980
980
|
stage: /* @__PURE__ */ jsxRuntime.jsx(CallTiles, { view }),
|
|
981
981
|
stageOverlay: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -1057,7 +1057,7 @@ function webinarControls(webinar, opts) {
|
|
|
1057
1057
|
];
|
|
1058
1058
|
return {
|
|
1059
1059
|
menuGroups: [
|
|
1060
|
-
...webinar.moderator ? [
|
|
1060
|
+
...webinar.moderator ? [chunk32ZIHUXE_cjs.chatPermissionSection({ value: webinar.chat, onChange: webinar.setChat })] : [],
|
|
1061
1061
|
items
|
|
1062
1062
|
],
|
|
1063
1063
|
leaveOptions: webinar.moderator && webinar.live ? [
|
|
@@ -1072,7 +1072,7 @@ function webinarControls(webinar, opts) {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
function useCallNotices(recording, transcription) {
|
|
1074
1074
|
const [shown, setShown] = react$1.useState({});
|
|
1075
|
-
const recordingText = recording.on ? `Recording${recording.mode ? ` (${
|
|
1075
|
+
const recordingText = recording.on ? `Recording${recording.mode ? ` (${chunk32ZIHUXE_cjs.MODE_LABEL[recording.mode]})` : ""} \u2014 started by ${recording.startedByMe ? "you" : recording.startedByName || "the host"}` : null;
|
|
1076
1076
|
const transcriptionText = transcription.on ? `Transcription on \u2014 started by ${transcription.startedByMe ? "you" : transcription.startedByName || "a participant"}` : null;
|
|
1077
1077
|
useNotice("recording", recordingText, setShown);
|
|
1078
1078
|
useNotice("transcription", transcriptionText, setShown);
|
|
@@ -1118,7 +1118,7 @@ function StatusChips({
|
|
|
1118
1118
|
recording.on && /* @__PURE__ */ jsxRuntime.jsx(RecordingIndicator, { recording, compact, announce: false }),
|
|
1119
1119
|
transcription.on && /* @__PURE__ */ jsxRuntime.jsx(TranscriptionIndicator, { transcription, compact, announce: false }),
|
|
1120
1120
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1121
|
-
|
|
1121
|
+
chunk32ZIHUXE_cjs.EncryptionStatusChip,
|
|
1122
1122
|
{
|
|
1123
1123
|
state: isE2ee ? encrypted ? "on" : "pending" : "off",
|
|
1124
1124
|
compact
|
|
@@ -1136,19 +1136,19 @@ function RoomTile({
|
|
|
1136
1136
|
const screen = trackRef.source === livekitClient.Track.Source.ScreenShare;
|
|
1137
1137
|
const videoMuted = componentsReact.useIsMuted(trackRef);
|
|
1138
1138
|
const micMuted = componentsReact.useIsMuted({ participant, source: livekitClient.Track.Source.Microphone });
|
|
1139
|
-
const speaking =
|
|
1140
|
-
const level =
|
|
1139
|
+
const speaking = chunk32ZIHUXE_cjs.useIsSpeaking(participant.identity);
|
|
1140
|
+
const level = chunk32ZIHUXE_cjs.useVoiceLevel(participant.identity);
|
|
1141
1141
|
const { quality } = componentsReact.useConnectionQualityIndicator({ participant });
|
|
1142
1142
|
const hasVideo = componentsReact.isTrackReference(trackRef) && !!trackRef.publication.track && !videoMuted;
|
|
1143
1143
|
const name = participant.name || participant.identity;
|
|
1144
|
-
const [mirrorSelf] =
|
|
1144
|
+
const [mirrorSelf] = chunk32ZIHUXE_cjs.useMirrorSelfView();
|
|
1145
1145
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1146
|
-
|
|
1146
|
+
chunk32ZIHUXE_cjs.CallTile,
|
|
1147
1147
|
{
|
|
1148
1148
|
...elementProps,
|
|
1149
1149
|
name: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1150
1150
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1151
|
-
|
|
1151
|
+
chunk32ZIHUXE_cjs.CallUserPill,
|
|
1152
1152
|
{
|
|
1153
1153
|
identity: participant.identity,
|
|
1154
1154
|
name: participant.name,
|
|
@@ -1186,7 +1186,7 @@ function useStageTracks(includeLocal = true) {
|
|
|
1186
1186
|
return { share, cameras };
|
|
1187
1187
|
}
|
|
1188
1188
|
function useSpotlightCamera(cameras) {
|
|
1189
|
-
const spotlight =
|
|
1189
|
+
const spotlight = chunk32ZIHUXE_cjs.useSpotlightId();
|
|
1190
1190
|
const id = chunkNXHETIOB_cjs.pickSpotlight(
|
|
1191
1191
|
cameras.map((t) => ({ id: t.participant.identity, local: t.participant.isLocal })),
|
|
1192
1192
|
spotlight
|
|
@@ -1201,10 +1201,10 @@ function CallTiles({
|
|
|
1201
1201
|
const spotlight = useSpotlightCamera(cameras);
|
|
1202
1202
|
const focus = share ?? (view === "speaker" ? spotlight : void 0);
|
|
1203
1203
|
if (!focus || cameras.length < 2 && !share) {
|
|
1204
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1204
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CallGrid, { items: cameras, getKey: trackKey, renderTile: (t) => /* @__PURE__ */ jsxRuntime.jsx(RoomTile, { trackRef: t }) });
|
|
1205
1205
|
}
|
|
1206
1206
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1207
|
-
|
|
1207
|
+
chunk32ZIHUXE_cjs.CallFocus,
|
|
1208
1208
|
{
|
|
1209
1209
|
focus,
|
|
1210
1210
|
others: cameras.filter((t) => t !== focus),
|
|
@@ -1228,12 +1228,12 @@ function MinimisedRoom({
|
|
|
1228
1228
|
const mic = componentsReact.useTrackToggle({ source: livekitClient.Track.Source.Microphone });
|
|
1229
1229
|
const camera = componentsReact.useTrackToggle({ source: livekitClient.Track.Source.Camera });
|
|
1230
1230
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1231
|
-
|
|
1231
|
+
chunk32ZIHUXE_cjs.MinimisedCall,
|
|
1232
1232
|
{
|
|
1233
1233
|
title,
|
|
1234
1234
|
video: track ? /* @__PURE__ */ jsxRuntime.jsx(RoomTile, { trackRef: track, size: "small" }) : null,
|
|
1235
1235
|
status,
|
|
1236
|
-
speaking: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1236
|
+
speaking: /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.SpeakingNow, { names: speakingNames, className: "text-xs" }),
|
|
1237
1237
|
micEnabled: audience ? void 0 : mic.enabled,
|
|
1238
1238
|
onToggleMic: audience ? void 0 : () => void mic.toggle(),
|
|
1239
1239
|
cameraEnabled: audience ? void 0 : camera.enabled,
|
|
@@ -1276,13 +1276,13 @@ function ParticipantsList({
|
|
|
1276
1276
|
);
|
|
1277
1277
|
}
|
|
1278
1278
|
};
|
|
1279
|
-
const levels =
|
|
1279
|
+
const levels = chunk32ZIHUXE_cjs.useVoiceLevels();
|
|
1280
1280
|
const ordered = [
|
|
1281
1281
|
...speakingIds.map((id) => participants.find((p) => p.identity === id)).filter((p) => !!p),
|
|
1282
1282
|
...participants.filter((p) => !speakingIds.includes(p.identity))
|
|
1283
1283
|
];
|
|
1284
1284
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1285
|
-
|
|
1285
|
+
chunk32ZIHUXE_cjs.CallParticipants,
|
|
1286
1286
|
{
|
|
1287
1287
|
className: compact ? void 0 : "flex-1",
|
|
1288
1288
|
compact,
|
|
@@ -1290,7 +1290,7 @@ function ParticipantsList({
|
|
|
1290
1290
|
id: p.identity,
|
|
1291
1291
|
name: p.name || p.identity,
|
|
1292
1292
|
isLocal: p.isLocal,
|
|
1293
|
-
entity: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1293
|
+
entity: /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CallUserPill, { identity: p.identity, name: p.name, size: "sm", interactive: !p.isLocal }),
|
|
1294
1294
|
speaking: speakingIds.includes(p.identity),
|
|
1295
1295
|
level: levels[p.identity] ?? 0,
|
|
1296
1296
|
micMuted: !p.isMicrophoneEnabled,
|
|
@@ -1318,12 +1318,12 @@ function Lobby({ callExtId }) {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
};
|
|
1320
1320
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1321
|
-
|
|
1321
|
+
chunk32ZIHUXE_cjs.LobbyRequests,
|
|
1322
1322
|
{
|
|
1323
1323
|
requests: mine.map((k) => ({
|
|
1324
1324
|
id: k.knockId,
|
|
1325
1325
|
name: k.displayName,
|
|
1326
|
-
entity: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1326
|
+
entity: /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.CallUserPill, { identity: k.userExtId, name: k.displayName })
|
|
1327
1327
|
})),
|
|
1328
1328
|
onDecide: (id, admit) => void decide(id, admit)
|
|
1329
1329
|
}
|
|
@@ -1333,9 +1333,9 @@ function ConnectingOverlay() {
|
|
|
1333
1333
|
const state = componentsReact.useConnectionState();
|
|
1334
1334
|
if (state === livekitClient.ConnectionState.Connected) return null;
|
|
1335
1335
|
const label = state === livekitClient.ConnectionState.Reconnecting || state === livekitClient.ConnectionState.SignalReconnecting ? "Reconnecting\u2026" : state === livekitClient.ConnectionState.Disconnected ? "Disconnected" : "Connecting\u2026";
|
|
1336
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1336
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk32ZIHUXE_cjs.ConnectionOverlay, { label });
|
|
1337
1337
|
}
|
|
1338
1338
|
|
|
1339
1339
|
exports.ConnectedCallRoom = ConnectedCallRoom;
|
|
1340
|
-
//# sourceMappingURL=chunk-
|
|
1341
|
-
//# sourceMappingURL=chunk-
|
|
1340
|
+
//# sourceMappingURL=chunk-U7IEC2EM.cjs.map
|
|
1341
|
+
//# sourceMappingURL=chunk-U7IEC2EM.cjs.map
|