@webitel/ui-sdk 26.2.119 → 26.2.121

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 (64) hide show
  1. package/dist/{index-C-6dg6Tz.js → index-BT3e8HpZ.js} +1 -1
  2. package/dist/{index-BtOV4c7z.js → index-C1TxBo_z.js} +1 -1
  3. package/dist/{install-BCEHZSNk.js → install-DOf0JHFD.js} +34 -34
  4. package/dist/{isObject-6XyD0bGL.js → isObject-DXQH8ygZ.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 +82 -82
  8. package/dist/{vidstack-Bq6c3Bam-DpRkjm8z.js → vidstack-Bq6c3Bam-BVU7ZAcb.js} +2 -2
  9. package/dist/{vidstack-D2pY00kU-BahIQmpW.js → vidstack-D2pY00kU-3Da1cD0Z.js} +2 -2
  10. package/dist/{vidstack-DDXt6fpN-Br2mu8Iq.js → vidstack-DDXt6fpN-Bx8EsbNU.js} +1 -1
  11. package/dist/{vidstack-D_-9AA6_-CL9p-fj_.js → vidstack-D_-9AA6_-C3DEMCbQ.js} +1 -1
  12. package/dist/{vidstack-DqAw8m9J-BXFK98u1.js → vidstack-DqAw8m9J-CyZzGA5l.js} +1 -1
  13. package/dist/{vidstack-audio-DI6klIUL.js → vidstack-audio-DriU0wm0.js} +2 -2
  14. package/dist/{vidstack-dash-CavW3U8K.js → vidstack-dash-BK139kM1.js} +3 -3
  15. package/dist/{vidstack-google-cast-D1EWSOcw.js → vidstack-google-cast-DdVESFwu.js} +3 -3
  16. package/dist/{vidstack-hls-BRm3pOHy.js → vidstack-hls-JUoAobAm.js} +3 -3
  17. package/dist/{vidstack-video-DjKGX0w1.js → vidstack-video-CzQDEI4R.js} +2 -2
  18. package/dist/{vidstack-vimeo-aX-QkFCz.js → vidstack-vimeo-DxZzTHd2.js} +3 -3
  19. package/dist/{vidstack-youtube-Hi_vQMWs.js → vidstack-youtube-CPm4kGzB.js} +2 -2
  20. package/dist/{wt-action-bar-BOiHgw_M.js → wt-action-bar-CRyiPNoW.js} +1 -1
  21. package/dist/{wt-button-select-CIHPUadl.js → wt-button-select-Dmc2LIi_.js} +1 -1
  22. package/dist/{wt-chat-emoji-D1iKkTMU.js → wt-chat-emoji-CufVNmhY.js} +2 -2
  23. package/dist/{wt-confirm-dialog-CqWqIoto.js → wt-confirm-dialog-CigEnXDR.js} +1 -1
  24. package/dist/{wt-context-menu-uZz5rrtZ.js → wt-context-menu-9ui6aYxH.js} +1 -1
  25. package/dist/{wt-copy-action-DysRS8e4.js → wt-copy-action-BEMC1d4U.js} +1 -1
  26. package/dist/{wt-datepicker-DOjMeKud.js → wt-datepicker-DFCQH_C8.js} +1 -1
  27. package/dist/{wt-display-chip-items-DIjiRkSc.js → wt-display-chip-items-CZOH2C97.js} +1 -1
  28. package/dist/{wt-dual-panel-CO1dvRX6.js → wt-dual-panel-CkjhBgcx.js} +1 -1
  29. package/dist/{wt-dummy-H6nRzUOO.js → wt-dummy-B65dNQLz.js} +1 -1
  30. package/dist/{wt-error-page-BM9xy2j2.js → wt-error-page-DQM3BcPV.js} +1 -1
  31. package/dist/{wt-expansion-card-CIIikD9J.js → wt-expansion-card-Bfmo2AUB.js} +1 -1
  32. package/dist/{wt-expansion-panel-FZndp0v2.js → wt-expansion-panel-BA68Mj63.js} +1 -1
  33. package/dist/{wt-filters-panel-wrapper-CRCFn1JU.js → wt-filters-panel-wrapper-RNremZOi.js} +1 -1
  34. package/dist/{wt-galleria-BaTcYgS_.js → wt-galleria-CSmiU4k1.js} +1 -1
  35. package/dist/{wt-navigation-menu-BHYFRK7A.js → wt-navigation-menu-B62sJqvi.js} +1 -1
  36. package/dist/{wt-notifications-bar-CZ-pAmP4.js → wt-notifications-bar-BxMhu1jm.js} +2 -2
  37. package/dist/{wt-pagination-CYJIroan.js → wt-pagination-3fXvNlDx.js} +1 -1
  38. package/dist/wt-player-DwTOLAJs.js +157 -0
  39. package/dist/{wt-search-bar-DJUHBtjf.js → wt-search-bar-Dwpc7Brm.js} +1 -1
  40. package/dist/{wt-selection-popup-klCz0JVo.js → wt-selection-popup-0cMPB7ZY.js} +1 -1
  41. package/dist/{wt-start-page-DTpApMUC.js → wt-start-page-DV-PMnqw.js} +1 -1
  42. package/dist/{wt-status-select-ILbrezHb.js → wt-status-select-1Spej6qH.js} +1 -1
  43. package/dist/{wt-stepper-BelHtfT4.js → wt-stepper-BpD_Z7Xz.js} +1 -1
  44. package/dist/{wt-table-rOIZYjWE.js → wt-table-DLJFehj1.js} +1 -1
  45. package/dist/{wt-table-actions-CDw4xXO1.js → wt-table-actions-ByhNFy02.js} +1 -1
  46. package/dist/{wt-table-column-select-DEhBQNmi.js → wt-table-column-select-BCLP6l7F.js} +2 -2
  47. package/dist/{wt-tabs-BfDVXHmU.js → wt-tabs-N-IdAmtA.js} +1 -1
  48. package/dist/{wt-tags-input-BooVsjC0.js → wt-tags-input-3UmCMAqn.js} +2 -2
  49. package/dist/{wt-timepicker-CZ18Y2B2.js → wt-timepicker-4pXqvZ9f.js} +1 -1
  50. package/dist/{wt-tree-BJj9K83t.js → wt-tree-DRxyRZtq.js} +2 -2
  51. package/dist/{wt-tree-table-CbwYup_r.js → wt-tree-table-BJDwcICa.js} +1 -1
  52. package/dist/{wt-type-extension-value-input-CLdN92Uv.js → wt-type-extension-value-input-D4ZttRNp.js} +2 -2
  53. package/dist/{wt-vidstack-player-PFrDD-ns.js → wt-vidstack-player-CosXj3XH.js} +9 -9
  54. package/package.json +1 -1
  55. package/src/components/wt-page-header/wt-page-header.vue +1 -1
  56. package/src/components/wt-player/src/components/sliders/time-slider.vue +0 -4
  57. package/src/components/wt-player/wt-player.vue +23 -24
  58. package/src/components/wt-vidstack-player/components/panels/media-controls-panel/components/time-group.vue +24 -5
  59. package/src/modules/AuditForm/components/audit-form.vue +1 -0
  60. package/types/components/wt-player/wt-player.vue.d.ts +6 -14
  61. package/types/components/wt-vidstack-player/components/panels/media-controls-panel/components/time-group.vue.d.ts +6 -1
  62. package/dist/wt-player-BYdqZy5X.js +0 -140
  63. /package/src/components/wt-player/src/components/sliders/{volume-slide.vue → volume-slider.vue} +0 -0
  64. /package/types/components/wt-player/src/components/sliders/{volume-slide.vue.d.ts → volume-slider.vue.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { _ as p, D as _ } from "./install-BCEHZSNk.js";
1
+ import { _ as p, D as _ } from "./install-DOf0JHFD.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",
@@ -0,0 +1,157 @@
1
+ import { defineComponent as u, createElementBlock as l, openBlock as t, Fragment as B, createElementVNode as m, createTextVNode as h, resolveComponent as w, createVNode as o, computed as x, normalizeClass as z, createBlock as g, createCommentVNode as _ } from "vue";
2
+ /* empty css */
3
+ import { _ as i, E as f } from "./install-DOf0JHFD.js";
4
+ import { _ as v } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
5
+ const C = { class: "time-group" }, E = {
6
+ key: 0,
7
+ type: "current",
8
+ remainder: ""
9
+ }, T = /* @__PURE__ */ u({
10
+ __name: "time-group",
11
+ props: {
12
+ countdown: { type: Boolean, default: !1 }
13
+ },
14
+ setup(n) {
15
+ const r = n;
16
+ return (e, c) => (t(), l("div", C, [
17
+ r.countdown ? (t(), l("media-time", E)) : (t(), l(B, { key: 1 }, [
18
+ c[0] || (c[0] = m("media-time", { type: "current" }, null, -1)),
19
+ c[1] || (c[1] = h(" / ", -1)),
20
+ c[2] || (c[2] = m("media-time", { type: "duration" }, null, -1))
21
+ ], 64))
22
+ ]));
23
+ }
24
+ }), V = /* @__PURE__ */ i(T, [["__scopeId", "data-v-4f888af4"]]), I = {}, S = { class: "mute-button" };
25
+ function M(n, r) {
26
+ const e = w("wt-icon");
27
+ return t(), l("media-mute-button", S, [
28
+ o(e, {
29
+ type: "mute",
30
+ icon: "plyr-muted",
31
+ class: "mute-icon",
32
+ size: "sm"
33
+ }),
34
+ o(e, {
35
+ type: "volume",
36
+ icon: "plyr-volume",
37
+ class: "volume-icon",
38
+ size: "sm"
39
+ })
40
+ ]);
41
+ }
42
+ const N = /* @__PURE__ */ i(I, [["render", M], ["__scopeId", "data-v-8394e2c8"]]), F = { class: "play-button" }, O = /* @__PURE__ */ u({
43
+ __name: "play-button",
44
+ setup(n) {
45
+ return (r, e) => (t(), l("media-play-button", F, [
46
+ o(f, {
47
+ icon: "plyr-play",
48
+ type: "play",
49
+ class: "play-icon",
50
+ size: "sm"
51
+ }),
52
+ o(f, {
53
+ icon: "plyr-pause",
54
+ type: "pause",
55
+ class: "pause-icon",
56
+ size: "sm"
57
+ })
58
+ ]));
59
+ }
60
+ }), P = /* @__PURE__ */ i(O, [["__scopeId", "data-v-e79e3bf5"]]), A = { class: "time-slider media-slider" }, G = /* @__PURE__ */ u({
61
+ __name: "time-slider",
62
+ setup(n) {
63
+ return (r, e) => (t(), l("media-time-slider", A, [
64
+ o(v, { class: "time-slider__slider" })
65
+ ]));
66
+ }
67
+ }), U = /* @__PURE__ */ i(G, [["__scopeId", "data-v-e57a9871"]]), j = { class: "volume-slider media-slider" }, q = /* @__PURE__ */ u({
68
+ __name: "volume-slider",
69
+ setup(n) {
70
+ return (r, e) => (t(), l("media-volume-slider", j, [
71
+ o(v, { class: "volume-slider__slider" })
72
+ ]));
73
+ }
74
+ }), D = /* @__PURE__ */ i(q, [["__scopeId", "data-v-b92a4daf"]]), H = ["src", "loop", "autoplay"], J = { class: "controls-group" }, K = /* @__PURE__ */ u({
75
+ __name: "wt-player",
76
+ props: {
77
+ src: {},
78
+ id: {},
79
+ autoplay: { type: Boolean, default: !0 },
80
+ loop: { type: Boolean, default: !1 },
81
+ download: { type: [String, Function, Boolean], default: () => (n) => n.replace("/stream", "/download") },
82
+ resetOnEnd: { type: Boolean, default: !1 },
83
+ countdownTimeMode: { type: Boolean },
84
+ hideVolumeSlider: { type: Boolean, default: !1 },
85
+ closable: { type: Boolean, default: !0 },
86
+ position: { default: "sticky" }
87
+ },
88
+ emits: ["initialized", "close"],
89
+ setup(n, { emit: r }) {
90
+ const e = n, c = x(() => {
91
+ if (!e.src?.type) return e.src;
92
+ const s = $(e.src.type);
93
+ return {
94
+ src: e.src.src,
95
+ type: s
96
+ };
97
+ });
98
+ function $(s) {
99
+ return [
100
+ "audio/wav"
101
+ ].includes(s) ? "audio/mp3" : s;
102
+ }
103
+ function b() {
104
+ const s = typeof e.src == "string" ? e.src : e.src?.src, a = typeof e.download == "function" ? e.download(s) : e.download, p = e.src?.type.split("/").pop(), y = e.id || "unknown", d = document.createElement("a");
105
+ d.style.display = "none", d.href = a, d.download = `${y}.${p}`, document.body.appendChild(d), d.click(), document.body.removeChild(d);
106
+ }
107
+ function k(s) {
108
+ if (!e.resetOnEnd) return;
109
+ const a = s.target;
110
+ a.currentTime = 0;
111
+ }
112
+ return (s, a) => {
113
+ const p = w("wt-icon-btn");
114
+ return t(), l("media-player", {
115
+ class: z(["wt-player", `wt-player--position-${e.position}`]),
116
+ src: c.value,
117
+ loop: e.loop,
118
+ autoplay: n.autoplay,
119
+ onEnded: k
120
+ }, [
121
+ a[1] || (a[1] = m("media-provider", null, null, -1)),
122
+ m("media-controls-group", J, [
123
+ o(P),
124
+ o(U),
125
+ o(V, {
126
+ countdown: e.countdownTimeMode
127
+ }, null, 8, ["countdown"]),
128
+ o(N),
129
+ e.hideVolumeSlider ? _("", !0) : (t(), g(D, { key: 0 })),
130
+ e.download ? (t(), l("media-button", {
131
+ key: 1,
132
+ class: "download-button",
133
+ onClick: b
134
+ }, [
135
+ o(p, {
136
+ icon: "plyr-download",
137
+ size: "sm"
138
+ })
139
+ ])) : _("", !0),
140
+ e.closable ? (t(), l("media-button", {
141
+ key: 2,
142
+ class: "close-button",
143
+ onClick: a[0] || (a[0] = (y) => s.$emit("close"))
144
+ }, [
145
+ o(p, {
146
+ icon: "close",
147
+ size: "sm"
148
+ })
149
+ ])) : _("", !0)
150
+ ])
151
+ ], 42, H);
152
+ };
153
+ }
154
+ }), X = /* @__PURE__ */ i(K, [["__scopeId", "data-v-5d88ce1f"]]);
155
+ export {
156
+ X as default
157
+ };
@@ -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-BCEHZSNk.js";
2
+ import { z as P, D as R, _ as T } from "./install-DOf0JHFD.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-BCEHZSNk.js";
2
+ import { _ as O, B as P } from "./install-DOf0JHFD.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-BCEHZSNk.js";
2
+ import { N as n, _ as p } from "./install-DOf0JHFD.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-BCEHZSNk.js";
2
+ import { _ as h } from "./install-DOf0JHFD.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-BCEHZSNk.js";
2
+ import { _ as k } from "./install-DOf0JHFD.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-BCEHZSNk.js";
2
+ import { B as pe, F as fe, _ as me } from "./install-DOf0JHFD.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-BCEHZSNk.js";
2
+ import { _ as O } from "./install-DOf0JHFD.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-BtOV4c7z.js";
1
+ import { d as C } from "./index-C1TxBo_z.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-BCEHZSNk.js";
3
+ import { _ as P } from "./install-DOf0JHFD.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-BCEHZSNk.js";
2
+ import { _ as p } from "./install-DOf0JHFD.js";
3
3
  const _ = {
4
4
  name: "WtTabs",
5
5
  model: {
@@ -1,5 +1,5 @@
1
- import { d as O } from "./index-C-6dg6Tz.js";
2
- import { G as h, _ as E, C as S, M as z, H as A, J as B } from "./install-BCEHZSNk.js";
1
+ import { d as O } from "./index-BT3e8HpZ.js";
2
+ import { G as h, _ as E, C as S, M as z, H as A, J as B } from "./install-DOf0JHFD.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-BCEHZSNk.js";
2
+ import { B as W, z as X, C as Y, M as Z, _ as ee } from "./install-DOf0JHFD.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-C-6dg6Tz.js";
3
- import { W as _, _ as R } from "./install-BCEHZSNk.js";
2
+ import { d as P } from "./index-BT3e8HpZ.js";
3
+ import { W as _, _ as R } from "./install-DOf0JHFD.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-BCEHZSNk.js";
2
+ import { B as G, P as R, Q as J, _ as F, F as X } from "./install-DOf0JHFD.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-BCEHZSNk.js";
3
- import { d as xe } from "./index-BtOV4c7z.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-DOf0JHFD.js";
3
+ import { d as xe } from "./index-C1TxBo_z.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 { T as fa, U as ma, V as ga, X as ya, Q as Ce, _ as Oe, Y as ba, C as at } from "./install-BCEHZSNk.js";
2
+ import { T as fa, U as ma, V as ga, X as ya, Q as Ce, _ as Oe, Y as ba, C as at } from "./install-DOf0JHFD.js";
3
3
  /* empty css */
4
4
  const dt = /* @__PURE__ */ Symbol(0);
5
5
  let ls = !1, Fs = !1, ot = null, ee = null, et = null, X = 0, te = [], Zs = {};
@@ -3264,7 +3264,7 @@ class To {
3264
3264
  return "audio";
3265
3265
  }
3266
3266
  async load(t) {
3267
- return new (await import("./vidstack-audio-DI6klIUL.js")).AudioProvider(this.target, t);
3267
+ return new (await import("./vidstack-audio-DriU0wm0.js")).AudioProvider(this.target, t);
3268
3268
  }
3269
3269
  }
3270
3270
  class di {
@@ -3277,7 +3277,7 @@ class di {
3277
3277
  return "video";
3278
3278
  }
3279
3279
  async load(t) {
3280
- return new (await import("./vidstack-video-DjKGX0w1.js")).VideoProvider(this.target, t);
3280
+ return new (await import("./vidstack-video-CzQDEI4R.js")).VideoProvider(this.target, t);
3281
3281
  }
3282
3282
  }
3283
3283
  class pi extends di {
@@ -3287,7 +3287,7 @@ class pi extends di {
3287
3287
  return pi.supported && De(t);
3288
3288
  }
3289
3289
  async load(t) {
3290
- return new (await import("./vidstack-hls-BRm3pOHy.js")).HLSProvider(this.target, t);
3290
+ return new (await import("./vidstack-hls-JUoAobAm.js")).HLSProvider(this.target, t);
3291
3291
  }
3292
3292
  }
3293
3293
  class fi extends di {
@@ -3297,7 +3297,7 @@ class fi extends di {
3297
3297
  return fi.supported && li(t);
3298
3298
  }
3299
3299
  async load(t) {
3300
- return new (await import("./vidstack-dash-CavW3U8K.js")).DASHProvider(this.target, t);
3300
+ return new (await import("./vidstack-dash-BK139kM1.js")).DASHProvider(this.target, t);
3301
3301
  }
3302
3302
  }
3303
3303
  class So {
@@ -3319,7 +3319,7 @@ class So {
3319
3319
  return "video";
3320
3320
  }
3321
3321
  async load(t) {
3322
- return new (await import("./vidstack-vimeo-aX-QkFCz.js")).VimeoProvider(this.target, t);
3322
+ return new (await import("./vidstack-vimeo-DxZzTHd2.js")).VimeoProvider(this.target, t);
3323
3323
  }
3324
3324
  async loadPoster(t, e, s) {
3325
3325
  const { resolveVimeoVideoId: n, getVimeoVideoInfo: a } = await import("./vidstack-krOAtKMi-C50BTxmn.js");
@@ -3351,7 +3351,7 @@ class ko {
3351
3351
  return "video";
3352
3352
  }
3353
3353
  async load(t) {
3354
- return new (await import("./vidstack-youtube-Hi_vQMWs.js")).YouTubeProvider(this.target, t);
3354
+ return new (await import("./vidstack-youtube-CPm4kGzB.js")).YouTubeProvider(this.target, t);
3355
3355
  }
3356
3356
  async loadPoster(t, e, s) {
3357
3357
  const { findYouTubePoster: n, resolveYouTubeVideoId: a } = await import("./vidstack-Dm1xEU9Q-CXHNvShT.js"), r = v(t.src) && a(t.src);
@@ -3819,7 +3819,7 @@ class Ao extends Qt {
3819
3819
  throw n.code = "CAST_NOT_AVAILABLE", n;
3820
3820
  }
3821
3821
  if (_e("https://www.gstatic.com"), !this.#$) {
3822
- const n = await import("./vidstack-D2pY00kU-BahIQmpW.js").then((a) => a.v);
3822
+ const n = await import("./vidstack-D2pY00kU-3Da1cD0Z.js").then((a) => a.v);
3823
3823
  this.#$ = new n.GoogleCastLoader();
3824
3824
  }
3825
3825
  await this.#$.prompt(this.#s), t && this.#e.queue.enqueue("media-google-cast-request", t);
@@ -5512,7 +5512,7 @@ class Bo extends $(HTMLElement, Hn) {
5512
5512
  if (this.#e?.classList.contains("vds-google-cast"))
5513
5513
  return this.#e;
5514
5514
  const t = document.createElement("div");
5515
- return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-CL9p-fj_.js").then(({ insertContent: e }) => {
5515
+ return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-C3DEMCbQ.js").then(({ insertContent: e }) => {
5516
5516
  e(t, this.#t.$state);
5517
5517
  }), t;
5518
5518
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.2.119",
3
+ "version": "26.2.121",
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",
@@ -107,7 +107,7 @@ const emptySecondary = computed(
107
107
  </script>
108
108
 
109
109
  <style>
110
- .wt-headline .wt-button {
110
+ .wt-headline .wt-button:not(.wt-button-select__select-btn) {
111
111
  margin-left: var(--spacing-sm);
112
112
  }
113
113
  </style>
@@ -20,10 +20,6 @@ import WtSlider from '../../../../wt-slider/wt-slider.vue';
20
20
  cursor: pointer;
21
21
  }
22
22
 
23
- .time-slider:deep(.p-slider-handle) {
24
- transform: scale(1.5);
25
- }
26
-
27
23
  .time-slider__slider {
28
24
  width: 100%;
29
25
  }
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <media-player
3
- ref="player"
4
3
  class="wt-player"
5
- :class="`wt-player--position-${position}`"
4
+ :class="`wt-player--position-${props.position}`"
6
5
  :src="normalizedSrc"
7
- :loop="loop"
6
+ :loop="props.loop"
8
7
  :autoplay="autoplay"
8
+ @ended="handleEnded"
9
9
  >
10
10
 
11
11
  <media-provider />
@@ -14,9 +14,9 @@
14
14
 
15
15
  <play-button />
16
16
  <time-slider />
17
- <time-group />
17
+ <time-group :countdown="props.countdownTimeMode" />
18
18
  <mute-button />
19
- <volume-slide />
19
+ <volume-slider v-if="!props.hideVolumeSlider" />
20
20
 
21
21
  <media-button
22
22
  v-if="props.download"
@@ -49,15 +49,14 @@
49
49
  lang="ts"
50
50
  >
51
51
  import 'vidstack/bundle';
52
- import type { MediaSrc, PlyrControl } from 'vidstack';
53
- import { computed, onMounted, watch } from 'vue';
52
+ import type { AudioMimeType, MediaSrc } from 'vidstack';
53
+ import { computed, useTemplateRef } from 'vue';
54
54
 
55
- import WtIcon from '../wt-icon/wt-icon.vue';
56
55
  import TimeGroup from '../wt-vidstack-player/components/panels/media-controls-panel/components/time-group.vue';
57
56
  import MuteButton from './src/components/buttons/mute-button.vue';
58
57
  import PlayButton from './src/components/buttons/play-button.vue';
59
58
  import TimeSlider from './src/components/sliders/time-slider.vue';
60
- import VolumeSlide from './src/components/sliders/volume-slide.vue';
59
+ import VolumeSlider from './src/components/sliders/volume-slider.vue';
61
60
 
62
61
  interface Props {
63
62
  /**
@@ -82,12 +81,6 @@ interface Props {
82
81
  * @default false
83
82
  */
84
83
  loop?: boolean;
85
- /**
86
- * Hides duration display
87
- * @type {boolean}
88
- * @default false
89
- */
90
- hideDuration?: boolean;
91
84
  /**
92
85
  * Download button configuration. If false, no download button will be shown
93
86
  * @type {string | Function | boolean}
@@ -95,29 +88,29 @@ interface Props {
95
88
  */
96
89
  download?: string | ((url: string) => string) | boolean;
97
90
  /**
98
- * Plyr-specific prop. Resets player position to start on file end.
91
+ * Resets player position to start after file has been played to the end
99
92
  * @type {boolean}
100
93
  * @default false
101
94
  */
102
- resetOnEnd?: boolean; // todo??
95
+ resetOnEnd?: boolean;
103
96
  /**
104
- * Plyr-specific prop
97
+ * Show media time like duration with countdown. Example: "-00:12"
105
98
  * @type {boolean}
106
99
  * @default true
107
100
  */
108
- invertTime?: boolean; // todo
101
+ countdownTimeMode?: boolean;
109
102
  /**
110
- * Plyr is caching volume settings ("muted" too) so we could reset them at init
103
+ * Hide volume slider
111
104
  * @type {boolean}
112
105
  * @default false
113
106
  */
114
- resetVolume?: boolean; // todo??
107
+ hideVolumeSlider?: boolean;
115
108
  /**
116
109
  * Shows close button
117
110
  * @type {boolean}
118
111
  * @default true
119
112
  */
120
- closable?: boolean; // todo??
113
+ closable?: boolean;
121
114
  /**
122
115
  * Player position
123
116
  * @type {string}
@@ -129,10 +122,10 @@ interface Props {
129
122
  const props = withDefaults(defineProps<Props>(), {
130
123
  autoplay: true,
131
124
  loop: false,
132
- hideDuration: false,
133
125
  download: () => (url: string) => url.replace('/stream', '/download'),
134
126
  resetOnEnd: false,
135
127
  invertTime: true,
128
+ hideVolumeSlider: false,
136
129
  resetVolume: false,
137
130
  closable: true,
138
131
  position: 'sticky',
@@ -142,7 +135,6 @@ const emit = defineEmits<{
142
135
  initialized: []; // is needed?
143
136
  close: [];
144
137
  }>();
145
-
146
138
  const normalizedSrc = computed(() => {
147
139
  if (!props.src?.type) return props.src;
148
140
 
@@ -187,6 +179,13 @@ function downloadMedia() {
187
179
  link.click();
188
180
  document.body.removeChild(link);
189
181
  }
182
+
183
+ function handleEnded(event: Event) {
184
+ if (!props.resetOnEnd) return;
185
+
186
+ const player = event.target as HTMLMediaElement;
187
+ player.currentTime = 0;
188
+ }
190
189
  </script>
191
190
 
192
191
  <style scoped>
@@ -1,14 +1,32 @@
1
1
  <template>
2
2
  <div class="time-group">
3
- <media-time type="current" />
4
- /
5
- <media-time type="duration" />
3
+ <media-time v-if="props.countdown" type="current" remainder />
4
+
5
+ <template v-else>
6
+ <media-time type="current" />
7
+ /
8
+ <media-time type="duration" />
9
+ </template>
10
+
6
11
  </div>
7
12
  </template>
8
13
 
14
+ <script setup lang="ts">
15
+ import { defineProps, withDefaults } from 'vue';
16
+
17
+ const props = withDefaults(
18
+ defineProps<{
19
+ countdown?: boolean;
20
+ }>(),
21
+ {
22
+ countdown: false,
23
+ },
24
+ );
25
+ </script>
26
+
9
27
  <style scoped>
10
28
  .time-group {
11
- font-family: 'Montserrat', monospace;
29
+ font-family: 'Montserrat', monospace;
12
30
  font-size: 12px;
13
31
  font-weight: 400;
14
32
  line-height: 16px;
@@ -17,4 +35,5 @@ font-family: 'Montserrat', monospace;
17
35
  align-items: center;
18
36
  gap: var(--spacing-2xs);
19
37
  color: var(--wt-player-video-control-bar-color);
20
- }</style>
38
+ }
39
+ </style>
@@ -22,6 +22,7 @@
22
22
  <wt-textarea
23
23
  v-if="mode === AuditFormMode.Fill"
24
24
  :model-value="resultCommentModel"
25
+ :disabled="readonly"
25
26
  class="call-evaluation-form__comment"
26
27
  :label="$t('reusable.comment')"
27
28
  @update:model-value="handleResultCommentUpdate"
@@ -23,12 +23,6 @@ interface Props {
23
23
  * @default false
24
24
  */
25
25
  loop?: boolean;
26
- /**
27
- * Hides duration display
28
- * @type {boolean}
29
- * @default false
30
- */
31
- hideDuration?: boolean;
32
26
  /**
33
27
  * Download button configuration. If false, no download button will be shown
34
28
  * @type {string | Function | boolean}
@@ -36,23 +30,23 @@ interface Props {
36
30
  */
37
31
  download?: string | ((url: string) => string) | boolean;
38
32
  /**
39
- * Plyr-specific prop. Resets player position to start on file end.
33
+ * Resets player position to start after file has been played to the end
40
34
  * @type {boolean}
41
35
  * @default false
42
36
  */
43
37
  resetOnEnd?: boolean;
44
38
  /**
45
- * Plyr-specific prop
39
+ * Show media time like duration with countdown. Example: "-00:12"
46
40
  * @type {boolean}
47
41
  * @default true
48
42
  */
49
- invertTime?: boolean;
43
+ countdownTimeMode?: boolean;
50
44
  /**
51
- * Plyr is caching volume settings ("muted" too) so we could reset them at init
45
+ * Hide volume slider
52
46
  * @type {boolean}
53
47
  * @default false
54
48
  */
55
- resetVolume?: boolean;
49
+ hideVolumeSlider?: boolean;
56
50
  /**
57
51
  * Shows close button
58
52
  * @type {boolean}
@@ -77,10 +71,8 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
77
71
  closable: boolean;
78
72
  autoplay: boolean;
79
73
  loop: boolean;
80
- hideDuration: boolean;
81
74
  resetOnEnd: boolean;
82
- invertTime: boolean;
83
- resetVolume: boolean;
75
+ hideVolumeSlider: boolean;
84
76
  position: string;
85
77
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
86
78
  declare const _default: typeof __VLS_export;
@@ -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
+ countdown?: 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
+ countdown: boolean;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
7
  declare const _default: typeof __VLS_export;
3
8
  export default _default;