@beterdichtbij/component-library 0.66.0-alpha.12 → 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,111 +191186,113 @@ 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
|
|
191221
|
+
function H() {
|
|
191220
191222
|
console.log("CallDeclined"), S.value = Z9;
|
|
191221
191223
|
}
|
|
191222
|
-
function
|
|
191224
|
+
function ye() {
|
|
191223
191225
|
console.log("CallAnswered");
|
|
191224
191226
|
}
|
|
191225
|
-
function
|
|
191226
|
-
console.log("CallStartVideoCall"), S.value !== $9 && !i.isCallee &&
|
|
191227
|
+
function be() {
|
|
191228
|
+
console.log("CallStartVideoCall"), S.value !== $9 && !i.isCallee && Te();
|
|
191227
191229
|
}
|
|
191228
|
-
async function
|
|
191229
|
-
console.log("CallHangUp"), S.value = FBe, x.value.video &&
|
|
191230
|
+
async function xe() {
|
|
191231
|
+
console.log("CallHangUp"), S.value = FBe, x.value.video && Ue();
|
|
191230
191232
|
}
|
|
191231
|
-
async function
|
|
191233
|
+
async function Se(e) {
|
|
191232
191234
|
console.log("InitializeAcsConnection"), T.client = w(new G9());
|
|
191233
191235
|
let t = new Hue(e);
|
|
191234
191236
|
T.agent = w(await T.client.createCallAgent(t)), T.deviceManager = await T.client.getDeviceManager(), x.value = await T.deviceManager.askDevicePermission({
|
|
191235
191237
|
video: !0,
|
|
191236
191238
|
audio: !0
|
|
191237
|
-
}),
|
|
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"));
|
|
191238
191240
|
}
|
|
191239
|
-
async function
|
|
191240
|
-
if (console.log("SetIncomingCall"), !
|
|
191241
|
-
|
|
191241
|
+
async function Ce(e) {
|
|
191242
|
+
if (console.log("SetIncomingCall"), !ae.value) try {
|
|
191243
|
+
ae.value = !0, T.incomingCall = e.incomingCall, await Ee();
|
|
191242
191244
|
} catch {
|
|
191243
191245
|
console.log("error occured during starting call");
|
|
191244
191246
|
} finally {
|
|
191245
|
-
|
|
191247
|
+
ae.value = !1;
|
|
191246
191248
|
}
|
|
191247
191249
|
}
|
|
191248
|
-
async function
|
|
191250
|
+
async function we() {
|
|
191249
191251
|
console.log("CreateNewVideoOptions");
|
|
191250
|
-
let e = await
|
|
191252
|
+
let e = await De();
|
|
191251
191253
|
return e ? { localVideoStreams: [e] } : void 0;
|
|
191252
191254
|
}
|
|
191253
|
-
async function
|
|
191255
|
+
async function Te() {
|
|
191254
191256
|
console.log("StartCall");
|
|
191255
191257
|
try {
|
|
191256
|
-
let e = { videoOptions: await
|
|
191257
|
-
T.call = T.agent.startCall(t, e),
|
|
191258
|
+
let e = { videoOptions: await we() }, t = [{ communicationUserId: i.participant.videoCallIdentityId }];
|
|
191259
|
+
T.call = T.agent.startCall(t, e), je(), Oe();
|
|
191258
191260
|
} catch (e) {
|
|
191259
191261
|
console.error(e);
|
|
191260
191262
|
}
|
|
191261
191263
|
}
|
|
191262
|
-
async function
|
|
191264
|
+
async function Ee() {
|
|
191263
191265
|
console.log("AcceptCall");
|
|
191264
|
-
let e = await
|
|
191266
|
+
let e = await we();
|
|
191265
191267
|
try {
|
|
191266
191268
|
T.call = await T.incomingCall.accept({ videoOptions: e });
|
|
191267
191269
|
} catch (e) {
|
|
191268
191270
|
console.error(e);
|
|
191269
191271
|
}
|
|
191270
|
-
|
|
191272
|
+
je(), Oe();
|
|
191271
191273
|
}
|
|
191272
|
-
async function
|
|
191274
|
+
async function De() {
|
|
191273
191275
|
console.log("CreateLocalVideoStream");
|
|
191274
191276
|
let e = (await T.deviceManager.getCameras())[0];
|
|
191275
191277
|
if (e) return new Z6(e);
|
|
191276
191278
|
console.error("No camera device found on the system");
|
|
191277
191279
|
}
|
|
191278
|
-
function
|
|
191279
|
-
console.log("SubscribeToCall"), T.call.on("stateChanged",
|
|
191280
|
-
e.added.forEach(
|
|
191281
|
-
}), T.call.remoteParticipants.forEach(
|
|
191282
|
-
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);
|
|
191283
191285
|
}), T.call.on("isScreenSharingOnChanged", () => {
|
|
191284
191286
|
_.value = T.call.isScreenSharingOn;
|
|
191285
191287
|
});
|
|
191286
191288
|
}
|
|
191287
|
-
function
|
|
191288
|
-
console.log("SubscribeToDiagnostics"), 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);
|
|
191289
191291
|
}
|
|
191290
|
-
function
|
|
191292
|
+
function Me(e) {
|
|
191291
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);
|
|
191292
191294
|
}
|
|
191293
|
-
function
|
|
191295
|
+
function Ne() {
|
|
191294
191296
|
switch (console.log("CallStateIsChanged", T.call.state), T.call.state) {
|
|
191295
191297
|
case "EarlyMedia":
|
|
191296
191298
|
S.value = Q9;
|
|
@@ -191302,11 +191304,11 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191302
191304
|
S.value = IBe;
|
|
191303
191305
|
break;
|
|
191304
191306
|
case "Disconnected":
|
|
191305
|
-
|
|
191307
|
+
xe();
|
|
191306
191308
|
break;
|
|
191307
191309
|
}
|
|
191308
191310
|
}
|
|
191309
|
-
async function
|
|
191311
|
+
async function Pe(e) {
|
|
191310
191312
|
if (console.log("RemoveLocalScreenShareStream"), !e || e.mediaStreamType !== "ScreenSharing" || !k.value) return;
|
|
191311
191313
|
k.value.dispose();
|
|
191312
191314
|
let t = document.querySelector(".outgoing__screenshare");
|
|
@@ -191314,7 +191316,7 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191314
191316
|
let n = document.querySelector(".outgoing__video");
|
|
191315
191317
|
n.style.display = "flex";
|
|
191316
191318
|
}
|
|
191317
|
-
async function
|
|
191319
|
+
async function Fe(e) {
|
|
191318
191320
|
if (console.log("DisplayLocalScreenShareStream"), !e || e.mediaStreamType !== "ScreenSharing") return;
|
|
191319
191321
|
k.value = await new A7(e).createView();
|
|
191320
191322
|
let t = document.querySelector(".outgoing__screenshare");
|
|
@@ -191324,7 +191326,7 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191324
191326
|
let r = t.querySelector("video");
|
|
191325
191327
|
r.style.objectFit = "contain";
|
|
191326
191328
|
}
|
|
191327
|
-
async function
|
|
191329
|
+
async function Ie(e) {
|
|
191328
191330
|
if (console.log("DisplayLocalVideoStream"), e && e.source && E.value && E.value.source && E.value.source.id == e.source.id) return !0;
|
|
191329
191331
|
try {
|
|
191330
191332
|
ee.value = new A7(e);
|
|
@@ -191335,83 +191337,83 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191335
191337
|
}
|
|
191336
191338
|
return E.value = e, !0;
|
|
191337
191339
|
}
|
|
191338
|
-
async function
|
|
191339
|
-
console.log("SubscribeToRemoteParticipant"), e.videoStreams.forEach(
|
|
191340
|
-
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);
|
|
191341
191343
|
});
|
|
191342
191344
|
}
|
|
191343
|
-
async function
|
|
191344
|
-
if (console.log("DisplayRemoteVideoStream"), 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) {
|
|
191345
191347
|
O.value = new A7(e);
|
|
191346
191348
|
let t = await O.value.createView(), n = document.querySelector(".incoming__screenshare");
|
|
191347
|
-
|
|
191349
|
+
Be(!0), y.value = !0, We(".incoming__screenshare"), n.replaceChildren(t.target);
|
|
191348
191350
|
}
|
|
191349
191351
|
}
|
|
191350
|
-
async function
|
|
191352
|
+
async function ze(e) {
|
|
191351
191353
|
if (console.log("RenderVideo"), !e.isAvailable) return;
|
|
191352
191354
|
O.value = new A7(e);
|
|
191353
191355
|
let t = await O.value.createView(), n = document.querySelector(".incoming__video");
|
|
191354
|
-
n.hidden = !1, n.replaceChildren(t.target),
|
|
191356
|
+
n.hidden = !1, n.replaceChildren(t.target), We(".incoming__video"), Be(!1);
|
|
191355
191357
|
}
|
|
191356
|
-
function
|
|
191358
|
+
function Be(e) {
|
|
191357
191359
|
console.log("HideCameraStream");
|
|
191358
191360
|
let t = document.querySelector(".incoming__video"), n = document.querySelector(".incoming__screenshare");
|
|
191359
191361
|
t.style.display = e ? "none" : "block", n.style.display = e ? "flex" : "none";
|
|
191360
191362
|
}
|
|
191361
|
-
function
|
|
191362
|
-
console.log("ScreenSharingAvailabilityChanged"), y.value = !1,
|
|
191363
|
+
function Ve() {
|
|
191364
|
+
console.log("ScreenSharingAvailabilityChanged"), y.value = !1, Be(!1);
|
|
191363
191365
|
}
|
|
191364
|
-
async function
|
|
191365
|
-
console.log("SwitchLocalVideoStream"),
|
|
191366
|
+
async function He() {
|
|
191367
|
+
console.log("SwitchLocalVideoStream"), Ue(!0);
|
|
191366
191368
|
}
|
|
191367
|
-
async function
|
|
191369
|
+
async function Ue(e = !1) {
|
|
191368
191370
|
console.log("DisplayAvailableLocalVideoStream");
|
|
191369
191371
|
let t = T.call?.state;
|
|
191370
191372
|
if (t === "Connecting" || t === "EarlyMedia") return;
|
|
191371
191373
|
let n = (await T.deviceManager.getCameras()).filter((e) => e.name != "OBS Virtual Camera");
|
|
191372
191374
|
A.value = n.length;
|
|
191373
191375
|
for (let t = 0; t < A.value; t++) {
|
|
191374
|
-
(e || t != 0) && (
|
|
191375
|
-
let r = n[
|
|
191376
|
-
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;
|
|
191377
191379
|
}
|
|
191378
191380
|
}
|
|
191379
|
-
function
|
|
191381
|
+
function We(e) {
|
|
191380
191382
|
console.log("EnableMiniPlayerOnVideoElement");
|
|
191381
191383
|
let t = document.querySelector(e);
|
|
191382
191384
|
if (!t) return;
|
|
191383
191385
|
let n = t.querySelector("video");
|
|
191384
191386
|
n && (n.style.objectFit = "contain", n.disablePictureInPicture = !1);
|
|
191385
191387
|
}
|
|
191386
|
-
async function
|
|
191388
|
+
async function Ge() {
|
|
191387
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();
|
|
191388
191390
|
}
|
|
191389
|
-
function
|
|
191391
|
+
function Ke() {
|
|
191390
191392
|
console.log("CloseWindow"), window.close();
|
|
191391
191393
|
}
|
|
191392
|
-
function
|
|
191394
|
+
function qe() {
|
|
191393
191395
|
console.log("InitAzureLogger"), _oe("verbose"), goe.log = (...e) => {
|
|
191394
191396
|
let t = [...e];
|
|
191395
191397
|
f.value = f.value.splice(1 - LBe).concat(t);
|
|
191396
191398
|
};
|
|
191397
191399
|
}
|
|
191398
|
-
function qe() {
|
|
191399
|
-
console.log("ChangeToFullscreen"), document.querySelector(ve.value).querySelector("video").requestFullscreen();
|
|
191400
|
-
}
|
|
191401
191400
|
function Je() {
|
|
191401
|
+
console.log("ChangeToFullscreen"), document.querySelector(V.value).querySelector("video").requestFullscreen();
|
|
191402
|
+
}
|
|
191403
|
+
function Ye() {
|
|
191402
191404
|
console.log("ChangeToMiniPlayer");
|
|
191403
|
-
let e = document.querySelector(
|
|
191405
|
+
let e = document.querySelector(V.value).querySelector("video");
|
|
191404
191406
|
document.pictureInPictureElement ? e.exitPictureInPicture() : document.pictureInPictureEnabled && e.requestPictureInPicture();
|
|
191405
191407
|
}
|
|
191406
|
-
async function
|
|
191408
|
+
async function Xe() {
|
|
191407
191409
|
console.log("OnShareScreen"), T.call && T.call.isScreenSharingOn ? await T.call.stopScreenSharing() : await T.call.startScreenSharing();
|
|
191408
191410
|
}
|
|
191409
191411
|
return n({
|
|
191410
|
-
CallDeclined:
|
|
191411
|
-
CallAnswered:
|
|
191412
|
-
CallStartVideoCall:
|
|
191413
|
-
CallHangUp:
|
|
191414
|
-
InitializeAcsConnection:
|
|
191412
|
+
CallDeclined: H,
|
|
191413
|
+
CallAnswered: ye,
|
|
191414
|
+
CallStartVideoCall: be,
|
|
191415
|
+
CallHangUp: xe,
|
|
191416
|
+
InitializeAcsConnection: Se
|
|
191415
191417
|
}), (n, r) => {
|
|
191416
191418
|
let a = se("BDLoader");
|
|
191417
191419
|
return j(), l("div", gBe, [m(ke, null, {
|
|
@@ -191427,21 +191429,21 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191427
191429
|
}), m(Ae, null, {
|
|
191428
191430
|
default: B(() => [m(U, {
|
|
191429
191431
|
sm: "12",
|
|
191430
|
-
lg:
|
|
191432
|
+
lg: he.value ? "12" : "8"
|
|
191431
191433
|
}, {
|
|
191432
|
-
default: B(() => [u("div", { class: D(["incoming",
|
|
191434
|
+
default: B(() => [u("div", { class: D(["incoming", de.value]) }, [_e.value ? (j(), l("div", _Be, [
|
|
191433
191435
|
m(a, {
|
|
191434
191436
|
size: "lg",
|
|
191435
|
-
message:
|
|
191436
|
-
stopAnimation:
|
|
191437
|
+
message: ve.value,
|
|
191438
|
+
stopAnimation: he.value || R.value || z.value
|
|
191437
191439
|
}, null, 8, ["message", "stopAnimation"]),
|
|
191438
|
-
|
|
191439
|
-
|
|
191440
|
-
|
|
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, {
|
|
191441
191443
|
key: 2,
|
|
191442
191444
|
variant: "primary",
|
|
191443
191445
|
class: "text-center",
|
|
191444
|
-
onClick:
|
|
191446
|
+
onClick: Ke
|
|
191445
191447
|
}, {
|
|
191446
191448
|
default: B(() => [p(P(g.value.closeWindow), 1)]),
|
|
191447
191449
|
_: 1
|
|
@@ -191452,7 +191454,7 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191452
191454
|
u("div", CBe, [m(xo, {
|
|
191453
191455
|
variant: "primary",
|
|
191454
191456
|
class: "text-center",
|
|
191455
|
-
onClick:
|
|
191457
|
+
onClick: Je
|
|
191456
191458
|
}, {
|
|
191457
191459
|
default: B(() => [m(ha), u("span", null, P(g.value.fullScreen), 1)]),
|
|
191458
191460
|
_: 1
|
|
@@ -191460,45 +191462,45 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191460
191462
|
key: 0,
|
|
191461
191463
|
variant: "primary",
|
|
191462
191464
|
class: "text-center",
|
|
191463
|
-
onClick:
|
|
191465
|
+
onClick: Ye
|
|
191464
191466
|
}, {
|
|
191465
191467
|
default: B(() => [m(ha), u("span", null, P(g.value.miniPlayer), 1)]),
|
|
191466
191468
|
_: 1
|
|
191467
191469
|
})) : c("", !0)])
|
|
191468
191470
|
]))], 2)]),
|
|
191469
191471
|
_: 1
|
|
191470
|
-
}, 8, ["lg"]),
|
|
191472
|
+
}, 8, ["lg"]), he.value ? c("", !0) : (j(), s(U, {
|
|
191471
191473
|
key: 0,
|
|
191472
191474
|
sm: "12",
|
|
191473
191475
|
lg: "4"
|
|
191474
191476
|
}, {
|
|
191475
191477
|
default: B(() => [u("div", wBe, [u("div", null, [u("div", TBe, [u("div", EBe, [
|
|
191476
|
-
|
|
191478
|
+
z.value ? c("", !0) : (j(), l("div", DBe)),
|
|
191477
191479
|
r[2] ||= u("div", { class: "outgoing__screenshare" }, null, -1),
|
|
191478
|
-
|
|
191480
|
+
le.value && !z.value && !v.value && !_e.value ? (j(), s(xo, {
|
|
191479
191481
|
key: 1,
|
|
191480
191482
|
variant: _.value ? "danger" : "primary",
|
|
191481
191483
|
class: "text-center",
|
|
191482
|
-
onClick:
|
|
191484
|
+
onClick: Xe
|
|
191483
191485
|
}, {
|
|
191484
|
-
default: B(() => [m(ha), u("span", null, P(
|
|
191486
|
+
default: B(() => [m(ha), u("span", null, P(pe.value), 1)]),
|
|
191485
191487
|
_: 1
|
|
191486
191488
|
}, 8, ["variant"])) : c("", !0),
|
|
191487
|
-
|
|
191489
|
+
ce.value ? (j(), l(t, { key: 2 }, [m(xo, {
|
|
191488
191490
|
class: "text-center",
|
|
191489
|
-
onClick:
|
|
191491
|
+
onClick: He
|
|
191490
191492
|
}, {
|
|
191491
191493
|
default: B(() => [p(P(g.value.switchCamera), 1)]),
|
|
191492
191494
|
_: 1
|
|
191493
|
-
}), u("p", OBe, P(
|
|
191494
|
-
|
|
191495
|
-
])]), 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" }, [
|
|
191496
191498
|
u("li"),
|
|
191497
191499
|
u("li"),
|
|
191498
191500
|
u("li")
|
|
191499
|
-
], -1), u("p", null, P(
|
|
191500
|
-
u("p", null, [u("b", null, P(
|
|
191501
|
-
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),
|
|
191502
191504
|
u("p", null, [
|
|
191503
191505
|
u("a", {
|
|
191504
191506
|
href: i.videoTestUrl,
|
|
@@ -191508,11 +191510,11 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191508
191510
|
r[4] ||= p(" • ", -1),
|
|
191509
191511
|
u("a", PBe, P(g.value.serviceDesk), 1)
|
|
191510
191512
|
])
|
|
191511
|
-
])])]), !
|
|
191513
|
+
])])]), !R.value && !z.value ? (j(), s(xo, {
|
|
191512
191514
|
key: 0,
|
|
191513
191515
|
variant: "danger",
|
|
191514
191516
|
class: "text-center w-100",
|
|
191515
|
-
onClick:
|
|
191517
|
+
onClick: Ge
|
|
191516
191518
|
}, {
|
|
191517
191519
|
default: B(() => [m(Fn), u("span", null, P(g.value.endCall), 1)]),
|
|
191518
191520
|
_: 1
|