@webitel/ui-sdk 26.4.45 → 26.4.47

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 (66) hide show
  1. package/dist/{index-CsMcaz0u.js → index-BeWSbVcC.js} +1 -1
  2. package/dist/{index-B29QAN88.js → index-DWbhj3I_.js} +1 -1
  3. package/dist/{install-C5xKFRc9.js → install-B49SbjQe.js} +36 -36
  4. package/dist/{isObject-BhReVvbb.js → isObject-DVAyfT95.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 +32 -32
  8. package/dist/{useVidstackSrc-_rF-gU3O.js → useVidstackSrc-B4lBHDtL.js} +1 -1
  9. package/dist/{vidstack-Bq6c3Bam-rX2k9SwP.js → vidstack-Bq6c3Bam-CQgf9WQ6.js} +3 -3
  10. package/dist/{vidstack-D2pY00kU-CkOGeeZp.js → vidstack-D2pY00kU-CJ_ABXE-.js} +3 -3
  11. package/dist/{vidstack-DDXt6fpN-DYGWQceO.js → vidstack-DDXt6fpN-Bad8T5mk.js} +2 -2
  12. package/dist/{vidstack-D_-9AA6_-BY4XbHI-.js → vidstack-D_-9AA6_-BRA9dr6r.js} +2 -2
  13. package/dist/{vidstack-DqAw8m9J-JwBdvziH.js → vidstack-DqAw8m9J-hVtALgYx.js} +1 -1
  14. package/dist/{vidstack-audio-Yun2Ft-H.js → vidstack-audio-CoiAV2Qd.js} +2 -2
  15. package/dist/{vidstack-dash-u2mEPhH4.js → vidstack-dash-DKXmtGQy.js} +4 -4
  16. package/dist/{vidstack-google-cast-BAtFstog.js → vidstack-google-cast-CYnP72wA.js} +4 -4
  17. package/dist/{vidstack-hls-CIrbdAl1.js → vidstack-hls-DQ-qnHp3.js} +4 -4
  18. package/dist/{vidstack-video-kGR0RM6h.js → vidstack-video-BPBmZ4Ql.js} +3 -3
  19. package/dist/{vidstack-vimeo-D-twj4RR.js → vidstack-vimeo-Cqgqxfvi.js} +4 -4
  20. package/dist/{vidstack-youtube-C9ELPiVF.js → vidstack-youtube-28jmCYrI.js} +3 -3
  21. package/dist/{wt-action-bar-wZTEzUyq.js → wt-action-bar-DgyihgoP.js} +1 -1
  22. package/dist/{wt-button-select-_Otb__NY.js → wt-button-select-C5rUO5QK.js} +1 -1
  23. package/dist/{wt-chat-emoji-B_m4NMsW.js → wt-chat-emoji-ySxmG9lK.js} +2 -2
  24. package/dist/{wt-confirm-dialog-BRN2RUS_.js → wt-confirm-dialog-Bvpzd6bY.js} +1 -1
  25. package/dist/{wt-context-menu-H3PULbZ-.js → wt-context-menu-C_BnkdBj.js} +1 -1
  26. package/dist/{wt-copy-action-jHeKgw7I.js → wt-copy-action-LugfQo-m.js} +1 -1
  27. package/dist/{wt-datepicker-BQLbUAwp.js → wt-datepicker-CXvemeNe.js} +1 -1
  28. package/dist/{wt-display-chip-items-BHzmoLdD.js → wt-display-chip-items-DkhqCP3w.js} +1 -1
  29. package/dist/{wt-dual-panel-DkTY0udE.js → wt-dual-panel-Ca9V4pjm.js} +1 -1
  30. package/dist/{wt-dummy-CSy2l8r-.js → wt-dummy-tTF8c1Va.js} +1 -1
  31. package/dist/{wt-error-page-C1EXQCuO.js → wt-error-page-BPgxJVXQ.js} +1 -1
  32. package/dist/{wt-expansion-card-BLiWEIRE.js → wt-expansion-card-CmxacNR-.js} +1 -1
  33. package/dist/{wt-expansion-panel-DxEt8JYl.js → wt-expansion-panel-XZCGgQlF.js} +1 -1
  34. package/dist/{wt-filters-panel-wrapper-DBSBv5JQ.js → wt-filters-panel-wrapper-DOg-m40_.js} +1 -1
  35. package/dist/{wt-galleria-CQVb6FG8.js → wt-galleria-sh0G9ONj.js} +1 -1
  36. package/dist/{wt-inline-add-panel-DVE2c032.js → wt-inline-add-panel-C2dEN08i.js} +1 -1
  37. package/dist/{wt-navigation-menu-B7St4Ebu.js → wt-navigation-menu-CWJzmKIS.js} +1 -1
  38. package/dist/{wt-notifications-bar-aXlO-3yh.js → wt-notifications-bar-f6Tkg86z.js} +2 -2
  39. package/dist/{wt-pagination-BvNVluV2.js → wt-pagination-DQvaleE-.js} +1 -1
  40. package/dist/{wt-player-BNRxGbky.js → wt-player-UZRJQ7C3.js} +2 -2
  41. package/dist/{wt-screen-recordings-action-mMmrwxK3.js → wt-screen-recordings-action-Cox5Qvpn.js} +1 -1
  42. package/dist/{wt-search-bar-Crac4P_w.js → wt-search-bar-CP_YD2FX.js} +1 -1
  43. package/dist/{wt-selection-popup-vt0Q_WxC.js → wt-selection-popup-D6PhIPG4.js} +1 -1
  44. package/dist/{wt-start-page-Bwv7DQlq.js → wt-start-page-Ch-8hg9T.js} +1 -1
  45. package/dist/{wt-status-select-X2Dvl9GY.js → wt-status-select-C1z1gtpF.js} +1 -1
  46. package/dist/{wt-stepper-BYiw9cJ0.js → wt-stepper-XFZ2NnL9.js} +1 -1
  47. package/dist/{wt-table-actions-BjbyUxeI.js → wt-table-actions-DTFas6OB.js} +1 -1
  48. package/dist/wt-table-column-select-DujNBrJ_.js +125 -0
  49. package/dist/{wt-table-C7jfNUe1.js → wt-table-p5QT6xEX.js} +1 -1
  50. package/dist/{wt-tabs-fp7CE3Ah.js → wt-tabs-DzX9Rdsi.js} +1 -1
  51. package/dist/{wt-tags-input-rO50fkT_.js → wt-tags-input-7b2uyK6E.js} +2 -2
  52. package/dist/{wt-timepicker-BfKQ-4J_.js → wt-timepicker-BdSAPLBB.js} +1 -1
  53. package/dist/{wt-tree-K0k8DwO8.js → wt-tree-Cq4KKiil.js} +2 -2
  54. package/dist/{wt-tree-table-zK1q2bpc.js → wt-tree-table-CVelPjKW.js} +1 -1
  55. package/dist/{wt-type-extension-value-input-Cu5QLOqu.js → wt-type-extension-value-input-B5cdT4Jq.js} +2 -2
  56. package/dist/{wt-vidstack-player-CAcoio5I.js → wt-vidstack-player-Dc5539rN.js} +35 -21
  57. package/package.json +1 -1
  58. package/src/components/wt-table-column-select/wt-table-column-select.vue +8 -1
  59. package/src/components/wt-vidstack-player/components/layouts/video-layout.vue +2 -1
  60. package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/playback-controls-panel.vue +11 -1
  61. package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +30 -27
  62. package/src/components/wt-vidstack-player/wt-vidstack-player.vue +3 -0
  63. package/types/components/wt-vidstack-player/components/layouts/video-layout.vue.d.ts +1 -0
  64. package/types/components/wt-vidstack-player/components/panels/playback-controls-panel/playback-controls-panel.vue.d.ts +6 -1
  65. package/types/components/wt-vidstack-player/wt-vidstack-player.vue.d.ts +2 -0
  66. package/dist/wt-table-column-select-DOiMYkBj.js +0 -118
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as lt, inject as ye, createElementBlock as mt, openBlock as G, normalizeClass as be, unref as ot, createElementVNode as at, renderSlot as ut, createVNode as W, computed as _i, onMounted as Ii, onBeforeUnmount as Vi, createBlock as Ut, createCommentVNode as Kt, toDisplayString as Di, createSlots as Ds, withCtx as Qt, resolveComponent as Ri, ref as us, provide as Oi, toRefs as Ni } from "vue";
2
- import { a as q, c as ft, i as B, b as Ie, d as S, e as nt, f as Ve, l as O, s as Zt, g as Rs, E as Os, D as L, h as Q, o as P, j as Hi, k as f, m as l, n as M, p as Ns, q as Fi, r as oe, t as z, V as J, v as w, C as b, S as gt, w as Vt, x as p, y as rt, z as j, I as Hs, A as Bi, B as Gi, F as tt, G as Ge, H as Fs, J as ps, K as Ue, L as Bs, M as kt, N as Ke, O as de, P as Ui, Q as xt, R as Ki, U as Qi, W as Wi, X as zi, Y as ji, Z as Yi, _ as Xi, $ as Ji, a0 as Zi, a1 as Gs, a2 as T, a3 as _, a4 as ce, a5 as ta, a6 as Dt, a7 as U, a8 as ea, a9 as sa, aa as ia, ab as aa, ac as ms, ad as na, ae as ra, af as v, ag as y, ah as oa, ai as ha, T as la, u as da } from "./useVidstackSrc-_rF-gU3O.js";
3
- import { T as ca, U as ua, V as pa, X as ma, _ as yt, Q as ue, C as K, Y as fa } from "./install-C5xKFRc9.js";
2
+ import { a as q, c as ft, i as B, b as Ie, d as S, e as nt, f as Ve, l as O, s as Zt, g as Rs, E as Os, D as L, h as Q, o as P, j as Hi, k as f, m as l, n as M, p as Ns, q as Fi, r as oe, t as z, V as J, v as w, C as b, S as gt, w as Vt, x as p, y as rt, z as j, I as Hs, A as Bi, B as Gi, F as tt, G as Ge, H as Fs, J as ps, K as Ue, L as Bs, M as kt, N as Ke, O as de, P as Ui, Q as xt, R as Ki, U as Qi, W as Wi, X as zi, Y as ji, Z as Yi, _ as Xi, $ as Ji, a0 as Zi, a1 as Gs, a2 as T, a3 as _, a4 as ce, a5 as ta, a6 as Dt, a7 as U, a8 as ea, a9 as sa, aa as ia, ab as aa, ac as ms, ad as na, ae as ra, af as v, ag as y, ah as oa, ai as ha, T as la, u as da } from "./useVidstackSrc-B4lBHDtL.js";
3
+ import { T as ca, U as ua, V as pa, X as ma, _ as yt, Q as ue, C as K, Y as fa } from "./install-B49SbjQe.js";
4
4
  import { _ as ga } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
