@arbidocs/blocks 0.5.116 → 0.5.117
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/{ConnectedCallDock-WER7R222.cjs → ConnectedCallDock-OZBTU3IT.cjs} +20 -20
- package/dist/{ConnectedCallDock-WER7R222.cjs.map → ConnectedCallDock-OZBTU3IT.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-T7OBQTYP.cjs → ConnectedCallRoom-VMZE2NFP.cjs} +13 -13
- package/dist/{ConnectedCallRoom-T7OBQTYP.cjs.map → ConnectedCallRoom-VMZE2NFP.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-546ILGLW.cjs → ConnectedNativeDocxComparison-7OUKTKYP.cjs} +17 -17
- package/dist/{ConnectedNativeDocxComparison-546ILGLW.cjs.map → ConnectedNativeDocxComparison-7OUKTKYP.cjs.map} +1 -1
- package/dist/{ConnectedProductionSetDialog-LHB4VQWC.cjs → ConnectedProductionSetDialog-4EAY6KAZ.cjs} +3 -3
- package/dist/{ConnectedProductionSetDialog-LHB4VQWC.cjs.map → ConnectedProductionSetDialog-4EAY6KAZ.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-S2ZFZLZQ.cjs → ConnectedStreamedWordArtifact-7V24ZDAC.cjs} +17 -17
- package/dist/{ConnectedStreamedWordArtifact-S2ZFZLZQ.cjs.map → ConnectedStreamedWordArtifact-7V24ZDAC.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-ZSBZBGFK.cjs → DocumentReviewCard-OCPFVMLD.cjs} +15 -15
- package/dist/{DocumentReviewCard-ZSBZBGFK.cjs.map → DocumentReviewCard-OCPFVMLD.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-6UKR5WEF.cjs → FilesViewerDialog-KLRDIYEH.cjs} +44 -44
- package/dist/{FilesViewerDialog-6UKR5WEF.cjs.map → FilesViewerDialog-KLRDIYEH.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-J3C6VH4T.cjs → WorkspaceTableView-IMAZICIZ.cjs} +8 -8
- package/dist/{WorkspaceTableView-J3C6VH4T.cjs.map → WorkspaceTableView-IMAZICIZ.cjs.map} +1 -1
- package/dist/agents/index.cjs +297 -297
- package/dist/{ai-IM4A23YT.cjs → ai-7U4B4CVF.cjs} +24 -24
- package/dist/ai-7U4B4CVF.cjs.map +1 -0
- package/dist/calls/index.cjs +121 -121
- package/dist/chat/index.cjs +1 -1
- package/dist/{chunk-SGYSDABK.cjs → chunk-2W5E62EY.cjs} +6 -6
- package/dist/{chunk-SGYSDABK.cjs.map → chunk-2W5E62EY.cjs.map} +1 -1
- package/dist/{chunk-P77YTTJ3.cjs → chunk-3ODEWSRO.cjs} +4 -4
- package/dist/{chunk-P77YTTJ3.cjs.map → chunk-3ODEWSRO.cjs.map} +1 -1
- package/dist/{chunk-DDIW4HLU.cjs → chunk-3U36VYMD.cjs} +27 -27
- package/dist/{chunk-DDIW4HLU.cjs.map → chunk-3U36VYMD.cjs.map} +1 -1
- package/dist/{chunk-TP5PGWIO.cjs → chunk-4IOYQLKG.cjs} +3 -3
- package/dist/{chunk-TP5PGWIO.cjs.map → chunk-4IOYQLKG.cjs.map} +1 -1
- package/dist/{chunk-NY3YUCOW.cjs → chunk-4NPCDS2X.cjs} +3 -3
- package/dist/{chunk-NY3YUCOW.cjs.map → chunk-4NPCDS2X.cjs.map} +1 -1
- package/dist/{chunk-BQ5RIWWT.cjs → chunk-4VZZWYEC.cjs} +3 -3
- package/dist/{chunk-BQ5RIWWT.cjs.map → chunk-4VZZWYEC.cjs.map} +1 -1
- package/dist/{chunk-Y24V6HPR.cjs → chunk-57EE6CMW.cjs} +15 -15
- package/dist/{chunk-Y24V6HPR.cjs.map → chunk-57EE6CMW.cjs.map} +1 -1
- package/dist/{chunk-NNUK5ZM7.cjs → chunk-5QUL5BZO.cjs} +4 -4
- package/dist/{chunk-NNUK5ZM7.cjs.map → chunk-5QUL5BZO.cjs.map} +1 -1
- package/dist/{chunk-OEREKAAP.cjs → chunk-6DCIZA3X.cjs} +75 -75
- package/dist/{chunk-OEREKAAP.cjs.map → chunk-6DCIZA3X.cjs.map} +1 -1
- package/dist/{chunk-YGXOKB5Z.cjs → chunk-7TEUGFIL.cjs} +4 -4
- package/dist/{chunk-YGXOKB5Z.cjs.map → chunk-7TEUGFIL.cjs.map} +1 -1
- package/dist/{chunk-TT4IF52H.cjs → chunk-7X3FS5HQ.cjs} +35 -35
- package/dist/{chunk-TT4IF52H.cjs.map → chunk-7X3FS5HQ.cjs.map} +1 -1
- package/dist/{chunk-CPR6EHG7.cjs → chunk-7XT5B2DZ.cjs} +47 -47
- package/dist/{chunk-CPR6EHG7.cjs.map → chunk-7XT5B2DZ.cjs.map} +1 -1
- package/dist/{chunk-HB2O4THB.cjs → chunk-BKY2LAV2.cjs} +4 -4
- package/dist/{chunk-HB2O4THB.cjs.map → chunk-BKY2LAV2.cjs.map} +1 -1
- package/dist/{chunk-XKVPSOKP.cjs → chunk-BW5MF464.cjs} +4 -4
- package/dist/{chunk-XKVPSOKP.cjs.map → chunk-BW5MF464.cjs.map} +1 -1
- package/dist/{chunk-SB4M3ITT.cjs → chunk-D7ICHGWM.cjs} +59 -59
- package/dist/{chunk-SB4M3ITT.cjs.map → chunk-D7ICHGWM.cjs.map} +1 -1
- package/dist/{chunk-TDO5UWXF.cjs → chunk-E4BLRF2L.cjs} +5 -5
- package/dist/{chunk-TDO5UWXF.cjs.map → chunk-E4BLRF2L.cjs.map} +1 -1
- package/dist/{chunk-NIE3N6OM.cjs → chunk-E4DUXU5K.cjs} +7 -7
- package/dist/{chunk-NIE3N6OM.cjs.map → chunk-E4DUXU5K.cjs.map} +1 -1
- package/dist/{chunk-WAV762GP.cjs → chunk-GQXPNIRE.cjs} +6 -6
- package/dist/{chunk-WAV762GP.cjs.map → chunk-GQXPNIRE.cjs.map} +1 -1
- package/dist/{chunk-7OPOPYV6.cjs → chunk-H5OLHP2U.cjs} +3 -3
- package/dist/{chunk-7OPOPYV6.cjs.map → chunk-H5OLHP2U.cjs.map} +1 -1
- package/dist/{chunk-6UTKM5AB.cjs → chunk-JSQQV23D.cjs} +3 -3
- package/dist/{chunk-6UTKM5AB.cjs.map → chunk-JSQQV23D.cjs.map} +1 -1
- package/dist/{chunk-557MJ4IH.cjs → chunk-LFRNBT2I.cjs} +20 -20
- package/dist/{chunk-557MJ4IH.cjs.map → chunk-LFRNBT2I.cjs.map} +1 -1
- package/dist/{chunk-R7CJEIA5.cjs → chunk-LYTIQQQ2.cjs} +3 -3
- package/dist/{chunk-R7CJEIA5.cjs.map → chunk-LYTIQQQ2.cjs.map} +1 -1
- package/dist/{chunk-CPG7II4E.cjs → chunk-MC4F2URI.cjs} +28 -28
- package/dist/{chunk-CPG7II4E.cjs.map → chunk-MC4F2URI.cjs.map} +1 -1
- package/dist/{chunk-WXUU3COI.cjs → chunk-MZ2KZXNU.cjs} +3 -3
- package/dist/{chunk-WXUU3COI.cjs.map → chunk-MZ2KZXNU.cjs.map} +1 -1
- package/dist/{chunk-QHOHDNBU.cjs → chunk-OZVDOAXG.cjs} +4 -4
- package/dist/{chunk-QHOHDNBU.cjs.map → chunk-OZVDOAXG.cjs.map} +1 -1
- package/dist/{chunk-325GVZE6.cjs → chunk-Q6DQGGP4.cjs} +3 -3
- package/dist/{chunk-325GVZE6.cjs.map → chunk-Q6DQGGP4.cjs.map} +1 -1
- package/dist/{chunk-KTQOGT2L.cjs → chunk-TDN33HSK.cjs} +6 -6
- package/dist/{chunk-KTQOGT2L.cjs.map → chunk-TDN33HSK.cjs.map} +1 -1
- package/dist/{chunk-T23UTIRI.cjs → chunk-UNDQYTRF.cjs} +6 -6
- package/dist/{chunk-T23UTIRI.cjs.map → chunk-UNDQYTRF.cjs.map} +1 -1
- package/dist/{chunk-KXIRVKCJ.cjs → chunk-UUENH4BJ.cjs} +3 -3
- package/dist/{chunk-KXIRVKCJ.cjs.map → chunk-UUENH4BJ.cjs.map} +1 -1
- package/dist/{chunk-B2HNNG25.cjs → chunk-VBL3SHWX.cjs} +50 -50
- package/dist/{chunk-B2HNNG25.cjs.map → chunk-VBL3SHWX.cjs.map} +1 -1
- package/dist/{chunk-VGCTYTEW.cjs → chunk-VTYJAZDU.cjs} +11 -11
- package/dist/{chunk-VGCTYTEW.cjs.map → chunk-VTYJAZDU.cjs.map} +1 -1
- package/dist/{chunk-B3LZITVF.cjs → chunk-WW6LXQY6.cjs} +12 -12
- package/dist/{chunk-B3LZITVF.cjs.map → chunk-WW6LXQY6.cjs.map} +1 -1
- package/dist/{chunk-NJCK6V6U.cjs → chunk-XKDUPU7B.cjs} +4 -4
- package/dist/{chunk-NJCK6V6U.cjs.map → chunk-XKDUPU7B.cjs.map} +1 -1
- package/dist/connect/docx.cjs +20 -20
- package/dist/connect/index.cjs +981 -981
- package/dist/connect/viewer.cjs +33 -33
- package/dist/dashboards/index.cjs +1 -1
- package/dist/embed/index.cjs +38 -38
- package/dist/files/index.cjs +224 -224
- package/dist/index.cjs +1589 -1589
- package/dist/settings/index.cjs +147 -147
- package/dist/shell/index.cjs +90 -90
- package/dist/studio/index.cjs +26 -26
- package/dist/workflow-canvas/index.cjs +54 -54
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ai-IM4A23YT.cjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkM2FOXGJU_cjs = require('./chunk-M2FOXGJU.cjs');
|
|
5
|
+
var chunkH5OLHP2U_cjs = require('./chunk-H5OLHP2U.cjs');
|
|
5
6
|
var chunkOAIOOVFN_cjs = require('./chunk-OAIOOVFN.cjs');
|
|
6
7
|
var chunkQMIHLJMH_cjs = require('./chunk-QMIHLJMH.cjs');
|
|
7
|
-
var chunkM2FOXGJU_cjs = require('./chunk-M2FOXGJU.cjs');
|
|
8
8
|
var chunkZBP4ZSAJ_cjs = require('./chunk-ZBP4ZSAJ.cjs');
|
|
9
9
|
var chunkTKHCIHE2_cjs = require('./chunk-TKHCIHE2.cjs');
|
|
10
10
|
var react$1 = require('react');
|
|
@@ -23,7 +23,7 @@ function TranscriptionToggle({
|
|
|
23
23
|
if (!available || !canToggle) return null;
|
|
24
24
|
const label = on ? "Stop transcription" : "Transcribe the call";
|
|
25
25
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
26
|
-
|
|
26
|
+
chunkH5OLHP2U_cjs.CallControlButton,
|
|
27
27
|
{
|
|
28
28
|
label,
|
|
29
29
|
shortcut: "C",
|
|
@@ -54,7 +54,7 @@ function TranscriptionIndicator({
|
|
|
54
54
|
}, [setIndicatorShown]);
|
|
55
55
|
const by = startedByMe ? "you" : startedByName || "a participant";
|
|
56
56
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
57
|
-
|
|
57
|
+
chunkH5OLHP2U_cjs.TranscriptionStatusChip,
|
|
58
58
|
{
|
|
59
59
|
sentence: `Transcription on \u2014 started by ${by}`,
|
|
60
60
|
short: muted ? "Transcribing \xB7 you are muted" : "Transcribing",
|
|
@@ -87,7 +87,7 @@ function CaptionsOverlay({
|
|
|
87
87
|
})),
|
|
88
88
|
[captions]
|
|
89
89
|
);
|
|
90
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
90
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.CaptionsStrip, { captions: entries, reserve, className });
|
|
91
91
|
}
|
|
92
92
|
function TranscriptionSender({ transcription }) {
|
|
93
93
|
const { isMicrophoneEnabled, microphoneTrack } = componentsReact.useLocalParticipant();
|
|
@@ -113,7 +113,7 @@ function RecordingControl({
|
|
|
113
113
|
const canHost = react.useIsEntitled("host_calls");
|
|
114
114
|
if (!available || !canControl || !on && !canHost) return null;
|
|
115
115
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
116
|
-
|
|
116
|
+
chunkH5OLHP2U_cjs.RecordControl,
|
|
117
117
|
{
|
|
118
118
|
on,
|
|
119
119
|
busy,
|
|
@@ -177,7 +177,7 @@ function RecordingIndicator({
|
|
|
177
177
|
}, [setIndicatorShown]);
|
|
178
178
|
const by = startedByMe ? "you" : startedByName || "the host";
|
|
179
179
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
180
|
-
|
|
180
|
+
chunkH5OLHP2U_cjs.RecordingStatusChip,
|
|
181
181
|
{
|
|
182
182
|
sentence: `Recording${mode ? ` (${chunkQMIHLJMH_cjs.MODE_LABEL[mode]})` : ""} \u2014 started by ${by}`,
|
|
183
183
|
compact,
|
|
@@ -247,7 +247,7 @@ function CompositeRecorder({
|
|
|
247
247
|
if (!uploader || !stage) return;
|
|
248
248
|
let capture;
|
|
249
249
|
try {
|
|
250
|
-
capture =
|
|
250
|
+
capture = chunkH5OLHP2U_cjs.startCompositeCapture(stage);
|
|
251
251
|
} catch (err) {
|
|
252
252
|
console.warn("[calls] cannot record the composite", err);
|
|
253
253
|
notify("This browser cannot record the call video; audio is still recorded.", "warning");
|
|
@@ -300,9 +300,9 @@ function RoomMediaControl({
|
|
|
300
300
|
const { devices, activeDeviceId, setActiveMediaDevice } = componentsReact.useMediaDeviceSelect({
|
|
301
301
|
kind: mic ? "audioinput" : "videoinput"
|
|
302
302
|
});
|
|
303
|
-
const [mirror, setMirror] =
|
|
303
|
+
const [mirror, setMirror] = chunkH5OLHP2U_cjs.useMirrorSelfView();
|
|
304
304
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
305
|
-
|
|
305
|
+
chunkH5OLHP2U_cjs.MediaControl,
|
|
306
306
|
{
|
|
307
307
|
kind: mic ? "microphone" : "camera",
|
|
308
308
|
enabled,
|
|
@@ -456,15 +456,15 @@ function CallControls({
|
|
|
456
456
|
] : []
|
|
457
457
|
];
|
|
458
458
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
459
|
-
|
|
459
|
+
chunkH5OLHP2U_cjs.CallControlBar,
|
|
460
460
|
{
|
|
461
461
|
shortcuts,
|
|
462
462
|
left: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
463
|
-
full && /* @__PURE__ */ jsxRuntime.jsx(
|
|
463
|
+
full && /* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.ElapsedTime, { since: startedAt, title: "Time in this call" }),
|
|
464
464
|
/* @__PURE__ */ jsxRuntime.jsx(EnableAudioButton, { compact: !full })
|
|
465
465
|
] }),
|
|
466
466
|
right: /* @__PURE__ */ jsxRuntime.jsx(
|
|
467
|
-
|
|
467
|
+
chunkH5OLHP2U_cjs.LeaveButton,
|
|
468
468
|
{
|
|
469
469
|
compact: !full,
|
|
470
470
|
onLeave: () => void room.disconnect(),
|
|
@@ -472,15 +472,15 @@ function CallControls({
|
|
|
472
472
|
}
|
|
473
473
|
),
|
|
474
474
|
children: [
|
|
475
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
475
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkH5OLHP2U_cjs.ControlGroup, { children: [
|
|
476
476
|
/* @__PURE__ */ jsxRuntime.jsx(RoomMediaControl, { source: livekitClient.Track.Source.Microphone, shortcut: "M", testId: "call-mic-toggle" }),
|
|
477
477
|
/* @__PURE__ */ jsxRuntime.jsx(RoomMediaControl, { source: livekitClient.Track.Source.Camera, shortcut: "V", testId: "call-camera-toggle" })
|
|
478
478
|
] }),
|
|
479
479
|
!tiny && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
480
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
481
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
480
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.ControlDivider, {}),
|
|
481
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkH5OLHP2U_cjs.ControlGroup, { children: [
|
|
482
482
|
full && /* @__PURE__ */ jsxRuntime.jsx(
|
|
483
|
-
|
|
483
|
+
chunkH5OLHP2U_cjs.CallControlButton,
|
|
484
484
|
{
|
|
485
485
|
label: share.enabled ? "Stop sharing" : "Share your screen",
|
|
486
486
|
tone: share.enabled ? "active" : "neutral",
|
|
@@ -496,7 +496,7 @@ function CallControls({
|
|
|
496
496
|
] })
|
|
497
497
|
] }),
|
|
498
498
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
499
|
-
|
|
499
|
+
chunkH5OLHP2U_cjs.MoreMenu,
|
|
500
500
|
{
|
|
501
501
|
details: experimental ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
502
502
|
"span",
|
|
@@ -551,7 +551,7 @@ function WebinarChat({ chat }) {
|
|
|
551
551
|
/* @__PURE__ */ jsxRuntime.jsx("div", { ref: end })
|
|
552
552
|
] }),
|
|
553
553
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0 border-t border-border p-3", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
554
|
-
|
|
554
|
+
chunkH5OLHP2U_cjs.PanelComposer,
|
|
555
555
|
{
|
|
556
556
|
placeholder: "Message everyone",
|
|
557
557
|
ariaLabel: "Message everyone",
|
|
@@ -613,7 +613,7 @@ function WebinarQA({ webinar }) {
|
|
|
613
613
|
[webinar.questions]
|
|
614
614
|
);
|
|
615
615
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
616
|
-
|
|
616
|
+
chunkH5OLHP2U_cjs.QAPanel,
|
|
617
617
|
{
|
|
618
618
|
questions,
|
|
619
619
|
team: webinar.team,
|
|
@@ -633,7 +633,7 @@ function WebinarAudience({ webinar }) {
|
|
|
633
633
|
return () => clearInterval(id);
|
|
634
634
|
}, [refresh]);
|
|
635
635
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
636
|
-
|
|
636
|
+
chunkH5OLHP2U_cjs.WebinarAudiencePanel,
|
|
637
637
|
{
|
|
638
638
|
className: "min-h-0 flex-1 overflow-y-auto",
|
|
639
639
|
hands: webinar.hands.map((h) => ({
|
|
@@ -667,7 +667,7 @@ function WebinarSidePanel({
|
|
|
667
667
|
const tabs = webinarTabs(webinar, { people: !!people, unreadChat: chat.unread });
|
|
668
668
|
const current = tabs.some((t) => t.id === tab) ? tab : tabs[0].id;
|
|
669
669
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
670
|
-
|
|
670
|
+
chunkH5OLHP2U_cjs.CallSidePanel,
|
|
671
671
|
{
|
|
672
672
|
title: "Webinar",
|
|
673
673
|
tabs,
|
|
@@ -720,7 +720,7 @@ function ConnectedCallRoom({
|
|
|
720
720
|
] });
|
|
721
721
|
}
|
|
722
722
|
if (!room) {
|
|
723
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
723
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.CallStateMessage, { title: "Connecting\u2026", testId: "call-connecting" });
|
|
724
724
|
}
|
|
725
725
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
726
726
|
componentsReact.LiveKitRoom,
|
|
@@ -844,7 +844,7 @@ function CallBody({
|
|
|
844
844
|
const [endConfirm, setEndConfirm] = react$1.useState(false);
|
|
845
845
|
const [viewerSide, setViewerSide] = react$1.useState(null);
|
|
846
846
|
const [tab, setTab] = react$1.useState("people");
|
|
847
|
-
const [frameRef, frame] =
|
|
847
|
+
const [frameRef, frame] = chunkH5OLHP2U_cjs.useElementSize();
|
|
848
848
|
const viewerSideOpen = viewerSide ?? frame.width >= VIEWER_SIDE_DOCKS_AT;
|
|
849
849
|
const sideOpen = audienceView ? viewerSideOpen : teamPanelOpen;
|
|
850
850
|
const chat = calls.useInCallChat({
|
|
@@ -871,9 +871,9 @@ function CallBody({
|
|
|
871
871
|
const drawsComposite = recording.on && recording.canControl && recording.mode === "audio_video";
|
|
872
872
|
const density = frame.width === 0 || frame.width >= 620 ? "full" : frame.width >= 400 ? "compact" : "tiny";
|
|
873
873
|
const shortPanel = frame.height > 0 && frame.height < 520;
|
|
874
|
-
const [mirrorSelf] =
|
|
874
|
+
const [mirrorSelf] = chunkH5OLHP2U_cjs.useMirrorSelfView();
|
|
875
875
|
const status = (small) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
876
|
-
webinar.enabled && webinar.live && /* @__PURE__ */ jsxRuntime.jsx(
|
|
876
|
+
webinar.enabled && webinar.live && /* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.WebinarLiveChip, { compact: small }),
|
|
877
877
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
878
878
|
StatusChips,
|
|
879
879
|
{
|
|
@@ -885,7 +885,7 @@ function CallBody({
|
|
|
885
885
|
)
|
|
886
886
|
] });
|
|
887
887
|
const header = !minimized && /* @__PURE__ */ jsxRuntime.jsx(
|
|
888
|
-
|
|
888
|
+
chunkH5OLHP2U_cjs.CallHeader,
|
|
889
889
|
{
|
|
890
890
|
title,
|
|
891
891
|
status,
|
|
@@ -921,9 +921,9 @@ function CallBody({
|
|
|
921
921
|
sendsMedia && /* @__PURE__ */ jsxRuntime.jsx(SpeakerRecorder, { recording, callKey: e2eeKey }),
|
|
922
922
|
recording.canControl && recording.mode === "audio_video" && /* @__PURE__ */ jsxRuntime.jsx(CompositeRecorder, { recording, callKey: e2eeKey, stageRef }),
|
|
923
923
|
/* @__PURE__ */ jsxRuntime.jsx(RecordingQuotaWarning, { recording }),
|
|
924
|
-
webinar.moderator && /* @__PURE__ */ jsxRuntime.jsx(
|
|
924
|
+
webinar.moderator && /* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.WebinarEndConfirm, { open: endConfirm, onOpenChange: setEndConfirm, onEnd: webinar.end }),
|
|
925
925
|
webinar.stageCheck && /* @__PURE__ */ jsxRuntime.jsx(
|
|
926
|
-
|
|
926
|
+
chunkH5OLHP2U_cjs.OnStageCheck,
|
|
927
927
|
{
|
|
928
928
|
initialChoices: react.DEFAULT_JOIN_CHOICES,
|
|
929
929
|
open: true,
|
|
@@ -946,7 +946,7 @@ function CallBody({
|
|
|
946
946
|
inert: minimized || void 0,
|
|
947
947
|
"data-testid": "call-stage-frame",
|
|
948
948
|
children: audienceView ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
949
|
-
|
|
949
|
+
chunkH5OLHP2U_cjs.WebinarViewer,
|
|
950
950
|
{
|
|
951
951
|
header,
|
|
952
952
|
stage: /* @__PURE__ */ jsxRuntime.jsx(CallTiles, { view: "speaker", includeLocal: false }),
|
|
@@ -970,14 +970,14 @@ function CallBody({
|
|
|
970
970
|
shortcuts: !minimized
|
|
971
971
|
}
|
|
972
972
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
973
|
-
|
|
973
|
+
chunkH5OLHP2U_cjs.CallStageFrame,
|
|
974
974
|
{
|
|
975
975
|
stageRef,
|
|
976
976
|
header,
|
|
977
977
|
subheader: !minimized && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
978
|
-
webinar.team && !webinar.live && /* @__PURE__ */ jsxRuntime.jsx(
|
|
979
|
-
notices.map((n) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
980
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
978
|
+
webinar.team && !webinar.live && /* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.BackstageBanner, { onGoLive: webinar.moderator ? webinar.goLive : void 0 }),
|
|
979
|
+
notices.map((n) => /* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.CallNotice, { children: n }, n)),
|
|
980
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.SpeakingNow, { names: speakingNames })
|
|
981
981
|
] }),
|
|
982
982
|
stage: /* @__PURE__ */ jsxRuntime.jsx(CallTiles, { view }),
|
|
983
983
|
stageOverlay: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -1059,7 +1059,7 @@ function webinarControls(webinar, opts) {
|
|
|
1059
1059
|
];
|
|
1060
1060
|
return {
|
|
1061
1061
|
menuGroups: [
|
|
1062
|
-
...webinar.moderator ? [
|
|
1062
|
+
...webinar.moderator ? [chunkH5OLHP2U_cjs.chatPermissionSection({ value: webinar.chat, onChange: webinar.setChat })] : [],
|
|
1063
1063
|
items
|
|
1064
1064
|
],
|
|
1065
1065
|
leaveOptions: webinar.moderator && webinar.live ? [
|
|
@@ -1120,7 +1120,7 @@ function StatusChips({
|
|
|
1120
1120
|
recording.on && /* @__PURE__ */ jsxRuntime.jsx(RecordingIndicator, { recording, compact, announce: false }),
|
|
1121
1121
|
transcription.on && /* @__PURE__ */ jsxRuntime.jsx(TranscriptionIndicator, { transcription, compact, announce: false }),
|
|
1122
1122
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1123
|
-
|
|
1123
|
+
chunkH5OLHP2U_cjs.EncryptionStatusChip,
|
|
1124
1124
|
{
|
|
1125
1125
|
state: isE2ee ? encrypted ? "on" : "pending" : "off",
|
|
1126
1126
|
compact
|
|
@@ -1143,9 +1143,9 @@ function RoomTile({
|
|
|
1143
1143
|
const { quality } = componentsReact.useConnectionQualityIndicator({ participant });
|
|
1144
1144
|
const hasVideo = componentsReact.isTrackReference(trackRef) && !!trackRef.publication.track && !videoMuted;
|
|
1145
1145
|
const name = participant.name || participant.identity;
|
|
1146
|
-
const [mirrorSelf] =
|
|
1146
|
+
const [mirrorSelf] = chunkH5OLHP2U_cjs.useMirrorSelfView();
|
|
1147
1147
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1148
|
-
|
|
1148
|
+
chunkH5OLHP2U_cjs.CallTile,
|
|
1149
1149
|
{
|
|
1150
1150
|
...elementProps,
|
|
1151
1151
|
name: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -1203,10 +1203,10 @@ function CallTiles({
|
|
|
1203
1203
|
const spotlight = useSpotlightCamera(cameras);
|
|
1204
1204
|
const focus = share ?? (view === "speaker" ? spotlight : void 0);
|
|
1205
1205
|
if (!focus || cameras.length < 2 && !share) {
|
|
1206
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1206
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.CallGrid, { items: cameras, getKey: trackKey, renderTile: (t) => /* @__PURE__ */ jsxRuntime.jsx(RoomTile, { trackRef: t }) });
|
|
1207
1207
|
}
|
|
1208
1208
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1209
|
-
|
|
1209
|
+
chunkH5OLHP2U_cjs.CallFocus,
|
|
1210
1210
|
{
|
|
1211
1211
|
focus,
|
|
1212
1212
|
others: cameras.filter((t) => t !== focus),
|
|
@@ -1230,12 +1230,12 @@ function MinimisedRoom({
|
|
|
1230
1230
|
const mic = componentsReact.useTrackToggle({ source: livekitClient.Track.Source.Microphone });
|
|
1231
1231
|
const camera = componentsReact.useTrackToggle({ source: livekitClient.Track.Source.Camera });
|
|
1232
1232
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1233
|
-
|
|
1233
|
+
chunkH5OLHP2U_cjs.MinimisedCall,
|
|
1234
1234
|
{
|
|
1235
1235
|
title,
|
|
1236
1236
|
video: track ? /* @__PURE__ */ jsxRuntime.jsx(RoomTile, { trackRef: track, size: "sm" }) : null,
|
|
1237
1237
|
status,
|
|
1238
|
-
speaking: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1238
|
+
speaking: /* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.SpeakingNow, { names: speakingNames, className: "text-xs" }),
|
|
1239
1239
|
micEnabled: audience ? void 0 : mic.enabled,
|
|
1240
1240
|
onToggleMic: audience ? void 0 : () => void mic.toggle(),
|
|
1241
1241
|
cameraEnabled: audience ? void 0 : camera.enabled,
|
|
@@ -1284,7 +1284,7 @@ function ParticipantsList({
|
|
|
1284
1284
|
...participants.filter((p) => !speakingIds.includes(p.identity))
|
|
1285
1285
|
];
|
|
1286
1286
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1287
|
-
|
|
1287
|
+
chunkH5OLHP2U_cjs.CallParticipants,
|
|
1288
1288
|
{
|
|
1289
1289
|
className: compact ? void 0 : "flex-1",
|
|
1290
1290
|
compact,
|
|
@@ -1320,7 +1320,7 @@ function Lobby({ callExtId }) {
|
|
|
1320
1320
|
}
|
|
1321
1321
|
};
|
|
1322
1322
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1323
|
-
|
|
1323
|
+
chunkH5OLHP2U_cjs.LobbyRequests,
|
|
1324
1324
|
{
|
|
1325
1325
|
requests: mine.map((k) => ({
|
|
1326
1326
|
id: k.knockId,
|
|
@@ -1335,9 +1335,9 @@ function ConnectingOverlay() {
|
|
|
1335
1335
|
const state = componentsReact.useConnectionState();
|
|
1336
1336
|
if (state === livekitClient.ConnectionState.Connected) return null;
|
|
1337
1337
|
const label = state === livekitClient.ConnectionState.Reconnecting || state === livekitClient.ConnectionState.SignalReconnecting ? "Reconnecting\u2026" : state === livekitClient.ConnectionState.Disconnected ? "Disconnected" : "Connecting\u2026";
|
|
1338
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1338
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkH5OLHP2U_cjs.ConnectionOverlay, { label });
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
1341
|
exports.ConnectedCallRoom = ConnectedCallRoom;
|
|
1342
|
-
//# sourceMappingURL=chunk-
|
|
1343
|
-
//# sourceMappingURL=chunk-
|
|
1342
|
+
//# sourceMappingURL=chunk-7XT5B2DZ.cjs.map
|
|
1343
|
+
//# sourceMappingURL=chunk-7XT5B2DZ.cjs.map
|