@beterdichtbij/component-library 0.0.0-dev-timo.11 → 0.0.0-dev-timo.12
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.
|
@@ -11573,6 +11573,7 @@ var Mb = {
|
|
|
11573
11573
|
switchCamera: "Wissel camera",
|
|
11574
11574
|
microphoneMute: "Microfoon uitzetten",
|
|
11575
11575
|
microphoneUnmute: "Microfoon aanzetten",
|
|
11576
|
+
microphoneMutedNotice: "Je microfoon staat uit",
|
|
11576
11577
|
cameraOff: "Camera uitzetten",
|
|
11577
11578
|
cameraOn: "Camera aanzetten",
|
|
11578
11579
|
backgroundBlur: "Achtergrond vervagen",
|
|
@@ -32165,20 +32166,23 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32165
32166
|
}, uZ = { class: "permissions-denied__video-disabled" }, dZ = {
|
|
32166
32167
|
key: 1,
|
|
32167
32168
|
class: "card"
|
|
32168
|
-
}, fZ = { class: "incoming__settings" }, pZ = { class: "side" }, mZ = { class: "
|
|
32169
|
+
}, fZ = { class: "incoming__settings" }, pZ = { class: "side" }, mZ = { class: "outgoing__container" }, hZ = { class: "outgoing" }, gZ = {
|
|
32169
32170
|
key: 0,
|
|
32170
32171
|
class: "outgoing__video-disabled"
|
|
32171
|
-
}, _Z = { class: "
|
|
32172
|
-
key:
|
|
32172
|
+
}, _Z = { class: "outgoing__foreground" }, vZ = {
|
|
32173
|
+
key: 0,
|
|
32174
|
+
class: "microphone-notice"
|
|
32175
|
+
}, yZ = { class: "outgoing__controls" }, bZ = ["alt"], xZ = ["alt"], SZ = ["alt"], CZ = ["alt"], wZ = { class: "outgoing__available-cameras-count text-center" }, TZ = {
|
|
32176
|
+
key: 2,
|
|
32173
32177
|
class: "permissions-denied__video"
|
|
32174
|
-
},
|
|
32178
|
+
}, EZ = { class: "permissions-denied__video-disabled" }, DZ = { class: "settings" }, OZ = { class: "settings__status" }, kZ = { class: "settings__status-text" }, AZ = {
|
|
32175
32179
|
key: 0,
|
|
32176
32180
|
class: "settings__status-detail"
|
|
32177
|
-
},
|
|
32181
|
+
}, jZ = { class: "settings__help" }, MZ = ["href"], NZ = {
|
|
32178
32182
|
href: "https://www.beterdichtbij.nl/service-contact/",
|
|
32179
32183
|
target: "_blank",
|
|
32180
32184
|
rel: "noopener noreferrer"
|
|
32181
|
-
},
|
|
32185
|
+
}, PZ = 2e3, FZ = {
|
|
32182
32186
|
__name: "BDVideoCallTemplate",
|
|
32183
32187
|
props: {
|
|
32184
32188
|
participant: {
|
|
@@ -32219,88 +32223,88 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32219
32223
|
deviceManager: null,
|
|
32220
32224
|
incomingCall: null,
|
|
32221
32225
|
call: null
|
|
32222
|
-
}), ue = A(null), de = A(null), fe = A(null), pe = A(!0), me = A(!1), he = A(null), ge = A(null), _e = A(null), ve = A(0), ye = A(0), be = A(null), xe = A(!1), Ce = A(""), we = A(""), Te = A(null), Ee = A(null), De = A(!0), Oe = A(!1), ke = A(!1), Ae = A(
|
|
32226
|
+
}), ue = A(null), de = A(null), fe = A(null), pe = A(!0), me = A(!1), he = A(null), ge = A(null), _e = A(null), ve = A(0), ye = A(0), be = A(null), xe = A(!1), Ce = A(""), we = A(""), Te = A(null), Ee = A(null), De = A(!0), Oe = A(!1), ke = A(!1), Ae = A(!1), je = A(null), Me = A(null), Ne = A(null), Pe = A(null), L = null, Fe = null, Ie = null, Le = a(() => Oe.value || at.value), Re = a(() => ke.value && Ae.value), ze = a(() => {
|
|
32223
32227
|
switch (ve.value) {
|
|
32224
|
-
case 0: return
|
|
32225
|
-
case 1: return
|
|
32226
|
-
default: return
|
|
32228
|
+
case 0: return Ze.value.hasNoAvailableCamera;
|
|
32229
|
+
case 1: return Ze.value.hasOneAvailableCamera;
|
|
32230
|
+
default: return Ze.value.hasMultipleAvailableCameras;
|
|
32227
32231
|
}
|
|
32228
|
-
}),
|
|
32232
|
+
}), Be = a(() => {
|
|
32229
32233
|
let e = navigator.userAgent;
|
|
32230
32234
|
return /Mobi/.test(e) && !te.value;
|
|
32231
|
-
}),
|
|
32235
|
+
}), Ve = a(() => {
|
|
32232
32236
|
let e = navigator.userAgent, t = e.indexOf("Android") !== -1, n = /Mobi/.test(e), r = /iPad|iPhone|iPod/.test(e) && !window.MSStream;
|
|
32233
32237
|
return !(t && n || r);
|
|
32234
|
-
}),
|
|
32238
|
+
}), He = a(() => !j.value?.video && at.value), Ue = a(() => !j.value?.audio && at.value), We = a(() => M.value === i.Declined ? "incoming--declined" : "incoming--loading"), Ge = a(() => {
|
|
32235
32239
|
switch (se.value) {
|
|
32236
32240
|
case 0: return "weak";
|
|
32237
32241
|
case 1: return "steady";
|
|
32238
32242
|
case 2: return "strong";
|
|
32239
32243
|
default: return null;
|
|
32240
32244
|
}
|
|
32241
|
-
}),
|
|
32245
|
+
}), Ke = a(() => {
|
|
32242
32246
|
switch (se.value) {
|
|
32243
32247
|
case 0: return O.value.signalStrength.weak;
|
|
32244
32248
|
case 1: return O.value.signalStrength.steady;
|
|
32245
32249
|
case 2: return O.value.signalStrength.strong;
|
|
32246
32250
|
default: return null;
|
|
32247
32251
|
}
|
|
32248
|
-
}),
|
|
32249
|
-
function
|
|
32252
|
+
}), qe = a(() => O.value.videoCallTemplate || O.value), Je = a(() => qe.value.actions || qe.value), Ye = a(() => qe.value.help || qe.value), Xe = a(() => qe.value.permissions || qe.value), Ze = a(() => qe.value.cameraAvailability || qe.value), Qe = a(() => te.value ? Je.value.stopSharingScreen : Je.value.shareScreen), $e = a(() => Ye.value.placeholderSettingsHelpTitle), et = a(() => Ye.value.placeholderSettingsHelpMessage), tt = a(() => M.value === i.Declined), nt = a(() => M.value === i.HangedUp), rt = a(() => M.value === i.Connected), it = a(() => !rt.value), at = a(() => M.value === i.DevicePermissionDenied), ot = a(() => qe.value.statusTextMessage || qe.value), st = a(() => qe.value.statusDetailMessage || qe.value), ct = a(() => x.participantRole), lt = a(() => ke.value ? Je.value.microphoneUnmute : Je.value.microphoneMute), ut = a(() => Oe.value ? Je.value.cameraOn : Je.value.cameraOff), dt = a(() => pe.value ? Je.value.backgroundBlurUnavailable : De.value ? Je.value.backgroundBlur : Je.value.backgroundUnblur);
|
|
32253
|
+
function ft(e) {
|
|
32250
32254
|
if (typeof e != "string") return e;
|
|
32251
|
-
let t = e.replaceAll("{participantRole}",
|
|
32255
|
+
let t = e.replaceAll("{participantRole}", ct.value);
|
|
32252
32256
|
return t && t.charAt(0).toLocaleUpperCase() + t.slice(1);
|
|
32253
32257
|
}
|
|
32254
|
-
let
|
|
32258
|
+
let pt = a(() => {
|
|
32255
32259
|
switch (M.value) {
|
|
32256
|
-
case i.Initializing: return
|
|
32257
|
-
case i.Dialing: return
|
|
32258
|
-
case i.Ringing: return
|
|
32259
|
-
case i.Answered: return
|
|
32260
|
-
case i.Connected: return
|
|
32261
|
-
case i.Declined: return
|
|
32262
|
-
case i.HangedUp: return
|
|
32263
|
-
case i.DevicePermissionDenied: return
|
|
32264
|
-
}
|
|
32265
|
-
}),
|
|
32260
|
+
case i.Initializing: return ft(ot.value.initializing);
|
|
32261
|
+
case i.Dialing: return ft(ot.value.dialing);
|
|
32262
|
+
case i.Ringing: return ft(ot.value.ringing);
|
|
32263
|
+
case i.Answered: return ft(ot.value.answered);
|
|
32264
|
+
case i.Connected: return ft(ot.value.connected);
|
|
32265
|
+
case i.Declined: return ft(ot.value.videoCallDeclined);
|
|
32266
|
+
case i.HangedUp: return ft(ot.value.videoCallHangedUp);
|
|
32267
|
+
case i.DevicePermissionDenied: return ft(ot.value.devicePermissionDenied);
|
|
32268
|
+
}
|
|
32269
|
+
}), mt = a(() => Ce.value || pt.value), ht = a(() => we.value);
|
|
32266
32270
|
ne(() => {
|
|
32267
|
-
|
|
32271
|
+
nn(), _t(), Ee.value = window.setInterval(At, 5e3);
|
|
32268
32272
|
}), ie(() => {
|
|
32269
|
-
be.value && window.clearInterval(be.value), Ee.value && window.clearInterval(Ee.value),
|
|
32273
|
+
be.value && window.clearInterval(be.value), Ee.value && window.clearInterval(Ee.value), gt(), en();
|
|
32270
32274
|
});
|
|
32271
|
-
function
|
|
32272
|
-
|
|
32273
|
-
}
|
|
32274
|
-
function
|
|
32275
|
-
|
|
32276
|
-
M.value === i.Initializing && (Ce.value =
|
|
32277
|
-
}, 3e4) : M.value === i.Dialing ?
|
|
32278
|
-
M.value === i.Dialing && (Ce.value = "", we.value =
|
|
32279
|
-
}, 1e4) : M.value === i.Connected && (
|
|
32280
|
-
M.value === i.Connected && (we.value =
|
|
32275
|
+
function gt() {
|
|
32276
|
+
L &&= (window.clearTimeout(L), null), Fe &&= (window.clearTimeout(Fe), null), Ie &&= (window.clearTimeout(Ie), null);
|
|
32277
|
+
}
|
|
32278
|
+
function _t() {
|
|
32279
|
+
gt(), M.value === i.Initializing ? L = window.setTimeout(() => {
|
|
32280
|
+
M.value === i.Initializing && (Ce.value = ft(ot.value.callNotDelivered), we.value = ft(st.value.callNotDeliveredDetail));
|
|
32281
|
+
}, 3e4) : M.value === i.Dialing ? Fe = window.setTimeout(() => {
|
|
32282
|
+
M.value === i.Dialing && (Ce.value = "", we.value = ft(st.value.notAnsweredDetail));
|
|
32283
|
+
}, 1e4) : M.value === i.Connected && (Ie = window.setTimeout(() => {
|
|
32284
|
+
M.value === i.Connected && (we.value = ft(st.value.noVideoHint));
|
|
32281
32285
|
}, 5e3));
|
|
32282
32286
|
}
|
|
32283
|
-
function
|
|
32287
|
+
function vt(e) {
|
|
32284
32288
|
[
|
|
32285
32289
|
i.Declined,
|
|
32286
32290
|
i.HangedUp,
|
|
32287
32291
|
i.DevicePermissionDenied
|
|
32288
|
-
].includes(M.value) || (M.value = e, Ce.value = "", we.value = "",
|
|
32292
|
+
].includes(M.value) || (M.value = e, Ce.value = "", we.value = "", _t());
|
|
32289
32293
|
}
|
|
32290
|
-
async function
|
|
32294
|
+
async function yt() {
|
|
32291
32295
|
if (N.call) try {
|
|
32292
|
-
ke.value ? await N.call.unmute() : await N.call.mute(), ke.value = !ke.value;
|
|
32296
|
+
ke.value ? await N.call.unmute() : await N.call.mute(), ke.value = !ke.value, ke.value || (Ae.value = !1);
|
|
32293
32297
|
} catch (e) {
|
|
32294
32298
|
console.error("Unable to toggle microphone", e);
|
|
32295
32299
|
}
|
|
32296
32300
|
}
|
|
32297
|
-
async function
|
|
32301
|
+
async function bt() {
|
|
32298
32302
|
if (N.call) try {
|
|
32299
32303
|
if (Oe.value) {
|
|
32300
|
-
let e = ue.value || await
|
|
32304
|
+
let e = ue.value || await It();
|
|
32301
32305
|
if (!e) return;
|
|
32302
32306
|
await N.call.startVideo(e), ue.value = e, Oe.value = !1, await ee();
|
|
32303
|
-
let t =
|
|
32307
|
+
let t = Ne.value;
|
|
32304
32308
|
if (!t) return;
|
|
32305
32309
|
he.value = new h(e);
|
|
32306
32310
|
let n = await he.value.createView();
|
|
@@ -32314,7 +32318,7 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32314
32318
|
console.error("Unable to toggle camera", e);
|
|
32315
32319
|
}
|
|
32316
32320
|
}
|
|
32317
|
-
async function
|
|
32321
|
+
async function xt() {
|
|
32318
32322
|
if (!(pe.value || me.value || !de.value || !fe.value)) {
|
|
32319
32323
|
me.value = !0;
|
|
32320
32324
|
try {
|
|
@@ -32326,96 +32330,96 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32326
32330
|
}
|
|
32327
32331
|
}
|
|
32328
32332
|
}
|
|
32329
|
-
function bt() {
|
|
32330
|
-
gt(i.Declined);
|
|
32331
|
-
}
|
|
32332
|
-
function xt() {
|
|
32333
|
-
gt(i.Answered);
|
|
32334
|
-
}
|
|
32335
32333
|
function St() {
|
|
32336
|
-
|
|
32334
|
+
vt(i.Declined);
|
|
32337
32335
|
}
|
|
32338
32336
|
function Ct() {
|
|
32339
|
-
|
|
32337
|
+
vt(i.Answered);
|
|
32340
32338
|
}
|
|
32341
|
-
|
|
32342
|
-
|
|
32339
|
+
function wt() {
|
|
32340
|
+
M.value !== i.Connected && vt(i.Dialing);
|
|
32343
32341
|
}
|
|
32344
|
-
function Tt(
|
|
32345
|
-
|
|
32342
|
+
function Tt() {
|
|
32343
|
+
M.value !== i.DevicePermissionDenied && !x.isCallee && Pt();
|
|
32346
32344
|
}
|
|
32347
|
-
function Et() {
|
|
32348
|
-
|
|
32345
|
+
async function Et() {
|
|
32346
|
+
vt(i.HangedUp), j.value.video && Qt();
|
|
32349
32347
|
}
|
|
32350
|
-
function Dt() {
|
|
32351
|
-
|
|
32348
|
+
function Dt(e) {
|
|
32349
|
+
vt(i.HangedUp), we.value = Ht(e);
|
|
32352
32350
|
}
|
|
32353
32351
|
function Ot() {
|
|
32352
|
+
Ce.value = ft(ot.value.signalHold), we.value = ft(st.value.signalHoldDetail);
|
|
32353
|
+
}
|
|
32354
|
+
function kt() {
|
|
32355
|
+
Te.value = /* @__PURE__ */ new Date();
|
|
32356
|
+
}
|
|
32357
|
+
function At() {
|
|
32354
32358
|
if (!Te.value || M.value === i.HangedUp) return;
|
|
32355
32359
|
let e = /* @__PURE__ */ new Date(), t = new Date(Te.value), n = Math.abs(e.getTime() - t.getTime()), r = Math.ceil(n / 1e3);
|
|
32356
|
-
r >= 40 ? (Ce.value =
|
|
32360
|
+
r >= 40 ? (Ce.value = ot.value.connectionIssues, we.value = st.value.connectionIssuesStrong, se.value = 0) : r > 20 && (Ce.value = ot.value.connectionIssues, we.value = st.value.connectionIssuesMedium, se.value = 1);
|
|
32357
32361
|
}
|
|
32358
|
-
async function
|
|
32359
|
-
await
|
|
32362
|
+
async function jt(e) {
|
|
32363
|
+
await tn(), N.client = w(new f());
|
|
32360
32364
|
let t = new y(e);
|
|
32361
32365
|
if (N.agent = w(await N.client.createCallAgent(t)), N.deviceManager = await N.client.getDeviceManager(), j.value = await N.deviceManager.askDevicePermission({
|
|
32362
32366
|
video: !0,
|
|
32363
32367
|
audio: !0
|
|
32364
|
-
}), (await N.deviceManager.getCameras()).length || (j.value.video = !1), be.value = window.setInterval(
|
|
32365
|
-
|
|
32368
|
+
}), (await N.deviceManager.getCameras()).length || (j.value.video = !1), be.value = window.setInterval(Qt, 5e3), !j.value.audio || !j.value.video) {
|
|
32369
|
+
vt(i.DevicePermissionDenied);
|
|
32366
32370
|
return;
|
|
32367
32371
|
}
|
|
32368
|
-
N.agent.on("incomingCall",
|
|
32372
|
+
N.agent.on("incomingCall", Mt), x.isCallee ? S("ready") : S("start-call");
|
|
32369
32373
|
}
|
|
32370
|
-
async function
|
|
32374
|
+
async function Mt(e) {
|
|
32371
32375
|
if (!xe.value) try {
|
|
32372
|
-
xe.value = !0, N.incomingCall = e.incomingCall, await
|
|
32376
|
+
xe.value = !0, N.incomingCall = e.incomingCall, await Ft();
|
|
32373
32377
|
} catch (e) {
|
|
32374
32378
|
console.log("error occured during starting call", e);
|
|
32375
32379
|
} finally {
|
|
32376
32380
|
xe.value = !1;
|
|
32377
32381
|
}
|
|
32378
32382
|
}
|
|
32379
|
-
async function
|
|
32380
|
-
let e = await
|
|
32383
|
+
async function Nt() {
|
|
32384
|
+
let e = await It();
|
|
32381
32385
|
return ue.value = e, e ? { localVideoStreams: [e] } : void 0;
|
|
32382
32386
|
}
|
|
32383
|
-
async function
|
|
32387
|
+
async function Pt() {
|
|
32384
32388
|
try {
|
|
32385
|
-
|
|
32386
|
-
let e = { videoOptions: await
|
|
32387
|
-
N.call = N.agent.startCall(t, e),
|
|
32389
|
+
vt(i.Dialing);
|
|
32390
|
+
let e = { videoOptions: await Nt() }, t = [{ communicationUserId: x.participant.videoCallIdentityId }];
|
|
32391
|
+
N.call = N.agent.startCall(t, e), Rt(), await zt(), Lt();
|
|
32388
32392
|
} catch (e) {
|
|
32389
32393
|
console.error(e);
|
|
32390
32394
|
}
|
|
32391
32395
|
}
|
|
32392
|
-
async function
|
|
32393
|
-
let e = await
|
|
32396
|
+
async function Ft() {
|
|
32397
|
+
let e = await Nt();
|
|
32394
32398
|
try {
|
|
32395
32399
|
N.call = await N.incomingCall.accept({ videoOptions: e });
|
|
32396
32400
|
} catch (e) {
|
|
32397
32401
|
console.error("Error occurred during accepting call", e);
|
|
32398
32402
|
}
|
|
32399
|
-
|
|
32403
|
+
Rt(), await zt(), Lt();
|
|
32400
32404
|
}
|
|
32401
|
-
async function
|
|
32405
|
+
async function It() {
|
|
32402
32406
|
let e = (await N.deviceManager.getCameras())[0];
|
|
32403
32407
|
if (e) return new g(e);
|
|
32404
32408
|
console.error("No camera device found on the system");
|
|
32405
32409
|
}
|
|
32406
|
-
function
|
|
32407
|
-
N.call.on("stateChanged",
|
|
32408
|
-
e.added.forEach(
|
|
32409
|
-
}), N.call.remoteParticipants.forEach(
|
|
32410
|
-
e.added.forEach(
|
|
32410
|
+
function Lt() {
|
|
32411
|
+
N.call.on("stateChanged", Vt), N.call.on("localVideoStreamsUpdated", (e) => {
|
|
32412
|
+
e.added.forEach(Wt), e.removed.forEach(Ut);
|
|
32413
|
+
}), N.call.remoteParticipants.forEach(Kt), N.call.on("remoteParticipantsUpdated", (e) => {
|
|
32414
|
+
e.added.forEach(Kt);
|
|
32411
32415
|
}), N.call.on("isScreenSharingOnChanged", () => {
|
|
32412
32416
|
te.value = N.call.isScreenSharingOn;
|
|
32413
32417
|
});
|
|
32414
32418
|
}
|
|
32415
|
-
function
|
|
32416
|
-
le.value = N.call.feature(_.UserFacingDiagnostics), le.value.media.on("diagnosticChanged",
|
|
32419
|
+
function Rt() {
|
|
32420
|
+
le.value = N.call.feature(_.UserFacingDiagnostics), le.value.media.on("diagnosticChanged", Bt), le.value.network.on("diagnosticChanged", Bt);
|
|
32417
32421
|
}
|
|
32418
|
-
async function
|
|
32422
|
+
async function zt() {
|
|
32419
32423
|
if (!(!ue.value || de.value)) try {
|
|
32420
32424
|
let e = ue.value.feature(_.VideoEffects), t = new b();
|
|
32421
32425
|
if (!await e.isSupported(t)) return;
|
|
@@ -32426,50 +32430,54 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32426
32430
|
console.error("Unable to initialize background blur", e);
|
|
32427
32431
|
}
|
|
32428
32432
|
}
|
|
32429
|
-
function
|
|
32433
|
+
function Bt(e) {
|
|
32434
|
+
if (e.diagnostic === "speakingWhileMicrophoneIsMuted") {
|
|
32435
|
+
Ae.value = e.value === !0;
|
|
32436
|
+
return;
|
|
32437
|
+
}
|
|
32430
32438
|
(e.diagnostic === "networkReceiveQuality" || e.diagnostic === "networkSendQuality") && (e.value === v.Bad ? (console.error(`${e.diagnostic} is bad quality`), se.value = 0) : e.value === v.Poor ? (console.error(`${e.diagnostic} is poor quality`), se.value = 1) : se.value = 2);
|
|
32431
32439
|
}
|
|
32432
|
-
function
|
|
32440
|
+
function Vt() {
|
|
32433
32441
|
switch (N.call.state) {
|
|
32434
32442
|
case "EarlyMedia":
|
|
32435
|
-
|
|
32443
|
+
vt(i.Dialing);
|
|
32436
32444
|
break;
|
|
32437
32445
|
case "Ringing":
|
|
32438
|
-
|
|
32446
|
+
vt(i.Ringing);
|
|
32439
32447
|
break;
|
|
32440
32448
|
case "Connected":
|
|
32441
|
-
|
|
32449
|
+
vt(i.Connected);
|
|
32442
32450
|
break;
|
|
32443
32451
|
case "Disconnected":
|
|
32444
32452
|
let e = N.call.callEndReason;
|
|
32445
|
-
console.log("Call end reason:", e), console.log("Code:", e?.code), console.log("SubCode:", e?.subCode),
|
|
32453
|
+
console.log("Call end reason:", e), console.log("Code:", e?.code), console.log("SubCode:", e?.subCode), Et();
|
|
32446
32454
|
break;
|
|
32447
32455
|
}
|
|
32448
32456
|
}
|
|
32449
|
-
function
|
|
32457
|
+
function Ht(e) {
|
|
32450
32458
|
let t = String(e);
|
|
32451
|
-
return
|
|
32459
|
+
return ft(qe.value.endReasons?.[t] || "");
|
|
32452
32460
|
}
|
|
32453
|
-
async function
|
|
32461
|
+
async function Ut(e) {
|
|
32454
32462
|
if (!e || e.mediaStreamType !== "ScreenSharing" || !_e.value) return;
|
|
32455
32463
|
_e.value.dispose();
|
|
32456
|
-
let t =
|
|
32457
|
-
t && (t.style.display = "none",
|
|
32464
|
+
let t = Pe.value;
|
|
32465
|
+
t && (t.style.display = "none", Ne.value.style.display = "flex");
|
|
32458
32466
|
}
|
|
32459
|
-
async function
|
|
32467
|
+
async function Wt(e) {
|
|
32460
32468
|
if (!e || e.mediaStreamType !== "ScreenSharing") return;
|
|
32461
32469
|
_e.value = await new h(e).createView();
|
|
32462
|
-
let t =
|
|
32463
|
-
if (!t || !
|
|
32464
|
-
t.replaceChildren(_e.value.target), t.style.display = "flex",
|
|
32470
|
+
let t = Pe.value;
|
|
32471
|
+
if (!t || !Ne.value) return;
|
|
32472
|
+
t.replaceChildren(_e.value.target), t.style.display = "flex", Ne.value.style.display = "none";
|
|
32465
32473
|
let n = t.querySelector("video");
|
|
32466
32474
|
n.style.objectFit = "contain";
|
|
32467
32475
|
}
|
|
32468
|
-
async function
|
|
32476
|
+
async function Gt(e) {
|
|
32469
32477
|
if (console.log("Displaying local video stream", e, ue.value), e && e.source && ue.value && ue.value.source && he.value && ue.value.source.id == e.source.id) return !0;
|
|
32470
32478
|
try {
|
|
32471
32479
|
he.value = new h(e);
|
|
32472
|
-
let t = await he.value.createView(), n =
|
|
32480
|
+
let t = await he.value.createView(), n = Ne.value;
|
|
32473
32481
|
if (!n) return !1;
|
|
32474
32482
|
console.log("Replacing local video container children with new view", t.target), n.replaceChildren(t.target);
|
|
32475
32483
|
} catch {
|
|
@@ -32477,36 +32485,36 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32477
32485
|
}
|
|
32478
32486
|
return ue.value = e, !0;
|
|
32479
32487
|
}
|
|
32480
|
-
async function
|
|
32481
|
-
e.videoStreams.forEach(
|
|
32482
|
-
e.added.forEach(
|
|
32488
|
+
async function Kt(e) {
|
|
32489
|
+
e.videoStreams.forEach(qt), e.on("videoStreamsUpdated", (e) => {
|
|
32490
|
+
e.added.forEach(qt);
|
|
32483
32491
|
});
|
|
32484
32492
|
}
|
|
32485
|
-
async function
|
|
32486
|
-
if (e.mediaStreamType === "Video" && (await
|
|
32493
|
+
async function qt(e) {
|
|
32494
|
+
if (e.mediaStreamType === "Video" && (await Jt(e), e.on("isAvailableChanged", async () => await Jt(e))), e.mediaStreamType === "ScreenSharing" && e.on("isAvailableChanged", Xt), e.mediaStreamType === "ScreenSharing" && e.isAvailable) {
|
|
32487
32495
|
ge.value = new h(e);
|
|
32488
|
-
let t = await ge.value.createView(), n =
|
|
32496
|
+
let t = await ge.value.createView(), n = Me.value;
|
|
32489
32497
|
if (!n) return;
|
|
32490
|
-
|
|
32498
|
+
Yt(!0), oe.value = !0, $t(n), n.replaceChildren(t.target);
|
|
32491
32499
|
}
|
|
32492
32500
|
}
|
|
32493
|
-
async function
|
|
32501
|
+
async function Jt(e) {
|
|
32494
32502
|
if (!e.isAvailable) return;
|
|
32495
32503
|
ge.value = new h(e);
|
|
32496
|
-
let t = await ge.value.createView(), n =
|
|
32497
|
-
n && (n.hidden = !1, n.replaceChildren(t.target),
|
|
32504
|
+
let t = await ge.value.createView(), n = je.value;
|
|
32505
|
+
n && (n.hidden = !1, n.replaceChildren(t.target), $t(n), Yt(!1));
|
|
32498
32506
|
}
|
|
32499
|
-
function
|
|
32500
|
-
let t =
|
|
32507
|
+
function Yt(e) {
|
|
32508
|
+
let t = je.value, n = Me.value;
|
|
32501
32509
|
!t || !n || (t.style.display = e ? "none" : "block", n.style.display = e ? "flex" : "none");
|
|
32502
32510
|
}
|
|
32503
|
-
function
|
|
32504
|
-
oe.value = !1,
|
|
32511
|
+
function Xt() {
|
|
32512
|
+
oe.value = !1, Yt(!1);
|
|
32505
32513
|
}
|
|
32506
|
-
async function
|
|
32507
|
-
|
|
32514
|
+
async function Zt() {
|
|
32515
|
+
Qt(!0);
|
|
32508
32516
|
}
|
|
32509
|
-
async function
|
|
32517
|
+
async function Qt(e = !1) {
|
|
32510
32518
|
let t = N.call?.state;
|
|
32511
32519
|
if (t === "Connecting" || t === "EarlyMedia") return;
|
|
32512
32520
|
let n = (await N.deviceManager.getCameras()).filter((e) => e.name != "OBS Virtual Camera");
|
|
@@ -32514,18 +32522,18 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32514
32522
|
for (let t = 0; t < ve.value; t++) {
|
|
32515
32523
|
(e || t != 0) && (ye.value = (ye.value + 1) % ve.value);
|
|
32516
32524
|
let r = n[ye.value];
|
|
32517
|
-
if (await
|
|
32525
|
+
if (await Gt(new g(r))) break;
|
|
32518
32526
|
}
|
|
32519
32527
|
}
|
|
32520
|
-
function
|
|
32528
|
+
function $t(e) {
|
|
32521
32529
|
if (!e) return;
|
|
32522
32530
|
let t = e.querySelector("video");
|
|
32523
32531
|
t && (t.style.objectFit = "contain", t.disablePictureInPicture = !1);
|
|
32524
32532
|
}
|
|
32525
|
-
async function
|
|
32533
|
+
async function en() {
|
|
32526
32534
|
N.call && N.call.state !== "Disconnected" && (await N.call.hangUp({ forEveryone: !0 }), await N.agent.dispose()), S("end-call", T.value);
|
|
32527
32535
|
}
|
|
32528
|
-
async function
|
|
32536
|
+
async function tn() {
|
|
32529
32537
|
return o ||= Promise.all([
|
|
32530
32538
|
import("@azure/communication-calling"),
|
|
32531
32539
|
import("@azure/communication-common"),
|
|
@@ -32534,37 +32542,37 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32534
32542
|
f = e.CallClient, h = e.VideoStreamRenderer, g = e.LocalVideoStream, _ = e.Features, v = e.DiagnosticQuality, y = t.AzureCommunicationTokenCredential, b = n.BackgroundBlurEffect;
|
|
32535
32543
|
}), o;
|
|
32536
32544
|
}
|
|
32537
|
-
async function
|
|
32545
|
+
async function nn() {
|
|
32538
32546
|
d ||= import("./browser-1gKVsH6_.js").then((e) => e.t);
|
|
32539
32547
|
let { AzureLogger: e, setLogLevel: t } = await d;
|
|
32540
32548
|
e.log = (...e) => console.log(...e), t("info"), e.log = (...e) => {
|
|
32541
32549
|
let t = [...e];
|
|
32542
|
-
T.value = T.value.splice(1 -
|
|
32550
|
+
T.value = T.value.splice(1 - PZ).concat(t);
|
|
32543
32551
|
};
|
|
32544
32552
|
}
|
|
32545
|
-
function
|
|
32546
|
-
let e = oe.value ?
|
|
32553
|
+
function rn() {
|
|
32554
|
+
let e = oe.value ? Me.value : je.value;
|
|
32547
32555
|
e && e.querySelector("video")?.requestFullscreen();
|
|
32548
32556
|
}
|
|
32549
|
-
function
|
|
32550
|
-
let e = oe.value ?
|
|
32557
|
+
function an() {
|
|
32558
|
+
let e = oe.value ? Me.value : je.value;
|
|
32551
32559
|
if (!e) return;
|
|
32552
32560
|
let t = e.querySelector("video");
|
|
32553
32561
|
t && (document.pictureInPictureElement ? t.exitPictureInPicture() : document.pictureInPictureEnabled && t.requestPictureInPicture());
|
|
32554
32562
|
}
|
|
32555
|
-
async function
|
|
32563
|
+
async function on() {
|
|
32556
32564
|
N.call && N.call.isScreenSharingOn ? await N.call.stopScreenSharing() : await N.call.startScreenSharing();
|
|
32557
32565
|
}
|
|
32558
32566
|
return n({
|
|
32559
|
-
CallDeclined:
|
|
32560
|
-
CallAnswered:
|
|
32561
|
-
CallForDataReceived:
|
|
32562
|
-
CallClosedWithStatusCode:
|
|
32563
|
-
CallHeartbeatReceived:
|
|
32564
|
-
CallSignalHoldDetected:
|
|
32565
|
-
CallStartVideoCall:
|
|
32566
|
-
CallHangUp:
|
|
32567
|
-
InitializeAcsConnection:
|
|
32567
|
+
CallDeclined: St,
|
|
32568
|
+
CallAnswered: Ct,
|
|
32569
|
+
CallForDataReceived: wt,
|
|
32570
|
+
CallClosedWithStatusCode: Dt,
|
|
32571
|
+
CallHeartbeatReceived: kt,
|
|
32572
|
+
CallSignalHoldDetected: Ot,
|
|
32573
|
+
CallStartVideoCall: Tt,
|
|
32574
|
+
CallHangUp: Et,
|
|
32575
|
+
InitializeAcsConnection: jt
|
|
32568
32576
|
}), (e, n) => {
|
|
32569
32577
|
let r = ce("BDLoader");
|
|
32570
32578
|
return k(), l("div", aZ, [m($q, null, {
|
|
@@ -32577,159 +32585,162 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32577
32585
|
}), m(eJ, null, {
|
|
32578
32586
|
default: I(() => [m(Qq, {
|
|
32579
32587
|
sm: "12",
|
|
32580
|
-
lg:
|
|
32588
|
+
lg: tt.value ? "12" : "8"
|
|
32581
32589
|
}, {
|
|
32582
|
-
default: I(() => [u("div", { class: D(["incoming",
|
|
32590
|
+
default: I(() => [u("div", { class: D(["incoming", We.value]) }, [it.value ? (k(), l("div", oZ, [
|
|
32583
32591
|
m(r, {
|
|
32584
32592
|
size: "lg",
|
|
32585
|
-
message:
|
|
32586
|
-
stopAnimation:
|
|
32593
|
+
message: pt.value,
|
|
32594
|
+
stopAnimation: tt.value || nt.value || at.value
|
|
32587
32595
|
}, null, 8, ["message", "stopAnimation"]),
|
|
32588
|
-
|
|
32589
|
-
|
|
32590
|
-
|
|
32596
|
+
Ue.value ? (k(), l("div", sZ, [u("div", cZ, [m(Ri, { class: "icon-xl icon-state-error" })]), u("span", null, P(Xe.value.permissionDeniedForAudio), 1)])) : c("", !0),
|
|
32597
|
+
He.value ? (k(), l("div", lZ, [u("div", uZ, [m(oo, { class: "icon-xl icon-state-error" })]), u("span", null, P(Xe.value.permissionDeniedForVideo), 1)])) : c("", !0),
|
|
32598
|
+
tt.value || nt.value || at.value ? (k(), s(R, {
|
|
32591
32599
|
key: 2,
|
|
32592
32600
|
variant: "primary",
|
|
32593
32601
|
class: "text-center",
|
|
32594
|
-
onClick:
|
|
32602
|
+
onClick: en
|
|
32595
32603
|
}, {
|
|
32596
|
-
default: I(() => [p(P(
|
|
32604
|
+
default: I(() => [p(P(Je.value.closeWindow), 1)]),
|
|
32597
32605
|
_: 1
|
|
32598
32606
|
})) : c("", !0)
|
|
32599
32607
|
])) : (k(), l("div", dZ, [
|
|
32600
32608
|
u("div", {
|
|
32601
32609
|
ref_key: "incomingVideoContainer",
|
|
32602
|
-
ref:
|
|
32610
|
+
ref: je,
|
|
32603
32611
|
class: "incoming__video"
|
|
32604
32612
|
}, null, 512),
|
|
32605
32613
|
u("div", {
|
|
32606
32614
|
ref_key: "incomingScreenshareContainer",
|
|
32607
|
-
ref:
|
|
32615
|
+
ref: Me,
|
|
32608
32616
|
class: "incoming__screenshare"
|
|
32609
32617
|
}, null, 512),
|
|
32610
32618
|
u("div", fZ, [m(R, {
|
|
32611
32619
|
variant: "primary",
|
|
32612
32620
|
class: "text-center",
|
|
32613
|
-
onClick:
|
|
32621
|
+
onClick: rn
|
|
32614
32622
|
}, {
|
|
32615
|
-
default: I(() => [m(xa), u("span", null, P(
|
|
32623
|
+
default: I(() => [m(xa), u("span", null, P(Je.value.fullScreen), 1)]),
|
|
32616
32624
|
_: 1
|
|
32617
32625
|
}), !E && !re.value ? (k(), s(R, {
|
|
32618
32626
|
key: 0,
|
|
32619
32627
|
variant: "primary",
|
|
32620
32628
|
class: "text-center",
|
|
32621
|
-
onClick:
|
|
32629
|
+
onClick: an
|
|
32622
32630
|
}, {
|
|
32623
|
-
default: I(() => [m(xa), u("span", null, P(
|
|
32631
|
+
default: I(() => [m(xa), u("span", null, P(Je.value.miniPlayer), 1)]),
|
|
32624
32632
|
_: 1
|
|
32625
32633
|
})) : c("", !0)])
|
|
32626
32634
|
]))], 2)]),
|
|
32627
32635
|
_: 1
|
|
32628
|
-
}, 8, ["lg"]),
|
|
32636
|
+
}, 8, ["lg"]), tt.value ? c("", !0) : (k(), s(Qq, {
|
|
32629
32637
|
key: 0,
|
|
32630
32638
|
sm: "12",
|
|
32631
32639
|
lg: "4"
|
|
32632
32640
|
}, {
|
|
32633
32641
|
default: I(() => [u("div", pZ, [u("div", null, [
|
|
32634
|
-
u("div", mZ, [
|
|
32635
|
-
|
|
32636
|
-
|
|
32637
|
-
|
|
32638
|
-
|
|
32639
|
-
|
|
32640
|
-
|
|
32641
|
-
|
|
32642
|
-
|
|
32643
|
-
|
|
32644
|
-
|
|
32645
|
-
|
|
32646
|
-
|
|
32642
|
+
u("div", mZ, [
|
|
32643
|
+
u("div", hZ, [
|
|
32644
|
+
Le.value ? (k(), l("div", gZ, [m(XX)])) : (k(), l("div", {
|
|
32645
|
+
key: 1,
|
|
32646
|
+
ref_key: "outgoingVideoContainer",
|
|
32647
|
+
ref: Ne,
|
|
32648
|
+
class: "outgoing__video"
|
|
32649
|
+
}, null, 512)),
|
|
32650
|
+
u("div", {
|
|
32651
|
+
ref_key: "outgoingScreenshareContainer",
|
|
32652
|
+
ref: Pe,
|
|
32653
|
+
class: "outgoing__screenshare"
|
|
32654
|
+
}, null, 512),
|
|
32655
|
+
u("div", _Z, [Re.value ? (k(), l("div", vZ, [m(Ri), u("span", null, P(Je.value.microphoneMutedNotice), 1)])) : c("", !0)])
|
|
32656
|
+
]),
|
|
32657
|
+
u("div", yZ, [
|
|
32647
32658
|
Se((k(), s(R, {
|
|
32648
32659
|
class: D({ "btn-danger": ke.value }),
|
|
32649
|
-
onClick:
|
|
32660
|
+
onClick: yt
|
|
32650
32661
|
}, {
|
|
32651
32662
|
default: I(() => [ke.value ? (k(), l("img", {
|
|
32652
32663
|
key: 0,
|
|
32653
32664
|
src: UX,
|
|
32654
|
-
alt:
|
|
32655
|
-
}, null, 8,
|
|
32665
|
+
alt: lt.value
|
|
32666
|
+
}, null, 8, bZ)) : (k(), l("img", {
|
|
32656
32667
|
key: 1,
|
|
32657
32668
|
src: WX,
|
|
32658
|
-
alt:
|
|
32659
|
-
}, null, 8,
|
|
32669
|
+
alt: lt.value
|
|
32670
|
+
}, null, 8, xZ))]),
|
|
32660
32671
|
_: 1
|
|
32661
|
-
}, 8, ["class"])), [[F(DK),
|
|
32672
|
+
}, 8, ["class"])), [[F(DK), lt.value]]),
|
|
32662
32673
|
Se((k(), s(R, {
|
|
32663
32674
|
class: D({ "btn-danger": Oe.value }),
|
|
32664
|
-
onClick:
|
|
32675
|
+
onClick: bt
|
|
32665
32676
|
}, {
|
|
32666
32677
|
default: I(() => [Oe.value ? (k(), l("img", {
|
|
32667
32678
|
key: 0,
|
|
32668
32679
|
src: GX,
|
|
32669
|
-
alt:
|
|
32670
|
-
}, null, 8,
|
|
32680
|
+
alt: ut.value
|
|
32681
|
+
}, null, 8, SZ)) : (k(), l("img", {
|
|
32671
32682
|
key: 1,
|
|
32672
32683
|
src: KX,
|
|
32673
|
-
alt:
|
|
32674
|
-
}, null, 8,
|
|
32684
|
+
alt: ut.value
|
|
32685
|
+
}, null, 8, CZ))]),
|
|
32675
32686
|
_: 1
|
|
32676
|
-
}, 8, ["class"])), [[F(DK),
|
|
32687
|
+
}, 8, ["class"])), [[F(DK), ut.value]]),
|
|
32677
32688
|
Se((k(), s(R, {
|
|
32678
32689
|
class: D(["blur-button", {
|
|
32679
32690
|
off: De.value,
|
|
32680
32691
|
unavailable: pe.value
|
|
32681
32692
|
}]),
|
|
32682
|
-
onClick:
|
|
32693
|
+
onClick: xt
|
|
32683
32694
|
}, {
|
|
32684
32695
|
default: I(() => [m(iZ), m(eZ)]),
|
|
32685
32696
|
_: 1
|
|
32686
|
-
}, 8, ["class"])), [[F(DK),
|
|
32697
|
+
}, 8, ["class"])), [[F(DK), dt.value]])
|
|
32687
32698
|
]),
|
|
32688
|
-
|
|
32689
|
-
key:
|
|
32699
|
+
Ve.value && !at.value && !re.value && !it.value ? (k(), s(R, {
|
|
32700
|
+
key: 0,
|
|
32690
32701
|
variant: te.value ? "danger" : "primary",
|
|
32691
32702
|
class: "share-button",
|
|
32692
|
-
onClick:
|
|
32703
|
+
onClick: on
|
|
32693
32704
|
}, {
|
|
32694
|
-
default: I(() => [m(xa), u("span", null, P(
|
|
32705
|
+
default: I(() => [m(xa), u("span", null, P(Qe.value), 1)]),
|
|
32695
32706
|
_: 1
|
|
32696
32707
|
}, 8, ["variant"])) : c("", !0),
|
|
32697
|
-
|
|
32708
|
+
Be.value ? (k(), l(t, { key: 1 }, [m(R, {
|
|
32698
32709
|
class: "text-center",
|
|
32699
|
-
onClick:
|
|
32710
|
+
onClick: Zt
|
|
32700
32711
|
}, {
|
|
32701
|
-
default: I(() => [p(P(
|
|
32712
|
+
default: I(() => [p(P(Je.value.switchCamera), 1)]),
|
|
32702
32713
|
_: 1
|
|
32703
|
-
}), u("p",
|
|
32704
|
-
|
|
32705
|
-
])
|
|
32706
|
-
!
|
|
32714
|
+
}), u("p", wZ, P(ze.value), 1)], 64)) : c("", !0),
|
|
32715
|
+
He.value ? (k(), l("div", TZ, [u("div", EZ, [m(oo, { class: "icon-xxl icon-state-error" })]), u("span", null, P(Xe.value.permissionDeniedForVideo), 1)])) : c("", !0)
|
|
32716
|
+
]),
|
|
32717
|
+
!nt.value && !at.value ? (k(), s(R, {
|
|
32707
32718
|
key: 0,
|
|
32708
32719
|
variant: "danger",
|
|
32709
32720
|
class: "end-call-button text-center w-100",
|
|
32710
|
-
onClick:
|
|
32721
|
+
onClick: en
|
|
32711
32722
|
}, {
|
|
32712
|
-
default: I(() => [m(zn), u("span", null, P(
|
|
32723
|
+
default: I(() => [m(zn), u("span", null, P(Je.value.endCall), 1)]),
|
|
32713
32724
|
_: 1
|
|
32714
32725
|
})) : c("", !0),
|
|
32715
|
-
u("div",
|
|
32716
|
-
u("div", { class: D(["settings__signal",
|
|
32726
|
+
u("div", DZ, [
|
|
32727
|
+
u("div", { class: D(["settings__signal", Ge.value]) }, [n[0] ||= u("ul", { class: "indicator" }, [
|
|
32717
32728
|
u("li"),
|
|
32718
32729
|
u("li"),
|
|
32719
32730
|
u("li")
|
|
32720
|
-
], -1), u("p", null, P(
|
|
32721
|
-
u("div",
|
|
32722
|
-
u("div",
|
|
32723
|
-
u("p", null, [u("b", null, P(
|
|
32724
|
-
u("p", null, P(
|
|
32731
|
+
], -1), u("p", null, P(Ke.value), 1)], 2),
|
|
32732
|
+
u("div", OZ, [u("p", kZ, P(mt.value), 1), ht.value ? (k(), l("small", AZ, P(ht.value), 1)) : c("", !0)]),
|
|
32733
|
+
u("div", jZ, [
|
|
32734
|
+
u("p", null, [u("b", null, P($e.value), 1)]),
|
|
32735
|
+
u("p", null, P(et.value), 1),
|
|
32725
32736
|
u("p", null, [
|
|
32726
32737
|
u("a", {
|
|
32727
32738
|
href: x.videoTestUrl,
|
|
32728
32739
|
target: "_blank",
|
|
32729
32740
|
rel: "noopener noreferrer"
|
|
32730
|
-
}, P(
|
|
32741
|
+
}, P(Je.value.testCall), 9, MZ),
|
|
32731
32742
|
n[1] ||= p(" • ", -1),
|
|
32732
|
-
u("a",
|
|
32743
|
+
u("a", NZ, P(Je.value.serviceDesk), 1)
|
|
32733
32744
|
])
|
|
32734
32745
|
])
|
|
32735
32746
|
])
|
|
@@ -32742,14 +32753,14 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32742
32753
|
})]);
|
|
32743
32754
|
};
|
|
32744
32755
|
}
|
|
32745
|
-
},
|
|
32756
|
+
}, IZ = { class: "template not-found-template" }, LZ = { class: "center-screen" }, RZ = { class: "container-warning" }, zZ = /* @__PURE__ */ g({
|
|
32746
32757
|
__name: "BDNotFoundTemplate",
|
|
32747
32758
|
props: { buttonText: { type: String } },
|
|
32748
32759
|
emits: ["navigate"],
|
|
32749
32760
|
setup(e, { emit: t }) {
|
|
32750
32761
|
let { t: n } = Jd(), r = e, i = t, o = a(() => r.buttonText || n("notFoundTemplate.buttonDefault")), s = a(() => n("notFoundTemplate.title")), c = a(() => n("notFoundTemplate.description")), d = () => i("navigate");
|
|
32751
|
-
return (e, t) => (k(), l("main",
|
|
32752
|
-
default: I(() => [u("div",
|
|
32762
|
+
return (e, t) => (k(), l("main", IZ, [m($q, { class: "container-xl" }, {
|
|
32763
|
+
default: I(() => [u("div", LZ, [u("div", RZ, [
|
|
32753
32764
|
m(Ya),
|
|
32754
32765
|
u("h1", null, P(s.value), 1),
|
|
32755
32766
|
u("p", null, P(c.value), 1),
|
|
@@ -32765,15 +32776,15 @@ var iZ = /*#__PURE__*/ L(tZ, [["render", rZ]]), aZ = { class: "video-call-templa
|
|
|
32765
32776
|
_: 1
|
|
32766
32777
|
})]));
|
|
32767
32778
|
}
|
|
32768
|
-
}),
|
|
32779
|
+
}), BZ = (e) => {
|
|
32769
32780
|
let t = /<a\b[^>]*>.*?<\/a>/gi, n = [], r;
|
|
32770
32781
|
for (; (r = t.exec(e)) !== null;) n.push({
|
|
32771
32782
|
start: r.index,
|
|
32772
32783
|
end: r.index + r[0].length
|
|
32773
32784
|
});
|
|
32774
32785
|
return e.replace(/(https?:\/\/[^\s<>"',]+|www\.[^\s<>"',]+)/g, (e, t, r) => n.some((e) => r >= e.start && r < e.end) ? e : `<a href="${e.startsWith("www.") ? `http://${e}` : e}" target="_blank" rel="noopener noreferrer">${e}</a>`);
|
|
32775
|
-
},
|
|
32776
|
-
e.component("BDAlert", vo), e.component("BDArticle", Co), e.component("BDAssignConversationModal", rJ), e.component("BDAttachmentPreviewList", Hv), e.component("BDAttachmentUploadModal", iJ), e.component("BDBadge", Eo), e.component("BDButton", R), e.component("BDCard", Lo), e.component("BDChangePasswordTemplate", HX), e.component("BDChatCloud", uy), e.component("BDCol", Qq), e.component("BDCollapsableCard", Vo), e.component("BDConfirmationModal", aJ), e.component("BDContainer", $q), e.component("BDContentLibraryModal", JY), e.component("BDContentLibrarySplitButton", Fg), e.component("BDContentLibraryTemplate", qY), e.component("BDConversationToTextModal", hX), e.component("BDDate", e_), e.component("BDDropdown", pq), e.component("BDDropdownItem", fy), e.component("BDFileUpload", gk), e.component("BDForm", t_), e.component("BDFormCheckbox", y_), e.component("BDFormInput", V_), e.component("BDFormInvalidFeedback", x_), e.component("BDFormMultipleCheckbox", bk), e.component("BDFormSelect", K_), e.component("BDHeader", bq), e.component("BDImageAttachmentModal", SX), e.component("BDImageAttachmentPreviewList", Zv), e.component("BDInputGroup", Y_), e.component("BDLink", Oo), e.component("BDLoader", tv), e.component("BDLogo", iv), e.component("BDMarkdownEditor", AK), e.component("BDMessageTemplateFormModal", wX), e.component("BDMobileMenu", LK), e.component("BDModal", kq), e.component("BDNotFoundTemplate",
|
|
32786
|
+
}, VZ = (e, t) => `<p><a href="${e}" title="${t}" target="_blank" rel="noopener noreferrer">${t}</a></p>`, HZ = (e) => e.startsWith("http://") || e.startsWith("https://"), UZ = { install: (e) => {
|
|
32787
|
+
e.component("BDAlert", vo), e.component("BDArticle", Co), e.component("BDAssignConversationModal", rJ), e.component("BDAttachmentPreviewList", Hv), e.component("BDAttachmentUploadModal", iJ), e.component("BDBadge", Eo), e.component("BDButton", R), e.component("BDCard", Lo), e.component("BDChangePasswordTemplate", HX), e.component("BDChatCloud", uy), e.component("BDCol", Qq), e.component("BDCollapsableCard", Vo), e.component("BDConfirmationModal", aJ), e.component("BDContainer", $q), e.component("BDContentLibraryModal", JY), e.component("BDContentLibrarySplitButton", Fg), e.component("BDContentLibraryTemplate", qY), e.component("BDConversationToTextModal", hX), e.component("BDDate", e_), e.component("BDDropdown", pq), e.component("BDDropdownItem", fy), e.component("BDFileUpload", gk), e.component("BDForm", t_), e.component("BDFormCheckbox", y_), e.component("BDFormInput", V_), e.component("BDFormInvalidFeedback", x_), e.component("BDFormMultipleCheckbox", bk), e.component("BDFormSelect", K_), e.component("BDHeader", bq), e.component("BDImageAttachmentModal", SX), e.component("BDImageAttachmentPreviewList", Zv), e.component("BDInputGroup", Y_), e.component("BDLink", Oo), e.component("BDLoader", tv), e.component("BDLogo", iv), e.component("BDMarkdownEditor", AK), e.component("BDMessageTemplateFormModal", wX), e.component("BDMobileMenu", LK), e.component("BDModal", kq), e.component("BDNotFoundTemplate", zZ), e.component("BDPagination", dv), e.component("BDPhoneNumberEditModal", Lq), e.component("BDPill", vv), e.component("BDPillContainer", xv), e.component("BDPractitionerHeader", Zq), e.component("BDProfileImage", wv), e.component("BDRow", eJ), e.component("BDSessionTimeOutModal", nJ), e.component("BDSmallConversationCard", VK), e.component("BDTable", XK), e.component("BDToast", kv), e.component("BDUser", tq), e.component("BDUserInformation", Pv), e.component("BDVideoCallConfirmationModal", MX), e.component("BDVideoCallTemplate", FZ), e.component("BDVideoCallToast", fq), e.component("BDZoomslider", Lv), e.component("IconAcademy", Re), e.component("IconArrowDown", He), e.component("IconArrowUp", Ke), e.component("IconAttachment", Xe), e.component("IconBold", et), e.component("IconBulletList", it), e.component("IconCalendar", ct), e.component("IconCall", ft), e.component("IconCallReject", gt), e.component("IconCardView", bt), e.component("IconCaretDown", wt), e.component("IconCaretLeft", Ot), e.component("IconCaretRight", Mt), e.component("IconCheck", It), e.component("IconClipboard", Bt), e.component("IconClose", Wt), e.component("IconComment", Jt), e.component("IconCommentActive", Qt), e.component("IconCommentStatic", nn), e.component("IconCommonFileEmpty", sn), e.component("IconCommonFileWarning", dn), e.component("IconContactPerson", hn), e.component("IconCopy", yn), e.component("IconDelete", Cn), e.component("IconDoubleCheck", Dn), e.component("IconDownloadImage", jn), e.component("IconEdit", Fn), e.component("IconEndCall", zn), e.component("IconError", Un), e.component("IconExternal", qn), e.component("IconEyeShow", Zn), e.component("IconEyeSlash", tr), e.component("IconFile", ar), e.component("IconFileAdded", lr), e.component("IconForward", pr), e.component("IconHix", _r), e.component("IconHyperlink", xr), e.component("IconImageFileLandscape", Tr), e.component("IconImageFileWarning", kr), e.component("IconInbox", Nr), e.component("IconInfo", Lr), e.component("IconInformationCircle", Vr), e.component("IconItalic", Gr), e.component("IconListView", Yr), e.component("IconLock", $r), e.component("IconLusciiEscalated", ri), e.component("IconLusciiLogo", si), e.component("IconLusciiOpen", di), e.component("IconLusciiPriorityHigh", hi), e.component("IconLusciiPriorityLow", yi), e.component("IconLusciiPriorityMedium", Ci), e.component("IconMenu", Di), e.component("IconMessage", ji), e.component("IconMessageForward", Fi), e.component("IconMicrophoneSlash", Ri), e.component("IconMicrosoftTeams", Hi), e.component("IconMin", Ki), e.component("IconOrderedList", Xi), e.component("IconPlus", ea), e.component("IconRefresh", ia), e.component("IconRemove", ca), e.component("IconSananetLogo", pa), e.component("IconService", _a), e.component("IconShareScreen", xa), e.component("IconSingleNeutral", Ta), e.component("IconSort", ka), e.component("IconSortAsc", Na), e.component("IconSortDesc", La), e.component("IconSortNone", Va), e.component("IconTriangleDown", Ga), e.component("IconTriangleExclamation", Ya), e.component("IconUnderline", $a), e.component("IconVideoDisabled", oo), e.component("IconVideocall", ro), e.component("IconWarning", uo), e.component("IconZorgkaart", ho), e.directive("bd-tooltip", DK);
|
|
32777
32788
|
} };
|
|
32778
32789
|
//#endregion
|
|
32779
|
-
export { vo as BDAlert, Co as BDArticle, rJ as BDAssignConversationModal, Hv as BDAttachmentPreviewList, iJ as BDAttachmentUploadModal, Eo as BDBadge, R as BDButton, Lo as BDCard, HX as BDChangePasswordTemplate, uy as BDChatCloud, Qq as BDCol, Vo as BDCollapsableCard, aJ as BDConfirmationModal, $q as BDContainer, JY as BDContentLibraryModal, Fg as BDContentLibrarySplitButton, qY as BDContentLibraryTemplate, hX as BDConversationToTextModal, e_ as BDDate, pq as BDDropdown, fy as BDDropdownItem, gk as BDFileUpload, t_ as BDForm, y_ as BDFormCheckbox, V_ as BDFormInput, x_ as BDFormInvalidFeedback, bk as BDFormMultipleCheckbox, K_ as BDFormSelect, bq as BDHeader, SX as BDImageAttachmentModal, Zv as BDImageAttachmentPreviewList, Y_ as BDInputGroup, Oo as BDLink, tv as BDLoader, iv as BDLogo, AK as BDMarkdownEditor, wX as BDMessageTemplateFormModal, LK as BDMobileMenu, kq as BDModal,
|
|
32790
|
+
export { vo as BDAlert, Co as BDArticle, rJ as BDAssignConversationModal, Hv as BDAttachmentPreviewList, iJ as BDAttachmentUploadModal, Eo as BDBadge, R as BDButton, Lo as BDCard, HX as BDChangePasswordTemplate, uy as BDChatCloud, Qq as BDCol, Vo as BDCollapsableCard, aJ as BDConfirmationModal, $q as BDContainer, JY as BDContentLibraryModal, Fg as BDContentLibrarySplitButton, qY as BDContentLibraryTemplate, hX as BDConversationToTextModal, e_ as BDDate, pq as BDDropdown, fy as BDDropdownItem, gk as BDFileUpload, t_ as BDForm, y_ as BDFormCheckbox, V_ as BDFormInput, x_ as BDFormInvalidFeedback, bk as BDFormMultipleCheckbox, K_ as BDFormSelect, bq as BDHeader, SX as BDImageAttachmentModal, Zv as BDImageAttachmentPreviewList, Y_ as BDInputGroup, Oo as BDLink, tv as BDLoader, iv as BDLogo, AK as BDMarkdownEditor, wX as BDMessageTemplateFormModal, LK as BDMobileMenu, kq as BDModal, zZ as BDNotFoundTemplate, dv as BDPagination, Lq as BDPhoneNumberEditModal, vv as BDPill, xv as BDPillContainer, Zq as BDPractitionerHeader, wv as BDProfileImage, eJ as BDRow, nJ as BDSessionTimeOutModal, VK as BDSmallConversationCard, XK as BDTable, kv as BDToast, tq as BDUser, Pv as BDUserInformation, MX as BDVideoCallConfirmationModal, FZ as BDVideoCallTemplate, fq as BDVideoCallToast, Lv as BDZoomslider, aX as CopyChatMessageToClipboard, oX as CopyChatMessagesToClipboard, sX as CopyHl7MessagesToClipboard, VZ as CreateHyperlinkParagraph, ty as CreateThumbnailUri, Re as IconAcademy, He as IconArrowDown, Ke as IconArrowUp, Xe as IconAttachment, et as IconBold, it as IconBulletList, ct as IconCalendar, ft as IconCall, gt as IconCallReject, bt as IconCardView, wt as IconCaretDown, Ot as IconCaretLeft, Mt as IconCaretRight, It as IconCheck, Bt as IconClipboard, Wt as IconClose, Jt as IconComment, Qt as IconCommentActive, nn as IconCommentStatic, sn as IconCommonFileEmpty, dn as IconCommonFileWarning, hn as IconContactPerson, yn as IconCopy, Cn as IconDelete, Dn as IconDoubleCheck, jn as IconDownloadImage, Fn as IconEdit, zn as IconEndCall, Un as IconError, qn as IconExternal, Zn as IconEyeShow, tr as IconEyeSlash, ar as IconFile, lr as IconFileAdded, pr as IconForward, _r as IconHix, xr as IconHyperlink, Tr as IconImageFileLandscape, kr as IconImageFileWarning, Nr as IconInbox, Lr as IconInfo, Vr as IconInformationCircle, Gr as IconItalic, Yr as IconListView, $r as IconLock, ri as IconLusciiEscalated, si as IconLusciiLogo, di as IconLusciiOpen, hi as IconLusciiPriorityHigh, yi as IconLusciiPriorityLow, Ci as IconLusciiPriorityMedium, Di as IconMenu, ji as IconMessage, Fi as IconMessageForward, Ri as IconMicrophoneSlash, Hi as IconMicrosoftTeams, Ki as IconMin, Xi as IconOrderedList, ea as IconPlus, ia as IconRefresh, ca as IconRemove, pa as IconSananetLogo, _a as IconService, xa as IconShareScreen, Ta as IconSingleNeutral, ka as IconSort, Na as IconSortAsc, La as IconSortDesc, Va as IconSortNone, Ga as IconTriangleDown, Ya as IconTriangleExclamation, $a as IconUnderline, oo as IconVideoDisabled, ro as IconVideocall, uo as IconWarning, ho as IconZorgkaart, Qv as MapAttachmentsForApi, iy as MapToAttachmentObjects, BZ as TransformHyperlinks, HZ as ValidateUrl, UZ as default, Qg as getDisplayDateNumeric, Yg as getDisplayDateTextual, Zg as getDisplayDateTimeNumeric, Xg as getDisplayDateTimeTextual, Me as n, je as t, Aq as useModal, Hq as usePopover, Mq as useServerErrors, tJ as useSessionTimeOut, fk as useToaster, NX as useValidation, Bq as useWindow, gX as useZoom, DK as vBdTooltip };
|