5
5
  const Us = ft();
6
6
  function $() {
@@ -2070,7 +2070,7 @@ class un {
2070
2070
  return "audio";
2071
2071
  }
2072
2072
  async load(t) {
2073
- return new (await import("./vidstack-audio-Yun2Ft-H.js")).AudioProvider(this.target, t);
2073
+ return new (await import("./vidstack-audio-CoiAV2Qd.js")).AudioProvider(this.target, t);
2074
2074
  }
2075
2075
  }
2076
2076
  class je {
@@ -2083,7 +2083,7 @@ class je {
2083
2083
  return "video";
2084
2084
  }
2085
2085
  async load(t) {
2086
- return new (await import("./vidstack-video-kGR0RM6h.js")).VideoProvider(this.target, t);
2086
+ return new (await import("./vidstack-video-BPBmZ4Ql.js")).VideoProvider(this.target, t);
2087
2087
  }
2088
2088
  }
2089
2089
  class Ye extends je {
@@ -2093,7 +2093,7 @@ class Ye extends je {
2093
2093
  return Ye.supported && Ge(t);
2094
2094
  }
2095
2095
  async load(t) {
2096
- return new (await import("./vidstack-hls-CIrbdAl1.js")).HLSProvider(this.target, t);
2096
+ return new (await import("./vidstack-hls-DQ-qnHp3.js")).HLSProvider(this.target, t);
2097
2097
  }
2098
2098
  }
