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/index.js CHANGED
@@ -1,17 +1,17 @@
1
- import { reactive as Ce, watch as X, ref as S, onMounted as ne, onUnmounted as ce, computed as C, toValue as Z, shallowRef as St, useTemplateRef as ee, onBeforeUnmount as $t, defineComponent as B, withDirectives as J, openBlock as r, createElementBlock as g, createElementVNode as a, vShow as me, toDisplayString as p, createApp as De, renderSlot as I, normalizeClass as G, createVNode as v, createCommentVNode as z, useModel as he, createBlock as A, withCtx as d, unref as h, createTextVNode as k, mergeModels as Y, Fragment as R, renderList as O, normalizeStyle as xe, toRaw as zt, render as ge, useCssVars as Dt, mergeProps as K, normalizeProps as Pt, guardReactiveProps as It, withModifiers as Ee, nextTick as we, useSlots as Ne, useAttrs as Vt, h as Mt } from "vue";
2
- import { defineStore as Ze, storeToRefs as Qt } from "pinia";
3
- import { defaultAppThemeState as We, APP_THEME_STATE as Le, UI_DB_KEYS as Re } from "./common.js";
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 Ge from "lodash-es/cloneDeep";
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 Lt } from "element-plus";
11
- import { BiliApiBusinessError as Rt, BiliClient as Ft, audioQualityMap as Ut, videoQualityMap as qt, videoCodecIdMap as Ot, parseVideoZoneV1 as jt, parseVideoZoneV2 as Nt } from "@ybgnb/bili-api";
12
- import { isCanceledError as Zt, getErrorMessage as Wt, createAbortError as Je, serializeError as Gt, getFormattedDateTime as Jt, unwrapBizResult as Kt, inArray as Yt, formatFileSizeFromKB as Xt, formatDuration as Pe, formatTime as fe } from "@ybgnb/utils";
13
- import { AppError as es, downloadTaskStatusMap as Ke, downloadResourceNameMap as ts } from "bilitoolkit-types";
14
- import { ElLoadingDirective as Ie, ElDialog as re, ElButton as W, ElRow as ss, ElCol as ls, ElInput as Ye, ElProgress as Xe, ElIcon as Ve, ElTooltip as et, ElPopconfirm as ns, ElMenuItem as tt, 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 st, ElPagination as lt, ElCheckbox as ps, ElTag as nt, ElText as ms, ElImage as at, ElDescriptions as gs, ElDescriptionsItem as fs, ElRadioGroup as _s, ElRadioButton as hs } from "element-plus/es";
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 H = (e, l, s, t = "srgb", i) => `color-mix(in ${t}, ${e} ${s}%, ${l} ${100 - s}%)`, ot = (e) => {
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 Fe = "#ffffff", Ue = "#000000", Ae = (e, l, s) => {
53
- const { r: t, g: i, b: n } = ot(e);
54
- for (let o = 2; o < 100; ) {
55
- const c = o / 100;
56
- l[`${s}-transparent-${o}`] = `rgba(${t}, ${i}, ${n}, ${c})`, o >= 10 ? o += 5 : o++;
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
- }, Me = (e, l, s) => {
58
+ }, Qe = (e, l, s) => {
59
59
  const t = {};
60
60
  s ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
61
- const i = t["--app-color-foreground"] = s ? Fe : Ue, n = t["--app-color-background"] = s ? Ue : Fe;
62
- t["--app-primary-color"] = e, t["--el-color-primary"] = e, t["--el-color-primary-light-1"] = H(e, n, 90), t["--el-color-primary-light-2"] = H(e, n, 80), t["--el-color-primary-light-3"] = H(e, n, 70), t["--el-color-primary-light-4"] = H(e, n, 60), t["--el-color-primary-light-5"] = H(e, n, 50), t["--el-color-primary-light-6"] = H(e, n, 40), t["--el-color-primary-light-7"] = H(e, n, 30), t["--el-color-primary-light-8"] = H(e, n, 20), t["--el-color-primary-light-9"] = H(e, n, 12), t["--el-color-primary-dark-1"] = H(e, i, 90), t["--el-color-primary-dark-2"] = H(e, i, 80), t["--el-color-primary-dark-3"] = H(e, i, 70), t["--el-color-primary-dark-4"] = H(e, i, 60), t["--el-color-primary-dark-5"] = H(e, i, 50), t["--el-color-primary-dark-6"] = H(e, i, 40), t["--el-color-primary-dark-7"] = H(e, i, 30), t["--el-color-primary-dark-8"] = H(e, i, 20), t["--el-color-primary-dark-9"] = H(e, i, 12);
63
- const { r: o, g: c, b: u } = ot(e);
64
- t["--app-bg-color-overlay"] = `rgba(${o}, ${c}, ${u}, 0.05)`, t["--app-bg-color-overlay-hover"] = `rgba(${o}, ${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(i, t, "--app-color-foreground");
65
- for (const m in t)
66
- ws(m, t[m]);
67
- }, Qe = async (e) => {
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
- }, _e = async (e) => {
71
- const l = e ?? await T.system.getAppThemeState(), s = await Qe(l.themeMode);
72
- Me(l.primaryColor, l.themeMode, s);
73
- }, bo = async () => {
74
- await _e(void 0);
75
- }, Co = async () => {
76
- await _e(We);
77
- }, xo = async (e) => {
78
- const s = ye().state, t = await Qe(e);
79
- s.dark = t, s.themeMode = e, Me(s.primaryColor, e, t);
80
- }, Eo = async (e) => {
81
- const s = ye().state, t = await Qe(s.themeMode);
82
- s.primaryColor = e, Me(e, s.themeMode, t);
83
- }, ye = Ze(
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 = Ce(We);
86
+ const e = xe(Je);
87
87
  let l = !1;
88
- const s = async (n, o) => {
88
+ const s = async (n, i) => {
89
89
  const c = await window.toolkitApi.system.getAppThemeState();
90
- Object.assign(e, c), await _e(c), n && o && (l = !0, X(
90
+ Object.assign(e, c), await we(c), n && i && (l = !0, J(
91
91
  () => e,
92
92
  (u) => {
93
- const m = Ge(u);
94
- window.toolkitApi.db.write(n, m).then(async () => {
95
- await window.toolkitApi.event.emit(o, m);
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), _e(n).then();
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
- ), Te = Ze("biliToolkit-ui-selected-user", () => {
117
- const e = S(null), l = async () => {
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(Re.UI_SELECTED_USER))?.user ?? null;
119
+ e.value = (await window.toolkitApi.db.init(Fe.UI_SELECTED_USER))?.user ?? null;
120
120
  } catch {
121
121
  }
122
122
  };
123
- return X(
123
+ return J(
124
124
  () => e.value,
125
125
  async (n) => {
126
- let o = n != null ? Ge(n) : null;
127
- await window.toolkitApi.db.write(Re.UI_SELECTED_USER, {
128
- user: o
129
- }), o && await window.toolkitApi.user.switchCurrUser(o);
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
- }), Bo = async (e, l) => (Promise.resolve({ }), Promise.resolve({ }), Promise.resolve({ }), await ye(e).init(l?.appThemeDBName, l?.appThemeUpdateEvent), await Te(e).init(), {
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 So = (e) => {
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, Rt) ? (ie(`${e.message} (${e.responseCode})`), l()) : (ie(Wt(e)), l());
160
+ qe(e, es) ? ie(`${e.message}`) : qe(e, Lt) ? (ie(`${e.message} (${e.responseCode})`), l()) : (ie(Wt(e)), l());
161
161
  } else
162
- te({
162
+ se({
163
163
  message: "未知错误",
164
164
  type: "error"
165
165
  });
166
166
  };
167
- function te(e) {
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), Lt(l);
173
+ typeof e == "string" ? l.message = e : Object.assign(l, e), Rt(l);
174
174
  }
175
175
  function ie(e) {
176
- te({
176
+ se({
177
177
  message: e,
178
178
  type: "error"
179
179
  });
180
180
  }
181
- function $o(e) {
182
- te({
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, i) => {
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
- i(Je());
205
+ o(Ye());
206
206
  });
207
207
  });
208
208
  }
209
- async function zo(e) {
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 He = (e) => {
214
- const l = e?.loading ?? S(!1);
213
+ const Re = (e) => {
214
+ const l = e?.loading ?? E(!1);
215
215
  let s = null;
216
- const t = S(!1);
216
+ const t = E(!1);
217
217
  return {
218
218
  loading: l,
219
219
  hasLoaded: t,
220
- loadingData: (n) => async (...o) => (e?.singleFlight && l.value && s || (s = (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(...o) : 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
- }, Do = (e, l = 3e3) => {
230
- const { loading: s, loadingData: t } = He({ singleFlight: !0 }), i = t(e);
229
+ }, Vo = (e, l = 3e3) => {
230
+ const { loading: s, loadingData: t } = Re({ singleFlight: !0 }), o = t(e);
231
231
  let n = null;
232
- return ne(async () => {
233
- n = setInterval(i, l);
234
- }), ce(() => {
232
+ return ee(async () => {
233
+ n = setInterval(o, l);
234
+ }), re(() => {
235
235
  n && (clearInterval(n), n = null);
236
- }), { loading: s, refreshTableData: i, reset: () => {
237
- n && (clearInterval(n), n = null), i(), n = setInterval(i, l);
236
+ }), { loading: s, refreshTableData: o, reset: () => {
237
+ n && (clearInterval(n), n = null), o(), n = setInterval(o, l);
238
238
  } };
239
- }, it = (e) => {
240
- const { fetchPage: l, pageParams: s, queryParams: t, autoLoad: i, onLoaded: n } = e, o = C(() => {
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 = S(o.value), u = S([]), { loading: m, loadingData: f } = He(), w = f(async () => {
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, ...P } = D ? await l(M, D) : await l(M);
253
- u.value = F, c.value = P, n?.();
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 } = o.value;
255
+ const { pageSize: D, ...M } = i.value;
256
256
  Object.assign(c.value, M);
257
- }, b = async () => {
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
- }, E = async () => {
263
+ }, B = async () => {
264
264
  await w();
265
265
  };
266
- return i && ne(async () => {
267
- await b();
266
+ return o && ee(async () => {
267
+ await A();
268
268
  }), {
269
269
  pageData: c,
270
270
  tableData: u,
271
- loading: m,
271
+ loading: p,
272
272
  refresh: w,
273
- resetAndRefresh: b,
273
+ resetAndRefresh: A,
274
274
  resetPageAndRefresh: x,
275
275
  handleSizeChange: V,
276
- handleCurrPageChange: E
276
+ handleCurrPageChange: B
277
277
  };
278
- }, Po = (e, l, s = []) => {
279
- const t = St([...s]);
280
- function i(_) {
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 b = l(_);
285
- i(_) ? t.value = t.value.filter((x) => x !== b) : t.value = [...t.value, b];
284
+ const A = l(_);
285
+ o(_) ? t.value = t.value.filter((x) => x !== A) : t.value = [...t.value, A];
286
286
  }
287
- const o = C(() => {
287
+ const i = C(() => {
288
288
  const _ = Z(e);
289
- return _.length > 0 && _.every((b) => t.value.includes(l(b)));
289
+ return _.length > 0 && _.every((A) => t.value.includes(l(A)));
290
290
  });
291
291
  function c() {
292
- o.value ? t.value = [] : t.value = Z(e).map(l);
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 m() {
297
+ function p() {
298
298
  const _ = new Set(Z(e).map(l));
299
- t.value = t.value.filter((b) => _.has(b));
299
+ t.value = t.value.filter((A) => _.has(A));
300
300
  }
301
- function f() {
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: i,
309
+ isSelected: o,
310
310
  toggleSelect: n,
311
- isAllSelected: o,
311
+ isAllSelected: i,
312
312
  toggleAll: c,
313
313
  getSelectedData: u,
314
- cleanupSelected: m,
315
- clearSelected: f,
314
+ cleanupSelected: p,
315
+ clearSelected: g,
316
316
  select: w
317
317
  };
318
- }, As = (e) => {
319
- const l = ee(e), s = S(0), t = () => {
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 i, n = 0;
323
- return ne(() => {
324
- l.value && (t(), i = new ResizeObserver(() => {
322
+ let o, n = 0;
323
+ return ee(() => {
324
+ l.value && (t(), o = new ResizeObserver(() => {
325
325
  cancelAnimationFrame(n), n = requestAnimationFrame(t);
326
- }), i.observe(l.value));
327
- }), ce(() => {
328
- i?.disconnect(), cancelAnimationFrame(n);
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 Io(e) {
336
- const l = S(!1), s = S(!1), t = S(!1);
337
- let i = null, n = null;
338
- const o = () => {
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 X(
346
+ return J(
347
347
  () => Z(e),
348
348
  (c) => {
349
- i?.disconnect(), n?.disconnect(), c && (o(), i = new ResizeObserver(() => {
350
- o();
351
- }), i.observe(c), n = new MutationObserver(() => {
352
- o();
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
- ), $t(() => {
363
- i?.disconnect(), n?.disconnect();
362
+ ), Ze(() => {
363
+ o?.disconnect(), n?.disconnect();
364
364
  }), {
365
365
  hasHorizontalScrollbar: l,
366
366
  hasVerticalScrollbar: s,
367
367
  hasScrollbar: t,
368
- checkScrollbar: o
368
+ checkScrollbar: i
369
369
  };
370
370
  }
371
- const bs = { class: "loading-mask el-overlay" }, Cs = { class: "loading-content" }, xs = { class: "loading-spinner" }, Es = { class: "loading-text" }, Bs = /* @__PURE__ */ B({
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 = S(!1), t = S(""), i = S(!1);
374
+ const s = E(!1), t = E(""), o = E(!1);
375
375
  let n;
376
- const o = (f = {}) => {
377
- typeof f == "string" ? t.value = f || "加载中" : (t.value = f.message ?? "加载中", i.value = f.showCancel ?? !1, n = f.onCancel, f?.autoCloseDelay && setTimeout(() => {
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
- }, f?.autoCloseDelay)), s.value = !0;
380
- }, c = (f) => {
381
- t.value = f;
379
+ }, g?.autoCloseDelay)), s.value = !0;
380
+ }, c = (g) => {
381
+ t.value = g;
382
382
  }, u = () => {
383
383
  s.value = !1;
384
- }, m = async () => {
384
+ }, p = async () => {
385
385
  await n?.(), u();
386
386
  };
387
387
  return l({
388
- show: o,
388
+ show: i,
389
389
  update: c,
390
390
  close: u
391
- }), (f, w) => {
392
- const _ = Ie;
393
- return J((r(), g("div", bs, [
391
+ }), (g, w) => {
392
+ const _ = Pe;
393
+ return G((r(), f("div", As, [
394
394
  a("div", Cs, [
395
- J(a("div", {
395
+ G(a("div", {
396
396
  class: "options-close-btn",
397
- onClick: m
397
+ onClick: p
398
398
  }, null, 512), [
399
- [me, i.value]
399
+ [ce, o.value]
400
400
  ]),
401
- J(a("div", xs, null, 512), [
401
+ G(a("div", xs, null, 512), [
402
402
  [_, !0]
403
403
  ]),
404
- a("div", Es, p(t.value), 1)
404
+ a("div", Es, m(t.value), 1)
405
405
  ])
406
406
  ], 512)), [
407
- [me, s.value]
407
+ [ce, s.value]
408
408
  ]);
409
409
  };
410
410
  }
411
- }), L = (e, l) => {
411
+ }), H = (e, l) => {
412
412
  const s = e.__vccOpts || e;
413
- for (const [t, i] of l)
414
- s[t] = i;
413
+ for (const [t, o] of l)
414
+ s[t] = o;
415
415
  return s;
416
- }, Ss = /* @__PURE__ */ L(Bs, [["__scopeId", "data-v-3a3348da"]]);
417
- let ve = null;
418
- function be() {
419
- if (ve) return ve;
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), ve = De(Ss).mount(e), ve;
421
+ return document.body.appendChild(e), me = De(Ss).mount(e), me;
422
422
  }
423
- const Oe = {
423
+ const je = {
424
424
  show(e) {
425
- be().show(e);
425
+ Ce().show(e);
426
426
  },
427
427
  update(e) {
428
- be().update(e);
428
+ Ce().update(e);
429
429
  },
430
430
  close() {
431
- be().close();
431
+ Ce().close();
432
432
  }
433
- }, Vo = (e, l) => {
434
- const s = l?.loading ?? S(!1), t = S(!1), i = Te();
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 (...o) => {
437
+ execTask: async (...i) => {
438
438
  try {
439
- s.value = !0, i.assertLoggedIn();
439
+ s.value = !0, o.assertLoggedIn();
440
440
  const c = new AbortController();
441
- return Oe.show({
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: i.user
448
+ user: o.user
449
449
  },
450
- ...o
450
+ ...i
451
451
  );
452
452
  } finally {
453
- Oe.close(), s.value = !1;
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" }, Mo = /* @__PURE__ */ B({
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(), g("div", $s, [
466
- a("div", zs, p(l.name), 1),
465
+ return (s, t) => (r(), f("div", $s, [
466
+ a("div", zs, m(l.name), 1),
467
467
  a("div", Ds, [
468
- I(s.$slots, "default")
468
+ P(s.$slots, "default")
469
469
  ])
470
470
  ]));
471
471
  }
472
- }), N = /* @__PURE__ */ B({
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 = ye(), t = C(() => s.state.dark ? `ri-${l.icon}-fill` : `ri-${l.icon}-line`);
479
- return (i, n) => (r(), g("i", {
480
- class: G([t.value, "icon-font"])
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
- }), Ps = { class: "setting-item" }, Is = { class: "setting-item__content" }, Vs = { class: "setting-item__content__title" }, Ms = {
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__ */ B({
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 = S("equalizer-2");
495
- return (t, i) => {
494
+ const l = e, s = E("equalizer-2");
495
+ return (t, o) => {
496
496
  const n = N;
497
- return r(), g("div", Ps, [
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", Is, [
503
- a("div", Vs, p(l.title), 1),
504
- l.desc ? (r(), g("div", Ms, p(l.desc), 1)) : z("", !0)
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
- I(t.$slots, "default", {}, void 0, !0)
507
+ P(t.$slots, "default", {}, void 0, !0)
508
508
  ])
509
509
  ]);
510
510
  };
511
511
  }
512
- }), Qo = /* @__PURE__ */ L(Ts, [["__scopeId", "data-v-bb581bf5"]]);
512
+ }), Ro = /* @__PURE__ */ H(Ts, [["__scopeId", "data-v-bb581bf5"]]);
513
513
  function Hs(e) {
514
- const l = S(e), s = S(null), t = (n) => {
514
+ const l = E(e), s = E(null), t = (n) => {
515
515
  l.value = e, s.value = setInterval(() => {
516
- l.value > 1 ? l.value-- : (i(), n());
516
+ l.value > 1 ? l.value-- : (o(), n());
517
517
  }, 1e3);
518
- }, i = () => {
518
+ }, o = () => {
519
519
  s.value && (clearInterval(s.value), s.value = null);
520
520
  };
521
- return ce(i), { countdown: l, start: t, stop: i };
521
+ return re(o), { countdown: l, start: t, stop: o };
522
522
  }
523
- const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
523
+ const Rs = { class: "dialog-footer" }, Lo = /* @__PURE__ */ S({
524
524
  __name: "CountdownDialog",
525
- props: /* @__PURE__ */ Y({
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__ */ Y(["onConfirm", "onCancel"], ["update:modelValue"]),
536
+ emits: /* @__PURE__ */ X(["onConfirm", "onCancel"], ["update:modelValue"]),
537
537
  setup(e, { expose: l, emit: s }) {
538
- const t = e, i = he(e, "modelValue"), n = s, { countdown: o, start: c, stop: u } = Hs(t.countdown);
539
- let m = !1;
540
- const f = (x) => {
541
- m || (m = !0, u(), n(x === "confirm" ? "onConfirm" : "onCancel", x), i.value = !1, m = !1);
542
- }, w = () => f("confirm"), _ = () => f("cancel"), b = () => {
543
- i.value = !0, c(_);
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 X(i, (x, V) => {
545
+ return J(o, (x, V) => {
546
546
  x && !V && c(_);
547
- }), l({ show: b }), (x, V) => {
548
- const E = W, D = re;
549
- return r(), A(D, {
550
- modelValue: i.value,
551
- "onUpdate:modelValue": V[0] || (V[0] = (M) => i.value = 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", Ls, [
561
- v(E, { onClick: _ }, {
560
+ a("div", Rs, [
561
+ v(B, { onClick: _ }, {
562
562
  default: d(() => [
563
- k(p(e.cancelBtnText) + "(" + p(h(o)) + "s)", 1)
563
+ k(m(e.cancelBtnText) + "(" + m(h(i)) + "s)", 1)
564
564
  ]),
565
565
  _: 1
566
566
  }),
567
- v(E, {
567
+ v(B, {
568
568
  type: "primary",
569
- disabled: h(o) <= 0,
569
+ disabled: h(i) <= 0,
570
570
  onClick: w
571
571
  }, {
572
572
  default: d(() => [
573
- k(p(e.confirmBtnText), 1)
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, p(e.content), 1),
581
- a("div", null, p(h(o)) + "秒后自动取消", 1)
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
- }), Rs = { class: "select-dialog" }, Fs = ["onClick"], Us = { class: "option-item-label" }, qs = { key: 0 }, Os = { key: 1 }, js = /* @__PURE__ */ B({
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__ */ Y({
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__ */ Y(["confirm"], ["update:modelValue"]),
605
+ emits: /* @__PURE__ */ X(["confirm"], ["update:modelValue"]),
606
606
  setup(e, { emit: l }) {
607
- const s = e, t = he(e, "modelValue"), i = Ce([]), n = Ce([]), o = S(0), c = ee("listRef"), { loading: u, loadingData: m } = He(), f = S(!1), w = m(async (y) => {
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 $ = !1;
609
+ let z = !1;
610
610
  y(() => {
611
- $ = !0;
611
+ z = !0;
612
612
  });
613
613
  const U = typeof s.options == "function" ? await s.options() : s.options;
614
- $ || i.splice(0, i.length, ...U);
614
+ z || o.splice(0, o.length, ...U);
615
615
  }), _ = () => {
616
- o.value = c.value?.clientWidth ?? 0, f.value = !0;
616
+ i.value = c.value?.clientWidth ?? 0, g.value = !0;
617
617
  };
618
- X(
618
+ J(
619
619
  t,
620
- async (y, $, U) => {
620
+ async (y, z, U) => {
621
621
  if (!y) {
622
- f.value = !1;
622
+ g.value = !1;
623
623
  return;
624
624
  }
625
625
  await w(U);
626
626
  },
627
627
  { immediate: !0 }
628
628
  );
629
- const b = l, x = () => {
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
- b("confirm", zt(n)), t.value = !1;
637
- }, E = C(() => s.showCurrentSelection && f.value && !u.value && n.length > 0), D = (y) => n.includes(y), M = (y) => {
638
- const $ = n.indexOf(y);
639
- $ > -1 ? n.splice($, 1) : s.multiple ? n.push(y) : n.splice(0, n.length, y);
640
- }, F = C(() => i.every((y) => n.includes(y))), P = () => {
641
- F.value ? n.splice(0, n.length) : n.splice(0, n.length, ...i);
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 = W, se = re, le = Ie;
645
- return r(), g("div", Rs, [
646
- v(se, {
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": $[0] || ($[0] = (q) => t.value = q),
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(), g("span", {
658
+ e.multiple && e.canSelectAll ? (r(), f("span", {
659
659
  key: 0,
660
- class: G(["select-all", F.value ? "selected" : ""]),
661
- onClick: P
662
- }, [...$[1] || ($[1] = [
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)) : z("", !0),
665
+ ])], 2)) : $("", !0),
666
666
  v(U, { onClick: x }, {
667
667
  default: d(() => [
668
- k(p(e.cancelText), 1)
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(p(e.confirmText), 1)
678
+ k(m(e.confirmText), 1)
679
679
  ]),
680
680
  _: 1
681
681
  }, 8, ["disabled"])
682
682
  ]),
683
683
  default: d(() => [
684
- J((r(), g("div", {
685
- class: G(["dialog-content", h(u) ? "loading" : ""])
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), g(R, null, O(i, (q) => (r(), g("div", {
693
- class: G(["option-item", D(q) ? "selected" : ""]),
694
- key: e.getDataId(q),
695
- onClick: (ue) => M(q)
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
- I(y.$slots, "item", {}, () => [
697
+ P(y.$slots, "item", {}, () => [
698
698
  a("span", {
699
- class: G(["select-icon", e.multiple ? "checkbox" : "radio"])
699
+ class: W(["select-icon", e.multiple ? "checkbox" : "radio"])
700
700
  }, null, 2),
701
701
  a("span", Us, [
702
- I(y.$slots, "item-label", {}, () => [
703
- k(p(e.getDataLabel(q)), 1)
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
- E.value ? (r(), g("div", {
709
+ B.value ? (r(), f("div", {
710
710
  key: 0,
711
711
  class: "current-selection",
712
- style: xe({ width: `${o.value}px` })
712
+ style: fe({ width: `${i.value}px` })
713
713
  }, [
714
- e.multiple ? (r(), g("span", qs, "已选择(" + p(n.length) + "):", 1)) : (r(), g("span", Os, "已选择:")),
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: xe({ display: e.multiple ? "flex" : "contents" })
717
+ style: fe({ display: e.multiple ? "flex" : "contents" })
718
718
  }, [
719
- (r(!0), g(R, null, O(n, (q) => (r(), g("span", {
720
- key: e.getDataId(q)
721
- }, p(e.getDataLabel(q)), 1))), 128))
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)) : z("", !0)
723
+ ], 4)) : $("", !0)
724
724
  ], 2)), [
725
- [le, h(u)]
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__ */ L(js, [["__scopeId", "data-v-2ad04bd4"]]), Ho = (e) => new Promise((l) => {
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 && (ge(null, s), s.remove(), s = null);
737
- }, i = v(Ns, {
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), ge(i, 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__ */ B({
751
+ }, Js = { class: "page-size-desc" }, Ks = { class: "range-desc" }, Ys = /* @__PURE__ */ S({
752
752
  __name: "PageRangeDialog",
753
- props: /* @__PURE__ */ Y({
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__ */ Y(["confirm"], ["update:modelValue"]),
766
+ emits: /* @__PURE__ */ X(["confirm"], ["update:modelValue"]),
767
767
  setup(e, { emit: l }) {
768
- const s = e, t = he(e, "modelValue"), i = 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 = S(1), o = S(1), c = C(() => `共有 ${s.total} 条数据`), u = C(() => `每页可获取 ${s.pageSize} 条数据`), m = C(() => {
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 b = s.pageSize - Math.max(o.value * s.pageSize - s.total, 0);
771
- return `共选择 ${(o.value - n.value) * s.pageSize + b} 条数据`;
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 `共选择 ${(o.value + 1 - n.value) * s.pageSize} 条数据`;
773
+ return `共选择 ${(i.value + 1 - n.value) * s.pageSize} 条数据`;
774
774
  });
775
- X(
775
+ J(
776
776
  t,
777
- async (b) => {
778
- b && (n.value = s.defaultRange[0], o.value = s.defaultRange[1]);
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 f = l, w = () => {
782
+ const g = l, w = () => {
783
783
  t.value = !1;
784
784
  }, _ = () => {
785
- f("confirm", [n.value, o.value]), t.value = !1;
785
+ g("confirm", [n.value, i.value]), t.value = !1;
786
786
  };
787
- return (b, x) => {
788
- const V = Ye, E = ls, D = ss, M = W, F = re;
789
- return r(), A(F, {
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] = (P) => t.value = P),
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(p(e.cancelText), 1)
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(p(e.confirmText), 1)
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(), g("div", Gs, p(c.value), 1)) : z("", !0),
820
- a("div", Js, p(u.value), 1)
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(E, { span: 11 }, {
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] = (P) => n.value = P),
829
+ "onUpdate:modelValue": x[0] || (x[0] = (I) => n.value = I),
830
830
  min: e.minPage,
831
- max: o.value
831
+ max: i.value
832
832
  }, null, 8, ["modelValue", "min", "max"])
833
833
  ]),
834
834
  _: 1
835
835
  }),
836
- v(E, {
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(E, { span: 11 }, {
845
+ v(B, { span: 11 }, {
846
846
  default: d(() => [
847
847
  v(V, {
848
848
  type: "number",
849
- modelValue: o.value,
850
- "onUpdate:modelValue": x[1] || (x[1] = (P) => o.value = P),
849
+ modelValue: i.value,
850
+ "onUpdate:modelValue": x[1] || (x[1] = (I) => i.value = I),
851
851
  min: n.value,
852
- max: i.value
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(m.value), 1)
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__ */ L(Ys, [["__scopeId", "data-v-715af5da"]]), Lo = (e) => new Promise((l) => {
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 && (ge(null, s), s.remove(), s = null), l(n);
871
- }, i = v(Xs, {
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), ge(i, s);
881
+ document.body.appendChild(s), _e(o, s);
882
882
  });
883
- var el = /* @__PURE__ */ B({
883
+ var el = /* @__PURE__ */ S({
884
884
  name: "CircleCheck",
885
885
  __name: "circle-check",
886
886
  setup(e) {
887
- return (l, s) => (r(), g("svg", {
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__ */ B({
901
+ }), tl = el, sl = /* @__PURE__ */ S({
902
902
  name: "CircleClose",
903
903
  __name: "circle-close",
904
904
  setup(e) {
905
- return (l, s) => (r(), g("svg", {
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__ */ B({
919
+ }), ll = sl, nl = /* @__PURE__ */ S({
920
920
  name: "Picture",
921
921
  __name: "picture",
922
922
  setup(e) {
923
- return (l, s) => (r(), g("svg", {
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
- }), ct = 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__ */ B({
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 = S(!1), t = S(""), i = S(0), n = S("loading"), o = S(!1);
941
+ const s = E(!1), t = E(""), o = E(0), n = E("loading"), i = E(!1);
942
942
  let c, u;
943
- const m = (E = {}) => {
944
- t.value = E.message ?? "加载中", o.value = E.showCancel ?? !1, i.value = E.percentage ?? 0, n.value = "loading", c = E.onCancel, u = E.onConfirm, s.value = !0;
945
- }, f = (E, D) => {
946
- E != null && (i.value = E), D != null && (t.value = D);
947
- }, w = (E = "操作成功") => {
948
- n.value = "success", t.value = E;
949
- }, _ = (E = "操作失败") => {
950
- n.value = "error", t.value = E;
951
- }, b = () => {
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?.(), b();
954
+ await c?.(), A();
955
955
  }, V = async () => {
956
- await u?.(n.value), b();
956
+ await u?.(n.value), A();
957
957
  };
958
958
  return l({
959
- show: m,
960
- update: f,
959
+ show: p,
960
+ update: g,
961
961
  setSuccess: w,
962
962
  setError: _,
963
- close: b
964
- }), (E, D) => {
965
- const M = Xe, F = Ve, P = W;
966
- return J((r(), g("div", al, [
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
- J(a("div", {
968
+ G(a("div", {
969
969
  class: "options-close-btn",
970
970
  onClick: x
971
971
  }, null, 512), [
972
- [me, o.value && n.value === "loading"]
972
+ [ce, i.value && n.value === "loading"]
973
973
  ]),
974
974
  a("div", il, [
975
- n.value === "loading" ? (r(), A(M, {
975
+ n.value === "loading" ? (r(), b(M, {
976
976
  key: 0,
977
977
  type: "circle",
978
- percentage: i.value,
978
+ percentage: o.value,
979
979
  width: 96
980
- }, null, 8, ["percentage"])) : n.value === "success" ? (r(), A(F, {
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(), A(F, {
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, p(t.value), 1),
998
+ a("div", cl, m(t.value), 1),
999
999
  a("div", rl, [
1000
- o.value && n.value === "loading" ? (r(), A(P, {
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
- })) : z("", !0),
1009
- n.value !== "loading" ? (r(), A(P, {
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
- })) : z("", !0)
1018
+ })) : $("", !0)
1019
1019
  ])
1020
1020
  ])
1021
1021
  ], 512)), [
1022
- [me, s.value]
1022
+ [ce, s.value]
1023
1023
  ]);
1024
1024
  };
1025
1025
  }
1026
- }), dl = /* @__PURE__ */ L(ul, [["__scopeId", "data-v-8ddebb07"]]);
1027
- let pe = null;
1026
+ }), dl = /* @__PURE__ */ H(ul, [["__scopeId", "data-v-8ddebb07"]]);
1027
+ let ge = null;
1028
1028
  function oe() {
1029
- if (pe) return pe;
1029
+ if (ge) return ge;
1030
1030
  const e = document.createElement("div");
1031
- return document.body.appendChild(e), pe = De(dl).mount(e), pe;
1031
+ return document.body.appendChild(e), ge = De(dl).mount(e), ge;
1032
1032
  }
1033
- const Ro = {
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__ */ B({
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
- }), i = S(!1), n = ee("refContent"), o = new ResizeObserver(() => {
1066
- n.value && (l.lines === 1 ? i.value = n.value.scrollWidth > n.value.clientWidth : i.value = n.value.scrollHeight > n.value.clientHeight);
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 ne(() => {
1069
- n.value && o.observe(n.value);
1070
- }), ce(() => {
1071
- o.disconnect();
1068
+ return ee(() => {
1069
+ n.value && i.observe(n.value);
1070
+ }), re(() => {
1071
+ i.disconnect();
1072
1072
  }), (c, u) => {
1073
- const m = et;
1074
- return r(), g("div", vl, [
1073
+ const p = Me;
1074
+ return r(), f("div", vl, [
1075
1075
  a("div", pl, [
1076
- e.iconClass ? (r(), A(N, {
1076
+ e.iconClass ? (r(), b(N, {
1077
1077
  key: 0,
1078
1078
  icon: e.iconClass
1079
- }, null, 8, ["icon"])) : z("", !0)
1079
+ }, null, 8, ["icon"])) : $("", !0)
1080
1080
  ]),
1081
- e.content ? (r(), A(m, {
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: !i.value,
1086
+ disabled: !o.value,
1087
1087
  "show-after": 800
1088
1088
  }, {
1089
1089
  content: d(() => [
1090
- I(c.$slots, "tooltipContent")
1090
+ P(c.$slots, "tooltipContent")
1091
1091
  ]),
1092
1092
  default: d(() => [
1093
- a("div", K({
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
- I(c.$slots, "default", {}, () => [
1101
- k(p(e.content), 1)
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"])) : z("", !0)
1107
+ }, 8, ["content", "disabled"])) : $("", !0)
1108
1108
  ]);
1109
1109
  };
1110
1110
  }
1111
- }), Fo = /* @__PURE__ */ B({
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 (i, n) => {
1125
- const o = et, c = ns;
1126
- return e.tip ? (r(), g(R, { key: 0 }, [
1127
- e.confirm ? (r(), A(c, {
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(It(i.$attrs)), [
1135
- v(o, {
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(), A(o, {
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, K({
1160
+ v(N, Y({
1161
1161
  class: "icon-btn",
1162
1162
  icon: e.icon,
1163
1163
  onClick: Ee(t, ["stop"])
1164
- }, i.$attrs), null, 16, ["icon"])
1164
+ }, o.$attrs), null, 16, ["icon"])
1165
1165
  ]),
1166
1166
  _: 1
1167
1167
  }, 8, ["content"]))
1168
- ], 64)) : (r(), g(R, { key: 1 }, [
1169
- e.confirm ? (r(), A(c, {
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, K({
1176
+ v(N, Y({
1177
1177
  class: "icon-btn",
1178
1178
  icon: e.icon
1179
- }, i.$attrs), null, 16, ["icon"])
1179
+ }, o.$attrs), null, 16, ["icon"])
1180
1180
  ]),
1181
1181
  _: 1
1182
- }, 8, ["title"])) : (r(), A(N, K({
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
- }, i.$attrs), null, 16, ["icon"]))
1187
+ }, o.$attrs), null, 16, ["icon"]))
1188
1188
  ], 64));
1189
1189
  };
1190
1190
  }
1191
- }), ml = { class: "icon-label" }, rt = /* @__PURE__ */ B({
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(), g("div", ml, [
1197
+ return (l, s) => (r(), f("div", ml, [
1198
1198
  v(N, { icon: e.icon }, null, 8, ["icon"]),
1199
- I(l.$slots, "default")
1199
+ P(l.$slots, "default")
1200
1200
  ]));
1201
1201
  }
1202
- }), Uo = /* @__PURE__ */ B({
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, i) => (r(), g("span", {
1211
+ return (t, o) => (r(), f("span", {
1212
1212
  class: "external-link",
1213
1213
  onClick: Ee(s, ["prevent"])
1214
1214
  }, [
1215
- I(t.$slots, "default")
1215
+ P(t.$slots, "default")
1216
1216
  ]));
1217
1217
  }
1218
- }), gl = ["innerHTML"], qo = /* @__PURE__ */ B({
1218
+ }), gl = ["innerHTML"], No = /* @__PURE__ */ S({
1219
1219
  __name: "LogPrint",
1220
1220
  setup(e, { expose: l }) {
1221
- const s = S([]), t = ee("logBoxRef");
1222
- function i(o) {
1223
- s.value.push(`[${Jt()}] ${o}`), s.value.length > 500 && s.value.shift(), we(() => {
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: i,
1228
+ addLog: o,
1229
1229
  reset: () => {
1230
1230
  s.value = [];
1231
1231
  }
1232
- }), (o, c) => (r(), g("div", {
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), g(R, null, O(s.value, (u, m) => (r(), g("div", {
1238
- key: m,
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" }, Al = ["src"], bl = { 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" }, Pl = /* @__PURE__ */ B({
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": ut, "../../assets/images/user_level/level_2.svg": dt, "../../assets/images/user_level/level_3.svg": vt, "../../assets/images/user_level/level_4.svg": pt, "../../assets/images/user_level/level_5.svg": mt, "../../assets/images/user_level/level_6.svg": gt }))[`../../assets/images/user_level/level_${l.user.level}.svg`], import.meta.url).href);
1254
- return (i, n) => {
1255
- const o = ae;
1256
- return r(), g("div", fl, [
1257
- I(i.$slots, "default"),
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(), g("span", wl, "账号已封禁")) : z("", !0)
1264
+ e.user.silence === 1 ? (r(), f("span", wl, "账号已封禁")) : $("", !0)
1265
1265
  ]),
1266
1266
  a("div", yl, [
1267
1267
  a("div", kl, [
1268
- v(o, {
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, Al)
1276
+ }, null, 8, bl)
1277
1277
  ]),
1278
- a("div", bl, [
1278
+ a("div", Al, [
1279
1279
  n[0] || (n[0] = a("span", { class: "user-card__uid-icon" }, null, -1)),
1280
- a("span", Cl, p(e.user.mid), 1)
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, p(e.user.following), 1),
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, p(e.user.follower), 1),
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, p(e.user.coins), 1),
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
- }), Il = { 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__ */ B({
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(), g("div", Il, [
1309
- e.user.face ? (r(), g("img", {
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)) : z("", !0),
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, p(e.user.mid), 1)
1322
+ a("span", Tl, m(e.user.mid), 1)
1323
1323
  ])
1324
1324
  ])
1325
1325
  ]);
1326
1326
  };
1327
1327
  }
1328
- }), Oo = /* @__PURE__ */ L(Hl, [["__scopeId", "data-v-a22bf16f"]]), ft = /* @__PURE__ */ B({
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 = tt, i = as;
1336
- return !e.menu.children || e.menu.children.length === 0 ? (r(), A(t, {
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(p(e.menu.title), 1)
1341
+ k(m(e.menu.title), 1)
1342
1342
  ]),
1343
1343
  _: 1
1344
- }, 8, ["index"])) : (r(), A(i, {
1344
+ }, 8, ["index"])) : (r(), b(o, {
1345
1345
  key: 1,
1346
1346
  index: e.menu.path
1347
1347
  }, {
1348
1348
  title: d(() => [
1349
- k(p(e.menu.title), 1)
1349
+ k(m(e.menu.title), 1)
1350
1350
  ]),
1351
1351
  default: d(() => [
1352
- (r(!0), g(R, null, O(e.menu.children, (n) => (r(), A(ft, {
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
- }), Ll = /* @__PURE__ */ B({
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 = (f, w = /* @__PURE__ */ new Map()) => (f.forEach((_) => {
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), i = C(() => t(s.menus)), n = l, o = (f) => {
1372
- const w = i.value.get(f);
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 = Ne(), u = C(() => !!c["left-item"] || !!c.left), m = C(() => !!c["right-item"] || !!c.right);
1375
- return (f, w) => {
1376
- const _ = tt, b = os;
1377
- return r(), A(b, {
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: o
1382
+ onSelect: i
1383
1383
  }, {
1384
1384
  default: d(() => [
1385
- u.value ? I(f.$slots, "left-item", { key: 0 }, () => [
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
- I(f.$slots, "left", {}, void 0, !0)
1391
+ P(g.$slots, "left", {}, void 0, !0)
1392
1392
  ]),
1393
1393
  _: 3
1394
1394
  })
1395
- ], !0) : z("", !0),
1396
- (r(!0), g(R, null, O(e.menus, (x) => (r(), A(ft, {
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
- m.value ? I(f.$slots, "right-item", { key: 1 }, () => [
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
- I(f.$slots, "right", {}, void 0, !0)
1407
+ P(g.$slots, "right", {}, void 0, !0)
1408
1408
  ]),
1409
1409
  _: 3
1410
1410
  })
1411
- ], !0) : z("", !0)
1411
+ ], !0) : $("", !0)
1412
1412
  ]),
1413
1413
  _: 3
1414
1414
  }, 8, ["default-active"]);
1415
1415
  };
1416
1416
  }
1417
- }), Rl = /* @__PURE__ */ L(Ll, [["__scopeId", "data-v-6dfc7821"]]);
1417
+ }), Ll = /* @__PURE__ */ H(Rl, [["__scopeId", "data-v-6dfc7821"]]);
1418
1418
  new Ft();
1419
- var Se = /* @__PURE__ */ new Map(), _t = async (e, l) => {
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 _t(e, l);
1430
+ return Se.has(e.mid) ? Se.get(e.mid) : await ht(e, l);
1431
1431
  }, Ul = {
1432
- reset: _t,
1432
+ reset: ht,
1433
1433
  get: Fl
1434
- }, ql = () => {
1435
- }, Ol = /* @__PURE__ */ new Set(["then", "catch", "finally", "toJSON", "toString", "valueOf"]);
1436
- function ht(e, l = []) {
1437
- return new Proxy(ql, {
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 && Ol.has(t)))
1440
- return ht(e, l.concat(t));
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, i) {
1443
- let n, o, c;
1444
- if (i && i.length > 0)
1445
- for (const u of i)
1446
- typeof u == "object" && "signal" in u && u.signal instanceof AbortSignal && (n = u.signal, o = crypto.randomUUID(), u.signal = o, c = () => {
1447
- window.toolkitApi.bili.abortBiliApi(o);
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
- ...i
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 ht(await Ul.reset(e, l));
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
- }, jo = /* @__PURE__ */ B({
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 = Te(), { user: t } = Qt(s), i = C(() => t.value?.face || Be), n = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": ut, "../../assets/images/user_level/level_2.svg": dt, "../../assets/images/user_level/level_3.svg": vt, "../../assets/images/user_level/level_4.svg": pt, "../../assets/images/user_level/level_5.svg": mt, "../../assets/images/user_level/level_6.svg": gt }))[`../../assets/images/user_level/level_${t.value?.level ?? 0}.svg`], import.meta.url).href), o = async () => {
1480
- const f = await T.user.switchUser(!0);
1481
- s.setUser(f), await jl(f);
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, m = (f) => {
1485
- f && u("handleMenuSelect", f);
1484
+ }, u = l, p = (g) => {
1485
+ g && u("handleMenuSelect", g);
1486
1486
  };
1487
- return ne(async () => {
1487
+ return ee(async () => {
1488
1488
  if (t.value)
1489
1489
  try {
1490
- const f = await T.user.getMyInfoByCookie(t.value.userCookie);
1491
- s.setUser(f);
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
- }), (f, w) => {
1496
- const _ = Rl, b = ae, x = Pl, V = is, E = us, D = rs, M = cs;
1497
- return r(), g("div", Nl, [
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: m
1502
+ onHandleSelect: p
1503
1503
  }, null, 8, ["active-index", "menus"]),
1504
1504
  a("div", Zl, [
1505
- h(t) ? (r(), A(V, {
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: i.value,
1515
+ src: o.value,
1516
1516
  alt: "face"
1517
1517
  }, null, 8, Gl),
1518
- v(b, {
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(), g("div", Kl, [...w[0] || (w[0] = [
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(E, { onClick: o }, {
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(), A(E, {
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
- })) : z("", !0)
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(), g("div", Xl, [
1580
- I(e.$slots, "default", {}, void 0, !0)
1579
+ return r(), f("div", Xl, [
1580
+ P(e.$slots, "default", {}, void 0, !0)
1581
1581
  ]);
1582
1582
  }
1583
- const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392"]]), tn = { class: "page-table__toolbar" }, sn = { class: "page-table__actions" }, ln = /* @__PURE__ */ B({
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(), i = C(() => ({
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, ...de } = t;
1605
- return de;
1606
- }), o = e, c = S(!1), u = C(() => o.pageParams ? o.pageParams : {
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: o.pageSizes[0]
1608
+ pageSize: i.pageSizes[0]
1609
1609
  }), {
1610
- pageData: m,
1611
- tableData: f,
1610
+ pageData: p,
1611
+ tableData: g,
1612
1612
  loading: w,
1613
1613
  refresh: _,
1614
- resetAndRefresh: b,
1614
+ resetAndRefresh: A,
1615
1615
  resetPageAndRefresh: x,
1616
1616
  handleSizeChange: V,
1617
- handleCurrPageChange: E
1618
- } = it({
1619
- fetchPage: o.fetchPage,
1617
+ handleCurrPageChange: B
1618
+ } = ct({
1619
+ fetchPage: i.fetchPage,
1620
1620
  pageParams: () => u.value,
1621
- queryParams: o.queryParams ? () => o.queryParams : void 0,
1622
- autoLoad: o.autoLoad,
1621
+ queryParams: i.queryParams ? () => i.queryParams : void 0,
1622
+ autoLoad: i.autoLoad,
1623
1623
  onLoaded: () => {
1624
- c.value = !0, $.value?.setScrollTop(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 we(), await b();
1630
- }, { elementRef: P, height: y } = As("tableWrapperRef"), $ = ee("tableRef"), U = C(() => o.tableHeight ? o.tableHeight : y.value), se = C(() => ({
1631
- search: o.actions.includes("search"),
1632
- resetQuery: o.actions.includes("resetQuery")
1633
- })), le = C(() => o.pageSizes && o.pageSizes.length > 1 ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), ue = !!Ne().query;
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: f,
1638
- pageData: m,
1636
+ tableRef: z,
1637
+ tableData: g,
1638
+ pageData: p,
1639
1639
  refresh: _,
1640
- resetAndRefresh: b,
1640
+ resetAndRefresh: A,
1641
1641
  resetPageAndRefresh: x,
1642
- getSelectionRows: $.value?.getSelectionRows,
1643
- toggleRowSelection: $.value?.toggleRowSelection,
1644
- setCurrentRow: $.value?.setCurrentRow,
1645
- clearSelection: $.value?.clearSelection,
1646
- scrollTo: $.value?.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 de = W, bt = vs, Ct = st, xt = ds, Et = lt, Bt = Ie;
1649
- return J((r(), g("div", K({ class: "page-table" }, i.value), [
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: G(["page-table__query", ue ? "has-query" : ""])
1652
+ class: W(["page-table__query", ve ? "has-query" : ""])
1653
1653
  }, [
1654
- I(Q.$slots, "query", {}, void 0, !0),
1654
+ P(Q.$slots, "query", {}, void 0, !0),
1655
1655
  a("div", sn, [
1656
- I(Q.$slots, "actions", {}, void 0, !0),
1657
- se.value.search ? (r(), A(de, {
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(p(e.searchActionLabel), 1)
1663
+ k(m(e.searchActionLabel), 1)
1664
1664
  ]),
1665
1665
  _: 1
1666
- })) : z("", !0),
1667
- se.value.resetQuery ? (r(), A(de, {
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
- })) : z("", !0)
1675
+ })) : $("", !0)
1676
1676
  ])
1677
1677
  ], 2)
1678
1678
  ]),
1679
1679
  a("div", {
1680
1680
  ref_key: "tableWrapperRef",
1681
- ref: P,
1681
+ ref: I,
1682
1682
  class: "page-table__table-wrapper"
1683
1683
  }, [
1684
- c.value ? (r(), A(xt, K({
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(f),
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
- I(Q.$slots, "empty", {}, () => [
1698
- v(Ct, { description: "没有数据" })
1697
+ P(Q.$slots, "empty", {}, () => [
1698
+ v(xt, { description: "没有数据" })
1699
1699
  ], !0)
1700
1700
  ]),
1701
1701
  default: d(() => [
1702
- e.selectionMode === "multiple" ? (r(), A(bt, {
1702
+ e.selectionMode === "multiple" ? (r(), b(Ct, {
1703
1703
  key: 0,
1704
1704
  type: "selection",
1705
1705
  width: "55"
1706
- })) : z("", !0),
1707
- I(Q.$slots, "default", {}, void 0, !0)
1706
+ })) : $("", !0),
1707
+ P(Q.$slots, "default", {}, void 0, !0)
1708
1708
  ]),
1709
1709
  _: 3
1710
- }, 16, ["data", "height", "table-layout", "highlight-current-row"])) : z("", !0)
1710
+ }, 16, ["data", "height", "table-layout", "highlight-current-row"])) : $("", !0)
1711
1711
  ], 512),
1712
- v(Et, {
1712
+ v(Bt, {
1713
1713
  class: "page-table__pagination",
1714
- "current-page": h(m).pageNum,
1715
- "onUpdate:currentPage": j[0] || (j[0] = (ke) => h(m).pageNum = ke),
1716
- "page-size": h(m).pageSize,
1717
- "onUpdate:pageSize": j[1] || (j[1] = (ke) => h(m).pageSize = ke),
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(m).total,
1720
- layout: le.value,
1721
- onCurrentChange: h(E),
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
- [Bt, h(w)]
1725
+ [St, h(w)]
1726
1726
  ]);
1727
1727
  };
1728
1728
  }
1729
- }), Zo = /* @__PURE__ */ L(ln, [["__scopeId", "data-v-293a15d1"]]), je = "delete-confirm-dialog:delete-source-file", nn = /* @__PURE__ */ B({
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 = S(localStorage.getItem(je) === "true");
1741
- function i() {
1742
- localStorage.setItem(je, String(t.value));
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 o() {
1747
+ function i() {
1748
1748
  s("cancel");
1749
1749
  }
1750
1750
  return (c, u) => {
1751
- const m = ps, f = W, w = re;
1752
- return r(), A(w, {
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: o
1758
+ onClose: i
1759
1759
  }, {
1760
1760
  footer: d(() => [
1761
- v(f, { onClick: o }, {
1761
+ v(g, { onClick: i }, {
1762
1762
  default: d(() => [
1763
- k(p(e.cancelButtonText), 1)
1763
+ k(m(e.cancelButtonText), 1)
1764
1764
  ]),
1765
1765
  _: 1
1766
1766
  }),
1767
- v(f, {
1767
+ v(g, {
1768
1768
  type: "danger",
1769
1769
  onClick: n
1770
1770
  }, {
1771
1771
  default: d(() => [
1772
- k(p(e.confirmButtonText), 1)
1772
+ k(m(e.confirmButtonText), 1)
1773
1773
  ]),
1774
1774
  _: 1
1775
1775
  })
1776
1776
  ]),
1777
1777
  default: d(() => [
1778
- a("div", null, p(e.message), 1),
1779
- v(m, {
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: i
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
- }), wt = /* @__PURE__ */ B({
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(() => Ke[l.task.status]);
1821
- return (i, n) => {
1822
- const o = nt;
1823
- return r(), A(o, {
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(p(t.value), 1)
1829
+ k(m(t.value), 1)
1830
1830
  ]),
1831
1831
  _: 1
1832
1832
  }, 8, ["type"]);
1833
1833
  };
1834
1834
  }
1835
- }), yt = /* @__PURE__ */ B({
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 (i, n) => {
1852
- const o = Xe;
1853
- return r(), A(o, {
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__ */ B({
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(), g("div", {
1872
+ return (l, s) => (r(), f("div", {
1873
1873
  class: "download-progress-details",
1874
- style: xe({ gap: e.isCompact ? "10px" : "20px" })
1874
+ style: fe({ gap: e.isCompact ? "10px" : "20px" })
1875
1875
  }, [
1876
- e.task.progress ? (r(), g(R, { key: 0 }, [
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, p(h(an)(e.task.progress.speedKBps)), 1)
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, p(e.task.progress?.currentItem), 1),
1884
+ a("span", null, m(e.task.progress?.currentItem), 1),
1885
1885
  s[1] || (s[1] = a("span", null, " / ", -1)),
1886
- a("span", null, p(e.resourceCount), 1)
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, p(h($e)(e.task.progress.completedBytes)), 1),
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, p(h($e)(e.task.progress.totalBytes)), 1)
1894
+ a("span", null, m(h($e)(e.task.progress.totalBytes)), 1)
1895
1895
  ])
1896
1896
  ])
1897
- ], 64)) : z("", !0)
1897
+ ], 64)) : $("", !0)
1898
1898
  ], 4));
1899
1899
  }
1900
- }), kt = /* @__PURE__ */ L(pn, [["__scopeId", "data-v-1923a35f"]]), mn = { class: "download-result" }, gn = {
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__ */ B({
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(), g("div", mn, [
1913
+ return r(), f("div", mn, [
1914
1914
  s[0] || (s[0] = a("span", { class: "hint" }, "总共:", -1)),
1915
- e.task.result ? (r(), g("span", gn, [
1916
- a("span", null, p(h($e)(e.task.result.totalBytes)), 1)
1917
- ])) : z("", !0),
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, p(e.videoCount) + " 个视频", 1)
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, p(e.resourceCount) + " 个文件", 1)
1924
+ a("span", null, m(e.resourceCount) + " 个文件", 1)
1925
1925
  ])
1926
1926
  ]);
1927
1927
  };
1928
1928
  }
1929
- }), At = /* @__PURE__ */ L(hn, [["__scopeId", "data-v-a28b3695"]]), wn = { class: "video-stats-info" }, yn = { class: "value" }, kn = /* @__PURE__ */ B({
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 i = [];
1943
+ const o = [];
1944
1944
  for (const n of l.fields)
1945
- i.push({
1945
+ o.push({
1946
1946
  icon: s[n],
1947
1947
  value: ze(l.stat[n])
1948
1948
  });
1949
- return i;
1949
+ return o;
1950
1950
  });
1951
- return (i, n) => {
1952
- const o = N;
1953
- return r(), g("div", wn, [
1954
- (r(!0), g(R, null, O(t.value, (c) => (r(), g("div", {
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(o, {
1958
+ v(i, {
1959
1959
  icon: c.icon
1960
1960
  }, null, 8, ["icon"]),
1961
- a("span", yn, p(c.value), 1)
1961
+ a("span", yn, m(c.value), 1)
1962
1962
  ]))), 128))
1963
1963
  ]);
1964
1964
  };
1965
1965
  }
1966
- }), An = /* @__PURE__ */ L(kn, [["__scopeId", "data-v-f75c0017"]]), bn = /* @__PURE__ */ B({
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 (i, n) => {
1980
- const o = nt;
1981
- return r(), A(o, {
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(rt, {
1988
+ v(ut, {
1989
1989
  icon: t[e.type]
1990
1990
  }, {
1991
1991
  default: d(() => [
1992
- k(p(s.value), 1)
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__ */ B({
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), i = C(() => l.part.resources.find((n) => n.type === "video")?.source.videoCodec);
2008
- return (n, o) => {
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(), g("div", Cn, [
2010
+ return r(), f("div", Cn, [
2011
2011
  a("div", xn, [
2012
- a("div", null, p(e.part.snapshot.page) + "P", 1),
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(p(e.part.snapshot.part), 1)
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(), A(u, {
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(p(h(Ut)[s.value]), 1)
2029
+ k(m(h(Ut)[s.value]), 1)
2030
2030
  ]),
2031
2031
  _: 1
2032
- })) : z("", !0),
2033
- t.value ? (r(), A(u, {
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(p(h(qt)[t.value]), 1)
2039
+ k(m(h(Ot)[t.value]), 1)
2040
2040
  ]),
2041
2041
  _: 1
2042
- })) : z("", !0),
2043
- i.value ? (r(), A(u, {
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(p(h(Ot)[i.value]), 1)
2049
+ k(m(h(qt)[o.value]), 1)
2050
2050
  ]),
2051
2051
  _: 1
2052
- })) : z("", !0),
2053
- a("span", null, p(h(Pe)(e.part.snapshot.duration)), 1)
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__ */ L(Bn, [["__scopeId", "data-v-84c28695"]]), $n = (e) => {
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" }, Pn = { class: "info-left" }, In = { 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" }, Ln = { class: "info-row" }, Rn = { class: "user-info" }, Fn = ["src"], Un = { class: "user-name" }, qn = { class: "zone" }, On = { class: "pubdate" }, jn = { class: "info-row stats" }, Nn = { class: "bvid" }, Zn = { class: "info-row" }, Wn = { class: "part-list" }, Gn = /* @__PURE__ */ B({
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), i = C(() => {
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
- }, o = l;
2073
+ }, i = l;
2074
2074
  return (c, u) => {
2075
- const m = Ve, f = at, w = rt, _ = ae;
2076
- return r(), g("div", zn, [
2075
+ const p = Ve, g = ot, w = ut, _ = ae;
2076
+ return r(), f("div", zn, [
2077
2077
  a("div", Dn, [
2078
- a("div", Pn, [
2078
+ a("div", In, [
2079
2079
  a("div", {
2080
2080
  class: "cover",
2081
2081
  onClick: n
2082
2082
  }, [
2083
- a("div", In, [
2084
- v(f, {
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(m, null, {
2090
+ v(p, null, {
2091
2091
  default: d(() => [
2092
- v(h(ct))
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(p(h(ze)(t.value.stat.view)), 1)
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(p(h(ze)(t.value.stat.danmaku)), 1)
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, p(h(Pe)(t.value.duration)), 1)
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(p(t.value.title), 1)
2127
+ k(m(t.value.title), 1)
2128
2128
  ]),
2129
2129
  _: 1
2130
2130
  }, 8, ["content"])
2131
2131
  ]),
2132
- a("div", Ln, [
2133
- a("div", Rn, [
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, p(t.value.owner.name), 1)
2139
+ a("div", Un, m(t.value.owner.name), 1)
2140
2140
  ]),
2141
- a("div", qn, p(h($n)(t.value)), 1),
2142
- a("div", On, p(h(fe)(t.value.pubdate)), 1)
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, p(t.value.bvid), 1),
2146
- v(An, {
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), g(R, null, O(i.value, (b) => (r(), A(bn, {
2153
- key: b,
2154
- type: b
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), g(R, null, O(e.video.parts, (b, x) => (r(), A(Sn, {
2162
- key: b.snapshot.cid,
2163
- part: b,
2164
- onClick: (V) => o("open-folder", x)
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__ */ L(Gn, [["__scopeId", "data-v-48f910dd"]]), Kn = { class: "task-modal" }, Yn = {
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__ */ B({
2173
+ }, Xn = { key: 1 }, ea = { class: "video-list-container" }, ta = { class: "header" }, sa = /* @__PURE__ */ S({
2174
2174
  __name: "DownloadDetailsDialog",
2175
- props: /* @__PURE__ */ Y({
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 = he(e, "modelValue"), t = C(() => l.task?.videos.reduce((c, u) => c + u.parts.length, 0) ?? 0), i = C(() => l.task?.videos.reduce((c, u) => c + u.parts.reduce((m, f) => m + f.resources.length, 0), 0) ?? 0), n = ee("refVideoList");
2184
- X(
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 && we(() => {
2187
+ c && n.value && ue(() => {
2188
2188
  n.value?.scrollTo(0, 0);
2189
2189
  });
2190
2190
  }
2191
2191
  );
2192
- const o = async (c, u) => {
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 m = fs, f = gs, w = re;
2197
- return r(), g("div", Kn, [
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(), g("div", Yn, [
2214
- v(f, {
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(m, { label: "任务 ID" }, {
2219
+ v(p, { label: "任务 ID" }, {
2220
2220
  default: d(() => [
2221
- k(p(e.task.id), 1)
2221
+ k(m(e.task.id), 1)
2222
2222
  ]),
2223
2223
  _: 1
2224
2224
  }),
2225
- v(m, { label: "任务类型" }, {
2225
+ v(p, { label: "任务类型" }, {
2226
2226
  default: d(() => [
2227
- k(p(e.task.title), 1)
2227
+ k(m(e.task.title), 1)
2228
2228
  ]),
2229
2229
  _: 1
2230
2230
  }),
2231
- v(m, { label: "创建时间" }, {
2231
+ v(p, { label: "创建时间" }, {
2232
2232
  default: d(() => [
2233
- k(p(h(fe)(e.task.createdAt)), 1)
2233
+ k(m(h(he)(e.task.createdAt)), 1)
2234
2234
  ]),
2235
2235
  _: 1
2236
2236
  }),
2237
- v(m, { label: "更新时间" }, {
2237
+ v(p, { label: "更新时间" }, {
2238
2238
  default: d(() => [
2239
- k(p(e.task.updatedAt ? h(fe)(e.task.updatedAt) : "-"), 1)
2239
+ k(m(e.task.updatedAt ? h(he)(e.task.updatedAt) : "-"), 1)
2240
2240
  ]),
2241
2241
  _: 1
2242
2242
  }),
2243
- v(m, { label: "任务状态" }, {
2243
+ v(p, { label: "任务状态" }, {
2244
2244
  default: d(() => [
2245
- v(wt, { task: e.task }, null, 8, ["task"])
2245
+ v(yt, { task: e.task }, null, 8, ["task"])
2246
2246
  ]),
2247
2247
  _: 1
2248
2248
  }),
2249
- v(m, { label: "任务进度" }, {
2249
+ v(p, { label: "任务进度" }, {
2250
2250
  default: d(() => [
2251
- e.task.progress ? (r(), A(yt, {
2251
+ e.task.progress ? (r(), b(kt, {
2252
2252
  key: 0,
2253
2253
  task: e.task
2254
- }, null, 8, ["task"])) : (r(), g("span", Xn, "-"))
2254
+ }, null, 8, ["task"])) : (r(), f("span", Xn, "-"))
2255
2255
  ]),
2256
2256
  _: 1
2257
2257
  }),
2258
- e.task.progress ? (r(), A(m, {
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(kt, {
2264
+ v(bt, {
2265
2265
  task: e.task,
2266
- resourceCount: i.value
2266
+ resourceCount: o.value
2267
2267
  }, null, 8, ["task", "resourceCount"])
2268
2268
  ]),
2269
2269
  _: 1
2270
- })) : z("", !0),
2271
- e.task.result ? (r(), A(m, {
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: i.value
2280
+ resourceCount: o.value
2281
2281
  }, null, 8, ["task", "videoCount", "resourceCount"])
2282
2282
  ]),
2283
2283
  _: 1
2284
- })) : z("", !0),
2285
- e.task.error ? (r(), A(m, {
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(p(e.task.error), 1)
2292
+ k(m(e.task.error), 1)
2293
2293
  ]),
2294
2294
  _: 1
2295
- })) : z("", !0),
2296
- v(m, { label: "操作用户" }, {
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(" " + p(e.task.userCookie.uid), 1)
2302
+ k(" " + m(e.task.userCookie.uid), 1)
2303
2303
  ]),
2304
2304
  _: 1
2305
2305
  }),
2306
- I(c.$slots, "default", {}, void 0, !0)
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), g(R, null, O(e.task.videos, (_, b) => (r(), g("div", {
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, "#" + p(b + 1), 1)
2322
+ a("span", null, "#" + m(A + 1), 1)
2323
2323
  ]),
2324
2324
  v(Jn, {
2325
2325
  video: _,
2326
- onOpenFolder: (x) => o(b, x)
2326
+ onOpenFolder: (x) => i(A, x)
2327
2327
  }, null, 8, ["video", "onOpenFolder"])
2328
2328
  ]))), 128))
2329
2329
  ], 512)
2330
2330
  ])
2331
- ])) : z("", !0)
2331
+ ])) : $("", !0)
2332
2332
  ]),
2333
2333
  _: 3
2334
2334
  }, 8, ["modelValue"])
2335
2335
  ]);
2336
2336
  };
2337
2337
  }
2338
- }), la = /* @__PURE__ */ L(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__ */ B({
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((o, c) => o + c.parts.length, 0)), i = C(
2346
- () => l.task.videos.reduce((o, c) => o + c.parts.reduce((u, m) => u + m.resources.length, 0), 0)
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((o, c) => o + c.parts.reduce((u, m) => u + m.snapshot.duration, 0), 0)
2348
+ () => l.task.videos.reduce((i, c) => i + c.parts.reduce((u, p) => u + p.snapshot.duration, 0), 0)
2349
2349
  );
2350
- return (o, c) => {
2351
- const u = Ve, m = at, f = ae, w = W;
2352
- return r(), g("div", na, [
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(m, {
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(ct))
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, p(h(Pe)(n.value)), 1)
2373
+ a("span", ra, m(h(Ie)(n.value)), 1)
2374
2374
  ])
2375
2375
  ]),
2376
- a("span", ua, p(h(fe)(e.task.createdAt)), 1)
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(f, {
2380
+ v(g, {
2381
2381
  class: "title",
2382
2382
  content: e.task.title
2383
2383
  }, {
2384
2384
  default: d(() => [
2385
- k(p(e.task.title), 1)
2385
+ k(m(e.task.title), 1)
2386
2386
  ]),
2387
2387
  _: 1
2388
2388
  }, 8, ["content"]),
2389
- v(wt, { task: e.task }, null, 8, ["task"]),
2390
- I(o.$slots, "titleExtra", { task: e.task }, void 0, !0)
2389
+ v(yt, { task: e.task }, null, 8, ["task"]),
2390
+ P(i.$slots, "titleExtra", { task: e.task }, void 0, !0)
2391
2391
  ]),
2392
- v(yt, { task: e.task }, null, 8, ["task"]),
2393
- v(kt, {
2392
+ v(kt, { task: e.task }, null, 8, ["task"]),
2393
+ v(bt, {
2394
2394
  task: e.task,
2395
- resourceCount: i.value
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: i.value
2400
+ resourceCount: o.value
2401
2401
  }, null, 8, ["task", "videoCount", "resourceCount"]),
2402
- e.task.error ? (r(), A(f, {
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(p(e.task.error), 1)
2408
+ k(m(e.task.error), 1)
2409
2409
  ]),
2410
2410
  _: 1
2411
- }, 8, ["content"])) : z("", !0),
2411
+ }, 8, ["content"])) : $("", !0),
2412
2412
  a("div", pa, [
2413
2413
  v(w, {
2414
2414
  size: "small",
2415
- onClick: c[0] || (c[0] = (_) => o.$emit("action", "show-details", e.task))
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] = (_) => o.$emit("action", "open-folder", e.task))
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(), A(w, {
2431
+ e.task.status === "downloading" ? (r(), b(w, {
2432
2432
  key: 0,
2433
2433
  size: "small",
2434
- onClick: c[2] || (c[2] = (_) => o.$emit("action", "pause", e.task))
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
- })) : z("", !0),
2441
- e.task.status === "paused" || e.task.status === "pending" ? (r(), A(w, {
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] = (_) => o.$emit("action", "cancel", e.task))
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
- })) : z("", !0),
2451
- e.task.status === "paused" ? (r(), A(w, {
2450
+ })) : $("", !0),
2451
+ e.task.status === "paused" ? (r(), b(w, {
2452
2452
  key: 2,
2453
2453
  size: "small",
2454
- onClick: c[4] || (c[4] = (_) => o.$emit("action", "resume", e.task))
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
- })) : z("", !0),
2460
+ })) : $("", !0),
2461
2461
  v(w, {
2462
2462
  size: "small",
2463
- onClick: c[5] || (c[5] = (_) => o.$emit("action", "delete", e.task))
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__ */ L(ma, [["__scopeId", "data-v-71192ed6"]]);
2475
+ }), ga = /* @__PURE__ */ H(ma, [["__scopeId", "data-v-71192ed6"]]);
2476
2476
  function fa(e) {
2477
2477
  return new Promise((l, s) => {
2478
- const t = S(!0), i = document.createElement("div");
2479
- document.body.appendChild(i);
2478
+ const t = E(!0), o = document.createElement("div");
2479
+ document.body.appendChild(o);
2480
2480
  let n = null;
2481
- function o() {
2481
+ function i() {
2482
2482
  setTimeout(() => {
2483
- n?.unmount(), i.remove();
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
- }), o();
2494
+ }), i();
2495
2495
  },
2496
2496
  onCancel() {
2497
- t.value = !1, s(Je()), o();
2497
+ t.value = !1, s(Ye()), i();
2498
2498
  }
2499
2499
  });
2500
2500
  }
2501
- }), n?.mount(i);
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), te("暂停任务成功");
2507
+ await T.download.pause(e.id), se("暂停任务成功");
2508
2508
  }, wa = async (e) => {
2509
- await T.download.resume(e.id), te("正在继续下载");
2509
+ await T.download.resume(e.id), se("正在继续下载");
2510
2510
  }, ya = async (e) => {
2511
- await T.download.cancel(e.id), te("取消任务成功");
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
- }, Aa = { class: "header" }, ba = { class: "query-list" }, Ca = { class: "actions" }, xa = { class: "download-list-container" }, Ea = /* @__PURE__ */ B({
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 = ee("refList"), i = S({
2526
+ const s = e, t = te("refList"), o = E({
2527
2527
  pageNum: 1,
2528
2528
  pageSize: s.pageSizes[0]
2529
- }), n = S("all"), o = S({
2529
+ }), n = E("all"), i = E({
2530
2530
  status: void 0,
2531
2531
  title: ""
2532
2532
  }), c = () => {
2533
- n.value === "all" ? o.value.status = void 0 : o.value.status = n.value, _();
2533
+ n.value === "all" ? i.value.status = void 0 : i.value.status = n.value, _();
2534
2534
  }, {
2535
2535
  pageData: u,
2536
- tableData: m,
2537
- loading: f,
2536
+ tableData: p,
2537
+ loading: g,
2538
2538
  refresh: w,
2539
2539
  resetAndRefresh: _,
2540
- resetPageAndRefresh: b,
2540
+ resetPageAndRefresh: A,
2541
2541
  handleSizeChange: x,
2542
2542
  handleCurrPageChange: V
2543
- } = it({
2543
+ } = ct({
2544
2544
  fetchPage: T.download.fetchPage,
2545
- pageParams: () => i.value,
2546
- queryParams: () => o.value,
2545
+ pageParams: () => o.value,
2546
+ queryParams: () => i.value,
2547
2547
  autoLoad: !0,
2548
2548
  onLoaded: () => {
2549
- we(() => t.value?.scrollTo(0, 0));
2549
+ ue(() => t.value?.scrollTo(0, 0));
2550
2550
  }
2551
- }), E = S({
2551
+ }), B = E({
2552
2552
  visible: !1
2553
- }), D = async (P, y) => {
2554
- switch (P) {
2553
+ }), D = async (I, y) => {
2554
+ switch (I) {
2555
2555
  case "show-details":
2556
- E.value.task = y, E.value.visible = !0;
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 $ = m.value.findIndex((U) => U.id === y.id);
2573
- $ > -1 && m.value.splice($, 1), m.value.length < 1 && await b(), te("删除任务成功");
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
- ne(async () => {
2579
- M = await T.download.onUpdated((P) => {
2580
- for (let y = 0; y < m.value.length; y++) {
2581
- const $ = m.value[y];
2582
- if ($.id === P.id) {
2583
- n.value === "all" || $.status === P.status ? Object.assign($, P) : m.value.splice(y, 1);
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
- }), ce(() => {
2588
+ }), re(() => {
2589
2589
  M?.();
2590
2590
  });
2591
- const F = C(() => o.value.status ? `暂无${Ke[o.value.status]}的任务` : "暂无下载任务");
2591
+ const F = C(() => i.value.status ? `暂无${Xe[i.value.status]}的任务` : "暂无下载任务");
2592
2592
  return l({
2593
2593
  refresh: w,
2594
2594
  resetAndRefresh: _
2595
- }), (P, y) => {
2596
- const $ = hs, U = _s, se = Ye, le = W, q = st, ue = lt;
2597
- return r(), g(R, null, [
2598
- a("div", Aa, [
2599
- a("div", ba, [
2600
- I(P.$slots, "queryList", {}, () => [
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(se, {
2632
- modelValue: o.value.title,
2633
- "onUpdate:modelValue": y[1] || (y[1] = (Q) => o.value.title = Q),
2634
- onChange: h(b),
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(P.$slots, "actions", {}, void 0, !0),
2644
- e.showDefaultActions ? (r(), g(R, { key: 0 }, [
2645
- v(le, {
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(le, {
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)) : z("", !0)
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), g(R, null, O(h(m), (Q) => (r(), A(ga, {
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(P.$slots, "itemTitleExtra", K({ ref_for: !0 }, j), void 0, !0)
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(m).length ? z("", !0) : (r(), A(q, {
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(ue, {
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: E.value.visible,
2702
- "onUpdate:modelValue": y[6] || (y[6] = (Q) => E.value.visible = Q),
2703
- task: E.value.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
- E.value.task ? I(P.$slots, "detailsDialog", {
2706
+ B.value.task ? P(I.$slots, "detailsDialog", {
2707
2707
  key: 0,
2708
- task: E.value.task
2709
- }, void 0, !0) : z("", !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
- }), Wo = /* @__PURE__ */ L(Ea, [["__scopeId", "data-v-19b20db4"]]);
2717
- function Go(e) {
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 Jo = (e) => {
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__ */ B({
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(), g("div", Ba, [
2730
- a("span", Sa, p(e.label), 1),
2731
- a("span", $a, p(e.value), 1)
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
- }), Ko = /* @__PURE__ */ L(za, [["__scopeId", "data-v-be2d6a5f"]]), Da = { class: "el-input-group__prepend prefix" }, Yo = /* @__PURE__ */ B({
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(), g("div", {
2742
- class: G(["el-input el-input-group el-input-group--append el-input-group--prepend app-query-form-item", e.small ? "el-input--small" : ""])
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, p(e.prefix), 1),
2745
- I(l.$slots, "default")
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
- Pl as BiliUserCard,
2753
- Oo as BiliUserInfo,
2754
- To as CountdownDialog,
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
- Wo as DownloadManagePage,
2759
- yt as DownloadProgress,
2760
- kt as DownloadProgressDetails,
2761
- bn as DownloadResourceTag,
2823
+ Ko as DownloadManagePage,
2824
+ kt as DownloadProgress,
2825
+ bt as DownloadProgressDetails,
2826
+ An as DownloadResourceTag,
2762
2827
  At as DownloadResult,
2763
- wt as DownloadStatus,
2828
+ yt as DownloadStatus,
2764
2829
  Jn as DownloadVideoCard,
2765
2830
  Sn as DownloadVideoPartCard,
2766
- Uo as ExternalLink,
2767
- Fo as IconButton,
2768
- rt as IconLabel,
2769
- Ko as KeyValueTag,
2831
+ jo as ExternalLink,
2832
+ qo as IconButton,
2833
+ ut as IconLabel,
2834
+ ei as KeyValueTag,
2770
2835
  Ss as LoadingDialog,
2771
- qo as LogPrint,
2836
+ No as LogPrint,
2837
+ si as OverflowText,
2772
2838
  Xs as PageRangeDialog,
2773
- Zo as PageTable,
2774
- ft as PluginMenuItem,
2775
- Rl as PluginMenus,
2776
- No as PluginPageContent,
2777
- jo as PluginPageHeader,
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
- Yo as QueryFormItem,
2845
+ ti as QueryFormItem,
2780
2846
  Ns as SelectDialog,
2781
- Mo as SettingGroup,
2782
- Qo as SettingItem,
2783
- An as VideoStatsInfo,
2784
- Me as baseUpdateThemeColor,
2785
- Ue as blackColor,
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
- Go as getUserAvatarThumbnail,
2855
+ Yo as getUserAvatarThumbnail,
2790
2856
  ya as handleCancel,
2791
2857
  ka as handleDelete,
2792
- So as handleError,
2858
+ Do as handleError,
2793
2859
  _a as handleOpenFolder,
2794
- Jo as handleOpenSpace,
2860
+ Xo as handleOpenSpace,
2795
2861
  ha as handlePause,
2796
2862
  wa as handleResume,
2797
- bo as initAppTheme,
2798
- Bo as initBilitoolkitUi,
2863
+ Eo as initAppTheme,
2864
+ zo as initBilitoolkitUi,
2799
2865
  Ae as initTransparentColors,
2800
- Qe as isDarkTheme,
2801
- Oe as loadingDialog,
2866
+ Te as isDarkTheme,
2867
+ je as loadingDialog,
2802
2868
  $n as parseVideoZoneLabel,
2803
- Ro as processDialog,
2869
+ Oo as processDialog,
2804
2870
  ks as showConfirm,
2805
- zo as showConfirmSequence,
2871
+ Po as showConfirmSequence,
2806
2872
  fa as showDeleteConfirmDialog,
2807
2873
  ie as showError,
2808
- Lo as showPageRangeDialog,
2809
- Ho as showSelectDialog,
2810
- te as showToast,
2811
- $o as showWarning,
2812
- Co as switchDefaultTheme,
2813
- xo as switchThemeMode,
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
- _e as updateAppTheme,
2816
- Eo as updatePrimaryColor,
2817
- ye as useAppThemeStore,
2818
- Do as useAutoRefreshData,
2881
+ we as updateAppTheme,
2882
+ $o as updatePrimaryColor,
2883
+ ke as useAppThemeStore,
2884
+ Vo as useAutoRefreshData,
2819
2885
  Hs as useCountdown,
2820
- As as useElementHeight,
2821
- Io as useElementScrollbar,
2822
- He as useLoadingData,
2823
- Vo as useLoadingTask,
2824
- it as usePageTable,
2825
- Po as useSelectData,
2826
- Te as useSelectedUserStore,
2827
- Fe as whiteColor
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
  };