@webitel/ui-sdk 26.2.86 → 26.2.87

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 (82) hide show
  1. package/dist/{index-BfPO5Xk6.js → index-DVKh-8_k.js} +1 -1
  2. package/dist/{index-CIpl52ud.js → index-ty_yVC6r.js} +1 -1
  3. package/dist/{install-hEc3TeL8.js → install-DGeFi2dK.js} +2937 -2933
  4. package/dist/{isObject-BGRZUfrn.js → isObject-BDBrsEoK.js} +1 -1
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +1 -1
  7. package/dist/ui-sdk.umd.cjs +5 -2
  8. package/dist/{vidstack-Bq6c3Bam-CiKSIfx3.js → vidstack-Bq6c3Bam-048vhQL0.js} +2 -2
  9. package/dist/{vidstack-D2pY00kU-BKshL5RY.js → vidstack-D2pY00kU-6EZp-HxO.js} +2 -2
  10. package/dist/{vidstack-DDXt6fpN-CnhPGivb.js → vidstack-DDXt6fpN-BtLNBRIk.js} +1 -1
  11. package/dist/{vidstack-D_-9AA6_-Daameze-.js → vidstack-D_-9AA6_-NTrI7qhk.js} +1 -1
  12. package/dist/{vidstack-DqAw8m9J-D2PXMBb6.js → vidstack-DqAw8m9J-CBvKgzBi.js} +1 -1
  13. package/dist/{vidstack-audio-DhIoylIe.js → vidstack-audio-BTMWPDeY.js} +2 -2
  14. package/dist/{vidstack-dash-Bbnp7sJE.js → vidstack-dash-Bu3cfkXF.js} +3 -3
  15. package/dist/{vidstack-google-cast-DghWE1IY.js → vidstack-google-cast-Bn2IXNz9.js} +3 -3
  16. package/dist/{vidstack-hls-z-cR6Ldm.js → vidstack-hls-BLw8Z4CV.js} +3 -3
  17. package/dist/{vidstack-video-a48igqf9.js → vidstack-video-BX02sDjS.js} +2 -2
  18. package/dist/{vidstack-vimeo-Bios76up.js → vidstack-vimeo-B2W9MzTa.js} +3 -3
  19. package/dist/{vidstack-youtube-NqLBxI85.js → vidstack-youtube-DHOYY--j.js} +2 -2
  20. package/dist/{wt-action-bar-CVlL6FZX.js → wt-action-bar-DejSIEl2.js} +1 -1
  21. package/dist/{wt-button-select-9LYdklTP.js → wt-button-select-R7v51WE5.js} +1 -1
  22. package/dist/{wt-chat-emoji-C2cvz0aP.js → wt-chat-emoji-jNKra-vT.js} +2 -2
  23. package/dist/{wt-confirm-dialog-C-Jmyb9p.js → wt-confirm-dialog-BTEFgZw3.js} +1 -1
  24. package/dist/{wt-context-menu-CLjO28vQ.js → wt-context-menu-Cq9ymOER.js} +1 -1
  25. package/dist/{wt-copy-action-DiZ_GcL0.js → wt-copy-action-BSRUuPFA.js} +1 -1
  26. package/dist/{wt-datepicker-BYGdc9ff.js → wt-datepicker-BRNSwItY.js} +1 -1
  27. package/dist/{wt-display-chip-items-CBGmACba.js → wt-display-chip-items-5LI3PuMB.js} +1 -1
  28. package/dist/{wt-dual-panel-DmVQSxtR.js → wt-dual-panel-Cd7uhJpY.js} +1 -1
  29. package/dist/{wt-dummy-CQ4WQWrJ.js → wt-dummy-DXQ8yUeB.js} +1 -1
  30. package/dist/{wt-error-page-BgH1sDXu.js → wt-error-page-Bn3xYJ0G.js} +1 -1
  31. package/dist/{wt-expansion-card-DlCnGMfb.js → wt-expansion-card-gm5vXkBr.js} +1 -1
  32. package/dist/{wt-expansion-panel-CFdMyglC.js → wt-expansion-panel-D6AH13z3.js} +1 -1
  33. package/dist/{wt-filters-panel-wrapper-XwkMxbuU.js → wt-filters-panel-wrapper-CoVHuHL6.js} +1 -1
  34. package/dist/{wt-galleria-kP2tNuLV.js → wt-galleria-BR4L06QO.js} +1 -1
  35. package/dist/{wt-navigation-menu-_WUNagbq.js → wt-navigation-menu-BgORNEWB.js} +1 -1
  36. package/dist/{wt-notifications-bar-wlkVSNO6.js → wt-notifications-bar-CoOTWWVf.js} +2 -2
  37. package/dist/{wt-page-header-skJJlN5u.js → wt-page-header-CWRiJQtc.js} +1 -1
  38. package/dist/{wt-pagination-Dt2AC82n.js → wt-pagination-Dz6jA59M.js} +1 -1
  39. package/dist/{wt-player-DearTxra.js → wt-player-B1c7Mdcn.js} +1 -1
  40. package/dist/{wt-search-bar-qa44hCtR.js → wt-search-bar-Blxm_6Yq.js} +1 -1
  41. package/dist/{wt-selection-popup-CM_F-Ovz.js → wt-selection-popup-h3v1zccP.js} +1 -1
  42. package/dist/{wt-start-page-DdiZlBxs.js → wt-start-page-YxptzeST.js} +1 -1
  43. package/dist/{wt-status-select-B-4AGxJJ.js → wt-status-select-Bx5wi_CU.js} +1 -1
  44. package/dist/{wt-stepper-BX1slLpS.js → wt-stepper-C35fsYao.js} +1 -1
  45. package/dist/{wt-table-BLiqAvgp.js → wt-table-DJD_zxOO.js} +1 -1
  46. package/dist/{wt-table-actions-CV4L4At_.js → wt-table-actions-nWYEODef.js} +1 -1
  47. package/dist/{wt-table-column-select-HTzEFsy_.js → wt-table-column-select-BbVgLs5X.js} +2 -2
  48. package/dist/{wt-tabs-Dv5GY718.js → wt-tabs-Drkf57D1.js} +1 -1
  49. package/dist/{wt-tags-input-BmR8wGoy.js → wt-tags-input-GEPeeq_M.js} +2 -2
  50. package/dist/{wt-timepicker-BPiIae1E.js → wt-timepicker-DpP589HP.js} +1 -1
  51. package/dist/{wt-tree-DyVU1Ky2.js → wt-tree-CgHVfHlr.js} +2 -2
  52. package/dist/{wt-tree-table-DUgBokMr.js → wt-tree-table-CPdajAjw.js} +1 -1
  53. package/dist/{wt-type-extension-value-input-VJ52ynBk.js → wt-type-extension-value-input-CvjxUfrG.js} +2 -2
  54. package/dist/{wt-vidstack-player-DC8x2FiU.js → wt-vidstack-player-DshUz0St.js} +11 -11
  55. package/package.json +1 -1
  56. package/src/assets/icons/sprite/index.ts +2 -0
  57. package/src/assets/icons/sprite/pause--filled.svg +3 -0
  58. package/src/components/wt-badge-new/wt-badge.vue +7 -4
  59. package/src/components/wt-vidstack-player/components/layouts/video-layout.vue +1 -1
  60. package/src/components/wt-vidstack-player/wt-vidstack-player.vue +0 -15
  61. package/src/locale/en/en.js +1 -0
  62. package/src/locale/es/es.js +1 -0
  63. package/src/locale/kz/kz.js +1 -0
  64. package/src/locale/pl/pl.js +1 -0
  65. package/src/locale/ro/ro.js +1 -0
  66. package/src/locale/ru/ru.js +1 -0
  67. package/src/locale/uk/uk.js +1 -0
  68. package/src/locale/uz/uz.js +1 -0
  69. package/src/locale/vi/vi.js +1 -0
  70. package/src/modules/CallSession/modules/VideoCall/video-call.vue +113 -10
  71. package/types/locale/en/en.d.ts +1 -0
  72. package/types/locale/es/es.d.ts +1 -0
  73. package/types/locale/i18n.d.ts +9 -0
  74. package/types/locale/index.d.ts +9 -0
  75. package/types/locale/kz/kz.d.ts +1 -0
  76. package/types/locale/pl/pl.d.ts +1 -0
  77. package/types/locale/ro/ro.d.ts +1 -0
  78. package/types/locale/ru/ru.d.ts +1 -0
  79. package/types/locale/uk/uk.d.ts +1 -0
  80. package/types/locale/uz/uz.d.ts +1 -0
  81. package/types/locale/vi/vi.d.ts +1 -0
  82. package/types/modules/CallSession/modules/VideoCall/video-call.vue.d.ts +2 -0
