@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.
Files changed (176) hide show
  1. package/dist/AgentStatus.enum-C3IGHtvR.js +9 -0
  2. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  3. package/dist/caseConverters-DXegZoCt.js +27 -0
  4. package/dist/chunk-CY3AvKd6.js +20 -0
  5. package/dist/clients-A6MHYfOX.js +36118 -0
  6. package/dist/components-B4aAS7wB.js +5391 -0
  7. package/dist/composables-DnDH-KUv.js +263 -0
  8. package/dist/convertDuration-1K7fuEpO.js +8 -0
  9. package/dist/debounce-DrmECuJ2.js +128 -0
  10. package/dist/deep-copy-CQw5yeEH.js +41 -0
  11. package/dist/displayText-CtaxzaBz.js +3 -0
  12. package/dist/dist-05Bf47Wg.js +87 -0
  13. package/dist/dist-BYiYpK00.js +7 -0
  14. package/dist/dist-Dz55hlwp.js +1371 -0
  15. package/dist/engineCallFileType-D7QVFOac.js +11 -0
  16. package/dist/enums-pbYAJNeb.js +158 -0
  17. package/dist/errors-SUXKojVW.js +69 -0
  18. package/dist/floating-ui.dom-n2j9PKCB.js +842 -0
  19. package/dist/generateInstance-ppTIeLX4.js +2582 -0
  20. package/dist/isObject-Dgs_L5xI.js +11 -0
  21. package/dist/logger-hl3ueNok.js +47 -0
  22. package/dist/prod-Cp0BjuxI.js +775 -0
  23. package/dist/prod-DSuxcp5t.js +2 -0
  24. package/dist/side-channel-Cyte-MzW.js +833 -0
  25. package/dist/sortQueryAdapters-CyYXvnDN.js +14 -0
  26. package/dist/srt-parser-DdH5U08c.js +21 -0
  27. package/dist/ssa-parser-Bjs7yDD1.js +184 -0
  28. package/dist/ui-sdk.css +2 -1
  29. package/dist/ui-sdk.js +34541 -4
  30. package/dist/ui-sdk.umd.cjs +7740 -7606
  31. package/dist/useExpansion-DVdIpoOn.js +24 -0
  32. package/dist/useValidation-DG0tifBv.js +37 -0
  33. package/dist/useVidstackSrc-DfNrFbOO.js +155 -0
  34. package/dist/useWtTable-tqmVOvve.js +12 -0
  35. package/dist/vidstack-B01xzxC4-DeYSgDZy.js +7 -0
  36. package/dist/vidstack-BGSTndAW-CyKM_CM4.js +957 -0
  37. package/dist/vidstack-BQlOPwOu-ChhdffAJ.js +43 -0
  38. package/dist/vidstack-Bq6c3Bam-3dCf_D36.js +398 -0
  39. package/dist/vidstack-C2US-gSO-DeIgENrW.js +127 -0
  40. package/dist/vidstack-C9vIqaYT-C1EgPq17.js +9 -0
  41. package/dist/vidstack-CTojmhKq-D7sZJxgm.js +30 -0
  42. package/dist/vidstack-ChQTHmIQ-nTO94M6P.js +51 -0
  43. package/dist/vidstack-Ci54COQW-CAAXpwzv.js +208 -0
  44. package/dist/vidstack-D2pY00kU-DoW028io.js +70 -0
  45. package/dist/vidstack-D5EzK014-DOe01V3H.js +14 -0
  46. package/dist/vidstack-DDXt6fpN-Don_e6LS.js +42 -0
  47. package/dist/vidstack-D_-9AA6_-Dq3APB0-.js +19 -0
  48. package/dist/vidstack-Dihypf8P-ibWMCHK-.js +12 -0
  49. package/dist/vidstack-Dm1xEU9Q-VlefmrP8.js +31 -0
  50. package/dist/vidstack-DqAw8m9J-Dk1GT3Oe.js +22 -0
  51. package/dist/vidstack-audio-B58bvsna.js +23 -0
  52. package/dist/vidstack-dash-CX-LTHx3.js +332 -0
  53. package/dist/vidstack-google-cast-Co5Q_rfL.js +361 -0
  54. package/dist/vidstack-hls-CLzdTFu6.js +269 -0
  55. package/dist/vidstack-krOAtKMi-DN1WZC3p.js +30 -0
  56. package/dist/vidstack-video-XtP8iTBc.js +151 -0
  57. package/dist/vidstack-vimeo-EzzPpggD.js +386 -0
  58. package/dist/vidstack-youtube-C1_NAfWa.js +205 -0
  59. package/dist/vue-i18n-B8Px6VcD.js +2201 -0
  60. package/dist/wt-action-bar-Ba1ZJjE_.js +85 -0
  61. package/dist/wt-button-DENbrKdy.js +785 -0
  62. package/dist/wt-button-select-BnRHgJ4i.js +80 -0
  63. package/dist/wt-call-media-action-Bkyppnsm.js +42 -0
  64. package/dist/wt-chat-emoji-wdBt1XzD.js +2208 -0
  65. package/dist/wt-confirm-dialog-DCUitG2v.js +70 -0
  66. package/dist/wt-context-menu-yW52oF-2.js +89 -0
  67. package/dist/wt-copy-action-d9gVzAsB.js +38 -0
  68. package/dist/wt-datepicker-Cnbarx_j.js +5774 -0
  69. package/dist/wt-display-chip-items-CvMM8WMk.js +34 -0
  70. package/dist/wt-dual-panel-DAhTYFS_.js +49 -0
  71. package/dist/wt-dummy-CLjhRWZ6.js +59 -0
  72. package/dist/wt-error-page-vhu4lIyF.js +62 -0
  73. package/dist/wt-expand-transition-C2p9bR4j.js +39 -0
  74. package/dist/wt-expansion-card-qsxvbtZm.js +47 -0
  75. package/dist/wt-expansion-panel-C_EXvx1d.js +40 -0
  76. package/dist/wt-filters-panel-wrapper-Cc9b3aci.js +51 -0
  77. package/dist/wt-galleria-CWXKuZTD.js +224 -0
  78. package/dist/wt-icon-action-CQlZHMDB.js +100 -0
  79. package/dist/wt-icon-btn-CjjI4cgE.js +107 -0
  80. package/dist/wt-icon-pxO7IjwV.js +1026 -0
  81. package/dist/wt-inline-add-panel-B0E4Vk2l.js +43 -0
  82. package/dist/wt-navigation-menu-CenQi_-T.js +126 -0
  83. package/dist/wt-notifications-bar-Ep1QuFZi.js +52 -0
  84. package/dist/wt-page-header-CDbd4aOh.js +59 -0
  85. package/dist/wt-pagination-BA_PZPIE.js +94 -0
  86. package/dist/wt-player-uidPXSTe.js +287 -0
  87. package/dist/wt-popover-CJZH3wMl.js +98 -0
  88. package/dist/wt-screen-recordings-action-Dg7Ts2Jt.js +37 -0
  89. package/dist/wt-search-bar-CWZdvAOf.js +123 -0
  90. package/dist/wt-selection-popup-B77UY7Yu.js +79 -0
  91. package/dist/wt-send-message-popup-D0GJMGni.js +77 -0
  92. package/dist/wt-slider-BS3SoGht.js +68 -0
  93. package/dist/wt-start-page-eN1PEokc.js +86 -0
  94. package/dist/wt-status-select-A5t6Vjm4.js +101 -0
  95. package/dist/wt-stepper-B6zpd1Uh.js +41 -0
  96. package/dist/wt-table-D0FynxIE.js +364 -0
  97. package/dist/wt-table-actions-4-peSVkc.js +63 -0
  98. package/dist/wt-table-column-select-DFF6z3a3.js +100 -0
  99. package/dist/wt-tabs-DuOgj-lZ.js +60 -0
  100. package/dist/wt-time-input-CO2cop3y.js +62 -0
  101. package/dist/wt-timepicker-BltFF1QD.js +145 -0
  102. package/dist/wt-tree-ZyoPrNOl.js +1206 -0
  103. package/dist/wt-tree-table-MLET4gIv.js +221 -0
  104. package/dist/wt-type-extension-value-input-fnNxJLsq.js +104 -0
  105. package/dist/wt-vidstack-player-DLTA9mBK.js +7440 -0
  106. package/package.json +5 -5
  107. package/src/components/wt-table-column-select/__tests__/WtTableColumnSelect.spec.js +3 -3
  108. package/dist/contacts-DzLKP4GQ.js +0 -49654
  109. package/dist/displayText-Cbh4IOfM.js +0 -5
  110. package/dist/engineCallFileType-yaadA7-2.js +0 -8
  111. package/dist/errors-CTL-RV3B.js +0 -70
  112. package/dist/index-BgLoxAyu.js +0 -50
  113. package/dist/install-Cm-8fwtB.js +0 -53489
  114. package/dist/isObject-BSIwu4UO.js +0 -28
  115. package/dist/prod-BoQuiIB3.js +0 -973
  116. package/dist/srt-parser-CsN7bp5E.js +0 -26
  117. package/dist/ssa-parser-BJOOPeQF.js +0 -200
  118. package/dist/useExpansion-BrQ40HiR.js +0 -24
  119. package/dist/useVidstackSrc-DKXY5f7v.js +0 -1341
  120. package/dist/vidstack-Bq6c3Bam-BHF-0bv4.js +0 -426
  121. package/dist/vidstack-D2pY00kU-B8Mhvp0m.js +0 -136
  122. package/dist/vidstack-DDXt6fpN-D0eou9h7.js +0 -51
  123. package/dist/vidstack-D_-9AA6_-DYAfclN7.js +0 -21
  124. package/dist/vidstack-Dm1xEU9Q-CXHNvShT.js +0 -30
  125. package/dist/vidstack-DqAw8m9J-b5BHkhrw.js +0 -22
  126. package/dist/vidstack-audio-CPu_TbjK.js +0 -28
  127. package/dist/vidstack-dash-VYriMjws.js +0 -393
  128. package/dist/vidstack-google-cast-Byp1cemB.js +0 -383
  129. package/dist/vidstack-hls-DdUQcmEx.js +0 -310
  130. package/dist/vidstack-krOAtKMi-C50BTxmn.js +0 -28
  131. package/dist/vidstack-video-BpSKQ3wb.js +0 -164
  132. package/dist/vidstack-vimeo-CgVJJm06.js +0 -452
  133. package/dist/vidstack-youtube-DuES80MV.js +0 -233
  134. package/dist/wt-action-bar-TMuck-q1.js +0 -102
  135. package/dist/wt-button-select-D1NP5Xw9.js +0 -105
  136. package/dist/wt-call-media-action-BsepfSVy.js +0 -60
  137. package/dist/wt-chat-emoji-B00dUXbP.js +0 -2909
  138. package/dist/wt-confirm-dialog-1hO851Da.js +0 -92
  139. package/dist/wt-context-menu-BrzRmoDw.js +0 -104
  140. package/dist/wt-copy-action-CEMOiYzN.js +0 -60
  141. package/dist/wt-datepicker-DHqZIkg2.js +0 -5660
  142. package/dist/wt-display-chip-items-D7kEAcOo.js +0 -47
  143. package/dist/wt-dual-panel-DEWR3-k-.js +0 -66
  144. package/dist/wt-dummy-DfgxciHw.js +0 -104
  145. package/dist/wt-error-page-DUSVxkXq.js +0 -89
  146. package/dist/wt-expansion-card-B8JKBMLa.js +0 -56
  147. package/dist/wt-expansion-panel-DL3eoj_b.js +0 -54
  148. package/dist/wt-filters-panel-wrapper-CGXQiRvh.js +0 -75
  149. package/dist/wt-galleria-Bahv6Mgq.js +0 -323
  150. package/dist/wt-inline-add-panel-B4RjHVDI.js +0 -49
  151. package/dist/wt-navigation-menu-DqCXAV8E.js +0 -159
  152. package/dist/wt-notifications-bar-CRIKdVai.js +0 -79
  153. package/dist/wt-page-header-DdsnoLgd.js +0 -115
  154. package/dist/wt-pagination-C_b3WmH1.js +0 -144
  155. package/dist/wt-player-B4GWEqdu.js +0 -291
  156. package/dist/wt-popover-Di-7_rDL.js +0 -4
  157. package/dist/wt-popover.vue_vue_type_style_index_0_lang-DMDTlCgv.js +0 -81
  158. package/dist/wt-screen-recordings-action-B4OpN5kl.js +0 -54
  159. package/dist/wt-search-bar-B_0_YwCn.js +0 -144
  160. package/dist/wt-selection-popup-Boyw9_V_.js +0 -109
  161. package/dist/wt-send-message-popup-0C23Zocu.js +0 -579
  162. package/dist/wt-slider-BEkw4KGp.js +0 -4
  163. package/dist/wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js +0 -55
  164. package/dist/wt-start-page-HQMIG05a.js +0 -99
  165. package/dist/wt-status-select-H_me1xwA.js +0 -138
  166. package/dist/wt-stepper-hJxqyiyo.js +0 -65
  167. package/dist/wt-table-Du6mtkPw.js +0 -426
  168. package/dist/wt-table-actions-ah_H6LY9.js +0 -79
  169. package/dist/wt-table-column-select-C2Nbic5-.js +0 -128
  170. package/dist/wt-tabs-D4aGEd_t.js +0 -74
  171. package/dist/wt-time-input-DYiW0ijt.js +0 -42
  172. package/dist/wt-timepicker-BE8POMhF.js +0 -118
  173. package/dist/wt-tree-table-BJxaXqKl.js +0 -285
  174. package/dist/wt-tree-u0Zp8nb5.js +0 -2777
  175. package/dist/wt-type-extension-value-input-C1VlNa4K.js +0 -121
  176. package/dist/wt-vidstack-player-C1eyCEzP.js +0 -9094
