@webitel/ui-sdk 25.10.61 → 25.10.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.
Files changed (78) hide show
  1. package/dist/{install-BIBTsOtE.js → install-CvVB1Knh.js} +30928 -29432
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +1 -1
  4. package/dist/ui-sdk.umd.cjs +401 -398
  5. package/dist/{vidstack-Bq6c3Bam-CddoBKkE.js → vidstack-Bq6c3Bam-2cjWnmbu.js} +2 -2
  6. package/dist/{vidstack-D2pY00kU-_TcpbsxY.js → vidstack-D2pY00kU-D9F0n58B.js} +2 -2
  7. package/dist/{vidstack-DDXt6fpN-CHZwRfQ_.js → vidstack-DDXt6fpN-IXnaeX8o.js} +1 -1
  8. package/dist/{vidstack-D_-9AA6_-Cp8Dg-cI.js → vidstack-D_-9AA6_-DHDBzOQ5.js} +1 -1
  9. package/dist/{vidstack-DqAw8m9J-BOZzC5vP.js → vidstack-DqAw8m9J-CwOcrQm0.js} +1 -1
  10. package/dist/{vidstack-audio-BrPd1E5M.js → vidstack-audio-Bemmt9Tv.js} +2 -2
  11. package/dist/{vidstack-dash-Dd4QxslG.js → vidstack-dash-E-X9gvs2.js} +3 -3
  12. package/dist/{vidstack-google-cast-C_H8WnQH.js → vidstack-google-cast-BXoh_IDV.js} +3 -3
  13. package/dist/{vidstack-hls-C44OUY5O.js → vidstack-hls-BuhfKFl5.js} +3 -3
  14. package/dist/{vidstack-video-CP-SHCvS.js → vidstack-video-Ccc4GNnH.js} +2 -2
  15. package/dist/{vidstack-vimeo-LUL_WmZN.js → vidstack-vimeo-BDwxijVM.js} +3 -3
  16. package/dist/{vidstack-youtube-D5NgWd5Z.js → vidstack-youtube-aryjnCDj.js} +2 -2
  17. package/package.json +4 -3
  18. package/src/components/index.js +3 -0
  19. package/src/components/on-demand/wt-chat-emoji/wt-chat-emoji.vue +95 -0
  20. package/src/components/wt-icon-action/iconMappings.js +1 -0
  21. package/src/components/wt-icon-action/wt-icon-action.vue +1 -0
  22. package/src/enums/ChatGatewayProvider/ChatGatewayProvider.enum.js +7 -10
  23. package/src/enums/ChatGatewayProvider/ProviderIconType.enum.js +1 -0
  24. package/src/enums/IconAction/IconAction.enum.js +1 -0
  25. package/src/enums/index.ts +2 -0
  26. package/src/locale/en/en.js +6 -0
  27. package/src/locale/es/es.js +6 -0
  28. package/src/locale/kz/kz.js +6 -0
  29. package/src/locale/pl/pl.js +6 -0
  30. package/src/locale/ro/ro.js +6 -0
  31. package/src/locale/ru/ru.js +6 -0
  32. package/src/locale/uk/uk.js +6 -0
  33. package/src/locale/uz/uz.js +6 -0
  34. package/src/locale/vi/vi.js +6 -0
  35. package/types/components/index.d.ts +3 -1
  36. package/types/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue.d.ts +2 -2
  37. package/types/components/on-demand/wt-chat-emoji/wt-chat-emoji.vue.d.ts +8 -0
  38. package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +1 -1
  39. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  40. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +17 -17
  41. package/types/components/wt-avatar/wt-avatar.vue.d.ts +2 -2
  42. package/types/components/wt-button/wt-button.vue.d.ts +4 -4
  43. package/types/components/wt-button-select/wt-button-select.vue.d.ts +2 -2
  44. package/types/components/wt-checkbox/wt-checkbox.vue.d.ts +2 -2
  45. package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +4 -4
  46. package/types/components/wt-empty/wt-empty.vue.d.ts +3 -3
  47. package/types/components/wt-icon/wt-icon.vue.d.ts +1 -1
  48. package/types/components/wt-icon-action/iconMappings.d.ts +1 -0
  49. package/types/components/wt-indicator/wt-indicator.vue.d.ts +1 -1
  50. package/types/components/wt-input/wt-input.vue.d.ts +6 -6
  51. package/types/components/wt-loader/_internals/wt-spinner-loader.vue.d.ts +1 -1
  52. package/types/components/wt-loader/wt-loader.vue.d.ts +2 -2
  53. package/types/components/wt-player/wt-player.vue.d.ts +3 -3
  54. package/types/components/wt-popover/wt-popover.vue.d.ts +2 -2
  55. package/types/components/wt-popup/wt-popup.vue.d.ts +1 -1
  56. package/types/components/wt-radio/wt-radio.vue.d.ts +4 -4
  57. package/types/components/wt-rounded-action/wt-rounded-action.vue.d.ts +8 -8
  58. package/types/components/wt-switcher/wt-switcher.vue.d.ts +2 -2
  59. package/types/components/wt-textarea/wt-textarea.vue.d.ts +3 -3
  60. package/types/components/wt-time-input/wt-time-input.vue.d.ts +2 -2
  61. package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +2 -2
  62. package/types/enums/ChatGatewayProvider/ChatGatewayProvider.enum.d.ts +1 -10
  63. package/types/enums/ChatGatewayProvider/ProviderIconType.enum.d.ts +1 -0
  64. package/types/enums/IconAction/IconAction.enum.d.ts +1 -0
  65. package/types/enums/index.d.ts +2 -1
  66. package/types/locale/en/en.d.ts +8 -0
  67. package/types/locale/es/es.d.ts +13 -3
  68. package/types/locale/i18n.d.ts +72 -0
  69. package/types/locale/index.d.ts +72 -0
  70. package/types/locale/kz/kz.d.ts +13 -3
  71. package/types/locale/pl/pl.d.ts +13 -3
  72. package/types/locale/ro/ro.d.ts +13 -3
  73. package/types/locale/ru/ru.d.ts +13 -3
  74. package/types/locale/uk/uk.d.ts +13 -3
  75. package/types/locale/uz/uz.d.ts +13 -3
  76. package/types/locale/vi/vi.d.ts +13 -3
  77. package/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts +1 -1
  78. package/types/modules/TableComponentModule/composables/useTableEmpty.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 M = (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 { y as Yt, x as ut, z as j, A as Zt, b as ti, E as nt, e as lt, B as _, C as ii, F as ei, d as si, G as ai, l as rt, H as dt, D as ni, L as Y, J as Z } from "./install-BIBTsOtE.js";
9
- import { R as ri } from "./vidstack-DqAw8m9J-BOZzC5vP.js";
8
+ import { y as Yt, x as ut, z as j, A as Zt, b as ti, E as nt, e as lt, B as _, C as ii, F as ei, d as si, G as ai, l as rt, H as dt, D as ni, L as Y, J as Z } from "./install-CvVB1Knh.js";
9
+ import { R as ri } from "./vidstack-DqAw8m9J-CwOcrQm0.js";
10
10
  let q = null, z = [], J = [];
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, h as A, S as O, C as D, d as R, m as M } from "./install-BIBTsOtE.js";
8
+ import { l as b, h as A, S as O, C as D, d as R, m as M } from "./install-CvVB1Knh.js";
9
9
  function G() {
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-C_H8WnQH.js")).GoogleCastProvider(c(this, n), e);
97
+ return new (await import("./vidstack-google-cast-BXoh_IDV.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 w = (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) => w(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 { J as M, l as f, e as A, d as P, R as O, b as S } from "./install-BIBTsOtE.js";
8
+ import { J as M, l as f, e as A, d as P, R as O, b as S } from "./install-CvVB1Knh.js";
9
9
  var r, o, b, m;
10
10
  class W {
11
11
  constructor(t) {
@@ -1,4 +1,4 @@
1
- import { c as d, a as i, I as l, e as m } from "./install-BIBTsOtE.js";
1
+ import { c as d, a as i, I as l, e as m } from "./install-CvVB1Knh.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 c = (i, t, s) => t.has(i) || l("Cannot " + s);
5
5
  var r = (i, t, s) => (c(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) => (c(i, t, "write to private field"), f ? f.call(i, s) : t.set(i, s), s), m = (i, t, s) => (c(i, t, "access private method"), s);
6
- import { j as p, t as u } from "./install-BIBTsOtE.js";
6
+ import { j as p, t as u } from "./install-CvVB1Knh.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-BIBTsOtE.js";
5
- import { H as d, a as u } from "./vidstack-Bq6c3Bam-CddoBKkE.js";
4
+ import { s as p } from "./install-CvVB1Knh.js";
5
+ import { H as d, a as u } from "./vidstack-Bq6c3Bam-2cjWnmbu.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 { o as Et, b as _, p as Lt, d as At, Q as z, l as J, e as Dt, D as N, f as xt, g as O, T as Mt, L as q, q as Ct, r as Nt, t as Rt, h as Ft, j as Z, k as Pt, m as qt, n as _t } from "./install-BIBTsOtE.js";
9
- import { VideoProvider as $t } from "./vidstack-video-CP-SHCvS.js";
10
- import { R as jt } from "./vidstack-DqAw8m9J-BOZzC5vP.js";
8
+ import { o as Et, b as _, p as Lt, d as At, Q as z, l as J, e as Dt, D as N, f as xt, g as O, T as Mt, L as q, q as Ct, r as Nt, t as Rt, h as Ft, j as Z, k as Pt, m as qt, n as _t } from "./install-CvVB1Knh.js";
9
+ import { VideoProvider as $t } from "./vidstack-video-Ccc4GNnH.js";
10
+ import { R as jt } from "./vidstack-DqAw8m9J-CwOcrQm0.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 W = (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) || W("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) ? W("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 { y as St, K as L, U as Z, x as At, D as tt, d as V, l as et, e as It, V as bt, L as Rt } from "./install-BIBTsOtE.js";
9
- import { R as wt } from "./vidstack-DqAw8m9J-BOZzC5vP.js";
10
- import { g as Mt, a as Dt, b as it, h as st, l as Nt, c as Pt } from "./vidstack-D2pY00kU-_TcpbsxY.js";
8
+ import { y as St, K as L, U as Z, x as At, D as tt, d as V, l as et, e as It, V as bt, L as Rt } from "./install-CvVB1Knh.js";
9
+ import { R as wt } from "./vidstack-DqAw8m9J-CwOcrQm0.js";
10
+ import { g as Mt, a as Dt, b as it, h as st, l as Nt, c as Pt } from "./vidstack-D2pY00kU-D9F0n58B.js";
11
11
  var g, _, at;
12
12
  class _t {
13
13
  constructor(t) {
@@ -5,9 +5,9 @@ var N = (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) || N("Cannot " + i);
7
7
  var e = (n, t, i) => (R(n, t, "read from private field"), i ? i.call(n) : t.get(n)), p = (n, t, i) => t.has(n) ? N("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, i), f = (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, p as at, d as O, Q as V, l as j, e as dt, D as x, f as ut, T as ct, g as k, L as $, h as lt, j as q, k as pt, m as ft, n as vt } from "./install-BIBTsOtE.js";
9
- import { VideoProvider as yt } from "./vidstack-video-CP-SHCvS.js";
10
- import { R as gt } from "./vidstack-DqAw8m9J-BOZzC5vP.js";
8
+ import { i as ht, b as C, p as at, d as O, Q as V, l as j, e as dt, D as x, f as ut, T as ct, g as k, L as $, h as lt, j as q, k as pt, m as ft, n as vt } from "./install-CvVB1Knh.js";
9
+ import { VideoProvider as yt } from "./vidstack-video-Ccc4GNnH.js";
10
+ import { R as gt } from "./vidstack-DqAw8m9J-CwOcrQm0.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 m = (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, u as V, v as A, w as q, x as C, l as F, D as Y, E as _, T as j, g as v } from "./install-BIBTsOtE.js";
9
- import { H as z, a as B } from "./vidstack-Bq6c3Bam-CddoBKkE.js";
8
+ import { s as U, u as V, v as A, w as q, x as C, l as F, D as Y, E as _, T as j, g as v } from "./install-CvVB1Knh.js";
9
+ import { H as z, a as B } from "./vidstack-Bq6c3Bam-2cjWnmbu.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 { y as fe, J as U, K as C, p as pe, e as q, d as Q, b as ye, M as _, L as R, l as be, N as ke, T as ve, Q as J } from "./install-BIBTsOtE.js";
9
- import { R as me } from "./vidstack-DqAw8m9J-BOZzC5vP.js";
10
- import { E as we } from "./vidstack-DDXt6fpN-CHZwRfQ_.js";
8
+ import { y as fe, J as U, K as C, p as pe, e as q, d as Q, b as ye, M as _, L as R, l as be, N as ke, T as ve, Q as J } from "./install-CvVB1Knh.js";
9
+ import { R as me } from "./vidstack-DqAw8m9J-CwOcrQm0.js";
10
+ import { E as we } from "./vidstack-DDXt6fpN-IXnaeX8o.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 N = (r, n, e) => n in r ? K(r, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[n] = e;
6
6
  var T = (r, n, e) => N(r, typeof n != "symbol" ? n + "" : n, e), R = (r, n, e) => n.has(r) || B("Cannot " + e);
7
7
  var s = (r, n, e) => (R(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) => (R(r, n, "write to private field"), t ? t.call(r, e) : n.set(r, e), e), o = (r, n, e) => (R(r, n, "access private method"), e);
8
- import { y as q, J as z, p as A, e as G, b as H, M as Q, K as C, O as W, t as $, P as X } from "./install-BIBTsOtE.js";
9
- import { E as Z } from "./vidstack-DDXt6fpN-CHZwRfQ_.js";
8
+ import { y as q, J as z, p as A, e as G, b as H, M as Q, K as C, O as W, t as $, P as X } from "./install-CvVB1Knh.js";
9
+ import { E as Z } from "./vidstack-DDXt6fpN-IXnaeX8o.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.10.61",
3
+ "version": "25.10.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",
@@ -55,7 +55,7 @@
55
55
  "@vuelidate/validators": "^2.0.4",
56
56
  "@vuepic/vue-datepicker": "^4.5.1",
57
57
  "@vueuse/components": "^13.0.0",
58
- "@webitel/api-services": "^0.0.56",
58
+ "@webitel/api-services": "^0.0.60",
59
59
  "@webitel/styleguide": "^24.12.79",
60
60
  "autosize": "^6.0.1",
61
61
  "axios": "^1.8.3",
@@ -65,6 +65,7 @@
65
65
  "deep-copy": "^1.4.2",
66
66
  "deep-equal": "^2.2.3",
67
67
  "deepmerge": "^4.3.1",
68
+ "emoji-picker-element": "^1.27.0",
68
69
  "file-saver-es": "^2.0.5",
69
70
  "flat": "^6.0.1",
70
71
  "is-valid-domain": "^0.1.6",
@@ -73,12 +74,12 @@
73
74
  "lodash-es": "^4.17.21",
74
75
  "mitt": "^3.0.1",
75
76
  "path-browserify": "^1.0.1",
76
- "vidstack": "^1.12.13",
77
77
  "plyr": "^3.7.8",
78
78
  "primevue": "^4.3.4",
79
79
  "qs-esm": "^7.0.2",
80
80
  "sortablejs": "^1.15.3",
81
81
  "tailwindcss": "^4.1.7",
82
+ "vidstack": "^1.12.13",
82
83
  "vue-i18n": "^11.1.2",
83
84
  "vue-multiselect": "^3.1.0",
84
85
  "vue-observe-visibility": "^2.0.0-alpha.1",
@@ -1,3 +1,4 @@
1
+ import WtChatEmoji from './on-demand/wt-chat-emoji/wt-chat-emoji.vue';
1
2
  import WtDisplayChipItems from './on-demand/wt-display-chip-items/wt-display-chip-items.vue';
2
3
  import WtNavigationMenu from './on-demand/wt-navigation-menu/components/wt-navigation-menu.vue';
3
4
  import WtSelectionPopup from './on-demand/wt-selection-popup/wt-selection-popup.vue';
@@ -145,6 +146,7 @@ const Components = {
145
146
  WtSelectionPopup,
146
147
  WtDisplayChipItems,
147
148
  WtVidstackPlayer,
149
+ WtChatEmoji,
148
150
  };
149
151
 
150
152
  export {
@@ -156,6 +158,7 @@ export {
156
158
  WtBreadcrumb,
157
159
  WtButton,
158
160
  WtButtonSelect,
161
+ WtChatEmoji,
159
162
  WtCheckbox,
160
163
  WtChip,
161
164
  WtConfirmDialog,
@@ -0,0 +1,95 @@
1
+ <template>
2
+ <div
3
+ v-clickaway="closePicker"
4
+ class="wt-chat-emoji"
5
+ >
6
+ <wt-rounded-action
7
+ :size="size"
8
+ color="secondary"
9
+ icon="chat-emoji"
10
+ rounded
11
+ wide
12
+ @click="togglePicker"
13
+ />
14
+ <div
15
+ v-if="isOpened"
16
+ ref="emojiPickerWrapper"
17
+ class="wt-chat-emoji__wrapper"
18
+ ></div>
19
+ </div>
20
+ </template>
21
+
22
+ <script setup>
23
+ import { ComponentSize } from '@webitel/ui-sdk/enums';
24
+ import * as EmojiPicker from 'emoji-picker-element/picker'; ///!not delete
25
+ import { nextTick,onBeforeUnmount, ref } from 'vue';
26
+
27
+ const props = defineProps({
28
+ size: {
29
+ type: String,
30
+ default: ComponentSize.MD,
31
+ },
32
+ });
33
+
34
+ const emit = defineEmits(['insert-emoji']);
35
+
36
+ const emojiPickerWrapper = ref(null);
37
+ const isOpened = ref(false);
38
+ const picker = ref(null);
39
+
40
+ const initPicker = async () => {
41
+ if (picker.value) return;
42
+
43
+ picker.value = document.createElement('emoji-picker');
44
+
45
+ appendPicker();
46
+ picker.value.addEventListener('emoji-click', emitEmojiClickEvent);
47
+ };
48
+
49
+ const appendPicker = () => {
50
+ if (emojiPickerWrapper.value && picker.value) {
51
+ emojiPickerWrapper.value.appendChild(picker.value);
52
+ }
53
+ };
54
+
55
+ const emitEmojiClickEvent = (event) => {
56
+ const { unicode } = event.detail;
57
+ emit('insert-emoji', unicode);
58
+ closePicker();
59
+ };
60
+
61
+ const closePicker = () => {
62
+ isOpened.value = false;
63
+ if (picker.value && emojiPickerWrapper.value) {
64
+ picker.value.removeEventListener('emoji-click', emitEmojiClickEvent);
65
+ emojiPickerWrapper.value.removeChild(picker.value);
66
+ picker.value = null;
67
+ }
68
+ };
69
+
70
+ const togglePicker = async () => {
71
+ isOpened.value = !isOpened.value;
72
+ if (isOpened.value) {
73
+ await nextTick();
74
+ await initPicker();
75
+ } else {
76
+ closePicker();
77
+ }
78
+ };
79
+
80
+ onBeforeUnmount(() => {
81
+ closePicker();
82
+ });
83
+ </script>
84
+
85
+ <style lang="scss" scoped>
86
+ .wt-chat-emoji {
87
+ position: relative;
88
+ width: 100%;
89
+
90
+ :deep() emoji-picker {
91
+ --background: var(--content-wrapper-color);
92
+ --border-color: var(--secondary-color);
93
+ }
94
+ }
95
+ </style>
@@ -21,4 +21,5 @@ export const WtIconActionIconMappings = Object.freeze({
21
21
  [IconAction.APPLY_PRESET]: 'load-preset',
22
22
  [IconAction.ADD_CONTACT]: 'add-contact',
23
23
  [IconAction.DOWNLOAD_PDF]: 'download-pdf',
24
+ [IconAction.CHAT]: 'chat',
24
25
  });
@@ -37,6 +37,7 @@ const props = defineProps({
37
37
  IconAction.APPLY_PRESET,
38
38
  IconAction.ADD_CONTACT,
39
39
  IconAction.DOWNLOAD_PDF,
40
+ IconAction.CHAT
40
41
  ]).includes(v),
41
42
  },
42
43
  disabled: {
@@ -1,12 +1,9 @@
1
- const ChatGatewayProvider = Object.freeze({
2
- TELEGRAM_BOT: 'telegram',
3
- TELEGRAM_APP: 'gotd',
4
- MESSENGER: 'messenger',
5
- VIBER: 'viber',
6
- WEBCHAT: 'webchat',
7
- INFOBIP: 'infobip_whatsapp',
8
- CUSTOM: 'custom',
9
- PORTAL: 'portal',
10
- });
1
+ /*
2
+ * @author @Lera24
3
+ * @description Enum for Chat Gateway Providers
4
+ * https://webitel.atlassian.net/browse/WTEL-7842?focusedCommentId=702198
5
+ * */
6
+
7
+ import { ChatGatewayProvider } from '@webitel/api-services/enums';
11
8
 
12
9
  export default ChatGatewayProvider;
@@ -8,6 +8,7 @@ const ProviderIconType = Object.freeze({
8
8
  [ChatGatewayProvider.WEBCHAT]: 'messenger-web-chat',
9
9
  [ChatGatewayProvider.INFOBIP]: 'messenger-infobip',
10
10
  [ChatGatewayProvider.CUSTOM]: 'custom-chat-gateway',
11
+ [ChatGatewayProvider.PORTAL]: 'portal',
11
12
  });
12
13
 
13
14
  export default ProviderIconType;
@@ -22,6 +22,7 @@ const IconAction = Object.freeze({
22
22
  APPLY_PRESET: 'apply-preset',
23
23
  ADD_CONTACT: 'add-contact',
24
24
  DOWNLOAD_PDF: 'download-pdf',
25
+ CHAT: 'chat',
25
26
  });
26
27
 
27
28
  export default IconAction;
@@ -4,6 +4,7 @@ import { ButtonColor } from './ButtonColor/ButtonColor';
4
4
  import { ButtonSize } from './ButtonSize/ButtonSize.js';
5
5
  import { ButtonVariant } from './ButtonVariant/ButtonVariant';
6
6
  import ChatGatewayProvider from './ChatGatewayProvider/ChatGatewayProvider.enum.js';
7
+ import ProviderIconType from './ChatGatewayProvider/ProviderIconType.enum';
7
8
  import { ChipColor } from './ChipColor/ChipColor';
8
9
  import { ComponentSize } from './ComponentSize/ComponentSize';
9
10
  import { CrudAction } from './CrudAction/CrudAction';
@@ -39,6 +40,7 @@ export {
39
40
  IconAction,
40
41
  IconColor,
41
42
  ProcessingTableColumnType,
43
+ ProviderIconType,
42
44
  QueueType,
43
45
  RelativeDatetimeValue,
44
46
  SupervisorSections,
@@ -184,6 +184,11 @@ export default deepmerge({
184
184
  customization: {
185
185
  customization: 'Customization | Customizations',
186
186
  },
187
+ chatGateway: 'Chat gateway | Chat gateways',
188
+ chat: {
189
+ chat: 'Chat | Chats',
190
+ draftPlaceholder: 'Write a message...',
191
+ },
187
192
  queue: {
188
193
  queue: 'Queue | Queues',
189
194
  type: {
@@ -512,6 +517,7 @@ export default deepmerge({
512
517
  [IconAction.ADD_CONTACT]: ({ linked }) => {
513
518
  return `${linked('reusable.add')} contacts`;
514
519
  },
520
+ [IconAction.CHAT]: ({linked}) => linked('objects.chat.chat')
515
521
  },
516
522
  },
517
523
  errorPages: {
@@ -177,6 +177,11 @@ export default {
177
177
  customization: {
178
178
  customization: 'Personalización | Personalizaciones',
179
179
  },
180
+ chatGateway: 'Pasarela de chat | Pasarelas de chat',
181
+ chat: {
182
+ chat: 'Chat | Chats',
183
+ draftPlaceholder: 'Escribe un mensaje...',
184
+ },
180
185
  queue: {
181
186
  queue: 'Cola | Colas',
182
187
  type: {
@@ -502,6 +507,7 @@ export default {
502
507
  [IconAction.ADD_CONTACT]: ({ linked }) => {
503
508
  return `${linked('reusable.add')} contacts`;
504
509
  },
510
+ [IconAction.CHAT]: ({linked}) => linked('objects.chat.chat')
505
511
  },
506
512
  },
507
513
  errorPages: {
@@ -182,6 +182,11 @@ export default {
182
182
  customLookup: {
183
183
  customLookup: 'Жекелендіру | Жекелендірулер',
184
184
  },
185
+ chatGateway: 'Чат шлюзі | Чат шлюздер',
186
+ chat: {
187
+ chat: 'Чат | Чаттар',
188
+ draftPlaceholder: 'Хабарлама жазыңыз...',
189
+ },
185
190
  queue: {
186
191
  queue: 'Кезек | Кезектер',
187
192
  type: {
@@ -505,6 +510,7 @@ export default {
505
510
  [IconAction.ADD_CONTACT]: ({ linked }) => {
506
511
  return `${linked('reusable.add')} contacts`;
507
512
  },
513
+ [IconAction.CHAT]: ({linked}) => linked('objects.chat.chat')
508
514
  },
509
515
  },
510
516
  errorPages: {
@@ -182,6 +182,11 @@ export default {
182
182
  customLookup: {
183
183
  customLookup: 'Dostosowanie | Dostosowania',
184
184
  },
185
+ chatGateway: 'Bramka czatu | Bramki czatu',
186
+ chat: {
187
+ chat: 'Czat | Czaty',
188
+ draftPlaceholder: 'Napisz wiadomość...',
189
+ },
185
190
  queue: {
186
191
  queue: 'Kolejka | Kolejki',
187
192
  type: {
@@ -506,6 +511,7 @@ export default {
506
511
  [IconAction.ADD_CONTACT]: ({ linked }) => {
507
512
  return `${linked('reusable.add')} kontakty`;
508
513
  },
514
+ [IconAction.CHAT]: ({linked}) => linked('objects.chat.chat')
509
515
  },
510
516
  },
511
517
  errorPages: {
@@ -182,6 +182,11 @@ export default {
182
182
  customLookup: {
183
183
  customLookup: 'Personalizare | Personalizări',
184
184
  },
185
+ chatGateway: 'Gateway chat | Gateway-uri chat',
186
+ chat: {
187
+ chat: 'Chat | Chat-uri',
188
+ draftPlaceholder: 'Scrie un mesaj...',
189
+ },
185
190
  queue: {
186
191
  queue: 'Coadă | Cozi',
187
192
  type: {
@@ -507,6 +512,7 @@ export default {
507
512
  [IconAction.ADD_CONTACT]: ({ linked }) => {
508
513
  return `${linked('reusable.add')} contacte`;
509
514
  },
515
+ [IconAction.CHAT]: ({linked}) => linked('objects.chat.chat')
510
516
  },
511
517
  },
512
518
  errorPages: {
@@ -182,6 +182,11 @@ export default {
182
182
  customLookup:
183
183
  'Пользовательский справочник | Пользовательские справочники',
184
184
  },
185
+ chatGateway: 'Текстовый шлюз | Текстовые шлюзы',
186
+ chat: {
187
+ chat: 'Чат | Чаты',
188
+ draftPlaceholder: 'Напишите сообщение...',
189
+ },
185
190
  queue: {
186
191
  queue: 'Очередь | Очереди',
187
192
  type: {
@@ -502,6 +507,7 @@ export default {
502
507
  [IconAction.ADD_CONTACT]: ({ linked }) => {
503
508
  return `${linked('reusable.add')} контакты`;
504
509
  },
510
+ [IconAction.CHAT]: ({linked}) => linked('objects.chat.chat')
505
511
  },
506
512
  },
507
513
  errorPages: {
@@ -181,6 +181,11 @@ export default {
181
181
  customLookup: {
182
182
  customLookup: 'Користувацький довідник | Користувацькі довідники',
183
183
  },
184
+ chatGateway: 'Текстовий шлюз | Текстові шлюзи',
185
+ chat: {
186
+ chat: 'Чат | Чати',
187
+ draftPlaceholder: 'Напишіть повідомлення...',
188
+ },
184
189
  queue: {
185
190
  queue: 'Черга | Черги',
186
191
  type: {
@@ -501,6 +506,7 @@ export default {
501
506
  [IconAction.ADD_CONTACT]: ({ linked }) => {
502
507
  return `${linked('reusable.add')} контакти`;
503
508
  },
509
+ [IconAction.CHAT]: ({linked}) => linked('objects.chat.chat')
504
510
  },
505
511
  },
506
512
  errorPages: {
@@ -183,6 +183,11 @@ export default {
183
183
  customLookup: {
184
184
  customLookup: 'Maxsuslash | Maxsuslashlar',
185
185
  },
186
+ chatGateway: 'Chat shlyuzi | Chat shlyuzlari',
187
+ chat: {
188
+ chat: 'Chat | Chatlar',
189
+ draftPlaceholder: 'Xabar yozing...',
190
+ },
186
191
  queue: {
187
192
  queue: 'Navbat | Navbatlar',
188
193
  type: {
@@ -509,6 +514,7 @@ export default {
509
514
  [IconAction.ADD_CONTACT]: ({ linked }) => {
510
515
  return `${linked('reusable.add')} kontaktlar`;
511
516
  },
517
+ [IconAction.CHAT]: ({linked}) => linked('objects.chat.chat')
512
518
  },
513
519
  },
514
520
  errorPages: {
@@ -182,6 +182,11 @@ export default {
182
182
  customLookup: {
183
183
  customLookup: 'Tùy chỉnh | Các tùy chỉnh',
184
184
  },
185
+ chatGateway: 'Cổng trò chuyện | Các cổng trò chuyện',
186
+ chat: {
187
+ chat: 'Trò chuyện | Các cuộc trò chuyện',
188
+ draftPlaceholder: 'Viết tin nhắn...',
189
+ },
185
190
  queue: {
186
191
  queue: 'Hàng chờ | Hàng chờ',
187
192
  type: {
@@ -508,6 +513,7 @@ export default {
508
513
  [IconAction.ADD_CONTACT]: ({ linked }) => {
509
514
  return `${linked('reusable.add')} liên hệ`;
510
515
  },
516
+ [IconAction.CHAT]: ({linked}) => linked('objects.chat.chat')
511
517
  },
512
518
  },
513
519
  errorPages: {
@@ -7,6 +7,7 @@ import WtBadge from './wt-badge/wt-badge.vue';
7
7
  import WtBreadcrumb from './wt-breadcrumb/wt-breadcrumb.vue';
8
8
  import WtButton from './wt-button/wt-button.vue';
9
9
  import WtButtonSelect from './wt-button-select/wt-button-select.vue';
10
+ import WtChatEmoji from './on-demand/wt-chat-emoji/wt-chat-emoji.vue';
10
11
  import WtCheckbox from './wt-checkbox/wt-checkbox.vue';
11
12
  import WtChip from './wt-chip/wt-chip.vue';
12
13
  import WtConfirmDialog from './wt-confirm-dialog/wt-confirm-dialog.vue';
@@ -145,5 +146,6 @@ declare namespace Components {
145
146
  export { WtSelectionPopup };
146
147
  export { WtDisplayChipItems };
147
148
  export { WtVidstackPlayer };
149
+ export { WtChatEmoji };
148
150
  }
149
- export { WtActionBar, WtAppHeader, WtAppNavigator, WtAvatar, WtBadge, WtBreadcrumb, WtButton, WtButtonSelect, WtCheckbox, WtChip, WtConfirmDialog, WtContextMenu, WtCopyAction, WtDatepicker, WtDisplayChipItems, WtDivider, WtDualPanel, WtDummy, WtEmpty, WtErrorPage, WtExpansionPanel, WtFiltersPanelWrapper, WtHeaderActions, WtHeadline, WtHint, WtIcon, WtIconAction, WtIconBtn, WtImage, WtIndicator, WtInput, WtInputInfo, WtIntersectionObserver, WtItemLink, WtLabel, WtLoadBar, WtLoader, WtLogo, WtNavigationBar, WtNavigationMenu, WtNotification, WtNotificationsBar, WtPageHeader, WtPageWrapper, WtPagination, WtPlayer, WtPopover, WtPopup, WtProgressBar, WtRadio, WtReplaceTransition, WtRoundedAction, WtSearchBar, WtSelect, WtSelectionPopup, WtSlider, WtStartPage, WtStatusSelect, WtStepper, WtSwitcher, WtTable, WtTableActions, WtTableColumnSelect, WtTabs, WtTagsInput, WtTextarea, WtTimeInput, WtTimepicker, WtTooltip, WtTree, WtTreeTable, WtTypeExtensionValueInput, WtVidstackPlayer };
151
+ export { WtActionBar, WtAppHeader, WtAppNavigator, WtAvatar, WtBadge, WtBreadcrumb, WtButton, WtButtonSelect, WtChatEmoji, WtCheckbox, WtChip, WtConfirmDialog, WtContextMenu, WtCopyAction, WtDatepicker, WtDisplayChipItems, WtDivider, WtDualPanel, WtDummy, WtEmpty, WtErrorPage, WtExpansionPanel, WtFiltersPanelWrapper, WtHeaderActions, WtHeadline, WtHint, WtIcon, WtIconAction, WtIconBtn, WtImage, WtIndicator, WtInput, WtInputInfo, WtIntersectionObserver, WtItemLink, WtLabel, WtLoadBar, WtLoader, WtLogo, WtNavigationBar, WtNavigationMenu, WtNotification, WtNotificationsBar, WtPageHeader, WtPageWrapper, WtPagination, WtPlayer, WtPopover, WtPopup, WtProgressBar, WtRadio, WtReplaceTransition, WtRoundedAction, WtSearchBar, WtSelect, WtSelectionPopup, WtSlider, WtStartPage, WtStatusSelect, WtStepper, WtSwitcher, WtTable, WtTableActions, WtTableColumnSelect, WtTabs, WtTagsInput, WtTextarea, WtTimeInput, WtTimepicker, WtTooltip, WtTree, WtTreeTable, WtTypeExtensionValueInput, WtVidstackPlayer };
@@ -1,9 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- size: string;
3
2
  status: any;
3
+ size: string;
4
4
  $props: {
5
- readonly size?: string;
6
5
  readonly status?: any;
6
+ readonly size?: string;
7
7
  };
8
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
9
  export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ $emit: (event: "insert-emoji", ...args: any[]) => void;
3
+ size: string;
4
+ $props: {
5
+ readonly size?: string;
6
+ };
7
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ export default _default;
@@ -4,7 +4,7 @@ type __VLS_WithSlots<T, S> = T & (new () => {
4
4
  $slots: S;
5
5
  });
6
6
  declare const __VLS_component: import("vue").DefineComponent<{}, {
7
- $emit: (event: "change" | "add" | "close", ...args: any[]) => void;
7
+ $emit: (event: "add" | "close" | "change", ...args: any[]) => void;
8
8
  options: unknown[];
9
9
  title?: string;
10
10
  selected?: Record<string, any>;
@@ -1,2 +1,2 @@
1
- export const tableActionsOrder: ("delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact" | "download-pdf")[];
2
- export const sectionActionsOrder: ("delete" | "filters" | "add" | "variables" | "refresh" | "upload" | "download" | "copy" | "columns" | "add-contact" | "download-pdf")[];
1
+ export const tableActionsOrder: ("delete" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf")[];
2
+ export const sectionActionsOrder: ("delete" | "filters" | "refresh" | "add" | "upload" | "download" | "copy" | "columns" | "variables" | "add-contact" | "download-pdf")[];