@webitel/ui-sdk 26.2.116 → 26.2.118
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.
- package/dist/{index-CuI363fm.js → index-CMLrqzOb.js} +1 -1
- package/dist/{index-DKRrRPZR.js → index-DLjWv1K6.js} +1 -1
- package/dist/{install-aul4l1US.js → install-DXpqgUli.js} +6453 -6423
- package/dist/{isObject-C1XF4VII.js → isObject-C5N2q6VJ.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +3 -3
- package/dist/ui-sdk.umd.cjs +168 -168
- package/dist/{vidstack-Bq6c3Bam-C7fRwbNb.js → vidstack-Bq6c3Bam-9L4X163N.js} +2 -2
- package/dist/{vidstack-D2pY00kU-C92tmjYU.js → vidstack-D2pY00kU-pFWsP6Tw.js} +2 -2
- package/dist/{vidstack-DDXt6fpN-Cx73h6VX.js → vidstack-DDXt6fpN-ImRaaOvx.js} +1 -1
- package/dist/{vidstack-D_-9AA6_-DAZZi1Pp.js → vidstack-D_-9AA6_-Bc6CcMJA.js} +1 -1
- package/dist/{vidstack-DqAw8m9J-D5nlWT2j.js → vidstack-DqAw8m9J-DhCItAl4.js} +1 -1
- package/dist/{vidstack-audio-e6INg1pv.js → vidstack-audio-QgAbCYTJ.js} +2 -2
- package/dist/{vidstack-dash-a9bI_8VU.js → vidstack-dash-hT_K0sfG.js} +3 -3
- package/dist/{vidstack-google-cast-CN0jaKMY.js → vidstack-google-cast-C1XH-qsS.js} +3 -3
- package/dist/{vidstack-hls-jIa51tZW.js → vidstack-hls-BuNIXjwn.js} +3 -3
- package/dist/{vidstack-video-DQwuGCj8.js → vidstack-video-BVduPZ9R.js} +2 -2
- package/dist/{vidstack-vimeo-DWTJ2CiS.js → vidstack-vimeo-ClU8m5Dn.js} +3 -3
- package/dist/{vidstack-youtube-C-A8lqXF.js → vidstack-youtube-2YrgSxYC.js} +2 -2
- package/dist/wt-action-bar-R1-3tBM8.js +102 -0
- package/dist/{wt-button-select-ByZ4ASXz.js → wt-button-select-BdTva8yd.js} +1 -1
- package/dist/{wt-chat-emoji-CZ2zg8SH.js → wt-chat-emoji-C_3t6TVk.js} +2 -2
- package/dist/{wt-confirm-dialog-DOsr5AtN.js → wt-confirm-dialog-CjV2ix5D.js} +1 -1
- package/dist/{wt-context-menu-bkCL_jNj.js → wt-context-menu-D0nP3WCU.js} +1 -1
- package/dist/{wt-copy-action-DizoR1HY.js → wt-copy-action-BuIxxuUK.js} +1 -1
- package/dist/{wt-datepicker-bRab5JPz.js → wt-datepicker-COmeJj6a.js} +1 -1
- package/dist/{wt-display-chip-items-Bei7XsXi.js → wt-display-chip-items-B02xhpLh.js} +11 -11
- package/dist/{wt-dual-panel-D8MCdAbc.js → wt-dual-panel-BV-Vj2IO.js} +1 -1
- package/dist/{wt-dummy-BueKEe2P.js → wt-dummy-NpAbW--K.js} +1 -1
- package/dist/{wt-error-page-Cbu1HWrh.js → wt-error-page-DaGkBASX.js} +1 -1
- package/dist/{wt-expansion-card-BQLZk3Qy.js → wt-expansion-card-B0KLPlq_.js} +1 -1
- package/dist/{wt-expansion-panel-Qt0-JMuE.js → wt-expansion-panel-eiZOdXfm.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-h7-DcF5W.js → wt-filters-panel-wrapper-CfnTjuY-.js} +1 -1
- package/dist/{wt-galleria-BuXQPRWy.js → wt-galleria-vF73GkBg.js} +1 -1
- package/dist/{wt-navigation-menu-Dxnt12AA.js → wt-navigation-menu-hTg34sHE.js} +1 -1
- package/dist/{wt-notifications-bar-BNS24GyB.js → wt-notifications-bar-CahRZsSC.js} +2 -2
- package/dist/{wt-page-header-DqYA9ZDv.js → wt-page-header-DoLZpwPK.js} +1 -1
- package/dist/{wt-pagination-D70dTy6_.js → wt-pagination-4FWGTwua.js} +1 -1
- package/dist/wt-player-Bwrc9mag.js +140 -0
- package/dist/{wt-search-bar-CUHIrqhp.js → wt-search-bar-Bv5CHfBm.js} +1 -1
- package/dist/{wt-selection-popup-C9qYIDxV.js → wt-selection-popup-DCMGVZi-.js} +1 -1
- package/dist/{wt-start-page-CcT_USVI.js → wt-start-page-Bzwo1ksP.js} +4 -4
- package/dist/{wt-status-select-ByeSu2w_.js → wt-status-select-CirAM4Ze.js} +1 -1
- package/dist/{wt-stepper-BxUv3RFE.js → wt-stepper-BoIxgOlr.js} +1 -1
- package/dist/{wt-table-DMA4gouK.js → wt-table-ChQWYkhx.js} +13 -14
- package/dist/{wt-table-actions-CrBwlbUq.js → wt-table-actions-CtVHFGHU.js} +1 -1
- package/dist/{wt-table-column-select-3ko3ycXD.js → wt-table-column-select-BTSySzgO.js} +2 -2
- package/dist/{wt-tabs-B0g2gZsn.js → wt-tabs-wU77jy-3.js} +1 -1
- package/dist/{wt-tags-input-BAe0rlRI.js → wt-tags-input-DHzX3Upe.js} +4 -4
- package/dist/{wt-timepicker-B957Jyse.js → wt-timepicker-CtsvJU0Y.js} +1 -1
- package/dist/{wt-tree-vBnWfkCz.js → wt-tree-ffOZaStb.js} +2 -2
- package/dist/{wt-tree-table-CF-Q4-bl.js → wt-tree-table-YYhKpa30.js} +23 -24
- package/dist/{wt-type-extension-value-input-C2MRymmT.js → wt-type-extension-value-input-BcznqN2C.js} +2 -2
- package/dist/{wt-vidstack-player-Ck6iIfhH.js → wt-vidstack-player-V-1cHThJ.js} +11 -11
- package/package.json +1 -1
- package/src/components/wt-action-bar/WtActionBarActionsOrder.js +1 -0
- package/src/components/wt-action-bar/wt-action-bar.vue +20 -0
- package/src/components/wt-icon-action/wt-icon-action.vue +20 -1
- package/src/components/wt-player/wt-player.vue +71 -46
- package/src/components/wt-vidstack-player/wt-vidstack-player.vue +1 -0
- package/src/enums/IconAction/IconAction.enum.js +1 -0
- package/src/locale/en/en.js +7 -0
- package/src/locale/es/es.js +7 -0
- package/src/locale/kz/kz.js +7 -0
- package/src/locale/pl/pl.js +7 -0
- package/src/locale/ro/ro.js +7 -0
- package/src/locale/ru/ru.js +7 -0
- package/src/locale/uk/uk.js +7 -0
- package/src/locale/uz/uz.js +7 -0
- package/src/locale/vi/vi.js +7 -0
- package/src/modules/CallSession/modules/VideoCall/video-call.vue +2 -2
- package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
- package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +29 -11
- package/types/components/wt-icon-action/wt-icon-action.vue.d.ts +11 -0
- package/types/components/wt-vidstack-player/wt-vidstack-player.vue.d.ts +1 -0
- package/types/enums/IconAction/IconAction.enum.d.ts +1 -0
- package/types/locale/en/en.d.ts +3 -0
- package/types/locale/es/es.d.ts +3 -0
- package/types/locale/i18n.d.ts +27 -0
- package/types/locale/index.d.ts +27 -0
- package/types/locale/kz/kz.d.ts +3 -0
- package/types/locale/pl/pl.d.ts +3 -0
- package/types/locale/ro/ro.d.ts +3 -0
- package/types/locale/ru/ru.d.ts +3 -0
- package/types/locale/uk/uk.d.ts +3 -0
- package/types/locale/uz/uz.d.ts +3 -0
- package/types/locale/vi/vi.d.ts +3 -0
- package/types/modules/CallSession/modules/VideoCall/video-call.vue.d.ts +1 -1
- package/dist/sortQueryAdapters-M9bNEM3P.js +0 -17
- package/dist/wt-action-bar-CY000cMU.js +0 -92
- package/dist/wt-player-C5DFSXf7.js +0 -130
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { computed as p, createElementBlock as u, openBlock as f, renderSlot as a, normalizeProps as c, guardReactiveProps as o, Fragment as O, renderList as D, createVNode as k, unref as C } from "vue";
|
|
2
|
-
import { I as e, _ as $, a as v, k as y } from "./install-aul4l1US.js";
|
|
3
|
-
const m = [
|
|
4
|
-
e.ADD,
|
|
5
|
-
e.ADD_CONTACT,
|
|
6
|
-
e.COPY,
|
|
7
|
-
e.DOWNLOAD_PDF,
|
|
8
|
-
e.DOWNLOAD,
|
|
9
|
-
e.UPLOAD,
|
|
10
|
-
e.COLUMNS,
|
|
11
|
-
e.VARIABLES,
|
|
12
|
-
e.FILTERS,
|
|
13
|
-
e.REFRESH,
|
|
14
|
-
e.DELETE
|
|
15
|
-
], z = m, E = { class: "wt-action-bar" }, L = {
|
|
16
|
-
__name: "wt-action-bar",
|
|
17
|
-
props: {
|
|
18
|
-
/**
|
|
19
|
-
* [`'table'`, `'section'`]
|
|
20
|
-
* */
|
|
21
|
-
mode: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: "table",
|
|
24
|
-
validator: (t) => [
|
|
25
|
-
"table",
|
|
26
|
-
"section"
|
|
27
|
-
].includes(t)
|
|
28
|
-
},
|
|
29
|
-
/**
|
|
30
|
-
* Not implemented
|
|
31
|
-
*/
|
|
32
|
-
size: {
|
|
33
|
-
type: String
|
|
34
|
-
// default: 'md',
|
|
35
|
-
// validator: (v) => ['sm', 'md', 'lg'].includes(v),
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* Leave the default value for the mode only listed in includes prop
|
|
39
|
-
*/
|
|
40
|
-
include: {
|
|
41
|
-
type: Array,
|
|
42
|
-
default: () => []
|
|
43
|
-
},
|
|
44
|
-
/**
|
|
45
|
-
* Leave the default values for the mode, except for those in exclude prop
|
|
46
|
-
*/
|
|
47
|
-
exclude: {
|
|
48
|
-
type: Array,
|
|
49
|
-
default: () => []
|
|
50
|
-
},
|
|
51
|
-
/**
|
|
52
|
-
* Built dynamically on `disabled:[IconAction]` pattern for all available [IconActions](../../enums/IconAction/Readme.md).
|
|
53
|
-
*/
|
|
54
|
-
disabled: {
|
|
55
|
-
// Not implemented, but can be used to disable all actions
|
|
56
|
-
type: Boolean,
|
|
57
|
-
default: !1
|
|
58
|
-
},
|
|
59
|
-
...Object.values(e).reduce((t, i) => (t[`disabled:${i}`] = {
|
|
60
|
-
type: Boolean,
|
|
61
|
-
default: !1
|
|
62
|
-
}, t), {})
|
|
63
|
-
},
|
|
64
|
-
emits: [
|
|
65
|
-
/**
|
|
66
|
-
* click:IconAction
|
|
67
|
-
*/
|
|
68
|
-
...Object.values(e).map((t) => `click:${t}`)
|
|
69
|
-
],
|
|
70
|
-
setup(t, { emit: i }) {
|
|
71
|
-
const s = t, b = i, A = p(() => {
|
|
72
|
-
const n = s.mode === "section" ? z : m;
|
|
73
|
-
return s.include.length ? n.filter((r) => s.include.includes(r)) : s.exclude.length ? n.filter((r) => !s.exclude.includes(r)) : n;
|
|
74
|
-
}), d = (n) => {
|
|
75
|
-
b(`click:${n}`);
|
|
76
|
-
};
|
|
77
|
-
return (n, r) => (f(), u("div", E, [
|
|
78
|
-
a(n.$slots, "search-bar", c(o({ size: t.size })), void 0, !0),
|
|
79
|
-
a(n.$slots, "default", c(o({ size: t.size })), void 0, !0),
|
|
80
|
-
(f(!0), u(O, null, D(A.value, (l) => a(n.$slots, l, c(o({ action: l, size: t.size, onClick: () => d(l) })), () => [
|
|
81
|
-
k(v, {
|
|
82
|
-
action: l,
|
|
83
|
-
disabled: s[`disabled:${C(y)(l)}`],
|
|
84
|
-
onClick: (_) => d(l)
|
|
85
|
-
}, null, 8, ["action", "disabled", "onClick"])
|
|
86
|
-
], !0)), 256))
|
|
87
|
-
]));
|
|
88
|
-
}
|
|
89
|
-
}, g = /* @__PURE__ */ $(L, [["__scopeId", "data-v-85e5ceb2"]]);
|
|
90
|
-
export {
|
|
91
|
-
g as default
|
|
92
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, createElementBlock as n, openBlock as s, createVNode as t, createElementVNode as r, createTextVNode as $, resolveComponent as f, onMounted as b, normalizeClass as B, createCommentVNode as _ } from "vue";
|
|
2
|
-
import { E as y, _ as i } from "./install-aul4l1US.js";
|
|
3
|
-
import { _ as v } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
|
|
4
|
-
/* empty css */
|
|
5
|
-
const h = { class: "play-button" }, k = /* @__PURE__ */ u({
|
|
6
|
-
__name: "play-button",
|
|
7
|
-
setup(o) {
|
|
8
|
-
return (l, e) => (s(), n("media-play-button", h, [
|
|
9
|
-
t(y, {
|
|
10
|
-
icon: "plyr-play",
|
|
11
|
-
type: "play",
|
|
12
|
-
class: "play-icon",
|
|
13
|
-
size: "sm"
|
|
14
|
-
}),
|
|
15
|
-
t(y, {
|
|
16
|
-
icon: "plyr-pause",
|
|
17
|
-
type: "pause",
|
|
18
|
-
class: "pause-icon",
|
|
19
|
-
size: "sm"
|
|
20
|
-
})
|
|
21
|
-
]));
|
|
22
|
-
}
|
|
23
|
-
}), x = /* @__PURE__ */ i(k, [["__scopeId", "data-v-e79e3bf5"]]), z = { class: "time-slider media-slider" }, C = /* @__PURE__ */ u({
|
|
24
|
-
__name: "time-slider",
|
|
25
|
-
setup(o) {
|
|
26
|
-
return (l, e) => (s(), n("media-time-slider", z, [
|
|
27
|
-
t(v, { class: "time-slider__slider" })
|
|
28
|
-
]));
|
|
29
|
-
}
|
|
30
|
-
}), I = /* @__PURE__ */ i(C, [["__scopeId", "data-v-d570f8e2"]]), V = {}, g = { class: "time-group" };
|
|
31
|
-
function E(o, l) {
|
|
32
|
-
return s(), n("div", g, [...l[0] || (l[0] = [
|
|
33
|
-
r("media-time", { type: "current" }, null, -1),
|
|
34
|
-
$(" / ", -1),
|
|
35
|
-
r("media-time", { type: "duration" }, null, -1)
|
|
36
|
-
])]);
|
|
37
|
-
}
|
|
38
|
-
const N = /* @__PURE__ */ i(V, [["render", E], ["__scopeId", "data-v-1319e35d"]]), T = {}, M = { class: "mute-button" };
|
|
39
|
-
function S(o, l) {
|
|
40
|
-
const e = f("wt-icon");
|
|
41
|
-
return s(), n("media-mute-button", M, [
|
|
42
|
-
t(e, {
|
|
43
|
-
type: "mute",
|
|
44
|
-
icon: "plyr-muted",
|
|
45
|
-
class: "mute-icon",
|
|
46
|
-
size: "sm"
|
|
47
|
-
}),
|
|
48
|
-
t(e, {
|
|
49
|
-
type: "volume",
|
|
50
|
-
icon: "plyr-volume",
|
|
51
|
-
class: "volume-icon",
|
|
52
|
-
size: "sm"
|
|
53
|
-
})
|
|
54
|
-
]);
|
|
55
|
-
}
|
|
56
|
-
const P = /* @__PURE__ */ i(T, [["render", S], ["__scopeId", "data-v-8394e2c8"]]), D = { class: "volume-slider media-slider" }, F = /* @__PURE__ */ u({
|
|
57
|
-
__name: "volume-slide",
|
|
58
|
-
setup(o) {
|
|
59
|
-
return (l, e) => (s(), n("media-volume-slider", D, [
|
|
60
|
-
t(v, { class: "volume-slider__slider" })
|
|
61
|
-
]));
|
|
62
|
-
}
|
|
63
|
-
}), G = /* @__PURE__ */ i(F, [["__scopeId", "data-v-5fff5036"]]), O = ["src", "loop", "autoplay"], j = { class: "controls-group" }, q = /* @__PURE__ */ u({
|
|
64
|
-
__name: "wt-player",
|
|
65
|
-
props: {
|
|
66
|
-
src: {},
|
|
67
|
-
id: {},
|
|
68
|
-
autoplay: { type: Boolean, default: !0 },
|
|
69
|
-
loop: { type: Boolean, default: !1 },
|
|
70
|
-
hideDuration: { type: Boolean, default: !1 },
|
|
71
|
-
download: { type: [String, Function, Boolean], default: () => (o) => o.replace("/stream", "/download") },
|
|
72
|
-
resetOnEnd: { type: Boolean, default: !1 },
|
|
73
|
-
invertTime: { type: Boolean, default: !0 },
|
|
74
|
-
resetVolume: { type: Boolean, default: !1 },
|
|
75
|
-
closable: { type: Boolean, default: !0 },
|
|
76
|
-
position: { default: "sticky" }
|
|
77
|
-
},
|
|
78
|
-
emits: ["initialized", "close"],
|
|
79
|
-
setup(o, { emit: l }) {
|
|
80
|
-
const e = o;
|
|
81
|
-
b(() => {
|
|
82
|
-
});
|
|
83
|
-
function w() {
|
|
84
|
-
const m = typeof e.src == "string" ? e.src : e.src?.src, a = typeof e.download == "function" ? e.download(m) : e.download, d = e.src?.type.split("/").pop(), p = e.id || "unknown", c = document.createElement("a");
|
|
85
|
-
c.style.display = "none", c.href = a, c.download = `${p}.${d}`, document.body.appendChild(c), c.click(), document.body.removeChild(c);
|
|
86
|
-
}
|
|
87
|
-
return (m, a) => {
|
|
88
|
-
const d = f("wt-icon-btn");
|
|
89
|
-
return s(), n("media-player", {
|
|
90
|
-
ref: "player",
|
|
91
|
-
class: B(["wt-player", `wt-player--position-${o.position}`]),
|
|
92
|
-
src: o.src,
|
|
93
|
-
loop: o.loop,
|
|
94
|
-
autoplay: o.autoplay
|
|
95
|
-
}, [
|
|
96
|
-
a[1] || (a[1] = r("media-provider", null, null, -1)),
|
|
97
|
-
r("media-controls-group", j, [
|
|
98
|
-
t(x),
|
|
99
|
-
t(I),
|
|
100
|
-
t(N),
|
|
101
|
-
t(P),
|
|
102
|
-
t(G),
|
|
103
|
-
e.download ? (s(), n("media-button", {
|
|
104
|
-
key: 0,
|
|
105
|
-
class: "download-button",
|
|
106
|
-
onClick: w
|
|
107
|
-
}, [
|
|
108
|
-
t(d, {
|
|
109
|
-
icon: "plyr-download",
|
|
110
|
-
size: "sm"
|
|
111
|
-
})
|
|
112
|
-
])) : _("", !0),
|
|
113
|
-
e.closable ? (s(), n("media-button", {
|
|
114
|
-
key: 1,
|
|
115
|
-
class: "close-button",
|
|
116
|
-
onClick: a[0] || (a[0] = (p) => m.$emit("close"))
|
|
117
|
-
}, [
|
|
118
|
-
t(d, {
|
|
119
|
-
icon: "close",
|
|
120
|
-
size: "sm"
|
|
121
|
-
})
|
|
122
|
-
])) : _("", !0)
|
|
123
|
-
])
|
|
124
|
-
], 10, O);
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
}), L = /* @__PURE__ */ i(q, [["__scopeId", "data-v-23308b8d"]]);
|
|
128
|
-
export {
|
|
129
|
-
L as default
|
|
130
|
-
};
|