2099
2099
  class Xe extends je {
@@ -2103,7 +2103,7 @@ class Xe extends je {
2103
2103
  return Xe.supported && Ue(t);
2104
2104
  }
2105
2105
  async load(t) {
2106
- return new (await import("./vidstack-dash-u2mEPhH4.js")).DASHProvider(this.target, t);
2106
+ return new (await import("./vidstack-dash-DKXmtGQy.js")).DASHProvider(this.target, t);
2107
2107
  }
2108
2108
  }
2109
2109
  class pn {
@@ -2125,7 +2125,7 @@ class pn {
2125
2125
  return "video";
2126
2126
  }
2127
2127
  async load(t) {
2128
- return new (await import("./vidstack-vimeo-D-twj4RR.js")).VimeoProvider(this.target, t);
2128
+ return new (await import("./vidstack-vimeo-Cqgqxfvi.js")).VimeoProvider(this.target, t);
2129
2129
  }
2130
2130
  async loadPoster(t, e, s) {
2131
2131
  const { resolveVimeoVideoId: i, getVimeoVideoInfo: n } = await import("./vidstack-krOAtKMi-C50BTxmn.js");
@@ -2157,7 +2157,7 @@ class mn {
2157
2157
  return "video";
2158
2158
  }
2159
2159
  async load(t) {
2160
- return new (await import("./vidstack-youtube-C9ELPiVF.js")).YouTubeProvider(this.target, t);
2160
+ return new (await import("./vidstack-youtube-28jmCYrI.js")).YouTubeProvider(this.target, t);
2161
2161
  }
2162
2162
  async loadPoster(t, e, s) {
2163
2163
  const { findYouTubePoster: i, resolveYouTubeVideoId: n } = await import("./vidstack-Dm1xEU9Q-CXHNvShT.js"), r = S(t.src) && n(t.src);
@@ -2625,7 +2625,7 @@ class vn extends Ct {
2625
2625
  throw i.code = "CAST_NOT_AVAILABLE", i;
2626
2626
  }
2627
2627
  if (te("https://www.gstatic.com"), !this.#v) {
2628
- const i = await import("./vidstack-D2pY00kU-CkOGeeZp.js").then((n) => n.v);
2628
+ const i = await import("./vidstack-D2pY00kU-CJ_ABXE-.js").then((n) => n.v);
2629
2629
  this.#v = new i.GoogleCastLoader();
2630
2630
  }
2631
2631
  await this.#v.prompt(this.#s), t && this.#e.queue.enqueue("media-google-cast-request", t);
@@ -8022,7 +8022,7 @@ class Lr extends v(HTMLElement, ai) {
8022
8022
  if (this.#e?.classList.contains("vds-google-cast"))
8023
8023
  return this.#e;
8024
8024
  const t = document.createElement("div");
8025
- return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-BY4XbHI-.js").then(({ insertContent: e }) => {
8025
+ return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-BRA9dr6r.js").then(({ insertContent: e }) => {
8026
8026
  e(t, this.#t.$state);
8027
8027
  }), t;
8028
8028
  }
@@ -8796,7 +8796,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8796
8796
  }, null, 8, ["icon", "color", "disabled"])
8797
8797
  ]));
