@tmsoft/webphone 3.0.15 → 3.0.17
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/webphone.es.js
CHANGED
|
@@ -8898,11 +8898,9 @@ const createSipService = (e, t = {}) => {
|
|
|
8898
8898
|
e.name !== "AbortError" && console.error("[SipJs] play() failed:", e.name, e.message);
|
|
8899
8899
|
});
|
|
8900
8900
|
};
|
|
8901
|
-
e.addEventListener("
|
|
8902
|
-
o.pause();
|
|
8903
|
-
}, { signal: t }), e.addEventListener("unmute", () => {
|
|
8901
|
+
e.addEventListener("unmute", () => {
|
|
8904
8902
|
n();
|
|
8905
|
-
}, { signal: t }),
|
|
8903
|
+
}, { signal: t }), n();
|
|
8906
8904
|
};
|
|
8907
8905
|
n.addEventListener("addtrack", (t) => {
|
|
8908
8906
|
t.track.kind === "audio" && (o.srcObject = null, o.srcObject = n, a(t.track), i && j(e, i.id));
|
|
@@ -16298,7 +16296,7 @@ var icon_phone_default = { render }, Tooltip_default = /* @__PURE__ */ defineCom
|
|
|
16298
16296
|
return n < 0 ? "00:00:00" : `${Math.floor(n / 3600).toString().padStart(2, "0")}:${Math.floor(n % 3600 / 60).toString().padStart(2, "0")}:${(n % 60).toString().padStart(2, "0")}`;
|
|
16299
16297
|
}), F = computed(() => {
|
|
16300
16298
|
if (!o.isOnline) return "Sin internet";
|
|
16301
|
-
if (!t.isConnected) return "Sin
|
|
16299
|
+
if (!t.isConnected) return "Sin conexión";
|
|
16302
16300
|
let e = p.value, n = e?.status || "idle";
|
|
16303
16301
|
return n === "idle" ? "Disponible" : n === "calling" ? "Llamando..." : e?.isHeld ? `En espera - ${e.remoteNumber || e.keypadValue || "Unknown"}` : n === "connected" ? "Conectado" : n.charAt(0).toUpperCase() + n.slice(1);
|
|
16304
16302
|
}), I = (e) => {
|