@webitel/ui-sdk 26.6.34 → 26.6.35
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/AgentStatus.enum-C3IGHtvR.js +9 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/caseConverters-DXegZoCt.js +27 -0
- package/dist/chunk-CY3AvKd6.js +20 -0
- package/dist/clients-A6MHYfOX.js +36118 -0
- package/dist/components-B4aAS7wB.js +5391 -0
- package/dist/composables-DnDH-KUv.js +263 -0
- package/dist/convertDuration-1K7fuEpO.js +8 -0
- package/dist/debounce-DrmECuJ2.js +128 -0
- package/dist/deep-copy-CQw5yeEH.js +41 -0
- package/dist/displayText-CtaxzaBz.js +3 -0
- package/dist/dist-05Bf47Wg.js +87 -0
- package/dist/dist-BYiYpK00.js +7 -0
- package/dist/dist-Dz55hlwp.js +1371 -0
- package/dist/engineCallFileType-D7QVFOac.js +11 -0
- package/dist/enums-pbYAJNeb.js +158 -0
- package/dist/errors-SUXKojVW.js +69 -0
- package/dist/floating-ui.dom-n2j9PKCB.js +842 -0
- package/dist/generateInstance-ppTIeLX4.js +2582 -0
- package/dist/isObject-Dgs_L5xI.js +11 -0
- package/dist/logger-hl3ueNok.js +47 -0
- package/dist/prod-Cp0BjuxI.js +775 -0
- package/dist/prod-DSuxcp5t.js +2 -0
- package/dist/side-channel-Cyte-MzW.js +833 -0
- package/dist/sortQueryAdapters-CyYXvnDN.js +14 -0
- package/dist/srt-parser-DdH5U08c.js +21 -0
- package/dist/ssa-parser-Bjs7yDD1.js +184 -0
- package/dist/ui-sdk.css +2 -1
- package/dist/ui-sdk.js +34541 -4
- package/dist/ui-sdk.umd.cjs +7740 -7606
- package/dist/useExpansion-DVdIpoOn.js +24 -0
- package/dist/useValidation-DG0tifBv.js +37 -0
- package/dist/useVidstackSrc-DfNrFbOO.js +155 -0
- package/dist/useWtTable-tqmVOvve.js +12 -0
- package/dist/vidstack-B01xzxC4-DeYSgDZy.js +7 -0
- package/dist/vidstack-BGSTndAW-CyKM_CM4.js +957 -0
- package/dist/vidstack-BQlOPwOu-ChhdffAJ.js +43 -0
- package/dist/vidstack-Bq6c3Bam-3dCf_D36.js +398 -0
- package/dist/vidstack-C2US-gSO-DeIgENrW.js +127 -0
- package/dist/vidstack-C9vIqaYT-C1EgPq17.js +9 -0
- package/dist/vidstack-CTojmhKq-D7sZJxgm.js +30 -0
- package/dist/vidstack-ChQTHmIQ-nTO94M6P.js +51 -0
- package/dist/vidstack-Ci54COQW-CAAXpwzv.js +208 -0
- package/dist/vidstack-D2pY00kU-DoW028io.js +70 -0
- package/dist/vidstack-D5EzK014-DOe01V3H.js +14 -0
- package/dist/vidstack-DDXt6fpN-Don_e6LS.js +42 -0
- package/dist/vidstack-D_-9AA6_-Dq3APB0-.js +19 -0
- package/dist/vidstack-Dihypf8P-ibWMCHK-.js +12 -0
- package/dist/vidstack-Dm1xEU9Q-VlefmrP8.js +31 -0
- package/dist/vidstack-DqAw8m9J-Dk1GT3Oe.js +22 -0
- package/dist/vidstack-audio-B58bvsna.js +23 -0
- package/dist/vidstack-dash-CX-LTHx3.js +332 -0
- package/dist/vidstack-google-cast-Co5Q_rfL.js +361 -0
- package/dist/vidstack-hls-CLzdTFu6.js +269 -0
- package/dist/vidstack-krOAtKMi-DN1WZC3p.js +30 -0
- package/dist/vidstack-video-XtP8iTBc.js +151 -0
- package/dist/vidstack-vimeo-EzzPpggD.js +386 -0
- package/dist/vidstack-youtube-C1_NAfWa.js +205 -0
- package/dist/vue-i18n-B8Px6VcD.js +2201 -0
- package/dist/wt-action-bar-Ba1ZJjE_.js +85 -0
- package/dist/wt-button-DENbrKdy.js +785 -0
- package/dist/wt-button-select-BnRHgJ4i.js +80 -0
- package/dist/wt-call-media-action-Bkyppnsm.js +42 -0
- package/dist/wt-chat-emoji-wdBt1XzD.js +2208 -0
- package/dist/wt-confirm-dialog-DCUitG2v.js +70 -0
- package/dist/wt-context-menu-yW52oF-2.js +89 -0
- package/dist/wt-copy-action-d9gVzAsB.js +38 -0
- package/dist/wt-datepicker-Cnbarx_j.js +5774 -0
- package/dist/wt-display-chip-items-CvMM8WMk.js +34 -0
- package/dist/wt-dual-panel-DAhTYFS_.js +49 -0
- package/dist/wt-dummy-CLjhRWZ6.js +59 -0
- package/dist/wt-error-page-vhu4lIyF.js +62 -0
- package/dist/wt-expand-transition-C2p9bR4j.js +39 -0
- package/dist/wt-expansion-card-qsxvbtZm.js +47 -0
- package/dist/wt-expansion-panel-C_EXvx1d.js +40 -0
- package/dist/wt-filters-panel-wrapper-Cc9b3aci.js +51 -0
- package/dist/wt-galleria-CWXKuZTD.js +224 -0
- package/dist/wt-icon-action-CQlZHMDB.js +100 -0
- package/dist/wt-icon-btn-CjjI4cgE.js +107 -0
- package/dist/wt-icon-pxO7IjwV.js +1026 -0
- package/dist/wt-inline-add-panel-B0E4Vk2l.js +43 -0
- package/dist/wt-navigation-menu-CenQi_-T.js +126 -0
- package/dist/wt-notifications-bar-Ep1QuFZi.js +52 -0
- package/dist/wt-page-header-CDbd4aOh.js +59 -0
- package/dist/wt-pagination-BA_PZPIE.js +94 -0
- package/dist/wt-player-uidPXSTe.js +287 -0
- package/dist/wt-popover-CJZH3wMl.js +98 -0
- package/dist/wt-screen-recordings-action-Dg7Ts2Jt.js +37 -0
- package/dist/wt-search-bar-CWZdvAOf.js +123 -0
- package/dist/wt-selection-popup-B77UY7Yu.js +79 -0
- package/dist/wt-send-message-popup-D0GJMGni.js +77 -0
- package/dist/wt-slider-BS3SoGht.js +68 -0
- package/dist/wt-start-page-eN1PEokc.js +86 -0
- package/dist/wt-status-select-A5t6Vjm4.js +101 -0
- package/dist/wt-stepper-B6zpd1Uh.js +41 -0
- package/dist/wt-table-D0FynxIE.js +364 -0
- package/dist/wt-table-actions-4-peSVkc.js +63 -0
- package/dist/wt-table-column-select-DFF6z3a3.js +100 -0
- package/dist/wt-tabs-DuOgj-lZ.js +60 -0
- package/dist/wt-time-input-CO2cop3y.js +62 -0
- package/dist/wt-timepicker-BltFF1QD.js +145 -0
- package/dist/wt-tree-ZyoPrNOl.js +1206 -0
- package/dist/wt-tree-table-MLET4gIv.js +221 -0
- package/dist/wt-type-extension-value-input-fnNxJLsq.js +104 -0
- package/dist/wt-vidstack-player-DLTA9mBK.js +7440 -0
- package/package.json +5 -5
- package/src/components/wt-table-column-select/__tests__/WtTableColumnSelect.spec.js +3 -3
- package/dist/contacts-DzLKP4GQ.js +0 -49654
- package/dist/displayText-Cbh4IOfM.js +0 -5
- package/dist/engineCallFileType-yaadA7-2.js +0 -8
- package/dist/errors-CTL-RV3B.js +0 -70
- package/dist/index-BgLoxAyu.js +0 -50
- package/dist/install-Cm-8fwtB.js +0 -53489
- package/dist/isObject-BSIwu4UO.js +0 -28
- package/dist/prod-BoQuiIB3.js +0 -973
- package/dist/srt-parser-CsN7bp5E.js +0 -26
- package/dist/ssa-parser-BJOOPeQF.js +0 -200
- package/dist/useExpansion-BrQ40HiR.js +0 -24
- package/dist/useVidstackSrc-DKXY5f7v.js +0 -1341
- package/dist/vidstack-Bq6c3Bam-BHF-0bv4.js +0 -426
- package/dist/vidstack-D2pY00kU-B8Mhvp0m.js +0 -136
- package/dist/vidstack-DDXt6fpN-D0eou9h7.js +0 -51
- package/dist/vidstack-D_-9AA6_-DYAfclN7.js +0 -21
- package/dist/vidstack-Dm1xEU9Q-CXHNvShT.js +0 -30
- package/dist/vidstack-DqAw8m9J-b5BHkhrw.js +0 -22
- package/dist/vidstack-audio-CPu_TbjK.js +0 -28
- package/dist/vidstack-dash-VYriMjws.js +0 -393
- package/dist/vidstack-google-cast-Byp1cemB.js +0 -383
- package/dist/vidstack-hls-DdUQcmEx.js +0 -310
- package/dist/vidstack-krOAtKMi-C50BTxmn.js +0 -28
- package/dist/vidstack-video-BpSKQ3wb.js +0 -164
- package/dist/vidstack-vimeo-CgVJJm06.js +0 -452
- package/dist/vidstack-youtube-DuES80MV.js +0 -233
- package/dist/wt-action-bar-TMuck-q1.js +0 -102
- package/dist/wt-button-select-D1NP5Xw9.js +0 -105
- package/dist/wt-call-media-action-BsepfSVy.js +0 -60
- package/dist/wt-chat-emoji-B00dUXbP.js +0 -2909
- package/dist/wt-confirm-dialog-1hO851Da.js +0 -92
- package/dist/wt-context-menu-BrzRmoDw.js +0 -104
- package/dist/wt-copy-action-CEMOiYzN.js +0 -60
- package/dist/wt-datepicker-DHqZIkg2.js +0 -5660
- package/dist/wt-display-chip-items-D7kEAcOo.js +0 -47
- package/dist/wt-dual-panel-DEWR3-k-.js +0 -66
- package/dist/wt-dummy-DfgxciHw.js +0 -104
- package/dist/wt-error-page-DUSVxkXq.js +0 -89
- package/dist/wt-expansion-card-B8JKBMLa.js +0 -56
- package/dist/wt-expansion-panel-DL3eoj_b.js +0 -54
- package/dist/wt-filters-panel-wrapper-CGXQiRvh.js +0 -75
- package/dist/wt-galleria-Bahv6Mgq.js +0 -323
- package/dist/wt-inline-add-panel-B4RjHVDI.js +0 -49
- package/dist/wt-navigation-menu-DqCXAV8E.js +0 -159
- package/dist/wt-notifications-bar-CRIKdVai.js +0 -79
- package/dist/wt-page-header-DdsnoLgd.js +0 -115
- package/dist/wt-pagination-C_b3WmH1.js +0 -144
- package/dist/wt-player-B4GWEqdu.js +0 -291
- package/dist/wt-popover-Di-7_rDL.js +0 -4
- package/dist/wt-popover.vue_vue_type_style_index_0_lang-DMDTlCgv.js +0 -81
- package/dist/wt-screen-recordings-action-B4OpN5kl.js +0 -54
- package/dist/wt-search-bar-B_0_YwCn.js +0 -144
- package/dist/wt-selection-popup-Boyw9_V_.js +0 -109
- package/dist/wt-send-message-popup-0C23Zocu.js +0 -579
- package/dist/wt-slider-BEkw4KGp.js +0 -4
- package/dist/wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js +0 -55
- package/dist/wt-start-page-HQMIG05a.js +0 -99
- package/dist/wt-status-select-H_me1xwA.js +0 -138
- package/dist/wt-stepper-hJxqyiyo.js +0 -65
- package/dist/wt-table-Du6mtkPw.js +0 -426
- package/dist/wt-table-actions-ah_H6LY9.js +0 -79
- package/dist/wt-table-column-select-C2Nbic5-.js +0 -128
- package/dist/wt-tabs-D4aGEd_t.js +0 -74
- package/dist/wt-time-input-DYiW0ijt.js +0 -42
- package/dist/wt-timepicker-BE8POMhF.js +0 -118
- package/dist/wt-tree-table-BJxaXqKl.js +0 -285
- package/dist/wt-tree-u0Zp8nb5.js +0 -2777
- package/dist/wt-type-extension-value-input-C1VlNa4K.js +0 -121
- package/dist/wt-vidstack-player-C1eyCEzP.js +0 -9094
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { createElementBlock as t, createElementVNode as n, createVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, renderSlot as s, resolveComponent as c, withModifiers as l } from "vue";
|
|
3
|
+
//#region src/components/wt-inline-add-panel/wt-inline-add-panel.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var u = { class: "wt-inline-add-panel__actions" }, d = /*#__PURE__*/ e(/* @__PURE__ */ i({
|
|
5
|
+
__name: "wt-inline-add-panel",
|
|
6
|
+
props: {
|
|
7
|
+
disabledAddAction: {
|
|
8
|
+
type: Boolean,
|
|
9
|
+
default: !1
|
|
10
|
+
},
|
|
11
|
+
direction: { default: "row" }
|
|
12
|
+
},
|
|
13
|
+
emits: ["submit", "reset"],
|
|
14
|
+
setup(e, { emit: i }) {
|
|
15
|
+
let d = e, f = i;
|
|
16
|
+
function p() {
|
|
17
|
+
f("submit");
|
|
18
|
+
}
|
|
19
|
+
function m() {
|
|
20
|
+
f("reset");
|
|
21
|
+
}
|
|
22
|
+
return (e, i) => {
|
|
23
|
+
let f = c("wt-button");
|
|
24
|
+
return o(), t("form", {
|
|
25
|
+
class: a(["wt-inline-add-panel", [`wt-inline-add-panel--${d.direction}`]]),
|
|
26
|
+
onSubmit: l(p, ["prevent"])
|
|
27
|
+
}, [s(e.$slots, "default", {}, void 0, !0), n("div", u, [r(f, {
|
|
28
|
+
disabled: d.disabledAddAction,
|
|
29
|
+
icon: "tick",
|
|
30
|
+
color: "secondary",
|
|
31
|
+
outlined: "",
|
|
32
|
+
onClick: p
|
|
33
|
+
}, null, 8, ["disabled"]), r(f, {
|
|
34
|
+
icon: "close",
|
|
35
|
+
outlined: "",
|
|
36
|
+
color: "secondary",
|
|
37
|
+
onClick: m
|
|
38
|
+
})])], 34);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
}), [["__scopeId", "data-v-c6373132"]]);
|
|
42
|
+
//#endregion
|
|
43
|
+
export { d as default };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { Fragment as t, computed as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, normalizeClass as s, openBlock as c, ref as l, renderList as u, renderSlot as d, resolveComponent as f, toDisplayString as p, vShow as m, withCtx as h, withDirectives as g } from "vue";
|
|
3
|
+
//#region src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue
|
|
4
|
+
var _ = { class: "nav-menu__category nav-menu-lvl-1" }, v = ["onClick"], y = /*#__PURE__*/ e({
|
|
5
|
+
__name: "nav-menu-lvl-1",
|
|
6
|
+
props: {
|
|
7
|
+
categories: {
|
|
8
|
+
type: Array,
|
|
9
|
+
default: () => []
|
|
10
|
+
},
|
|
11
|
+
selected: {
|
|
12
|
+
type: Object,
|
|
13
|
+
default: () => ({})
|
|
14
|
+
},
|
|
15
|
+
icons: {
|
|
16
|
+
type: Array,
|
|
17
|
+
default: () => []
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
emits: ["select"],
|
|
21
|
+
setup(e, { emit: n }) {
|
|
22
|
+
let l = n;
|
|
23
|
+
function h(e) {
|
|
24
|
+
l("select", e);
|
|
25
|
+
}
|
|
26
|
+
return (n, l) => {
|
|
27
|
+
let y = f("wt-icon");
|
|
28
|
+
return c(), r("ul", _, [(c(!0), r(t, null, u(e.categories, (t, l) => (c(), r("li", {
|
|
29
|
+
key: l,
|
|
30
|
+
class: "nav-menu__option"
|
|
31
|
+
}, [i("button", {
|
|
32
|
+
class: s([{ "nav-menu__item--selected": e.selected.value === t.value }, "typo-body-1 nav-menu__item nav-menu__item--active"]),
|
|
33
|
+
onClick: (e) => h(t)
|
|
34
|
+
}, [o(y, {
|
|
35
|
+
color: e.selected.value === t.value ? "on-primary" : "default",
|
|
36
|
+
icon: e.icons.find((e) => e.includes(t.value))
|
|
37
|
+
}, null, 8, ["color", "icon"]), a(" " + p(t.name), 1)], 10, v), g(i("div", null, [d(n.$slots, "default", {}, void 0, !0)], 512), [[m, e.selected.value === t.value]])]))), 128))]);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
}, [["__scopeId", "data-v-dd3e01a2"]]), b = { class: "nav-menu__category nav-menu-lvl-2" }, x = /*#__PURE__*/ e({
|
|
41
|
+
__name: "nav-menu-lvl-2",
|
|
42
|
+
props: { categories: {
|
|
43
|
+
type: Array,
|
|
44
|
+
default: () => []
|
|
45
|
+
} },
|
|
46
|
+
setup(e) {
|
|
47
|
+
return (n, s) => {
|
|
48
|
+
let l = f("router-link");
|
|
49
|
+
return c(), r("ul", b, [(c(!0), r(t, null, u(e.categories, (e, t) => (c(), r("li", {
|
|
50
|
+
key: t,
|
|
51
|
+
class: "typo-body-1 nav-menu__option nav-menu__item nav-menu-lvl-2--inner"
|
|
52
|
+
}, [s[0] ||= i("span", { class: "nav-menu-lvl-2__indicator" }, null, -1), o(l, {
|
|
53
|
+
to: e.route,
|
|
54
|
+
class: "nav-menu-lvl-2__link"
|
|
55
|
+
}, {
|
|
56
|
+
default: h(() => [a(p(e.name), 1)], void 0, !0),
|
|
57
|
+
_: 2
|
|
58
|
+
}, 1032, ["to"])]))), 128))]);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
}, [["__scopeId", "data-v-d3104e61"]]), S = { class: "wt-navigation-menu" }, C = { class: "wt-navigation-menu__wrapper" }, w = /*#__PURE__*/ e({
|
|
62
|
+
__name: "wt-navigation-menu",
|
|
63
|
+
props: {
|
|
64
|
+
nav: {
|
|
65
|
+
type: Array,
|
|
66
|
+
required: !0
|
|
67
|
+
},
|
|
68
|
+
icons: {
|
|
69
|
+
type: Array,
|
|
70
|
+
default: () => []
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
setup(e) {
|
|
74
|
+
let t = e, a = l(""), s = n(() => {
|
|
75
|
+
let e = /* @__PURE__ */ new Map();
|
|
76
|
+
return t.nav.forEach((t) => {
|
|
77
|
+
e.set(t.value, {
|
|
78
|
+
...t,
|
|
79
|
+
name: t.name
|
|
80
|
+
});
|
|
81
|
+
}), e;
|
|
82
|
+
}), u = n(() => {
|
|
83
|
+
let e = /* @__PURE__ */ new Map();
|
|
84
|
+
return t.nav.forEach((t) => {
|
|
85
|
+
if (t.subNav) {
|
|
86
|
+
let n = t.subNav.map((e) => {
|
|
87
|
+
let n = t.route ? `${t.route}/${e.route}` : e.route;
|
|
88
|
+
return {
|
|
89
|
+
...e,
|
|
90
|
+
name: e.name,
|
|
91
|
+
route: n
|
|
92
|
+
};
|
|
93
|
+
});
|
|
94
|
+
e.set(t.value, n);
|
|
95
|
+
} else e.set(t.value, []);
|
|
96
|
+
}), e;
|
|
97
|
+
}), d = n(() => Array.from(s.value.values()).filter((e) => {
|
|
98
|
+
let t = u.value.get(e.value);
|
|
99
|
+
return t && t.length > 0;
|
|
100
|
+
})), f = n(() => u.value.get(p.value?.value) || []), p = n(() => s.value.get(a.value) || d.value[0]);
|
|
101
|
+
function m(e) {
|
|
102
|
+
a.value = e.value;
|
|
103
|
+
}
|
|
104
|
+
return (t, n) => (c(), r("section", S, [i("article", C, [o(y, {
|
|
105
|
+
categories: d.value,
|
|
106
|
+
icons: e.icons,
|
|
107
|
+
selected: p.value,
|
|
108
|
+
onSelect: m
|
|
109
|
+
}, {
|
|
110
|
+
default: h(() => [o(x, {
|
|
111
|
+
categories: f.value,
|
|
112
|
+
class: "wt-navigation-menu__categories--display"
|
|
113
|
+
}, null, 8, ["categories"])], void 0, !0),
|
|
114
|
+
_: 1
|
|
115
|
+
}, 8, [
|
|
116
|
+
"categories",
|
|
117
|
+
"icons",
|
|
118
|
+
"selected"
|
|
119
|
+
]), o(x, {
|
|
120
|
+
categories: f.value,
|
|
121
|
+
class: "wt-navigation-menu__categories--hidden"
|
|
122
|
+
}, null, 8, ["categories"])])]));
|
|
123
|
+
}
|
|
124
|
+
}, [["__scopeId", "data-v-fcbc24f4"]]);
|
|
125
|
+
//#endregion
|
|
126
|
+
export { w as default };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { n as t, t as n } from "./logger-hl3ueNok.js";
|
|
3
|
+
import { Fragment as r, TransitionGroup as i, createBlock as a, createElementBlock as o, createTextVNode as s, createVNode as c, openBlock as l, renderList as u, resolveComponent as d, toDisplayString as f, withCtx as p } from "vue";
|
|
4
|
+
//#region src/components/wt-notifications-bar/wt-notifications-bar.vue
|
|
5
|
+
var m = {
|
|
6
|
+
name: "WtNotificationsBar",
|
|
7
|
+
inject: ["$eventBus"],
|
|
8
|
+
data: () => ({
|
|
9
|
+
notificationDuration: 4e3,
|
|
10
|
+
notifications: [],
|
|
11
|
+
eventBus: t
|
|
12
|
+
}),
|
|
13
|
+
created() {
|
|
14
|
+
this.$eventBus ? this.eventBus = this.$eventBus : n.warn({
|
|
15
|
+
entity: "component",
|
|
16
|
+
module: "wt-notification-bar"
|
|
17
|
+
})("no globally provided $eventBus found, using default webitel-ui eventBus"), this.eventBus.$on("notification", this.showNotification);
|
|
18
|
+
},
|
|
19
|
+
unmounted() {
|
|
20
|
+
this.eventBus.$off("notification", this.showNotification);
|
|
21
|
+
},
|
|
22
|
+
methods: {
|
|
23
|
+
showNotification(e) {
|
|
24
|
+
this.notifications.unshift(e), setTimeout(() => this.closeNotification(e), e.timeout * 1e3 || this.notificationDuration);
|
|
25
|
+
},
|
|
26
|
+
closeNotification(e) {
|
|
27
|
+
let t = this.notifications.indexOf(e);
|
|
28
|
+
this.notifications.splice(t, 1);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}, h = { class: "wt-notifications-bar wt-scrollbar" };
|
|
32
|
+
function g(e, t, n, m, g, _) {
|
|
33
|
+
let v = d("wt-notification");
|
|
34
|
+
return l(), o("aside", h, [c(i, {
|
|
35
|
+
class: "wt-notifications-bar__wrapper",
|
|
36
|
+
name: "wt-notifications-transition",
|
|
37
|
+
tag: "div"
|
|
38
|
+
}, {
|
|
39
|
+
default: p(() => [(l(!0), o(r, null, u(e.notifications, (e, t) => (l(), a(v, {
|
|
40
|
+
key: t + e.text,
|
|
41
|
+
type: e.type,
|
|
42
|
+
onClose: (t) => _.closeNotification(e)
|
|
43
|
+
}, {
|
|
44
|
+
default: p(() => [s(f(e.text), 1)], void 0, !0),
|
|
45
|
+
_: 2
|
|
46
|
+
}, 1032, ["type", "onClose"]))), 128))], void 0, !0),
|
|
47
|
+
_: 1
|
|
48
|
+
})]);
|
|
49
|
+
}
|
|
50
|
+
var _ = /*#__PURE__*/ e(m, [["render", g], ["__scopeId", "data-v-8f1de0c8"]]);
|
|
51
|
+
//#endregion
|
|
52
|
+
export { _ as default };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { computed as e, createBlock as t, createCommentVNode as n, createTextVNode as r, createVNode as i, openBlock as a, renderSlot as o, resolveComponent as s, toDisplayString as c, withCtx as l } from "vue";
|
|
2
|
+
//#region src/components/wt-page-header/wt-page-header.vue
|
|
3
|
+
var u = {
|
|
4
|
+
__name: "wt-page-header",
|
|
5
|
+
props: {
|
|
6
|
+
hidePrimary: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !1
|
|
9
|
+
},
|
|
10
|
+
hideSecondary: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !1
|
|
13
|
+
},
|
|
14
|
+
primaryText: { type: String },
|
|
15
|
+
primaryAction: { type: Function },
|
|
16
|
+
primaryDisabled: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !1
|
|
19
|
+
},
|
|
20
|
+
secondaryDisabled: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: !1
|
|
23
|
+
},
|
|
24
|
+
secondaryText: { type: String },
|
|
25
|
+
secondaryAction: { type: Function }
|
|
26
|
+
},
|
|
27
|
+
setup(u) {
|
|
28
|
+
let d = u, f = e(() => !(d.secondaryAction || d.secondaryText));
|
|
29
|
+
return (e, d) => {
|
|
30
|
+
let p = s("wt-button"), m = s("wt-headline");
|
|
31
|
+
return a(), t(m, null, {
|
|
32
|
+
"title-wrapper": l(() => [o(e.$slots, "default")]),
|
|
33
|
+
title: l(() => [o(e.$slots, "title")]),
|
|
34
|
+
actions: l(() => [
|
|
35
|
+
o(e.$slots, "actions"),
|
|
36
|
+
u.hidePrimary ? n("", !0) : o(e.$slots, "primary-action", { key: 0 }, () => [i(p, {
|
|
37
|
+
disabled: u.primaryDisabled,
|
|
38
|
+
onClick: u.primaryAction
|
|
39
|
+
}, {
|
|
40
|
+
default: l(() => [r(c(u.primaryText || e.$t("reusable.add")), 1)], void 0, !0),
|
|
41
|
+
_: 1
|
|
42
|
+
}, 8, ["disabled", "onClick"])]),
|
|
43
|
+
!u.hideSecondary && !f.value ? (a(), t(p, {
|
|
44
|
+
key: 1,
|
|
45
|
+
disabled: u.secondaryDisabled,
|
|
46
|
+
color: "secondary",
|
|
47
|
+
onClick: u.secondaryAction
|
|
48
|
+
}, {
|
|
49
|
+
default: l(() => [r(c(u.secondaryText || e.$t("reusable.close")), 1)], void 0, !0),
|
|
50
|
+
_: 1
|
|
51
|
+
}, 8, ["disabled", "onClick"])) : n("", !0)
|
|
52
|
+
]),
|
|
53
|
+
_: 3
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
//#endregion
|
|
59
|
+
export { u as default };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { t } from "./debounce-DrmECuJ2.js";
|
|
3
|
+
import { createElementBlock as n, createElementVNode as r, createVNode as i, openBlock as a, resolveComponent as o, resolveDirective as s, toDisplayString as c, withDirectives as l } from "vue";
|
|
4
|
+
//#region src/components/wt-pagination/wt-pagination.vue
|
|
5
|
+
var u = 10, d = {
|
|
6
|
+
name: "WtPagination",
|
|
7
|
+
model: {
|
|
8
|
+
prop: "size",
|
|
9
|
+
event: "change"
|
|
10
|
+
},
|
|
11
|
+
props: {
|
|
12
|
+
size: { type: [String, Number] },
|
|
13
|
+
next: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !1
|
|
16
|
+
},
|
|
17
|
+
prev: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
debounce: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
debounceDelay: {
|
|
26
|
+
type: Number,
|
|
27
|
+
default: 1e3
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
emits: [
|
|
31
|
+
"change",
|
|
32
|
+
"input",
|
|
33
|
+
"prev",
|
|
34
|
+
"next"
|
|
35
|
+
],
|
|
36
|
+
data() {
|
|
37
|
+
return { internalSize: this.size == null ? u : +this.size };
|
|
38
|
+
},
|
|
39
|
+
watch: {
|
|
40
|
+
internalSize(e) {
|
|
41
|
+
e !== null && this.changeSize(e);
|
|
42
|
+
},
|
|
43
|
+
size(e) {
|
|
44
|
+
this.internalSize = e == null ? u : +e;
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
created() {
|
|
48
|
+
this.debounce && (this.changeSize = t(this.changeSize, this.debounceDelay));
|
|
49
|
+
},
|
|
50
|
+
methods: {
|
|
51
|
+
inputHandler(e) {
|
|
52
|
+
if (e === null) {
|
|
53
|
+
this.internalSize = null, this.$nextTick(() => {
|
|
54
|
+
this.internalSize = u, this.$emit("input", u);
|
|
55
|
+
});
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
let t = e >= 0 && e <= 1e3 ? e : u;
|
|
59
|
+
this.internalSize = t, this.$emit("input", t);
|
|
60
|
+
},
|
|
61
|
+
changeSize(e) {
|
|
62
|
+
this.$emit("change", e);
|
|
63
|
+
},
|
|
64
|
+
goNext() {
|
|
65
|
+
this.$emit("next");
|
|
66
|
+
},
|
|
67
|
+
goPrev() {
|
|
68
|
+
this.$emit("prev");
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}, f = { class: "wt-pagination typo-body-1" }, p = { class: "wt-pagination__size" }, m = { class: "wt-pagination__size-text" }, h = { class: "wt-pagination__page-controls" };
|
|
72
|
+
function g(e, t, u, d, g, _) {
|
|
73
|
+
let v = o("wt-input-number"), y = o("wt-icon-btn"), b = s("tooltip");
|
|
74
|
+
return a(), n("footer", f, [r("div", p, [r("div", m, c(e.$t("webitelUI.pagination.sizeText")), 1), i(v, {
|
|
75
|
+
max: 1e3,
|
|
76
|
+
min: 1,
|
|
77
|
+
"model-value": g.internalSize,
|
|
78
|
+
class: "wt-pagination__size-input",
|
|
79
|
+
"onUpdate:modelValue": _.inputHandler
|
|
80
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])]), r("div", h, [l(i(y, {
|
|
81
|
+
disabled: !u.prev,
|
|
82
|
+
class: "wt-pagination__page-control",
|
|
83
|
+
icon: "arrow-left",
|
|
84
|
+
onClick: _.goPrev
|
|
85
|
+
}, null, 8, ["disabled", "onClick"]), [[b, e.$t("webitelUI.pagination.prev")]]), l(i(y, {
|
|
86
|
+
disabled: !u.next,
|
|
87
|
+
class: "wt-pagination__page-control",
|
|
88
|
+
icon: "arrow-right",
|
|
89
|
+
onClick: _.goNext
|
|
90
|
+
}, null, 8, ["disabled", "onClick"]), [[b, e.$t("webitelUI.pagination.next")]])])]);
|
|
91
|
+
}
|
|
92
|
+
var _ = /*#__PURE__*/ e(d, [["render", g], ["__scopeId", "data-v-4183dd40"]]);
|
|
93
|
+
//#endregion
|
|
94
|
+
export { _ as default };
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
import { t as e } from "./wt-icon-pxO7IjwV.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
+
import { c as n } from "./enums-pbYAJNeb.js";
|
|
4
|
+
import { t as r } from "./wt-button-DENbrKdy.js";
|
|
5
|
+
import { n as i, t as a } from "./useVidstackSrc-DfNrFbOO.js";
|
|
6
|
+
import { t as o } from "./wt-popover-CJZH3wMl.js";
|
|
7
|
+
import { t as s } from "./wt-slider-BS3SoGht.js";
|
|
8
|
+
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, openBlock as _, ref as v, renderList as y, resolveComponent as b, toDisplayString as x, toRefs as S, unref as C, watch as w, withCtx as T } from "vue";
|
|
9
|
+
//#region src/components/_shared/settings-panel/components/speed-settings/speed-settings.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var E = { class: "speed-settings" }, D = { class: "speed-settings__controls" }, O = { class: "speed-settings__label" }, k = { class: "speed-settings__presets" }, A = .25, j = 3, M = .25, N = /*#__PURE__*/ t(/* @__PURE__ */ h({
|
|
11
|
+
__name: "speed-settings",
|
|
12
|
+
props: { modelValue: { default: 1 } },
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(t, { emit: i }) {
|
|
15
|
+
let a = t, o = i, u = [
|
|
16
|
+
{
|
|
17
|
+
speed: .5,
|
|
18
|
+
icon: "playback-0.50"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
speed: .75,
|
|
22
|
+
icon: "playback-0.75"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
speed: 1,
|
|
26
|
+
icon: "playback-1.00"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
speed: 1.5,
|
|
30
|
+
icon: "playback-1.50"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
speed: 1.75,
|
|
34
|
+
icon: "playback-1.75"
|
|
35
|
+
}
|
|
36
|
+
], d = l(() => `${a.modelValue.toFixed(2)}x`);
|
|
37
|
+
function h() {
|
|
38
|
+
let e = parseFloat((a.modelValue - M).toFixed(2));
|
|
39
|
+
o("update:modelValue", Math.max(A, e));
|
|
40
|
+
}
|
|
41
|
+
function g() {
|
|
42
|
+
let e = parseFloat((a.modelValue + M).toFixed(2));
|
|
43
|
+
o("update:modelValue", Math.min(j, e));
|
|
44
|
+
}
|
|
45
|
+
return (i, a) => (_(), f("div", E, [
|
|
46
|
+
p("div", D, [
|
|
47
|
+
m(r, {
|
|
48
|
+
size: C(n).SM,
|
|
49
|
+
disabled: t.modelValue <= A,
|
|
50
|
+
class: "speed-settings__step-button",
|
|
51
|
+
variant: "outlined",
|
|
52
|
+
color: "secondary",
|
|
53
|
+
onClick: h
|
|
54
|
+
}, {
|
|
55
|
+
default: T(() => [m(e, {
|
|
56
|
+
icon: "minus",
|
|
57
|
+
size: C(n).SM
|
|
58
|
+
}, null, 8, ["size"])]),
|
|
59
|
+
_: 1
|
|
60
|
+
}, 8, ["size", "disabled"]),
|
|
61
|
+
p("span", O, x(d.value), 1),
|
|
62
|
+
m(r, {
|
|
63
|
+
size: C(n).SM,
|
|
64
|
+
disabled: t.modelValue >= j,
|
|
65
|
+
class: "speed-settings__step-button",
|
|
66
|
+
variant: "outlined",
|
|
67
|
+
color: "secondary",
|
|
68
|
+
onClick: g
|
|
69
|
+
}, {
|
|
70
|
+
default: T(() => [m(e, {
|
|
71
|
+
icon: "plus",
|
|
72
|
+
size: C(n).SM
|
|
73
|
+
}, null, 8, ["size"])]),
|
|
74
|
+
_: 1
|
|
75
|
+
}, 8, ["size", "disabled"])
|
|
76
|
+
]),
|
|
77
|
+
m(s, {
|
|
78
|
+
class: "speed-settings__slider",
|
|
79
|
+
"model-value": t.modelValue,
|
|
80
|
+
min: A,
|
|
81
|
+
max: j,
|
|
82
|
+
step: M,
|
|
83
|
+
"onUpdate:modelValue": a[0] ||= (e) => i.$emit("update:modelValue", e)
|
|
84
|
+
}, null, 8, ["model-value"]),
|
|
85
|
+
p("div", k, [(_(), f(c, null, y(u, (t) => m(r, {
|
|
86
|
+
key: t.speed,
|
|
87
|
+
size: C(n).SM,
|
|
88
|
+
variant: "outlined",
|
|
89
|
+
class: "speed-settings__preset-button",
|
|
90
|
+
color: "secondary",
|
|
91
|
+
onClick: (e) => i.$emit("update:modelValue", t.speed)
|
|
92
|
+
}, {
|
|
93
|
+
default: T(() => [m(e, {
|
|
94
|
+
icon: t.icon,
|
|
95
|
+
size: C(n).SM
|
|
96
|
+
}, null, 8, ["icon", "size"])]),
|
|
97
|
+
_: 2
|
|
98
|
+
}, 1032, ["size", "onClick"])), 64))])
|
|
99
|
+
]));
|
|
100
|
+
}
|
|
101
|
+
}), [["__scopeId", "data-v-8544c47d"]]), P = ["onClick"], F = /*#__PURE__*/ t(/* @__PURE__ */ h({
|
|
102
|
+
__name: "settings-panel",
|
|
103
|
+
props: { modelValue: { default: () => ({ playbackRate: 1 }) } },
|
|
104
|
+
emits: ["update:modelValue"],
|
|
105
|
+
setup(e, { emit: t }) {
|
|
106
|
+
let r = e, i = t;
|
|
107
|
+
function a(e) {
|
|
108
|
+
i("update:modelValue", {
|
|
109
|
+
...r.modelValue,
|
|
110
|
+
playbackRate: e
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
return (t, r) => {
|
|
114
|
+
let i = b("wt-icon-btn");
|
|
115
|
+
return _(), u(o, { class: "settings-panel" }, {
|
|
116
|
+
activator: T(({ toggle: e }) => [p("media-button", {
|
|
117
|
+
class: "settings-panel__button",
|
|
118
|
+
onClick: e
|
|
119
|
+
}, [m(i, {
|
|
120
|
+
icon: "plyr-settings",
|
|
121
|
+
size: C(n).SM
|
|
122
|
+
}, null, 8, ["size"])], 8, P)]),
|
|
123
|
+
default: T(() => [m(N, {
|
|
124
|
+
"model-value": e.modelValue.playbackRate,
|
|
125
|
+
"onUpdate:modelValue": a
|
|
126
|
+
}, null, 8, ["model-value"])], void 0, !0),
|
|
127
|
+
_: 1
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
}), [["__scopeId", "data-v-d152dae2"]]), I = {}, L = { class: "mute-button" };
|
|
132
|
+
function R(e, t) {
|
|
133
|
+
let n = b("wt-icon");
|
|
134
|
+
return _(), f("media-mute-button", L, [m(n, {
|
|
135
|
+
type: "mute",
|
|
136
|
+
icon: "plyr-muted",
|
|
137
|
+
class: "mute-icon",
|
|
138
|
+
size: "sm"
|
|
139
|
+
}), m(n, {
|
|
140
|
+
type: "volume",
|
|
141
|
+
icon: "plyr-volume",
|
|
142
|
+
class: "volume-icon",
|
|
143
|
+
size: "sm"
|
|
144
|
+
})]);
|
|
145
|
+
}
|
|
146
|
+
var z = /*#__PURE__*/ t(I, [["render", R], ["__scopeId", "data-v-45e5719d"]]), B = { class: "play-button" }, V = /*#__PURE__*/ t(/* @__PURE__ */ h({
|
|
147
|
+
__name: "play-button",
|
|
148
|
+
setup(t) {
|
|
149
|
+
return (t, n) => (_(), f("media-play-button", B, [m(e, {
|
|
150
|
+
icon: "plyr-play",
|
|
151
|
+
type: "play",
|
|
152
|
+
class: "play-icon",
|
|
153
|
+
size: "sm"
|
|
154
|
+
}), m(e, {
|
|
155
|
+
icon: "plyr-pause",
|
|
156
|
+
type: "pause",
|
|
157
|
+
class: "pause-icon",
|
|
158
|
+
size: "sm"
|
|
159
|
+
})]));
|
|
160
|
+
}
|
|
161
|
+
}), [["__scopeId", "data-v-e6149485"]]), H = { class: "time-slider media-slider" }, U = /*#__PURE__*/ t(/* @__PURE__ */ h({
|
|
162
|
+
__name: "time-slider",
|
|
163
|
+
setup(e) {
|
|
164
|
+
return (e, t) => (_(), f("media-time-slider", H, [m(s, { class: "time-slider__slider" })]));
|
|
165
|
+
}
|
|
166
|
+
}), [["__scopeId", "data-v-e57a9871"]]), W = { class: "volume-slider media-slider" }, G = /*#__PURE__*/ t(/* @__PURE__ */ h({
|
|
167
|
+
__name: "volume-slider",
|
|
168
|
+
setup(e) {
|
|
169
|
+
return (e, t) => (_(), f("media-volume-slider", W, [m(s, { class: "volume-slider__slider" })]));
|
|
170
|
+
}
|
|
171
|
+
}), [["__scopeId", "data-v-b92a4daf"]]), K = [
|
|
172
|
+
"src",
|
|
173
|
+
"loop",
|
|
174
|
+
"autoplay",
|
|
175
|
+
"playback-rate"
|
|
176
|
+
], q = { class: "controls-group" }, J = /*#__PURE__*/ t(/* @__PURE__ */ h({
|
|
177
|
+
__name: "wt-player",
|
|
178
|
+
props: {
|
|
179
|
+
src: {},
|
|
180
|
+
id: {},
|
|
181
|
+
fileName: {},
|
|
182
|
+
autoplay: {
|
|
183
|
+
type: Boolean,
|
|
184
|
+
default: !0
|
|
185
|
+
},
|
|
186
|
+
loop: {
|
|
187
|
+
type: Boolean,
|
|
188
|
+
default: !1
|
|
189
|
+
},
|
|
190
|
+
download: {
|
|
191
|
+
type: [
|
|
192
|
+
String,
|
|
193
|
+
Function,
|
|
194
|
+
Boolean
|
|
195
|
+
],
|
|
196
|
+
default: () => (e) => e.replace("/stream", "/download")
|
|
197
|
+
},
|
|
198
|
+
resetOnEnd: {
|
|
199
|
+
type: Boolean,
|
|
200
|
+
default: !1
|
|
201
|
+
},
|
|
202
|
+
countdownTimeMode: { type: Boolean },
|
|
203
|
+
hideVolumeSlider: {
|
|
204
|
+
type: Boolean,
|
|
205
|
+
default: !1
|
|
206
|
+
},
|
|
207
|
+
hideMuteButton: {
|
|
208
|
+
type: Boolean,
|
|
209
|
+
default: !1
|
|
210
|
+
},
|
|
211
|
+
hideSettings: {
|
|
212
|
+
type: Boolean,
|
|
213
|
+
default: !1
|
|
214
|
+
},
|
|
215
|
+
closable: {
|
|
216
|
+
type: Boolean,
|
|
217
|
+
default: !0
|
|
218
|
+
},
|
|
219
|
+
position: { default: "sticky" },
|
|
220
|
+
invertTime: {
|
|
221
|
+
type: Boolean,
|
|
222
|
+
default: !0
|
|
223
|
+
},
|
|
224
|
+
resetVolume: {
|
|
225
|
+
type: Boolean,
|
|
226
|
+
default: !1
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
emits: ["initialized", "close"],
|
|
230
|
+
setup(e, { emit: t }) {
|
|
231
|
+
let r = e, o = v({ playbackRate: 1 }), { src: s } = S(r), { normalizedSrcObject: c } = a({ src: s });
|
|
232
|
+
function l() {
|
|
233
|
+
let e = typeof r.src == "string" ? r.src : r.src?.src, t = typeof r.download == "function" ? r.download(e) : r.download, n = r.src?.type.split("/").pop(), i = r.fileName || r.id || "unknown", a = document.createElement("a");
|
|
234
|
+
a.style.display = "none", a.href = t, a.download = `${i}.${n}`, document.body.appendChild(a), a.click(), document.body.removeChild(a);
|
|
235
|
+
}
|
|
236
|
+
function h(e) {
|
|
237
|
+
if (!r.resetOnEnd) return;
|
|
238
|
+
let t = e.target;
|
|
239
|
+
t.currentTime = 0;
|
|
240
|
+
}
|
|
241
|
+
function y() {
|
|
242
|
+
o.value.playbackRate = 1;
|
|
243
|
+
}
|
|
244
|
+
return w(() => r.src, () => {
|
|
245
|
+
y();
|
|
246
|
+
}), (t, a) => {
|
|
247
|
+
let s = b("wt-icon-btn");
|
|
248
|
+
return _(), f("media-player", {
|
|
249
|
+
class: g(["wt-player", `wt-player--position-${r.position}`]),
|
|
250
|
+
src: C(c),
|
|
251
|
+
loop: r.loop,
|
|
252
|
+
autoplay: e.autoplay,
|
|
253
|
+
"playback-rate": o.value.playbackRate,
|
|
254
|
+
onEnded: h
|
|
255
|
+
}, [a[2] ||= p("media-provider", null, null, -1), p("media-controls-group", q, [
|
|
256
|
+
m(V),
|
|
257
|
+
m(U),
|
|
258
|
+
m(i, { countdown: r.countdownTimeMode }, null, 8, ["countdown"]),
|
|
259
|
+
r.hideMuteButton ? d("", !0) : (_(), u(z, { key: 0 })),
|
|
260
|
+
r.hideVolumeSlider ? d("", !0) : (_(), u(G, { key: 1 })),
|
|
261
|
+
r.hideSettings ? d("", !0) : (_(), u(F, {
|
|
262
|
+
key: 2,
|
|
263
|
+
"model-value": o.value,
|
|
264
|
+
"onUpdate:modelValue": a[0] ||= (e) => o.value = e
|
|
265
|
+
}, null, 8, ["model-value"])),
|
|
266
|
+
r.download ? (_(), f("media-button", {
|
|
267
|
+
key: 3,
|
|
268
|
+
class: "download-button",
|
|
269
|
+
onClick: l
|
|
270
|
+
}, [m(s, {
|
|
271
|
+
icon: "plyr-download",
|
|
272
|
+
size: C(n).SM
|
|
273
|
+
}, null, 8, ["size"])])) : d("", !0),
|
|
274
|
+
r.closable ? (_(), f("media-button", {
|
|
275
|
+
key: 4,
|
|
276
|
+
class: "close-button",
|
|
277
|
+
onClick: a[1] ||= (e) => t.$emit("close")
|
|
278
|
+
}, [m(s, {
|
|
279
|
+
icon: "close",
|
|
280
|
+
size: C(n).SM
|
|
281
|
+
}, null, 8, ["size"])])) : d("", !0)
|
|
282
|
+
])], 42, K);
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
}), [["__scopeId", "data-v-b4642a75"]]);
|
|
286
|
+
//#endregion
|
|
287
|
+
export { J as default };
|