8798
8798
  }
8799
- }), th = { class: "video-display-panel__head" }, eh = { class: "video-display-panel__title" }, sh = { class: "video-display-panel__controls" }, ih = /* @__PURE__ */ lt({
8799
+ }), th = { class: "video-display-panel__head" }, eh = ["title"], sh = { class: "video-display-panel__controls" }, ih = /* @__PURE__ */ lt({
8800
8800
  __name: "video-display-panel",
8801
8801
  props: {
8802
8802
  title: {},
@@ -8835,7 +8835,10 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8835
8835
  class: "video-display-panel__avatar"
8836
8836
  }, null, 8, ["username"])) : Kt("", !0)
8837
8837
  ], !0),
8838
- at("span", eh, Di(r.title || r.username), 1)
8838
+ at("span", {
8839
+ class: "video-display-panel__title typo-body-2-bold",
8840
+ title: r.title || r.username
8841
+ }, Di(r.title || r.username), 9, eh)
8839
8842
  ]),
8840
8843
  at("div", sh, [
8841
8844
  W(Jo, { onToggle: h }),
@@ -8854,7 +8857,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8854
8857
  ])
8855
8858
  ], 2));
8856
8859
  }
8857
- }), ah = /* @__PURE__ */ yt(ih, [["__scopeId", "data-v-617f1fa9"]]), nh = { class: "video-display-panel-wrapper" }, rh = { class: "video-layout-content" }, oh = { class: "video-layout-controls" }, hh = /* @__PURE__ */ lt({
8860
+ }), ah = /* @__PURE__ */ yt(ih, [["__scopeId", "data-v-f72cdda8"]]), nh = { class: "video-display-panel-wrapper" }, rh = { class: "video-layout-content" }, oh = { class: "video-layout-controls" }, hh = /* @__PURE__ */ lt({
8858
8861
  __name: "video-layout",
8859
8862
  props: {
8860
8863
  title: {},
@@ -8862,7 +8865,8 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8862
8865
  closable: { type: Boolean },
8863
8866
  hideVideoDisplayPanel: { type: Boolean },
8864
8867
  hideControlsPanel: { type: Boolean },
8865
- hideExpand: { type: Boolean }
8868
+ hideExpand: { type: Boolean },
8869
+ countdownTimeMode: { type: Boolean }
8866
8870
  },
8867
8871
  emits: ["close-player", "close-session", "make-screenshot", "toggle-record"],
8868
8872
  setup(a, { emit: t }) {
@@ -8893,12 +8897,14 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8893
8897
  ]),
8894
8898
  at("div", oh, [
8895
8899
  s.hideControlsPanel ? Kt("", !0) : ut(n.$slots, "controls-panel", { key: 0 }, () => [
8896
- W(ot(yh))
8900
+ W(ot(yh), {
8901
+ "countdown-time-mode": s.countdownTimeMode
8902
+ }, null, 8, ["countdown-time-mode"])
8897
8903
  ], !0)
8898
8904
  ])
8899
8905
  ], 2));
