bilitoolkit-ui 0.1.1 → 0.1.2
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/bilitoolkit-ui.css +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +900 -834
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { defineStore as
|
|
3
|
-
import { defaultAppThemeState as
|
|
1
|
+
import { reactive as xe, watch as J, ref as E, onMounted as ee, onUnmounted as re, computed as C, toValue as Z, shallowRef as $t, useTemplateRef as te, onBeforeUnmount as Ze, defineComponent as S, withDirectives as G, openBlock as r, createElementBlock as f, createElementVNode as a, vShow as ce, toDisplayString as m, createApp as De, renderSlot as P, normalizeClass as W, createVNode as v, createCommentVNode as $, useModel as ye, createBlock as b, withCtx as d, unref as h, createTextVNode as k, mergeModels as X, Fragment as L, renderList as q, normalizeStyle as fe, toRaw as zt, render as _e, useCssVars as Dt, mergeProps as Y, normalizeProps as It, guardReactiveProps as Pt, withModifiers as Ee, nextTick as ue, useSlots as We, useAttrs as Vt, h as Mt } from "vue";
|
|
2
|
+
import { defineStore as Ge, storeToRefs as Qt } from "pinia";
|
|
3
|
+
import { defaultAppThemeState as Je, APP_THEME_STATE as Le, UI_DB_KEYS as Fe } from "./common.js";
|
|
4
4
|
import { setupToolkitApi as Tt } from "bilitoolkit-runtime";
|
|
5
|
-
import
|
|
5
|
+
import Ke from "lodash-es/cloneDeep";
|
|
6
6
|
import "element-plus/theme-chalk/dark/css-vars.css";
|
|
7
7
|
import "element-plus/theme-chalk/el-loading.css";
|
|
8
8
|
import "element-plus/theme-chalk/el-message.css";
|
|
9
9
|
import "element-plus/theme-chalk/el-message-box.css";
|
|
10
|
-
import { ElMessageBox as Ht, ElMessage as
|
|
11
|
-
import { BiliApiBusinessError as
|
|
12
|
-
import { isCanceledError as Zt, getErrorMessage as Wt, createAbortError as
|
|
13
|
-
import { AppError as es, downloadTaskStatusMap as
|
|
14
|
-
import { ElLoadingDirective as
|
|
10
|
+
import { ElMessageBox as Ht, ElMessage as Rt } from "element-plus";
|
|
11
|
+
import { BiliApiBusinessError as Lt, BiliClient as Ft, audioQualityMap as Ut, videoQualityMap as Ot, videoCodecIdMap as qt, parseVideoZoneV1 as jt, parseVideoZoneV2 as Nt } from "@ybgnb/bili-api";
|
|
12
|
+
import { isCanceledError as Zt, getErrorMessage as Wt, createAbortError as Ye, serializeError as Gt, getFormattedDateTime as Jt, unwrapBizResult as Kt, inArray as Yt, formatFileSizeFromKB as Xt, formatDuration as Ie, formatTime as he } from "@ybgnb/utils";
|
|
13
|
+
import { AppError as es, downloadTaskStatusMap as Xe, downloadResourceNameMap as ts } from "bilitoolkit-types";
|
|
14
|
+
import { ElLoadingDirective as Pe, ElDialog as de, ElButton as K, ElRow as ss, ElCol as ls, ElInput as et, ElProgress as tt, ElIcon as Ve, ElTooltip as Me, ElPopconfirm as ns, ElMenuItem as st, ElSubMenu as as, ElMenu as os, ElPopover as is, ElDropdown as cs, ElDropdownMenu as rs, ElDropdownItem as us, ElTable as ds, ElTableColumn as vs, ElEmpty as lt, ElPagination as nt, ElCheckbox as ps, ElTag as at, ElText as ms, ElImage as ot, ElDescriptions as gs, ElDescriptionsItem as fs, ElRadioGroup as _s, ElRadioButton as hs } from "element-plus/es";
|
|
15
15
|
import "element-plus/es/components/base/style/css";
|
|
16
16
|
import "element-plus/es/components/loading/style/css";
|
|
17
17
|
import "element-plus/es/components/dialog/style/css";
|
|
@@ -43,63 +43,63 @@ import "element-plus/es/components/text/style/css";
|
|
|
43
43
|
import "element-plus/es/components/radio-group/style/css";
|
|
44
44
|
import "element-plus/es/components/radio-button/style/css";
|
|
45
45
|
const T = Tt();
|
|
46
|
-
var
|
|
46
|
+
var R = (e, l, s, t = "srgb", o) => `color-mix(in ${t}, ${e} ${s}%, ${l} ${100 - s}%)`, it = (e) => {
|
|
47
47
|
let l = parseInt(e.slice(1, 3), 16), s = parseInt(e.slice(3, 5), 16), t = parseInt(e.slice(5, 7), 16);
|
|
48
48
|
return { r: l, g: s, b: t };
|
|
49
49
|
}, ws = (e, l) => {
|
|
50
50
|
document.documentElement.style.setProperty(e, l);
|
|
51
51
|
};
|
|
52
|
-
const
|
|
53
|
-
const { r: t, g:
|
|
54
|
-
for (let
|
|
55
|
-
const c =
|
|
56
|
-
l[`${s}-transparent-${
|
|
52
|
+
const Ue = "#ffffff", Oe = "#000000", Ae = (e, l, s) => {
|
|
53
|
+
const { r: t, g: o, b: n } = it(e);
|
|
54
|
+
for (let i = 2; i < 100; ) {
|
|
55
|
+
const c = i / 100;
|
|
56
|
+
l[`${s}-transparent-${i}`] = `rgba(${t}, ${o}, ${n}, ${c})`, i >= 10 ? i += 5 : i++;
|
|
57
57
|
}
|
|
58
|
-
},
|
|
58
|
+
}, Qe = (e, l, s) => {
|
|
59
59
|
const t = {};
|
|
60
60
|
s ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
|
|
61
|
-
const
|
|
62
|
-
t["--app-primary-color"] = e, t["--el-color-primary"] = e, t["--el-color-primary-light-1"] =
|
|
63
|
-
const { r:
|
|
64
|
-
t["--app-bg-color-overlay"] = `rgba(${
|
|
65
|
-
for (const
|
|
66
|
-
ws(
|
|
67
|
-
},
|
|
61
|
+
const o = t["--app-color-foreground"] = s ? Ue : Oe, n = t["--app-color-background"] = s ? Oe : Ue;
|
|
62
|
+
t["--app-primary-color"] = e, t["--el-color-primary"] = e, t["--el-color-primary-light-1"] = R(e, n, 90), t["--el-color-primary-light-2"] = R(e, n, 80), t["--el-color-primary-light-3"] = R(e, n, 70), t["--el-color-primary-light-4"] = R(e, n, 60), t["--el-color-primary-light-5"] = R(e, n, 50), t["--el-color-primary-light-6"] = R(e, n, 40), t["--el-color-primary-light-7"] = R(e, n, 30), t["--el-color-primary-light-8"] = R(e, n, 20), t["--el-color-primary-light-9"] = R(e, n, 12), t["--el-color-primary-dark-1"] = R(e, o, 90), t["--el-color-primary-dark-2"] = R(e, o, 80), t["--el-color-primary-dark-3"] = R(e, o, 70), t["--el-color-primary-dark-4"] = R(e, o, 60), t["--el-color-primary-dark-5"] = R(e, o, 50), t["--el-color-primary-dark-6"] = R(e, o, 40), t["--el-color-primary-dark-7"] = R(e, o, 30), t["--el-color-primary-dark-8"] = R(e, o, 20), t["--el-color-primary-dark-9"] = R(e, o, 12);
|
|
63
|
+
const { r: i, g: c, b: u } = it(e);
|
|
64
|
+
t["--app-bg-color-overlay"] = `rgba(${i}, ${c}, ${u}, 0.05)`, t["--app-bg-color-overlay-hover"] = `rgba(${i}, ${c}, ${u}, 0.15)`, t["--app-bg-color-page"] = s ? "var(--el-fill-color-blank)" : "transparent", t["--app-bg-color-menus"] = "var(--app-bg-color-page)", s ? t["--app-text-shadow"] = " 0px 1px 2px rgba(255, 255, 255, .4)" : t["--app-text-shadow"] = " 0px 1px 2px rgba(0, 0, 0, .4)", Ae(e, t, "--app-color-primary"), Ae(n, t, "--app-color-background"), Ae(o, t, "--app-color-foreground");
|
|
65
|
+
for (const p in t)
|
|
66
|
+
ws(p, t[p]);
|
|
67
|
+
}, Te = async (e) => {
|
|
68
68
|
const l = e ?? (await T.system.getAppThemeState()).themeMode;
|
|
69
69
|
return l === "system" ? await T.system.shouldUseDarkColors() : l === "dark";
|
|
70
|
-
},
|
|
71
|
-
const l = e ?? await T.system.getAppThemeState(), s = await
|
|
72
|
-
|
|
73
|
-
},
|
|
74
|
-
await
|
|
75
|
-
},
|
|
76
|
-
await
|
|
77
|
-
},
|
|
78
|
-
const s =
|
|
79
|
-
s.dark = t, s.themeMode = e,
|
|
80
|
-
},
|
|
81
|
-
const s =
|
|
82
|
-
s.primaryColor = e,
|
|
83
|
-
},
|
|
70
|
+
}, we = async (e) => {
|
|
71
|
+
const l = e ?? await T.system.getAppThemeState(), s = await Te(l.themeMode);
|
|
72
|
+
Qe(l.primaryColor, l.themeMode, s);
|
|
73
|
+
}, Eo = async () => {
|
|
74
|
+
await we(void 0);
|
|
75
|
+
}, Bo = async () => {
|
|
76
|
+
await we(Je);
|
|
77
|
+
}, So = async (e) => {
|
|
78
|
+
const s = ke().state, t = await Te(e);
|
|
79
|
+
s.dark = t, s.themeMode = e, Qe(s.primaryColor, e, t);
|
|
80
|
+
}, $o = async (e) => {
|
|
81
|
+
const s = ke().state, t = await Te(s.themeMode);
|
|
82
|
+
s.primaryColor = e, Qe(e, s.themeMode, t);
|
|
83
|
+
}, ke = Ge(
|
|
84
84
|
"biliToolkit-ui-theme",
|
|
85
85
|
() => {
|
|
86
|
-
const e =
|
|
86
|
+
const e = xe(Je);
|
|
87
87
|
let l = !1;
|
|
88
|
-
const s = async (n,
|
|
88
|
+
const s = async (n, i) => {
|
|
89
89
|
const c = await window.toolkitApi.system.getAppThemeState();
|
|
90
|
-
Object.assign(e, c), await
|
|
90
|
+
Object.assign(e, c), await we(c), n && i && (l = !0, J(
|
|
91
91
|
() => e,
|
|
92
92
|
(u) => {
|
|
93
|
-
const
|
|
94
|
-
window.toolkitApi.db.write(n,
|
|
95
|
-
await window.toolkitApi.event.emit(
|
|
93
|
+
const p = Ke(u);
|
|
94
|
+
window.toolkitApi.db.write(n, p).then(async () => {
|
|
95
|
+
await window.toolkitApi.event.emit(i, p);
|
|
96
96
|
});
|
|
97
97
|
},
|
|
98
98
|
{ deep: !0 }
|
|
99
99
|
));
|
|
100
100
|
};
|
|
101
101
|
window.toolkitApi.event.onUpdateAppTheme((n) => {
|
|
102
|
-
l || Object.assign(e, n),
|
|
102
|
+
l || Object.assign(e, n), we(n).then();
|
|
103
103
|
}).catch();
|
|
104
104
|
const t = (n) => (e.primaryColor = n, e.primaryColor);
|
|
105
105
|
return { init: s, state: e, switchThemeColor: () => {
|
|
@@ -113,20 +113,20 @@ const Fe = "#ffffff", Ue = "#000000", Ae = (e, l, s) => {
|
|
|
113
113
|
persist: !1
|
|
114
114
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
115
115
|
}
|
|
116
|
-
),
|
|
117
|
-
const e =
|
|
116
|
+
), He = Ge("biliToolkit-ui-selected-user", () => {
|
|
117
|
+
const e = E(null), l = async () => {
|
|
118
118
|
try {
|
|
119
|
-
e.value = (await window.toolkitApi.db.init(
|
|
119
|
+
e.value = (await window.toolkitApi.db.init(Fe.UI_SELECTED_USER))?.user ?? null;
|
|
120
120
|
} catch {
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
|
-
return
|
|
123
|
+
return J(
|
|
124
124
|
() => e.value,
|
|
125
125
|
async (n) => {
|
|
126
|
-
let
|
|
127
|
-
await window.toolkitApi.db.write(
|
|
128
|
-
user:
|
|
129
|
-
}),
|
|
126
|
+
let i = n != null ? Ke(n) : null;
|
|
127
|
+
await window.toolkitApi.db.write(Fe.UI_SELECTED_USER, {
|
|
128
|
+
user: i
|
|
129
|
+
}), i && await window.toolkitApi.user.switchCurrUser(i);
|
|
130
130
|
},
|
|
131
131
|
{ deep: !0 }
|
|
132
132
|
), { init: l, user: e, deleteUser: () => {
|
|
@@ -137,7 +137,7 @@ const Fe = "#ffffff", Ue = "#000000", Ae = (e, l, s) => {
|
|
|
137
137
|
if (e.value == null)
|
|
138
138
|
throw new Error("请先登录");
|
|
139
139
|
} };
|
|
140
|
-
}),
|
|
140
|
+
}), zo = async (e, l) => (Promise.resolve({ }), Promise.resolve({ }), Promise.resolve({ }), await ke(e).init(l?.appThemeDBName, l?.appThemeUpdateEvent), await He(e).init(), {
|
|
141
141
|
install(s) {
|
|
142
142
|
}
|
|
143
143
|
});
|
|
@@ -150,42 +150,42 @@ function ys(e) {
|
|
|
150
150
|
function qe(e, l) {
|
|
151
151
|
return e == null ? !1 : e instanceof l || typeof e == "object" && "name" in e && e.name === l.name;
|
|
152
152
|
}
|
|
153
|
-
const
|
|
153
|
+
const Do = (e) => {
|
|
154
154
|
if (!Zt(e))
|
|
155
155
|
if (e) {
|
|
156
156
|
console.error(e);
|
|
157
157
|
const l = () => {
|
|
158
158
|
T && T.system && ys(e);
|
|
159
159
|
};
|
|
160
|
-
qe(e, es) ? ie(`${e.message}`) : qe(e,
|
|
160
|
+
qe(e, es) ? ie(`${e.message}`) : qe(e, Lt) ? (ie(`${e.message} (${e.responseCode})`), l()) : (ie(Wt(e)), l());
|
|
161
161
|
} else
|
|
162
|
-
|
|
162
|
+
se({
|
|
163
163
|
message: "未知错误",
|
|
164
164
|
type: "error"
|
|
165
165
|
});
|
|
166
166
|
};
|
|
167
|
-
function
|
|
167
|
+
function se(e) {
|
|
168
168
|
const l = {
|
|
169
169
|
message: "",
|
|
170
170
|
type: "success",
|
|
171
171
|
duration: 3e3
|
|
172
172
|
};
|
|
173
|
-
typeof e == "string" ? l.message = e : Object.assign(l, e),
|
|
173
|
+
typeof e == "string" ? l.message = e : Object.assign(l, e), Rt(l);
|
|
174
174
|
}
|
|
175
175
|
function ie(e) {
|
|
176
|
-
|
|
176
|
+
se({
|
|
177
177
|
message: e,
|
|
178
178
|
type: "error"
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
|
|
181
|
+
function Io(e) {
|
|
182
|
+
se({
|
|
183
183
|
message: e,
|
|
184
184
|
type: "warning"
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
187
|
function ks(e, l = "提示", s = {}) {
|
|
188
|
-
return new Promise((t,
|
|
188
|
+
return new Promise((t, o) => {
|
|
189
189
|
Ht.confirm(
|
|
190
190
|
e,
|
|
191
191
|
l,
|
|
@@ -202,42 +202,42 @@ function ks(e, l = "提示", s = {}) {
|
|
|
202
202
|
).then(() => {
|
|
203
203
|
t();
|
|
204
204
|
}).catch(() => {
|
|
205
|
-
|
|
205
|
+
o(Ye());
|
|
206
206
|
});
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
|
-
async function
|
|
209
|
+
async function Po(e) {
|
|
210
210
|
for (const [l, s, t] of e)
|
|
211
211
|
await ks(l, s, t);
|
|
212
212
|
}
|
|
213
|
-
const
|
|
214
|
-
const l = e?.loading ??
|
|
213
|
+
const Re = (e) => {
|
|
214
|
+
const l = e?.loading ?? E(!1);
|
|
215
215
|
let s = null;
|
|
216
|
-
const t =
|
|
216
|
+
const t = E(!1);
|
|
217
217
|
return {
|
|
218
218
|
loading: l,
|
|
219
219
|
hasLoaded: t,
|
|
220
|
-
loadingData: (n) => async (...
|
|
220
|
+
loadingData: (n) => async (...i) => (e?.singleFlight && l.value && s || (s = (async () => {
|
|
221
221
|
l.value = !0;
|
|
222
222
|
try {
|
|
223
|
-
return typeof n == "function" ? await n(...
|
|
223
|
+
return typeof n == "function" ? await n(...i) : await n;
|
|
224
224
|
} finally {
|
|
225
225
|
l.value = !1, t.value = !0, s = null;
|
|
226
226
|
}
|
|
227
227
|
})()), s)
|
|
228
228
|
};
|
|
229
|
-
},
|
|
230
|
-
const { loading: s, loadingData: t } =
|
|
229
|
+
}, Vo = (e, l = 3e3) => {
|
|
230
|
+
const { loading: s, loadingData: t } = Re({ singleFlight: !0 }), o = t(e);
|
|
231
231
|
let n = null;
|
|
232
|
-
return
|
|
233
|
-
n = setInterval(
|
|
234
|
-
}),
|
|
232
|
+
return ee(async () => {
|
|
233
|
+
n = setInterval(o, l);
|
|
234
|
+
}), re(() => {
|
|
235
235
|
n && (clearInterval(n), n = null);
|
|
236
|
-
}), { loading: s, refreshTableData:
|
|
237
|
-
n && (clearInterval(n), n = null),
|
|
236
|
+
}), { loading: s, refreshTableData: o, reset: () => {
|
|
237
|
+
n && (clearInterval(n), n = null), o(), n = setInterval(o, l);
|
|
238
238
|
} };
|
|
239
|
-
},
|
|
240
|
-
const { fetchPage: l, pageParams: s, queryParams: t, autoLoad:
|
|
239
|
+
}, ct = (e) => {
|
|
240
|
+
const { fetchPage: l, pageParams: s, queryParams: t, autoLoad: o, onLoaded: n } = e, i = C(() => {
|
|
241
241
|
const D = Z(s);
|
|
242
242
|
return {
|
|
243
243
|
pageNum: D?.pageNum ?? 1,
|
|
@@ -245,60 +245,60 @@ const He = (e) => {
|
|
|
245
245
|
totalPages: 0,
|
|
246
246
|
total: 0
|
|
247
247
|
};
|
|
248
|
-
}), c =
|
|
248
|
+
}), c = E(i.value), u = E([]), { loading: p, loadingData: g } = Re(), w = g(async () => {
|
|
249
249
|
const D = Z(t), M = {
|
|
250
250
|
pageNum: c.value.pageNum,
|
|
251
251
|
pageSize: c.value.pageSize
|
|
252
|
-
}, { data: F, ...
|
|
253
|
-
u.value = F, c.value =
|
|
252
|
+
}, { data: F, ...I } = D ? await l(M, D) : await l(M);
|
|
253
|
+
u.value = F, c.value = I, n?.();
|
|
254
254
|
}), _ = () => {
|
|
255
|
-
const { pageSize: D, ...M } =
|
|
255
|
+
const { pageSize: D, ...M } = i.value;
|
|
256
256
|
Object.assign(c.value, M);
|
|
257
|
-
},
|
|
257
|
+
}, A = async () => {
|
|
258
258
|
_(), await w();
|
|
259
259
|
}, x = async () => {
|
|
260
260
|
c.value.pageNum = 1, await w();
|
|
261
261
|
}, V = async () => {
|
|
262
262
|
await x();
|
|
263
|
-
},
|
|
263
|
+
}, B = async () => {
|
|
264
264
|
await w();
|
|
265
265
|
};
|
|
266
|
-
return
|
|
267
|
-
await
|
|
266
|
+
return o && ee(async () => {
|
|
267
|
+
await A();
|
|
268
268
|
}), {
|
|
269
269
|
pageData: c,
|
|
270
270
|
tableData: u,
|
|
271
|
-
loading:
|
|
271
|
+
loading: p,
|
|
272
272
|
refresh: w,
|
|
273
|
-
resetAndRefresh:
|
|
273
|
+
resetAndRefresh: A,
|
|
274
274
|
resetPageAndRefresh: x,
|
|
275
275
|
handleSizeChange: V,
|
|
276
|
-
handleCurrPageChange:
|
|
276
|
+
handleCurrPageChange: B
|
|
277
277
|
};
|
|
278
|
-
},
|
|
279
|
-
const t =
|
|
280
|
-
function
|
|
278
|
+
}, Mo = (e, l, s = []) => {
|
|
279
|
+
const t = $t([...s]);
|
|
280
|
+
function o(_) {
|
|
281
281
|
return t.value.includes(l(_));
|
|
282
282
|
}
|
|
283
283
|
function n(_) {
|
|
284
|
-
const
|
|
285
|
-
|
|
284
|
+
const A = l(_);
|
|
285
|
+
o(_) ? t.value = t.value.filter((x) => x !== A) : t.value = [...t.value, A];
|
|
286
286
|
}
|
|
287
|
-
const
|
|
287
|
+
const i = C(() => {
|
|
288
288
|
const _ = Z(e);
|
|
289
|
-
return _.length > 0 && _.every((
|
|
289
|
+
return _.length > 0 && _.every((A) => t.value.includes(l(A)));
|
|
290
290
|
});
|
|
291
291
|
function c() {
|
|
292
|
-
|
|
292
|
+
i.value ? t.value = [] : t.value = Z(e).map(l);
|
|
293
293
|
}
|
|
294
294
|
function u() {
|
|
295
295
|
return Z(e).filter((_) => t.value.includes(l(_)));
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function p() {
|
|
298
298
|
const _ = new Set(Z(e).map(l));
|
|
299
|
-
t.value = t.value.filter((
|
|
299
|
+
t.value = t.value.filter((A) => _.has(A));
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function g() {
|
|
302
302
|
t.value = [];
|
|
303
303
|
}
|
|
304
304
|
function w(_) {
|
|
@@ -306,36 +306,36 @@ const He = (e) => {
|
|
|
306
306
|
}
|
|
307
307
|
return {
|
|
308
308
|
selectedIds: t,
|
|
309
|
-
isSelected:
|
|
309
|
+
isSelected: o,
|
|
310
310
|
toggleSelect: n,
|
|
311
|
-
isAllSelected:
|
|
311
|
+
isAllSelected: i,
|
|
312
312
|
toggleAll: c,
|
|
313
313
|
getSelectedData: u,
|
|
314
|
-
cleanupSelected:
|
|
315
|
-
clearSelected:
|
|
314
|
+
cleanupSelected: p,
|
|
315
|
+
clearSelected: g,
|
|
316
316
|
select: w
|
|
317
317
|
};
|
|
318
|
-
},
|
|
319
|
-
const l =
|
|
318
|
+
}, bs = (e) => {
|
|
319
|
+
const l = te(e), s = E(0), t = () => {
|
|
320
320
|
l.value?.clientHeight && (s.value = l.value.clientHeight);
|
|
321
321
|
};
|
|
322
|
-
let
|
|
323
|
-
return
|
|
324
|
-
l.value && (t(),
|
|
322
|
+
let o, n = 0;
|
|
323
|
+
return ee(() => {
|
|
324
|
+
l.value && (t(), o = new ResizeObserver(() => {
|
|
325
325
|
cancelAnimationFrame(n), n = requestAnimationFrame(t);
|
|
326
|
-
}),
|
|
327
|
-
}),
|
|
328
|
-
|
|
326
|
+
}), o.observe(l.value));
|
|
327
|
+
}), re(() => {
|
|
328
|
+
o?.disconnect(), cancelAnimationFrame(n);
|
|
329
329
|
}), {
|
|
330
330
|
elementRef: l,
|
|
331
331
|
height: s,
|
|
332
332
|
updateHeight: t
|
|
333
333
|
};
|
|
334
334
|
};
|
|
335
|
-
function
|
|
336
|
-
const l =
|
|
337
|
-
let
|
|
338
|
-
const
|
|
335
|
+
function Qo(e) {
|
|
336
|
+
const l = E(!1), s = E(!1), t = E(!1);
|
|
337
|
+
let o = null, n = null;
|
|
338
|
+
const i = () => {
|
|
339
339
|
const c = Z(e);
|
|
340
340
|
if (!c) {
|
|
341
341
|
l.value = !1, s.value = !1, t.value = !1;
|
|
@@ -343,13 +343,13 @@ function Io(e) {
|
|
|
343
343
|
}
|
|
344
344
|
l.value = c.scrollWidth > c.clientWidth, s.value = c.scrollHeight > c.clientHeight, t.value = l.value || s.value;
|
|
345
345
|
};
|
|
346
|
-
return
|
|
346
|
+
return J(
|
|
347
347
|
() => Z(e),
|
|
348
348
|
(c) => {
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
}),
|
|
352
|
-
|
|
349
|
+
o?.disconnect(), n?.disconnect(), c && (i(), o = new ResizeObserver(() => {
|
|
350
|
+
i();
|
|
351
|
+
}), o.observe(c), n = new MutationObserver(() => {
|
|
352
|
+
i();
|
|
353
353
|
}), n.observe(c, {
|
|
354
354
|
childList: !0,
|
|
355
355
|
subtree: !0,
|
|
@@ -359,131 +359,131 @@ function Io(e) {
|
|
|
359
359
|
{
|
|
360
360
|
immediate: !0
|
|
361
361
|
}
|
|
362
|
-
),
|
|
363
|
-
|
|
362
|
+
), Ze(() => {
|
|
363
|
+
o?.disconnect(), n?.disconnect();
|
|
364
364
|
}), {
|
|
365
365
|
hasHorizontalScrollbar: l,
|
|
366
366
|
hasVerticalScrollbar: s,
|
|
367
367
|
hasScrollbar: t,
|
|
368
|
-
checkScrollbar:
|
|
368
|
+
checkScrollbar: i
|
|
369
369
|
};
|
|
370
370
|
}
|
|
371
|
-
const
|
|
371
|
+
const As = { class: "loading-mask el-overlay" }, Cs = { class: "loading-content" }, xs = { class: "loading-spinner" }, Es = { class: "loading-text" }, Bs = /* @__PURE__ */ S({
|
|
372
372
|
__name: "LoadingDialog",
|
|
373
373
|
setup(e, { expose: l }) {
|
|
374
|
-
const s =
|
|
374
|
+
const s = E(!1), t = E(""), o = E(!1);
|
|
375
375
|
let n;
|
|
376
|
-
const
|
|
377
|
-
typeof
|
|
376
|
+
const i = (g = {}) => {
|
|
377
|
+
typeof g == "string" ? t.value = g || "加载中" : (t.value = g.message ?? "加载中", o.value = g.showCancel ?? !1, n = g.onCancel, g?.autoCloseDelay && setTimeout(() => {
|
|
378
378
|
u();
|
|
379
|
-
},
|
|
380
|
-
}, c = (
|
|
381
|
-
t.value =
|
|
379
|
+
}, g?.autoCloseDelay)), s.value = !0;
|
|
380
|
+
}, c = (g) => {
|
|
381
|
+
t.value = g;
|
|
382
382
|
}, u = () => {
|
|
383
383
|
s.value = !1;
|
|
384
|
-
},
|
|
384
|
+
}, p = async () => {
|
|
385
385
|
await n?.(), u();
|
|
386
386
|
};
|
|
387
387
|
return l({
|
|
388
|
-
show:
|
|
388
|
+
show: i,
|
|
389
389
|
update: c,
|
|
390
390
|
close: u
|
|
391
|
-
}), (
|
|
392
|
-
const _ =
|
|
393
|
-
return
|
|
391
|
+
}), (g, w) => {
|
|
392
|
+
const _ = Pe;
|
|
393
|
+
return G((r(), f("div", As, [
|
|
394
394
|
a("div", Cs, [
|
|
395
|
-
|
|
395
|
+
G(a("div", {
|
|
396
396
|
class: "options-close-btn",
|
|
397
|
-
onClick:
|
|
397
|
+
onClick: p
|
|
398
398
|
}, null, 512), [
|
|
399
|
-
[
|
|
399
|
+
[ce, o.value]
|
|
400
400
|
]),
|
|
401
|
-
|
|
401
|
+
G(a("div", xs, null, 512), [
|
|
402
402
|
[_, !0]
|
|
403
403
|
]),
|
|
404
|
-
a("div", Es,
|
|
404
|
+
a("div", Es, m(t.value), 1)
|
|
405
405
|
])
|
|
406
406
|
], 512)), [
|
|
407
|
-
[
|
|
407
|
+
[ce, s.value]
|
|
408
408
|
]);
|
|
409
409
|
};
|
|
410
410
|
}
|
|
411
|
-
}),
|
|
411
|
+
}), H = (e, l) => {
|
|
412
412
|
const s = e.__vccOpts || e;
|
|
413
|
-
for (const [t,
|
|
414
|
-
s[t] =
|
|
413
|
+
for (const [t, o] of l)
|
|
414
|
+
s[t] = o;
|
|
415
415
|
return s;
|
|
416
|
-
}, Ss = /* @__PURE__ */
|
|
417
|
-
let
|
|
418
|
-
function
|
|
419
|
-
if (
|
|
416
|
+
}, Ss = /* @__PURE__ */ H(Bs, [["__scopeId", "data-v-3a3348da"]]);
|
|
417
|
+
let me = null;
|
|
418
|
+
function Ce() {
|
|
419
|
+
if (me) return me;
|
|
420
420
|
const e = document.createElement("div");
|
|
421
|
-
return document.body.appendChild(e),
|
|
421
|
+
return document.body.appendChild(e), me = De(Ss).mount(e), me;
|
|
422
422
|
}
|
|
423
|
-
const
|
|
423
|
+
const je = {
|
|
424
424
|
show(e) {
|
|
425
|
-
|
|
425
|
+
Ce().show(e);
|
|
426
426
|
},
|
|
427
427
|
update(e) {
|
|
428
|
-
|
|
428
|
+
Ce().update(e);
|
|
429
429
|
},
|
|
430
430
|
close() {
|
|
431
|
-
|
|
431
|
+
Ce().close();
|
|
432
432
|
}
|
|
433
|
-
},
|
|
434
|
-
const s = l?.loading ??
|
|
433
|
+
}, To = (e, l) => {
|
|
434
|
+
const s = l?.loading ?? E(!1), t = E(!1), o = He();
|
|
435
435
|
return {
|
|
436
436
|
loading: s,
|
|
437
|
-
execTask: async (...
|
|
437
|
+
execTask: async (...i) => {
|
|
438
438
|
try {
|
|
439
|
-
s.value = !0,
|
|
439
|
+
s.value = !0, o.assertLoggedIn();
|
|
440
440
|
const c = new AbortController();
|
|
441
|
-
return
|
|
441
|
+
return je.show({
|
|
442
442
|
message: l?.initMsg ?? "加载中",
|
|
443
443
|
showCancel: !l?.disableCancel,
|
|
444
444
|
onCancel: () => c.abort()
|
|
445
445
|
}), await e(
|
|
446
446
|
{
|
|
447
447
|
signal: c.signal,
|
|
448
|
-
user:
|
|
448
|
+
user: o.user
|
|
449
449
|
},
|
|
450
|
-
...
|
|
450
|
+
...i
|
|
451
451
|
);
|
|
452
452
|
} finally {
|
|
453
|
-
|
|
453
|
+
je.close(), s.value = !1;
|
|
454
454
|
}
|
|
455
455
|
},
|
|
456
456
|
isAborted: t
|
|
457
457
|
};
|
|
458
|
-
}, $s = { class: "setting-group" }, zs = { class: "setting-group__name" }, Ds = { class: "setting-group__list" },
|
|
458
|
+
}, $s = { class: "setting-group" }, zs = { class: "setting-group__name" }, Ds = { class: "setting-group__list" }, Ho = /* @__PURE__ */ S({
|
|
459
459
|
__name: "SettingGroup",
|
|
460
460
|
props: {
|
|
461
461
|
name: {}
|
|
462
462
|
},
|
|
463
463
|
setup(e) {
|
|
464
464
|
const l = e;
|
|
465
|
-
return (s, t) => (r(),
|
|
466
|
-
a("div", zs,
|
|
465
|
+
return (s, t) => (r(), f("div", $s, [
|
|
466
|
+
a("div", zs, m(l.name), 1),
|
|
467
467
|
a("div", Ds, [
|
|
468
|
-
|
|
468
|
+
P(s.$slots, "default")
|
|
469
469
|
])
|
|
470
470
|
]));
|
|
471
471
|
}
|
|
472
|
-
}), N = /* @__PURE__ */
|
|
472
|
+
}), N = /* @__PURE__ */ S({
|
|
473
473
|
__name: "AppIcon",
|
|
474
474
|
props: {
|
|
475
475
|
icon: {}
|
|
476
476
|
},
|
|
477
477
|
setup(e) {
|
|
478
|
-
const l = e, s =
|
|
479
|
-
return (
|
|
480
|
-
class:
|
|
478
|
+
const l = e, s = ke(), t = C(() => s.state.dark ? `ri-${l.icon}-fill` : `ri-${l.icon}-line`);
|
|
479
|
+
return (o, n) => (r(), f("i", {
|
|
480
|
+
class: W([t.value, "icon-font"])
|
|
481
481
|
}, null, 2));
|
|
482
482
|
}
|
|
483
|
-
}),
|
|
483
|
+
}), Is = { class: "setting-item" }, Ps = { class: "setting-item__content" }, Vs = { class: "setting-item__content__title" }, Ms = {
|
|
484
484
|
key: 0,
|
|
485
485
|
class: "setting-item__content__desc"
|
|
486
|
-
}, Qs = { class: "setting-item__options" }, Ts = /* @__PURE__ */
|
|
486
|
+
}, Qs = { class: "setting-item__options" }, Ts = /* @__PURE__ */ S({
|
|
487
487
|
__name: "SettingItem",
|
|
488
488
|
props: {
|
|
489
489
|
title: {},
|
|
@@ -491,38 +491,38 @@ const Oe = {
|
|
|
491
491
|
iconClass: {}
|
|
492
492
|
},
|
|
493
493
|
setup(e) {
|
|
494
|
-
const l = e, s =
|
|
495
|
-
return (t,
|
|
494
|
+
const l = e, s = E("equalizer-2");
|
|
495
|
+
return (t, o) => {
|
|
496
496
|
const n = N;
|
|
497
|
-
return r(),
|
|
497
|
+
return r(), f("div", Is, [
|
|
498
498
|
v(n, {
|
|
499
499
|
class: "setting-item__icon",
|
|
500
500
|
icon: l.iconClass || s.value
|
|
501
501
|
}, null, 8, ["icon"]),
|
|
502
|
-
a("div",
|
|
503
|
-
a("div", Vs,
|
|
504
|
-
l.desc ? (r(),
|
|
502
|
+
a("div", Ps, [
|
|
503
|
+
a("div", Vs, m(l.title), 1),
|
|
504
|
+
l.desc ? (r(), f("div", Ms, m(l.desc), 1)) : $("", !0)
|
|
505
505
|
]),
|
|
506
506
|
a("div", Qs, [
|
|
507
|
-
|
|
507
|
+
P(t.$slots, "default", {}, void 0, !0)
|
|
508
508
|
])
|
|
509
509
|
]);
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
|
-
}),
|
|
512
|
+
}), Ro = /* @__PURE__ */ H(Ts, [["__scopeId", "data-v-bb581bf5"]]);
|
|
513
513
|
function Hs(e) {
|
|
514
|
-
const l =
|
|
514
|
+
const l = E(e), s = E(null), t = (n) => {
|
|
515
515
|
l.value = e, s.value = setInterval(() => {
|
|
516
|
-
l.value > 1 ? l.value-- : (
|
|
516
|
+
l.value > 1 ? l.value-- : (o(), n());
|
|
517
517
|
}, 1e3);
|
|
518
|
-
},
|
|
518
|
+
}, o = () => {
|
|
519
519
|
s.value && (clearInterval(s.value), s.value = null);
|
|
520
520
|
};
|
|
521
|
-
return
|
|
521
|
+
return re(o), { countdown: l, start: t, stop: o };
|
|
522
522
|
}
|
|
523
|
-
const
|
|
523
|
+
const Rs = { class: "dialog-footer" }, Lo = /* @__PURE__ */ S({
|
|
524
524
|
__name: "CountdownDialog",
|
|
525
|
-
props: /* @__PURE__ */
|
|
525
|
+
props: /* @__PURE__ */ X({
|
|
526
526
|
content: {},
|
|
527
527
|
countdown: {},
|
|
528
528
|
title: { default: "提示" },
|
|
@@ -533,22 +533,22 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
533
533
|
modelValue: { type: Boolean, required: !0 },
|
|
534
534
|
modelModifiers: {}
|
|
535
535
|
}),
|
|
536
|
-
emits: /* @__PURE__ */
|
|
536
|
+
emits: /* @__PURE__ */ X(["onConfirm", "onCancel"], ["update:modelValue"]),
|
|
537
537
|
setup(e, { expose: l, emit: s }) {
|
|
538
|
-
const t = e,
|
|
539
|
-
let
|
|
540
|
-
const
|
|
541
|
-
|
|
542
|
-
}, w = () =>
|
|
543
|
-
|
|
538
|
+
const t = e, o = ye(e, "modelValue"), n = s, { countdown: i, start: c, stop: u } = Hs(t.countdown);
|
|
539
|
+
let p = !1;
|
|
540
|
+
const g = (x) => {
|
|
541
|
+
p || (p = !0, u(), n(x === "confirm" ? "onConfirm" : "onCancel", x), o.value = !1, p = !1);
|
|
542
|
+
}, w = () => g("confirm"), _ = () => g("cancel"), A = () => {
|
|
543
|
+
o.value = !0, c(_);
|
|
544
544
|
};
|
|
545
|
-
return
|
|
545
|
+
return J(o, (x, V) => {
|
|
546
546
|
x && !V && c(_);
|
|
547
|
-
}), l({ show:
|
|
548
|
-
const
|
|
549
|
-
return r(),
|
|
550
|
-
modelValue:
|
|
551
|
-
"onUpdate:modelValue": V[0] || (V[0] = (M) =>
|
|
547
|
+
}), l({ show: A }), (x, V) => {
|
|
548
|
+
const B = K, D = de;
|
|
549
|
+
return r(), b(D, {
|
|
550
|
+
modelValue: o.value,
|
|
551
|
+
"onUpdate:modelValue": V[0] || (V[0] = (M) => o.value = M),
|
|
552
552
|
title: e.title,
|
|
553
553
|
width: e.width,
|
|
554
554
|
"close-on-click-modal": !1,
|
|
@@ -557,36 +557,36 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
557
557
|
"append-to-body": !0
|
|
558
558
|
}, {
|
|
559
559
|
footer: d(() => [
|
|
560
|
-
a("div",
|
|
561
|
-
v(
|
|
560
|
+
a("div", Rs, [
|
|
561
|
+
v(B, { onClick: _ }, {
|
|
562
562
|
default: d(() => [
|
|
563
|
-
k(
|
|
563
|
+
k(m(e.cancelBtnText) + "(" + m(h(i)) + "s)", 1)
|
|
564
564
|
]),
|
|
565
565
|
_: 1
|
|
566
566
|
}),
|
|
567
|
-
v(
|
|
567
|
+
v(B, {
|
|
568
568
|
type: "primary",
|
|
569
|
-
disabled: h(
|
|
569
|
+
disabled: h(i) <= 0,
|
|
570
570
|
onClick: w
|
|
571
571
|
}, {
|
|
572
572
|
default: d(() => [
|
|
573
|
-
k(
|
|
573
|
+
k(m(e.confirmBtnText), 1)
|
|
574
574
|
]),
|
|
575
575
|
_: 1
|
|
576
576
|
}, 8, ["disabled"])
|
|
577
577
|
])
|
|
578
578
|
]),
|
|
579
579
|
default: d(() => [
|
|
580
|
-
a("div", null,
|
|
581
|
-
a("div", null,
|
|
580
|
+
a("div", null, m(e.content), 1),
|
|
581
|
+
a("div", null, m(h(i)) + "秒后自动取消", 1)
|
|
582
582
|
]),
|
|
583
583
|
_: 1
|
|
584
584
|
}, 8, ["modelValue", "title", "width"]);
|
|
585
585
|
};
|
|
586
586
|
}
|
|
587
|
-
}),
|
|
587
|
+
}), Ls = { class: "select-dialog" }, Fs = ["onClick"], Us = { class: "option-item-label" }, Os = { key: 0 }, qs = { key: 1 }, js = /* @__PURE__ */ S({
|
|
588
588
|
__name: "SelectDialog",
|
|
589
|
-
props: /* @__PURE__ */
|
|
589
|
+
props: /* @__PURE__ */ X({
|
|
590
590
|
title: { default: "请选择" },
|
|
591
591
|
options: {},
|
|
592
592
|
defaultSelectedList: { default: () => [] },
|
|
@@ -602,51 +602,51 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
602
602
|
modelValue: { type: Boolean, required: !0 },
|
|
603
603
|
modelModifiers: {}
|
|
604
604
|
}),
|
|
605
|
-
emits: /* @__PURE__ */
|
|
605
|
+
emits: /* @__PURE__ */ X(["confirm"], ["update:modelValue"]),
|
|
606
606
|
setup(e, { emit: l }) {
|
|
607
|
-
const s = e, t =
|
|
607
|
+
const s = e, t = ye(e, "modelValue"), o = xe([]), n = xe([]), i = E(0), c = te("listRef"), { loading: u, loadingData: p } = Re(), g = E(!1), w = p(async (y) => {
|
|
608
608
|
n.splice(0, n.length, ...s.defaultSelectedList);
|
|
609
|
-
let
|
|
609
|
+
let z = !1;
|
|
610
610
|
y(() => {
|
|
611
|
-
|
|
611
|
+
z = !0;
|
|
612
612
|
});
|
|
613
613
|
const U = typeof s.options == "function" ? await s.options() : s.options;
|
|
614
|
-
|
|
614
|
+
z || o.splice(0, o.length, ...U);
|
|
615
615
|
}), _ = () => {
|
|
616
|
-
|
|
616
|
+
i.value = c.value?.clientWidth ?? 0, g.value = !0;
|
|
617
617
|
};
|
|
618
|
-
|
|
618
|
+
J(
|
|
619
619
|
t,
|
|
620
|
-
async (y,
|
|
620
|
+
async (y, z, U) => {
|
|
621
621
|
if (!y) {
|
|
622
|
-
|
|
622
|
+
g.value = !1;
|
|
623
623
|
return;
|
|
624
624
|
}
|
|
625
625
|
await w(U);
|
|
626
626
|
},
|
|
627
627
|
{ immediate: !0 }
|
|
628
628
|
);
|
|
629
|
-
const
|
|
629
|
+
const A = l, x = () => {
|
|
630
630
|
t.value = !1;
|
|
631
631
|
}, V = () => {
|
|
632
632
|
if (!n || n.length === 0) {
|
|
633
633
|
ie(s.noSelectionTip);
|
|
634
634
|
return;
|
|
635
635
|
}
|
|
636
|
-
|
|
637
|
-
},
|
|
638
|
-
const
|
|
639
|
-
|
|
640
|
-
}, F = C(() =>
|
|
641
|
-
F.value ? n.splice(0, n.length) : n.splice(0, n.length, ...
|
|
636
|
+
A("confirm", zt(n)), t.value = !1;
|
|
637
|
+
}, B = C(() => s.showCurrentSelection && g.value && !u.value && n.length > 0), D = (y) => n.includes(y), M = (y) => {
|
|
638
|
+
const z = n.indexOf(y);
|
|
639
|
+
z > -1 ? n.splice(z, 1) : s.multiple ? n.push(y) : n.splice(0, n.length, y);
|
|
640
|
+
}, F = C(() => o.every((y) => n.includes(y))), I = () => {
|
|
641
|
+
F.value ? n.splice(0, n.length) : n.splice(0, n.length, ...o);
|
|
642
642
|
};
|
|
643
|
-
return (y,
|
|
644
|
-
const U =
|
|
645
|
-
return r(),
|
|
646
|
-
v(
|
|
643
|
+
return (y, z) => {
|
|
644
|
+
const U = K, le = de, ne = Pe;
|
|
645
|
+
return r(), f("div", Ls, [
|
|
646
|
+
v(le, {
|
|
647
647
|
title: e.title,
|
|
648
648
|
modelValue: t.value,
|
|
649
|
-
"onUpdate:modelValue":
|
|
649
|
+
"onUpdate:modelValue": z[0] || (z[0] = (O) => t.value = O),
|
|
650
650
|
style: { width: "fit-content", "min-width": "300px", "max-width": "800px", "max-height": "88vh", overflow: "auto" },
|
|
651
651
|
"close-on-click-modal": !1,
|
|
652
652
|
"close-on-press-escape": !1,
|
|
@@ -655,17 +655,17 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
655
655
|
onOpened: _
|
|
656
656
|
}, {
|
|
657
657
|
footer: d(() => [
|
|
658
|
-
e.multiple && e.canSelectAll ? (r(),
|
|
658
|
+
e.multiple && e.canSelectAll ? (r(), f("span", {
|
|
659
659
|
key: 0,
|
|
660
|
-
class:
|
|
661
|
-
onClick:
|
|
662
|
-
}, [
|
|
660
|
+
class: W(["select-all", F.value ? "selected" : ""]),
|
|
661
|
+
onClick: I
|
|
662
|
+
}, [...z[1] || (z[1] = [
|
|
663
663
|
a("span", { class: "select-icon" }, null, -1),
|
|
664
664
|
k("全选", -1)
|
|
665
|
-
])], 2)) :
|
|
665
|
+
])], 2)) : $("", !0),
|
|
666
666
|
v(U, { onClick: x }, {
|
|
667
667
|
default: d(() => [
|
|
668
|
-
k(
|
|
668
|
+
k(m(e.cancelText), 1)
|
|
669
669
|
]),
|
|
670
670
|
_: 1
|
|
671
671
|
}),
|
|
@@ -675,54 +675,54 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
675
675
|
disabled: h(u)
|
|
676
676
|
}, {
|
|
677
677
|
default: d(() => [
|
|
678
|
-
k(
|
|
678
|
+
k(m(e.confirmText), 1)
|
|
679
679
|
]),
|
|
680
680
|
_: 1
|
|
681
681
|
}, 8, ["disabled"])
|
|
682
682
|
]),
|
|
683
683
|
default: d(() => [
|
|
684
|
-
|
|
685
|
-
class:
|
|
684
|
+
G((r(), f("div", {
|
|
685
|
+
class: W(["dialog-content", h(u) ? "loading" : ""])
|
|
686
686
|
}, [
|
|
687
687
|
a("div", {
|
|
688
688
|
ref_key: "listRef",
|
|
689
689
|
ref: c,
|
|
690
690
|
class: "option-list"
|
|
691
691
|
}, [
|
|
692
|
-
(r(!0),
|
|
693
|
-
class:
|
|
694
|
-
key: e.getDataId(
|
|
695
|
-
onClick: (
|
|
692
|
+
(r(!0), f(L, null, q(o, (O) => (r(), f("div", {
|
|
693
|
+
class: W(["option-item", D(O) ? "selected" : ""]),
|
|
694
|
+
key: e.getDataId(O),
|
|
695
|
+
onClick: (ve) => M(O)
|
|
696
696
|
}, [
|
|
697
|
-
|
|
697
|
+
P(y.$slots, "item", {}, () => [
|
|
698
698
|
a("span", {
|
|
699
|
-
class:
|
|
699
|
+
class: W(["select-icon", e.multiple ? "checkbox" : "radio"])
|
|
700
700
|
}, null, 2),
|
|
701
701
|
a("span", Us, [
|
|
702
|
-
|
|
703
|
-
k(
|
|
702
|
+
P(y.$slots, "item-label", {}, () => [
|
|
703
|
+
k(m(e.getDataLabel(O)), 1)
|
|
704
704
|
], !0)
|
|
705
705
|
])
|
|
706
706
|
], !0)
|
|
707
707
|
], 10, Fs))), 128))
|
|
708
708
|
], 512),
|
|
709
|
-
|
|
709
|
+
B.value ? (r(), f("div", {
|
|
710
710
|
key: 0,
|
|
711
711
|
class: "current-selection",
|
|
712
|
-
style:
|
|
712
|
+
style: fe({ width: `${i.value}px` })
|
|
713
713
|
}, [
|
|
714
|
-
e.multiple ? (r(),
|
|
714
|
+
e.multiple ? (r(), f("span", Os, "已选择(" + m(n.length) + "):", 1)) : (r(), f("span", qs, "已选择:")),
|
|
715
715
|
a("div", {
|
|
716
716
|
class: "current-selection-list",
|
|
717
|
-
style:
|
|
717
|
+
style: fe({ display: e.multiple ? "flex" : "contents" })
|
|
718
718
|
}, [
|
|
719
|
-
(r(!0),
|
|
720
|
-
key: e.getDataId(
|
|
721
|
-
},
|
|
719
|
+
(r(!0), f(L, null, q(n, (O) => (r(), f("span", {
|
|
720
|
+
key: e.getDataId(O)
|
|
721
|
+
}, m(e.getDataLabel(O)), 1))), 128))
|
|
722
722
|
], 4)
|
|
723
|
-
], 4)) :
|
|
723
|
+
], 4)) : $("", !0)
|
|
724
724
|
], 2)), [
|
|
725
|
-
[
|
|
725
|
+
[ne, h(u)]
|
|
726
726
|
])
|
|
727
727
|
]),
|
|
728
728
|
_: 3
|
|
@@ -730,11 +730,11 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
730
730
|
]);
|
|
731
731
|
};
|
|
732
732
|
}
|
|
733
|
-
}), Ns = /* @__PURE__ */
|
|
733
|
+
}), Ns = /* @__PURE__ */ H(js, [["__scopeId", "data-v-2ad04bd4"]]), Fo = (e) => new Promise((l) => {
|
|
734
734
|
let s = document.createElement("div");
|
|
735
735
|
const t = (n) => {
|
|
736
|
-
l(n), s && (
|
|
737
|
-
},
|
|
736
|
+
l(n), s && (_e(null, s), s.remove(), s = null);
|
|
737
|
+
}, o = v(Ns, {
|
|
738
738
|
...e,
|
|
739
739
|
modelValue: !0,
|
|
740
740
|
"onUpdate:modelValue": (n) => {
|
|
@@ -744,13 +744,13 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
744
744
|
t(n);
|
|
745
745
|
}
|
|
746
746
|
});
|
|
747
|
-
document.body.appendChild(s),
|
|
747
|
+
document.body.appendChild(s), _e(o, s);
|
|
748
748
|
}), Zs = { class: "dialog-content" }, Ws = { class: "header" }, Gs = {
|
|
749
749
|
key: 0,
|
|
750
750
|
class: "total-desc"
|
|
751
|
-
}, Js = { class: "page-size-desc" }, Ks = { class: "range-desc" }, Ys = /* @__PURE__ */
|
|
751
|
+
}, Js = { class: "page-size-desc" }, Ks = { class: "range-desc" }, Ys = /* @__PURE__ */ S({
|
|
752
752
|
__name: "PageRangeDialog",
|
|
753
|
-
props: /* @__PURE__ */
|
|
753
|
+
props: /* @__PURE__ */ X({
|
|
754
754
|
title: { default: "请选择页码范围" },
|
|
755
755
|
defaultRange: { default: () => [1, 1] },
|
|
756
756
|
total: {},
|
|
@@ -763,33 +763,33 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
763
763
|
modelValue: { type: Boolean, required: !0 },
|
|
764
764
|
modelModifiers: {}
|
|
765
765
|
}),
|
|
766
|
-
emits: /* @__PURE__ */
|
|
766
|
+
emits: /* @__PURE__ */ X(["confirm"], ["update:modelValue"]),
|
|
767
767
|
setup(e, { emit: l }) {
|
|
768
|
-
const s = e, t =
|
|
768
|
+
const s = e, t = ye(e, "modelValue"), o = C(() => s.total != null && s.maxPage != null ? Math.min(s.maxPage, Math.ceil(s.total / s.pageSize)) : s.total != null ? Math.ceil(s.total / s.pageSize) : s.maxPage), n = E(1), i = E(1), c = C(() => `共有 ${s.total} 条数据`), u = C(() => `每页可获取 ${s.pageSize} 条数据`), p = C(() => {
|
|
769
769
|
if (s.total != null) {
|
|
770
|
-
const
|
|
771
|
-
return `共选择 ${(
|
|
770
|
+
const A = s.pageSize - Math.max(i.value * s.pageSize - s.total, 0);
|
|
771
|
+
return `共选择 ${(i.value - n.value) * s.pageSize + A} 条数据`;
|
|
772
772
|
} else
|
|
773
|
-
return `共选择 ${(
|
|
773
|
+
return `共选择 ${(i.value + 1 - n.value) * s.pageSize} 条数据`;
|
|
774
774
|
});
|
|
775
|
-
|
|
775
|
+
J(
|
|
776
776
|
t,
|
|
777
|
-
async (
|
|
778
|
-
|
|
777
|
+
async (A) => {
|
|
778
|
+
A && (n.value = s.defaultRange[0], i.value = s.defaultRange[1]);
|
|
779
779
|
},
|
|
780
780
|
{ immediate: !0 }
|
|
781
781
|
);
|
|
782
|
-
const
|
|
782
|
+
const g = l, w = () => {
|
|
783
783
|
t.value = !1;
|
|
784
784
|
}, _ = () => {
|
|
785
|
-
|
|
785
|
+
g("confirm", [n.value, i.value]), t.value = !1;
|
|
786
786
|
};
|
|
787
|
-
return (
|
|
788
|
-
const V =
|
|
789
|
-
return r(),
|
|
787
|
+
return (A, x) => {
|
|
788
|
+
const V = et, B = ls, D = ss, M = K, F = de;
|
|
789
|
+
return r(), b(F, {
|
|
790
790
|
title: e.title,
|
|
791
791
|
modelValue: t.value,
|
|
792
|
-
"onUpdate:modelValue": x[2] || (x[2] = (
|
|
792
|
+
"onUpdate:modelValue": x[2] || (x[2] = (I) => t.value = I),
|
|
793
793
|
width: "200px",
|
|
794
794
|
"close-on-click-modal": !1,
|
|
795
795
|
"close-on-press-escape": !1,
|
|
@@ -799,7 +799,7 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
799
799
|
footer: d(() => [
|
|
800
800
|
v(M, { onClick: w }, {
|
|
801
801
|
default: d(() => [
|
|
802
|
-
k(
|
|
802
|
+
k(m(e.cancelText), 1)
|
|
803
803
|
]),
|
|
804
804
|
_: 1
|
|
805
805
|
}),
|
|
@@ -808,7 +808,7 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
808
808
|
onClick: _
|
|
809
809
|
}, {
|
|
810
810
|
default: d(() => [
|
|
811
|
-
k(
|
|
811
|
+
k(m(e.confirmText), 1)
|
|
812
812
|
]),
|
|
813
813
|
_: 1
|
|
814
814
|
})
|
|
@@ -816,24 +816,24 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
816
816
|
default: d(() => [
|
|
817
817
|
a("div", Zs, [
|
|
818
818
|
a("div", Ws, [
|
|
819
|
-
e.total ? (r(),
|
|
820
|
-
a("div", Js,
|
|
819
|
+
e.total ? (r(), f("div", Gs, m(c.value), 1)) : $("", !0),
|
|
820
|
+
a("div", Js, m(u.value), 1)
|
|
821
821
|
]),
|
|
822
822
|
v(D, { class: "page-range" }, {
|
|
823
823
|
default: d(() => [
|
|
824
|
-
v(
|
|
824
|
+
v(B, { span: 11 }, {
|
|
825
825
|
default: d(() => [
|
|
826
826
|
v(V, {
|
|
827
827
|
type: "number",
|
|
828
828
|
modelValue: n.value,
|
|
829
|
-
"onUpdate:modelValue": x[0] || (x[0] = (
|
|
829
|
+
"onUpdate:modelValue": x[0] || (x[0] = (I) => n.value = I),
|
|
830
830
|
min: e.minPage,
|
|
831
|
-
max:
|
|
831
|
+
max: i.value
|
|
832
832
|
}, null, 8, ["modelValue", "min", "max"])
|
|
833
833
|
]),
|
|
834
834
|
_: 1
|
|
835
835
|
}),
|
|
836
|
-
v(
|
|
836
|
+
v(B, {
|
|
837
837
|
span: 2,
|
|
838
838
|
style: { "text-align": "center" }
|
|
839
839
|
}, {
|
|
@@ -842,14 +842,14 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
842
842
|
])]),
|
|
843
843
|
_: 1
|
|
844
844
|
}),
|
|
845
|
-
v(
|
|
845
|
+
v(B, { span: 11 }, {
|
|
846
846
|
default: d(() => [
|
|
847
847
|
v(V, {
|
|
848
848
|
type: "number",
|
|
849
|
-
modelValue:
|
|
850
|
-
"onUpdate:modelValue": x[1] || (x[1] = (
|
|
849
|
+
modelValue: i.value,
|
|
850
|
+
"onUpdate:modelValue": x[1] || (x[1] = (I) => i.value = I),
|
|
851
851
|
min: n.value,
|
|
852
|
-
max:
|
|
852
|
+
max: o.value
|
|
853
853
|
}, null, 8, ["modelValue", "min", "max"])
|
|
854
854
|
]),
|
|
855
855
|
_: 1
|
|
@@ -857,18 +857,18 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
857
857
|
]),
|
|
858
858
|
_: 1
|
|
859
859
|
}),
|
|
860
|
-
a("div", Ks, p
|
|
860
|
+
a("div", Ks, m(p.value), 1)
|
|
861
861
|
])
|
|
862
862
|
]),
|
|
863
863
|
_: 1
|
|
864
864
|
}, 8, ["title", "modelValue"]);
|
|
865
865
|
};
|
|
866
866
|
}
|
|
867
|
-
}), Xs = /* @__PURE__ */
|
|
867
|
+
}), Xs = /* @__PURE__ */ H(Ys, [["__scopeId", "data-v-715af5da"]]), Uo = (e) => new Promise((l) => {
|
|
868
868
|
let s = document.createElement("div");
|
|
869
869
|
const t = (n) => {
|
|
870
|
-
s && (
|
|
871
|
-
},
|
|
870
|
+
s && (_e(null, s), s.remove(), s = null), l(n);
|
|
871
|
+
}, o = v(Xs, {
|
|
872
872
|
...e,
|
|
873
873
|
modelValue: !0,
|
|
874
874
|
"onUpdate:modelValue"(n) {
|
|
@@ -878,13 +878,13 @@ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
|
|
|
878
878
|
t(n);
|
|
879
879
|
}
|
|
880
880
|
});
|
|
881
|
-
document.body.appendChild(s),
|
|
881
|
+
document.body.appendChild(s), _e(o, s);
|
|
882
882
|
});
|
|
883
|
-
var el = /* @__PURE__ */
|
|
883
|
+
var el = /* @__PURE__ */ S({
|
|
884
884
|
name: "CircleCheck",
|
|
885
885
|
__name: "circle-check",
|
|
886
886
|
setup(e) {
|
|
887
|
-
return (l, s) => (r(),
|
|
887
|
+
return (l, s) => (r(), f("svg", {
|
|
888
888
|
xmlns: "http://www.w3.org/2000/svg",
|
|
889
889
|
viewBox: "0 0 1024 1024"
|
|
890
890
|
}, [
|
|
@@ -898,11 +898,11 @@ var el = /* @__PURE__ */ B({
|
|
|
898
898
|
})
|
|
899
899
|
]));
|
|
900
900
|
}
|
|
901
|
-
}), tl = el, sl = /* @__PURE__ */
|
|
901
|
+
}), tl = el, sl = /* @__PURE__ */ S({
|
|
902
902
|
name: "CircleClose",
|
|
903
903
|
__name: "circle-close",
|
|
904
904
|
setup(e) {
|
|
905
|
-
return (l, s) => (r(),
|
|
905
|
+
return (l, s) => (r(), f("svg", {
|
|
906
906
|
xmlns: "http://www.w3.org/2000/svg",
|
|
907
907
|
viewBox: "0 0 1024 1024"
|
|
908
908
|
}, [
|
|
@@ -916,11 +916,11 @@ var el = /* @__PURE__ */ B({
|
|
|
916
916
|
})
|
|
917
917
|
]));
|
|
918
918
|
}
|
|
919
|
-
}), ll = sl, nl = /* @__PURE__ */
|
|
919
|
+
}), ll = sl, nl = /* @__PURE__ */ S({
|
|
920
920
|
name: "Picture",
|
|
921
921
|
__name: "picture",
|
|
922
922
|
setup(e) {
|
|
923
|
-
return (l, s) => (r(),
|
|
923
|
+
return (l, s) => (r(), f("svg", {
|
|
924
924
|
xmlns: "http://www.w3.org/2000/svg",
|
|
925
925
|
viewBox: "0 0 1024 1024"
|
|
926
926
|
}, [
|
|
@@ -934,50 +934,50 @@ var el = /* @__PURE__ */ B({
|
|
|
934
934
|
})
|
|
935
935
|
]));
|
|
936
936
|
}
|
|
937
|
-
}),
|
|
938
|
-
const al = { class: "loading-mask el-overlay" }, ol = { class: "loading-content" }, il = { class: "status-icon" }, cl = { class: "loading-text" }, rl = { class: "actions" }, ul = /* @__PURE__ */
|
|
937
|
+
}), rt = nl;
|
|
938
|
+
const al = { class: "loading-mask el-overlay" }, ol = { class: "loading-content" }, il = { class: "status-icon" }, cl = { class: "loading-text" }, rl = { class: "actions" }, ul = /* @__PURE__ */ S({
|
|
939
939
|
__name: "ProcessDialog",
|
|
940
940
|
setup(e, { expose: l }) {
|
|
941
|
-
const s =
|
|
941
|
+
const s = E(!1), t = E(""), o = E(0), n = E("loading"), i = E(!1);
|
|
942
942
|
let c, u;
|
|
943
|
-
const
|
|
944
|
-
t.value =
|
|
945
|
-
},
|
|
946
|
-
|
|
947
|
-
}, w = (
|
|
948
|
-
n.value = "success", t.value =
|
|
949
|
-
}, _ = (
|
|
950
|
-
n.value = "error", t.value =
|
|
951
|
-
},
|
|
943
|
+
const p = (B = {}) => {
|
|
944
|
+
t.value = B.message ?? "加载中", i.value = B.showCancel ?? !1, o.value = B.percentage ?? 0, n.value = "loading", c = B.onCancel, u = B.onConfirm, s.value = !0;
|
|
945
|
+
}, g = (B, D) => {
|
|
946
|
+
B != null && (o.value = B), D != null && (t.value = D);
|
|
947
|
+
}, w = (B = "操作成功") => {
|
|
948
|
+
n.value = "success", t.value = B;
|
|
949
|
+
}, _ = (B = "操作失败") => {
|
|
950
|
+
n.value = "error", t.value = B;
|
|
951
|
+
}, A = () => {
|
|
952
952
|
s.value = !1;
|
|
953
953
|
}, x = async () => {
|
|
954
|
-
await c?.(),
|
|
954
|
+
await c?.(), A();
|
|
955
955
|
}, V = async () => {
|
|
956
|
-
await u?.(n.value),
|
|
956
|
+
await u?.(n.value), A();
|
|
957
957
|
};
|
|
958
958
|
return l({
|
|
959
|
-
show:
|
|
960
|
-
update:
|
|
959
|
+
show: p,
|
|
960
|
+
update: g,
|
|
961
961
|
setSuccess: w,
|
|
962
962
|
setError: _,
|
|
963
|
-
close:
|
|
964
|
-
}), (
|
|
965
|
-
const M =
|
|
966
|
-
return
|
|
963
|
+
close: A
|
|
964
|
+
}), (B, D) => {
|
|
965
|
+
const M = tt, F = Ve, I = K;
|
|
966
|
+
return G((r(), f("div", al, [
|
|
967
967
|
a("div", ol, [
|
|
968
|
-
|
|
968
|
+
G(a("div", {
|
|
969
969
|
class: "options-close-btn",
|
|
970
970
|
onClick: x
|
|
971
971
|
}, null, 512), [
|
|
972
|
-
[
|
|
972
|
+
[ce, i.value && n.value === "loading"]
|
|
973
973
|
]),
|
|
974
974
|
a("div", il, [
|
|
975
|
-
n.value === "loading" ? (r(),
|
|
975
|
+
n.value === "loading" ? (r(), b(M, {
|
|
976
976
|
key: 0,
|
|
977
977
|
type: "circle",
|
|
978
|
-
percentage:
|
|
978
|
+
percentage: o.value,
|
|
979
979
|
width: 96
|
|
980
|
-
}, null, 8, ["percentage"])) : n.value === "success" ? (r(),
|
|
980
|
+
}, null, 8, ["percentage"])) : n.value === "success" ? (r(), b(F, {
|
|
981
981
|
key: 1,
|
|
982
982
|
size: 42
|
|
983
983
|
}, {
|
|
@@ -985,7 +985,7 @@ const al = { class: "loading-mask el-overlay" }, ol = { class: "loading-content"
|
|
|
985
985
|
v(h(tl), { style: { color: "var(--el-color-success)" } })
|
|
986
986
|
]),
|
|
987
987
|
_: 1
|
|
988
|
-
})) : (r(),
|
|
988
|
+
})) : (r(), b(F, {
|
|
989
989
|
key: 2,
|
|
990
990
|
size: 42
|
|
991
991
|
}, {
|
|
@@ -995,9 +995,9 @@ const al = { class: "loading-mask el-overlay" }, ol = { class: "loading-content"
|
|
|
995
995
|
_: 1
|
|
996
996
|
}))
|
|
997
997
|
]),
|
|
998
|
-
a("div", cl,
|
|
998
|
+
a("div", cl, m(t.value), 1),
|
|
999
999
|
a("div", rl, [
|
|
1000
|
-
|
|
1000
|
+
i.value && n.value === "loading" ? (r(), b(I, {
|
|
1001
1001
|
key: 0,
|
|
1002
1002
|
onClick: x
|
|
1003
1003
|
}, {
|
|
@@ -1005,8 +1005,8 @@ const al = { class: "loading-mask el-overlay" }, ol = { class: "loading-content"
|
|
|
1005
1005
|
k(" 取消 ", -1)
|
|
1006
1006
|
])]),
|
|
1007
1007
|
_: 1
|
|
1008
|
-
})) :
|
|
1009
|
-
n.value !== "loading" ? (r(),
|
|
1008
|
+
})) : $("", !0),
|
|
1009
|
+
n.value !== "loading" ? (r(), b(I, {
|
|
1010
1010
|
key: 1,
|
|
1011
1011
|
type: "primary",
|
|
1012
1012
|
onClick: V
|
|
@@ -1015,22 +1015,22 @@ const al = { class: "loading-mask el-overlay" }, ol = { class: "loading-content"
|
|
|
1015
1015
|
k(" 确定 ", -1)
|
|
1016
1016
|
])]),
|
|
1017
1017
|
_: 1
|
|
1018
|
-
})) :
|
|
1018
|
+
})) : $("", !0)
|
|
1019
1019
|
])
|
|
1020
1020
|
])
|
|
1021
1021
|
], 512)), [
|
|
1022
|
-
[
|
|
1022
|
+
[ce, s.value]
|
|
1023
1023
|
]);
|
|
1024
1024
|
};
|
|
1025
1025
|
}
|
|
1026
|
-
}), dl = /* @__PURE__ */
|
|
1027
|
-
let
|
|
1026
|
+
}), dl = /* @__PURE__ */ H(ul, [["__scopeId", "data-v-8ddebb07"]]);
|
|
1027
|
+
let ge = null;
|
|
1028
1028
|
function oe() {
|
|
1029
|
-
if (
|
|
1029
|
+
if (ge) return ge;
|
|
1030
1030
|
const e = document.createElement("div");
|
|
1031
|
-
return document.body.appendChild(e),
|
|
1031
|
+
return document.body.appendChild(e), ge = De(dl).mount(e), ge;
|
|
1032
1032
|
}
|
|
1033
|
-
const
|
|
1033
|
+
const Oo = {
|
|
1034
1034
|
show(e) {
|
|
1035
1035
|
oe().show(e);
|
|
1036
1036
|
},
|
|
@@ -1046,7 +1046,7 @@ const Ro = {
|
|
|
1046
1046
|
close() {
|
|
1047
1047
|
oe().close();
|
|
1048
1048
|
}
|
|
1049
|
-
}, vl = { class: "tooltip" }, pl = { class: "label" }, ae = /* @__PURE__ */
|
|
1049
|
+
}, vl = { class: "tooltip" }, pl = { class: "label" }, ae = /* @__PURE__ */ S({
|
|
1050
1050
|
__name: "AppTooltip",
|
|
1051
1051
|
props: {
|
|
1052
1052
|
content: {},
|
|
@@ -1062,53 +1062,53 @@ const Ro = {
|
|
|
1062
1062
|
"txt-ellipsis-right": l.ellipsis === "right",
|
|
1063
1063
|
"txt-ellipsis-left": l.ellipsis === "left",
|
|
1064
1064
|
"single-line": l.lines === 1
|
|
1065
|
-
}),
|
|
1066
|
-
n.value && (l.lines === 1 ?
|
|
1065
|
+
}), o = E(!1), n = te("refContent"), i = new ResizeObserver(() => {
|
|
1066
|
+
n.value && (l.lines === 1 ? o.value = n.value.scrollWidth > n.value.clientWidth : o.value = n.value.scrollHeight > n.value.clientHeight);
|
|
1067
1067
|
});
|
|
1068
|
-
return
|
|
1069
|
-
n.value &&
|
|
1070
|
-
}),
|
|
1071
|
-
|
|
1068
|
+
return ee(() => {
|
|
1069
|
+
n.value && i.observe(n.value);
|
|
1070
|
+
}), re(() => {
|
|
1071
|
+
i.disconnect();
|
|
1072
1072
|
}), (c, u) => {
|
|
1073
|
-
const
|
|
1074
|
-
return r(),
|
|
1073
|
+
const p = Me;
|
|
1074
|
+
return r(), f("div", vl, [
|
|
1075
1075
|
a("div", pl, [
|
|
1076
|
-
e.iconClass ? (r(),
|
|
1076
|
+
e.iconClass ? (r(), b(N, {
|
|
1077
1077
|
key: 0,
|
|
1078
1078
|
icon: e.iconClass
|
|
1079
|
-
}, null, 8, ["icon"])) :
|
|
1079
|
+
}, null, 8, ["icon"])) : $("", !0)
|
|
1080
1080
|
]),
|
|
1081
|
-
e.content ? (r(),
|
|
1081
|
+
e.content ? (r(), b(p, {
|
|
1082
1082
|
key: 0,
|
|
1083
1083
|
effect: "light",
|
|
1084
1084
|
content: e.content,
|
|
1085
1085
|
placement: "top",
|
|
1086
|
-
disabled: !
|
|
1086
|
+
disabled: !o.value,
|
|
1087
1087
|
"show-after": 800
|
|
1088
1088
|
}, {
|
|
1089
1089
|
content: d(() => [
|
|
1090
|
-
|
|
1090
|
+
P(c.$slots, "tooltipContent")
|
|
1091
1091
|
]),
|
|
1092
1092
|
default: d(() => [
|
|
1093
|
-
a("div",
|
|
1093
|
+
a("div", Y({
|
|
1094
1094
|
ref_key: "refContent",
|
|
1095
1095
|
ref: n
|
|
1096
1096
|
}, c.$attrs, {
|
|
1097
1097
|
class: ["tooltip__content", t()]
|
|
1098
1098
|
}), [
|
|
1099
1099
|
a("span", null, [
|
|
1100
|
-
|
|
1101
|
-
k(
|
|
1100
|
+
P(c.$slots, "default", {}, () => [
|
|
1101
|
+
k(m(e.content), 1)
|
|
1102
1102
|
])
|
|
1103
1103
|
])
|
|
1104
1104
|
], 16)
|
|
1105
1105
|
]),
|
|
1106
1106
|
_: 3
|
|
1107
|
-
}, 8, ["content", "disabled"])) :
|
|
1107
|
+
}, 8, ["content", "disabled"])) : $("", !0)
|
|
1108
1108
|
]);
|
|
1109
1109
|
};
|
|
1110
1110
|
}
|
|
1111
|
-
}),
|
|
1111
|
+
}), qo = /* @__PURE__ */ S({
|
|
1112
1112
|
inheritAttrs: !1,
|
|
1113
1113
|
__name: "IconButton",
|
|
1114
1114
|
props: {
|
|
@@ -1121,18 +1121,18 @@ const Ro = {
|
|
|
1121
1121
|
const s = l, t = () => {
|
|
1122
1122
|
s("click");
|
|
1123
1123
|
};
|
|
1124
|
-
return (
|
|
1125
|
-
const
|
|
1126
|
-
return e.tip ? (r(),
|
|
1127
|
-
e.confirm ? (r(),
|
|
1124
|
+
return (o, n) => {
|
|
1125
|
+
const i = Me, c = ns;
|
|
1126
|
+
return e.tip ? (r(), f(L, { key: 0 }, [
|
|
1127
|
+
e.confirm ? (r(), b(c, {
|
|
1128
1128
|
key: 0,
|
|
1129
1129
|
title: e.confirm,
|
|
1130
1130
|
placement: "left",
|
|
1131
1131
|
onConfirm: t
|
|
1132
1132
|
}, {
|
|
1133
1133
|
reference: d(() => [
|
|
1134
|
-
a("span", Pt(
|
|
1135
|
-
v(
|
|
1134
|
+
a("span", It(Pt(o.$attrs)), [
|
|
1135
|
+
v(i, {
|
|
1136
1136
|
effect: "light",
|
|
1137
1137
|
content: e.tip,
|
|
1138
1138
|
placement: "top",
|
|
@@ -1149,7 +1149,7 @@ const Ro = {
|
|
|
1149
1149
|
], 16)
|
|
1150
1150
|
]),
|
|
1151
1151
|
_: 1
|
|
1152
|
-
}, 8, ["title"])) : (r(),
|
|
1152
|
+
}, 8, ["title"])) : (r(), b(i, {
|
|
1153
1153
|
key: 1,
|
|
1154
1154
|
effect: "light",
|
|
1155
1155
|
content: e.tip,
|
|
@@ -1157,49 +1157,49 @@ const Ro = {
|
|
|
1157
1157
|
"show-after": 800
|
|
1158
1158
|
}, {
|
|
1159
1159
|
default: d(() => [
|
|
1160
|
-
v(N,
|
|
1160
|
+
v(N, Y({
|
|
1161
1161
|
class: "icon-btn",
|
|
1162
1162
|
icon: e.icon,
|
|
1163
1163
|
onClick: Ee(t, ["stop"])
|
|
1164
|
-
},
|
|
1164
|
+
}, o.$attrs), null, 16, ["icon"])
|
|
1165
1165
|
]),
|
|
1166
1166
|
_: 1
|
|
1167
1167
|
}, 8, ["content"]))
|
|
1168
|
-
], 64)) : (r(),
|
|
1169
|
-
e.confirm ? (r(),
|
|
1168
|
+
], 64)) : (r(), f(L, { key: 1 }, [
|
|
1169
|
+
e.confirm ? (r(), b(c, {
|
|
1170
1170
|
key: 0,
|
|
1171
1171
|
title: e.confirm,
|
|
1172
1172
|
placement: "left",
|
|
1173
1173
|
onConfirm: t
|
|
1174
1174
|
}, {
|
|
1175
1175
|
reference: d(() => [
|
|
1176
|
-
v(N,
|
|
1176
|
+
v(N, Y({
|
|
1177
1177
|
class: "icon-btn",
|
|
1178
1178
|
icon: e.icon
|
|
1179
|
-
},
|
|
1179
|
+
}, o.$attrs), null, 16, ["icon"])
|
|
1180
1180
|
]),
|
|
1181
1181
|
_: 1
|
|
1182
|
-
}, 8, ["title"])) : (r(),
|
|
1182
|
+
}, 8, ["title"])) : (r(), b(N, Y({
|
|
1183
1183
|
key: 1,
|
|
1184
1184
|
class: "icon-btn",
|
|
1185
1185
|
icon: e.icon,
|
|
1186
1186
|
onClick: Ee(t, ["stop"])
|
|
1187
|
-
},
|
|
1187
|
+
}, o.$attrs), null, 16, ["icon"]))
|
|
1188
1188
|
], 64));
|
|
1189
1189
|
};
|
|
1190
1190
|
}
|
|
1191
|
-
}), ml = { class: "icon-label" },
|
|
1191
|
+
}), ml = { class: "icon-label" }, ut = /* @__PURE__ */ S({
|
|
1192
1192
|
__name: "IconLabel",
|
|
1193
1193
|
props: {
|
|
1194
1194
|
icon: {}
|
|
1195
1195
|
},
|
|
1196
1196
|
setup(e) {
|
|
1197
|
-
return (l, s) => (r(),
|
|
1197
|
+
return (l, s) => (r(), f("div", ml, [
|
|
1198
1198
|
v(N, { icon: e.icon }, null, 8, ["icon"]),
|
|
1199
|
-
|
|
1199
|
+
P(l.$slots, "default")
|
|
1200
1200
|
]));
|
|
1201
1201
|
}
|
|
1202
|
-
}),
|
|
1202
|
+
}), jo = /* @__PURE__ */ S({
|
|
1203
1203
|
__name: "ExternalLink",
|
|
1204
1204
|
props: {
|
|
1205
1205
|
url: {}
|
|
@@ -1208,64 +1208,64 @@ const Ro = {
|
|
|
1208
1208
|
const l = e, s = () => {
|
|
1209
1209
|
T.system.browsePage(l.url);
|
|
1210
1210
|
};
|
|
1211
|
-
return (t,
|
|
1211
|
+
return (t, o) => (r(), f("span", {
|
|
1212
1212
|
class: "external-link",
|
|
1213
1213
|
onClick: Ee(s, ["prevent"])
|
|
1214
1214
|
}, [
|
|
1215
|
-
|
|
1215
|
+
P(t.$slots, "default")
|
|
1216
1216
|
]));
|
|
1217
1217
|
}
|
|
1218
|
-
}), gl = ["innerHTML"],
|
|
1218
|
+
}), gl = ["innerHTML"], No = /* @__PURE__ */ S({
|
|
1219
1219
|
__name: "LogPrint",
|
|
1220
1220
|
setup(e, { expose: l }) {
|
|
1221
|
-
const s =
|
|
1222
|
-
function i
|
|
1223
|
-
s.value.push(`[${Jt()}] ${
|
|
1221
|
+
const s = E([]), t = te("logBoxRef");
|
|
1222
|
+
function o(i) {
|
|
1223
|
+
s.value.push(`[${Jt()}] ${i}`), s.value.length > 500 && s.value.shift(), ue(() => {
|
|
1224
1224
|
t.value && (t.value.scrollTop = t.value.scrollHeight);
|
|
1225
1225
|
});
|
|
1226
1226
|
}
|
|
1227
1227
|
return l({
|
|
1228
|
-
addLog:
|
|
1228
|
+
addLog: o,
|
|
1229
1229
|
reset: () => {
|
|
1230
1230
|
s.value = [];
|
|
1231
1231
|
}
|
|
1232
|
-
}), (
|
|
1232
|
+
}), (i, c) => (r(), f("div", {
|
|
1233
1233
|
ref_key: "logBoxRef",
|
|
1234
1234
|
ref: t,
|
|
1235
1235
|
class: "log-print-box"
|
|
1236
1236
|
}, [
|
|
1237
|
-
(r(!0),
|
|
1238
|
-
key:
|
|
1237
|
+
(r(!0), f(L, null, q(s.value, (u, p) => (r(), f("div", {
|
|
1238
|
+
key: p,
|
|
1239
1239
|
innerHTML: u,
|
|
1240
1240
|
class: "log-print-box__line"
|
|
1241
1241
|
}, null, 8, gl))), 128))
|
|
1242
1242
|
], 512));
|
|
1243
1243
|
}
|
|
1244
|
-
}), ut = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv1{fill:transparent;}.st1.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23C0C0C0;}%3c/style%3e%3crect%20class='st0%20lv1'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv1'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv1'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.2v0.7c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M15.8,18.9h2.6c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4h-0.6%20v-5.6c0-0.2-0.2-0.4-0.4-0.4h-1.4c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h0.4v4.6h-0.6c-0.2,0-0.4,0.2-0.4,0.4v0.6%20C15.3,18.7,15.5,18.9,15.8,18.9z%20M12.7,16.3v0.1c0,0.1-0.1,0.2-0.2,0.2c0,0,0,0-0.1,0.1l-2,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4V16.3L12.7,16.3z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", dt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv2{fill:transparent;}.st1.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%238BD29B;}%3c/style%3e%3crect%20class='st0%20lv2'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv2'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv2'%20d='M14,10h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6C1.3,20,1,19.8,1,19.4v-7.8%20C1,11.3,1.2,11,1.6,11h11.8v-0.4C13.4,10.3,13.6,10,14,10z%20M19.4,15.8c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H16v-1.7H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", vt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv3{fill:transparent;}.st1.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%237BCDEF;}%3c/style%3e%3crect%20class='st0%20lv3'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv3'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv3'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", pt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv4{fill:transparent;}.st1.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FEBB8B;}%3c/style%3e%3crect%20class='st0%20lv4'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv4'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv4'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4h-0.6%20c-0.2,0-0.4,0.2-0.4,0.4v2.7H16v-2.7c0-0.2-0.2-0.4-0.4-0.4H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v2.7%20c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1s-0.4,0-0.5-0.1l-2-2%20c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", mt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv5{fill:transparent;}.st1.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23EE672A;}%3c/style%3e%3crect%20class='st0%20lv5'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv5'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv5'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,12.7c0.2,0,0.4-0.2,0.4-0.4v-0.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H16v-1.6H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2%20v-3.3c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", gt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv6{fill:transparent;}.st1.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23F04C49;}%3c/style%3e%3crect%20class='st0%20lv6'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv6'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv6'%20d='M14,10c-0.4,0-0.6,0.3-0.6,0.6V11H1.6C1.2,11,1,11.3,1,11.6v7.8C1,19.8,1.3,20,1.6,20h18.8%20c0.4,0,0.6-0.3,0.6-0.6v-8.8c0.1-0.3-0.2-0.6-0.5-0.6H14z%20M19.8,12.3c0,0.2-0.2,0.4-0.4,0.4H16v1.6h3.4c0.2,0,0.4,0.2,0.4,0.4v3.7%20c0,0.2-0.2,0.4-0.4,0.4H15c-0.2,0-0.4-0.2-0.4-0.4v-6.8c0-0.2,0.2-0.4,0.4-0.4h4.4c0.2,0,0.4,0.2,0.4,0.4V12.3z%20M12.6,16.7%20c0.1-0.1,0.1-0.2,0.1-0.4v-0.1v-3.4c0-0.2-0.2-0.4-0.4-0.4h-0.6c-0.2,0-0.4,0.2-0.4,0.4v3.3L10,17.3l-1.2-1.2v-3.4%20c0-0.2-0.2-0.4-0.4-0.4H7.8c-0.2,0-0.4,0.2-0.4,0.4v3.5v0.1c0,0.2,0,0.4,0.1,0.4l2,2c0.1,0.1,0.5,0.1,0.5,0.1s0.4,0,0.5-0.1%20L12.6,16.7z%20M6.1,18.9H2.6c-0.2,0-0.4-0.2-0.4-0.4v-5.8c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v4.7h2.4%20c0.2,0,0.4,0.2,0.4,0.4v0.6C6.5,18.7,6.3,18.9,6.1,18.9z%20M18.4,17.4H16v-1.7h2.4V17.4z'/%3e%3c/svg%3e", Be = "data:image/jpeg;base64,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", fl = { class: "user-card" }, _l = { class: "user-card__face-wrapper" }, hl = ["src"], wl = {
|
|
1244
|
+
}), dt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv1{fill:transparent;}.st1.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23C0C0C0;}%3c/style%3e%3crect%20class='st0%20lv1'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv1'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv1'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.2v0.7c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M15.8,18.9h2.6c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4h-0.6%20v-5.6c0-0.2-0.2-0.4-0.4-0.4h-1.4c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h0.4v4.6h-0.6c-0.2,0-0.4,0.2-0.4,0.4v0.6%20C15.3,18.7,15.5,18.9,15.8,18.9z%20M12.7,16.3v0.1c0,0.1-0.1,0.2-0.2,0.2c0,0,0,0-0.1,0.1l-2,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4V16.3L12.7,16.3z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", vt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv2{fill:transparent;}.st1.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%238BD29B;}%3c/style%3e%3crect%20class='st0%20lv2'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv2'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv2'%20d='M14,10h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6C1.3,20,1,19.8,1,19.4v-7.8%20C1,11.3,1.2,11,1.6,11h11.8v-0.4C13.4,10.3,13.6,10,14,10z%20M19.4,15.8c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H16v-1.7H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", pt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv3{fill:transparent;}.st1.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%237BCDEF;}%3c/style%3e%3crect%20class='st0%20lv3'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv3'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv3'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", mt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv4{fill:transparent;}.st1.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FEBB8B;}%3c/style%3e%3crect%20class='st0%20lv4'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv4'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv4'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4h-0.6%20c-0.2,0-0.4,0.2-0.4,0.4v2.7H16v-2.7c0-0.2-0.2-0.4-0.4-0.4H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v2.7%20c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1s-0.4,0-0.5-0.1l-2-2%20c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", gt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv5{fill:transparent;}.st1.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23EE672A;}%3c/style%3e%3crect%20class='st0%20lv5'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv5'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv5'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,12.7c0.2,0,0.4-0.2,0.4-0.4v-0.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H16v-1.6H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2%20v-3.3c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", ft = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv6{fill:transparent;}.st1.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23F04C49;}%3c/style%3e%3crect%20class='st0%20lv6'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv6'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv6'%20d='M14,10c-0.4,0-0.6,0.3-0.6,0.6V11H1.6C1.2,11,1,11.3,1,11.6v7.8C1,19.8,1.3,20,1.6,20h18.8%20c0.4,0,0.6-0.3,0.6-0.6v-8.8c0.1-0.3-0.2-0.6-0.5-0.6H14z%20M19.8,12.3c0,0.2-0.2,0.4-0.4,0.4H16v1.6h3.4c0.2,0,0.4,0.2,0.4,0.4v3.7%20c0,0.2-0.2,0.4-0.4,0.4H15c-0.2,0-0.4-0.2-0.4-0.4v-6.8c0-0.2,0.2-0.4,0.4-0.4h4.4c0.2,0,0.4,0.2,0.4,0.4V12.3z%20M12.6,16.7%20c0.1-0.1,0.1-0.2,0.1-0.4v-0.1v-3.4c0-0.2-0.2-0.4-0.4-0.4h-0.6c-0.2,0-0.4,0.2-0.4,0.4v3.3L10,17.3l-1.2-1.2v-3.4%20c0-0.2-0.2-0.4-0.4-0.4H7.8c-0.2,0-0.4,0.2-0.4,0.4v3.5v0.1c0,0.2,0,0.4,0.1,0.4l2,2c0.1,0.1,0.5,0.1,0.5,0.1s0.4,0,0.5-0.1%20L12.6,16.7z%20M6.1,18.9H2.6c-0.2,0-0.4-0.2-0.4-0.4v-5.8c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v4.7h2.4%20c0.2,0,0.4,0.2,0.4,0.4v0.6C6.5,18.7,6.3,18.9,6.1,18.9z%20M18.4,17.4H16v-1.7h2.4V17.4z'/%3e%3c/svg%3e", Be = "data:image/jpeg;base64,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", fl = { class: "user-card" }, _l = { class: "user-card__face-wrapper" }, hl = ["src"], wl = {
|
|
1245
1245
|
key: 0,
|
|
1246
1246
|
class: "user-card--blocked"
|
|
1247
|
-
}, yl = { class: "user-card__info" }, kl = { class: "user-card__row" },
|
|
1247
|
+
}, yl = { class: "user-card__info" }, kl = { class: "user-card__row" }, bl = ["src"], Al = { class: "user-card__row" }, Cl = { class: "user-card__uid" }, xl = { class: "user-card__row" }, El = { class: "user-card__stat__item" }, Bl = { class: "user-card__stat__value" }, Sl = { class: "user-card__stat__item" }, $l = { class: "user-card__stat__value" }, zl = { class: "user-card__stat__item" }, Dl = { class: "user-card__stat__value" }, Il = /* @__PURE__ */ S({
|
|
1248
1248
|
__name: "BiliUserCard",
|
|
1249
1249
|
props: {
|
|
1250
1250
|
user: {}
|
|
1251
1251
|
},
|
|
1252
1252
|
setup(e) {
|
|
1253
|
-
const l = e, s = C(() => l.user.face || Be), t = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg":
|
|
1254
|
-
return (
|
|
1255
|
-
const
|
|
1256
|
-
return r(),
|
|
1257
|
-
|
|
1253
|
+
const l = e, s = C(() => l.user.face || Be), t = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": dt, "../../assets/images/user_level/level_2.svg": vt, "../../assets/images/user_level/level_3.svg": pt, "../../assets/images/user_level/level_4.svg": mt, "../../assets/images/user_level/level_5.svg": gt, "../../assets/images/user_level/level_6.svg": ft }))[`../../assets/images/user_level/level_${l.user.level}.svg`], import.meta.url).href);
|
|
1254
|
+
return (o, n) => {
|
|
1255
|
+
const i = ae;
|
|
1256
|
+
return r(), f("div", fl, [
|
|
1257
|
+
P(o.$slots, "default"),
|
|
1258
1258
|
a("div", _l, [
|
|
1259
1259
|
a("img", {
|
|
1260
1260
|
class: "user-card__face",
|
|
1261
1261
|
alt: "face",
|
|
1262
1262
|
src: s.value
|
|
1263
1263
|
}, null, 8, hl),
|
|
1264
|
-
e.user.silence === 1 ? (r(),
|
|
1264
|
+
e.user.silence === 1 ? (r(), f("span", wl, "账号已封禁")) : $("", !0)
|
|
1265
1265
|
]),
|
|
1266
1266
|
a("div", yl, [
|
|
1267
1267
|
a("div", kl, [
|
|
1268
|
-
v(
|
|
1268
|
+
v(i, {
|
|
1269
1269
|
class: "user-card__name",
|
|
1270
1270
|
content: e.user.name
|
|
1271
1271
|
}, null, 8, ["content"]),
|
|
@@ -1273,23 +1273,23 @@ const Ro = {
|
|
|
1273
1273
|
class: "user-card__level",
|
|
1274
1274
|
src: t.value,
|
|
1275
1275
|
alt: "level"
|
|
1276
|
-
}, null, 8,
|
|
1276
|
+
}, null, 8, bl)
|
|
1277
1277
|
]),
|
|
1278
|
-
a("div",
|
|
1278
|
+
a("div", Al, [
|
|
1279
1279
|
n[0] || (n[0] = a("span", { class: "user-card__uid-icon" }, null, -1)),
|
|
1280
|
-
a("span", Cl,
|
|
1280
|
+
a("span", Cl, m(e.user.mid), 1)
|
|
1281
1281
|
]),
|
|
1282
1282
|
a("div", xl, [
|
|
1283
1283
|
a("span", El, [
|
|
1284
|
-
a("span", Bl,
|
|
1284
|
+
a("span", Bl, m(e.user.following), 1),
|
|
1285
1285
|
n[1] || (n[1] = a("span", { class: "user-card__stat__label" }, "关注", -1))
|
|
1286
1286
|
]),
|
|
1287
1287
|
a("span", Sl, [
|
|
1288
|
-
a("span", $l,
|
|
1288
|
+
a("span", $l, m(e.user.follower), 1),
|
|
1289
1289
|
n[2] || (n[2] = a("span", { class: "user-card__stat__label" }, "粉丝", -1))
|
|
1290
1290
|
]),
|
|
1291
1291
|
a("span", zl, [
|
|
1292
|
-
a("span", Dl,
|
|
1292
|
+
a("span", Dl, m(e.user.coins), 1),
|
|
1293
1293
|
n[3] || (n[3] = a("span", { class: "user-card__stat__label" }, "硬币", -1))
|
|
1294
1294
|
])
|
|
1295
1295
|
])
|
|
@@ -1297,7 +1297,7 @@ const Ro = {
|
|
|
1297
1297
|
]);
|
|
1298
1298
|
};
|
|
1299
1299
|
}
|
|
1300
|
-
}),
|
|
1300
|
+
}), Pl = { class: "bili-user-info" }, Vl = ["src"], Ml = { class: "bili-user-info__right" }, Ql = { class: "bili-user-info__info-row" }, Tl = { class: "bili-user-info__uid" }, Hl = /* @__PURE__ */ S({
|
|
1301
1301
|
__name: "BiliUserInfo",
|
|
1302
1302
|
props: {
|
|
1303
1303
|
user: {}
|
|
@@ -1305,13 +1305,13 @@ const Ro = {
|
|
|
1305
1305
|
setup(e) {
|
|
1306
1306
|
return (l, s) => {
|
|
1307
1307
|
const t = ae;
|
|
1308
|
-
return r(),
|
|
1309
|
-
e.user.face ? (r(),
|
|
1308
|
+
return r(), f("div", Pl, [
|
|
1309
|
+
e.user.face ? (r(), f("img", {
|
|
1310
1310
|
key: 0,
|
|
1311
1311
|
class: "bili-user-info__face",
|
|
1312
1312
|
src: e.user.face,
|
|
1313
1313
|
alt: "face"
|
|
1314
|
-
}, null, 8, Vl)) :
|
|
1314
|
+
}, null, 8, Vl)) : $("", !0),
|
|
1315
1315
|
a("div", Ml, [
|
|
1316
1316
|
v(t, {
|
|
1317
1317
|
class: "bili-user-info__name",
|
|
@@ -1319,37 +1319,37 @@ const Ro = {
|
|
|
1319
1319
|
}, null, 8, ["content"]),
|
|
1320
1320
|
a("div", Ql, [
|
|
1321
1321
|
s[0] || (s[0] = a("span", { class: "bili-user-info__uid-icon" }, null, -1)),
|
|
1322
|
-
a("span", Tl,
|
|
1322
|
+
a("span", Tl, m(e.user.mid), 1)
|
|
1323
1323
|
])
|
|
1324
1324
|
])
|
|
1325
1325
|
]);
|
|
1326
1326
|
};
|
|
1327
1327
|
}
|
|
1328
|
-
}),
|
|
1328
|
+
}), Zo = /* @__PURE__ */ H(Hl, [["__scopeId", "data-v-a22bf16f"]]), _t = /* @__PURE__ */ S({
|
|
1329
1329
|
__name: "PluginMenuItem",
|
|
1330
1330
|
props: {
|
|
1331
1331
|
menu: {}
|
|
1332
1332
|
},
|
|
1333
1333
|
setup(e) {
|
|
1334
1334
|
return (l, s) => {
|
|
1335
|
-
const t =
|
|
1336
|
-
return !e.menu.children || e.menu.children.length === 0 ? (r(),
|
|
1335
|
+
const t = st, o = as;
|
|
1336
|
+
return !e.menu.children || e.menu.children.length === 0 ? (r(), b(t, {
|
|
1337
1337
|
key: 0,
|
|
1338
1338
|
index: e.menu.path
|
|
1339
1339
|
}, {
|
|
1340
1340
|
title: d(() => [
|
|
1341
|
-
k(
|
|
1341
|
+
k(m(e.menu.title), 1)
|
|
1342
1342
|
]),
|
|
1343
1343
|
_: 1
|
|
1344
|
-
}, 8, ["index"])) : (r(),
|
|
1344
|
+
}, 8, ["index"])) : (r(), b(o, {
|
|
1345
1345
|
key: 1,
|
|
1346
1346
|
index: e.menu.path
|
|
1347
1347
|
}, {
|
|
1348
1348
|
title: d(() => [
|
|
1349
|
-
k(
|
|
1349
|
+
k(m(e.menu.title), 1)
|
|
1350
1350
|
]),
|
|
1351
1351
|
default: d(() => [
|
|
1352
|
-
(r(!0),
|
|
1352
|
+
(r(!0), f(L, null, q(e.menu.children, (n) => (r(), b(_t, {
|
|
1353
1353
|
key: n.path,
|
|
1354
1354
|
menu: n
|
|
1355
1355
|
}, null, 8, ["menu"]))), 128))
|
|
@@ -1358,7 +1358,7 @@ const Ro = {
|
|
|
1358
1358
|
}, 8, ["index"]));
|
|
1359
1359
|
};
|
|
1360
1360
|
}
|
|
1361
|
-
}),
|
|
1361
|
+
}), Rl = /* @__PURE__ */ S({
|
|
1362
1362
|
__name: "PluginMenus",
|
|
1363
1363
|
props: {
|
|
1364
1364
|
menus: {},
|
|
@@ -1366,57 +1366,57 @@ const Ro = {
|
|
|
1366
1366
|
},
|
|
1367
1367
|
emits: ["handleSelect"],
|
|
1368
1368
|
setup(e, { emit: l }) {
|
|
1369
|
-
const s = e, t = (
|
|
1369
|
+
const s = e, t = (g, w = /* @__PURE__ */ new Map()) => (g.forEach((_) => {
|
|
1370
1370
|
w.set(_.path, _), _.children && _.children.length > 0 && t(_.children, w);
|
|
1371
|
-
}), w),
|
|
1372
|
-
const w =
|
|
1371
|
+
}), w), o = C(() => t(s.menus)), n = l, i = (g) => {
|
|
1372
|
+
const w = o.value.get(g);
|
|
1373
1373
|
w && n("handleSelect", w);
|
|
1374
|
-
}, c =
|
|
1375
|
-
return (
|
|
1376
|
-
const _ =
|
|
1377
|
-
return r(), A
|
|
1374
|
+
}, c = We(), u = C(() => !!c["left-item"] || !!c.left), p = C(() => !!c["right-item"] || !!c.right);
|
|
1375
|
+
return (g, w) => {
|
|
1376
|
+
const _ = st, A = os;
|
|
1377
|
+
return r(), b(A, {
|
|
1378
1378
|
"default-active": e.activeIndex,
|
|
1379
1379
|
class: "plugin-menus",
|
|
1380
1380
|
mode: "horizontal",
|
|
1381
1381
|
ellipsis: !1,
|
|
1382
|
-
onSelect:
|
|
1382
|
+
onSelect: i
|
|
1383
1383
|
}, {
|
|
1384
1384
|
default: d(() => [
|
|
1385
|
-
u.value ?
|
|
1385
|
+
u.value ? P(g.$slots, "left-item", { key: 0 }, () => [
|
|
1386
1386
|
v(_, {
|
|
1387
1387
|
index: "-left",
|
|
1388
1388
|
style: { "margin-right": "auto" }
|
|
1389
1389
|
}, {
|
|
1390
1390
|
default: d(() => [
|
|
1391
|
-
|
|
1391
|
+
P(g.$slots, "left", {}, void 0, !0)
|
|
1392
1392
|
]),
|
|
1393
1393
|
_: 3
|
|
1394
1394
|
})
|
|
1395
|
-
], !0) :
|
|
1396
|
-
(r(!0),
|
|
1395
|
+
], !0) : $("", !0),
|
|
1396
|
+
(r(!0), f(L, null, q(e.menus, (x) => (r(), b(_t, {
|
|
1397
1397
|
key: x.path,
|
|
1398
1398
|
menu: x,
|
|
1399
1399
|
index: String(x.path)
|
|
1400
1400
|
}, null, 8, ["menu", "index"]))), 128)),
|
|
1401
|
-
|
|
1401
|
+
p.value ? P(g.$slots, "right-item", { key: 1 }, () => [
|
|
1402
1402
|
v(_, {
|
|
1403
1403
|
index: "-right",
|
|
1404
1404
|
style: { "margin-left": "auto" }
|
|
1405
1405
|
}, {
|
|
1406
1406
|
default: d(() => [
|
|
1407
|
-
|
|
1407
|
+
P(g.$slots, "right", {}, void 0, !0)
|
|
1408
1408
|
]),
|
|
1409
1409
|
_: 3
|
|
1410
1410
|
})
|
|
1411
|
-
], !0) :
|
|
1411
|
+
], !0) : $("", !0)
|
|
1412
1412
|
]),
|
|
1413
1413
|
_: 3
|
|
1414
1414
|
}, 8, ["default-active"]);
|
|
1415
1415
|
};
|
|
1416
1416
|
}
|
|
1417
|
-
}),
|
|
1417
|
+
}), Ll = /* @__PURE__ */ H(Rl, [["__scopeId", "data-v-6dfc7821"]]);
|
|
1418
1418
|
new Ft();
|
|
1419
|
-
var Se = /* @__PURE__ */ new Map(),
|
|
1419
|
+
var Se = /* @__PURE__ */ new Map(), ht = async (e, l) => {
|
|
1420
1420
|
const s = await window.toolkitApi.bili.createBiliClient({
|
|
1421
1421
|
context: {
|
|
1422
1422
|
userCookie: e.userCookie
|
|
@@ -1427,24 +1427,24 @@ var Se = /* @__PURE__ */ new Map(), _t = async (e, l) => {
|
|
|
1427
1427
|
return Se.set(e.mid, s.id), s.id;
|
|
1428
1428
|
}, Fl = async (e, l) => {
|
|
1429
1429
|
if (!e || !e.mid) throw new Error("用户未登录");
|
|
1430
|
-
return Se.has(e.mid) ? Se.get(e.mid) : await
|
|
1430
|
+
return Se.has(e.mid) ? Se.get(e.mid) : await ht(e, l);
|
|
1431
1431
|
}, Ul = {
|
|
1432
|
-
reset:
|
|
1432
|
+
reset: ht,
|
|
1433
1433
|
get: Fl
|
|
1434
|
-
},
|
|
1435
|
-
},
|
|
1436
|
-
function
|
|
1437
|
-
return new Proxy(
|
|
1434
|
+
}, Ol = () => {
|
|
1435
|
+
}, ql = /* @__PURE__ */ new Set(["then", "catch", "finally", "toJSON", "toString", "valueOf"]);
|
|
1436
|
+
function wt(e, l = []) {
|
|
1437
|
+
return new Proxy(Ol, {
|
|
1438
1438
|
get(s, t) {
|
|
1439
|
-
if (typeof t != "symbol" && !(l.length === 0 &&
|
|
1440
|
-
return
|
|
1439
|
+
if (typeof t != "symbol" && !(l.length === 0 && ql.has(t)))
|
|
1440
|
+
return wt(e, l.concat(t));
|
|
1441
1441
|
},
|
|
1442
|
-
async apply(s, t,
|
|
1443
|
-
let n,
|
|
1444
|
-
if (
|
|
1445
|
-
for (const u of
|
|
1446
|
-
typeof u == "object" && "signal" in u && u.signal instanceof AbortSignal && (n = u.signal,
|
|
1447
|
-
window.toolkitApi.bili.abortBiliApi(
|
|
1442
|
+
async apply(s, t, o) {
|
|
1443
|
+
let n, i, c;
|
|
1444
|
+
if (o && o.length > 0)
|
|
1445
|
+
for (const u of o)
|
|
1446
|
+
typeof u == "object" && "signal" in u && u.signal instanceof AbortSignal && (n = u.signal, i = crypto.randomUUID(), u.signal = i, c = () => {
|
|
1447
|
+
window.toolkitApi.bili.abortBiliApi(i);
|
|
1448
1448
|
}, n.addEventListener("abort", c));
|
|
1449
1449
|
try {
|
|
1450
1450
|
const u = await window.toolkitApi.bili.invokeBiliApi(
|
|
@@ -1453,7 +1453,7 @@ function ht(e, l = []) {
|
|
|
1453
1453
|
},
|
|
1454
1454
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1455
1455
|
l.join("."),
|
|
1456
|
-
...
|
|
1456
|
+
...o
|
|
1457
1457
|
);
|
|
1458
1458
|
return Kt(u);
|
|
1459
1459
|
} finally {
|
|
@@ -1463,12 +1463,12 @@ function ht(e, l = []) {
|
|
|
1463
1463
|
});
|
|
1464
1464
|
}
|
|
1465
1465
|
async function jl(e, l) {
|
|
1466
|
-
return
|
|
1466
|
+
return wt(await Ul.reset(e, l));
|
|
1467
1467
|
}
|
|
1468
1468
|
const Nl = { class: "plugin-page-header" }, Zl = { class: "plugin-page-header__user-container" }, Wl = { class: "plugin-page-header__user-container__info" }, Gl = ["src"], Jl = ["src"], Kl = {
|
|
1469
1469
|
key: 1,
|
|
1470
1470
|
class: "plugin-page-header__user-container__info"
|
|
1471
|
-
},
|
|
1471
|
+
}, Wo = /* @__PURE__ */ S({
|
|
1472
1472
|
__name: "PluginPageHeader",
|
|
1473
1473
|
props: {
|
|
1474
1474
|
menus: {},
|
|
@@ -1476,33 +1476,33 @@ const Nl = { class: "plugin-page-header" }, Zl = { class: "plugin-page-header__u
|
|
|
1476
1476
|
},
|
|
1477
1477
|
emits: ["handleMenuSelect"],
|
|
1478
1478
|
setup(e, { emit: l }) {
|
|
1479
|
-
const s =
|
|
1480
|
-
const
|
|
1481
|
-
s.setUser(
|
|
1479
|
+
const s = He(), { user: t } = Qt(s), o = C(() => t.value?.face || Be), n = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": dt, "../../assets/images/user_level/level_2.svg": vt, "../../assets/images/user_level/level_3.svg": pt, "../../assets/images/user_level/level_4.svg": mt, "../../assets/images/user_level/level_5.svg": gt, "../../assets/images/user_level/level_6.svg": ft }))[`../../assets/images/user_level/level_${t.value?.level ?? 0}.svg`], import.meta.url).href), i = async () => {
|
|
1480
|
+
const g = await T.user.switchUser(!0);
|
|
1481
|
+
s.setUser(g), await jl(g);
|
|
1482
1482
|
}, c = () => {
|
|
1483
1483
|
s.deleteUser();
|
|
1484
|
-
}, u = l,
|
|
1485
|
-
|
|
1484
|
+
}, u = l, p = (g) => {
|
|
1485
|
+
g && u("handleMenuSelect", g);
|
|
1486
1486
|
};
|
|
1487
|
-
return
|
|
1487
|
+
return ee(async () => {
|
|
1488
1488
|
if (t.value)
|
|
1489
1489
|
try {
|
|
1490
|
-
const
|
|
1491
|
-
s.setUser(
|
|
1490
|
+
const g = await T.user.getMyInfoByCookie(t.value.userCookie);
|
|
1491
|
+
s.setUser(g);
|
|
1492
1492
|
} catch {
|
|
1493
1493
|
ie("当前用户 cookie 已失效"), s.deleteUser();
|
|
1494
1494
|
}
|
|
1495
|
-
}), (
|
|
1496
|
-
const _ =
|
|
1497
|
-
return r(),
|
|
1495
|
+
}), (g, w) => {
|
|
1496
|
+
const _ = Ll, A = ae, x = Il, V = is, B = us, D = rs, M = cs;
|
|
1497
|
+
return r(), f("div", Nl, [
|
|
1498
1498
|
v(_, {
|
|
1499
1499
|
class: "plugin-page-header__menus",
|
|
1500
1500
|
"active-index": e.activeIndex,
|
|
1501
1501
|
menus: e.menus,
|
|
1502
|
-
onHandleSelect:
|
|
1502
|
+
onHandleSelect: p
|
|
1503
1503
|
}, null, 8, ["active-index", "menus"]),
|
|
1504
1504
|
a("div", Zl, [
|
|
1505
|
-
h(t) ? (r(),
|
|
1505
|
+
h(t) ? (r(), b(V, {
|
|
1506
1506
|
key: 0,
|
|
1507
1507
|
placement: "bottom-end",
|
|
1508
1508
|
width: "auto",
|
|
@@ -1512,10 +1512,10 @@ const Nl = { class: "plugin-page-header" }, Zl = { class: "plugin-page-header__u
|
|
|
1512
1512
|
a("div", Wl, [
|
|
1513
1513
|
a("img", {
|
|
1514
1514
|
class: "plugin-page-header__user-container__info__face",
|
|
1515
|
-
src:
|
|
1515
|
+
src: o.value,
|
|
1516
1516
|
alt: "face"
|
|
1517
1517
|
}, null, 8, Gl),
|
|
1518
|
-
v(
|
|
1518
|
+
v(A, {
|
|
1519
1519
|
class: "plugin-page-header__user-container__info__name",
|
|
1520
1520
|
content: h(t).name
|
|
1521
1521
|
}, null, 8, ["content"]),
|
|
@@ -1530,7 +1530,7 @@ const Nl = { class: "plugin-page-header" }, Zl = { class: "plugin-page-header__u
|
|
|
1530
1530
|
v(x, { user: h(t) }, null, 8, ["user"])
|
|
1531
1531
|
]),
|
|
1532
1532
|
_: 1
|
|
1533
|
-
})) : (r(),
|
|
1533
|
+
})) : (r(), f("div", Kl, [...w[0] || (w[0] = [
|
|
1534
1534
|
a("img", {
|
|
1535
1535
|
class: "plugin-page-header__user-container__info__face",
|
|
1536
1536
|
alt: "",
|
|
@@ -1546,13 +1546,13 @@ const Nl = { class: "plugin-page-header" }, Zl = { class: "plugin-page-header__u
|
|
|
1546
1546
|
dropdown: d(() => [
|
|
1547
1547
|
v(D, null, {
|
|
1548
1548
|
default: d(() => [
|
|
1549
|
-
v(
|
|
1549
|
+
v(B, { onClick: i }, {
|
|
1550
1550
|
default: d(() => [...w[1] || (w[1] = [
|
|
1551
1551
|
k("选择用户", -1)
|
|
1552
1552
|
])]),
|
|
1553
1553
|
_: 1
|
|
1554
1554
|
}),
|
|
1555
|
-
h(t) ? (r(),
|
|
1555
|
+
h(t) ? (r(), b(B, {
|
|
1556
1556
|
key: 0,
|
|
1557
1557
|
onClick: c
|
|
1558
1558
|
}, {
|
|
@@ -1560,7 +1560,7 @@ const Nl = { class: "plugin-page-header" }, Zl = { class: "plugin-page-header__u
|
|
|
1560
1560
|
k("取消选择", -1)
|
|
1561
1561
|
])]),
|
|
1562
1562
|
_: 1
|
|
1563
|
-
})) :
|
|
1563
|
+
})) : $("", !0)
|
|
1564
1564
|
]),
|
|
1565
1565
|
_: 1
|
|
1566
1566
|
})
|
|
@@ -1576,11 +1576,11 @@ const Nl = { class: "plugin-page-header" }, Zl = { class: "plugin-page-header__u
|
|
|
1576
1576
|
}
|
|
1577
1577
|
}), Yl = {}, Xl = { class: "plugin-page-container" };
|
|
1578
1578
|
function en(e, l) {
|
|
1579
|
-
return r(),
|
|
1580
|
-
|
|
1579
|
+
return r(), f("div", Xl, [
|
|
1580
|
+
P(e.$slots, "default", {}, void 0, !0)
|
|
1581
1581
|
]);
|
|
1582
1582
|
}
|
|
1583
|
-
const
|
|
1583
|
+
const Go = /* @__PURE__ */ H(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392"]]), tn = { class: "page-table__toolbar" }, sn = { class: "page-table__actions" }, ln = /* @__PURE__ */ S({
|
|
1584
1584
|
inheritAttrs: !1,
|
|
1585
1585
|
__name: "PageTable",
|
|
1586
1586
|
props: {
|
|
@@ -1597,74 +1597,74 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1597
1597
|
},
|
|
1598
1598
|
emits: ["reset", "search"],
|
|
1599
1599
|
setup(e, { expose: l, emit: s }) {
|
|
1600
|
-
const t = Vt(),
|
|
1600
|
+
const t = Vt(), o = C(() => ({
|
|
1601
1601
|
class: t.class,
|
|
1602
1602
|
style: t.style
|
|
1603
1603
|
})), n = C(() => {
|
|
1604
|
-
const { class: Q, style: j, ...
|
|
1605
|
-
return
|
|
1606
|
-
}),
|
|
1604
|
+
const { class: Q, style: j, ...pe } = t;
|
|
1605
|
+
return pe;
|
|
1606
|
+
}), i = e, c = E(!1), u = C(() => i.pageParams ? i.pageParams : {
|
|
1607
1607
|
pageNum: 1,
|
|
1608
|
-
pageSize:
|
|
1608
|
+
pageSize: i.pageSizes[0]
|
|
1609
1609
|
}), {
|
|
1610
|
-
pageData:
|
|
1611
|
-
tableData:
|
|
1610
|
+
pageData: p,
|
|
1611
|
+
tableData: g,
|
|
1612
1612
|
loading: w,
|
|
1613
1613
|
refresh: _,
|
|
1614
|
-
resetAndRefresh:
|
|
1614
|
+
resetAndRefresh: A,
|
|
1615
1615
|
resetPageAndRefresh: x,
|
|
1616
1616
|
handleSizeChange: V,
|
|
1617
|
-
handleCurrPageChange:
|
|
1618
|
-
} =
|
|
1619
|
-
fetchPage:
|
|
1617
|
+
handleCurrPageChange: B
|
|
1618
|
+
} = ct({
|
|
1619
|
+
fetchPage: i.fetchPage,
|
|
1620
1620
|
pageParams: () => u.value,
|
|
1621
|
-
queryParams:
|
|
1622
|
-
autoLoad:
|
|
1621
|
+
queryParams: i.queryParams ? () => i.queryParams : void 0,
|
|
1622
|
+
autoLoad: i.autoLoad,
|
|
1623
1623
|
onLoaded: () => {
|
|
1624
|
-
c.value = !0,
|
|
1624
|
+
c.value = !0, z.value?.setScrollTop(0);
|
|
1625
1625
|
}
|
|
1626
1626
|
}), D = s, M = () => {
|
|
1627
1627
|
D("search"), _();
|
|
1628
1628
|
}, F = async () => {
|
|
1629
|
-
D("reset"), await
|
|
1630
|
-
}, { elementRef:
|
|
1631
|
-
search:
|
|
1632
|
-
resetQuery:
|
|
1633
|
-
})),
|
|
1629
|
+
D("reset"), await ue(), await A();
|
|
1630
|
+
}, { elementRef: I, height: y } = bs("tableWrapperRef"), z = te("tableRef"), U = C(() => i.tableHeight ? i.tableHeight : y.value), le = C(() => ({
|
|
1631
|
+
search: i.actions.includes("search"),
|
|
1632
|
+
resetQuery: i.actions.includes("resetQuery")
|
|
1633
|
+
})), ne = C(() => i.pageSizes && i.pageSizes.length > 1 ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), ve = !!We().query;
|
|
1634
1634
|
return l({
|
|
1635
1635
|
loading: w,
|
|
1636
|
-
tableRef:
|
|
1637
|
-
tableData:
|
|
1638
|
-
pageData:
|
|
1636
|
+
tableRef: z,
|
|
1637
|
+
tableData: g,
|
|
1638
|
+
pageData: p,
|
|
1639
1639
|
refresh: _,
|
|
1640
|
-
resetAndRefresh:
|
|
1640
|
+
resetAndRefresh: A,
|
|
1641
1641
|
resetPageAndRefresh: x,
|
|
1642
|
-
getSelectionRows:
|
|
1643
|
-
toggleRowSelection:
|
|
1644
|
-
setCurrentRow:
|
|
1645
|
-
clearSelection:
|
|
1646
|
-
scrollTo:
|
|
1642
|
+
getSelectionRows: z.value?.getSelectionRows,
|
|
1643
|
+
toggleRowSelection: z.value?.toggleRowSelection,
|
|
1644
|
+
setCurrentRow: z.value?.setCurrentRow,
|
|
1645
|
+
clearSelection: z.value?.clearSelection,
|
|
1646
|
+
scrollTo: z.value?.scrollTo
|
|
1647
1647
|
}), (Q, j) => {
|
|
1648
|
-
const
|
|
1649
|
-
return
|
|
1648
|
+
const pe = K, Ct = vs, xt = lt, Et = ds, Bt = nt, St = Pe;
|
|
1649
|
+
return G((r(), f("div", Y({ class: "page-table" }, o.value), [
|
|
1650
1650
|
a("div", tn, [
|
|
1651
1651
|
a("div", {
|
|
1652
|
-
class:
|
|
1652
|
+
class: W(["page-table__query", ve ? "has-query" : ""])
|
|
1653
1653
|
}, [
|
|
1654
|
-
|
|
1654
|
+
P(Q.$slots, "query", {}, void 0, !0),
|
|
1655
1655
|
a("div", sn, [
|
|
1656
|
-
|
|
1657
|
-
|
|
1656
|
+
P(Q.$slots, "actions", {}, void 0, !0),
|
|
1657
|
+
le.value.search ? (r(), b(pe, {
|
|
1658
1658
|
key: 0,
|
|
1659
1659
|
type: "primary",
|
|
1660
1660
|
onClick: M
|
|
1661
1661
|
}, {
|
|
1662
1662
|
default: d(() => [
|
|
1663
|
-
k(
|
|
1663
|
+
k(m(e.searchActionLabel), 1)
|
|
1664
1664
|
]),
|
|
1665
1665
|
_: 1
|
|
1666
|
-
})) :
|
|
1667
|
-
|
|
1666
|
+
})) : $("", !0),
|
|
1667
|
+
le.value.resetQuery ? (r(), b(pe, {
|
|
1668
1668
|
key: 1,
|
|
1669
1669
|
onClick: F
|
|
1670
1670
|
}, {
|
|
@@ -1672,61 +1672,61 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1672
1672
|
k("重置", -1)
|
|
1673
1673
|
])]),
|
|
1674
1674
|
_: 1
|
|
1675
|
-
})) :
|
|
1675
|
+
})) : $("", !0)
|
|
1676
1676
|
])
|
|
1677
1677
|
], 2)
|
|
1678
1678
|
]),
|
|
1679
1679
|
a("div", {
|
|
1680
1680
|
ref_key: "tableWrapperRef",
|
|
1681
|
-
ref:
|
|
1681
|
+
ref: I,
|
|
1682
1682
|
class: "page-table__table-wrapper"
|
|
1683
1683
|
}, [
|
|
1684
|
-
c.value ? (r(),
|
|
1684
|
+
c.value ? (r(), b(Et, Y({
|
|
1685
1685
|
key: 0,
|
|
1686
1686
|
ref_key: "tableRef",
|
|
1687
|
-
ref:
|
|
1687
|
+
ref: z
|
|
1688
1688
|
}, n.value, {
|
|
1689
1689
|
class: "page-table__table",
|
|
1690
|
-
data: h(
|
|
1690
|
+
data: h(g),
|
|
1691
1691
|
border: "",
|
|
1692
1692
|
height: U.value,
|
|
1693
1693
|
"table-layout": e.tableLayout,
|
|
1694
1694
|
"highlight-current-row": e.selectionMode === "single"
|
|
1695
1695
|
}), {
|
|
1696
1696
|
empty: d(() => [
|
|
1697
|
-
|
|
1698
|
-
v(
|
|
1697
|
+
P(Q.$slots, "empty", {}, () => [
|
|
1698
|
+
v(xt, { description: "没有数据" })
|
|
1699
1699
|
], !0)
|
|
1700
1700
|
]),
|
|
1701
1701
|
default: d(() => [
|
|
1702
|
-
e.selectionMode === "multiple" ? (r(),
|
|
1702
|
+
e.selectionMode === "multiple" ? (r(), b(Ct, {
|
|
1703
1703
|
key: 0,
|
|
1704
1704
|
type: "selection",
|
|
1705
1705
|
width: "55"
|
|
1706
|
-
})) :
|
|
1707
|
-
|
|
1706
|
+
})) : $("", !0),
|
|
1707
|
+
P(Q.$slots, "default", {}, void 0, !0)
|
|
1708
1708
|
]),
|
|
1709
1709
|
_: 3
|
|
1710
|
-
}, 16, ["data", "height", "table-layout", "highlight-current-row"])) :
|
|
1710
|
+
}, 16, ["data", "height", "table-layout", "highlight-current-row"])) : $("", !0)
|
|
1711
1711
|
], 512),
|
|
1712
|
-
v(
|
|
1712
|
+
v(Bt, {
|
|
1713
1713
|
class: "page-table__pagination",
|
|
1714
|
-
"current-page": h(
|
|
1715
|
-
"onUpdate:currentPage": j[0] || (j[0] = (
|
|
1716
|
-
"page-size": h(
|
|
1717
|
-
"onUpdate:pageSize": j[1] || (j[1] = (
|
|
1714
|
+
"current-page": h(p).pageNum,
|
|
1715
|
+
"onUpdate:currentPage": j[0] || (j[0] = (be) => h(p).pageNum = be),
|
|
1716
|
+
"page-size": h(p).pageSize,
|
|
1717
|
+
"onUpdate:pageSize": j[1] || (j[1] = (be) => h(p).pageSize = be),
|
|
1718
1718
|
"page-sizes": e.pageSizes,
|
|
1719
|
-
total: h(
|
|
1720
|
-
layout:
|
|
1721
|
-
onCurrentChange: h(
|
|
1719
|
+
total: h(p).total,
|
|
1720
|
+
layout: ne.value,
|
|
1721
|
+
onCurrentChange: h(B),
|
|
1722
1722
|
onSizeChange: h(V)
|
|
1723
1723
|
}, null, 8, ["current-page", "page-size", "page-sizes", "total", "layout", "onCurrentChange", "onSizeChange"])
|
|
1724
1724
|
], 16)), [
|
|
1725
|
-
[
|
|
1725
|
+
[St, h(w)]
|
|
1726
1726
|
]);
|
|
1727
1727
|
};
|
|
1728
1728
|
}
|
|
1729
|
-
}),
|
|
1729
|
+
}), Jo = /* @__PURE__ */ H(ln, [["__scopeId", "data-v-293a15d1"]]), Ne = "delete-confirm-dialog:delete-source-file", nn = /* @__PURE__ */ S({
|
|
1730
1730
|
__name: "DeleteConfirmDialog",
|
|
1731
1731
|
props: {
|
|
1732
1732
|
visible: { type: Boolean },
|
|
@@ -1737,50 +1737,50 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1737
1737
|
},
|
|
1738
1738
|
emits: ["confirm", "cancel"],
|
|
1739
1739
|
setup(e, { emit: l }) {
|
|
1740
|
-
const s = l, t =
|
|
1741
|
-
function
|
|
1742
|
-
localStorage.setItem(
|
|
1740
|
+
const s = l, t = E(localStorage.getItem(Ne) === "true");
|
|
1741
|
+
function o() {
|
|
1742
|
+
localStorage.setItem(Ne, String(t.value));
|
|
1743
1743
|
}
|
|
1744
1744
|
function n() {
|
|
1745
1745
|
s("confirm", t.value);
|
|
1746
1746
|
}
|
|
1747
|
-
function
|
|
1747
|
+
function i() {
|
|
1748
1748
|
s("cancel");
|
|
1749
1749
|
}
|
|
1750
1750
|
return (c, u) => {
|
|
1751
|
-
const
|
|
1752
|
-
return r(),
|
|
1751
|
+
const p = ps, g = K, w = de;
|
|
1752
|
+
return r(), b(w, {
|
|
1753
1753
|
"model-value": e.visible,
|
|
1754
1754
|
title: e.title,
|
|
1755
1755
|
width: "420px",
|
|
1756
1756
|
"close-on-click-modal": !1,
|
|
1757
1757
|
"close-on-press-escape": !1,
|
|
1758
|
-
onClose:
|
|
1758
|
+
onClose: i
|
|
1759
1759
|
}, {
|
|
1760
1760
|
footer: d(() => [
|
|
1761
|
-
v(
|
|
1761
|
+
v(g, { onClick: i }, {
|
|
1762
1762
|
default: d(() => [
|
|
1763
|
-
k(
|
|
1763
|
+
k(m(e.cancelButtonText), 1)
|
|
1764
1764
|
]),
|
|
1765
1765
|
_: 1
|
|
1766
1766
|
}),
|
|
1767
|
-
v(
|
|
1767
|
+
v(g, {
|
|
1768
1768
|
type: "danger",
|
|
1769
1769
|
onClick: n
|
|
1770
1770
|
}, {
|
|
1771
1771
|
default: d(() => [
|
|
1772
|
-
k(
|
|
1772
|
+
k(m(e.confirmButtonText), 1)
|
|
1773
1773
|
]),
|
|
1774
1774
|
_: 1
|
|
1775
1775
|
})
|
|
1776
1776
|
]),
|
|
1777
1777
|
default: d(() => [
|
|
1778
|
-
a("div", null,
|
|
1779
|
-
v(
|
|
1778
|
+
a("div", null, m(e.message), 1),
|
|
1779
|
+
v(p, {
|
|
1780
1780
|
modelValue: t.value,
|
|
1781
1781
|
"onUpdate:modelValue": u[0] || (u[0] = (_) => t.value = _),
|
|
1782
1782
|
style: { "margin-top": "16px" },
|
|
1783
|
-
onChange:
|
|
1783
|
+
onChange: o
|
|
1784
1784
|
}, {
|
|
1785
1785
|
default: d(() => [...u[1] || (u[1] = [
|
|
1786
1786
|
k(" 同时删除本地磁盘源文件 ", -1)
|
|
@@ -1792,7 +1792,7 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1792
1792
|
}, 8, ["model-value", "title"]);
|
|
1793
1793
|
};
|
|
1794
1794
|
}
|
|
1795
|
-
}),
|
|
1795
|
+
}), yt = /* @__PURE__ */ S({
|
|
1796
1796
|
__name: "DownloadStatus",
|
|
1797
1797
|
props: {
|
|
1798
1798
|
task: {}
|
|
@@ -1817,22 +1817,22 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1817
1817
|
default:
|
|
1818
1818
|
return "info";
|
|
1819
1819
|
}
|
|
1820
|
-
}), t = C(() =>
|
|
1821
|
-
return (
|
|
1822
|
-
const
|
|
1823
|
-
return r(),
|
|
1820
|
+
}), t = C(() => Xe[l.task.status]);
|
|
1821
|
+
return (o, n) => {
|
|
1822
|
+
const i = at;
|
|
1823
|
+
return r(), b(i, {
|
|
1824
1824
|
type: s.value,
|
|
1825
1825
|
"disable-transitions": "",
|
|
1826
1826
|
size: "small"
|
|
1827
1827
|
}, {
|
|
1828
1828
|
default: d(() => [
|
|
1829
|
-
k(
|
|
1829
|
+
k(m(t.value), 1)
|
|
1830
1830
|
]),
|
|
1831
1831
|
_: 1
|
|
1832
1832
|
}, 8, ["type"]);
|
|
1833
1833
|
};
|
|
1834
1834
|
}
|
|
1835
|
-
}),
|
|
1835
|
+
}), kt = /* @__PURE__ */ S({
|
|
1836
1836
|
__name: "DownloadProgress",
|
|
1837
1837
|
props: {
|
|
1838
1838
|
task: {}
|
|
@@ -1848,9 +1848,9 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1848
1848
|
return;
|
|
1849
1849
|
}
|
|
1850
1850
|
}), t = C(() => Yt(l.task.status, ["downloading", "merging"]));
|
|
1851
|
-
return (
|
|
1852
|
-
const
|
|
1853
|
-
return r(),
|
|
1851
|
+
return (o, n) => {
|
|
1852
|
+
const i = tt;
|
|
1853
|
+
return r(), b(i, {
|
|
1854
1854
|
percentage: e.task.progress ? e.task.progress.percent : 0,
|
|
1855
1855
|
"stroke-width": 8,
|
|
1856
1856
|
"show-text": !0,
|
|
@@ -1861,7 +1861,7 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1861
1861
|
}, null, 8, ["percentage", "status", "striped", "striped-flow"]);
|
|
1862
1862
|
};
|
|
1863
1863
|
}
|
|
1864
|
-
}), $e = (e) => Xt(e / 1024), an = (e) => e === 0 ? "0 KB/s" : e < 1024 ? e.toFixed(1) + " KB/s" : (e / 1024).toFixed(1) + " MB/s", ze = (e) => e <= 1e4 ? String(e) : e < 1e8 ? (e / 1e4).toFixed(1) + "万" : (e / 1e8).toFixed(1) + "亿", on = { class: "detail-item" }, cn = { class: "value" }, rn = { class: "detail-item" }, un = { class: "value" }, dn = { class: "detail-item" }, vn = { class: "value" }, pn = /* @__PURE__ */
|
|
1864
|
+
}), $e = (e) => Xt(e / 1024), an = (e) => e === 0 ? "0 KB/s" : e < 1024 ? e.toFixed(1) + " KB/s" : (e / 1024).toFixed(1) + " MB/s", ze = (e) => e <= 1e4 ? String(e) : e < 1e8 ? (e / 1e4).toFixed(1) + "万" : (e / 1e8).toFixed(1) + "亿", on = { class: "detail-item" }, cn = { class: "value" }, rn = { class: "detail-item" }, un = { class: "value" }, dn = { class: "detail-item" }, vn = { class: "value" }, pn = /* @__PURE__ */ S({
|
|
1865
1865
|
__name: "DownloadProgressDetails",
|
|
1866
1866
|
props: {
|
|
1867
1867
|
task: {},
|
|
@@ -1869,38 +1869,38 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1869
1869
|
isCompact: { type: Boolean }
|
|
1870
1870
|
},
|
|
1871
1871
|
setup(e) {
|
|
1872
|
-
return (l, s) => (r(),
|
|
1872
|
+
return (l, s) => (r(), f("div", {
|
|
1873
1873
|
class: "download-progress-details",
|
|
1874
|
-
style:
|
|
1874
|
+
style: fe({ gap: e.isCompact ? "10px" : "20px" })
|
|
1875
1875
|
}, [
|
|
1876
|
-
e.task.progress ? (r(),
|
|
1876
|
+
e.task.progress ? (r(), f(L, { key: 0 }, [
|
|
1877
1877
|
a("div", on, [
|
|
1878
1878
|
s[0] || (s[0] = a("span", { class: "label" }, "速度:", -1)),
|
|
1879
|
-
a("span", cn,
|
|
1879
|
+
a("span", cn, m(h(an)(e.task.progress.speedKBps)), 1)
|
|
1880
1880
|
]),
|
|
1881
1881
|
a("div", rn, [
|
|
1882
1882
|
s[2] || (s[2] = a("span", { class: "label" }, "文件:", -1)),
|
|
1883
1883
|
a("div", un, [
|
|
1884
|
-
a("span", null,
|
|
1884
|
+
a("span", null, m(e.task.progress?.currentItem), 1),
|
|
1885
1885
|
s[1] || (s[1] = a("span", null, " / ", -1)),
|
|
1886
|
-
a("span", null,
|
|
1886
|
+
a("span", null, m(e.resourceCount), 1)
|
|
1887
1887
|
])
|
|
1888
1888
|
]),
|
|
1889
1889
|
a("div", dn, [
|
|
1890
1890
|
s[4] || (s[4] = a("span", { class: "label" }, "已完成:", -1)),
|
|
1891
1891
|
a("div", vn, [
|
|
1892
|
-
a("span", null,
|
|
1892
|
+
a("span", null, m(h($e)(e.task.progress.completedBytes)), 1),
|
|
1893
1893
|
s[3] || (s[3] = a("span", null, " / ", -1)),
|
|
1894
|
-
a("span", null,
|
|
1894
|
+
a("span", null, m(h($e)(e.task.progress.totalBytes)), 1)
|
|
1895
1895
|
])
|
|
1896
1896
|
])
|
|
1897
|
-
], 64)) :
|
|
1897
|
+
], 64)) : $("", !0)
|
|
1898
1898
|
], 4));
|
|
1899
1899
|
}
|
|
1900
|
-
}),
|
|
1900
|
+
}), bt = /* @__PURE__ */ H(pn, [["__scopeId", "data-v-1923a35f"]]), mn = { class: "download-result" }, gn = {
|
|
1901
1901
|
key: 0,
|
|
1902
1902
|
class: "detail-item"
|
|
1903
|
-
}, fn = { class: "detail-item" }, _n = { class: "detail-item" }, hn = /* @__PURE__ */
|
|
1903
|
+
}, fn = { class: "detail-item" }, _n = { class: "detail-item" }, hn = /* @__PURE__ */ S({
|
|
1904
1904
|
__name: "DownloadResult",
|
|
1905
1905
|
props: {
|
|
1906
1906
|
task: {},
|
|
@@ -1910,23 +1910,23 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1910
1910
|
setup(e) {
|
|
1911
1911
|
return (l, s) => {
|
|
1912
1912
|
const t = N;
|
|
1913
|
-
return r(),
|
|
1913
|
+
return r(), f("div", mn, [
|
|
1914
1914
|
s[0] || (s[0] = a("span", { class: "hint" }, "总共:", -1)),
|
|
1915
|
-
e.task.result ? (r(),
|
|
1916
|
-
a("span", null,
|
|
1917
|
-
])) :
|
|
1915
|
+
e.task.result ? (r(), f("span", gn, [
|
|
1916
|
+
a("span", null, m(h($e)(e.task.result.totalBytes)), 1)
|
|
1917
|
+
])) : $("", !0),
|
|
1918
1918
|
a("span", fn, [
|
|
1919
1919
|
v(t, { icon: "video" }),
|
|
1920
|
-
a("span", null,
|
|
1920
|
+
a("span", null, m(e.videoCount) + " 个视频", 1)
|
|
1921
1921
|
]),
|
|
1922
1922
|
a("span", _n, [
|
|
1923
1923
|
v(t, { icon: "file" }),
|
|
1924
|
-
a("span", null,
|
|
1924
|
+
a("span", null, m(e.resourceCount) + " 个文件", 1)
|
|
1925
1925
|
])
|
|
1926
1926
|
]);
|
|
1927
1927
|
};
|
|
1928
1928
|
}
|
|
1929
|
-
}), At = /* @__PURE__ */
|
|
1929
|
+
}), At = /* @__PURE__ */ H(hn, [["__scopeId", "data-v-a28b3695"]]), wn = { class: "video-stats-info" }, yn = { class: "value" }, kn = /* @__PURE__ */ S({
|
|
1930
1930
|
__name: "VideoStatsInfo",
|
|
1931
1931
|
props: {
|
|
1932
1932
|
stat: {},
|
|
@@ -1940,30 +1940,30 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1940
1940
|
share: "share-forward",
|
|
1941
1941
|
reply: "discuss"
|
|
1942
1942
|
}, t = C(() => {
|
|
1943
|
-
const
|
|
1943
|
+
const o = [];
|
|
1944
1944
|
for (const n of l.fields)
|
|
1945
|
-
|
|
1945
|
+
o.push({
|
|
1946
1946
|
icon: s[n],
|
|
1947
1947
|
value: ze(l.stat[n])
|
|
1948
1948
|
});
|
|
1949
|
-
return
|
|
1949
|
+
return o;
|
|
1950
1950
|
});
|
|
1951
|
-
return (
|
|
1952
|
-
const
|
|
1953
|
-
return r(),
|
|
1954
|
-
(r(!0),
|
|
1951
|
+
return (o, n) => {
|
|
1952
|
+
const i = N;
|
|
1953
|
+
return r(), f("div", wn, [
|
|
1954
|
+
(r(!0), f(L, null, q(t.value, (c) => (r(), f("div", {
|
|
1955
1955
|
class: "stat-item",
|
|
1956
1956
|
key: c.icon
|
|
1957
1957
|
}, [
|
|
1958
|
-
v(
|
|
1958
|
+
v(i, {
|
|
1959
1959
|
icon: c.icon
|
|
1960
1960
|
}, null, 8, ["icon"]),
|
|
1961
|
-
a("span", yn,
|
|
1961
|
+
a("span", yn, m(c.value), 1)
|
|
1962
1962
|
]))), 128))
|
|
1963
1963
|
]);
|
|
1964
1964
|
};
|
|
1965
1965
|
}
|
|
1966
|
-
}),
|
|
1966
|
+
}), bn = /* @__PURE__ */ H(kn, [["__scopeId", "data-v-f75c0017"]]), An = /* @__PURE__ */ S({
|
|
1967
1967
|
__name: "DownloadResourceTag",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
type: {}
|
|
@@ -1976,20 +1976,20 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1976
1976
|
cover: "image",
|
|
1977
1977
|
subtitle: "closed-captioning"
|
|
1978
1978
|
};
|
|
1979
|
-
return (
|
|
1980
|
-
const
|
|
1981
|
-
return r(),
|
|
1979
|
+
return (o, n) => {
|
|
1980
|
+
const i = at;
|
|
1981
|
+
return r(), b(i, {
|
|
1982
1982
|
type: "primary",
|
|
1983
1983
|
effect: "plain",
|
|
1984
1984
|
"disable-transitions": "",
|
|
1985
1985
|
size: "small"
|
|
1986
1986
|
}, {
|
|
1987
1987
|
default: d(() => [
|
|
1988
|
-
v(
|
|
1988
|
+
v(ut, {
|
|
1989
1989
|
icon: t[e.type]
|
|
1990
1990
|
}, {
|
|
1991
1991
|
default: d(() => [
|
|
1992
|
-
k(
|
|
1992
|
+
k(m(s.value), 1)
|
|
1993
1993
|
]),
|
|
1994
1994
|
_: 1
|
|
1995
1995
|
}, 8, ["icon"])
|
|
@@ -1998,98 +1998,98 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
1998
1998
|
});
|
|
1999
1999
|
};
|
|
2000
2000
|
}
|
|
2001
|
-
}), Cn = { class: "download-video-part-card" }, xn = { class: "left-info" }, En = { class: "right-info" }, Bn = /* @__PURE__ */
|
|
2001
|
+
}), Cn = { class: "download-video-part-card" }, xn = { class: "left-info" }, En = { class: "right-info" }, Bn = /* @__PURE__ */ S({
|
|
2002
2002
|
__name: "DownloadVideoPartCard",
|
|
2003
2003
|
props: {
|
|
2004
2004
|
part: {}
|
|
2005
2005
|
},
|
|
2006
2006
|
setup(e) {
|
|
2007
|
-
const l = e, s = C(() => l.part.resources.find((n) => n.type === "audio")?.source.audioQuality), t = C(() => l.part.resources.find((n) => n.type === "video")?.source.videoQuality),
|
|
2008
|
-
return (n,
|
|
2007
|
+
const l = e, s = C(() => l.part.resources.find((n) => n.type === "audio")?.source.audioQuality), t = C(() => l.part.resources.find((n) => n.type === "video")?.source.videoQuality), o = C(() => l.part.resources.find((n) => n.type === "video")?.source.videoCodec);
|
|
2008
|
+
return (n, i) => {
|
|
2009
2009
|
const c = ae, u = ms;
|
|
2010
|
-
return r(),
|
|
2010
|
+
return r(), f("div", Cn, [
|
|
2011
2011
|
a("div", xn, [
|
|
2012
|
-
a("div", null,
|
|
2012
|
+
a("div", null, m(e.part.snapshot.page) + "P", 1),
|
|
2013
2013
|
v(c, {
|
|
2014
2014
|
content: e.part.snapshot.part
|
|
2015
2015
|
}, {
|
|
2016
2016
|
default: d(() => [
|
|
2017
|
-
k(
|
|
2017
|
+
k(m(e.part.snapshot.part), 1)
|
|
2018
2018
|
]),
|
|
2019
2019
|
_: 1
|
|
2020
2020
|
}, 8, ["content"])
|
|
2021
2021
|
]),
|
|
2022
2022
|
a("div", En, [
|
|
2023
|
-
s.value ? (r(),
|
|
2023
|
+
s.value ? (r(), b(u, {
|
|
2024
2024
|
key: 0,
|
|
2025
2025
|
type: "info",
|
|
2026
2026
|
effect: "plain"
|
|
2027
2027
|
}, {
|
|
2028
2028
|
default: d(() => [
|
|
2029
|
-
k(
|
|
2029
|
+
k(m(h(Ut)[s.value]), 1)
|
|
2030
2030
|
]),
|
|
2031
2031
|
_: 1
|
|
2032
|
-
})) :
|
|
2033
|
-
t.value ? (r(),
|
|
2032
|
+
})) : $("", !0),
|
|
2033
|
+
t.value ? (r(), b(u, {
|
|
2034
2034
|
key: 1,
|
|
2035
2035
|
type: "info",
|
|
2036
2036
|
effect: "plain"
|
|
2037
2037
|
}, {
|
|
2038
2038
|
default: d(() => [
|
|
2039
|
-
k(
|
|
2039
|
+
k(m(h(Ot)[t.value]), 1)
|
|
2040
2040
|
]),
|
|
2041
2041
|
_: 1
|
|
2042
|
-
})) :
|
|
2043
|
-
|
|
2042
|
+
})) : $("", !0),
|
|
2043
|
+
o.value ? (r(), b(u, {
|
|
2044
2044
|
key: 2,
|
|
2045
2045
|
type: "info",
|
|
2046
2046
|
effect: "plain"
|
|
2047
2047
|
}, {
|
|
2048
2048
|
default: d(() => [
|
|
2049
|
-
k(
|
|
2049
|
+
k(m(h(qt)[o.value]), 1)
|
|
2050
2050
|
]),
|
|
2051
2051
|
_: 1
|
|
2052
|
-
})) :
|
|
2053
|
-
a("span", null,
|
|
2052
|
+
})) : $("", !0),
|
|
2053
|
+
a("span", null, m(h(Ie)(e.part.snapshot.duration)), 1)
|
|
2054
2054
|
])
|
|
2055
2055
|
]);
|
|
2056
2056
|
};
|
|
2057
2057
|
}
|
|
2058
|
-
}), Sn = /* @__PURE__ */
|
|
2058
|
+
}), Sn = /* @__PURE__ */ H(Bn, [["__scopeId", "data-v-84c28695"]]), $n = (e) => {
|
|
2059
2059
|
const l = jt(e.tid), s = Nt(e.tid_v2);
|
|
2060
2060
|
return s ? s.subZoneName ? `${s.mainZoneName} > ${s.subZoneName}` : s.mainZoneName : l ? l.subZoneName ? `${l.mainZoneName} > ${l.subZoneName}` : l.mainZoneName : "";
|
|
2061
|
-
}, zn = { class: "download-video-card" }, Dn = { class: "info-row" },
|
|
2061
|
+
}, zn = { class: "download-video-card" }, Dn = { class: "info-row" }, In = { class: "info-left" }, Pn = { class: "cover-image" }, Vn = { class: "cover-placeholder" }, Mn = { class: "download-cover-stats" }, Qn = { class: "download-cover-stats__duration" }, Tn = { class: "info-right" }, Hn = { class: "info-row" }, Rn = { class: "info-row" }, Ln = { class: "user-info" }, Fn = ["src"], Un = { class: "user-name" }, On = { class: "zone" }, qn = { class: "pubdate" }, jn = { class: "info-row stats" }, Nn = { class: "bvid" }, Zn = { class: "info-row" }, Wn = { class: "part-list" }, Gn = /* @__PURE__ */ S({
|
|
2062
2062
|
__name: "DownloadVideoCard",
|
|
2063
2063
|
props: {
|
|
2064
2064
|
video: {}
|
|
2065
2065
|
},
|
|
2066
2066
|
emits: ["open-folder"],
|
|
2067
2067
|
setup(e, { emit: l }) {
|
|
2068
|
-
const s = e, t = C(() => s.video.snapshot),
|
|
2068
|
+
const s = e, t = C(() => s.video.snapshot), o = C(() => {
|
|
2069
2069
|
const c = s.video.parts;
|
|
2070
2070
|
return c.length >= 1 ? c[0].resources.map((u) => u.type) : [];
|
|
2071
2071
|
}), n = async () => {
|
|
2072
2072
|
window.open(`https://www.bilibili.com/video/${t.value.bvid}`);
|
|
2073
|
-
},
|
|
2073
|
+
}, i = l;
|
|
2074
2074
|
return (c, u) => {
|
|
2075
|
-
const
|
|
2076
|
-
return r(),
|
|
2075
|
+
const p = Ve, g = ot, w = ut, _ = ae;
|
|
2076
|
+
return r(), f("div", zn, [
|
|
2077
2077
|
a("div", Dn, [
|
|
2078
|
-
a("div",
|
|
2078
|
+
a("div", In, [
|
|
2079
2079
|
a("div", {
|
|
2080
2080
|
class: "cover",
|
|
2081
2081
|
onClick: n
|
|
2082
2082
|
}, [
|
|
2083
|
-
a("div",
|
|
2084
|
-
v(
|
|
2083
|
+
a("div", Pn, [
|
|
2084
|
+
v(g, {
|
|
2085
2085
|
src: t.value.pic,
|
|
2086
2086
|
fit: "cover"
|
|
2087
2087
|
}, {
|
|
2088
2088
|
error: d(() => [
|
|
2089
2089
|
a("div", Vn, [
|
|
2090
|
-
v(
|
|
2090
|
+
v(p, null, {
|
|
2091
2091
|
default: d(() => [
|
|
2092
|
-
v(h(
|
|
2092
|
+
v(h(rt))
|
|
2093
2093
|
]),
|
|
2094
2094
|
_: 1
|
|
2095
2095
|
})
|
|
@@ -2100,19 +2100,19 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
2100
2100
|
a("div", Mn, [
|
|
2101
2101
|
v(w, { icon: "video" }, {
|
|
2102
2102
|
default: d(() => [
|
|
2103
|
-
k(
|
|
2103
|
+
k(m(h(ze)(t.value.stat.view)), 1)
|
|
2104
2104
|
]),
|
|
2105
2105
|
_: 1
|
|
2106
2106
|
}),
|
|
2107
2107
|
v(w, { icon: "keyboard" }, {
|
|
2108
2108
|
default: d(() => [
|
|
2109
|
-
k(
|
|
2109
|
+
k(m(h(ze)(t.value.stat.danmaku)), 1)
|
|
2110
2110
|
]),
|
|
2111
2111
|
_: 1
|
|
2112
2112
|
}),
|
|
2113
2113
|
u[0] || (u[0] = a("span", null, null, -1)),
|
|
2114
2114
|
u[1] || (u[1] = a("span", null, null, -1)),
|
|
2115
|
-
a("span", Qn,
|
|
2115
|
+
a("span", Qn, m(h(Ie)(t.value.duration)), 1)
|
|
2116
2116
|
])
|
|
2117
2117
|
])
|
|
2118
2118
|
])
|
|
@@ -2124,55 +2124,55 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
2124
2124
|
content: t.value.title
|
|
2125
2125
|
}, {
|
|
2126
2126
|
default: d(() => [
|
|
2127
|
-
k(
|
|
2127
|
+
k(m(t.value.title), 1)
|
|
2128
2128
|
]),
|
|
2129
2129
|
_: 1
|
|
2130
2130
|
}, 8, ["content"])
|
|
2131
2131
|
]),
|
|
2132
|
-
a("div",
|
|
2133
|
-
a("div",
|
|
2132
|
+
a("div", Rn, [
|
|
2133
|
+
a("div", Ln, [
|
|
2134
2134
|
a("img", {
|
|
2135
2135
|
class: "user-face",
|
|
2136
2136
|
src: t.value.owner.face,
|
|
2137
2137
|
alt: "face"
|
|
2138
2138
|
}, null, 8, Fn),
|
|
2139
|
-
a("div", Un,
|
|
2139
|
+
a("div", Un, m(t.value.owner.name), 1)
|
|
2140
2140
|
]),
|
|
2141
|
-
a("div",
|
|
2142
|
-
a("div",
|
|
2141
|
+
a("div", On, m(h($n)(t.value)), 1),
|
|
2142
|
+
a("div", qn, m(h(he)(t.value.pubdate)), 1)
|
|
2143
2143
|
]),
|
|
2144
2144
|
a("div", jn, [
|
|
2145
|
-
a("div", Nn,
|
|
2146
|
-
v(
|
|
2145
|
+
a("div", Nn, m(t.value.bvid), 1),
|
|
2146
|
+
v(bn, {
|
|
2147
2147
|
stat: t.value.stat
|
|
2148
2148
|
}, null, 8, ["stat"])
|
|
2149
2149
|
]),
|
|
2150
2150
|
a("div", Zn, [
|
|
2151
2151
|
u[2] || (u[2] = a("div", null, "下载的资源:", -1)),
|
|
2152
|
-
(r(!0),
|
|
2153
|
-
key:
|
|
2154
|
-
type:
|
|
2152
|
+
(r(!0), f(L, null, q(o.value, (A) => (r(), b(An, {
|
|
2153
|
+
key: A,
|
|
2154
|
+
type: A
|
|
2155
2155
|
}, null, 8, ["type"]))), 128))
|
|
2156
2156
|
])
|
|
2157
2157
|
])
|
|
2158
2158
|
]),
|
|
2159
2159
|
a("div", Wn, [
|
|
2160
2160
|
u[3] || (u[3] = a("div", { class: "header" }, "视频分P:", -1)),
|
|
2161
|
-
(r(!0),
|
|
2162
|
-
key:
|
|
2163
|
-
part:
|
|
2164
|
-
onClick: (V) =>
|
|
2161
|
+
(r(!0), f(L, null, q(e.video.parts, (A, x) => (r(), b(Sn, {
|
|
2162
|
+
key: A.snapshot.cid,
|
|
2163
|
+
part: A,
|
|
2164
|
+
onClick: (V) => i("open-folder", x)
|
|
2165
2165
|
}, null, 8, ["part", "onClick"]))), 128))
|
|
2166
2166
|
])
|
|
2167
2167
|
]);
|
|
2168
2168
|
};
|
|
2169
2169
|
}
|
|
2170
|
-
}), Jn = /* @__PURE__ */
|
|
2170
|
+
}), Jn = /* @__PURE__ */ H(Gn, [["__scopeId", "data-v-48f910dd"]]), Kn = { class: "task-modal" }, Yn = {
|
|
2171
2171
|
key: 0,
|
|
2172
2172
|
class: "dialog-content"
|
|
2173
|
-
}, Xn = { key: 1 }, ea = { class: "video-list-container" }, ta = { class: "header" }, sa = /* @__PURE__ */
|
|
2173
|
+
}, Xn = { key: 1 }, ea = { class: "video-list-container" }, ta = { class: "header" }, sa = /* @__PURE__ */ S({
|
|
2174
2174
|
__name: "DownloadDetailsDialog",
|
|
2175
|
-
props: /* @__PURE__ */
|
|
2175
|
+
props: /* @__PURE__ */ X({
|
|
2176
2176
|
task: {}
|
|
2177
2177
|
}, {
|
|
2178
2178
|
modelValue: { required: !0, type: Boolean },
|
|
@@ -2180,21 +2180,21 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
2180
2180
|
}),
|
|
2181
2181
|
emits: ["update:modelValue"],
|
|
2182
2182
|
setup(e) {
|
|
2183
|
-
const l = e, s =
|
|
2184
|
-
|
|
2183
|
+
const l = e, s = ye(e, "modelValue"), t = C(() => l.task?.videos.reduce((c, u) => c + u.parts.length, 0) ?? 0), o = C(() => l.task?.videos.reduce((c, u) => c + u.parts.reduce((p, g) => p + g.resources.length, 0), 0) ?? 0), n = te("refVideoList");
|
|
2184
|
+
J(
|
|
2185
2185
|
() => s.value,
|
|
2186
2186
|
(c) => {
|
|
2187
|
-
c && n.value &&
|
|
2187
|
+
c && n.value && ue(() => {
|
|
2188
2188
|
n.value?.scrollTo(0, 0);
|
|
2189
2189
|
});
|
|
2190
2190
|
}
|
|
2191
2191
|
);
|
|
2192
|
-
const
|
|
2192
|
+
const i = async (c, u) => {
|
|
2193
2193
|
l.task && await T.download.openFolder(l.task.id, c, u);
|
|
2194
2194
|
};
|
|
2195
2195
|
return (c, u) => {
|
|
2196
|
-
const
|
|
2197
|
-
return r(),
|
|
2196
|
+
const p = fs, g = gs, w = de;
|
|
2197
|
+
return r(), f("div", Kn, [
|
|
2198
2198
|
v(w, {
|
|
2199
2199
|
title: "任务详情",
|
|
2200
2200
|
modelValue: s.value,
|
|
@@ -2210,65 +2210,65 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
2210
2210
|
a("div", { class: "dialog-footer" }, null, -1)
|
|
2211
2211
|
])]),
|
|
2212
2212
|
default: d(() => [
|
|
2213
|
-
e.task ? (r(),
|
|
2214
|
-
v(
|
|
2213
|
+
e.task ? (r(), f("div", Yn, [
|
|
2214
|
+
v(g, {
|
|
2215
2215
|
border: "",
|
|
2216
2216
|
column: 2
|
|
2217
2217
|
}, {
|
|
2218
2218
|
default: d(() => [
|
|
2219
|
-
v(
|
|
2219
|
+
v(p, { label: "任务 ID" }, {
|
|
2220
2220
|
default: d(() => [
|
|
2221
|
-
k(
|
|
2221
|
+
k(m(e.task.id), 1)
|
|
2222
2222
|
]),
|
|
2223
2223
|
_: 1
|
|
2224
2224
|
}),
|
|
2225
|
-
v(
|
|
2225
|
+
v(p, { label: "任务类型" }, {
|
|
2226
2226
|
default: d(() => [
|
|
2227
|
-
k(
|
|
2227
|
+
k(m(e.task.title), 1)
|
|
2228
2228
|
]),
|
|
2229
2229
|
_: 1
|
|
2230
2230
|
}),
|
|
2231
|
-
v(
|
|
2231
|
+
v(p, { label: "创建时间" }, {
|
|
2232
2232
|
default: d(() => [
|
|
2233
|
-
k(
|
|
2233
|
+
k(m(h(he)(e.task.createdAt)), 1)
|
|
2234
2234
|
]),
|
|
2235
2235
|
_: 1
|
|
2236
2236
|
}),
|
|
2237
|
-
v(
|
|
2237
|
+
v(p, { label: "更新时间" }, {
|
|
2238
2238
|
default: d(() => [
|
|
2239
|
-
k(
|
|
2239
|
+
k(m(e.task.updatedAt ? h(he)(e.task.updatedAt) : "-"), 1)
|
|
2240
2240
|
]),
|
|
2241
2241
|
_: 1
|
|
2242
2242
|
}),
|
|
2243
|
-
v(
|
|
2243
|
+
v(p, { label: "任务状态" }, {
|
|
2244
2244
|
default: d(() => [
|
|
2245
|
-
v(
|
|
2245
|
+
v(yt, { task: e.task }, null, 8, ["task"])
|
|
2246
2246
|
]),
|
|
2247
2247
|
_: 1
|
|
2248
2248
|
}),
|
|
2249
|
-
v(
|
|
2249
|
+
v(p, { label: "任务进度" }, {
|
|
2250
2250
|
default: d(() => [
|
|
2251
|
-
e.task.progress ? (r(),
|
|
2251
|
+
e.task.progress ? (r(), b(kt, {
|
|
2252
2252
|
key: 0,
|
|
2253
2253
|
task: e.task
|
|
2254
|
-
}, null, 8, ["task"])) : (r(),
|
|
2254
|
+
}, null, 8, ["task"])) : (r(), f("span", Xn, "-"))
|
|
2255
2255
|
]),
|
|
2256
2256
|
_: 1
|
|
2257
2257
|
}),
|
|
2258
|
-
e.task.progress ? (r(),
|
|
2258
|
+
e.task.progress ? (r(), b(p, {
|
|
2259
2259
|
key: 0,
|
|
2260
2260
|
label: "进度详情",
|
|
2261
2261
|
span: 2
|
|
2262
2262
|
}, {
|
|
2263
2263
|
default: d(() => [
|
|
2264
|
-
v(
|
|
2264
|
+
v(bt, {
|
|
2265
2265
|
task: e.task,
|
|
2266
|
-
resourceCount:
|
|
2266
|
+
resourceCount: o.value
|
|
2267
2267
|
}, null, 8, ["task", "resourceCount"])
|
|
2268
2268
|
]),
|
|
2269
2269
|
_: 1
|
|
2270
|
-
})) :
|
|
2271
|
-
e.task.result ? (r(),
|
|
2270
|
+
})) : $("", !0),
|
|
2271
|
+
e.task.result ? (r(), b(p, {
|
|
2272
2272
|
key: 1,
|
|
2273
2273
|
label: "任务结果",
|
|
2274
2274
|
span: 2
|
|
@@ -2277,33 +2277,33 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
2277
2277
|
v(At, {
|
|
2278
2278
|
task: e.task,
|
|
2279
2279
|
videoCount: t.value,
|
|
2280
|
-
resourceCount:
|
|
2280
|
+
resourceCount: o.value
|
|
2281
2281
|
}, null, 8, ["task", "videoCount", "resourceCount"])
|
|
2282
2282
|
]),
|
|
2283
2283
|
_: 1
|
|
2284
|
-
})) :
|
|
2285
|
-
e.task.error ? (r(),
|
|
2284
|
+
})) : $("", !0),
|
|
2285
|
+
e.task.error ? (r(), b(p, {
|
|
2286
2286
|
key: 2,
|
|
2287
2287
|
label: "错误信息",
|
|
2288
2288
|
span: 2,
|
|
2289
2289
|
style: { color: "var(--el-color-danger)" }
|
|
2290
2290
|
}, {
|
|
2291
2291
|
default: d(() => [
|
|
2292
|
-
k(
|
|
2292
|
+
k(m(e.task.error), 1)
|
|
2293
2293
|
]),
|
|
2294
2294
|
_: 1
|
|
2295
|
-
})) :
|
|
2296
|
-
v(
|
|
2295
|
+
})) : $("", !0),
|
|
2296
|
+
v(p, { label: "操作用户" }, {
|
|
2297
2297
|
default: d(() => [
|
|
2298
2298
|
u[1] || (u[1] = a("div", {
|
|
2299
2299
|
class: "uid-icon",
|
|
2300
2300
|
style: { display: "inline-block" }
|
|
2301
2301
|
}, null, -1)),
|
|
2302
|
-
k(" " +
|
|
2302
|
+
k(" " + m(e.task.userCookie.uid), 1)
|
|
2303
2303
|
]),
|
|
2304
2304
|
_: 1
|
|
2305
2305
|
}),
|
|
2306
|
-
|
|
2306
|
+
P(c.$slots, "default", {}, void 0, !0)
|
|
2307
2307
|
]),
|
|
2308
2308
|
_: 3
|
|
2309
2309
|
}),
|
|
@@ -2314,45 +2314,45 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
2314
2314
|
ref_key: "refVideoList",
|
|
2315
2315
|
ref: n
|
|
2316
2316
|
}, [
|
|
2317
|
-
(r(!0),
|
|
2317
|
+
(r(!0), f(L, null, q(e.task.videos, (_, A) => (r(), f("div", {
|
|
2318
2318
|
class: "video-item",
|
|
2319
2319
|
key: _.snapshot.aid
|
|
2320
2320
|
}, [
|
|
2321
2321
|
a("div", ta, [
|
|
2322
|
-
a("span", null, "#" +
|
|
2322
|
+
a("span", null, "#" + m(A + 1), 1)
|
|
2323
2323
|
]),
|
|
2324
2324
|
v(Jn, {
|
|
2325
2325
|
video: _,
|
|
2326
|
-
onOpenFolder: (x) =>
|
|
2326
|
+
onOpenFolder: (x) => i(A, x)
|
|
2327
2327
|
}, null, 8, ["video", "onOpenFolder"])
|
|
2328
2328
|
]))), 128))
|
|
2329
2329
|
], 512)
|
|
2330
2330
|
])
|
|
2331
|
-
])) :
|
|
2331
|
+
])) : $("", !0)
|
|
2332
2332
|
]),
|
|
2333
2333
|
_: 3
|
|
2334
2334
|
}, 8, ["modelValue"])
|
|
2335
2335
|
]);
|
|
2336
2336
|
};
|
|
2337
2337
|
}
|
|
2338
|
-
}), la = /* @__PURE__ */
|
|
2338
|
+
}), la = /* @__PURE__ */ H(sa, [["__scopeId", "data-v-61e2a51e"]]), na = { class: "download-task-card" }, aa = { class: "cover" }, oa = { class: "cover-image" }, ia = { class: "cover-placeholder" }, ca = { class: "download-cover-stats" }, ra = { class: "download-stats__duration" }, ua = { class: "time" }, da = { class: "content" }, va = { class: "header" }, pa = { class: "actions" }, ma = /* @__PURE__ */ S({
|
|
2339
2339
|
__name: "DownloadItem",
|
|
2340
2340
|
props: {
|
|
2341
2341
|
task: {}
|
|
2342
2342
|
},
|
|
2343
2343
|
emits: ["action"],
|
|
2344
2344
|
setup(e) {
|
|
2345
|
-
const l = e, s = C(() => l.task.videos[0].snapshot.pic), t = C(() => l.task.videos.reduce((
|
|
2346
|
-
() => l.task.videos.reduce((
|
|
2345
|
+
const l = e, s = C(() => l.task.videos[0].snapshot.pic), t = C(() => l.task.videos.reduce((i, c) => i + c.parts.length, 0)), o = C(
|
|
2346
|
+
() => l.task.videos.reduce((i, c) => i + c.parts.reduce((u, p) => u + p.resources.length, 0), 0)
|
|
2347
2347
|
), n = C(
|
|
2348
|
-
() => l.task.videos.reduce((
|
|
2348
|
+
() => l.task.videos.reduce((i, c) => i + c.parts.reduce((u, p) => u + p.snapshot.duration, 0), 0)
|
|
2349
2349
|
);
|
|
2350
|
-
return (
|
|
2351
|
-
const u = Ve,
|
|
2352
|
-
return r(),
|
|
2350
|
+
return (i, c) => {
|
|
2351
|
+
const u = Ve, p = ot, g = ae, w = K;
|
|
2352
|
+
return r(), f("div", na, [
|
|
2353
2353
|
a("div", aa, [
|
|
2354
2354
|
a("div", oa, [
|
|
2355
|
-
v(
|
|
2355
|
+
v(p, {
|
|
2356
2356
|
src: s.value,
|
|
2357
2357
|
fit: "cover"
|
|
2358
2358
|
}, {
|
|
@@ -2360,7 +2360,7 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
2360
2360
|
a("div", ia, [
|
|
2361
2361
|
v(u, null, {
|
|
2362
2362
|
default: d(() => [
|
|
2363
|
-
v(h(
|
|
2363
|
+
v(h(rt))
|
|
2364
2364
|
]),
|
|
2365
2365
|
_: 1
|
|
2366
2366
|
})
|
|
@@ -2370,49 +2370,49 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
2370
2370
|
}, 8, ["src"]),
|
|
2371
2371
|
a("div", ca, [
|
|
2372
2372
|
c[6] || (c[6] = a("span", null, null, -1)),
|
|
2373
|
-
a("span", ra,
|
|
2373
|
+
a("span", ra, m(h(Ie)(n.value)), 1)
|
|
2374
2374
|
])
|
|
2375
2375
|
]),
|
|
2376
|
-
a("span", ua,
|
|
2376
|
+
a("span", ua, m(h(he)(e.task.createdAt)), 1)
|
|
2377
2377
|
]),
|
|
2378
2378
|
a("div", da, [
|
|
2379
2379
|
a("div", va, [
|
|
2380
|
-
v(
|
|
2380
|
+
v(g, {
|
|
2381
2381
|
class: "title",
|
|
2382
2382
|
content: e.task.title
|
|
2383
2383
|
}, {
|
|
2384
2384
|
default: d(() => [
|
|
2385
|
-
k(
|
|
2385
|
+
k(m(e.task.title), 1)
|
|
2386
2386
|
]),
|
|
2387
2387
|
_: 1
|
|
2388
2388
|
}, 8, ["content"]),
|
|
2389
|
-
v(
|
|
2390
|
-
|
|
2389
|
+
v(yt, { task: e.task }, null, 8, ["task"]),
|
|
2390
|
+
P(i.$slots, "titleExtra", { task: e.task }, void 0, !0)
|
|
2391
2391
|
]),
|
|
2392
|
-
v(
|
|
2393
|
-
v(
|
|
2392
|
+
v(kt, { task: e.task }, null, 8, ["task"]),
|
|
2393
|
+
v(bt, {
|
|
2394
2394
|
task: e.task,
|
|
2395
|
-
resourceCount:
|
|
2395
|
+
resourceCount: o.value
|
|
2396
2396
|
}, null, 8, ["task", "resourceCount"]),
|
|
2397
2397
|
v(At, {
|
|
2398
2398
|
task: e.task,
|
|
2399
2399
|
videoCount: t.value,
|
|
2400
|
-
resourceCount:
|
|
2400
|
+
resourceCount: o.value
|
|
2401
2401
|
}, null, 8, ["task", "videoCount", "resourceCount"]),
|
|
2402
|
-
e.task.error ? (r(),
|
|
2402
|
+
e.task.error ? (r(), b(g, {
|
|
2403
2403
|
key: 0,
|
|
2404
2404
|
class: "error",
|
|
2405
2405
|
content: e.task.error
|
|
2406
2406
|
}, {
|
|
2407
2407
|
default: d(() => [
|
|
2408
|
-
k(
|
|
2408
|
+
k(m(e.task.error), 1)
|
|
2409
2409
|
]),
|
|
2410
2410
|
_: 1
|
|
2411
|
-
}, 8, ["content"])) :
|
|
2411
|
+
}, 8, ["content"])) : $("", !0),
|
|
2412
2412
|
a("div", pa, [
|
|
2413
2413
|
v(w, {
|
|
2414
2414
|
size: "small",
|
|
2415
|
-
onClick: c[0] || (c[0] = (_) =>
|
|
2415
|
+
onClick: c[0] || (c[0] = (_) => i.$emit("action", "show-details", e.task))
|
|
2416
2416
|
}, {
|
|
2417
2417
|
default: d(() => [...c[7] || (c[7] = [
|
|
2418
2418
|
k(" 详情 ", -1)
|
|
@@ -2421,46 +2421,46 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
2421
2421
|
}),
|
|
2422
2422
|
v(w, {
|
|
2423
2423
|
size: "small",
|
|
2424
|
-
onClick: c[1] || (c[1] = (_) =>
|
|
2424
|
+
onClick: c[1] || (c[1] = (_) => i.$emit("action", "open-folder", e.task))
|
|
2425
2425
|
}, {
|
|
2426
2426
|
default: d(() => [...c[8] || (c[8] = [
|
|
2427
2427
|
k(" 打开文件夹 ", -1)
|
|
2428
2428
|
])]),
|
|
2429
2429
|
_: 1
|
|
2430
2430
|
}),
|
|
2431
|
-
e.task.status === "downloading" ? (r(),
|
|
2431
|
+
e.task.status === "downloading" ? (r(), b(w, {
|
|
2432
2432
|
key: 0,
|
|
2433
2433
|
size: "small",
|
|
2434
|
-
onClick: c[2] || (c[2] = (_) =>
|
|
2434
|
+
onClick: c[2] || (c[2] = (_) => i.$emit("action", "pause", e.task))
|
|
2435
2435
|
}, {
|
|
2436
2436
|
default: d(() => [...c[9] || (c[9] = [
|
|
2437
2437
|
k(" 暂停 ", -1)
|
|
2438
2438
|
])]),
|
|
2439
2439
|
_: 1
|
|
2440
|
-
})) :
|
|
2441
|
-
e.task.status === "paused" || e.task.status === "pending" ? (r(),
|
|
2440
|
+
})) : $("", !0),
|
|
2441
|
+
e.task.status === "paused" || e.task.status === "pending" ? (r(), b(w, {
|
|
2442
2442
|
key: 1,
|
|
2443
2443
|
size: "small",
|
|
2444
|
-
onClick: c[3] || (c[3] = (_) =>
|
|
2444
|
+
onClick: c[3] || (c[3] = (_) => i.$emit("action", "cancel", e.task))
|
|
2445
2445
|
}, {
|
|
2446
2446
|
default: d(() => [...c[10] || (c[10] = [
|
|
2447
2447
|
k(" 取消 ", -1)
|
|
2448
2448
|
])]),
|
|
2449
2449
|
_: 1
|
|
2450
|
-
})) :
|
|
2451
|
-
e.task.status === "paused" ? (r(),
|
|
2450
|
+
})) : $("", !0),
|
|
2451
|
+
e.task.status === "paused" ? (r(), b(w, {
|
|
2452
2452
|
key: 2,
|
|
2453
2453
|
size: "small",
|
|
2454
|
-
onClick: c[4] || (c[4] = (_) =>
|
|
2454
|
+
onClick: c[4] || (c[4] = (_) => i.$emit("action", "resume", e.task))
|
|
2455
2455
|
}, {
|
|
2456
2456
|
default: d(() => [...c[11] || (c[11] = [
|
|
2457
2457
|
k(" 继续 ", -1)
|
|
2458
2458
|
])]),
|
|
2459
2459
|
_: 1
|
|
2460
|
-
})) :
|
|
2460
|
+
})) : $("", !0),
|
|
2461
2461
|
v(w, {
|
|
2462
2462
|
size: "small",
|
|
2463
|
-
onClick: c[5] || (c[5] = (_) =>
|
|
2463
|
+
onClick: c[5] || (c[5] = (_) => i.$emit("action", "delete", e.task))
|
|
2464
2464
|
}, {
|
|
2465
2465
|
default: d(() => [...c[12] || (c[12] = [
|
|
2466
2466
|
k(" 删除 ", -1)
|
|
@@ -2472,15 +2472,15 @@ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392
|
|
|
2472
2472
|
]);
|
|
2473
2473
|
};
|
|
2474
2474
|
}
|
|
2475
|
-
}), ga = /* @__PURE__ */
|
|
2475
|
+
}), ga = /* @__PURE__ */ H(ma, [["__scopeId", "data-v-71192ed6"]]);
|
|
2476
2476
|
function fa(e) {
|
|
2477
2477
|
return new Promise((l, s) => {
|
|
2478
|
-
const t =
|
|
2479
|
-
document.body.appendChild(
|
|
2478
|
+
const t = E(!0), o = document.createElement("div");
|
|
2479
|
+
document.body.appendChild(o);
|
|
2480
2480
|
let n = null;
|
|
2481
|
-
function
|
|
2481
|
+
function i() {
|
|
2482
2482
|
setTimeout(() => {
|
|
2483
|
-
n?.unmount(),
|
|
2483
|
+
n?.unmount(), o.remove();
|
|
2484
2484
|
});
|
|
2485
2485
|
}
|
|
2486
2486
|
n = De({
|
|
@@ -2491,24 +2491,24 @@ function fa(e) {
|
|
|
2491
2491
|
onConfirm(c) {
|
|
2492
2492
|
t.value = !1, l({
|
|
2493
2493
|
deleteSourceFile: c
|
|
2494
|
-
}),
|
|
2494
|
+
}), i();
|
|
2495
2495
|
},
|
|
2496
2496
|
onCancel() {
|
|
2497
|
-
t.value = !1, s(
|
|
2497
|
+
t.value = !1, s(Ye()), i();
|
|
2498
2498
|
}
|
|
2499
2499
|
});
|
|
2500
2500
|
}
|
|
2501
|
-
}), n?.mount(
|
|
2501
|
+
}), n?.mount(o);
|
|
2502
2502
|
});
|
|
2503
2503
|
}
|
|
2504
2504
|
const _a = async (e) => {
|
|
2505
2505
|
await T.download.openFolder(e.id, 0, 0);
|
|
2506
2506
|
}, ha = async (e) => {
|
|
2507
|
-
await T.download.pause(e.id),
|
|
2507
|
+
await T.download.pause(e.id), se("暂停任务成功");
|
|
2508
2508
|
}, wa = async (e) => {
|
|
2509
|
-
await T.download.resume(e.id),
|
|
2509
|
+
await T.download.resume(e.id), se("正在继续下载");
|
|
2510
2510
|
}, ya = async (e) => {
|
|
2511
|
-
await T.download.cancel(e.id),
|
|
2511
|
+
await T.download.cancel(e.id), se("取消任务成功");
|
|
2512
2512
|
}, ka = async (e) => {
|
|
2513
2513
|
const { deleteSourceFile: l } = await fa({
|
|
2514
2514
|
message: "确定删除该下载任务吗?"
|
|
@@ -2516,44 +2516,44 @@ const _a = async (e) => {
|
|
|
2516
2516
|
await T.download.remove(e.id, {
|
|
2517
2517
|
deleteFiles: l
|
|
2518
2518
|
});
|
|
2519
|
-
},
|
|
2519
|
+
}, ba = { class: "header" }, Aa = { class: "query-list" }, Ca = { class: "actions" }, xa = { class: "download-list-container" }, Ea = /* @__PURE__ */ S({
|
|
2520
2520
|
__name: "DownloadManagePage",
|
|
2521
2521
|
props: {
|
|
2522
2522
|
showDefaultActions: { type: Boolean, default: !0 },
|
|
2523
2523
|
pageSizes: { default: () => [20, 40, 100] }
|
|
2524
2524
|
},
|
|
2525
2525
|
setup(e, { expose: l }) {
|
|
2526
|
-
const s = e, t =
|
|
2526
|
+
const s = e, t = te("refList"), o = E({
|
|
2527
2527
|
pageNum: 1,
|
|
2528
2528
|
pageSize: s.pageSizes[0]
|
|
2529
|
-
}), n =
|
|
2529
|
+
}), n = E("all"), i = E({
|
|
2530
2530
|
status: void 0,
|
|
2531
2531
|
title: ""
|
|
2532
2532
|
}), c = () => {
|
|
2533
|
-
n.value === "all" ?
|
|
2533
|
+
n.value === "all" ? i.value.status = void 0 : i.value.status = n.value, _();
|
|
2534
2534
|
}, {
|
|
2535
2535
|
pageData: u,
|
|
2536
|
-
tableData:
|
|
2537
|
-
loading:
|
|
2536
|
+
tableData: p,
|
|
2537
|
+
loading: g,
|
|
2538
2538
|
refresh: w,
|
|
2539
2539
|
resetAndRefresh: _,
|
|
2540
|
-
resetPageAndRefresh:
|
|
2540
|
+
resetPageAndRefresh: A,
|
|
2541
2541
|
handleSizeChange: x,
|
|
2542
2542
|
handleCurrPageChange: V
|
|
2543
|
-
} =
|
|
2543
|
+
} = ct({
|
|
2544
2544
|
fetchPage: T.download.fetchPage,
|
|
2545
|
-
pageParams: () =>
|
|
2546
|
-
queryParams: () =>
|
|
2545
|
+
pageParams: () => o.value,
|
|
2546
|
+
queryParams: () => i.value,
|
|
2547
2547
|
autoLoad: !0,
|
|
2548
2548
|
onLoaded: () => {
|
|
2549
|
-
|
|
2549
|
+
ue(() => t.value?.scrollTo(0, 0));
|
|
2550
2550
|
}
|
|
2551
|
-
}),
|
|
2551
|
+
}), B = E({
|
|
2552
2552
|
visible: !1
|
|
2553
|
-
}), D = async (
|
|
2554
|
-
switch (
|
|
2553
|
+
}), D = async (I, y) => {
|
|
2554
|
+
switch (I) {
|
|
2555
2555
|
case "show-details":
|
|
2556
|
-
|
|
2556
|
+
B.value.task = y, B.value.visible = !0;
|
|
2557
2557
|
break;
|
|
2558
2558
|
case "open-folder":
|
|
2559
2559
|
await _a(y);
|
|
@@ -2569,35 +2569,35 @@ const _a = async (e) => {
|
|
|
2569
2569
|
break;
|
|
2570
2570
|
case "delete":
|
|
2571
2571
|
await ka(y);
|
|
2572
|
-
const
|
|
2573
|
-
|
|
2572
|
+
const z = p.value.findIndex((U) => U.id === y.id);
|
|
2573
|
+
z > -1 && p.value.splice(z, 1), p.value.length < 1 && await A(), se("删除任务成功");
|
|
2574
2574
|
break;
|
|
2575
2575
|
}
|
|
2576
2576
|
};
|
|
2577
2577
|
let M = null;
|
|
2578
|
-
|
|
2579
|
-
M = await T.download.onUpdated((
|
|
2580
|
-
for (let y = 0; y <
|
|
2581
|
-
const
|
|
2582
|
-
if (
|
|
2583
|
-
n.value === "all" ||
|
|
2578
|
+
ee(async () => {
|
|
2579
|
+
M = await T.download.onUpdated((I) => {
|
|
2580
|
+
for (let y = 0; y < p.value.length; y++) {
|
|
2581
|
+
const z = p.value[y];
|
|
2582
|
+
if (z.id === I.id) {
|
|
2583
|
+
n.value === "all" || z.status === I.status ? Object.assign(z, I) : p.value.splice(y, 1);
|
|
2584
2584
|
return;
|
|
2585
2585
|
}
|
|
2586
2586
|
}
|
|
2587
2587
|
});
|
|
2588
|
-
}),
|
|
2588
|
+
}), re(() => {
|
|
2589
2589
|
M?.();
|
|
2590
2590
|
});
|
|
2591
|
-
const F = C(() =>
|
|
2591
|
+
const F = C(() => i.value.status ? `暂无${Xe[i.value.status]}的任务` : "暂无下载任务");
|
|
2592
2592
|
return l({
|
|
2593
2593
|
refresh: w,
|
|
2594
2594
|
resetAndRefresh: _
|
|
2595
|
-
}), (
|
|
2596
|
-
const
|
|
2597
|
-
return r(),
|
|
2598
|
-
a("div",
|
|
2599
|
-
a("div",
|
|
2600
|
-
I
|
|
2595
|
+
}), (I, y) => {
|
|
2596
|
+
const z = hs, U = _s, le = et, ne = K, O = lt, ve = nt;
|
|
2597
|
+
return r(), f(L, null, [
|
|
2598
|
+
a("div", ba, [
|
|
2599
|
+
a("div", Aa, [
|
|
2600
|
+
P(I.$slots, "queryList", {}, () => [
|
|
2601
2601
|
v(U, {
|
|
2602
2602
|
modelValue: n.value,
|
|
2603
2603
|
"onUpdate:modelValue": y[0] || (y[0] = (Q) => n.value = Q),
|
|
@@ -2605,33 +2605,33 @@ const _a = async (e) => {
|
|
|
2605
2605
|
onChange: c
|
|
2606
2606
|
}, {
|
|
2607
2607
|
default: d(() => [
|
|
2608
|
-
v(
|
|
2608
|
+
v(z, {
|
|
2609
2609
|
label: "全部",
|
|
2610
2610
|
value: "all"
|
|
2611
2611
|
}),
|
|
2612
|
-
v(
|
|
2612
|
+
v(z, {
|
|
2613
2613
|
label: "已完成",
|
|
2614
2614
|
value: "completed"
|
|
2615
2615
|
}),
|
|
2616
|
-
v(
|
|
2616
|
+
v(z, {
|
|
2617
2617
|
label: "下载中",
|
|
2618
2618
|
value: "downloading"
|
|
2619
2619
|
}),
|
|
2620
|
-
v(
|
|
2620
|
+
v(z, {
|
|
2621
2621
|
label: "暂停中",
|
|
2622
2622
|
value: "paused"
|
|
2623
2623
|
}),
|
|
2624
|
-
v(
|
|
2624
|
+
v(z, {
|
|
2625
2625
|
label: "已失败",
|
|
2626
2626
|
value: "failed"
|
|
2627
2627
|
})
|
|
2628
2628
|
]),
|
|
2629
2629
|
_: 1
|
|
2630
2630
|
}, 8, ["modelValue"]),
|
|
2631
|
-
v(
|
|
2632
|
-
modelValue:
|
|
2633
|
-
"onUpdate:modelValue": y[1] || (y[1] = (Q) =>
|
|
2634
|
-
onChange: h(
|
|
2631
|
+
v(le, {
|
|
2632
|
+
modelValue: i.value.title,
|
|
2633
|
+
"onUpdate:modelValue": y[1] || (y[1] = (Q) => i.value.title = Q),
|
|
2634
|
+
onChange: h(A),
|
|
2635
2635
|
size: "small",
|
|
2636
2636
|
placeholder: "标题",
|
|
2637
2637
|
clearable: "",
|
|
@@ -2640,9 +2640,9 @@ const _a = async (e) => {
|
|
|
2640
2640
|
], !0)
|
|
2641
2641
|
]),
|
|
2642
2642
|
a("div", Ca, [
|
|
2643
|
-
I
|
|
2644
|
-
e.showDefaultActions ? (r(),
|
|
2645
|
-
v(
|
|
2643
|
+
P(I.$slots, "actions", {}, void 0, !0),
|
|
2644
|
+
e.showDefaultActions ? (r(), f(L, { key: 0 }, [
|
|
2645
|
+
v(ne, {
|
|
2646
2646
|
size: "small",
|
|
2647
2647
|
onClick: y[2] || (y[2] = (Q) => h(T).download.pauseAll())
|
|
2648
2648
|
}, {
|
|
@@ -2651,7 +2651,7 @@ const _a = async (e) => {
|
|
|
2651
2651
|
])]),
|
|
2652
2652
|
_: 1
|
|
2653
2653
|
}),
|
|
2654
|
-
v(
|
|
2654
|
+
v(ne, {
|
|
2655
2655
|
size: "small",
|
|
2656
2656
|
onClick: y[3] || (y[3] = (Q) => h(T).download.resumeAll())
|
|
2657
2657
|
}, {
|
|
@@ -2660,7 +2660,7 @@ const _a = async (e) => {
|
|
|
2660
2660
|
])]),
|
|
2661
2661
|
_: 1
|
|
2662
2662
|
})
|
|
2663
|
-
], 64)) :
|
|
2663
|
+
], 64)) : $("", !0)
|
|
2664
2664
|
])
|
|
2665
2665
|
]),
|
|
2666
2666
|
a("div", xa, [
|
|
@@ -2669,23 +2669,23 @@ const _a = async (e) => {
|
|
|
2669
2669
|
ref: t,
|
|
2670
2670
|
class: "download-list"
|
|
2671
2671
|
}, [
|
|
2672
|
-
(r(!0),
|
|
2672
|
+
(r(!0), f(L, null, q(h(p), (Q) => (r(), b(ga, {
|
|
2673
2673
|
task: Q,
|
|
2674
2674
|
key: Q.id,
|
|
2675
2675
|
onAction: D
|
|
2676
2676
|
}, {
|
|
2677
2677
|
titleExtra: d((j) => [
|
|
2678
|
-
I
|
|
2678
|
+
P(I.$slots, "itemTitleExtra", Y({ ref_for: !0 }, j), void 0, !0)
|
|
2679
2679
|
]),
|
|
2680
2680
|
_: 3
|
|
2681
2681
|
}, 8, ["task"]))), 128)),
|
|
2682
|
-
h(
|
|
2682
|
+
h(p).length ? $("", !0) : (r(), b(O, {
|
|
2683
2683
|
key: 0,
|
|
2684
2684
|
description: F.value
|
|
2685
2685
|
}, null, 8, ["description"]))
|
|
2686
2686
|
], 512)
|
|
2687
2687
|
]),
|
|
2688
|
-
v(
|
|
2688
|
+
v(ve, {
|
|
2689
2689
|
class: "pagination",
|
|
2690
2690
|
"current-page": h(u).pageNum,
|
|
2691
2691
|
"onUpdate:currentPage": y[4] || (y[4] = (Q) => h(u).pageNum = Q),
|
|
@@ -2698,131 +2698,197 @@ const _a = async (e) => {
|
|
|
2698
2698
|
onSizeChange: h(x)
|
|
2699
2699
|
}, null, 8, ["current-page", "page-size", "page-sizes", "total", "onCurrentChange", "onSizeChange"]),
|
|
2700
2700
|
v(la, {
|
|
2701
|
-
modelValue:
|
|
2702
|
-
"onUpdate:modelValue": y[6] || (y[6] = (Q) =>
|
|
2703
|
-
task:
|
|
2701
|
+
modelValue: B.value.visible,
|
|
2702
|
+
"onUpdate:modelValue": y[6] || (y[6] = (Q) => B.value.visible = Q),
|
|
2703
|
+
task: B.value.task
|
|
2704
2704
|
}, {
|
|
2705
2705
|
default: d(() => [
|
|
2706
|
-
|
|
2706
|
+
B.value.task ? P(I.$slots, "detailsDialog", {
|
|
2707
2707
|
key: 0,
|
|
2708
|
-
task:
|
|
2709
|
-
}, void 0, !0) :
|
|
2708
|
+
task: B.value.task
|
|
2709
|
+
}, void 0, !0) : $("", !0)
|
|
2710
2710
|
]),
|
|
2711
2711
|
_: 3
|
|
2712
2712
|
}, 8, ["modelValue", "task"])
|
|
2713
2713
|
], 64);
|
|
2714
2714
|
};
|
|
2715
2715
|
}
|
|
2716
|
-
}),
|
|
2717
|
-
function
|
|
2716
|
+
}), Ko = /* @__PURE__ */ H(Ea, [["__scopeId", "data-v-19b20db4"]]);
|
|
2717
|
+
function Yo(e) {
|
|
2718
2718
|
return `${e}@48w_48h_1s.avif`;
|
|
2719
2719
|
}
|
|
2720
|
-
const
|
|
2720
|
+
const Xo = (e) => {
|
|
2721
2721
|
window.open(`https://space.bilibili.com/${e}`);
|
|
2722
|
-
}, Ba = { class: "key-value-tag" }, Sa = { class: "label" }, $a = { class: "value" }, za = /* @__PURE__ */
|
|
2722
|
+
}, Ba = { class: "key-value-tag" }, Sa = { class: "label" }, $a = { class: "value" }, za = /* @__PURE__ */ S({
|
|
2723
2723
|
__name: "KeyValueTag",
|
|
2724
2724
|
props: {
|
|
2725
2725
|
label: {},
|
|
2726
2726
|
value: {}
|
|
2727
2727
|
},
|
|
2728
2728
|
setup(e) {
|
|
2729
|
-
return (l, s) => (r(),
|
|
2730
|
-
a("span", Sa,
|
|
2731
|
-
a("span", $a,
|
|
2729
|
+
return (l, s) => (r(), f("div", Ba, [
|
|
2730
|
+
a("span", Sa, m(e.label), 1),
|
|
2731
|
+
a("span", $a, m(e.value), 1)
|
|
2732
2732
|
]));
|
|
2733
2733
|
}
|
|
2734
|
-
}),
|
|
2734
|
+
}), ei = /* @__PURE__ */ H(za, [["__scopeId", "data-v-be2d6a5f"]]), Da = { class: "el-input-group__prepend prefix" }, ti = /* @__PURE__ */ S({
|
|
2735
2735
|
__name: "QueryFormItem",
|
|
2736
2736
|
props: {
|
|
2737
2737
|
prefix: {},
|
|
2738
2738
|
small: { type: Boolean }
|
|
2739
2739
|
},
|
|
2740
2740
|
setup(e) {
|
|
2741
|
-
return (l, s) => (r(),
|
|
2742
|
-
class:
|
|
2741
|
+
return (l, s) => (r(), f("div", {
|
|
2742
|
+
class: W(["el-input el-input-group el-input-group--append el-input-group--prepend app-query-form-item", e.small ? "el-input--small" : ""])
|
|
2743
2743
|
}, [
|
|
2744
|
-
a("span", Da,
|
|
2745
|
-
|
|
2744
|
+
a("span", Da, m(e.prefix), 1),
|
|
2745
|
+
P(l.$slots, "default")
|
|
2746
2746
|
], 2));
|
|
2747
2747
|
}
|
|
2748
|
-
})
|
|
2748
|
+
}), Ia = { class: "spacer" }, Pa = { class: "text-content" }, Va = /* @__PURE__ */ S({
|
|
2749
|
+
__name: "OverflowText",
|
|
2750
|
+
props: {
|
|
2751
|
+
content: {}
|
|
2752
|
+
},
|
|
2753
|
+
setup(e) {
|
|
2754
|
+
const l = e, s = E(null), t = E(null), o = E(!1), n = E(0);
|
|
2755
|
+
let i = null;
|
|
2756
|
+
const c = () => {
|
|
2757
|
+
if (!s.value || !t.value) return;
|
|
2758
|
+
const u = s.value.clientWidth, p = t.value.getBoundingClientRect().width;
|
|
2759
|
+
if (p > u) {
|
|
2760
|
+
o.value = !0;
|
|
2761
|
+
const g = p + 30;
|
|
2762
|
+
n.value = g / 50;
|
|
2763
|
+
} else
|
|
2764
|
+
o.value = !1;
|
|
2765
|
+
};
|
|
2766
|
+
return J(
|
|
2767
|
+
() => l.content,
|
|
2768
|
+
async () => {
|
|
2769
|
+
await ue(), c();
|
|
2770
|
+
}
|
|
2771
|
+
), ee(() => {
|
|
2772
|
+
c(), s.value && (i = new ResizeObserver(() => {
|
|
2773
|
+
c();
|
|
2774
|
+
}), i.observe(s.value));
|
|
2775
|
+
}), Ze(() => {
|
|
2776
|
+
i && i.disconnect();
|
|
2777
|
+
}), (u, p) => {
|
|
2778
|
+
const g = Me;
|
|
2779
|
+
return r(), b(g, {
|
|
2780
|
+
content: e.content,
|
|
2781
|
+
disabled: !o.value,
|
|
2782
|
+
placement: "top"
|
|
2783
|
+
}, {
|
|
2784
|
+
default: d(() => [
|
|
2785
|
+
a("div", {
|
|
2786
|
+
class: "auto-scroll-container",
|
|
2787
|
+
ref_key: "containerRef",
|
|
2788
|
+
ref: s
|
|
2789
|
+
}, [
|
|
2790
|
+
a("div", {
|
|
2791
|
+
class: W(["scroll-wrapper", { "is-scrolling": o.value }]),
|
|
2792
|
+
style: fe({ "--duration": n.value + "s" })
|
|
2793
|
+
}, [
|
|
2794
|
+
a("span", {
|
|
2795
|
+
class: "text-content",
|
|
2796
|
+
ref_key: "textRef",
|
|
2797
|
+
ref: t
|
|
2798
|
+
}, m(e.content), 513),
|
|
2799
|
+
G(a("span", Ia, null, 512), [
|
|
2800
|
+
[ce, o.value]
|
|
2801
|
+
]),
|
|
2802
|
+
o.value ? (r(), f(L, { key: 0 }, [
|
|
2803
|
+
a("span", Pa, m(e.content), 1),
|
|
2804
|
+
p[0] || (p[0] = a("span", { class: "spacer" }, null, -1))
|
|
2805
|
+
], 64)) : $("", !0)
|
|
2806
|
+
], 6)
|
|
2807
|
+
], 512)
|
|
2808
|
+
]),
|
|
2809
|
+
_: 1
|
|
2810
|
+
}, 8, ["content", "disabled"]);
|
|
2811
|
+
};
|
|
2812
|
+
}
|
|
2813
|
+
}), si = /* @__PURE__ */ H(Va, [["__scopeId", "data-v-dcb2ace1"]]);
|
|
2749
2814
|
export {
|
|
2750
2815
|
N as AppIcon,
|
|
2751
2816
|
ae as AppTooltip,
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2817
|
+
Il as BiliUserCard,
|
|
2818
|
+
Zo as BiliUserInfo,
|
|
2819
|
+
Lo as CountdownDialog,
|
|
2755
2820
|
nn as DeleteConfirmDialog,
|
|
2756
2821
|
la as DownloadDetailsDialog,
|
|
2757
2822
|
ga as DownloadItem,
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2823
|
+
Ko as DownloadManagePage,
|
|
2824
|
+
kt as DownloadProgress,
|
|
2825
|
+
bt as DownloadProgressDetails,
|
|
2826
|
+
An as DownloadResourceTag,
|
|
2762
2827
|
At as DownloadResult,
|
|
2763
|
-
|
|
2828
|
+
yt as DownloadStatus,
|
|
2764
2829
|
Jn as DownloadVideoCard,
|
|
2765
2830
|
Sn as DownloadVideoPartCard,
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2831
|
+
jo as ExternalLink,
|
|
2832
|
+
qo as IconButton,
|
|
2833
|
+
ut as IconLabel,
|
|
2834
|
+
ei as KeyValueTag,
|
|
2770
2835
|
Ss as LoadingDialog,
|
|
2771
|
-
|
|
2836
|
+
No as LogPrint,
|
|
2837
|
+
si as OverflowText,
|
|
2772
2838
|
Xs as PageRangeDialog,
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2839
|
+
Jo as PageTable,
|
|
2840
|
+
_t as PluginMenuItem,
|
|
2841
|
+
Ll as PluginMenus,
|
|
2842
|
+
Go as PluginPageContent,
|
|
2843
|
+
Wo as PluginPageHeader,
|
|
2778
2844
|
dl as ProcessDialog,
|
|
2779
|
-
|
|
2845
|
+
ti as QueryFormItem,
|
|
2780
2846
|
Ns as SelectDialog,
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2847
|
+
Ho as SettingGroup,
|
|
2848
|
+
Ro as SettingItem,
|
|
2849
|
+
bn as VideoStatsInfo,
|
|
2850
|
+
Qe as baseUpdateThemeColor,
|
|
2851
|
+
Oe as blackColor,
|
|
2786
2852
|
$e as formatBytes,
|
|
2787
2853
|
an as formatSpeed,
|
|
2788
2854
|
ze as formatStatCount,
|
|
2789
|
-
|
|
2855
|
+
Yo as getUserAvatarThumbnail,
|
|
2790
2856
|
ya as handleCancel,
|
|
2791
2857
|
ka as handleDelete,
|
|
2792
|
-
|
|
2858
|
+
Do as handleError,
|
|
2793
2859
|
_a as handleOpenFolder,
|
|
2794
|
-
|
|
2860
|
+
Xo as handleOpenSpace,
|
|
2795
2861
|
ha as handlePause,
|
|
2796
2862
|
wa as handleResume,
|
|
2797
|
-
|
|
2798
|
-
|
|
2863
|
+
Eo as initAppTheme,
|
|
2864
|
+
zo as initBilitoolkitUi,
|
|
2799
2865
|
Ae as initTransparentColors,
|
|
2800
|
-
|
|
2801
|
-
|
|
2866
|
+
Te as isDarkTheme,
|
|
2867
|
+
je as loadingDialog,
|
|
2802
2868
|
$n as parseVideoZoneLabel,
|
|
2803
|
-
|
|
2869
|
+
Oo as processDialog,
|
|
2804
2870
|
ks as showConfirm,
|
|
2805
|
-
|
|
2871
|
+
Po as showConfirmSequence,
|
|
2806
2872
|
fa as showDeleteConfirmDialog,
|
|
2807
2873
|
ie as showError,
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2874
|
+
Uo as showPageRangeDialog,
|
|
2875
|
+
Fo as showSelectDialog,
|
|
2876
|
+
se as showToast,
|
|
2877
|
+
Io as showWarning,
|
|
2878
|
+
Bo as switchDefaultTheme,
|
|
2879
|
+
So as switchThemeMode,
|
|
2814
2880
|
T as toolkitApi,
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2881
|
+
we as updateAppTheme,
|
|
2882
|
+
$o as updatePrimaryColor,
|
|
2883
|
+
ke as useAppThemeStore,
|
|
2884
|
+
Vo as useAutoRefreshData,
|
|
2819
2885
|
Hs as useCountdown,
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2886
|
+
bs as useElementHeight,
|
|
2887
|
+
Qo as useElementScrollbar,
|
|
2888
|
+
Re as useLoadingData,
|
|
2889
|
+
To as useLoadingTask,
|
|
2890
|
+
ct as usePageTable,
|
|
2891
|
+
Mo as useSelectData,
|
|
2892
|
+
He as useSelectedUserStore,
|
|
2893
|
+
Ue as whiteColor
|
|
2828
2894
|
};
|