@webitel/ui-sdk 26.6.34 → 26.6.36
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-DFOWyAAb.js +5395 -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 +34567 -4
- package/dist/ui-sdk.umd.cjs +7748 -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-D3SBme6f.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-DagfTTIq.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-CltYZA9D.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-028o8xRF.js +104 -0
- package/dist/wt-vidstack-player-B-WSB_Be.js +7440 -0
- package/package.json +5 -5
- package/src/components/wt-multi-select/wt-multi-select.vue +3 -0
- package/src/components/wt-single-select/wt-single-select.vue +5 -0
- package/src/components/wt-table-column-select/__tests__/WtTableColumnSelect.spec.js +3 -3
- package/src/plugins/primevue/theme/components/multi-select/multi-select.js +4 -0
- package/src/plugins/primevue/theme/components/single-select/single-select.js +4 -0
- package/types/plugins/primevue/theme/components/multi-select/multi-select.d.ts +2 -0
- package/types/plugins/primevue/theme/components/single-select/single-select.d.ts +2 -0
- 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
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { V as h, a as i, b as r } from "./prod-BoQuiIB3.js";
|
|
2
|
-
const c = /,/g, a = "-->";
|
|
3
|
-
class n extends h {
|
|
4
|
-
parse(s, e) {
|
|
5
|
-
if (s === "")
|
|
6
|
-
this.c && (this.l.push(this.c), this.h.onCue?.(this.c), this.c = null), this.e = i.None;
|
|
7
|
-
else if (this.e === i.Cue)
|
|
8
|
-
this.c.text += (this.c.text ? `
|
|
9
|
-
` : "") + s;
|
|
10
|
-
else if (s.includes(a)) {
|
|
11
|
-
const t = this.q(s, e);
|
|
12
|
-
t && (this.c = new r(t[0], t[1], t[2].join(" ")), this.c.id = this.n, this.e = i.Cue);
|
|
13
|
-
}
|
|
14
|
-
this.n = s;
|
|
15
|
-
}
|
|
16
|
-
q(s, e) {
|
|
17
|
-
return super.q(s.replace(c, "."), e);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function T() {
|
|
21
|
-
return new n();
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
n as SRTParser,
|
|
25
|
-
T as default
|
|
26
|
-
};
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import { b as M, p as R } from "./prod-BoQuiIB3.js";
|
|
2
|
-
const b = /^Format:[\s\t]*/, y = /^Style:[\s\t]*/, O = /^Dialogue:[\s\t]*/, S = /[\s\t]*,[\s\t]*/, _ = /\{[^}]+\}/g, w = /\\N/g, I = /^\[(.*)[\s\t]?Styles\]$/, m = /^\[(.*)[\s\t]?Events\]$/;
|
|
3
|
-
class F {
|
|
4
|
-
h;
|
|
5
|
-
O = 0;
|
|
6
|
-
c = null;
|
|
7
|
-
l = [];
|
|
8
|
-
m = [];
|
|
9
|
-
N = null;
|
|
10
|
-
f;
|
|
11
|
-
P = {};
|
|
12
|
-
async init(t) {
|
|
13
|
-
this.h = t, t.errors && (this.f = (await import("./errors-CTL-RV3B.js")).ParseErrorBuilder);
|
|
14
|
-
}
|
|
15
|
-
parse(t, l) {
|
|
16
|
-
if (this.O)
|
|
17
|
-
switch (this.O) {
|
|
18
|
-
case 1:
|
|
19
|
-
if (t === "")
|
|
20
|
-
this.O = 0;
|
|
21
|
-
else if (y.test(t))
|
|
22
|
-
if (this.N) {
|
|
23
|
-
const e = t.replace(y, "").split(S);
|
|
24
|
-
this.S(e);
|
|
25
|
-
} else
|
|
26
|
-
this.g(this.f?.T("Style", l));
|
|
27
|
-
else b.test(t) ? this.N = t.replace(b, "").split(S) : m.test(t) && (this.N = null, this.O = 2);
|
|
28
|
-
break;
|
|
29
|
-
case 2:
|
|
30
|
-
if (t === "")
|
|
31
|
-
this.Q();
|
|
32
|
-
else if (O.test(t))
|
|
33
|
-
if (this.Q(), this.N) {
|
|
34
|
-
const e = t.replace(O, "").split(S), s = this.U(e, l);
|
|
35
|
-
s && (this.c = s);
|
|
36
|
-
} else
|
|
37
|
-
this.g(this.f?.T("Dialogue", l));
|
|
38
|
-
else this.c ? this.c.text += `
|
|
39
|
-
` + t.replace(_, "").replace(w, `
|
|
40
|
-
`) : b.test(t) ? this.N = t.replace(b, "").split(S) : I.test(t) ? (this.N = null, this.O = 1) : m.test(t) && (this.N = null);
|
|
41
|
-
}
|
|
42
|
-
else t === "" || (I.test(t) ? (this.N = null, this.O = 1) : m.test(t) && (this.N = null, this.O = 2));
|
|
43
|
-
}
|
|
44
|
-
done() {
|
|
45
|
-
return {
|
|
46
|
-
metadata: {},
|
|
47
|
-
cues: this.l,
|
|
48
|
-
regions: [],
|
|
49
|
-
errors: this.m
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
Q() {
|
|
53
|
-
this.c && (this.l.push(this.c), this.h.onCue?.(this.c), this.c = null);
|
|
54
|
-
}
|
|
55
|
-
S(t) {
|
|
56
|
-
let l = "Default", e = {}, s, a = "center", r = "bottom", g, o = 1.2, c, h, n = 3, f = [];
|
|
57
|
-
for (let u = 0; u < this.N.length; u++) {
|
|
58
|
-
const x = this.N[u], i = t[u];
|
|
59
|
-
switch (x) {
|
|
60
|
-
case "Name":
|
|
61
|
-
l = i;
|
|
62
|
-
break;
|
|
63
|
-
case "Fontname":
|
|
64
|
-
e["font-family"] = i;
|
|
65
|
-
break;
|
|
66
|
-
case "Fontsize":
|
|
67
|
-
e["font-size"] = `calc(${i} / var(--overlay-height))`;
|
|
68
|
-
break;
|
|
69
|
-
case "PrimaryColour":
|
|
70
|
-
const T = k(i);
|
|
71
|
-
T && (e["--cue-color"] = T);
|
|
72
|
-
break;
|
|
73
|
-
case "BorderStyle":
|
|
74
|
-
n = parseInt(i, 10);
|
|
75
|
-
break;
|
|
76
|
-
case "BackColour":
|
|
77
|
-
h = k(i);
|
|
78
|
-
break;
|
|
79
|
-
case "OutlineColour":
|
|
80
|
-
const E = k(i);
|
|
81
|
-
E && (c = E);
|
|
82
|
-
break;
|
|
83
|
-
case "Bold":
|
|
84
|
-
parseInt(i) && (e["font-weight"] = "bold");
|
|
85
|
-
break;
|
|
86
|
-
case "Italic":
|
|
87
|
-
parseInt(i) && (e["font-style"] = "italic");
|
|
88
|
-
break;
|
|
89
|
-
case "Underline":
|
|
90
|
-
parseInt(i) && (e["text-decoration"] = "underline");
|
|
91
|
-
break;
|
|
92
|
-
case "StrikeOut":
|
|
93
|
-
parseInt(i) && (e["text-decoration"] = "line-through");
|
|
94
|
-
break;
|
|
95
|
-
case "Spacing":
|
|
96
|
-
e["letter-spacing"] = i + "px";
|
|
97
|
-
break;
|
|
98
|
-
case "AlphaLevel":
|
|
99
|
-
e.opacity = parseFloat(i);
|
|
100
|
-
break;
|
|
101
|
-
case "ScaleX":
|
|
102
|
-
f.push(`scaleX(${parseFloat(i) / 100})`);
|
|
103
|
-
break;
|
|
104
|
-
case "ScaleY":
|
|
105
|
-
f.push(`scaleY(${parseFloat(i) / 100})`);
|
|
106
|
-
break;
|
|
107
|
-
case "Angle":
|
|
108
|
-
f.push(`rotate(${i}deg)`);
|
|
109
|
-
break;
|
|
110
|
-
case "Shadow":
|
|
111
|
-
o = parseInt(i, 10) * 1.2;
|
|
112
|
-
break;
|
|
113
|
-
case "MarginL":
|
|
114
|
-
e["--cue-width"] = "auto", e["--cue-left"] = parseFloat(i) + "px";
|
|
115
|
-
break;
|
|
116
|
-
case "MarginR":
|
|
117
|
-
e["--cue-width"] = "auto", e["--cue-right"] = parseFloat(i) + "px";
|
|
118
|
-
break;
|
|
119
|
-
case "MarginV":
|
|
120
|
-
g = parseFloat(i);
|
|
121
|
-
break;
|
|
122
|
-
case "Outline":
|
|
123
|
-
s = parseInt(i, 10);
|
|
124
|
-
break;
|
|
125
|
-
case "Alignment":
|
|
126
|
-
const d = parseInt(i, 10);
|
|
127
|
-
switch (d >= 4 && (r = d >= 7 ? "top" : "center"), d % 3) {
|
|
128
|
-
case 1:
|
|
129
|
-
a = "start";
|
|
130
|
-
break;
|
|
131
|
-
case 2:
|
|
132
|
-
a = "center";
|
|
133
|
-
break;
|
|
134
|
-
case 3:
|
|
135
|
-
a = "end";
|
|
136
|
-
break;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
if (e.R = r, e["--cue-white-space"] = "normal", e["--cue-line-height"] = "normal", e["--cue-text-align"] = a, r === "center" ? (e["--cue-top"] = "50%", f.push("translateY(-50%)")) : e[`--cue-${r}`] = (g || 0) + "px", n === 1 && (e["--cue-padding-y"] = "0"), (n === 1 || h) && (e["--cue-bg-color"] = n === 1 ? "none" : h), n === 3 && c && (e["--cue-outline"] = `${s}px solid ${c}`), n === 1 && typeof s == "number") {
|
|
141
|
-
const u = h ?? "#000";
|
|
142
|
-
e["--cue-text-shadow"] = [
|
|
143
|
-
c && N(s * 1.2, o * 1.2, c),
|
|
144
|
-
c ? N(s * (s / 2), o * (s / 2), u) : N(s, o, u)
|
|
145
|
-
].filter(Boolean).join(", ");
|
|
146
|
-
}
|
|
147
|
-
f.length && (e["--cue-transform"] = f.join(" ")), this.P[l] = e;
|
|
148
|
-
}
|
|
149
|
-
U(t, l) {
|
|
150
|
-
const e = this.V(t), s = this.q(e.Start, e.End, l);
|
|
151
|
-
if (!s)
|
|
152
|
-
return;
|
|
153
|
-
const a = new M(s[0], s[1], ""), r = { ...this.P[e.Style] || {} }, g = e.Name ? `<v ${e.Name}>` : "", o = r.R, c = e.MarginL && parseFloat(e.MarginL), h = e.MarginR && parseFloat(e.MarginR), n = e.MarginV && parseFloat(e.MarginV);
|
|
154
|
-
return c && (r["--cue-width"] = "auto", r["--cue-left"] = c + "px"), h && (r["--cue-width"] = "auto", r["--cue-right"] = h + "px"), n && o !== "center" && (r[`--cue-${o}`] = n + "px"), a.text = g + t.slice(this.N.length - 1).join(", ").replace(_, "").replace(w, `
|
|
155
|
-
`), delete r.R, Object.keys(r).length && (a.style = r), a;
|
|
156
|
-
}
|
|
157
|
-
V(t) {
|
|
158
|
-
const l = {};
|
|
159
|
-
for (let e = 0; e < this.N.length; e++)
|
|
160
|
-
l[this.N[e]] = t[e];
|
|
161
|
-
return l;
|
|
162
|
-
}
|
|
163
|
-
q(t, l, e) {
|
|
164
|
-
const s = R(t), a = R(l);
|
|
165
|
-
if (s !== null && a !== null && a > s)
|
|
166
|
-
return [s, a];
|
|
167
|
-
s === null && this.g(this.f?.s(t, e)), a === null && this.g(this.f?.t(l, e)), s != null && a !== null && a > s && this.g(this.f?.u(s, a, e));
|
|
168
|
-
}
|
|
169
|
-
g(t) {
|
|
170
|
-
if (t) {
|
|
171
|
-
if (this.m.push(t), this.h.strict)
|
|
172
|
-
throw this.h.cancel(), t;
|
|
173
|
-
this.h.onError?.(t);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
function k(p) {
|
|
178
|
-
const t = parseInt(p.replace("&H", ""), 16);
|
|
179
|
-
if (t >= 0) {
|
|
180
|
-
const e = (t >> 24 & 255 ^ 255) / 255, s = t >> 16 & 255, a = t >> 8 & 255;
|
|
181
|
-
return "rgba(" + [t & 255, a, s, e].join(",") + ")";
|
|
182
|
-
}
|
|
183
|
-
return null;
|
|
184
|
-
}
|
|
185
|
-
function N(p, t, l) {
|
|
186
|
-
const e = Math.ceil(2 * Math.PI * p);
|
|
187
|
-
let s = "";
|
|
188
|
-
for (let a = 0; a < e; a++) {
|
|
189
|
-
const r = 2 * Math.PI * a / e;
|
|
190
|
-
s += p * Math.cos(r) + "px " + t * Math.sin(r) + "px 0 " + l + (a == e - 1 ? "" : ",");
|
|
191
|
-
}
|
|
192
|
-
return s;
|
|
193
|
-
}
|
|
194
|
-
function L() {
|
|
195
|
-
return new F();
|
|
196
|
-
}
|
|
197
|
-
export {
|
|
198
|
-
F as SSAParser,
|
|
199
|
-
L as default
|
|
200
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ref as f, watch as l } from "vue";
|
|
2
|
-
function i(o, t) {
|
|
3
|
-
const e = f(!o.value);
|
|
4
|
-
function n() {
|
|
5
|
-
e.value || (e.value = !0, t?.("opened"));
|
|
6
|
-
}
|
|
7
|
-
function u() {
|
|
8
|
-
e.value && (e.value = !1, t?.("closed"));
|
|
9
|
-
}
|
|
10
|
-
function r() {
|
|
11
|
-
e.value ? u() : n();
|
|
12
|
-
}
|
|
13
|
-
return l(o, (a) => {
|
|
14
|
-
a ? u() : n();
|
|
15
|
-
}), {
|
|
16
|
-
opened: e,
|
|
17
|
-
open: n,
|
|
18
|
-
close: u,
|
|
19
|
-
toggle: r
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
i as u
|
|
24
|
-
};
|