@webitel/ui-sdk 25.12.62 → 25.12.63
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/{install-4TPf0Jxn.js → install-Dl55T7ER.js} +13 -11
- package/dist/{plyr-B7Jh9mzS.js → plyr-DeNXNsnl.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +2 -2
- package/dist/{vidstack-Bq6c3Bam-xtVxhIy-.js → vidstack-Bq6c3Bam-e32p9jBa.js} +2 -2
- package/dist/{vidstack-D2pY00kU-C7drnFyz.js → vidstack-D2pY00kU-BfedE-Ok.js} +2 -2
- package/dist/{vidstack-DDXt6fpN-DXoEOMmU.js → vidstack-DDXt6fpN-JD5ed8Q9.js} +1 -1
- package/dist/{vidstack-D_-9AA6_-BjCqxi4h.js → vidstack-D_-9AA6_-CYkv9V-x.js} +1 -1
- package/dist/{vidstack-DqAw8m9J-Da06JyEn.js → vidstack-DqAw8m9J-DCsCFYl_.js} +1 -1
- package/dist/{vidstack-audio-BBK6l_vu.js → vidstack-audio-Bo7VqglF.js} +2 -2
- package/dist/{vidstack-dash-fRRxLyL-.js → vidstack-dash-DFQBODJY.js} +3 -3
- package/dist/{vidstack-google-cast-B7rk3CYb.js → vidstack-google-cast-BqH58CNa.js} +3 -3
- package/dist/{vidstack-hls-BAnHgdLK.js → vidstack-hls-D2Gck8uA.js} +3 -3
- package/dist/{vidstack-video-JxNT0GGC.js → vidstack-video-BjcixzQN.js} +2 -2
- package/dist/{vidstack-vimeo-Ce-EibYf.js → vidstack-vimeo-p6Odxs_3.js} +3 -3
- package/dist/{vidstack-youtube-Bf0GP9xX.js → vidstack-youtube-ta55oeo3.js} +2 -2
- package/dist/{vuex.esm-bundler-gjCYMqnI.js → vuex.esm-bundler-Btqm_q36.js} +1 -1
- package/package.json +2 -2
- package/src/enums/WebitelApplications/WtApplication.ts +2 -1
- package/src/locale/en/en.js +3 -0
- package/src/locale/es/es.js +3 -0
- package/src/locale/kz/kz.js +3 -0
- package/src/locale/pl/pl.js +3 -0
- package/src/locale/ro/ro.js +3 -0
- package/src/locale/ru/ru.js +3 -0
- package/src/locale/uk/uk.js +3 -0
- package/src/locale/uz/uz.js +4 -0
- package/src/locale/vi/vi.js +3 -0
- package/src/modules/AgentPdfs/components/agent-pdfs-tab.vue +1 -1
- package/src/modules/CallSession/modules/VideoCall/video-call.vue +59 -10
- package/types/enums/WebitelApplications/WtApplication.d.ts +1 -0
- package/types/locale/en/en.d.ts +3 -0
- package/types/locale/es/es.d.ts +9 -0
- package/types/locale/i18n.d.ts +75 -0
- package/types/locale/index.d.ts +75 -0
- package/types/locale/kz/kz.d.ts +9 -0
- package/types/locale/pl/pl.d.ts +9 -0
- package/types/locale/ro/ro.d.ts +9 -0
- package/types/locale/ru/ru.d.ts +9 -0
- package/types/locale/uk/uk.d.ts +9 -0
- package/types/locale/uz/uz.d.ts +10 -0
- package/types/locale/vi/vi.d.ts +9 -0
- package/types/modules/CallSession/modules/VideoCall/video-call.vue.d.ts +1 -1
|
@@ -5,8 +5,8 @@ var ot = (n) => {
|
|
|
5
5
|
var Xt = (n, t, s) => t in n ? Qt(n, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[t] = s;
|
|
6
6
|
var N = (n, t, s) => Xt(n, typeof t != "symbol" ? t + "" : t, s), X = (n, t, s) => t.has(n) || ot("Cannot " + s);
|
|
7
7
|
var i = (n, t, s) => (X(n, t, "read from private field"), s ? s.call(n) : t.get(n)), d = (n, t, s) => t.has(n) ? ot("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, s), c = (n, t, s, r) => (X(n, t, "write to private field"), r ? r.call(n, s) : t.set(n, s), s), a = (n, t, s) => (X(n, t, "access private method"), s);
|
|
8
|
-
import { A as Yt, z as ut, B as j, C as Zt, b as ti, E as nt, e as lt, F as _, G as ii, H as ei, f as si, J as ai, l as rt, K as dt, D as ni, L as Y, M as Z } from "./install-
|
|
9
|
-
import { R as ri } from "./vidstack-DqAw8m9J-
|
|
8
|
+
import { A as Yt, z as ut, B as j, C as Zt, b as ti, E as nt, e as lt, F as _, G as ii, H as ei, f as si, J as ai, l as rt, K as dt, D as ni, L as Y, M as Z } from "./install-Dl55T7ER.js";
|
|
9
|
+
import { R as ri } from "./vidstack-DqAw8m9J-DCsCFYl_.js";
|
|
10
10
|
let q = null, K = [], z = [];
|
|
11
11
|
function ht() {
|
|
12
12
|
return q ?? (q = new AudioContext());
|
|
@@ -5,7 +5,7 @@ var w = (t) => {
|
|
|
5
5
|
var P = (t, e, a) => e in t ? _(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
|
|
6
6
|
var u = (t, e, a) => P(t, typeof e != "symbol" ? e + "" : e, a), C = (t, e, a) => e.has(t) || w("Cannot " + a);
|
|
7
7
|
var c = (t, e, a) => (C(t, e, "read from private field"), a ? a.call(t) : e.get(t)), m = (t, e, a) => e.has(t) ? w("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, a), y = (t, e, a, o) => (C(t, e, "write to private field"), o ? o.call(t, a) : e.set(t, a), a), s = (t, e, a) => (C(t, e, "access private method"), a);
|
|
8
|
-
import { l as b, k as A, V as O, G as D, f as R, o as G } from "./install-
|
|
8
|
+
import { l as b, k as A, V as O, G as D, f as R, o as G } from "./install-Dl55T7ER.js";
|
|
9
9
|
function M() {
|
|
10
10
|
return "https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1";
|
|
11
11
|
}
|
|
@@ -94,7 +94,7 @@ class F {
|
|
|
94
94
|
async load(e) {
|
|
95
95
|
if (!c(this, n))
|
|
96
96
|
throw Error("[vidstack] google cast player was not initialized");
|
|
97
|
-
return new (await import("./vidstack-google-cast-
|
|
97
|
+
return new (await import("./vidstack-google-cast-BqH58CNa.js")).GoogleCastProvider(c(this, n), e);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
n = new WeakMap(), r = new WeakSet(), S = async function(e) {
|
|
@@ -5,7 +5,7 @@ var g = (s) => {
|
|
|
5
5
|
var M = (s, t, i) => t in s ? y(s, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[t] = i;
|
|
6
6
|
var c = (s, t, i) => M(s, typeof t != "symbol" ? t + "" : t, i), h = (s, t, i) => t.has(s) || g("Cannot " + i);
|
|
7
7
|
var e = (s, t, i) => (h(s, t, "read from private field"), i ? i.call(s) : t.get(s)), l = (s, t, i) => t.has(s) ? g("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(s) : t.set(s, i), p = (s, t, i, a) => (h(s, t, "write to private field"), a ? a.call(s, i) : t.set(s, i), i), u = (s, t, i) => (h(s, t, "access private method"), i);
|
|
8
|
-
import { M as w, l as f, e as A, f as P, U as O, b as S } from "./install-
|
|
8
|
+
import { M as w, l as f, e as A, f as P, U as O, b as S } from "./install-Dl55T7ER.js";
|
|
9
9
|
var r, o, b, m;
|
|
10
10
|
class J {
|
|
11
11
|
constructor(t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as d, a as i, I as l, e as m } from "./install-
|
|
1
|
+
import { c as d, a as i, I as l, e as m } from "./install-Dl55T7ER.js";
|
|
2
2
|
const p = /* @__PURE__ */ i(
|
|
3
3
|
'<svg viewBox="0 0 32 32" fill="none" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"></svg>'
|
|
4
4
|
);
|
|
@@ -3,7 +3,7 @@ var l = (i) => {
|
|
|
3
3
|
};
|
|
4
4
|
var m = (i, t, s) => t.has(i) || l("Cannot " + s);
|
|
5
5
|
var r = (i, t, s) => (m(i, t, "read from private field"), s ? s.call(i) : t.get(i)), e = (i, t, s) => t.has(i) ? l("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, s), h = (i, t, s, f) => (m(i, t, "write to private field"), f ? f.call(i, s) : t.set(i, s), s), c = (i, t, s) => (m(i, t, "access private method"), s);
|
|
6
|
-
import { m as p, v as u } from "./install-
|
|
6
|
+
import { m as p, v as u } from "./install-Dl55T7ER.js";
|
|
7
7
|
var o, a, n, d;
|
|
8
8
|
class F {
|
|
9
9
|
constructor(t) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
2
|
var o = (i, e, t) => e in i ? a(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
3
|
var r = (i, e, t) => o(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { s as p } from "./install-
|
|
5
|
-
import { H as d, a as u } from "./vidstack-Bq6c3Bam-
|
|
4
|
+
import { s as p } from "./install-Dl55T7ER.js";
|
|
5
|
+
import { H as d, a as u } from "./vidstack-Bq6c3Bam-e32p9jBa.js";
|
|
6
6
|
class n extends d {
|
|
7
7
|
constructor(t, s) {
|
|
8
8
|
super(t, s);
|
|
@@ -5,9 +5,9 @@ var Y = (n) => {
|
|
|
5
5
|
var wt = (n, t, e) => t in n ? vt(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
6
6
|
var I = (n, t, e) => wt(n, typeof t != "symbol" ? t + "" : t, e), b = (n, t, e) => t.has(n) || Y("Cannot " + e);
|
|
7
7
|
var i = (n, t, e) => (b(n, t, "read from private field"), e ? e.call(n) : t.get(n)), f = (n, t, e) => t.has(n) ? Y("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, e), p = (n, t, e, r) => (b(n, t, "write to private field"), r ? r.call(n, e) : t.set(n, e), e), h = (n, t, e) => (b(n, t, "access private method"), e);
|
|
8
|
-
import { r as Et, b as _, d as Lt, f as At, Q as z, l as J, e as Dt, D as N, h as xt, j as O, T as Mt, L as q, t as Ct, u as Nt, v as Rt, k as Ft, m as Z, n as Pt, o as qt, q as _t } from "./install-
|
|
9
|
-
import { VideoProvider as $t } from "./vidstack-video-
|
|
10
|
-
import { R as jt } from "./vidstack-DqAw8m9J-
|
|
8
|
+
import { r as Et, b as _, d as Lt, f as At, Q as z, l as J, e as Dt, D as N, h as xt, j as O, T as Mt, L as q, t as Ct, u as Nt, v as Rt, k as Ft, m as Z, n as Pt, o as qt, q as _t } from "./install-Dl55T7ER.js";
|
|
9
|
+
import { VideoProvider as $t } from "./vidstack-video-BjcixzQN.js";
|
|
10
|
+
import { R as jt } from "./vidstack-DqAw8m9J-DCsCFYl_.js";
|
|
11
11
|
function W(n) {
|
|
12
12
|
try {
|
|
13
13
|
return new Intl.DisplayNames(navigator.languages, { type: "language" }).of(n) ?? null;
|
|
@@ -5,9 +5,9 @@ var Q = (d) => {
|
|
|
5
5
|
var vt = (d, t, s) => t in d ? Lt(d, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : d[t] = s;
|
|
6
6
|
var G = (d, t, s) => vt(d, typeof t != "symbol" ? t + "" : t, s), O = (d, t, s) => t.has(d) || Q("Cannot " + s);
|
|
7
7
|
var e = (d, t, s) => (O(d, t, "read from private field"), s ? s.call(d) : t.get(d)), T = (d, t, s) => t.has(d) ? Q("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(d) : t.set(d, s), l = (d, t, s, i) => (O(d, t, "write to private field"), i ? i.call(d, s) : t.set(d, s), s), r = (d, t, s) => (O(d, t, "access private method"), s);
|
|
8
|
-
import { A as St, N as L, W as Z, z as At, D as tt, f as V, l as et, e as It, X as bt, L as Rt } from "./install-
|
|
9
|
-
import { R as wt } from "./vidstack-DqAw8m9J-
|
|
10
|
-
import { g as Mt, a as Dt, b as it, h as st, l as Nt, c as Pt } from "./vidstack-D2pY00kU-
|
|
8
|
+
import { A as St, N as L, W as Z, z as At, D as tt, f as V, l as et, e as It, X as bt, L as Rt } from "./install-Dl55T7ER.js";
|
|
9
|
+
import { R as wt } from "./vidstack-DqAw8m9J-DCsCFYl_.js";
|
|
10
|
+
import { g as Mt, a as Dt, b as it, h as st, l as Nt, c as Pt } from "./vidstack-D2pY00kU-BfedE-Ok.js";
|
|
11
11
|
var g, _, at;
|
|
12
12
|
class _t {
|
|
13
13
|
constructor(t) {
|
|
@@ -5,9 +5,9 @@ var q = (n) => {
|
|
|
5
5
|
var ot = (n, t, i) => t in n ? rt(n, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[t] = i;
|
|
6
6
|
var _ = (n, t, i) => ot(n, typeof t != "symbol" ? t + "" : t, i), R = (n, t, i) => t.has(n) || q("Cannot " + i);
|
|
7
7
|
var e = (n, t, i) => (R(n, t, "read from private field"), i ? i.call(n) : t.get(n)), f = (n, t, i) => t.has(n) ? q("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, i), p = (n, t, i, s) => (R(n, t, "write to private field"), s ? s.call(n, i) : t.set(n, i), i), a = (n, t, i) => (R(n, t, "access private method"), i);
|
|
8
|
-
import { i as ht, b as C, d as at, f as O, Q as N, l as V, e as dt, D as x, h as ut, T as ct, j, L as $, k as lt, m as k, n as ft, o as pt, q as vt } from "./install-
|
|
9
|
-
import { VideoProvider as yt } from "./vidstack-video-
|
|
10
|
-
import { R as gt } from "./vidstack-DqAw8m9J-
|
|
8
|
+
import { i as ht, b as C, d as at, f as O, Q as N, l as V, e as dt, D as x, h as ut, T as ct, j, L as $, k as lt, m as k, n as ft, o as pt, q as vt } from "./install-Dl55T7ER.js";
|
|
9
|
+
import { VideoProvider as yt } from "./vidstack-video-BjcixzQN.js";
|
|
10
|
+
import { R as gt } from "./vidstack-DqAw8m9J-DCsCFYl_.js";
|
|
11
11
|
const Lt = (n) => ut(n);
|
|
12
12
|
var T, h, o, D, b, r, E, M, U, F, Q, K, W, B, J, X, Y, z, G, Z, tt;
|
|
13
13
|
class St {
|
|
@@ -5,8 +5,8 @@ var b = (i) => {
|
|
|
5
5
|
var N = (i, t, e) => t in i ? $(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
6
6
|
var y = (i, t, e) => N(i, typeof t != "symbol" ? t + "" : t, e), E = (i, t, e) => t.has(i) || b("Cannot " + e);
|
|
7
7
|
var s = (i, t, e) => (E(i, t, "read from private field"), e ? e.call(i) : t.get(i)), r = (i, t, e) => t.has(i) ? b("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, e), c = (i, t, e, n) => (E(i, t, "write to private field"), n ? n.call(i, e) : t.set(i, e), e), p = (i, t, e) => (E(i, t, "access private method"), e);
|
|
8
|
-
import { s as U, w as V, x as A, y as j, z as C, l as q, D as z, E as F, T as Y, j as v } from "./install-
|
|
9
|
-
import { H as _, a as B } from "./vidstack-Bq6c3Bam-
|
|
8
|
+
import { s as U, w as V, x as A, y as j, z as C, l as q, D as z, E as F, T as Y, j as v } from "./install-Dl55T7ER.js";
|
|
9
|
+
import { H as _, a as B } from "./vidstack-Bq6c3Bam-e32p9jBa.js";
|
|
10
10
|
var P, f, k, D, H;
|
|
11
11
|
class G {
|
|
12
12
|
constructor(t, e) {
|
|
@@ -5,9 +5,9 @@ var N = (r) => {
|
|
|
5
5
|
var de = (r, c, e) => c in r ? ue(r, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[c] = e;
|
|
6
6
|
var b = (r, c, e) => de(r, typeof c != "symbol" ? c + "" : c, e), S = (r, c, e) => c.has(r) || N("Cannot " + e);
|
|
7
7
|
var t = (r, c, e) => (S(r, c, "read from private field"), e ? e.call(r) : c.get(r)), f = (r, c, e) => c.has(r) ? N("Cannot add the same private member more than once") : c instanceof WeakSet ? c.add(r) : c.set(r, e), u = (r, c, e, i) => (S(r, c, "write to private field"), i ? i.call(r, e) : c.set(r, e), e), o = (r, c, e) => (S(r, c, "access private method"), e);
|
|
8
|
-
import { A as fe, M as U, N as C, d as pe, e as q, f as Q, b as ye, O as _, L as R, l as be, P as ke, T as ve, Q as W } from "./install-
|
|
9
|
-
import { R as me } from "./vidstack-DqAw8m9J-
|
|
10
|
-
import { E as we } from "./vidstack-DDXt6fpN-
|
|
8
|
+
import { A as fe, M as U, N as C, d as pe, e as q, f as Q, b as ye, O as _, L as R, l as be, P as ke, T as ve, Q as W } from "./install-Dl55T7ER.js";
|
|
9
|
+
import { R as me } from "./vidstack-DqAw8m9J-DCsCFYl_.js";
|
|
10
|
+
import { E as we } from "./vidstack-DDXt6fpN-JD5ed8Q9.js";
|
|
11
11
|
import { resolveVimeoVideoId as Pe, getVimeoVideoInfo as Te } from "./vidstack-krOAtKMi-B4IZWKdc.js";
|
|
12
12
|
const Ce = [
|
|
13
13
|
"bufferend",
|
|
@@ -5,8 +5,8 @@ var B = (r) => {
|
|
|
5
5
|
var q = (r, n, e) => n in r ? A(r, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[n] = e;
|
|
6
6
|
var T = (r, n, e) => q(r, typeof n != "symbol" ? n + "" : n, e), M = (r, n, e) => n.has(r) || B("Cannot " + e);
|
|
7
7
|
var s = (r, n, e) => (M(r, n, "read from private field"), e ? e.call(r) : n.get(r)), p = (r, n, e) => n.has(r) ? B("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(r) : n.set(r, e), l = (r, n, e, t) => (M(r, n, "write to private field"), t ? t.call(r, e) : n.set(r, e), e), o = (r, n, e) => (M(r, n, "access private method"), e);
|
|
8
|
-
import { A as z, M as G, d as H, e as J, b as K, O as Q, N as C, R as W, v as $, S as X } from "./install-
|
|
9
|
-
import { E as Z } from "./vidstack-DDXt6fpN-
|
|
8
|
+
import { A as z, M as G, d as H, e as J, b as K, O as Q, N as C, R as W, v as $, S as X } from "./install-Dl55T7ER.js";
|
|
9
|
+
import { E as Z } from "./vidstack-DDXt6fpN-JD5ed8Q9.js";
|
|
10
10
|
import { resolveYouTubeVideoId as ee } from "./vidstack-Dm1xEU9Q-qSXq3AI-.js";
|
|
11
11
|
const b = {
|
|
12
12
|
Ended: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "25.12.
|
|
3
|
+
"version": "25.12.63",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@vuepic/vue-datepicker": "^4.5.1",
|
|
57
57
|
"@vueuse/components": "^13.0.0",
|
|
58
58
|
"@webitel/api-services": "^0.0.94",
|
|
59
|
-
"@webitel/styleguide": "^24.12.
|
|
59
|
+
"@webitel/styleguide": "^24.12.96",
|
|
60
60
|
"autosize": "^6.0.1",
|
|
61
61
|
"axios": "^1.8.3",
|
|
62
62
|
"clipboard-copy": "^4.0.1",
|
package/src/locale/en/en.js
CHANGED
package/src/locale/es/es.js
CHANGED
package/src/locale/kz/kz.js
CHANGED
package/src/locale/pl/pl.js
CHANGED
package/src/locale/ro/ro.js
CHANGED
package/src/locale/ru/ru.js
CHANGED
package/src/locale/uk/uk.js
CHANGED
package/src/locale/uz/uz.js
CHANGED
|
@@ -242,6 +242,7 @@ export default {
|
|
|
242
242
|
screenshots: 'Ekran rasmi | Ekran rasmlari',
|
|
243
243
|
agentPdfs: {
|
|
244
244
|
pdfs: 'PDF | PDFs',
|
|
245
|
+
preview: "Ko'rib chiqish",
|
|
245
246
|
status: {
|
|
246
247
|
[WebitelMediaExporterExportStatus.Pending]: 'Kutilmoqda',
|
|
247
248
|
[WebitelMediaExporterExportStatus.Processing]: 'Ishlanmoqda',
|
|
@@ -392,6 +393,9 @@ export default {
|
|
|
392
393
|
},
|
|
393
394
|
},
|
|
394
395
|
[WebitelApplications.WFM]: { name: 'WFM' },
|
|
396
|
+
[WebitelApplications.MEET]: {
|
|
397
|
+
theCameraIsTurnedOff: 'Kamera o‘chirilgan',
|
|
398
|
+
},
|
|
395
399
|
},
|
|
396
400
|
validation: {
|
|
397
401
|
required: "Maydon to'ldirilishi shart",
|
package/src/locale/vi/vi.js
CHANGED
|
@@ -16,7 +16,17 @@
|
|
|
16
16
|
<slot name="content" :size="innerSize" />
|
|
17
17
|
|
|
18
18
|
<slot v-if="!mainStream" name="overlay" :size="innerSize">
|
|
19
|
-
<div class="video-call-overlay"
|
|
19
|
+
<div class="video-call-overlay">
|
|
20
|
+
<div
|
|
21
|
+
v-if="props['receiver:stream'] && !props['receiver:video:enabled']"
|
|
22
|
+
:class="`video-call-receiver--${innerSize}`"
|
|
23
|
+
class="video-call-receiver video-call-receiver--muted"
|
|
24
|
+
>
|
|
25
|
+
<wt-icon :size="receiverVideoMutedIconSizes[innerSize]" icon="video-cam-off--filled" />
|
|
26
|
+
|
|
27
|
+
<span class="video-call-receiver-text">{{ t(`WebitelApplications.${WebitelApplications.MEET}.theCameraIsTurnedOff`) }}</span>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
20
30
|
</slot>
|
|
21
31
|
|
|
22
32
|
<div
|
|
@@ -90,19 +100,20 @@
|
|
|
90
100
|
</template>
|
|
91
101
|
|
|
92
102
|
<script setup lang="ts">
|
|
93
|
-
import {WtVidstackPlayer} from '@webitel/ui-sdk/components';
|
|
94
|
-
import {computed} from 'vue';
|
|
103
|
+
import { WtVidstackPlayer } from '@webitel/ui-sdk/components';
|
|
104
|
+
import { computed } from 'vue';
|
|
105
|
+
import { useI18n } from 'vue-i18n';
|
|
95
106
|
|
|
96
|
-
import {WtIcon} from
|
|
107
|
+
import { WtIcon } from '../../../../components';
|
|
97
108
|
import {
|
|
98
109
|
RecordingIndicator,
|
|
99
110
|
ScreenshotBox,
|
|
100
|
-
VideoCallControlsPanel
|
|
101
|
-
} from
|
|
102
|
-
import {ComponentSize} from
|
|
103
|
-
import {ResultCallbacks} from '../../../../types';
|
|
104
|
-
import {ScreenshotStatus} from '../../types';
|
|
105
|
-
import {VideoCallAction} from './enums/VideoCallAction.enum';
|
|
111
|
+
VideoCallControlsPanel,
|
|
112
|
+
} from '../../../../components/wt-vidstack-player/components';
|
|
113
|
+
import { ComponentSize, WebitelApplications } from '../../../../enums';
|
|
114
|
+
import { ResultCallbacks } from '../../../../types';
|
|
115
|
+
import { ScreenshotStatus } from '../../types';
|
|
116
|
+
import { VideoCallAction } from './enums/VideoCallAction.enum';
|
|
106
117
|
|
|
107
118
|
const props = withDefaults(defineProps<{
|
|
108
119
|
'sender:stream'?: MediaStream | null;
|
|
@@ -152,12 +163,20 @@ const emit = defineEmits<{
|
|
|
152
163
|
(e: `change-size`, size: ComponentSize): void;
|
|
153
164
|
}>()
|
|
154
165
|
|
|
166
|
+
const { t } = useI18n();
|
|
167
|
+
|
|
155
168
|
const mainStream = computed(() => {
|
|
156
169
|
if (!props['receiver:video:enabled']) return null;
|
|
157
170
|
|
|
158
171
|
return props['receiver:stream'] || props['sender:stream'];
|
|
159
172
|
})
|
|
160
173
|
|
|
174
|
+
const receiverVideoMutedIconSizes = {
|
|
175
|
+
[ComponentSize.SM]: ComponentSize.MD,
|
|
176
|
+
[ComponentSize.MD]: ComponentSize.LG,
|
|
177
|
+
[ComponentSize.LG]: ComponentSize.XXL,
|
|
178
|
+
}
|
|
179
|
+
|
|
161
180
|
const senderVideoMutedIconSizes = {
|
|
162
181
|
[ComponentSize.SM]: ComponentSize.MD,
|
|
163
182
|
[ComponentSize.MD]: ComponentSize['4XL'],
|
|
@@ -166,6 +185,8 @@ const senderVideoMutedIconSizes = {
|
|
|
166
185
|
</script>
|
|
167
186
|
|
|
168
187
|
<style lang="scss" scoped>
|
|
188
|
+
@use '@webitel/styleguide/typography' as *;
|
|
189
|
+
|
|
169
190
|
.video-call {
|
|
170
191
|
flex: 0 0 auto;
|
|
171
192
|
|
|
@@ -177,6 +198,7 @@ const senderVideoMutedIconSizes = {
|
|
|
177
198
|
bottom: var(--spacing-sm);
|
|
178
199
|
top: unset;
|
|
179
200
|
}
|
|
201
|
+
|
|
180
202
|
&--md {
|
|
181
203
|
top: unset;
|
|
182
204
|
left: var(--spacing-sm);
|
|
@@ -192,6 +214,7 @@ const senderVideoMutedIconSizes = {
|
|
|
192
214
|
right: var(--spacing-sm);
|
|
193
215
|
bottom: var(--spacing-sm);
|
|
194
216
|
}
|
|
217
|
+
|
|
195
218
|
&--md {
|
|
196
219
|
top: unset;
|
|
197
220
|
right: var(--spacing-sm);
|
|
@@ -261,6 +284,32 @@ const senderVideoMutedIconSizes = {
|
|
|
261
284
|
}
|
|
262
285
|
}
|
|
263
286
|
|
|
287
|
+
&-receiver {
|
|
288
|
+
color: var(--p-player-wrapper-muted-color);
|
|
289
|
+
|
|
290
|
+
&--sm {
|
|
291
|
+
@extend %typo-body-2;
|
|
292
|
+
|
|
293
|
+
.video-call-receiver-text {
|
|
294
|
+
max-width: 73px;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
&--md, &--lg {
|
|
299
|
+
@extend %typo-body-1;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
&--muted {
|
|
303
|
+
width: 100%;
|
|
304
|
+
height: 100%;
|
|
305
|
+
display: flex;
|
|
306
|
+
flex-direction: column;
|
|
307
|
+
gap: var(--spacing-xs);
|
|
308
|
+
align-items: center;
|
|
309
|
+
justify-content: center;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
264
313
|
&-sender {
|
|
265
314
|
flex: 0 0 auto;
|
|
266
315
|
|
package/types/locale/en/en.d.ts
CHANGED
package/types/locale/es/es.d.ts
CHANGED
|
@@ -298,6 +298,7 @@ declare namespace _default {
|
|
|
298
298
|
[x: number]: {
|
|
299
299
|
name: string;
|
|
300
300
|
sections?: undefined;
|
|
301
|
+
theCameraIsTurnedOff?: undefined;
|
|
301
302
|
} | {
|
|
302
303
|
name: string;
|
|
303
304
|
sections: {
|
|
@@ -350,6 +351,7 @@ declare namespace _default {
|
|
|
350
351
|
"global-variables"?: undefined;
|
|
351
352
|
"quick-replies"?: undefined;
|
|
352
353
|
};
|
|
354
|
+
theCameraIsTurnedOff?: undefined;
|
|
353
355
|
} | {
|
|
354
356
|
name: string;
|
|
355
357
|
sections: {
|
|
@@ -402,6 +404,7 @@ declare namespace _default {
|
|
|
402
404
|
"global-variables"?: undefined;
|
|
403
405
|
"quick-replies"?: undefined;
|
|
404
406
|
};
|
|
407
|
+
theCameraIsTurnedOff?: undefined;
|
|
405
408
|
} | {
|
|
406
409
|
name: string;
|
|
407
410
|
sections: {
|
|
@@ -454,6 +457,7 @@ declare namespace _default {
|
|
|
454
457
|
"global-variables"?: undefined;
|
|
455
458
|
"quick-replies"?: undefined;
|
|
456
459
|
};
|
|
460
|
+
theCameraIsTurnedOff?: undefined;
|
|
457
461
|
} | {
|
|
458
462
|
name: string;
|
|
459
463
|
sections: {
|
|
@@ -506,6 +510,11 @@ declare namespace _default {
|
|
|
506
510
|
"contact-groups"?: undefined;
|
|
507
511
|
activeCalls?: undefined;
|
|
508
512
|
};
|
|
513
|
+
theCameraIsTurnedOff?: undefined;
|
|
514
|
+
} | {
|
|
515
|
+
theCameraIsTurnedOff: string;
|
|
516
|
+
name?: undefined;
|
|
517
|
+
sections?: undefined;
|
|
509
518
|
};
|
|
510
519
|
overrideApplicationsAccess: {
|
|
511
520
|
[x: number]: {
|