@@ -1,5 +1,5 @@
1
1
  import { computed as f, resolveComponent as r, createBlock as i, openBlock as l, withCtx as a, renderSlot as n, createCommentVNode as c, createVNode as p, createTextVNode as s, toDisplayString as u } from "vue";
2
- import { _ as b } from "./install-hEc3TeL8.js";
2
+ import { _ as b } from "./install-DGeFi2dK.js";
3
3
  const h = {
4
4
  __name: "wt-page-header",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as p, D as _ } from "./install-hEc3TeL8.js";
1
+ import { _ as p, D as _ } from "./install-DGeFi2dK.js";
2
2
  import { resolveComponent as c, resolveDirective as u, createElementBlock as g, openBlock as h, createElementVNode as o, createVNode as a, toDisplayString as m, withDirectives as d } from "vue";
3
3
  const f = {
4
4
  name: "WtPagination",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, computed as m, watch as r, onMounted as w, createElementBlock as v, openBlock as B, normalizeClass as g, createElementVNode as s, createVNode as o } from "vue";
2
- import { E as e, _ as x } from "./install-hEc3TeL8.js";
2
+ import { E as e, _ as x } from "./install-DGeFi2dK.js";
3
3
  const V = ["src", "loop", "autoplay"], _ = ["controls", "download"], b = /* @__PURE__ */ y({
4
4
  __name: "wt-player",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as O, toRefs as $, computed as y, resolveComponent as o, resolveDirective as A, createBlock as l, openBlock as s, unref as h, createSlots as E, withCtx as n, createVNode as p, createElementVNode as U, createCommentVNode as m, renderSlot as j, createTextVNode as K, toDisplayString as z, withDirectives as H } from "vue";
2
- import { z as P, D as R, _ as T } from "./install-hEc3TeL8.js";
2
+ import { z as P, D as R, _ as T } from "./install-DGeFi2dK.js";
3
3
  const q = { class: "wt-search-bar__icon-controls" }, F = /* @__PURE__ */ O({
4
4
  __name: "wt-search-bar",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as i, resolveDirective as $, createBlock as r, openBlock as t, mergeProps as x, withCtx as c, createVNode as f, createTextVNode as a, toDisplayString as s, unref as w, createElementVNode as h, renderSlot as k, createElementBlock as d, Fragment as z, renderList as D, normalizeClass as E, createCommentVNode as p, withDirectives as I } from "vue";
2
- import { _ as O, B as P } from "./install-hEc3TeL8.js";
2
+ import { _ as O, B as P } from "./install-DGeFi2dK.js";
3
3
  const j = { class: "wt-selection-popup__options" }, A = ["onClick"], F = { class: "wt-selection-popup__item-header typo-subtitle-2" }, L = {
4
4
  key: 1,
5
5
  class: "popup-options__item-text"
@@ -1,5 +1,5 @@
1
1
  import { inject as y, resolveComponent as _, createElementBlock as d, openBlock as a, createElementVNode as o, createBlock as u, createCommentVNode as h, createTextVNode as g, toDisplayString as l, createVNode as N, withCtx as f, defineComponent as w, computed as m, Fragment as E, renderList as k } from "vue";
2
- import { L as n, _ as p } from "./install-hEc3TeL8.js";
2
+ import { L as n, _ as p } from "./install-DGeFi2dK.js";
3
3
  n.env.NODE_ENV;
4
4
  n.env.NODE_ENV;
5
5
  n.env.NODE_ENV;
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as u, createBlock as d, openBlock as f, withCtx as c, createVNode as i } from "vue";
2
- import { _ as h } from "./install-hEc3TeL8.js";
2
+ import { _ as h } from "./install-DGeFi2dK.js";
3
3
  const s = Object.freeze({
4
4
  ONLINE: "online",
5
5
  PAUSE: "pause",
@@ -1,5 +1,5 @@
1
1
  import { computed as i, resolveComponent as w, createElementBlock as s, openBlock as p, createElementVNode as r, renderSlot as n, Fragment as h, renderList as f, createCommentVNode as y, createVNode as S, normalizeClass as C, withCtx as N, createTextVNode as V, toDisplayString as d } from "vue";
2
- import { _ as k } from "./install-hEc3TeL8.js";
2
+ import { _ as k } from "./install-DGeFi2dK.js";
3
3
  const x = { class: "wt-stepper" }, b = { class: "wt-stepper-header" }, g = { class: "wt-stepper-steps" }, B = { class: "wt-stepper-steps__wrapper" }, E = { class: "wt-stepper-description" }, $ = {
4
4
  __name: "wt-stepper",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ee, useSlots as te, useTemplateRef as oe, ref as H, computed as _, onMounted as le, onUnmounted as ae, resolveComponent as L, resolveDirective as re, createBlock as f, openBlock as c, createSlots as W, withCtx as i, createCommentVNode as b, createElementBlock as U, createVNode as q, withModifiers as ne, Fragment as se, renderList as de, createElementVNode as $, normalizeStyle as ie, renderSlot as h, createTextVNode as K, toDisplayString as V, withDirectives as ce, nextTick as ue } from "vue";
2
- import { B as pe, _ as fe } from "./install-hEc3TeL8.js";
2
+ import { B as pe, _ as fe } from "./install-DGeFi2dK.js";
3
3
  import { g as me } from "./sortQueryAdapters-M9bNEM3P.js";
4
4
  const ye = (r, C) => {
5
5
  let o = null, p = null, w = null, d = !1;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, computed as l, resolveComponent as p, resolveDirective as g, createElementBlock as S, openBlock as n, renderSlot as y, withDirectives as r, createCommentVNode as u, createVNode as A, createBlock as a, withCtx as B, normalizeClass as I } from "vue";
2
- import { _ as O } from "./install-hEc3TeL8.js";
2
+ import { _ as O } from "./install-DGeFi2dK.js";
3
3
  const R = { class: "wt-table-actions" }, U = /* @__PURE__ */ C({
4
4
  __name: "wt-table-actions",
5
5
  props: {
@@ -1,6 +1,6 @@
1
- import { d as C } from "./index-CIpl52ud.js";
1
+ import { d as C } from "./index-ty_yVC6r.js";
2
2
  import { resolveComponent as a, resolveDirective as g, createElementBlock as c, openBlock as r, withDirectives as v, createVNode as s, withCtx as n, createTextVNode as i, toDisplayString as p, createElementVNode as h, normalizeClass as S, Fragment as k, renderList as D, withModifiers as y } from "vue";
3
- import { _ as P } from "./install-hEc3TeL8.js";
3
+ import { _ as P } from "./install-DGeFi2dK.js";
4
4
  const H = {
5
5
  name: "WtTableColumnSelect",
6
6
  model: {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as n, openBlock as r, normalizeClass as o, createElementVNode as a, Fragment as c, renderList as d, renderSlot as h, normalizeProps as u, guardReactiveProps as f, toDisplayString as v, normalizeStyle as m } from "vue";
2
- import { _ as p } from "./install-hEc3TeL8.js";
2
+ import { _ as p } from "./install-DGeFi2dK.js";
3
3
  const _ = {
4
4
  name: "WtTabs",
5
5
  model: {
@@ -1,5 +1,5 @@
1
- import { d as O } from "./index-BfPO5Xk6.js";
2
- import { F as h, _ as E, C as S, M as z, G as A, H as B } from "./install-hEc3TeL8.js";
1
+ import { d as O } from "./index-DVKh-8_k.js";
2
+ import { F as h, _ as E, C as S, M as z, G as A, H as B } from "./install-DGeFi2dK.js";
3
3
  import { resolveComponent as n, resolveDirective as R, createElementBlock as I, openBlock as v, normalizeClass as P, createBlock as p, createCommentVNode as c, createVNode as o, mergeProps as g, withCtx as a, renderSlot as b, normalizeProps as f, guardReactiveProps as $, createTextVNode as d, toDisplayString as r, toHandlers as j, createSlots as q, withDirectives as V, createElementVNode as w, vShow as H, withModifiers as N } from "vue";
4
4
  const D = {
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as q, toRefs as R, computed as o, resolveComponent as w, createElementBlock as O, openBlock as d, normalizeClass as j, unref as t, createBlock as r, createCommentVNode as m, createElementVNode as A, mergeProps as F, withCtx as x, renderSlot as G, normalizeProps as J, guardReactiveProps as K, createTextVNode as S, toDisplayString as y, nextTick as Q } from "vue";
2
- import { B as W, z as X, C as Y, M as Z, _ as ee } from "./install-hEc3TeL8.js";
2
+ import { B as W, z as X, C as Y, M as Z, _ as ee } from "./install-DGeFi2dK.js";
3
3
  const le = { class: "wt-timepicker__wrapper" }, c = 3600, M = 60, ae = /* @__PURE__ */ q({
4
4
  __name: "wt-timepicker",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as z, computed as L, ref as J, onMounted as K, watch as Q, resolveComponent as I, createElementBlock as v, openBlock as i, Fragment as x, createElementVNode as D, withDirectives as X, renderSlot as T, createBlock as w, createCommentVNode as b, renderList as A, normalizeClass as M, toDisplayString as O, createVNode as Y, withCtx as W, createSlots as U, normalizeProps as q, guardReactiveProps as F, vShow as Z, unref as N } from "vue";
2
- import { d as P } from "./index-BfPO5Xk6.js";
3
- import { W as _, _ as R } from "./install-hEc3TeL8.js";
2
+ import { d as P } from "./index-DVKh-8_k.js";
3
+ import { W as _, _ as R } from "./install-DGeFi2dK.js";
4
4
  const ee = { class: "wt-tree-line" }, te = { class: "wt-tree-line__icon-wrapper" }, ae = { class: "wt-tree-line__label typo-body-1" }, le = /* @__PURE__ */ z({
5
5
  __name: "wt-tree-line",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { computed as C, unref as B, defineComponent as z, ref as O, onMounted as D, resolveComponent as L, createElementBlock as d, openBlock as l, Fragment as $, createElementVNode as u, createCommentVNode as b, normalizeClass as T, renderList as m, renderSlot as p, createBlock as x, createTextVNode as U, toDisplayString as H, createSlots as W, withCtx as I, toRef as F, normalizeStyle as j, withModifiers as q, createVNode as G } from "vue";
2
- import { B as J, O as R, P as Q, _ as M } from "./install-hEc3TeL8.js";
2
+ import { B as J, O as R, P as Q, _ as M } from "./install-DGeFi2dK.js";
3
3
  import { g as X } from "./sortQueryAdapters-M9bNEM3P.js";
4
4
  const Y = ({ headers: e }) => {
5
5
  const { t: y } = J();
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as Ae, mergeModels as Te, useModel as De, computed as _, resolveComponent as J, createBlock as Z, renderSlot as N, createCommentVNode as we, unref as w, openBlock as ee, mergeProps as x, createVNode as P } from "vue";
2
- import { ae as ve, af as Oe, N as qe, ag as ke, ah as Ee, B as Se, ai as Ce, aj as te, ak as _e } from "./install-hEc3TeL8.js";
3
- import { d as xe } from "./index-CIpl52ud.js";
2
+ import { ae as ve, af as Oe, N as qe, ag as ke, ah as Ee, B as Se, ai as Ce, aj as te, ak as _e } from "./install-DGeFi2dK.js";
3
+ import { d as xe } from "./index-ty_yVC6r.js";
4
4
  import { get as Ue, set as Le } from "lodash-es";
5
5
  import "@aliasedDeps/api-services/axios";
6
6
  import * as e from "zod";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as qe, createElementBlock as Ie, openBlock as gt, createVNode as ie, useTemplateRef as ha, inject as nn, onMounted as ca, onBeforeUnmount as ua, normalizeClass as Xs, unref as Js, createElementVNode as yt, createBlock as is, createCommentVNode as ve, toDisplayString as da, renderSlot as os, ref as Ci, provide as pa, computed as Pi, withCtx as xi } from "vue";
2
- import { R as fa, S as ma, T as ga, U as ya, P as Ce, _ as Oe, V as ba, C as at } from "./install-hEc3TeL8.js";
2
+ import { R as fa, S as ma, T as ga, U as ya, P as Ce, _ as Oe, V as ba, C as at } from "./install-DGeFi2dK.js";
3
3
  const dt = /* @__PURE__ */ Symbol(0);
4
4
  let ls = !1, Fs = !1, ot = null, ee = null, et = null, X = 0, te = [], Zs = {};
5
5
  const $a = () => {
@@ -3263,7 +3263,7 @@ class To {
3263
3263
  return "audio";
3264
3264
  }
3265
3265
  async load(t) {
3266
- return new (await import("./vidstack-audio-DhIoylIe.js")).AudioProvider(this.target, t);
3266
+ return new (await import("./vidstack-audio-BTMWPDeY.js")).AudioProvider(this.target, t);
3267
3267
  }
3268
3268
  }
3269
3269
  class di {
@@ -3276,7 +3276,7 @@ class di {
3276
3276
  return "video";
3277
3277
  }
3278
3278
  async load(t) {
3279
- return new (await import("./vidstack-video-a48igqf9.js")).VideoProvider(this.target, t);
3279
+ return new (await import("./vidstack-video-BX02sDjS.js")).VideoProvider(this.target, t);
3280
3280
  }
3281
3281
  }
3282
3282
  class pi extends di {
@@ -3286,7 +3286,7 @@ class pi extends di {
3286
3286
  return pi.supported && De(t);
3287
3287
  }
3288
3288
  async load(t) {
3289
- return new (await import("./vidstack-hls-z-cR6Ldm.js")).HLSProvider(this.target, t);
3289
+ return new (await import("./vidstack-hls-BLw8Z4CV.js")).HLSProvider(this.target, t);
3290
3290
  }
3291
3291
  }
3292
3292
  class fi extends di {
@@ -3296,7 +3296,7 @@ class fi extends di {
3296
3296
  return fi.supported && li(t);
3297
3297
  }
3298
3298
  async load(t) {
3299
- return new (await import("./vidstack-dash-Bbnp7sJE.js")).DASHProvider(this.target, t);
3299
+ return new (await import("./vidstack-dash-Bu3cfkXF.js")).DASHProvider(this.target, t);
3300
3300
  }
3301
3301
  }
3302
3302
  class So {
@@ -3318,7 +3318,7 @@ class So {
3318
3318
  return "video";
3319
3319
  }
3320
3320
  async load(t) {
3321
- return new (await import("./vidstack-vimeo-Bios76up.js")).VimeoProvider(this.target, t);
3321
+ return new (await import("./vidstack-vimeo-B2W9MzTa.js")).VimeoProvider(this.target, t);
3322
3322
  }
3323
3323
  async loadPoster(t, e, s) {
3324
3324
  const { resolveVimeoVideoId: n, getVimeoVideoInfo: a } = await import("./vidstack-krOAtKMi-C50BTxmn.js");
@@ -3350,7 +3350,7 @@ class ko {
3350
3350
  return "video";
3351
3351
  }
3352
3352
  async load(t) {
3353
- return new (await import("./vidstack-youtube-NqLBxI85.js")).YouTubeProvider(this.target, t);
3353
+ return new (await import("./vidstack-youtube-DHOYY--j.js")).YouTubeProvider(this.target, t);
3354
3354
  }
3355
3355
  async loadPoster(t, e, s) {
3356
3356
  const { findYouTubePoster: n, resolveYouTubeVideoId: a } = await import("./vidstack-Dm1xEU9Q-CXHNvShT.js"), r = v(t.src) && a(t.src);
@@ -3818,7 +3818,7 @@ class Ao extends Qt {
3818
3818
  throw n.code = "CAST_NOT_AVAILABLE", n;
3819
3819
  }
3820
3820
  if (_e("https://www.gstatic.com"), !this.#$) {
3821
- const n = await import("./vidstack-D2pY00kU-BKshL5RY.js").then((a) => a.v);
3821
+ const n = await import("./vidstack-D2pY00kU-6EZp-HxO.js").then((a) => a.v);
3822
3822
  this.#$ = new n.GoogleCastLoader();
3823
3823
  }
3824
3824
  await this.#$.prompt(this.#s), t && this.#e.queue.enqueue("media-google-cast-request", t);
@@ -5511,7 +5511,7 @@ class Bo extends $(HTMLElement, Hn) {
5511
5511
  if (this.#e?.classList.contains("vds-google-cast"))
5512
5512
  return this.#e;
5513
5513
  const t = document.createElement("div");
5514
- return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-Daameze-.js").then(({ insertContent: e }) => {
5514
+ return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-NTrI7qhk.js").then(({ insertContent: e }) => {
5515
5515
  e(t, this.#t.$state);
5516
5516
  }), t;
5517
5517
  }
@@ -10079,7 +10079,7 @@ const ic = /* @__PURE__ */ qe({
10079
10079
  ])
10080
10080
  ], 2));
10081
10081
  }
10082
- }), yc = /* @__PURE__ */ Oe(gc, [["__scopeId", "data-v-4fb2b9f3"]]), bc = ["autoplay", "muted", "src"], $c = /* @__PURE__ */ qe({
10082
+ }), yc = /* @__PURE__ */ Oe(gc, [["__scopeId", "data-v-2edb1963"]]), bc = ["autoplay", "muted", "src"], $c = /* @__PURE__ */ qe({
10083
10083
  __name: "wt-vidstack-player",
10084
10084
  props: {
10085
10085
  src: {},
@@ -10172,7 +10172,7 @@ const ic = /* @__PURE__ */ qe({
10172
10172
  ], 40, bc)
10173
10173
  ], 2));
10174
10174
  }
10175
- }), vc = /* @__PURE__ */ Oe($c, [["__scopeId", "data-v-815f577f"]]), Oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10175
+ }), vc = /* @__PURE__ */ Oe($c, [["__scopeId", "data-v-fe960280"]]), Oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10176
10176
  __proto__: null,
10177
10177
  default: vc
10178
10178
  }, Symbol.toStringTag, { value: "Module" }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.2.86",
3
+ "version": "26.2.87",
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 biome:format:all || true) && npm run publish-lib",
@@ -139,6 +139,7 @@ import note from './note.svg?raw';
139
139
  import numpad from './numpad.svg?raw';
140
140
  import options from './options.svg?raw';
141
141
  import pause from './pause.svg?raw';
142
+ import pauseFilled from './pause--filled.svg?raw';
142
143
  import pin from './pin.svg?raw';
143
144
  import play from './play.svg?raw';
144
145
  import playerEnterFullscreen from './player-enter-fullscreen.svg?raw';
@@ -369,6 +370,7 @@ export default objCamelToKebab({
369
370
  note,
370
371
  numpad,
371
372
  pause,
373
+ 'pause--filled': pauseFilled,
372
374
  play,
373
375
  table,
374
376
  treeExpand,
@@ -0,0 +1,3 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C6.45029 2 2 6.45029 2 12C2 17.5497 6.45029 22 12 22C17.5497 22 22 17.5497 22 12C22 6.45029 17.5497 2 12 2ZM11 9C11 8.44772 10.5523 8 10 8C9.44772 8 9 8.44772 9 9V15C9 15.5523 9.44772 16 10 16C10.5523 16 11 15.5523 11 15V9ZM14 8C14.5523 8 15 8.44772 15 9V15C15 15.5523 14.5523 16 14 16C13.4477 16 13 15.5523 13 15V9C13 8.44772 13.4477 8 14 8Z" />
3
+ </svg>
@@ -1,9 +1,12 @@
1
1
  <template>
2
2
  <p-badge
3
- :value="props.value" :class="[
4
- props.size`p-badge--${props.size}`,
5
- props.severity`p-badge--${props.severity}`
6
- ]" class="wt-badge typo-caption">
3
+ :value="props.value"
4
+ :class="[
5
+ props.size && `p-badge--${props.size}`,
6
+ props.severity && `p-badge--${props.severity}`
7
+ ]"
8
+ class="wt-badge typo-caption"
9
+ >
7
10
  <slot />
8
11
  </p-badge>
9
12
  </template>
@@ -80,7 +80,7 @@ const emit = defineEmits<{
80
80
  align-self: flex-start;
81
81
  }
82
82
 
83
- media-player[data-hocus] .video-display-panel {
83
+ :deep(media-player[data-hocus]) :deep(.video-display-panel) {
84
84
  /* hover or focus within https://vidstack.io/docs/wc/player/components/core/player/?styling=css#player.attrs */
85
85
  background: var(--p-player-head-line-hover-background);
86
86
  opacity: 1;
@@ -166,11 +166,6 @@ const onCanPlay = (ev: Event) => {
166
166
  }
167
167
 
168
168
  .wt-vidstack-player__player {
169
- gap: var(--popup-sections-gap);
170
- z-index: 1;
171
- box-shadow: var(--elevation-10);
172
- border-radius: var(--border-radius);
173
- background: var(--wt-popup-background-color);
174
169
  position: relative;
175
170
  display: block;
176
171
  width: 100%;
@@ -231,16 +226,6 @@ const onCanPlay = (ev: Event) => {
231
226
  .wt-vidstack-player--md:not(.wt-vidstack-player--static) {
232
227
  overflow: visible;
233
228
  border-radius: 0;
234
- display: flex;
235
- position: fixed;
236
- top: 0;
237
- right: 0;
238
- bottom: 0;
239
- left: 0;
240
- justify-content: center;
241
- align-items: center;
242
- z-index: var(--popup-wrapper-z-index);
243
- background: var(--wt-popup-shadow-color);
244
229
  }
245
230
 
246
231
  .wt-vidstack-player--lg {
@@ -408,6 +408,7 @@ export default deepmerge(
408
408
  },
409
409
  [WtApplication.Meet]: {
410
410
  theCameraIsTurnedOff: 'The camera is turned off',
411
+ theCallIsOnHold: 'On hold',
411
412
  },
412
413
  },
413
414
  validation: {
@@ -399,6 +399,7 @@ export default {
399
399
  },
400
400
  [WtApplication.Meet]: {
401
401
  theCameraIsTurnedOff: 'La cámara está apagada',
402
+ theCallIsOnHold: 'En espera',
402
403
  },
403
404
  },
404
405
  validation: {
@@ -404,6 +404,7 @@ export default {
404
404
  },
405
405
  [WtApplication.Meet]: {
406
406
  theCameraIsTurnedOff: 'Камера өшірілген',
407
+ theCallIsOnHold: 'Күту режимінде',
407
408
  },
408
409
  },
409
410
  validation: {
@@ -404,6 +404,7 @@ export default {
404
404
  },
405
405
  [WtApplication.Meet]: {
406
406
  theCameraIsTurnedOff: 'Kamera jest wyłączona',
407
+ theCallIsOnHold: 'Na wstrzymaniu',
407
408
  },
408
409
  },
409
410
  validation: {
@@ -406,6 +406,7 @@ export default {
406
406
  },
407
407
  [WtApplication.Meet]: {
408
408
  theCameraIsTurnedOff: 'Camera este oprită',
409
+ theCallIsOnHold: 'În așteptare',
409
410
  },
410
411
  },
411
412
  validation: {
@@ -401,6 +401,7 @@ export default {
401
401
  },
402
402
  [WtApplication.Meet]: {
403
403
  theCameraIsTurnedOff: 'Камера выключена',
404
+ theCallIsOnHold: 'На удержании',
404
405
  },
405
406
  },
406
407
  validation: {
@@ -400,6 +400,7 @@ export default {
400
400
  },
401
401
  [WtApplication.Meet]: {
402
402
  theCameraIsTurnedOff: 'Камера вимкнута',
403
+ theCallIsOnHold: 'На утриманні',
403
404
  },
404
405
  },
405
406
  validation: {
@@ -406,6 +406,7 @@ export default {
406
406
  },
407
407
  [WtApplication.Meet]: {
408
408
  theCameraIsTurnedOff: 'Kamera o‘chirilgan',
409
+ theCallIsOnHold: 'Kutishda',
409
410
  },
410
411
  },
411
412
  validation: {
@@ -406,6 +406,7 @@ export default {
406
406
  },
407
407
  [WtApplication.Meet]: {
408
408
  theCameraIsTurnedOff: 'Camera đã được tắt',
409
+ theCallIsOnHold: 'Đang giữ',
409
410
  },
410
411
  },
411
412
  validation: {
@@ -17,9 +17,29 @@
17
17
  <slot v-if="!mainStream" :size="innerSize" name="overlay">
18
18
  <div class="video-call-overlay">
19
19
  <div
20
- v-if="showReceiverOverlay"
20
+ v-if="showHoldOverlay"
21
21
  :class="[`video-call-receiver--${innerSize}`, innerSize === 'sm' ? 'typo-body-2' : 'typo-body-1']"
22
- class="video-call-receiver video-call-receiver--muted"
22
+ class="video-call-receiver video-call-receiver__fallback-screen"
23
+ >
24
+ <wt-icon
25
+ :size="receiverVideoMutedIconSizes[innerSize]"
26
+ icon="pause--filled"
27
+ color="warning"
28
+ />
29
+
30
+ <span class="video-call-receiver-text typo-heading-4">
31
+ {{ holdDurationTime }}
32
+ </span>
33
+
34
+ <span class="video-call-hold-text">
35
+ {{ t(`WtApplication.${WtApplication.Meet}.theCallIsOnHold`) }}
36
+ </span>
37
+ </div>
38
+
39
+ <div
40
+ v-else-if="showReceiverOverlay"
41
+ :class="[`video-call-receiver--${innerSize}`, innerSize === 'sm' ? 'typo-body-2' : 'typo-body-1']"
42
+ class="video-call-receiver video-call-receiver__fallback-screen"
23
43
  >
24
44
  <wt-icon
25
45
  :size="receiverVideoMutedIconSizes[innerSize]"
@@ -56,7 +76,7 @@
56
76
  </div>
57
77
  </template>
58
78
 
59
- <template v-else-if="props['sender:stream'] && props['receiver:stream']">
79
+ <template v-else-if="showSenderScreen">
60
80
  <wt-vidstack-player
61
81
  :class="`video-call-sender--${innerSize}`"
62
82
  :stream="props['sender:stream']"
@@ -110,7 +130,7 @@
110
130
  lang="ts"
111
131
  >
112
132
  import { WtVidstackPlayer } from '@webitel/ui-sdk/components';
113
- import { computed } from 'vue';
133
+ import { computed, onBeforeUnmount, ref, watch } from 'vue';
114
134
  import { useI18n } from 'vue-i18n';
115
135
 
116
136
  import { WtIcon } from '../../../../components';
@@ -120,6 +140,7 @@ import {
120
140
  VideoCallControlsPanel,
121
141
  } from '../../../../components/wt-vidstack-player/components';
122
142
  import { ComponentSize, WtApplication } from '../../../../enums';
143
+ import { convertDuration } from '../../../../scripts';
123
144
  import type { ResultCallbacks } from '../../../../types';
124
145
  import type { ScreenshotStatus } from '../../types';
125
146
  import { VideoCallAction } from './enums/VideoCallAction.enum';
@@ -138,6 +159,9 @@ const props = withDefaults(
138
159
  'receiver:mic:enabled'?: boolean;
139
160
  'receiver:video:enabled'?: boolean;
140
161
 
162
+ 'call:onHold'?: boolean;
163
+ hideSenderOnHold?: boolean;
164
+
141
165
  'screenshot:status'?: ScreenshotStatus | null;
142
166
  'screenshot:loading'?: boolean;
143
167
  'screenshot:src'?: string;
@@ -223,6 +247,30 @@ const senderStream = computed(() => props['sender:stream']);
223
247
 
224
248
  const receiverVideoEnabled = computed(() => props['receiver:video:enabled']);
225
249
  const senderVideoEnabled = computed(() => props['sender:video:enabled']);
250
+ const isOnHold = computed(() => !!props['call:onHold']);
251
+
252
+ const holdSecondsElapsed = ref(0);
253
+ let holdTimerId: number | null = null;
254
+
255
+ const startHoldTimer = () => {
256
+ holdSecondsElapsed.value = 0;
257
+ stopHoldTimer();
258
+ holdTimerId = window.setInterval(() => {
259
+ holdSecondsElapsed.value++;
260
+ }, 1000);
261
+ };
262
+
263
+ const stopHoldTimer = () => {
264
+ if (holdTimerId !== null) {
265
+ clearInterval(holdTimerId);
266
+ holdTimerId = null;
267
+ }
268
+ };
269
+
270
+ const resetHoldState = () => {
271
+ stopHoldTimer();
272
+ holdSecondsElapsed.value = 0;
273
+ };
226
274
 
227
275
  const bothStreamsAvailable = computed(
228
276
  () => !!receiverStream.value && !!senderStream.value,
@@ -236,7 +284,17 @@ const showReceiverOverlay = computed(
236
284
  (receiverStream.value && !receiverVideoEnabled.value),
237
285
  );
238
286
 
287
+ const showHoldOverlay = computed(() => isOnHold.value);
288
+
289
+ const holdDurationTime = computed(() =>
290
+ convertDuration(holdSecondsElapsed.value),
291
+ );
292
+
239
293
  const mainStream = computed(() => {
294
+ if (isOnHold.value) {
295
+ return null;
296
+ }
297
+
240
298
  if (
241
299
  (bothStreamsAvailable.value && !receiverVideoEnabled.value) ||
242
300
  (!receiverStream.value && senderStream.value && !senderVideoEnabled.value)
@@ -251,13 +309,49 @@ const mainStream = computed(() => {
251
309
  return receiverStream.value ?? senderStream.value;
252
310
  });
253
311
 
254
- const showSenderMutedScreen = computed(
255
- () =>
256
- bothStreamsAvailable.value &&
257
- !senderVideoEnabled.value &&
258
- !!receiverStream.value,
312
+ const showSenderScreen = computed(() => {
313
+ if (!isOnHold.value) return bothStreamsAvailable.value;
314
+
315
+ return !props.hideSenderOnHold && senderStream.value && receiverStream.value;
316
+ });
317
+
318
+ const showSenderMutedScreen = computed(() => {
319
+ // If call is on hold but sender video exists — muted screen should NOT show
320
+ if (isOnHold.value && senderVideoEnabled.value && senderStream.value) {
321
+ return false;
322
+ }
323
+
324
+ const isActiveCall = !isOnHold.value;
325
+ const hasBothStreams = bothStreamsAvailable.value;
326
+ const senderVideoOff = !senderVideoEnabled.value;
327
+ const receiverHasStream = !!receiverStream.value;
328
+
329
+ // Show muted screen only when:
330
+ // - call is active
331
+ // - both participants connected
332
+ // - sender video disabled
333
+ // - receiver stream exists
334
+ return isActiveCall && hasBothStreams && senderVideoOff && receiverHasStream;
335
+ });
336
+
337
+ watch(
338
+ isOnHold,
339
+ (enableHold) => {
340
+ if (enableHold) {
341
+ startHoldTimer();
342
+ } else {
343
+ resetHoldState();
344
+ }
345
+ },
346
+ {
347
+ immediate: true,
348
+ },
259
349
  );
260
350
 
351
+ onBeforeUnmount(() => {
352
+ stopHoldTimer();
353
+ });
354
+
261
355
  const receiverVideoMutedIconSizes = {
262
356
  [ComponentSize.SM]: ComponentSize.MD,
263
357
  [ComponentSize.MD]: ComponentSize.LG,
@@ -367,7 +461,11 @@ const senderVideoMutedIconSizes = {
367
461
  text-align: center;
368
462
  }
369
463
 
370
- .video-call-receiver--muted {
464
+ .video-call-receiver--sm .video-call-hold-text {
465
+ text-align: center;
466
+ }
467
+
468
+ .video-call-receiver__fallback-screen {
371
469
  display: flex;
372
470
  align-items: center;
373
471
  flex-direction: column;
@@ -377,6 +475,11 @@ const senderVideoMutedIconSizes = {
377
475
  gap: var(--spacing-xs);
378
476
  }
379
477
 
478
+ .video-call-receiver--sm.video-call-receiver__fallback-screen {
479
+ justify-content: flex-end;
480
+ padding-bottom: calc(var(--p-player-control-bar-sm-height) + 24px);
481
+ }
482
+
380
483
  .video-call-sender {
381
484
  flex: 0 0 auto;
382
485
  }
@@ -368,6 +368,7 @@ declare const _default: {
368
368
  };
369
369
  meet: {
370
370
  theCameraIsTurnedOff: string;
371
+ theCallIsOnHold: string;
371
372
  };
372
373
  };
373
374
  validation: {
@@ -411,6 +411,7 @@ declare namespace _default {
411
411
  }
412
412
  export namespace meet {
413
413
  let theCameraIsTurnedOff: string;
414
+ let theCallIsOnHold: string;
414
415
  }
415
416
  }
416
417
  export namespace validation {