@webitel/ui-sdk 26.2.138 → 26.4.1

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 (57) hide show
  1. package/dist/{index-DlNA7p4H.js → index-Bxrk1MBc.js} +1 -1
  2. package/dist/{index-CllWLQ6i.js → index-Cm4w-iyy.js} +1 -1
  3. package/dist/{install-DLvgJLKF.js → install-DwIFhKhc.js} +34 -34
  4. package/dist/{isObject-B-UEGzce.js → isObject-Ds42J4l6.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 +1 -1
  8. package/dist/{useVidstackSrc-zRPj0d2s.js → useVidstackSrc-CK1C2Y7J.js} +1 -1
  9. package/dist/{vidstack-Bq6c3Bam-B179FJaR.js → vidstack-Bq6c3Bam-CVn84V8Y.js} +3 -3
  10. package/dist/{vidstack-D2pY00kU-C0LIVKq4.js → vidstack-D2pY00kU-CCpW5TC3.js} +3 -3
  11. package/dist/{vidstack-DDXt6fpN-BX7h9uZz.js → vidstack-DDXt6fpN-DA1jrGja.js} +2 -2
  12. package/dist/{vidstack-D_-9AA6_-BPltzzZf.js → vidstack-D_-9AA6_-YtSnyNyf.js} +2 -2
  13. package/dist/{vidstack-DqAw8m9J-d6uCsO_A.js → vidstack-DqAw8m9J-BmwQv9Cc.js} +1 -1
  14. package/dist/{vidstack-audio-gmuKHtAt.js → vidstack-audio-CiGTtBFn.js} +2 -2
  15. package/dist/{vidstack-dash-Duawthpm.js → vidstack-dash-BNQrvmk6.js} +4 -4
  16. package/dist/{vidstack-google-cast-DVr2Uxhl.js → vidstack-google-cast-mxzO-yiS.js} +4 -4
  17. package/dist/{vidstack-hls-BrB1gRCi.js → vidstack-hls-MXoslOrL.js} +4 -4
  18. package/dist/{vidstack-video-B0YbaqPH.js → vidstack-video-C9dFZKvi.js} +3 -3
  19. package/dist/{vidstack-vimeo-Bq_yuLgQ.js → vidstack-vimeo-B0jtzSox.js} +4 -4
  20. package/dist/{vidstack-youtube-rO2XQLJO.js → vidstack-youtube-BdJMeiqG.js} +3 -3
  21. package/dist/{wt-action-bar-DNeAZ5t2.js → wt-action-bar-BIlWaW1z.js} +1 -1
  22. package/dist/{wt-button-select-BvllnmAD.js → wt-button-select-CJgRPlS6.js} +1 -1
  23. package/dist/{wt-chat-emoji-DDex5lsJ.js → wt-chat-emoji-BJCQt8vK.js} +2 -2
  24. package/dist/{wt-confirm-dialog-COy_NLDJ.js → wt-confirm-dialog-DDVRBUnf.js} +1 -1
  25. package/dist/{wt-context-menu-Cbia2R13.js → wt-context-menu-CtNK8h8S.js} +1 -1
  26. package/dist/{wt-copy-action-B7GMw0S8.js → wt-copy-action-CGtKqhJJ.js} +1 -1
  27. package/dist/{wt-datepicker-CPNVMTtS.js → wt-datepicker-DcZ_qayL.js} +1 -1
  28. package/dist/{wt-display-chip-items-C4Y_kGoG.js → wt-display-chip-items-rkvCEIWG.js} +1 -1
  29. package/dist/{wt-dual-panel-DVunmIE1.js → wt-dual-panel-CjdKNXs3.js} +1 -1
  30. package/dist/{wt-dummy-CL4u2riP.js → wt-dummy-6Bfkt4gp.js} +1 -1
  31. package/dist/{wt-error-page-BBZat6ug.js → wt-error-page-CQQUJwO5.js} +1 -1
  32. package/dist/{wt-expansion-card-DLiF56o9.js → wt-expansion-card-Dn5jAeWp.js} +1 -1
  33. package/dist/{wt-expansion-panel-VNr95Esx.js → wt-expansion-panel-Di46c5C8.js} +1 -1
  34. package/dist/{wt-filters-panel-wrapper-CiRdtZNM.js → wt-filters-panel-wrapper-CN_s99W9.js} +1 -1
  35. package/dist/{wt-galleria-DqwSV5cx.js → wt-galleria-DlCNWIdA.js} +1 -1
  36. package/dist/{wt-navigation-menu-DTMNo9Zs.js → wt-navigation-menu-ngmXjYLq.js} +1 -1
  37. package/dist/{wt-notifications-bar-Bm-qulZg.js → wt-notifications-bar-C_ACV1z_.js} +2 -2
  38. package/dist/{wt-pagination-C57ABpqD.js → wt-pagination-BdotGfKE.js} +1 -1
  39. package/dist/{wt-player-DJr6T70y.js → wt-player-Drak1UON.js} +17 -16
  40. package/dist/{wt-search-bar-D6UMjBAC.js → wt-search-bar-Bw3WhbpE.js} +1 -1
  41. package/dist/{wt-selection-popup-DGywkKPZ.js → wt-selection-popup-o0drYra1.js} +1 -1
  42. package/dist/{wt-start-page-BafolF2I.js → wt-start-page-CT3BtvPE.js} +1 -1
  43. package/dist/{wt-status-select-B-FAHzuS.js → wt-status-select-BQkNo2xb.js} +1 -1
  44. package/dist/{wt-stepper-qGUya2dp.js → wt-stepper-xCqwGpUU.js} +1 -1
  45. package/dist/{wt-table-DYBKRy1s.js → wt-table-CPx_f1vz.js} +1 -1
  46. package/dist/{wt-table-actions-Bm1jQmfj.js → wt-table-actions-ZaP_chA5.js} +1 -1
  47. package/dist/{wt-table-column-select-BA9WJwiD.js → wt-table-column-select-DFUvSyOL.js} +2 -2
  48. package/dist/{wt-tabs-Bs3aIzYe.js → wt-tabs-B1sVpKqd.js} +1 -1
  49. package/dist/{wt-tags-input-FTxCYGTl.js → wt-tags-input-BAje_faN.js} +2 -2
  50. package/dist/{wt-timepicker-beJ4qr22.js → wt-timepicker-DVEkP0yE.js} +1 -1
  51. package/dist/{wt-tree-DRt05MoO.js → wt-tree-CI-ZtLrk.js} +2 -2
  52. package/dist/{wt-tree-table-Ru9sYEOp.js → wt-tree-table-CJi_xYqF.js} +1 -1
  53. package/dist/{wt-type-extension-value-input-Bhr_5cps.js → wt-type-extension-value-input-Doap4iMV.js} +2 -2
  54. package/dist/{wt-vidstack-player-CUh7ZaCS.js → wt-vidstack-player-SXuSBQ-i.js} +10 -10
  55. package/package.json +1 -1
  56. package/src/components/wt-player/wt-player.vue +8 -2
  57. package/types/components/wt-player/wt-player.vue.d.ts +5 -0
@@ -1,5 +1,5 @@
1
1
  import { ref as k, onMounted as P, onUnmounted as D, useAttrs as Z, computed as $, resolveComponent as w, createBlock as A, openBlock as y, mergeProps as j, unref as i, withCtx as s, createVNode as a, createTextVNode as x, toDisplayString as g, createElementVNode as m, renderSlot as J, defineComponent as K, mergeModels as B, useModel as S, watch as F, nextTick as Q, createElementBlock as L, Fragment as W, createCommentVNode as q, normalizeClass as M, withDirectives as X, vShow as Y } from "vue";
2
- import { _ as ee, B as te } from "./install-DLvgJLKF.js";
2
+ import { _ as ee, B as te } from "./install-DwIFhKhc.js";
3
3
  const le = () => {
4
4
  const e = k(!1), c = () => {
5
5
  e.value ? l() : v();
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as h, createElementBlock as l, openBlock as c, Fragment as w, renderList as b, createElementVNode as p, withDirectives as N, normalizeClass as C, createVNode as _, createTextVNode as k, toDisplayString as $, renderSlot as S, vShow as E, withCtx as A, ref as L, computed as v } from "vue";
2
- import { _ as g } from "./install-DLvgJLKF.js";
2
+ import { _ as g } from "./install-DwIFhKhc.js";
3
3
  const V = { class: "nav-menu__category nav-menu-lvl-1" }, B = ["onClick"], D = {
4
4
  __name: "nav-menu-lvl-1",
5
5
  props: {
@@ -1,6 +1,6 @@
1
- import { i as p, e as _ } from "./isObject-B-UEGzce.js";
1
+ import { i as p, e as _ } from "./isObject-Ds42J4l6.js";
2
2
  import { resolveComponent as v, createElementBlock as d, openBlock as c, createVNode as B, TransitionGroup as $, withCtx as w, Fragment as g, renderList as x, createBlock as N, createTextVNode as b, toDisplayString as y } from "vue";
3
- import { _ as k } from "./install-DLvgJLKF.js";
3
+ import { _ as k } from "./install-DwIFhKhc.js";
4
4
  const C = (t) => p(t) && (t.entity || t.module), i = (t) => (o) => (...n) => {
5
5
  if (C(n[0])) {
6
6
  const u = n[0], { app: f = t, entity: s = "", module: r = "" } = u, e = /* @__PURE__ */ new Date(), a = window?.location?.href || "non-browser env";
@@ -1,4 +1,4 @@
1
- import { _ as p, D as _ } from "./install-DLvgJLKF.js";
1
+ import { _ as p, D as _ } from "./install-DwIFhKhc.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,6 +1,6 @@
1
- import { resolveComponent as f, createElementBlock as l, openBlock as s, createVNode as o, defineComponent as u, toRefs as k, unref as B, normalizeClass as z, createElementVNode as _, createBlock as C, createCommentVNode as p } from "vue";
2
- import { u as E, T as x } from "./useVidstackSrc-zRPj0d2s.js";
3
- import { _ as i, E as y } from "./install-DLvgJLKF.js";
1
+ import { resolveComponent as f, createElementBlock as l, openBlock as s, createVNode as o, defineComponent as u, toRefs as k, unref as B, normalizeClass as z, createElementVNode as _, createBlock as C, createCommentVNode as m } from "vue";
2
+ import { u as E, T as x } from "./useVidstackSrc-CK1C2Y7J.js";
3
+ import { _ as i, E as y } from "./install-DwIFhKhc.js";
4
4
  import { _ as w } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
5
5
  const S = {}, V = { class: "mute-button" };
6
6
  function T(t, r) {
@@ -20,7 +20,7 @@ function T(t, r) {
20
20
  })
21
21
  ]);
22
22
  }
23
- const g = /* @__PURE__ */ i(S, [["render", T], ["__scopeId", "data-v-8394e2c8"]]), I = { class: "play-button" }, M = /* @__PURE__ */ u({
23
+ const g = /* @__PURE__ */ i(S, [["render", T], ["__scopeId", "data-v-8394e2c8"]]), I = { class: "play-button" }, N = /* @__PURE__ */ u({
24
24
  __name: "play-button",
25
25
  setup(t) {
26
26
  return (r, e) => (s(), l("media-play-button", I, [
@@ -38,7 +38,7 @@ const g = /* @__PURE__ */ i(S, [["render", T], ["__scopeId", "data-v-8394e2c8"]]
38
38
  })
39
39
  ]));
40
40
  }
41
- }), N = /* @__PURE__ */ i(M, [["__scopeId", "data-v-e79e3bf5"]]), O = { class: "time-slider media-slider" }, P = /* @__PURE__ */ u({
41
+ }), M = /* @__PURE__ */ i(N, [["__scopeId", "data-v-e79e3bf5"]]), O = { class: "time-slider media-slider" }, P = /* @__PURE__ */ u({
42
42
  __name: "time-slider",
43
43
  setup(t) {
44
44
  return (r, e) => (s(), l("media-time-slider", O, [
@@ -57,6 +57,7 @@ const g = /* @__PURE__ */ i(S, [["render", T], ["__scopeId", "data-v-8394e2c8"]]
57
57
  props: {
58
58
  src: {},
59
59
  id: {},
60
+ fileName: {},
60
61
  autoplay: { type: Boolean, default: !0 },
61
62
  loop: { type: Boolean, default: !1 },
62
63
  download: { type: [String, Function, Boolean], default: () => (t) => t.replace("/stream", "/download") },
@@ -72,15 +73,15 @@ const g = /* @__PURE__ */ i(S, [["render", T], ["__scopeId", "data-v-8394e2c8"]]
72
73
  src: b
73
74
  });
74
75
  function $() {
75
- const a = typeof e.src == "string" ? e.src : e.src?.src, n = typeof e.download == "function" ? e.download(a) : e.download, d = e.src?.type.split("/").pop(), m = e.id || "unknown", c = document.createElement("a");
76
- c.style.display = "none", c.href = n, c.download = `${m}.${d}`, document.body.appendChild(c), c.click(), document.body.removeChild(c);
76
+ const c = typeof e.src == "string" ? e.src : e.src?.src, n = typeof e.download == "function" ? e.download(c) : e.download, d = e.src?.type.split("/").pop(), p = e.fileName || e.id || "unknown", a = document.createElement("a");
77
+ a.style.display = "none", a.href = n, a.download = `${p}.${d}`, document.body.appendChild(a), a.click(), document.body.removeChild(a);
77
78
  }
78
- function h(a) {
79
+ function h(c) {
79
80
  if (!e.resetOnEnd) return;
80
- const n = a.target;
81
+ const n = c.target;
81
82
  n.currentTime = 0;
82
83
  }
83
- return (a, n) => {
84
+ return (c, n) => {
84
85
  const d = f("wt-icon-btn");
85
86
  return s(), l("media-player", {
86
87
  class: z(["wt-player", `wt-player--position-${e.position}`]),
@@ -91,13 +92,13 @@ const g = /* @__PURE__ */ i(S, [["render", T], ["__scopeId", "data-v-8394e2c8"]]
91
92
  }, [
92
93
  n[1] || (n[1] = _("media-provider", null, null, -1)),
93
94
  _("media-controls-group", A, [
94
- o(N),
95
+ o(M),
95
96
  o(R),
96
97
  o(x, {
97
98
  countdown: e.countdownTimeMode
98
99
  }, null, 8, ["countdown"]),
99
100
  o(g),
100
- e.hideVolumeSlider ? p("", !0) : (s(), C(G, { key: 0 })),
101
+ e.hideVolumeSlider ? m("", !0) : (s(), C(G, { key: 0 })),
101
102
  e.download ? (s(), l("media-button", {
102
103
  key: 1,
103
104
  class: "download-button",
@@ -107,22 +108,22 @@ const g = /* @__PURE__ */ i(S, [["render", T], ["__scopeId", "data-v-8394e2c8"]]
107
108
  icon: "plyr-download",
108
109
  size: "sm"
109
110
  })
110
- ])) : p("", !0),
111
+ ])) : m("", !0),
111
112
  e.closable ? (s(), l("media-button", {
112
113
  key: 2,
113
114
  class: "close-button",
114
- onClick: n[0] || (n[0] = (m) => a.$emit("close"))
115
+ onClick: n[0] || (n[0] = (p) => c.$emit("close"))
115
116
  }, [
116
117
  o(d, {
117
118
  icon: "close",
118
119
  size: "sm"
119
120
  })
120
- ])) : p("", !0)
121
+ ])) : m("", !0)
121
122
  ])
122
123
  ], 42, q);
123
124
  };
124
125
  }
125
- }), Q = /* @__PURE__ */ i(D, [["__scopeId", "data-v-3c830329"]]);
126
+ }), Q = /* @__PURE__ */ i(D, [["__scopeId", "data-v-92a637a0"]]);
126
127
  export {
127
128
  Q as default
128
129
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as O, toRefs as $, computed as _, resolveComponent as o, resolveDirective as A, createBlock as s, openBlock as d, unref as a, normalizeClass as E, createSlots as U, withCtx as n, createVNode as p, createElementVNode as j, createCommentVNode as m, renderSlot as z, createTextVNode as K, toDisplayString as W, withDirectives as H } from "vue";
2
- import { z as P, D as R, _ as T } from "./install-DLvgJLKF.js";
2
+ import { z as P, D as R, _ as T } from "./install-DwIFhKhc.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-DLvgJLKF.js";
2
+ import { _ as O, B as P } from "./install-DwIFhKhc.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 v, createTextVNode as g, toDisplayString as l, createVNode as N, withCtx as f, defineComponent as k, provide as w, computed as m, Fragment as E, renderList as S } from "vue";
2
- import { N as n, _ as p } from "./install-DLvgJLKF.js";
2
+ import { N as n, _ as p } from "./install-DwIFhKhc.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-DLvgJLKF.js";
2
+ import { _ as h } from "./install-DwIFhKhc.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-DLvgJLKF.js";
2
+ import { _ as k } from "./install-DwIFhKhc.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 U, withCtx as i, createCommentVNode as b, createElementBlock as W, createVNode as V, withModifiers as ne, Fragment as se, renderList as de, createElementVNode as I, normalizeStyle as ie, renderSlot as h, createTextVNode as q, toDisplayString as K, withDirectives as ce, nextTick as ue } from "vue";
2
- import { B as pe, F as fe, _ as me } from "./install-DLvgJLKF.js";
2
+ import { B as pe, F as fe, _ as me } from "./install-DwIFhKhc.js";
3
3
  const ye = (r, E) => {
4
4
  let o = null, p = null, w = null, d = !1;
5
5
  const v = () => {
@@ -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-DLvgJLKF.js";
2
+ import { _ as O } from "./install-DwIFhKhc.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-CllWLQ6i.js";
1
+ import { d as C } from "./index-Cm4w-iyy.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-DLvgJLKF.js";
3
+ import { _ as P } from "./install-DwIFhKhc.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 f, normalizeProps as h, guardReactiveProps as u, toDisplayString as v, normalizeStyle as m } from "vue";
2
- import { _ as p } from "./install-DLvgJLKF.js";
2
+ import { _ as p } from "./install-DwIFhKhc.js";
3
3
  const _ = {
4
4
  name: "WtTabs",
5
5
  model: {
@@ -1,5 +1,5 @@
1
- import { d as O } from "./index-DlNA7p4H.js";
2
- import { G as h, _ as E, C as S, M as z, H as A, J as B } from "./install-DLvgJLKF.js";
1
+ import { d as O } from "./index-Bxrk1MBc.js";
2
+ import { G as h, _ as E, C as S, M as z, H as A, J as B } from "./install-DwIFhKhc.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-DLvgJLKF.js";
2
+ import { B as W, z as X, C as Y, M as Z, _ as ee } from "./install-DwIFhKhc.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-DlNA7p4H.js";
3
- import { W as _, _ as R } from "./install-DLvgJLKF.js";
2
+ import { d as P } from "./index-Bxrk1MBc.js";
3
+ import { W as _, _ as R } from "./install-DwIFhKhc.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 M, 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 O, normalizeStyle as Q, withModifiers as j, createVNode as q } from "vue";
2
- import { B as G, P as R, Q as J, _ as F, F as X } from "./install-DLvgJLKF.js";
2
+ import { B as G, P as R, Q as J, _ as F, F as X } from "./install-DwIFhKhc.js";
3
3
  const Y = ({ headers: e }) => {
4
4
  const { t: y } = G();
5
5
  return {
@@ -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 { ag as ve, ah as Oe, O as qe, ai as ke, aj as Ee, B as Se, ak as Ce, al as te, am as _e } from "./install-DLvgJLKF.js";
3
- import { d as xe } from "./index-CllWLQ6i.js";
2
+ import { ag as ve, ah as Oe, O as qe, ai as ke, aj as Ee, B as Se, ak as Ce, al as te, am as _e } from "./install-DwIFhKhc.js";
3
+ import { d as xe } from "./index-Cm4w-iyy.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,6 +1,6 @@
1
1
  import { defineComponent as lt, inject as ge, createElementBlock as mt, openBlock as G, normalizeClass as ye, unref as ot, createElementVNode as at, renderSlot as Wt, createVNode as U, useTemplateRef as qi, onMounted as _i, onBeforeUnmount as Ii, createBlock as Gt, createCommentVNode as Ut, toDisplayString as Vi, resolveComponent as Di, withCtx as _e, ref as us, provide as Ri, toRefs as Oi } 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 Ds, E as Rs, D as L, h as Q, o as x, j as Ni, k as f, m as l, n as M, p as Os, q as Hi, r as oe, t as W, V as J, v as w, C as b, S as gt, w as It, x as p, y as rt, z, I as Ns, A as Fi, B as Bi, F as tt, G as Ge, H as Hs, J as ps, K as Ue, L as Fs, M as Tt, N as Ke, O as de, P as Gi, Q as xt, R as Ui, U as Ki, W as Qi, X as Wi, Y as zi, Z as ji, _ as Yi, $ as Xi, a0 as Ji, a1 as Bs, a2 as T, a3 as _, a4 as ce, a5 as Zi, a6 as Vt, a7 as K, a8 as ta, a9 as ea, aa as sa, ab as ia, ac as ms, ad as aa, ae as na, af as v, ag as y, ah as ra, ai as oa, T as ha, u as la } from "./useVidstackSrc-zRPj0d2s.js";
3
- import { T as da, U as ca, V as ua, X as pa, _ as dt, Q as zt, Y as ma, C as Y } from "./install-DLvgJLKF.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 Ds, E as Rs, D as L, h as Q, o as x, j as Ni, k as f, m as l, n as M, p as Os, q as Hi, r as oe, t as W, V as J, v as w, C as b, S as gt, w as It, x as p, y as rt, z, I as Ns, A as Fi, B as Bi, F as tt, G as Ge, H as Hs, J as ps, K as Ue, L as Fs, M as Tt, N as Ke, O as de, P as Gi, Q as xt, R as Ui, U as Ki, W as Qi, X as Wi, Y as zi, Z as ji, _ as Yi, $ as Xi, a0 as Ji, a1 as Bs, a2 as T, a3 as _, a4 as ce, a5 as Zi, a6 as Vt, a7 as K, a8 as ta, a9 as ea, aa as sa, ab as ia, ac as ms, ad as aa, ae as na, af as v, ag as y, ah as ra, ai as oa, T as ha, u as la } from "./useVidstackSrc-CK1C2Y7J.js";
3
+ import { T as da, U as ca, V as ua, X as pa, _ as dt, Q as zt, Y as ma, C as Y } from "./install-DwIFhKhc.js";
4
4
  import { _ as fa } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
5
5
  const Gs = ft();
6
6
  function $() {
@@ -2070,7 +2070,7 @@ class cn {
2070
2070
  return "audio";
2071
2071
  }
2072
2072
  async load(t) {
2073
- return new (await import("./vidstack-audio-gmuKHtAt.js")).AudioProvider(this.target, t);
2073
+ return new (await import("./vidstack-audio-CiGTtBFn.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-B0YbaqPH.js")).VideoProvider(this.target, t);
2086
+ return new (await import("./vidstack-video-C9dFZKvi.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-BrB1gRCi.js")).HLSProvider(this.target, t);
2096
+ return new (await import("./vidstack-hls-MXoslOrL.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-Duawthpm.js")).DASHProvider(this.target, t);
2106
+ return new (await import("./vidstack-dash-BNQrvmk6.js")).DASHProvider(this.target, t);
2107
2107
  }
2108
2108
  }
2109
2109
  class un {
@@ -2125,7 +2125,7 @@ class un {
2125
2125
  return "video";
2126
2126
  }
2127
2127
  async load(t) {
2128
- return new (await import("./vidstack-vimeo-Bq_yuLgQ.js")).VimeoProvider(this.target, t);
2128
+ return new (await import("./vidstack-vimeo-B0jtzSox.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 pn {
2157
2157
  return "video";
2158
2158
  }
2159
2159
  async load(t) {
2160
- return new (await import("./vidstack-youtube-rO2XQLJO.js")).YouTubeProvider(this.target, t);
2160
+ return new (await import("./vidstack-youtube-BdJMeiqG.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 bn extends Pt {
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-C0LIVKq4.js").then((n) => n.v);
2628
+ const i = await import("./vidstack-D2pY00kU-CCpW5TC3.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 Mr extends v(HTMLElement, ii) {
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_-BPltzzZf.js").then(({ insertContent: e }) => {
8025
+ return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-YtSnyNyf.js").then(({ insertContent: e }) => {
8026
8026
  e(t, this.#t.$state);
8027
8027
  }), t;
8028
8028
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.2.138",
3
+ "version": "26.4.1",
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",
@@ -70,6 +70,11 @@ interface Props {
70
70
  * @type {string}
71
71
  */
72
72
  id?: string;
73
+ /**
74
+ * Media name
75
+ * @type {string}
76
+ */
77
+ fileName?: string;
73
78
  /**
74
79
  * Autoplay media on load
75
80
  * @type {boolean}
@@ -151,7 +156,7 @@ function downloadMedia() {
151
156
 
152
157
  const ext = props.src?.type.split('/').pop();
153
158
 
154
- const filename = props.id || 'unknown';
159
+ const filename = props.fileName || props.id || 'unknown';
155
160
 
156
161
  // download with [a] tag el
157
162
  const link = document.createElement('a');
@@ -173,7 +178,7 @@ function handleEnded(event: Event) {
173
178
 
174
179
  <style scoped>
175
180
  .wt-player {
176
- width: auto;
181
+ width: 100%;
177
182
  max-width: 100%;
178
183
  box-shadow: var(--elevation-10);
179
184
  border-radius: var(--border-radius);
@@ -198,6 +203,7 @@ function handleEnded(event: Event) {
198
203
  }
199
204
 
200
205
  .wt-player--position-fixed {
206
+ width: auto;
201
207
  position: fixed;
202
208
  }
203
209
 
@@ -11,6 +11,11 @@ interface Props {
11
11
  * @type {string}
12
12
  */
13
13
  id?: string;
14
+ /**
15
+ * Media name
16
+ * @type {string}
17
+ */
18
+ fileName?: string;
14
19
  /**
15
20
  * Autoplay media on load
16
21
  * @type {boolean}