8900
8906
  }
8901
- }), lh = /* @__PURE__ */ yt(hh, [["__scopeId", "data-v-5e27fce0"]]), dh = { class: "play-button" }, ch = /* @__PURE__ */ lt({
8907
+ }), lh = /* @__PURE__ */ yt(hh, [["__scopeId", "data-v-e3192d93"]]), dh = { class: "play-button" }, ch = /* @__PURE__ */ lt({
8902
8908
  __name: "play-button",
8903
8909
  setup(a) {
8904
8910
  const { size: t } = ye("size");
@@ -8937,17 +8943,23 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8937
8943
  }
8938
8944
  }), fh = /* @__PURE__ */ yt(mh, [["__scopeId", "data-v-fbc2d9f8"]]), gh = /* @__PURE__ */ lt({
8939
8945
  __name: "playback-controls-panel",
8946
+ props: {
8947
+ countdownTimeMode: { type: Boolean, default: !1 }
8948
+ },
8940
8949
  setup(a) {
8941
- return (t, e) => (G(), Ut(ot(Yo), { class: "playback-control-panel" }, {
8950
+ const t = a;
8951
+ return (e, s) => (G(), Ut(ot(Yo), { class: "playback-control-panel" }, {
8942
8952
  default: Qt(() => [
8943
8953
  W(uh),
8944
8954
  W(fh),
8945
- W(la)
8955
+ W(la, {
8956
+ countdown: t.countdownTimeMode
8957
+ }, null, 8, ["countdown"])
8946
8958
  ], void 0, !0),
8947
8959
  _: 1
8948
8960
  }));
8949
8961
  }
8950
- }), yh = /* @__PURE__ */ yt(gh, [["__scopeId", "data-v-e27c3292"]]), bh = ["autoplay", "muted", "src"], vh = /* @__PURE__ */ lt({
8962
+ }), yh = /* @__PURE__ */ yt(gh, [["__scopeId", "data-v-9d70f28d"]]), bh = ["autoplay", "muted", "src"], vh = /* @__PURE__ */ lt({
8951
8963
  __name: "wt-vidstack-player",
8952
8964
  props: {
8953
8965
  src: {},
@@ -8957,6 +8969,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8957
8969
  title: { default: "" },
8958
8970
  username: { default: "" },
8959
8971
  closable: { type: Boolean, default: !1 },
8972
+ countdownTimeMode: { type: Boolean, default: !1 },
8960
8973
  static: { type: Boolean, default: !1 },
8961
8974
  stream: {},
8962
8975
  size: {},
@@ -9014,6 +9027,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
9014
9027
  "hide-video-display-panel": e.hideVideoDisplayPanel,
9015
9028
  title: e.title,
9016
9029
  username: e.username,
9030
+ "countdown-time-mode": e.countdownTimeMode,
9017
9031
  onClosePlayer: g[0] || (g[0] = (C) => s("close"))
9018
9032
  }, Ds({
9019
9033
  "controls-panel": Qt(() => [
@@ -9031,11 +9045,11 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
9031
9045
  ]),
9032
9046
  key: "0"
9033
9047
  } : void 0
9034
- ]), 1032, ["autoplay", "closable", "hide-controls-panel", "hide-expand", "hide-video-display-panel", "title", "username"])
9048
+ ]), 1032, ["autoplay", "closable", "hide-controls-panel", "hide-expand", "hide-video-display-panel", "title", "username", "countdown-time-mode"])
9035
9049
  ], 40, bh)