@@ -0,0 +1,24 @@
1
+ import { ref as e, watch as t } from "vue";
2
+ //#region src/components/_internals/composables/useExpansion/useExpansion.ts
3
+ function n(n, r) {
4
+ let i = e(!n.value);
5
+ function a() {
6
+ i.value || (i.value = !0, r?.("opened"));
7
+ }
8
+ function o() {
9
+ i.value && (i.value = !1, r?.("closed"));
10
+ }
11
+ function s() {
12
+ i.value ? o() : a();
13
+ }
14
+ return t(n, (e) => {
15
+ e ? o() : a();
16
+ }), {
17
+ opened: i,
18
+ open: a,
19
+ close: o,
20
+ toggle: s
21
+ };
22
+ }
23
+ //#endregion
24
+ export { n as t };
@@ -0,0 +1,37 @@
1
+ import { i as e } from "./enums-pbYAJNeb.js";
2
+ import { t } from "./vue-i18n-B8Px6VcD.js";
3
+ import { computed as n, isReactive as r } from "vue";
4
+ //#region src/mixins/validationMixin/regle/useRegleValidation.ts
5
+ var i = ({ field: e }) => ({
6
+ invalid: n(() => e.value.$error),
7
+ validationText: n(() => e.value?.$errors?.at(0))
8
+ }), a = ({ field: e, customValidators: i }) => {
9
+ let { t: a } = t(), o = e, s = i;
10
+ r(o) && (o = n(() => e), s = n(() => i));
11
+ let c = n(() => !!o && !!o.value && !!Object.keys(o.value).length), l = n(() => c.value && o.value.$error);
12
+ return {
13
+ isValidation: c,
14
+ invalid: l,
15
+ validationText: n(() => {
16
+ let e = "";
17
+ if (c.value && l.value && (o.value.required?.$invalid ? e = a("validation.required") : o.value.numeric?.$invalid ? e = a("validation.numeric") : o.value.email?.$invalid ? e = a("validation.email") : o.value.gatewayHostValidator?.$invalid ? e = a("validation.gatewayHostValidator") : o.value.ipValidator?.$invalid ? e = a("validation.ipValidator") : o.value.macValidator?.$invalid ? e = a("validation.macValidator") : o.value.minValue?.$invalid ? e = a("validation.minValue", { min: o.value.minValue.$params.min }) : o.value.maxValue?.$invalid ? e = a("validation.maxValue", { max: o.value.maxValue.$params.max }) : o.value.maxLength?.$invalid ? e = a("validation.maxLength", { max: o.value.maxLength.$params.max }) : o.value.sipAccountValidator?.$invalid ? e = a("validation.sipAccountValidator") : o.value.minLength?.$invalid ? e = a("validation.minLength", { min: o.value.minLength.$params.min }) : o.value.url?.$invalid ? e = `${a("validation.url")}` : o.value.regExpValidator?.$invalid ? e = `${a("validation.regExpValidator")}` : o.value.sameAs?.$invalid ? e = `${a("validation.sameAs")}` : o.value.domainValidator?.$invalid ? e = `${a("validation.domainValidator")}` : o.value.decimalValidator?.$invalid ? e = `${a("validation.decimalValidator")} ${o.value.decimalValidator.$params.count}` : o.value.websocketValidator?.$invalid ? e = `${a("validation.websocketValidator")}` : o.value.integer?.$invalid ? e = `${a("validation.integer")}` : o.value.regex?.$invalid ? e = o.value.regex?.$message || `${a("validation.isRegExpMatched")} ${o.value.regex?.$params?.regex}` : o.value.nameAlreadyInUse?.$invalid && (e = a("validation.nameAlreadyInUse"))), s?.value) {
18
+ for (let { name: t, text: n } of s.value) o.value[t]?.$invalid && (e = n);
19
+ return e;
20
+ }
21
+ return e;
22
+ })
23
+ };
24
+ }, o = ({ v: t, customValidators: r, regleValidation: o }) => {
25
+ let { isValidation: s, invalid: c, validationText: l } = a({
26
+ field: t,
27
+ customValidators: r
28
+ }), { invalid: u, validationText: d } = i({ field: o }), f = n(() => !!o?.value), p = n(() => f.value || s.value), m = n(() => f.value ? u.value : c.value);
29
+ return {
30
+ isValidation: p,
31
+ invalid: m,
32
+ validationText: n(() => f.value ? d.value : l.value),
33
+ validationTextColor: n(() => m.value ? e.ERROR : e.SECONDARY)
34
+ };
35
+ };
36
+ //#endregion
37
+ export { o as t };
@@ -0,0 +1,155 @@
1
+ import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
+ import { D as t, I as n, R as r, ot as i } from "./vidstack-BGSTndAW-CyKM_CM4.js";
3
+ import { Fragment as a, computed as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, defineComponent as u, openBlock as d, toRef as f } from "vue";
4
+ //#region node_modules/vidstack/prod/chunks/vidstack-xMS8dnYq.js
5
+ var p = navigator?.userAgent.toLowerCase() || "", m = /iphone|ipad|ipod|ios|crios|fxios/i.test(p), h = /(iphone|ipod)/gi.test(navigator?.platform || ""), g = !!window.chrome, _ = !!window.safari || m;
6
+ function v() {
7
+ return y() && t(screen.orientation.unlock);
8
+ }
9
+ function y() {
10
+ return !r(window.screen.orientation) && !r(window.screen.orientation.lock);
11
+ }
12
+ function b(e, t) {
13
+ return e ||= document.createElement("audio"), e.canPlayType(t).length > 0;
14
+ }
15
+ function x(e, t) {
16
+ return e ||= document.createElement("video"), e.canPlayType(t).length > 0;
17
+ }
18
+ function S(e) {
19
+ return e ||= document.createElement("video"), e.canPlayType("application/vnd.apple.mpegurl").length > 0;
20
+ }
21
+ function C(e) {
22
+ return !!document.pictureInPictureEnabled && !e?.disablePictureInPicture;
23
+ }
24
+ function w(e) {
25
+ return t(e?.webkitSupportsPresentationMode) && t(e?.webkitSetPresentationMode);
26
+ }
27
+ async function T() {
28
+ let e = document.createElement("video");
29
+ return e.volume = .5, await i(0), e.volume === .5;
30
+ }
31
+ function E() {
32
+ return window?.ManagedMediaSource ?? window?.MediaSource ?? window?.WebKitMediaSource;
33
+ }
34
+ function D() {
35
+ return window?.SourceBuffer ?? window?.WebKitSourceBuffer;
36
+ }
37
+ function O() {
38
+ let e = E();
39
+ if (r(e)) return !1;
40
+ let n = e && t(e.isTypeSupported) && e.isTypeSupported("video/mp4; codecs=\"avc1.42E01E,mp4a.40.2\""), i = D(), a = r(i) || !r(i.prototype) && t(i.prototype.appendBuffer) && t(i.prototype.remove);
41
+ return !!n && !!a;
42
+ }
43
+ function k() {
44
+ return O();
45
+ }
46
+ var A = /\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx|flac)($|\?)/i, j = /* @__PURE__ */ new Set([
47
+ "audio/mpeg",
48
+ "audio/ogg",
49
+ "audio/3gp",
50
+ "audio/mp3",
51
+ "audio/webm",
52
+ "audio/flac",
53
+ "audio/m4a",
54
+ "audio/m4b",
55
+ "audio/mp4a",
56
+ "audio/mp4"
57
+ ]), M = /\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i, N = /* @__PURE__ */ new Set([
58
+ "video/mp4",
59
+ "video/webm",
60
+ "video/3gp",
61
+ "video/ogg",
62
+ "video/avi",
63
+ "video/mpeg"
64
+ ]), P = /\.(m3u8)($|\?)/i, F = /\.(mpd)($|\?)/i, I = /* @__PURE__ */ new Set([
65
+ "application/vnd.apple.mpegurl",
66
+ "audio/mpegurl",
67
+ "audio/x-mpegurl",
68
+ "application/x-mpegurl",
69
+ "video/x-mpegurl",
70
+ "video/mpegurl",
71
+ "application/mpegurl"
72
+ ]), L = /* @__PURE__ */ new Set(["application/dash+xml"]);
73
+ function R({ src: e, type: t }) {
74
+ return n(e) ? A.test(e) || j.has(t) || e.startsWith("blob:") && t === "audio/object" : t === "audio/object";
75
+ }
76
+ function z(e) {
77
+ return n(e.src) ? M.test(e.src) || N.has(e.type) || e.src.startsWith("blob:") && e.type === "video/object" || B(e) && S() : e.type === "video/object";
78
+ }
79
+ function B({ src: e, type: t }) {
80
+ return n(e) && P.test(e) || I.has(t);
81
+ }
82
+ function V({ src: e, type: t }) {
83
+ return n(e) && F.test(e) || L.has(t);
84
+ }
85
+ function H(e) {
86
+ return n(e.src) && (R(e) || z(e) || B(e));
87
+ }
88
+ function U(e) {
89
+ return window.MediaStream !== void 0 && e instanceof window.MediaStream;
90
+ }
91
+ //#endregion
92
+ //#region src/components/wt-vidstack-player/components/panels/playback-controls-panel/components/time-group.vue?vue&type=script&setup=true&lang.ts
93
+ var W = { class: "time-group" }, G = {
94
+ key: 0,
95
+ type: "current",
96
+ remainder: ""
97
+ }, K = /*#__PURE__*/ e(/* @__PURE__ */ u({
98
+ __name: "time-group",
99
+ props: { countdown: {
100
+ type: Boolean,
101
+ default: !1
102
+ } },
103
+ setup(e) {
104
+ let t = e;
105
+ return (e, n) => (d(), s("div", W, [t.countdown ? (d(), s("media-time", G)) : (d(), s(a, { key: 1 }, [
106
+ n[0] ||= c("media-time", { type: "current" }, null, -1),
107
+ n[1] ||= l(" / ", -1),
108
+ n[2] ||= c("media-time", { type: "duration" }, null, -1)
109
+ ], 64))]));
110
+ }
111
+ }), [["__scopeId", "data-v-c80a48e6"]]);
112
+ //#endregion
113
+ //#region src/components/wt-vidstack-player/utils/normalizeVidstackMediaSrc.ts
114
+ function q({ src: e, type: t }) {
115
+ return R({
116
+ src: e,
117
+ type: t
118
+ }) || z({
119
+ src: e,
120
+ type: t
121
+ }) || J({
122
+ src: e,
123
+ type: t
124
+ }) ? {
125
+ src: e,
126
+ type: t
127
+ } : t?.includes("audio") ? {
128
+ src: e,
129
+ type: "audio/mp3"
130
+ } : t?.includes("video") ? {
131
+ src: e,
132
+ type: "video/mp4"
133
+ } : {
134
+ src: e,
135
+ type: t
136
+ };
137
+ }
138
+ function J({ type: e }) {
139
+ return e?.includes("/object");
140
+ }
141
+ //#endregion
142
+ //#region src/components/wt-vidstack-player/composables/useVidstackSrc.ts
143
+ var Y = ({ src: e, type: t, stream: n }) => {
144
+ let r = f(e), i = f(t), a = f(n), s = o(() => a.value ? "video/object" : i.value || r.value?.type), c = o(() => {
145
+ if (a.value) return a.value;
146
+ let e = typeof r.value == "string" ? r.value : r.value?.src;
147
+ return e instanceof Blob ? e : e?.replace("/download", "/stream");
148
+ });
149
+ return { normalizedSrcObject: o(() => q({
150
+ src: c.value,
151
+ type: s.value
152
+ })) };
153
+ };
154
+ //#endregion
155
+ export { k as _, h as a, U as b, H as c, S as d, x as f, V as g, R as h, m as i, v as l, w as m, K as n, _ as o, C as p, g as r, T as s, Y as t, b as u, B as v, z as x, O as y };
@@ -0,0 +1,12 @@
1
+ import { t as e } from "./vue-i18n-B8Px6VcD.js";
2
+ import { computed as t, unref as n } from "vue";
3
+ //#region src/components/_internals/composables/useWtTable/useWtTable.ts
4
+ var r = ({ headers: r }) => {
5
+ let { t: i } = e();
6
+ return { tableHeaders: t(() => (n(r) ?? []).filter((e) => e.show === void 0 || e.show).map((e) => !e.text && e.locale ? {
7
+ ...e,
8
+ text: typeof e.locale == "string" ? i(e.locale) : i(...e.locale)
9
+ } : e)) };
10
+ };
11
+ //#endregion
12
+ export { r as t };
@@ -0,0 +1,7 @@
1
+ //#region node_modules/vidstack/prod/chunks/vidstack-B01xzxC4.js
2
+ var e = {
3
+ setAuto: Symbol(0),
4
+ enableAuto: Symbol(0)
5
+ };
6
+ //#endregion
7
+ export { e as t };