@beterdichtbij/component-library 0.66.0-alpha.11 → 0.66.0-alpha.13
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.
|
@@ -191186,103 +191186,114 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191186
191186
|
deviceManager: null,
|
|
191187
191187
|
incomingCall: null,
|
|
191188
191188
|
call: null
|
|
191189
|
-
}), E = M(null), ee = M(null), O = M(null), k = M(null), A = M(0),
|
|
191189
|
+
}), E = M(null), ee = M(null), O = M(null), k = M(null), A = M(0), ie = M(0), N = M(null), ae = M(!1), oe = a(() => {
|
|
191190
191190
|
switch (A.value) {
|
|
191191
191191
|
case 0: return g.value.hasNoAvailableCamera;
|
|
191192
191192
|
case 1: return g.value.hasOneAvailableCamera;
|
|
191193
191193
|
default: return g.value.hasMultipleAvailableCameras;
|
|
191194
191194
|
}
|
|
191195
|
-
}),
|
|
191195
|
+
}), ce = a(() => {
|
|
191196
191196
|
let e = navigator.userAgent;
|
|
191197
191197
|
return /Mobi/.test(e) && !_.value;
|
|
191198
|
-
}),
|
|
191198
|
+
}), le = a(() => {
|
|
191199
191199
|
let e = navigator.userAgent, t = e.indexOf("Android") !== -1, n = /Mobi/.test(e), r = /iPad|iPhone|iPod/.test(e) && !window.MSStream;
|
|
191200
191200
|
return !(t && n || r);
|
|
191201
|
-
}),
|
|
191201
|
+
}), ue = a(() => !x.value?.video && z.value), F = a(() => !x.value?.audio && z.value), de = a(() => S.value === Z9 ? "incoming--declined" : "incoming--loading"), I = a(() => {
|
|
191202
191202
|
switch (b.value) {
|
|
191203
191203
|
case 0: return "weak";
|
|
191204
191204
|
case 1: return "steady";
|
|
191205
191205
|
case 2: return "strong";
|
|
191206
191206
|
default: return null;
|
|
191207
191207
|
}
|
|
191208
|
-
}),
|
|
191208
|
+
}), fe = a(() => {
|
|
191209
191209
|
switch (b.value) {
|
|
191210
191210
|
case 0: return g.value.signalStrength.weak;
|
|
191211
191211
|
case 1: return g.value.signalStrength.steady;
|
|
191212
191212
|
case 2: return g.value.signalStrength.strong;
|
|
191213
191213
|
default: return null;
|
|
191214
191214
|
}
|
|
191215
|
-
}),
|
|
191215
|
+
}), pe = a(() => _.value ? g.value.stopSharingScreen : g.value.shareScreen), me = a(() => g.value.placeholderSettingsHelpTitle), L = a(() => g.value.placeholderSettingsHelpMessage), he = a(() => S.value === Z9), R = a(() => S.value === FBe), ge = a(() => S.value === IBe), _e = a(() => !ge.value), z = a(() => S.value === $9), ve = a(() => R.value ? g.value.messageWhenVideoCallHangedUp : he.value ? g.value.messageWhenVideoCallDeclined : z.value ? g.value.messageWhenDevicePermissionDenied : i.messageWhenLoading), V = a(() => y.value ? ".incoming__screenshare" : ".incoming__video");
|
|
191216
191216
|
te(() => {
|
|
191217
|
-
|
|
191217
|
+
console.log("onMounted"), qe();
|
|
191218
|
+
}), ne(() => {
|
|
191219
|
+
console.log("onUnmounted"), N.value && window.clearInterval(N.value), Ge();
|
|
191218
191220
|
});
|
|
191219
|
-
function
|
|
191220
|
-
S.value = Z9;
|
|
191221
|
+
function H() {
|
|
191222
|
+
console.log("CallDeclined"), S.value = Z9;
|
|
191221
191223
|
}
|
|
191222
|
-
function H() {}
|
|
191223
191224
|
function ye() {
|
|
191224
|
-
|
|
191225
|
+
console.log("CallAnswered");
|
|
191226
|
+
}
|
|
191227
|
+
function be() {
|
|
191228
|
+
console.log("CallStartVideoCall"), S.value !== $9 && !i.isCallee && Te();
|
|
191225
191229
|
}
|
|
191226
|
-
async function
|
|
191227
|
-
S.value = FBe, x.value.video &&
|
|
191230
|
+
async function xe() {
|
|
191231
|
+
console.log("CallHangUp"), S.value = FBe, x.value.video && Ue();
|
|
191228
191232
|
}
|
|
191229
|
-
async function
|
|
191230
|
-
T.client = w(new G9());
|
|
191233
|
+
async function Se(e) {
|
|
191234
|
+
console.log("InitializeAcsConnection"), T.client = w(new G9());
|
|
191231
191235
|
let t = new Hue(e);
|
|
191232
191236
|
T.agent = w(await T.client.createCallAgent(t)), T.deviceManager = await T.client.getDeviceManager(), x.value = await T.deviceManager.askDevicePermission({
|
|
191233
191237
|
video: !0,
|
|
191234
191238
|
audio: !0
|
|
191235
|
-
}),
|
|
191239
|
+
}), N.value = window.setInterval(Ue, 5e3), (!x.value.audio || !x.value.video) && (S.value = $9), i.isCallee && (T.agent.on("incomingCall", Ce), o("ready"));
|
|
191236
191240
|
}
|
|
191237
|
-
async function
|
|
191238
|
-
if (!
|
|
191239
|
-
|
|
191241
|
+
async function Ce(e) {
|
|
191242
|
+
if (console.log("SetIncomingCall"), !ae.value) try {
|
|
191243
|
+
ae.value = !0, T.incomingCall = e.incomingCall, await Ee();
|
|
191240
191244
|
} catch {
|
|
191241
191245
|
console.log("error occured during starting call");
|
|
191242
191246
|
} finally {
|
|
191243
|
-
|
|
191247
|
+
ae.value = !1;
|
|
191244
191248
|
}
|
|
191245
191249
|
}
|
|
191246
|
-
async function
|
|
191247
|
-
|
|
191250
|
+
async function we() {
|
|
191251
|
+
console.log("CreateNewVideoOptions");
|
|
191252
|
+
let e = await De();
|
|
191248
191253
|
return e ? { localVideoStreams: [e] } : void 0;
|
|
191249
191254
|
}
|
|
191250
|
-
async function
|
|
191255
|
+
async function Te() {
|
|
191256
|
+
console.log("StartCall");
|
|
191251
191257
|
try {
|
|
191252
|
-
|
|
191253
|
-
|
|
191254
|
-
T.call = T.agent.startCall([t], { videoOptions: e }), Oe(), De();
|
|
191258
|
+
let e = { videoOptions: await we() }, t = [{ communicationUserId: i.participant.videoCallIdentityId }];
|
|
191259
|
+
T.call = T.agent.startCall(t, e), je(), Oe();
|
|
191255
191260
|
} catch (e) {
|
|
191256
191261
|
console.error(e);
|
|
191257
191262
|
}
|
|
191258
191263
|
}
|
|
191259
|
-
async function Te() {
|
|
191260
|
-
if (!T.incomingCall || T.call && T.call.state !== "Disconnected") return;
|
|
191261
|
-
let e = await Ce();
|
|
191262
|
-
T.call = await T.incomingCall.accept({ videoOptions: e }), Oe(), De();
|
|
191263
|
-
}
|
|
191264
191264
|
async function Ee() {
|
|
191265
|
+
console.log("AcceptCall");
|
|
191266
|
+
let e = await we();
|
|
191267
|
+
try {
|
|
191268
|
+
T.call = await T.incomingCall.accept({ videoOptions: e });
|
|
191269
|
+
} catch (e) {
|
|
191270
|
+
console.error(e);
|
|
191271
|
+
}
|
|
191272
|
+
je(), Oe();
|
|
191273
|
+
}
|
|
191274
|
+
async function De() {
|
|
191275
|
+
console.log("CreateLocalVideoStream");
|
|
191265
191276
|
let e = (await T.deviceManager.getCameras())[0];
|
|
191266
191277
|
if (e) return new Z6(e);
|
|
191267
191278
|
console.error("No camera device found on the system");
|
|
191268
191279
|
}
|
|
191269
|
-
function
|
|
191270
|
-
T.call.on("stateChanged",
|
|
191271
|
-
e.added.forEach(
|
|
191272
|
-
}), T.call.remoteParticipants.forEach(
|
|
191273
|
-
e.added.forEach(
|
|
191280
|
+
function Oe() {
|
|
191281
|
+
console.log("SubscribeToCall"), T.call.on("stateChanged", Ne), T.call.on("localVideoStreamsUpdated", (e) => {
|
|
191282
|
+
e.added.forEach(Fe), e.removed.forEach(Pe);
|
|
191283
|
+
}), T.call.remoteParticipants.forEach(Le), T.call.on("remoteParticipantsUpdated", (e) => {
|
|
191284
|
+
e.added.forEach(Le);
|
|
191274
191285
|
}), T.call.on("isScreenSharingOnChanged", () => {
|
|
191275
191286
|
_.value = T.call.isScreenSharingOn;
|
|
191276
191287
|
});
|
|
191277
191288
|
}
|
|
191278
|
-
function
|
|
191279
|
-
C.value = T.call.feature($5.UserFacingDiagnostics), C.value.media.on("diagnosticChanged",
|
|
191289
|
+
function je() {
|
|
191290
|
+
console.log("SubscribeToDiagnostics"), C.value = T.call.feature($5.UserFacingDiagnostics), C.value.media.on("diagnosticChanged", Me), C.value.network.on("diagnosticChanged", Me);
|
|
191280
191291
|
}
|
|
191281
|
-
function
|
|
191282
|
-
(e.diagnostic === "networkReceiveQuality" || e.diagnostic === "networkSendQuality") && (e.value === r6.Bad ? (console.error(`${e.diagnostic} is bad quality`), b.value = 0) : e.value === r6.Poor ? (console.error(`${e.diagnostic} is poor quality`), b.value = 1) : b.value = 2);
|
|
191292
|
+
function Me(e) {
|
|
191293
|
+
console.log("DiagnosticChangedListener"), (e.diagnostic === "networkReceiveQuality" || e.diagnostic === "networkSendQuality") && (e.value === r6.Bad ? (console.error(`${e.diagnostic} is bad quality`), b.value = 0) : e.value === r6.Poor ? (console.error(`${e.diagnostic} is poor quality`), b.value = 1) : b.value = 2);
|
|
191283
191294
|
}
|
|
191284
|
-
function
|
|
191285
|
-
switch (console.log("
|
|
191295
|
+
function Ne() {
|
|
191296
|
+
switch (console.log("CallStateIsChanged", T.call.state), T.call.state) {
|
|
191286
191297
|
case "EarlyMedia":
|
|
191287
191298
|
S.value = Q9;
|
|
191288
191299
|
break;
|
|
@@ -191293,20 +191304,20 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191293
191304
|
S.value = IBe;
|
|
191294
191305
|
break;
|
|
191295
191306
|
case "Disconnected":
|
|
191296
|
-
|
|
191307
|
+
xe();
|
|
191297
191308
|
break;
|
|
191298
191309
|
}
|
|
191299
191310
|
}
|
|
191300
|
-
async function
|
|
191301
|
-
if (!e || e.mediaStreamType !== "ScreenSharing" || !k.value) return;
|
|
191311
|
+
async function Pe(e) {
|
|
191312
|
+
if (console.log("RemoveLocalScreenShareStream"), !e || e.mediaStreamType !== "ScreenSharing" || !k.value) return;
|
|
191302
191313
|
k.value.dispose();
|
|
191303
191314
|
let t = document.querySelector(".outgoing__screenshare");
|
|
191304
191315
|
t.style.display = "none";
|
|
191305
191316
|
let n = document.querySelector(".outgoing__video");
|
|
191306
191317
|
n.style.display = "flex";
|
|
191307
191318
|
}
|
|
191308
|
-
async function
|
|
191309
|
-
if (!e || e.mediaStreamType !== "ScreenSharing") return;
|
|
191319
|
+
async function Fe(e) {
|
|
191320
|
+
if (console.log("DisplayLocalScreenShareStream"), !e || e.mediaStreamType !== "ScreenSharing") return;
|
|
191310
191321
|
k.value = await new A7(e).createView();
|
|
191311
191322
|
let t = document.querySelector(".outgoing__screenshare");
|
|
191312
191323
|
t.replaceChildren(k.value.target), t.style.display = "flex";
|
|
@@ -191315,8 +191326,8 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191315
191326
|
let r = t.querySelector("video");
|
|
191316
191327
|
r.style.objectFit = "contain";
|
|
191317
191328
|
}
|
|
191318
|
-
async function
|
|
191319
|
-
if (e && e.source && E.value && E.value.source && E.value.source.id == e.source.id) return !0;
|
|
191329
|
+
async function Ie(e) {
|
|
191330
|
+
if (console.log("DisplayLocalVideoStream"), e && e.source && E.value && E.value.source && E.value.source.id == e.source.id) return !0;
|
|
191320
191331
|
try {
|
|
191321
191332
|
ee.value = new A7(e);
|
|
191322
191333
|
let t = await ee.value.createView(), n = document.querySelector(".outgoing__video");
|
|
@@ -191326,79 +191337,83 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191326
191337
|
}
|
|
191327
191338
|
return E.value = e, !0;
|
|
191328
191339
|
}
|
|
191329
|
-
async function
|
|
191330
|
-
e.videoStreams.forEach(
|
|
191331
|
-
e.added.forEach(
|
|
191340
|
+
async function Le(e) {
|
|
191341
|
+
console.log("SubscribeToRemoteParticipant"), e.videoStreams.forEach(Re), e.on("videoStreamsUpdated", (e) => {
|
|
191342
|
+
e.added.forEach(Re);
|
|
191332
191343
|
});
|
|
191333
191344
|
}
|
|
191334
|
-
async function
|
|
191335
|
-
if (e.mediaStreamType === "Video" && (await
|
|
191345
|
+
async function Re(e) {
|
|
191346
|
+
if (console.log("DisplayRemoteVideoStream"), e.mediaStreamType === "Video" && (await ze(e), e.on("isAvailableChanged", async () => await ze(e))), e.mediaStreamType === "ScreenSharing" && e.on("isAvailableChanged", Ve), e.mediaStreamType === "ScreenSharing" && e.isAvailable) {
|
|
191336
191347
|
O.value = new A7(e);
|
|
191337
191348
|
let t = await O.value.createView(), n = document.querySelector(".incoming__screenshare");
|
|
191338
|
-
|
|
191349
|
+
Be(!0), y.value = !0, We(".incoming__screenshare"), n.replaceChildren(t.target);
|
|
191339
191350
|
}
|
|
191340
191351
|
}
|
|
191341
|
-
async function
|
|
191342
|
-
if (!e.isAvailable) return;
|
|
191352
|
+
async function ze(e) {
|
|
191353
|
+
if (console.log("RenderVideo"), !e.isAvailable) return;
|
|
191343
191354
|
O.value = new A7(e);
|
|
191344
191355
|
let t = await O.value.createView(), n = document.querySelector(".incoming__video");
|
|
191345
|
-
n.hidden = !1, n.replaceChildren(t.target),
|
|
191356
|
+
n.hidden = !1, n.replaceChildren(t.target), We(".incoming__video"), Be(!1);
|
|
191346
191357
|
}
|
|
191347
|
-
function
|
|
191358
|
+
function Be(e) {
|
|
191359
|
+
console.log("HideCameraStream");
|
|
191348
191360
|
let t = document.querySelector(".incoming__video"), n = document.querySelector(".incoming__screenshare");
|
|
191349
191361
|
t.style.display = e ? "none" : "block", n.style.display = e ? "flex" : "none";
|
|
191350
191362
|
}
|
|
191351
|
-
function
|
|
191352
|
-
y.value = !1,
|
|
191363
|
+
function Ve() {
|
|
191364
|
+
console.log("ScreenSharingAvailabilityChanged"), y.value = !1, Be(!1);
|
|
191353
191365
|
}
|
|
191354
|
-
async function
|
|
191355
|
-
|
|
191366
|
+
async function He() {
|
|
191367
|
+
console.log("SwitchLocalVideoStream"), Ue(!0);
|
|
191356
191368
|
}
|
|
191357
|
-
async function
|
|
191369
|
+
async function Ue(e = !1) {
|
|
191370
|
+
console.log("DisplayAvailableLocalVideoStream");
|
|
191358
191371
|
let t = T.call?.state;
|
|
191359
191372
|
if (t === "Connecting" || t === "EarlyMedia") return;
|
|
191360
191373
|
let n = (await T.deviceManager.getCameras()).filter((e) => e.name != "OBS Virtual Camera");
|
|
191361
191374
|
A.value = n.length;
|
|
191362
191375
|
for (let t = 0; t < A.value; t++) {
|
|
191363
|
-
(e || t != 0) && (
|
|
191364
|
-
let r = n[
|
|
191365
|
-
if (await
|
|
191376
|
+
(e || t != 0) && (ie.value = (ie.value + 1) % A.value);
|
|
191377
|
+
let r = n[ie.value];
|
|
191378
|
+
if (await Ie(new Z6(r))) break;
|
|
191366
191379
|
}
|
|
191367
191380
|
}
|
|
191368
|
-
function
|
|
191381
|
+
function We(e) {
|
|
191382
|
+
console.log("EnableMiniPlayerOnVideoElement");
|
|
191369
191383
|
let t = document.querySelector(e);
|
|
191370
191384
|
if (!t) return;
|
|
191371
191385
|
let n = t.querySelector("video");
|
|
191372
191386
|
n && (n.style.objectFit = "contain", n.disablePictureInPicture = !1);
|
|
191373
191387
|
}
|
|
191374
|
-
async function
|
|
191375
|
-
T.call && T.call.state !== "Disconnected" && (await T.call.hangUp({ forEveryone: !0 }), await T.agent.dispose()), o("end-video-call"), window.close();
|
|
191376
|
-
}
|
|
191377
|
-
function Ge() {
|
|
191378
|
-
window.close();
|
|
191388
|
+
async function Ge() {
|
|
191389
|
+
console.log("EndVideoCall"), T.call && T.call.state !== "Disconnected" && (await T.call.hangUp({ forEveryone: !0 }), await T.agent.dispose()), o("end-video-call"), window.close();
|
|
191379
191390
|
}
|
|
191380
191391
|
function Ke() {
|
|
191381
|
-
|
|
191392
|
+
console.log("CloseWindow"), window.close();
|
|
191393
|
+
}
|
|
191394
|
+
function qe() {
|
|
191395
|
+
console.log("InitAzureLogger"), _oe("verbose"), goe.log = (...e) => {
|
|
191382
191396
|
let t = [...e];
|
|
191383
191397
|
f.value = f.value.splice(1 - LBe).concat(t);
|
|
191384
191398
|
};
|
|
191385
191399
|
}
|
|
191386
|
-
function qe() {
|
|
191387
|
-
document.querySelector(ve.value).querySelector("video").requestFullscreen();
|
|
191388
|
-
}
|
|
191389
191400
|
function Je() {
|
|
191390
|
-
|
|
191401
|
+
console.log("ChangeToFullscreen"), document.querySelector(V.value).querySelector("video").requestFullscreen();
|
|
191402
|
+
}
|
|
191403
|
+
function Ye() {
|
|
191404
|
+
console.log("ChangeToMiniPlayer");
|
|
191405
|
+
let e = document.querySelector(V.value).querySelector("video");
|
|
191391
191406
|
document.pictureInPictureElement ? e.exitPictureInPicture() : document.pictureInPictureEnabled && e.requestPictureInPicture();
|
|
191392
191407
|
}
|
|
191393
|
-
async function
|
|
191394
|
-
T.call && T.call.isScreenSharingOn ? await T.call.stopScreenSharing() : await T.call.startScreenSharing();
|
|
191408
|
+
async function Xe() {
|
|
191409
|
+
console.log("OnShareScreen"), T.call && T.call.isScreenSharingOn ? await T.call.stopScreenSharing() : await T.call.startScreenSharing();
|
|
191395
191410
|
}
|
|
191396
191411
|
return n({
|
|
191397
|
-
CallDeclined:
|
|
191398
|
-
CallAnswered:
|
|
191399
|
-
CallStartVideoCall:
|
|
191400
|
-
CallHangUp:
|
|
191401
|
-
InitializeAcsConnection:
|
|
191412
|
+
CallDeclined: H,
|
|
191413
|
+
CallAnswered: ye,
|
|
191414
|
+
CallStartVideoCall: be,
|
|
191415
|
+
CallHangUp: xe,
|
|
191416
|
+
InitializeAcsConnection: Se
|
|
191402
191417
|
}), (n, r) => {
|
|
191403
191418
|
let a = se("BDLoader");
|
|
191404
191419
|
return j(), l("div", gBe, [m(ke, null, {
|
|
@@ -191414,21 +191429,21 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191414
191429
|
}), m(Ae, null, {
|
|
191415
191430
|
default: B(() => [m(U, {
|
|
191416
191431
|
sm: "12",
|
|
191417
|
-
lg:
|
|
191432
|
+
lg: he.value ? "12" : "8"
|
|
191418
191433
|
}, {
|
|
191419
|
-
default: B(() => [u("div", { class: D(["incoming",
|
|
191434
|
+
default: B(() => [u("div", { class: D(["incoming", de.value]) }, [_e.value ? (j(), l("div", _Be, [
|
|
191420
191435
|
m(a, {
|
|
191421
191436
|
size: "lg",
|
|
191422
|
-
message:
|
|
191423
|
-
stopAnimation:
|
|
191437
|
+
message: ve.value,
|
|
191438
|
+
stopAnimation: he.value || R.value || z.value
|
|
191424
191439
|
}, null, 8, ["message", "stopAnimation"]),
|
|
191425
|
-
|
|
191426
|
-
|
|
191427
|
-
|
|
191440
|
+
F.value ? (j(), l("div", vBe, [u("div", yBe, [m(Mi, { class: "icon-xl icon-state-error" })]), u("span", null, P(g.value.permissionDeniedForAudio), 1)])) : c("", !0),
|
|
191441
|
+
ue.value ? (j(), l("div", bBe, [u("div", xBe, [m(eo, { class: "icon-xl icon-state-error" })]), u("span", null, P(g.value.permissionDeniedForVideo), 1)])) : c("", !0),
|
|
191442
|
+
he.value || R.value || z.value ? (j(), s(xo, {
|
|
191428
191443
|
key: 2,
|
|
191429
191444
|
variant: "primary",
|
|
191430
191445
|
class: "text-center",
|
|
191431
|
-
onClick:
|
|
191446
|
+
onClick: Ke
|
|
191432
191447
|
}, {
|
|
191433
191448
|
default: B(() => [p(P(g.value.closeWindow), 1)]),
|
|
191434
191449
|
_: 1
|
|
@@ -191439,7 +191454,7 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191439
191454
|
u("div", CBe, [m(xo, {
|
|
191440
191455
|
variant: "primary",
|
|
191441
191456
|
class: "text-center",
|
|
191442
|
-
onClick:
|
|
191457
|
+
onClick: Je
|
|
191443
191458
|
}, {
|
|
191444
191459
|
default: B(() => [m(ha), u("span", null, P(g.value.fullScreen), 1)]),
|
|
191445
191460
|
_: 1
|
|
@@ -191447,45 +191462,45 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191447
191462
|
key: 0,
|
|
191448
191463
|
variant: "primary",
|
|
191449
191464
|
class: "text-center",
|
|
191450
|
-
onClick:
|
|
191465
|
+
onClick: Ye
|
|
191451
191466
|
}, {
|
|
191452
191467
|
default: B(() => [m(ha), u("span", null, P(g.value.miniPlayer), 1)]),
|
|
191453
191468
|
_: 1
|
|
191454
191469
|
})) : c("", !0)])
|
|
191455
191470
|
]))], 2)]),
|
|
191456
191471
|
_: 1
|
|
191457
|
-
}, 8, ["lg"]),
|
|
191472
|
+
}, 8, ["lg"]), he.value ? c("", !0) : (j(), s(U, {
|
|
191458
191473
|
key: 0,
|
|
191459
191474
|
sm: "12",
|
|
191460
191475
|
lg: "4"
|
|
191461
191476
|
}, {
|
|
191462
191477
|
default: B(() => [u("div", wBe, [u("div", null, [u("div", TBe, [u("div", EBe, [
|
|
191463
|
-
|
|
191478
|
+
z.value ? c("", !0) : (j(), l("div", DBe)),
|
|
191464
191479
|
r[2] ||= u("div", { class: "outgoing__screenshare" }, null, -1),
|
|
191465
|
-
|
|
191480
|
+
le.value && !z.value && !v.value && !_e.value ? (j(), s(xo, {
|
|
191466
191481
|
key: 1,
|
|
191467
191482
|
variant: _.value ? "danger" : "primary",
|
|
191468
191483
|
class: "text-center",
|
|
191469
|
-
onClick:
|
|
191484
|
+
onClick: Xe
|
|
191470
191485
|
}, {
|
|
191471
|
-
default: B(() => [m(ha), u("span", null, P(
|
|
191486
|
+
default: B(() => [m(ha), u("span", null, P(pe.value), 1)]),
|
|
191472
191487
|
_: 1
|
|
191473
191488
|
}, 8, ["variant"])) : c("", !0),
|
|
191474
|
-
|
|
191489
|
+
ce.value ? (j(), l(t, { key: 2 }, [m(xo, {
|
|
191475
191490
|
class: "text-center",
|
|
191476
|
-
onClick:
|
|
191491
|
+
onClick: He
|
|
191477
191492
|
}, {
|
|
191478
191493
|
default: B(() => [p(P(g.value.switchCamera), 1)]),
|
|
191479
191494
|
_: 1
|
|
191480
|
-
}), u("p", OBe, P(
|
|
191481
|
-
|
|
191482
|
-
])]), u("div", jBe, [u("div", { class: D(["settings__signal",
|
|
191495
|
+
}), u("p", OBe, P(oe.value), 1)], 64)) : c("", !0),
|
|
191496
|
+
ue.value ? (j(), l("div", kBe, [u("div", ABe, [m(eo, { class: "icon-xxl icon-state-error" })]), u("span", null, P(g.value.permissionDeniedForVideo), 1)])) : c("", !0)
|
|
191497
|
+
])]), u("div", jBe, [u("div", { class: D(["settings__signal", I.value]) }, [r[3] ||= u("ul", { class: "indicator" }, [
|
|
191483
191498
|
u("li"),
|
|
191484
191499
|
u("li"),
|
|
191485
191500
|
u("li")
|
|
191486
|
-
], -1), u("p", null, P(
|
|
191487
|
-
u("p", null, [u("b", null, P(
|
|
191488
|
-
u("p", null, P(
|
|
191501
|
+
], -1), u("p", null, P(fe.value), 1)], 2), u("div", MBe, [
|
|
191502
|
+
u("p", null, [u("b", null, P(me.value), 1)]),
|
|
191503
|
+
u("p", null, P(L.value), 1),
|
|
191489
191504
|
u("p", null, [
|
|
191490
191505
|
u("a", {
|
|
191491
191506
|
href: i.videoTestUrl,
|
|
@@ -191495,11 +191510,11 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191495
191510
|
r[4] ||= p(" • ", -1),
|
|
191496
191511
|
u("a", PBe, P(g.value.serviceDesk), 1)
|
|
191497
191512
|
])
|
|
191498
|
-
])])]), !
|
|
191513
|
+
])])]), !R.value && !z.value ? (j(), s(xo, {
|
|
191499
191514
|
key: 0,
|
|
191500
191515
|
variant: "danger",
|
|
191501
191516
|
class: "text-center w-100",
|
|
191502
|
-
onClick:
|
|
191517
|
+
onClick: Ge
|
|
191503
191518
|
}, {
|
|
191504
191519
|
default: B(() => [m(Fn), u("span", null, P(g.value.endCall), 1)]),
|
|
191505
191520
|
_: 1
|