@beterdichtbij/component-library 0.72.7-alpha.1 → 0.73.0-beta.0
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/bd-component-lib.cjs.js +2 -2
- package/dist/bd-component-lib.es.js +288 -227
- package/dist/bd-component-lib.umd.js +2 -2
- package/dist/components/icons/IconBlur.vue.d.ts +2 -0
- package/dist/components/icons/IconParticipant.vue.d.ts +2 -0
- package/dist/locales/en.json +7 -1
- package/dist/locales/nl.json +7 -1
- package/dist/scss/_alert.scss +0 -6
- package/dist/scss/_article.scss +0 -11
- package/dist/scss/_card.scss +0 -6
- package/dist/scss/_chatcloud.scss +19 -20
- package/dist/scss/_collapsable-card.scss +4 -0
- package/dist/scss/_templates.scss +59 -5
- package/dist/scss/templates/_not-found-template.scss +0 -26
- package/dist/scss/templates/_video-call-template.scss +63 -0
- package/package.json +3 -3
|
@@ -11374,7 +11374,13 @@ var kb = {
|
|
|
11374
11374
|
serviceDesk: "Service desk",
|
|
11375
11375
|
endCall: "End call",
|
|
11376
11376
|
closeWindow: "Close window",
|
|
11377
|
-
switchCamera: "Switch camera"
|
|
11377
|
+
switchCamera: "Switch camera",
|
|
11378
|
+
microphoneMute: "Mute microphone",
|
|
11379
|
+
microphoneUnmute: "Unmute microphone",
|
|
11380
|
+
cameraOff: "Turn off camera",
|
|
11381
|
+
cameraOn: "Turn on camera",
|
|
11382
|
+
backgroundBlur: "Blur background",
|
|
11383
|
+
backgroundUnblur: "Unblur background"
|
|
11378
11384
|
},
|
|
11379
11385
|
help: {
|
|
11380
11386
|
placeholderSettingsHelpTitle: "Connection issues?",
|
|
@@ -11542,7 +11548,13 @@ var kb = {
|
|
|
11542
11548
|
serviceDesk: "Servicedesk",
|
|
11543
11549
|
endCall: "Gesprek beëindigen",
|
|
11544
11550
|
closeWindow: "Venster sluiten",
|
|
11545
|
-
switchCamera: "Wissel camera"
|
|
11551
|
+
switchCamera: "Wissel camera",
|
|
11552
|
+
microphoneMute: "Microfoon uitzetten",
|
|
11553
|
+
microphoneUnmute: "Microfoon aanzetten",
|
|
11554
|
+
cameraOff: "Camera uitzetten",
|
|
11555
|
+
cameraOn: "Camera aanzetten",
|
|
11556
|
+
backgroundBlur: "Achtergrond vervagen",
|
|
11557
|
+
backgroundUnblur: "Achtergrond niet vervagen"
|
|
11546
11558
|
},
|
|
11547
11559
|
help: {
|
|
11548
11560
|
placeholderSettingsHelpTitle: "Problemen met de verbinding?",
|
|
@@ -32077,32 +32089,57 @@ var mX = ["src", "alt"], hX = {
|
|
|
32077
32089
|
_: 1
|
|
32078
32090
|
})]));
|
|
32079
32091
|
}
|
|
32080
|
-
}), BX =
|
|
32092
|
+
}), BX = "data:image/svg+xml,%3csvg%20width='28'%20height='23'%20viewBox='0%200%2028%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.80461%200.386719L9.79679%206.61719V4.25391C9.79679%201.97656%2011.6445%200.128906%2013.9218%200.128906C16.1991%200.128906%2018.0468%201.97656%2018.0468%204.25391V13.0625L18.7773%2013.6641C19.164%2012.9336%2019.4218%2012.0742%2019.4218%2011.1289V9.41016C19.4218%208.85156%2019.8515%208.37891%2020.453%208.37891C21.0116%208.37891%2021.4843%208.85156%2021.4843%209.41016V11.1289C21.4843%2012.5469%2021.0976%2013.8359%2020.453%2014.9531L27.2421%2020.3242C27.7148%2020.668%2027.8007%2021.3125%2027.414%2021.7422C27.0702%2022.2148%2026.4257%2022.3008%2025.996%2021.9141L0.558513%201.97656C0.0858564%201.63281%20-8.10623e-05%200.988281%200.386638%200.558594C0.730388%200.0859375%201.37492%200%201.80461%200.386719ZM17.4023%2017.875C16.6288%2018.2617%2015.8124%2018.5195%2014.953%2018.6484V20.0664H17.0155C17.5741%2020.0664%2018.0468%2020.5391%2018.0468%2021.0977C18.0468%2021.6992%2017.5741%2022.1289%2017.0155%2022.1289H13.9218H10.828C10.2265%2022.1289%209.79679%2021.6992%209.79679%2021.0977C9.79679%2020.5391%2010.2265%2020.0664%2010.828%2020.0664H12.8905V18.6484C9.19523%2018.1328%206.35929%2014.9961%206.35929%2011.1289V9.41016C6.35929%209.32422%206.35929%209.23828%206.35929%209.15234L8.42179%2010.7852V11.1289C8.42179%2014.1797%2010.871%2016.6289%2013.9218%2016.6289C14.4804%2016.6289%2015.039%2016.543%2015.5546%2016.4141L17.4023%2017.875Z'%20fill='white'/%3e%3c/svg%3e", VX = "data:image/svg+xml,%3csvg%20width='16'%20height='22'%20viewBox='0%200%2016%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.56242%200C9.83976%200%2011.6874%201.84766%2011.6874%204.125V11C11.6874%2013.2773%209.83976%2015.125%207.56242%2015.125C5.28508%2015.125%203.43742%2013.2773%203.43742%2011V4.125C3.43742%201.84766%205.28508%200%207.56242%200ZM2.06242%209.28125V11C2.06242%2014.0508%204.51164%2016.5%207.56242%2016.5C10.5702%2016.5%2013.0624%2014.0508%2013.0624%2011V9.28125C13.0624%208.72266%2013.4921%208.25%2014.0937%208.25C14.6523%208.25%2015.1249%208.72266%2015.1249%209.28125V11C15.1249%2014.8672%2012.246%2018.0039%208.59367%2018.5195V19.9375H10.6562C11.2148%2019.9375%2011.6874%2020.4102%2011.6874%2020.9688C11.6874%2021.5703%2011.2148%2022%2010.6562%2022H7.56242H4.46867C3.86711%2022%203.43742%2021.5703%203.43742%2020.9688C3.43742%2020.4102%203.86711%2019.9375%204.46867%2019.9375H6.53117V18.5195C2.83586%2018.0039%20-8.10623e-05%2014.8672%20-8.10623e-05%2011V9.28125C-8.10623e-05%208.72266%200.429606%208.25%201.03117%208.25C1.58976%208.25%202.06242%208.72266%202.06242%209.28125Z'%20fill='white'/%3e%3c/svg%3e", HX = "data:image/svg+xml,%3csvg%20width='28'%20height='23'%20viewBox='0%200%2028%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.80461%200.386719L5.02726%202.87891H15.2968C16.8007%202.87891%2018.0468%204.125%2018.0468%205.62891V13.0625L19.4218%2014.1367V13.8789V8.37891V7.64844L20.0234%207.26172L24.1484%204.51172C24.578%204.21094%2025.0937%204.21094%2025.5663%204.42578C25.996%204.68359%2026.2968%205.15625%2026.2968%205.62891V16.6289C26.2968%2017.1445%2025.996%2017.6172%2025.5663%2017.875C25.0937%2018.0898%2024.578%2018.0898%2024.1484%2017.7891L23.5468%2017.4023L27.2421%2020.3242C27.7148%2020.668%2027.8007%2021.3125%2027.414%2021.7422C27.0702%2022.2148%2026.4257%2022.3008%2025.996%2021.9141L0.558513%201.97656C0.0858564%201.63281%20-8.10623e-05%200.988281%200.386638%200.558594C0.730388%200.0859375%201.37492%200%201.80461%200.386719ZM17.6601%2018.0469C17.1445%2018.8633%2016.2851%2019.3789%2015.2968%2019.3789H4.29679C2.74992%2019.3789%201.54679%2018.1758%201.54679%2016.6289V5.62891C1.54679%205.54297%201.54679%205.45703%201.54679%205.37109L17.6601%2018.0469Z'%20fill='white'/%3e%3c/svg%3e", UX = "data:image/svg+xml,%3csvg%20width='25'%20height='17'%20viewBox='0%200%2025%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M-8.10623e-05%202.75C-8.10623e-05%201.24609%201.20304%200%202.74992%200H13.7499C15.2538%200%2016.4999%201.24609%2016.4999%202.75V13.75C16.4999%2015.2969%2015.2538%2016.5%2013.7499%2016.5H2.74992C1.20304%2016.5%20-8.10623e-05%2015.2969%20-8.10623e-05%2013.75V2.75ZM24.0195%201.54688C24.4491%201.80469%2024.7499%202.27734%2024.7499%202.75V13.75C24.7499%2014.2656%2024.4491%2014.7383%2024.0195%2014.9961C23.5468%2015.2109%2023.0312%2015.2109%2022.6015%2014.9102L18.4765%2012.1602L17.8749%2011.7734V11V5.5V4.76953L18.4765%204.38281L22.6015%201.63281C23.0312%201.33203%2023.5468%201.33203%2024.0195%201.54688Z'%20fill='white'/%3e%3c/svg%3e", WX = {}, GX = {
|
|
32093
|
+
width: "26",
|
|
32094
|
+
height: "26",
|
|
32095
|
+
viewBox: "0 0 26 26",
|
|
32096
|
+
fill: "none",
|
|
32097
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32098
|
+
class: "icon icon-blur"
|
|
32099
|
+
};
|
|
32100
|
+
function KX(e, t) {
|
|
32101
|
+
return A(), l("svg", GX, [...t[0] ||= [f("<g opacity=\"0.54\"><circle cx=\"1\" cy=\"1\" r=\"1\" fill=\"white\"></circle><circle cx=\"7\" cy=\"1\" r=\"1\" fill=\"white\"></circle><circle cx=\"13\" cy=\"1\" r=\"1\" fill=\"white\"></circle><circle cx=\"19\" cy=\"1\" r=\"1\" fill=\"white\"></circle><circle cx=\"25\" cy=\"1\" r=\"1\" fill=\"white\"></circle><circle cx=\"1\" cy=\"7\" r=\"1\" fill=\"white\"></circle><circle cx=\"7\" cy=\"7\" r=\"1\" fill=\"white\"></circle><circle cx=\"13\" cy=\"7\" r=\"1\" fill=\"white\"></circle><circle cx=\"19\" cy=\"7\" r=\"1\" fill=\"white\"></circle><circle cx=\"25\" cy=\"7\" r=\"1\" fill=\"white\"></circle><circle cx=\"1\" cy=\"13\" r=\"1\" fill=\"white\"></circle><circle cx=\"7\" cy=\"13\" r=\"1\" fill=\"white\"></circle><circle cx=\"13\" cy=\"13\" r=\"1\" fill=\"white\"></circle><circle cx=\"19\" cy=\"13\" r=\"1\" fill=\"white\"></circle><circle cx=\"25\" cy=\"13\" r=\"1\" fill=\"white\"></circle><circle cx=\"1\" cy=\"19\" r=\"1\" fill=\"white\"></circle><circle cx=\"7\" cy=\"19\" r=\"1\" fill=\"white\"></circle><circle cx=\"13\" cy=\"19\" r=\"1\" fill=\"white\"></circle><circle cx=\"19\" cy=\"19\" r=\"1\" fill=\"white\"></circle><circle cx=\"25\" cy=\"19\" r=\"1\" fill=\"white\"></circle><circle cx=\"1\" cy=\"25\" r=\"1\" fill=\"white\"></circle><circle cx=\"7\" cy=\"25\" r=\"1\" fill=\"white\"></circle><circle cx=\"13\" cy=\"25\" r=\"1\" fill=\"white\"></circle><circle cx=\"19\" cy=\"25\" r=\"1\" fill=\"white\"></circle><circle cx=\"25\" cy=\"25\" r=\"1\" fill=\"white\"></circle></g>", 1)]]);
|
|
32102
|
+
}
|
|
32103
|
+
var qX = /*#__PURE__*/ L(WX, [["render", KX]]), JX = {}, YX = {
|
|
32104
|
+
width: "20",
|
|
32105
|
+
height: "33",
|
|
32106
|
+
viewBox: "0 0 20 33",
|
|
32107
|
+
fill: "none",
|
|
32108
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32109
|
+
class: "icon icon-participant"
|
|
32110
|
+
};
|
|
32111
|
+
function XX(e, t) {
|
|
32112
|
+
return A(), l("svg", YX, [...t[0] ||= [u("path", {
|
|
32113
|
+
d: "M9.625 16.75C6.57422 16.75 4.125 14.3008 4.125 11.25C4.125 8.24219 6.57422 5.75 9.625 5.75C12.6328 5.75 15.125 8.24219 15.125 11.25C15.125 14.3008 12.6328 16.75 9.625 16.75ZM13.4492 18.125C16.6289 18.125 19.25 20.7461 19.25 23.9258V25.6875C19.25 26.8477 18.3047 27.75 17.1875 27.75H2.0625C0.902344 27.75 0 26.8477 0 25.6875V23.9258C0 20.7461 2.57812 18.125 5.75781 18.125H6.48828C7.43359 18.5977 8.50781 18.8125 9.625 18.8125C10.7422 18.8125 11.7734 18.5977 12.7188 18.125H13.4492Z",
|
|
32114
|
+
fill: "white"
|
|
32115
|
+
}, null, -1)]]);
|
|
32116
|
+
}
|
|
32117
|
+
var ZX = /*#__PURE__*/ L(JX, [["render", XX]]), QX = { class: "video-call-template" }, $X = {
|
|
32081
32118
|
key: 0,
|
|
32082
32119
|
class: "card"
|
|
32083
|
-
},
|
|
32120
|
+
}, eZ = {
|
|
32084
32121
|
key: 0,
|
|
32085
32122
|
class: "permissions-denied__audio"
|
|
32086
|
-
},
|
|
32123
|
+
}, tZ = { class: "permissions-denied__audio-disabled" }, nZ = {
|
|
32087
32124
|
key: 1,
|
|
32088
32125
|
class: "permissions-denied__video"
|
|
32089
|
-
},
|
|
32126
|
+
}, rZ = { class: "permissions-denied__video-disabled" }, iZ = {
|
|
32090
32127
|
key: 1,
|
|
32091
32128
|
class: "card"
|
|
32092
|
-
},
|
|
32129
|
+
}, aZ = { class: "incoming__settings" }, oZ = { class: "side" }, sZ = { class: "outgoing" }, cZ = { class: "card" }, lZ = {
|
|
32093
32130
|
key: 0,
|
|
32094
32131
|
class: "outgoing__video"
|
|
32095
|
-
},
|
|
32132
|
+
}, uZ = { class: "outgoing__controls" }, dZ = ["alt"], fZ = ["alt"], pZ = ["alt"], mZ = ["alt"], hZ = { class: "outgoing__available-cameras-count text-center" }, gZ = {
|
|
32096
32133
|
key: 3,
|
|
32097
32134
|
class: "permissions-denied__video"
|
|
32098
|
-
},
|
|
32135
|
+
}, _Z = { class: "permissions-denied__video-disabled" }, vZ = { class: "settings" }, yZ = { class: "settings__status" }, bZ = { class: "settings__status-text" }, xZ = {
|
|
32099
32136
|
key: 0,
|
|
32100
32137
|
class: "settings__status-detail"
|
|
32101
|
-
},
|
|
32138
|
+
}, SZ = { class: "settings__help" }, CZ = ["href"], wZ = {
|
|
32102
32139
|
href: "https://www.beterdichtbij.nl/service-contact/",
|
|
32103
32140
|
target: "_blank",
|
|
32104
32141
|
rel: "noopener noreferrer"
|
|
32105
|
-
},
|
|
32142
|
+
}, TZ = 2e3, EZ = {
|
|
32106
32143
|
__name: "BDVideoCallTemplate",
|
|
32107
32144
|
props: {
|
|
32108
32145
|
participant: {
|
|
@@ -32143,19 +32180,19 @@ var mX = ["src", "alt"], hX = {
|
|
|
32143
32180
|
deviceManager: null,
|
|
32144
32181
|
incomingCall: null,
|
|
32145
32182
|
call: null
|
|
32146
|
-
}), ce = j(null), le = j(null), ue = j(null), de = j(null), fe = j(
|
|
32147
|
-
switch (
|
|
32148
|
-
case 0: return
|
|
32149
|
-
case 1: return
|
|
32150
|
-
default: return
|
|
32183
|
+
}), ce = j(null), le = j(null), ue = j(null), de = j(null), fe = j(0), pe = j(0), me = j(null), he = j(!1), ge = j(""), _e = j(""), ve = j(null), ye = j(null), be = j(!0), xe = j(!1), Ce = j(!1), we = null, Te = null, Ee = null, De = a(() => {
|
|
32184
|
+
switch (fe.value) {
|
|
32185
|
+
case 0: return Ie.value.hasNoAvailableCamera;
|
|
32186
|
+
case 1: return Ie.value.hasOneAvailableCamera;
|
|
32187
|
+
default: return Ie.value.hasMultipleAvailableCameras;
|
|
32151
32188
|
}
|
|
32152
|
-
}),
|
|
32189
|
+
}), Oe = a(() => {
|
|
32153
32190
|
let e = navigator.userAgent;
|
|
32154
32191
|
return /Mobi/.test(e) && !D.value;
|
|
32155
|
-
}),
|
|
32192
|
+
}), ke = a(() => {
|
|
32156
32193
|
let e = navigator.userAgent, t = e.indexOf("Android") !== -1, n = /Mobi/.test(e), r = /iPad|iPhone|iPod/.test(e) && !window.MSStream;
|
|
32157
32194
|
return !(t && n || r);
|
|
32158
|
-
}),
|
|
32195
|
+
}), Ae = a(() => !ae.value?.video && We.value), je = a(() => !ae.value?.audio && We.value), Me = a(() => oe.value === i.Declined ? "incoming--declined" : "incoming--loading");
|
|
32159
32196
|
a(() => {
|
|
32160
32197
|
switch (ne.value) {
|
|
32161
32198
|
case 0: return "weak";
|
|
@@ -32171,297 +32208,283 @@ var mX = ["src", "alt"], hX = {
|
|
|
32171
32208
|
default: return null;
|
|
32172
32209
|
}
|
|
32173
32210
|
});
|
|
32174
|
-
let
|
|
32175
|
-
function
|
|
32211
|
+
let Ne = a(() => E.value.videoCallTemplate || E.value), Pe = a(() => Ne.value.actions || Ne.value), L = a(() => Ne.value.help || Ne.value), Fe = a(() => Ne.value.permissions || Ne.value), Ie = a(() => Ne.value.cameraAvailability || Ne.value), Le = a(() => D.value ? Pe.value.stopSharingScreen : Pe.value.shareScreen), Re = a(() => L.value.placeholderSettingsHelpTitle), ze = a(() => L.value.placeholderSettingsHelpMessage), Be = a(() => oe.value === i.Declined), Ve = a(() => oe.value === i.HangedUp), He = a(() => oe.value === i.Connected), Ue = a(() => !He.value), We = a(() => oe.value === i.DevicePermissionDenied), Ge = a(() => Ne.value.statusTextMessage || Ne.value), Ke = a(() => Ne.value.statusDetailMessage || Ne.value), qe = a(() => b.participantRole), Je = a(() => Ce.value ? Pe.value.microphoneUnmute : Pe.value.microphoneMute), Ye = a(() => xe.value ? Pe.value.cameraOn : Pe.value.cameraOff), Xe = a(() => be.value ? Pe.value.backgroundBlur : Pe.value.backgroundUnblur);
|
|
32212
|
+
function Ze(e) {
|
|
32176
32213
|
if (typeof e != "string") return e;
|
|
32177
|
-
let t = e.replaceAll("{participantRole}",
|
|
32214
|
+
let t = e.replaceAll("{participantRole}", qe.value);
|
|
32178
32215
|
return t && t.charAt(0).toLocaleUpperCase() + t.slice(1);
|
|
32179
32216
|
}
|
|
32180
|
-
let
|
|
32217
|
+
let Qe = a(() => {
|
|
32181
32218
|
switch (oe.value) {
|
|
32182
|
-
case i.Initializing: return
|
|
32183
|
-
case i.Dialing: return
|
|
32184
|
-
case i.Ringing: return
|
|
32185
|
-
case i.Answered: return
|
|
32186
|
-
case i.Connected: return
|
|
32187
|
-
case i.Declined: return
|
|
32188
|
-
case i.HangedUp: return
|
|
32189
|
-
case i.DevicePermissionDenied: return
|
|
32190
|
-
}
|
|
32191
|
-
}),
|
|
32219
|
+
case i.Initializing: return Ze(Ge.value.initializing);
|
|
32220
|
+
case i.Dialing: return Ze(Ge.value.dialing);
|
|
32221
|
+
case i.Ringing: return Ze(Ge.value.ringing);
|
|
32222
|
+
case i.Answered: return Ze(Ge.value.answered);
|
|
32223
|
+
case i.Connected: return Ze(Ge.value.connected);
|
|
32224
|
+
case i.Declined: return Ze(Ge.value.videoCallDeclined);
|
|
32225
|
+
case i.HangedUp: return Ze(Ge.value.videoCallHangedUp);
|
|
32226
|
+
case i.DevicePermissionDenied: return Ze(Ge.value.devicePermissionDenied);
|
|
32227
|
+
}
|
|
32228
|
+
}), $e = a(() => ge.value || Qe.value), et = a(() => _e.value), tt = a(() => ee.value ? ".incoming__screenshare" : ".incoming__video");
|
|
32192
32229
|
te(() => {
|
|
32193
|
-
|
|
32230
|
+
Vt(), rt(), ye.value = window.setInterval(gt, 5e3);
|
|
32194
32231
|
}), re(() => {
|
|
32195
|
-
|
|
32232
|
+
me.value && window.clearInterval(me.value), ye.value && window.clearInterval(ye.value), nt(), zt();
|
|
32196
32233
|
});
|
|
32197
|
-
function
|
|
32198
|
-
|
|
32199
|
-
}
|
|
32200
|
-
function
|
|
32201
|
-
|
|
32202
|
-
oe.value === i.Initializing && (
|
|
32203
|
-
}, 3e4) : oe.value === i.Dialing ?
|
|
32204
|
-
oe.value === i.Dialing && (
|
|
32205
|
-
}, 1e4) : oe.value === i.Connected && (
|
|
32206
|
-
oe.value === i.Connected && (
|
|
32234
|
+
function nt() {
|
|
32235
|
+
we &&= (window.clearTimeout(we), null), Te &&= (window.clearTimeout(Te), null), Ee &&= (window.clearTimeout(Ee), null);
|
|
32236
|
+
}
|
|
32237
|
+
function rt() {
|
|
32238
|
+
nt(), oe.value === i.Initializing ? we = window.setTimeout(() => {
|
|
32239
|
+
oe.value === i.Initializing && (ge.value = Ze(Ge.value.callNotDelivered), _e.value = Ze(Ke.value.callNotDeliveredDetail));
|
|
32240
|
+
}, 3e4) : oe.value === i.Dialing ? Te = window.setTimeout(() => {
|
|
32241
|
+
oe.value === i.Dialing && (ge.value = "", _e.value = Ze(Ke.value.notAnsweredDetail));
|
|
32242
|
+
}, 1e4) : oe.value === i.Connected && (Ee = window.setTimeout(() => {
|
|
32243
|
+
oe.value === i.Connected && (_e.value = Ze(Ke.value.noVideoHint));
|
|
32207
32244
|
}, 5e3));
|
|
32208
32245
|
}
|
|
32209
|
-
function
|
|
32246
|
+
function it(e) {
|
|
32210
32247
|
[
|
|
32211
32248
|
i.Declined,
|
|
32212
32249
|
i.HangedUp,
|
|
32213
32250
|
i.DevicePermissionDenied
|
|
32214
|
-
].includes(oe.value) || (oe.value = e,
|
|
32251
|
+
].includes(oe.value) || (oe.value = e, ge.value = "", _e.value = "", rt());
|
|
32215
32252
|
}
|
|
32216
|
-
function
|
|
32217
|
-
|
|
32253
|
+
function at() {
|
|
32254
|
+
Ce.value = !Ce.value, console.log("Microphone toggled");
|
|
32218
32255
|
}
|
|
32219
|
-
function
|
|
32220
|
-
|
|
32256
|
+
function ot() {
|
|
32257
|
+
xe.value = !xe.value, console.log("Camera toggled");
|
|
32221
32258
|
}
|
|
32222
|
-
function
|
|
32223
|
-
|
|
32259
|
+
function st() {
|
|
32260
|
+
be.value = !be.value, console.log("Background blur toggled");
|
|
32224
32261
|
}
|
|
32225
|
-
function
|
|
32226
|
-
|
|
32262
|
+
function ct() {
|
|
32263
|
+
it(i.Declined);
|
|
32227
32264
|
}
|
|
32228
|
-
|
|
32229
|
-
|
|
32265
|
+
function lt() {
|
|
32266
|
+
it(i.Answered);
|
|
32230
32267
|
}
|
|
32231
|
-
function
|
|
32232
|
-
|
|
32268
|
+
function ut() {
|
|
32269
|
+
oe.value !== i.Connected && it(i.Dialing);
|
|
32233
32270
|
}
|
|
32234
|
-
function
|
|
32235
|
-
|
|
32271
|
+
function dt() {
|
|
32272
|
+
oe.value !== i.DevicePermissionDenied && !b.isCallee && bt();
|
|
32236
32273
|
}
|
|
32237
|
-
function
|
|
32238
|
-
|
|
32274
|
+
async function ft() {
|
|
32275
|
+
it(i.HangedUp), ae.value.video && Lt();
|
|
32239
32276
|
}
|
|
32240
|
-
function
|
|
32241
|
-
|
|
32242
|
-
|
|
32243
|
-
|
|
32277
|
+
function pt(e) {
|
|
32278
|
+
it(i.HangedUp), _e.value = Dt(e);
|
|
32279
|
+
}
|
|
32280
|
+
function mt() {
|
|
32281
|
+
ge.value = Ze(Ge.value.signalHold), _e.value = Ze(Ke.value.signalHoldDetail);
|
|
32282
|
+
}
|
|
32283
|
+
function ht() {
|
|
32284
|
+
ve.value = /* @__PURE__ */ new Date();
|
|
32285
|
+
}
|
|
32286
|
+
function gt() {
|
|
32287
|
+
if (!ve.value || oe.value === i.HangedUp) return;
|
|
32288
|
+
let e = /* @__PURE__ */ new Date(), t = new Date(ve.value), n = Math.abs(e.getTime() - t.getTime()), r = Math.ceil(n / 1e3);
|
|
32289
|
+
r >= 40 ? (ge.value = Ge.value.connectionIssues, _e.value = Ke.value.connectionIssuesStrong, ne.value = 0) : r > 20 && (ge.value = Ge.value.connectionIssues, _e.value = Ke.value.connectionIssuesMedium, ne.value = 1);
|
|
32244
32290
|
}
|
|
32245
|
-
async function
|
|
32246
|
-
await
|
|
32291
|
+
async function _t(e) {
|
|
32292
|
+
await Bt(), N.client = w(new f());
|
|
32247
32293
|
let t = new y(e);
|
|
32248
32294
|
if (N.agent = w(await N.client.createCallAgent(t)), N.deviceManager = await N.client.getDeviceManager(), ae.value = await N.deviceManager.askDevicePermission({
|
|
32249
32295
|
video: !0,
|
|
32250
32296
|
audio: !0
|
|
32251
|
-
}), (await N.deviceManager.getCameras()).length || (ae.value.video = !1),
|
|
32252
|
-
|
|
32297
|
+
}), (await N.deviceManager.getCameras()).length || (ae.value.video = !1), me.value = window.setInterval(Lt, 5e3), !ae.value.audio || !ae.value.video) {
|
|
32298
|
+
it(i.DevicePermissionDenied);
|
|
32253
32299
|
return;
|
|
32254
32300
|
}
|
|
32255
|
-
N.agent.on("incomingCall",
|
|
32301
|
+
N.agent.on("incomingCall", vt), b.isCallee ? x("ready") : x("start-call");
|
|
32256
32302
|
}
|
|
32257
|
-
async function
|
|
32258
|
-
if (!
|
|
32259
|
-
|
|
32303
|
+
async function vt(e) {
|
|
32304
|
+
if (!he.value) try {
|
|
32305
|
+
he.value = !0, N.incomingCall = e.incomingCall, await xt();
|
|
32260
32306
|
} catch (e) {
|
|
32261
32307
|
console.log("error occured during starting call", e);
|
|
32262
32308
|
} finally {
|
|
32263
|
-
|
|
32309
|
+
he.value = !1;
|
|
32264
32310
|
}
|
|
32265
32311
|
}
|
|
32266
|
-
async function
|
|
32267
|
-
let e = await
|
|
32312
|
+
async function yt() {
|
|
32313
|
+
let e = await St();
|
|
32268
32314
|
return e ? { localVideoStreams: [e] } : void 0;
|
|
32269
32315
|
}
|
|
32270
|
-
async function
|
|
32316
|
+
async function bt() {
|
|
32271
32317
|
try {
|
|
32272
|
-
|
|
32273
|
-
let e = { videoOptions: await
|
|
32274
|
-
N.call = N.agent.startCall(t, e),
|
|
32318
|
+
it(i.Dialing);
|
|
32319
|
+
let e = { videoOptions: await yt() }, t = [{ communicationUserId: b.participant.videoCallIdentityId }];
|
|
32320
|
+
N.call = N.agent.startCall(t, e), wt(), Ct();
|
|
32275
32321
|
} catch (e) {
|
|
32276
32322
|
console.error(e);
|
|
32277
32323
|
}
|
|
32278
32324
|
}
|
|
32279
|
-
async function
|
|
32280
|
-
let e = await
|
|
32325
|
+
async function xt() {
|
|
32326
|
+
let e = await yt();
|
|
32281
32327
|
try {
|
|
32282
32328
|
N.call = await N.incomingCall.accept({ videoOptions: e });
|
|
32283
32329
|
} catch (e) {
|
|
32284
32330
|
console.error("Error occurred during accepting call", e);
|
|
32285
32331
|
}
|
|
32286
|
-
|
|
32332
|
+
wt(), Ct();
|
|
32287
32333
|
}
|
|
32288
|
-
async function
|
|
32334
|
+
async function St() {
|
|
32289
32335
|
let e = (await N.deviceManager.getCameras())[0];
|
|
32290
32336
|
if (e) return new g(e);
|
|
32291
32337
|
console.error("No camera device found on the system");
|
|
32292
32338
|
}
|
|
32293
|
-
function
|
|
32294
|
-
N.call.on("stateChanged",
|
|
32295
|
-
e.added.forEach(
|
|
32296
|
-
}), N.call.remoteParticipants.forEach(
|
|
32297
|
-
e.added.forEach(
|
|
32339
|
+
function Ct() {
|
|
32340
|
+
N.call.on("stateChanged", Et), N.call.on("localVideoStreamsUpdated", (e) => {
|
|
32341
|
+
e.added.forEach(kt), e.removed.forEach(Ot);
|
|
32342
|
+
}), N.call.remoteParticipants.forEach(jt), N.call.on("remoteParticipantsUpdated", (e) => {
|
|
32343
|
+
e.added.forEach(jt);
|
|
32298
32344
|
}), N.call.on("isScreenSharingOnChanged", () => {
|
|
32299
32345
|
D.value = N.call.isScreenSharingOn;
|
|
32300
32346
|
});
|
|
32301
32347
|
}
|
|
32302
|
-
function
|
|
32303
|
-
M.value = N.call.feature(_.UserFacingDiagnostics), M.value.media.on("diagnosticChanged",
|
|
32348
|
+
function wt() {
|
|
32349
|
+
M.value = N.call.feature(_.UserFacingDiagnostics), M.value.media.on("diagnosticChanged", Tt), M.value.network.on("diagnosticChanged", Tt);
|
|
32304
32350
|
}
|
|
32305
|
-
function
|
|
32351
|
+
function Tt(e) {
|
|
32306
32352
|
(e.diagnostic === "networkReceiveQuality" || e.diagnostic === "networkSendQuality") && (e.value === v.Bad ? (console.error(`${e.diagnostic} is bad quality`), ne.value = 0) : e.value === v.Poor ? (console.error(`${e.diagnostic} is poor quality`), ne.value = 1) : ne.value = 2);
|
|
32307
32353
|
}
|
|
32308
|
-
function
|
|
32354
|
+
function Et() {
|
|
32309
32355
|
switch (N.call.state) {
|
|
32310
32356
|
case "EarlyMedia":
|
|
32311
|
-
|
|
32357
|
+
it(i.Dialing);
|
|
32312
32358
|
break;
|
|
32313
32359
|
case "Ringing":
|
|
32314
|
-
|
|
32360
|
+
it(i.Ringing);
|
|
32315
32361
|
break;
|
|
32316
32362
|
case "Connected":
|
|
32317
|
-
|
|
32363
|
+
it(i.Connected);
|
|
32318
32364
|
break;
|
|
32319
32365
|
case "Disconnected":
|
|
32320
32366
|
let e = N.call.callEndReason;
|
|
32321
|
-
console.log("Call end reason:", e), console.log("Code:", e?.code), console.log("SubCode:", e?.subCode),
|
|
32367
|
+
console.log("Call end reason:", e), console.log("Code:", e?.code), console.log("SubCode:", e?.subCode), ft();
|
|
32322
32368
|
break;
|
|
32323
32369
|
}
|
|
32324
32370
|
}
|
|
32325
|
-
function
|
|
32371
|
+
function Dt(e) {
|
|
32326
32372
|
let t = String(e);
|
|
32327
|
-
return
|
|
32373
|
+
return Ze(Ne.value.endReasons?.[t] || "");
|
|
32328
32374
|
}
|
|
32329
|
-
function
|
|
32330
|
-
|
|
32331
|
-
|
|
32332
|
-
async function xt(e) {
|
|
32333
|
-
if (console.log("Removing local screen share stream", e), !e || e.mediaStreamType !== "ScreenSharing") return;
|
|
32334
|
-
bt();
|
|
32375
|
+
async function Ot(e) {
|
|
32376
|
+
if (!e || e.mediaStreamType !== "ScreenSharing" || !de.value) return;
|
|
32377
|
+
de.value.dispose();
|
|
32335
32378
|
let t = document.querySelector(".outgoing__screenshare");
|
|
32336
|
-
t.
|
|
32379
|
+
t.style.display = "none";
|
|
32337
32380
|
let n = document.querySelector(".outgoing__video");
|
|
32338
|
-
n.style.display = "flex"
|
|
32381
|
+
n.style.display = "flex";
|
|
32339
32382
|
}
|
|
32340
|
-
async function
|
|
32341
|
-
if (
|
|
32342
|
-
|
|
32343
|
-
let t =
|
|
32344
|
-
|
|
32345
|
-
|
|
32346
|
-
|
|
32347
|
-
|
|
32348
|
-
|
|
32349
|
-
let n = e.querySelector("video");
|
|
32350
|
-
n.style.objectFit = "contain", e.style.display = "flex";
|
|
32351
|
-
let r = document.querySelector(".outgoing__video");
|
|
32352
|
-
r.style.display = "none", console.log("local screen share displayed");
|
|
32353
|
-
} catch (e) {
|
|
32354
|
-
de.value === t ? bt() : t.dispose(), console.error("Failed to render local screen share", e);
|
|
32355
|
-
}
|
|
32383
|
+
async function kt(e) {
|
|
32384
|
+
if (!e || e.mediaStreamType !== "ScreenSharing") return;
|
|
32385
|
+
de.value = await new h(e).createView();
|
|
32386
|
+
let t = document.querySelector(".outgoing__screenshare");
|
|
32387
|
+
t.replaceChildren(de.value.target), t.style.display = "flex";
|
|
32388
|
+
let n = document.querySelector(".outgoing__video");
|
|
32389
|
+
n.style.display = "none";
|
|
32390
|
+
let r = t.querySelector("video");
|
|
32391
|
+
r.style.objectFit = "contain";
|
|
32356
32392
|
}
|
|
32357
|
-
async function
|
|
32358
|
-
if (
|
|
32393
|
+
async function At(e) {
|
|
32394
|
+
if (e && e.source && ce.value && ce.value.source && ce.value.source.id == e.source.id) return !0;
|
|
32359
32395
|
try {
|
|
32360
32396
|
le.value = new h(e);
|
|
32361
32397
|
let t = await le.value.createView(), n = document.querySelector(".outgoing__video");
|
|
32362
|
-
n.
|
|
32398
|
+
n.querySelector("video") && (n.innerHTML = ""), n.hidden = !1, n.replaceChildren(t.target);
|
|
32363
32399
|
} catch {
|
|
32364
32400
|
return !1;
|
|
32365
32401
|
}
|
|
32366
|
-
return ce.value = e,
|
|
32402
|
+
return ce.value = e, !0;
|
|
32367
32403
|
}
|
|
32368
|
-
async function
|
|
32369
|
-
e.videoStreams.forEach(
|
|
32370
|
-
e.added.forEach(
|
|
32404
|
+
async function jt(e) {
|
|
32405
|
+
e.videoStreams.forEach(Mt), e.on("videoStreamsUpdated", (e) => {
|
|
32406
|
+
e.added.forEach(Mt);
|
|
32371
32407
|
});
|
|
32372
32408
|
}
|
|
32373
|
-
async function
|
|
32374
|
-
if (e.mediaStreamType === "Video" && (await
|
|
32409
|
+
async function Mt(e) {
|
|
32410
|
+
if (e.mediaStreamType === "Video" && (await Nt(e), e.on("isAvailableChanged", async () => await Nt(e))), e.mediaStreamType === "ScreenSharing" && e.on("isAvailableChanged", Ft), e.mediaStreamType === "ScreenSharing" && e.isAvailable) {
|
|
32375
32411
|
ue.value = new h(e);
|
|
32376
32412
|
let t = await ue.value.createView(), n = document.querySelector(".incoming__screenshare");
|
|
32377
|
-
|
|
32413
|
+
Pt(!0), ee.value = !0, Rt(".incoming__screenshare"), n.replaceChildren(t.target);
|
|
32378
32414
|
}
|
|
32379
32415
|
}
|
|
32380
|
-
async function
|
|
32416
|
+
async function Nt(e) {
|
|
32381
32417
|
if (!e.isAvailable) return;
|
|
32382
32418
|
ue.value = new h(e);
|
|
32383
32419
|
let t = await ue.value.createView(), n = document.querySelector(".incoming__video");
|
|
32384
|
-
n.hidden = !1, n.replaceChildren(t.target),
|
|
32420
|
+
n.hidden = !1, n.replaceChildren(t.target), Rt(".incoming__video"), Pt(!1);
|
|
32385
32421
|
}
|
|
32386
|
-
function
|
|
32422
|
+
function Pt(e) {
|
|
32387
32423
|
let t = document.querySelector(".incoming__video"), n = document.querySelector(".incoming__screenshare");
|
|
32388
32424
|
t.style.display = e ? "none" : "block", n.style.display = e ? "flex" : "none";
|
|
32389
32425
|
}
|
|
32390
|
-
function
|
|
32391
|
-
ee.value = !1,
|
|
32426
|
+
function Ft() {
|
|
32427
|
+
ee.value = !1, Pt(!1);
|
|
32392
32428
|
}
|
|
32393
|
-
async function
|
|
32394
|
-
|
|
32429
|
+
async function It() {
|
|
32430
|
+
Lt(!0);
|
|
32395
32431
|
}
|
|
32396
|
-
async function
|
|
32432
|
+
async function Lt(e = !1) {
|
|
32397
32433
|
let t = N.call?.state;
|
|
32398
32434
|
if (t === "Connecting" || t === "EarlyMedia") return;
|
|
32399
32435
|
let n = (await N.deviceManager.getCameras()).filter((e) => e.name != "OBS Virtual Camera");
|
|
32400
|
-
|
|
32401
|
-
for (let t = 0; t <
|
|
32402
|
-
(e || t != 0) && (
|
|
32403
|
-
let r = n[
|
|
32404
|
-
if (await
|
|
32436
|
+
fe.value = n.length;
|
|
32437
|
+
for (let t = 0; t < fe.value; t++) {
|
|
32438
|
+
(e || t != 0) && (pe.value = (pe.value + 1) % fe.value);
|
|
32439
|
+
let r = n[pe.value];
|
|
32440
|
+
if (await At(new g(r))) break;
|
|
32405
32441
|
}
|
|
32406
32442
|
}
|
|
32407
|
-
function
|
|
32443
|
+
function Rt(e) {
|
|
32408
32444
|
let t = document.querySelector(e);
|
|
32409
32445
|
if (!t) return;
|
|
32410
32446
|
let n = t.querySelector("video");
|
|
32411
32447
|
n && (n.style.objectFit = "contain", n.disablePictureInPicture = !1);
|
|
32412
32448
|
}
|
|
32413
|
-
async function
|
|
32449
|
+
async function zt() {
|
|
32414
32450
|
N.call && N.call.state !== "Disconnected" && (await N.call.hangUp({ forEveryone: !0 }), await N.agent.dispose()), x("end-call", C.value);
|
|
32415
32451
|
}
|
|
32416
|
-
async function
|
|
32452
|
+
async function Bt() {
|
|
32417
32453
|
return o ||= Promise.all([import("@azure/communication-calling"), import("@azure/communication-common")]).then(([e, t]) => {
|
|
32418
32454
|
f = e.CallClient, h = e.VideoStreamRenderer, g = e.LocalVideoStream, _ = e.Features, v = e.DiagnosticQuality, y = t.AzureCommunicationTokenCredential;
|
|
32419
32455
|
}), o;
|
|
32420
32456
|
}
|
|
32421
|
-
async function
|
|
32457
|
+
async function Vt() {
|
|
32422
32458
|
d ||= import("./browser-aFX0ImH2.js");
|
|
32423
32459
|
let { AzureLogger: e, setLogLevel: t } = await d;
|
|
32424
32460
|
e.log = (...e) => console.log(...e), t("info"), e.log = (...e) => {
|
|
32425
32461
|
let t = [...e];
|
|
32426
|
-
C.value = C.value.splice(1 -
|
|
32462
|
+
C.value = C.value.splice(1 - TZ).concat(t);
|
|
32427
32463
|
};
|
|
32428
32464
|
}
|
|
32429
|
-
function
|
|
32430
|
-
document.querySelector(
|
|
32465
|
+
function Ht() {
|
|
32466
|
+
document.querySelector(tt.value).querySelector("video").requestFullscreen();
|
|
32431
32467
|
}
|
|
32432
|
-
function
|
|
32433
|
-
let e = document.querySelector(
|
|
32468
|
+
function Ut() {
|
|
32469
|
+
let e = document.querySelector(tt.value).querySelector("video");
|
|
32434
32470
|
document.pictureInPictureElement ? e.exitPictureInPicture() : document.pictureInPictureEnabled && e.requestPictureInPicture();
|
|
32435
32471
|
}
|
|
32436
|
-
async function
|
|
32437
|
-
|
|
32438
|
-
if (!(!e || pe.value)) {
|
|
32439
|
-
pe.value = !0;
|
|
32440
|
-
try {
|
|
32441
|
-
e.isScreenSharingOn ? await e.stopScreenSharing() : (console.log({
|
|
32442
|
-
isScreenSharingOn: e.isScreenSharingOn,
|
|
32443
|
-
localVideoStreams: e.localVideoStreams.map((e) => e.mediaStreamType)
|
|
32444
|
-
}), await e.startScreenSharing());
|
|
32445
|
-
} catch (t) {
|
|
32446
|
-
D.value = e.isScreenSharingOn, console.error("Failed to change screen sharing state", t);
|
|
32447
|
-
} finally {
|
|
32448
|
-
pe.value = !1;
|
|
32449
|
-
}
|
|
32450
|
-
}
|
|
32472
|
+
async function Wt() {
|
|
32473
|
+
N.call && N.call.isScreenSharingOn ? await N.call.stopScreenSharing() : await N.call.startScreenSharing();
|
|
32451
32474
|
}
|
|
32452
32475
|
return n({
|
|
32453
|
-
CallDeclined:
|
|
32454
|
-
CallAnswered:
|
|
32455
|
-
CallForDataReceived:
|
|
32456
|
-
CallClosedWithStatusCode:
|
|
32457
|
-
CallHeartbeatReceived:
|
|
32458
|
-
CallSignalHoldDetected:
|
|
32459
|
-
CallStartVideoCall:
|
|
32460
|
-
CallHangUp:
|
|
32461
|
-
InitializeAcsConnection:
|
|
32476
|
+
CallDeclined: ct,
|
|
32477
|
+
CallAnswered: lt,
|
|
32478
|
+
CallForDataReceived: ut,
|
|
32479
|
+
CallClosedWithStatusCode: pt,
|
|
32480
|
+
CallHeartbeatReceived: ht,
|
|
32481
|
+
CallSignalHoldDetected: mt,
|
|
32482
|
+
CallStartVideoCall: dt,
|
|
32483
|
+
CallHangUp: ft,
|
|
32484
|
+
InitializeAcsConnection: _t
|
|
32462
32485
|
}), (e, n) => {
|
|
32463
32486
|
let r = se("BDLoader");
|
|
32464
|
-
return A(), l("div",
|
|
32487
|
+
return A(), l("div", QX, [m(Xq, null, {
|
|
32465
32488
|
default: I(() => [m(Zq, null, {
|
|
32466
32489
|
default: I(() => [m(Yq, null, {
|
|
32467
32490
|
default: I(() => [m(RK, { contactInfo: b.participant.contact }, null, 8, ["contactInfo"])]),
|
|
@@ -32471,94 +32494,132 @@ var mX = ["src", "alt"], hX = {
|
|
|
32471
32494
|
}), m(Zq, null, {
|
|
32472
32495
|
default: I(() => [m(Yq, {
|
|
32473
32496
|
sm: "12",
|
|
32474
|
-
lg:
|
|
32497
|
+
lg: Be.value ? "12" : "8"
|
|
32475
32498
|
}, {
|
|
32476
|
-
default: I(() => [u("div", { class: O(["incoming",
|
|
32499
|
+
default: I(() => [u("div", { class: O(["incoming", Me.value]) }, [Ue.value ? (A(), l("div", $X, [
|
|
32477
32500
|
m(r, {
|
|
32478
32501
|
size: "lg",
|
|
32479
|
-
message:
|
|
32480
|
-
stopAnimation:
|
|
32502
|
+
message: Qe.value,
|
|
32503
|
+
stopAnimation: Be.value || Ve.value || We.value
|
|
32481
32504
|
}, null, 8, ["message", "stopAnimation"]),
|
|
32482
|
-
|
|
32483
|
-
|
|
32484
|
-
|
|
32505
|
+
je.value ? (A(), l("div", eZ, [u("div", tZ, [m(Ri, { class: "icon-xl icon-state-error" })]), u("span", null, P(Fe.value.permissionDeniedForAudio), 1)])) : c("", !0),
|
|
32506
|
+
Ae.value ? (A(), l("div", nZ, [u("div", rZ, [m(oo, { class: "icon-xl icon-state-error" })]), u("span", null, P(Fe.value.permissionDeniedForVideo), 1)])) : c("", !0),
|
|
32507
|
+
Be.value || Ve.value || We.value ? (A(), s(R, {
|
|
32485
32508
|
key: 2,
|
|
32486
32509
|
variant: "primary",
|
|
32487
32510
|
class: "text-center",
|
|
32488
|
-
onClick:
|
|
32511
|
+
onClick: zt
|
|
32489
32512
|
}, {
|
|
32490
|
-
default: I(() => [p(P(
|
|
32513
|
+
default: I(() => [p(P(Pe.value.closeWindow), 1)]),
|
|
32491
32514
|
_: 1
|
|
32492
32515
|
})) : c("", !0)
|
|
32493
|
-
])) : (A(), l("div",
|
|
32516
|
+
])) : (A(), l("div", iZ, [
|
|
32494
32517
|
n[0] ||= u("div", { class: "incoming__video" }, null, -1),
|
|
32495
32518
|
n[1] ||= u("div", { class: "incoming__screenshare" }, null, -1),
|
|
32496
|
-
u("div",
|
|
32519
|
+
u("div", aZ, [m(R, {
|
|
32497
32520
|
variant: "primary",
|
|
32498
32521
|
class: "text-center",
|
|
32499
|
-
onClick:
|
|
32522
|
+
onClick: Ht
|
|
32500
32523
|
}, {
|
|
32501
|
-
default: I(() => [m(xa), u("span", null, P(
|
|
32524
|
+
default: I(() => [m(xa), u("span", null, P(Pe.value.fullScreen), 1)]),
|
|
32502
32525
|
_: 1
|
|
32503
32526
|
}), !T && !k.value ? (A(), s(R, {
|
|
32504
32527
|
key: 0,
|
|
32505
32528
|
variant: "primary",
|
|
32506
32529
|
class: "text-center",
|
|
32507
|
-
onClick:
|
|
32530
|
+
onClick: Ut
|
|
32508
32531
|
}, {
|
|
32509
|
-
default: I(() => [m(xa), u("span", null, P(
|
|
32532
|
+
default: I(() => [m(xa), u("span", null, P(Pe.value.miniPlayer), 1)]),
|
|
32510
32533
|
_: 1
|
|
32511
32534
|
})) : c("", !0)])
|
|
32512
32535
|
]))], 2)]),
|
|
32513
32536
|
_: 1
|
|
32514
|
-
}, 8, ["lg"]),
|
|
32537
|
+
}, 8, ["lg"]), Be.value ? c("", !0) : (A(), s(Yq, {
|
|
32515
32538
|
key: 0,
|
|
32516
32539
|
sm: "12",
|
|
32517
32540
|
lg: "4"
|
|
32518
32541
|
}, {
|
|
32519
|
-
default: I(() => [u("div",
|
|
32520
|
-
u("div",
|
|
32521
|
-
|
|
32542
|
+
default: I(() => [u("div", oZ, [u("div", null, [
|
|
32543
|
+
u("div", sZ, [u("div", cZ, [
|
|
32544
|
+
We.value ? c("", !0) : (A(), l("div", lZ)),
|
|
32522
32545
|
n[2] ||= u("div", { class: "outgoing__screenshare" }, null, -1),
|
|
32523
|
-
|
|
32546
|
+
u("div", uZ, [
|
|
32547
|
+
Se((A(), s(R, {
|
|
32548
|
+
class: O({ "btn-danger": Ce.value }),
|
|
32549
|
+
onClick: at
|
|
32550
|
+
}, {
|
|
32551
|
+
default: I(() => [Ce.value ? (A(), l("img", {
|
|
32552
|
+
key: 0,
|
|
32553
|
+
src: BX,
|
|
32554
|
+
alt: Je.value
|
|
32555
|
+
}, null, 8, dZ)) : (A(), l("img", {
|
|
32556
|
+
key: 1,
|
|
32557
|
+
src: VX,
|
|
32558
|
+
alt: Je.value
|
|
32559
|
+
}, null, 8, fZ))]),
|
|
32560
|
+
_: 1
|
|
32561
|
+
}, 8, ["class"])), [[F(wK), Je.value]]),
|
|
32562
|
+
Se((A(), s(R, {
|
|
32563
|
+
class: O({ "btn-danger": xe.value }),
|
|
32564
|
+
onClick: ot
|
|
32565
|
+
}, {
|
|
32566
|
+
default: I(() => [xe.value ? (A(), l("img", {
|
|
32567
|
+
key: 0,
|
|
32568
|
+
src: HX,
|
|
32569
|
+
alt: Ye.value
|
|
32570
|
+
}, null, 8, pZ)) : (A(), l("img", {
|
|
32571
|
+
key: 1,
|
|
32572
|
+
src: UX,
|
|
32573
|
+
alt: Ye.value
|
|
32574
|
+
}, null, 8, mZ))]),
|
|
32575
|
+
_: 1
|
|
32576
|
+
}, 8, ["class"])), [[F(wK), Ye.value]]),
|
|
32577
|
+
Se((A(), s(R, {
|
|
32578
|
+
class: O(["blur-button", { off: be.value }]),
|
|
32579
|
+
onClick: st
|
|
32580
|
+
}, {
|
|
32581
|
+
default: I(() => [m(ZX), m(qX)]),
|
|
32582
|
+
_: 1
|
|
32583
|
+
}, 8, ["class"])), [[F(wK), Xe.value]])
|
|
32584
|
+
]),
|
|
32585
|
+
ke.value && !We.value && !k.value && !Ue.value ? (A(), s(R, {
|
|
32524
32586
|
key: 1,
|
|
32525
32587
|
variant: D.value ? "danger" : "primary",
|
|
32526
|
-
class: "
|
|
32527
|
-
onClick:
|
|
32528
|
-
disabled: pe.value
|
|
32588
|
+
class: "share-button",
|
|
32589
|
+
onClick: Wt
|
|
32529
32590
|
}, {
|
|
32530
|
-
default: I(() => [m(xa), u("span", null, P(
|
|
32591
|
+
default: I(() => [m(xa), u("span", null, P(Le.value), 1)]),
|
|
32531
32592
|
_: 1
|
|
32532
|
-
}, 8, ["variant"
|
|
32533
|
-
|
|
32593
|
+
}, 8, ["variant"])) : c("", !0),
|
|
32594
|
+
Oe.value ? (A(), l(t, { key: 2 }, [m(R, {
|
|
32534
32595
|
class: "text-center",
|
|
32535
|
-
onClick:
|
|
32596
|
+
onClick: It
|
|
32536
32597
|
}, {
|
|
32537
|
-
default: I(() => [p(P(
|
|
32598
|
+
default: I(() => [p(P(Pe.value.switchCamera), 1)]),
|
|
32538
32599
|
_: 1
|
|
32539
|
-
}), u("p",
|
|
32540
|
-
|
|
32600
|
+
}), u("p", hZ, P(De.value), 1)], 64)) : c("", !0),
|
|
32601
|
+
Ae.value ? (A(), l("div", gZ, [u("div", _Z, [m(oo, { class: "icon-xxl icon-state-error" })]), u("span", null, P(Fe.value.permissionDeniedForVideo), 1)])) : c("", !0)
|
|
32541
32602
|
])]),
|
|
32542
|
-
!
|
|
32603
|
+
!Ve.value && !We.value ? (A(), s(R, {
|
|
32543
32604
|
key: 0,
|
|
32544
32605
|
variant: "danger",
|
|
32545
32606
|
class: "end-call-button text-center w-100",
|
|
32546
|
-
onClick:
|
|
32607
|
+
onClick: zt
|
|
32547
32608
|
}, {
|
|
32548
|
-
default: I(() => [m(zn), u("span", null, P(
|
|
32609
|
+
default: I(() => [m(zn), u("span", null, P(Pe.value.endCall), 1)]),
|
|
32549
32610
|
_: 1
|
|
32550
32611
|
})) : c("", !0),
|
|
32551
|
-
u("div",
|
|
32552
|
-
u("p", null, [u("b", null, P(
|
|
32553
|
-
u("p", null, P(
|
|
32612
|
+
u("div", vZ, [u("div", yZ, [u("p", bZ, P($e.value), 1), et.value ? (A(), l("small", xZ, P(et.value), 1)) : c("", !0)]), u("div", SZ, [
|
|
32613
|
+
u("p", null, [u("b", null, P(Re.value), 1)]),
|
|
32614
|
+
u("p", null, P(ze.value), 1),
|
|
32554
32615
|
u("p", null, [
|
|
32555
32616
|
u("a", {
|
|
32556
32617
|
href: b.videoTestUrl,
|
|
32557
32618
|
target: "_blank",
|
|
32558
32619
|
rel: "noopener noreferrer"
|
|
32559
|
-
}, P(
|
|
32620
|
+
}, P(Pe.value.testCall), 9, CZ),
|
|
32560
32621
|
n[3] ||= p(" • ", -1),
|
|
32561
|
-
u("a",
|
|
32622
|
+
u("a", wZ, P(Pe.value.serviceDesk), 1)
|
|
32562
32623
|
])
|
|
32563
32624
|
])])
|
|
32564
32625
|
])])]),
|
|
@@ -32570,14 +32631,14 @@ var mX = ["src", "alt"], hX = {
|
|
|
32570
32631
|
})]);
|
|
32571
32632
|
};
|
|
32572
32633
|
}
|
|
32573
|
-
},
|
|
32634
|
+
}, DZ = { class: "template not-found-template" }, OZ = { class: "center-screen" }, kZ = { class: "container-warning" }, AZ = /* @__PURE__ */ g({
|
|
32574
32635
|
__name: "BDNotFoundTemplate",
|
|
32575
32636
|
props: { buttonText: { type: String } },
|
|
32576
32637
|
emits: ["navigate"],
|
|
32577
32638
|
setup(e, { emit: t }) {
|
|
32578
32639
|
let { t: n } = Kd(), r = e, i = t, o = a(() => r.buttonText || n("notFoundTemplate.buttonDefault")), s = a(() => n("notFoundTemplate.title")), c = a(() => n("notFoundTemplate.description")), d = () => i("navigate");
|
|
32579
|
-
return (e, t) => (A(), l("main",
|
|
32580
|
-
default: I(() => [u("div",
|
|
32640
|
+
return (e, t) => (A(), l("main", DZ, [m(Xq, { class: "container-xl" }, {
|
|
32641
|
+
default: I(() => [u("div", OZ, [u("div", kZ, [
|
|
32581
32642
|
m(Ya),
|
|
32582
32643
|
u("h1", null, P(s.value), 1),
|
|
32583
32644
|
u("p", null, P(c.value), 1),
|
|
@@ -32593,15 +32654,15 @@ var mX = ["src", "alt"], hX = {
|
|
|
32593
32654
|
_: 1
|
|
32594
32655
|
})]));
|
|
32595
32656
|
}
|
|
32596
|
-
}),
|
|
32657
|
+
}), jZ = (e) => {
|
|
32597
32658
|
let t = /<a\b[^>]*>.*?<\/a>/gi, n = [], r;
|
|
32598
32659
|
for (; (r = t.exec(e)) !== null;) n.push({
|
|
32599
32660
|
start: r.index,
|
|
32600
32661
|
end: r.index + r[0].length
|
|
32601
32662
|
});
|
|
32602
32663
|
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>`);
|
|
32603
|
-
},
|
|
32604
|
-
e.component("BDAlert", vo), e.component("BDArticle", xo), e.component("BDAssignConversationModal", eJ), e.component("BDAttachmentPreviewList", Bv), e.component("BDAttachmentUploadModal", tJ), e.component("BDBadge", wo), e.component("BDButton", R), e.component("BDCard", Fo), e.component("BDChangePasswordTemplate", zX), e.component("BDChatCloud", cy), e.component("BDCol", Yq), e.component("BDCollapsableCard", zo), e.component("BDConfirmationModal", nJ), e.component("BDContainer", Xq), e.component("BDContentLibraryModal", GY), e.component("BDContentLibrarySplitButton", Ng), e.component("BDContentLibraryTemplate", WY), e.component("BDConversationToTextModal", fX), e.component("BDDate", Qg), e.component("BDDropdown", uq), e.component("BDDropdownItem", ly), e.component("BDFileUpload", pk), e.component("BDForm", $g), e.component("BDFormCheckbox", __), e.component("BDFormInput", z_), e.component("BDFormInvalidFeedback", y_), e.component("BDFormMultipleCheckbox", _k), e.component("BDFormSelect", W_), e.component("BDHeader", _q), e.component("BDImageAttachmentModal", yX), e.component("BDImageAttachmentPreviewList", Yv), e.component("BDInputGroup", q_), e.component("BDLink", Eo), e.component("BDLoader", $_), e.component("BDLogo", nv), e.component("BDMarkdownEditor", DK), e.component("BDMessageTemplateFormModal", xX), e.component("BDMobileMenu", PK), e.component("BDModal", Eq), e.component("BDNotFoundTemplate",
|
|
32664
|
+
}, MZ = (e, t) => `<p><a href="${e}" title="${t}" target="_blank" rel="noopener noreferrer">${t}</a></p>`, NZ = (e) => e.startsWith("http://") || e.startsWith("https://"), PZ = { install: (e) => {
|
|
32665
|
+
e.component("BDAlert", vo), e.component("BDArticle", xo), e.component("BDAssignConversationModal", eJ), e.component("BDAttachmentPreviewList", Bv), e.component("BDAttachmentUploadModal", tJ), e.component("BDBadge", wo), e.component("BDButton", R), e.component("BDCard", Fo), e.component("BDChangePasswordTemplate", zX), e.component("BDChatCloud", cy), e.component("BDCol", Yq), e.component("BDCollapsableCard", zo), e.component("BDConfirmationModal", nJ), e.component("BDContainer", Xq), e.component("BDContentLibraryModal", GY), e.component("BDContentLibrarySplitButton", Ng), e.component("BDContentLibraryTemplate", WY), e.component("BDConversationToTextModal", fX), e.component("BDDate", Qg), e.component("BDDropdown", uq), e.component("BDDropdownItem", ly), e.component("BDFileUpload", pk), e.component("BDForm", $g), e.component("BDFormCheckbox", __), e.component("BDFormInput", z_), e.component("BDFormInvalidFeedback", y_), e.component("BDFormMultipleCheckbox", _k), e.component("BDFormSelect", W_), e.component("BDHeader", _q), e.component("BDImageAttachmentModal", yX), e.component("BDImageAttachmentPreviewList", Yv), e.component("BDInputGroup", q_), e.component("BDLink", Eo), e.component("BDLoader", $_), e.component("BDLogo", nv), e.component("BDMarkdownEditor", DK), e.component("BDMessageTemplateFormModal", xX), e.component("BDMobileMenu", PK), e.component("BDModal", Eq), e.component("BDNotFoundTemplate", AZ), e.component("BDPagination", lv), e.component("BDPhoneNumberEditModal", Pq), e.component("BDPill", gv), e.component("BDPillContainer", yv), e.component("BDPractitionerHeader", Jq), e.component("BDProfileImage", Sv), e.component("BDRow", Zq), e.component("BDSessionTimeOutModal", $q), e.component("BDSmallConversationCard", RK), e.component("BDTable", qK), e.component("BDToast", Dv), e.component("BDUser", QK), e.component("BDUserInformation", Mv), e.component("BDVideoCallConfirmationModal", kX), e.component("BDVideoCallTemplate", EZ), e.component("BDVideoCallToast", lq), e.component("BDZoomslider", Fv), 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", wK);
|
|
32605
32666
|
} };
|
|
32606
32667
|
//#endregion
|
|
32607
|
-
export { vo as BDAlert, xo as BDArticle, eJ as BDAssignConversationModal, Bv as BDAttachmentPreviewList, tJ as BDAttachmentUploadModal, wo as BDBadge, R as BDButton, Fo as BDCard, zX as BDChangePasswordTemplate, cy as BDChatCloud, Yq as BDCol, zo as BDCollapsableCard, nJ as BDConfirmationModal, Xq as BDContainer, GY as BDContentLibraryModal, Ng as BDContentLibrarySplitButton, WY as BDContentLibraryTemplate, fX as BDConversationToTextModal, Qg as BDDate, uq as BDDropdown, ly as BDDropdownItem, pk as BDFileUpload, $g as BDForm, __ as BDFormCheckbox, z_ as BDFormInput, y_ as BDFormInvalidFeedback, _k as BDFormMultipleCheckbox, W_ as BDFormSelect, _q as BDHeader, yX as BDImageAttachmentModal, Yv as BDImageAttachmentPreviewList, q_ as BDInputGroup, Eo as BDLink, $_ as BDLoader, nv as BDLogo, DK as BDMarkdownEditor, xX as BDMessageTemplateFormModal, PK as BDMobileMenu, Eq as BDModal,
|
|
32668
|
+
export { vo as BDAlert, xo as BDArticle, eJ as BDAssignConversationModal, Bv as BDAttachmentPreviewList, tJ as BDAttachmentUploadModal, wo as BDBadge, R as BDButton, Fo as BDCard, zX as BDChangePasswordTemplate, cy as BDChatCloud, Yq as BDCol, zo as BDCollapsableCard, nJ as BDConfirmationModal, Xq as BDContainer, GY as BDContentLibraryModal, Ng as BDContentLibrarySplitButton, WY as BDContentLibraryTemplate, fX as BDConversationToTextModal, Qg as BDDate, uq as BDDropdown, ly as BDDropdownItem, pk as BDFileUpload, $g as BDForm, __ as BDFormCheckbox, z_ as BDFormInput, y_ as BDFormInvalidFeedback, _k as BDFormMultipleCheckbox, W_ as BDFormSelect, _q as BDHeader, yX as BDImageAttachmentModal, Yv as BDImageAttachmentPreviewList, q_ as BDInputGroup, Eo as BDLink, $_ as BDLoader, nv as BDLogo, DK as BDMarkdownEditor, xX as BDMessageTemplateFormModal, PK as BDMobileMenu, Eq as BDModal, AZ as BDNotFoundTemplate, lv as BDPagination, Pq as BDPhoneNumberEditModal, gv as BDPill, yv as BDPillContainer, Jq as BDPractitionerHeader, Sv as BDProfileImage, Zq as BDRow, $q as BDSessionTimeOutModal, RK as BDSmallConversationCard, qK as BDTable, Dv as BDToast, QK as BDUser, Mv as BDUserInformation, kX as BDVideoCallConfirmationModal, EZ as BDVideoCallTemplate, lq as BDVideoCallToast, Fv as BDZoomslider, nX as CopyChatMessageToClipboard, rX as CopyChatMessagesToClipboard, iX as CopyHl7MessagesToClipboard, MZ as CreateHyperlinkParagraph, $v 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, Xv as MapAttachmentsForApi, ny as MapToAttachmentObjects, jZ as TransformHyperlinks, NZ as ValidateUrl, PZ as default, Xg as getDisplayDateNumeric, qg as getDisplayDateTextual, Yg as getDisplayDateTimeNumeric, Jg as getDisplayDateTimeTextual, Dq as useModal, zq as usePopover, kq as useServerErrors, Qq as useSessionTimeOut, lk as useToaster, AX as useValidation, Lq as useWindow, pX as useZoom, wK as vBdTooltip };
|