9036
9050
  ], 2));
9037
9051
  }
9038
- }), $h = /* @__PURE__ */ yt(vh, [["__scopeId", "data-v-c2776ce5"]]), Lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9052
+ }), $h = /* @__PURE__ */ yt(vh, [["__scopeId", "data-v-cb7058f6"]]), Lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9039
9053
  __proto__: null,
9040
9054
  default: $h
9041
9055
  }, Symbol.toStringTag, { value: "Module" }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.4.45",
3
+ "version": "26.4.47",
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",
@@ -24,6 +24,13 @@
24
24
  icon="search"
25
25
  />
26
26
  </template>
27
+ <template #suffix>
28
+ <wt-icon-btn
29
+ v-if="search"
30
+ icon="close--filled"
31
+ @click="search = ''"
32
+ />
33
+ </template>
27
34
  </wt-input-text>
28
35
  <div class="wt-table-column-select__popup-list-wrap">
29
36
  <ul
@@ -52,7 +59,7 @@
52
59
  <wt-empty
53
60
  v-else
54
61
  :image="darkMode ? EmptyImageDark : EmptyImageLight"
55
- :title="$t('webitelUI.empty.text.filters')"
62
+ :text="$t('webitelUI.empty.text.filters')"
56
63
  />
57
64
  </div>
58
65
  </template>
@@ -21,7 +21,7 @@
21
21
 
22
22
  <div class="video-layout-controls">
23
23
  <slot v-if="!props.hideControlsPanel" name="controls-panel">
24
- <playback-controls-panel />
24
+ <playback-controls-panel :countdown-time-mode="props.countdownTimeMode"/>
25
25
  </slot>
26
26
  </div>
27
27
  </media-controls>
@@ -43,6 +43,7 @@ const props = defineProps<{
43
43
  hideVideoDisplayPanel?: boolean;
44
44
  hideControlsPanel?: boolean;
45
45
  hideExpand?: boolean;
46
+ countdownTimeMode?: boolean;
46
47
  }>();
47
48
 
48
49
  const emit = defineEmits<{
@@ -4,15 +4,25 @@
4
4
 
5
5
  <time-slider />
6
6
 
7
- <time-group />
7
+ <time-group :countdown="props.countdownTimeMode"/>
8
8
  </controls-group>
9
9
  </template>
10
10
 
11
11
  <script setup lang="ts">
12
+ import { defineProps, withDefaults } from 'vue';
12
13
  import { ControlsGroup } from '../../../../../components/wt-vidstack-player/components';
13
14
  import PlayButton from './components/buttons/play-button.vue';
14
15
  import TimeSlider from './components/sliders/time-slider.vue';
15
16
  import TimeGroup from './components/time-group.vue';
17
+
18
+ const props = withDefaults(
19
+ defineProps<{
20
+ countdownTimeMode?: boolean;
21
+ }>(),
22
+ {
23
+ countdownTimeMode: false,
24
+ },
25
+ );
16
26
  </script>
17
27
 
18
28
  <style scoped>
@@ -13,7 +13,10 @@
13
13
  />
14
14
  </slot>
15
15
 
16
- <span class="video-display-panel__title">
16
+ <span
17
+ class="video-display-panel__title typo-body-2-bold"
18
+ :title="props.title || props.username"
19
+ >
17
20
  {{ props.title || props.username }}
18
21
  </span>
19
22
  </div>
@@ -123,8 +126,9 @@ onMounted(() => {
123
126
  });
124
127
  </script>
125
128
 
126
- <style scoped>.video-display-panel {
127
- display: flex;
129
+ <style scoped>
130
+ .video-display-panel {
131
+ display: flex;
128
132
  justify-content: space-between;
129
133
  padding: var(--p-player-headline-sm-padding);
130
134
  background: var(--p-player-head-line-background);
@@ -135,43 +139,42 @@ display: flex;
135
139
  }
136
140
 
137
141
  .video-display-panel .video-display-panel__head {
138
- font-family: 'Montserrat', monospace;
139
- font-size: 14px;
140
- font-weight: 700;
141
- line-height: 24px;
142
- text-transform: none;
143
- display: flex;
144
- align-items: center;
145
- gap: var(--p-player-headline-sm-gap);
146
- min-width: 0;
142
+ display: flex;
143
+ align-items: center;
144
+ gap: var(--p-player-headline-sm-gap);
145
+ min-width: 0;
147
146
  }
148
147
 
149
148
  .video-display-panel .video-display-panel__title {
150
- white-space: nowrap;
151
- overflow: hidden;
152
- text-overflow: ellipsis;
153
- max-width: 100%;
149
+ white-space: nowrap;
150
+ overflow: hidden;
151
+ text-overflow: ellipsis;
152
+ max-width: 100%;
154
153
  }
155
154
 
156
155
  .video-display-panel .video-display-panel__controls {
157
- display: flex;
158
- align-items: center;
159
- gap: var(--p-player-headline-sm-gap);
156
+ display: flex;
157
+ align-items: center;
158
+ gap: var(--p-player-headline-sm-gap);
160
159
  }
161
160
 
162
161
  .video-display-panel .video-display-panel--sm {
163
- gap: var(--p-player-headline-sm-gap);
162
+ gap: var(--p-player-headline-sm-gap);
164
163
  }
165
164
 
166
165
  .video-display-panel .video-display-panel--md {
167
- padding: var(--p-player-headline-md-padding);
168
- gap: var(--p-player-headline-md-gap);
166
+ padding: var(--p-player-headline-md-padding);
167
+ gap: var(--p-player-headline-md-gap);
169
168
 
170
- .video-display-panel__controls {
171
- gap: var(--p-player-headline-md-gap);
169
+ .video-display-panel__controls {
170
+ gap: var(--p-player-headline-md-gap);
171
+ }
172
172
  }
173
173
 
174
- .video-display-panel--lg {
175
- gap: var(--p-player-headline-lg-gap);
174
+ .video-display-panel--lg {
175
+ gap: var(--p-player-headline-lg-gap);
176
+ /* https://webitel.atlassian.net/browse/WTEL-9345 */
177
+ line-height: 24px;
176
178
  }
177
- }</style>
179
+
180
+ </style>
@@ -30,6 +30,7 @@
30
30
  :hide-video-display-panel="props.hideVideoDisplayPanel"
31
31
  :title="props.title"
32
32
  :username="props.username"
33
+ :countdown-time-mode="props.countdownTimeMode"
33
34
  @close-player="emit('close')"
34
35
  >
35
36
  <template v-if="$slots['avatar']" #avatar>
@@ -67,6 +68,7 @@ interface Props {
67
68
  title?: string;
68
69
  username?: string;
69
70
  closable?: boolean;
71
+ countdownTimeMode?: boolean;
70
72
  static?: boolean;
71
73
  stream?: MediaStream;
72
74
  size?: ComponentSize;
@@ -85,6 +87,7 @@ const props = withDefaults(defineProps<Props>(), {
85
87
  title: '',
86
88
  username: '',
87
89
  closable: false,
90
+ countdownTimeMode: false,
88
91
  static: false,
89
92
  hideControlsPanel: false,
90
93
  videoObjectFit: 'contain',
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  hideVideoDisplayPanel?: boolean;
6
6
  hideControlsPanel?: boolean;
7
7
  hideExpand?: boolean;
8
+ countdownTimeMode?: boolean;
8
9
  };
9
10
  declare var __VLS_17: {}, __VLS_25: {}, __VLS_27: {};
10
11
  type __VLS_Slots = {} & {
@@ -1,3 +1,8 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ type __VLS_Props = {
2
+ countdownTimeMode?: boolean;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ countdownTimeMode: boolean;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
7
  declare const _default: typeof __VLS_export;
3
8
  export default _default;
@@ -10,6 +10,7 @@ interface Props {
10
10
  title?: string;
11
11
  username?: string;
12
12
  closable?: boolean;
13
+ countdownTimeMode?: boolean;
13
14
  static?: boolean;
14
15
  stream?: MediaStream;
15
16
  size?: ComponentSize;
@@ -43,6 +44,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
43
44
  username: string;
44
45
  closable: boolean;
45
46
  autoplay: boolean;
47
+ countdownTimeMode: boolean;
46
48
  muted: boolean;
47
49
  hideControlsPanel: boolean;
48
50
  mime: string;