bilitoolkit-ui 0.0.4 → 0.0.5

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 F, ref as B, onMounted as le, onUnmounted as re, computed as x, toValue as Z, shallowRef as tt, defineComponent as k, openBlock as i, createElementBlock as p, createElementVNode as c, toDisplayString as h, renderSlot as C, normalizeClass as G, createVNode as g, createCommentVNode as D, useModel as ue, createBlock as b, withCtx as d, unref as w, createTextVNode as H, mergeModels as j, useTemplateRef as X, withDirectives as K, Fragment as O, renderList as ee, normalizeStyle as Qe, toRaw as lt, render as te, vShow as Pe, nextTick as Ae, useCssVars as st, mergeProps as J, normalizeProps as nt, guardReactiveProps as at, withModifiers as he, useSlots as Ve, useAttrs as ot } from "vue";
2
- import { defineStore as Te, storeToRefs as ct } from "pinia";
3
- import { defaultAppThemeState as $e, APP_THEME_STATE as ze, UI_DB_KEYS as Ie } from "./common.js";
4
- import { setupToolkitApi as it } from "bilitoolkit-runtime";
5
- import ye from "lodash-es/cloneDeep";
1
+ import { reactive as fe, watch as Z, ref as y, onMounted as te, onUnmounted as ue, computed as k, toValue as Y, shallowRef as lt, useTemplateRef as le, defineComponent as S, openBlock as i, createElementBlock as g, createElementVNode as c, toDisplayString as A, renderSlot as I, normalizeClass as W, createVNode as f, createCommentVNode as Q, useModel as Ae, createBlock as b, withCtx as d, unref as B, createTextVNode as M, mergeModels as J, withDirectives as F, Fragment as O, renderList as ee, normalizeStyle as Se, toRaw as st, render as ce, vShow as ie, createApp as De, useCssVars as nt, mergeProps as G, normalizeProps as at, guardReactiveProps as ot, withModifiers as he, nextTick as He, useSlots as Ve, useAttrs as ct } from "vue";
2
+ import { defineStore as $e, storeToRefs as it } from "pinia";
3
+ import { defaultAppThemeState as Te, APP_THEME_STATE as ze, UI_DB_KEYS as Ie } from "./common.js";
4
+ import { setupToolkitApi as rt } from "bilitoolkit-runtime";
5
+ import Le 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 rt, ElMessage as ut } from "element-plus";
11
- import { BiliApiBusinessError as dt } from "@ybgnb/bili-api";
12
- import { isCanceledError as vt, getErrorMessage as pt, createAbortError as gt, serializeError as mt, getFormattedDateTime as ft } from "@ybgnb/utils";
13
- import { AppError as ht } from "bilitoolkit-types";
14
- import { ElDialog as we, ElButton as de, ElLoadingDirective as xe, ElRow as _t, ElCol as At, ElInput as yt, ElTooltip as Le, ElPopconfirm as wt, ElMenuItem as Re, ElSubMenu as xt, ElMenu as bt, ElPopover as Et, ElDropdown as Ct, ElDropdownMenu as Bt, ElDropdownItem as kt, ElTable as St, ElTableColumn as Qt, ElEmpty as Pt, ElPagination as zt } from "element-plus/es";
10
+ import { ElMessageBox as ut, ElMessage as dt } from "element-plus";
11
+ import { BiliApiBusinessError as vt } from "@ybgnb/bili-api";
12
+ import { isCanceledError as pt, getErrorMessage as gt, createAbortError as mt, serializeError as ft, getFormattedDateTime as ht } from "@ybgnb/utils";
13
+ import { AppError as _t } from "bilitoolkit-types";
14
+ import { ElDialog as we, ElButton as se, ElLoadingDirective as ye, ElRow as At, ElCol as wt, ElInput as yt, ElProgress as bt, ElIcon as xt, ElTooltip as Re, ElPopconfirm as Ct, ElMenuItem as qe, ElSubMenu as Et, ElMenu as Bt, ElPopover as kt, ElDropdown as St, ElDropdownMenu as zt, ElDropdownItem as It, ElTable as Pt, ElTableColumn as Qt, ElEmpty as Mt, ElPagination as Dt } from "element-plus/es";
15
15
  import "element-plus/es/components/base/style/css";
16
16
  import "element-plus/es/components/dialog/style/css";
17
17
  import "element-plus/es/components/button/style/css";
@@ -19,6 +19,8 @@ import "element-plus/es/components/loading/style/css";
19
19
  import "element-plus/es/components/row/style/css";
20
20
  import "element-plus/es/components/col/style/css";
21
21
  import "element-plus/es/components/input/style/css";
22
+ import "element-plus/es/components/icon/style/css";
23
+ import "element-plus/es/components/progress/style/css";
22
24
  import "element-plus/es/components/tooltip/style/css";
23
25
  import "element-plus/es/components/popconfirm/style/css";
24
26
  import "element-plus/es/components/sub-menu/style/css";
@@ -32,15 +34,15 @@ import "element-plus/es/components/pagination/style/css";
32
34
  import "element-plus/es/components/table/style/css";
33
35
  import "element-plus/es/components/empty/style/css";
34
36
  import "element-plus/es/components/table-column/style/css";
35
- const R = it();
36
- var E = (e, n, t, l = "srgb", a) => `color-mix(in ${l}, ${e} ${t}%, ${n} ${100 - t}%)`, qe = (e) => {
37
+ const R = rt();
38
+ var z = (e, n, t, l = "srgb", a) => `color-mix(in ${l}, ${e} ${t}%, ${n} ${100 - t}%)`, Ue = (e) => {
37
39
  let n = parseInt(e.slice(1, 3), 16), t = parseInt(e.slice(3, 5), 16), l = parseInt(e.slice(5, 7), 16);
38
40
  return { r: n, g: t, b: l };
39
- }, It = (e, n) => {
41
+ }, Ht = (e, n) => {
40
42
  document.documentElement.style.setProperty(e, n);
41
43
  };
42
- const Me = "#ffffff", De = "#000000", me = (e, n, t) => {
43
- const { r: l, g: a, b: s } = qe(e);
44
+ const Pe = "#ffffff", Qe = "#000000", ge = (e, n, t) => {
45
+ const { r: l, g: a, b: s } = Ue(e);
44
46
  for (let o = 2; o < 100; ) {
45
47
  const r = o / 100;
46
48
  n[`${t}-transparent-${o}`] = `rgba(${l}, ${a}, ${s}, ${r})`, o >= 10 ? o += 5 : o++;
@@ -48,39 +50,39 @@ const Me = "#ffffff", De = "#000000", me = (e, n, t) => {
48
50
  }, be = (e, n, t) => {
49
51
  const l = {};
50
52
  t ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
51
- const a = l["--app-color-foreground"] = t ? Me : De, s = l["--app-color-background"] = t ? De : Me;
52
- l["--app-primary-color"] = e, l["--el-color-primary"] = e, l["--el-color-primary-light-1"] = E(e, s, 90), l["--el-color-primary-light-2"] = E(e, s, 80), l["--el-color-primary-light-3"] = E(e, s, 70), l["--el-color-primary-light-4"] = E(e, s, 60), l["--el-color-primary-light-5"] = E(e, s, 50), l["--el-color-primary-light-6"] = E(e, s, 40), l["--el-color-primary-light-7"] = E(e, s, 30), l["--el-color-primary-light-8"] = E(e, s, 20), l["--el-color-primary-light-9"] = E(e, s, 12), l["--el-color-primary-dark-1"] = E(e, a, 90), l["--el-color-primary-dark-2"] = E(e, a, 80), l["--el-color-primary-dark-3"] = E(e, a, 70), l["--el-color-primary-dark-4"] = E(e, a, 60), l["--el-color-primary-dark-5"] = E(e, a, 50), l["--el-color-primary-dark-6"] = E(e, a, 40), l["--el-color-primary-dark-7"] = E(e, a, 30), l["--el-color-primary-dark-8"] = E(e, a, 20), l["--el-color-primary-dark-9"] = E(e, a, 12);
53
- const { r: o, g: r, b: u } = qe(e);
54
- l["--app-bg-color-overlay"] = `rgba(${o}, ${r}, ${u}, 0.05)`, l["--app-bg-color-overlay-hover"] = `rgba(${o}, ${r}, ${u}, 0.15)`, l["--app-bg-color-page"] = t ? "var(--el-fill-color-blank)" : "transparent", l["--app-bg-color-menus"] = "var(--app-bg-color-page)", t ? l["--app-text-shadow"] = " 0px 1px 2px rgba(255, 255, 255, .4)" : l["--app-text-shadow"] = " 0px 1px 2px rgba(0, 0, 0, .4)", me(e, l, "--app-color-primary"), me(s, l, "--app-color-background"), me(a, l, "--app-color-foreground");
53
+ const a = l["--app-color-foreground"] = t ? Pe : Qe, s = l["--app-color-background"] = t ? Qe : Pe;
54
+ l["--app-primary-color"] = e, l["--el-color-primary"] = e, l["--el-color-primary-light-1"] = z(e, s, 90), l["--el-color-primary-light-2"] = z(e, s, 80), l["--el-color-primary-light-3"] = z(e, s, 70), l["--el-color-primary-light-4"] = z(e, s, 60), l["--el-color-primary-light-5"] = z(e, s, 50), l["--el-color-primary-light-6"] = z(e, s, 40), l["--el-color-primary-light-7"] = z(e, s, 30), l["--el-color-primary-light-8"] = z(e, s, 20), l["--el-color-primary-light-9"] = z(e, s, 12), l["--el-color-primary-dark-1"] = z(e, a, 90), l["--el-color-primary-dark-2"] = z(e, a, 80), l["--el-color-primary-dark-3"] = z(e, a, 70), l["--el-color-primary-dark-4"] = z(e, a, 60), l["--el-color-primary-dark-5"] = z(e, a, 50), l["--el-color-primary-dark-6"] = z(e, a, 40), l["--el-color-primary-dark-7"] = z(e, a, 30), l["--el-color-primary-dark-8"] = z(e, a, 20), l["--el-color-primary-dark-9"] = z(e, a, 12);
55
+ const { r: o, g: r, b: u } = Ue(e);
56
+ l["--app-bg-color-overlay"] = `rgba(${o}, ${r}, ${u}, 0.05)`, l["--app-bg-color-overlay-hover"] = `rgba(${o}, ${r}, ${u}, 0.15)`, l["--app-bg-color-page"] = t ? "var(--el-fill-color-blank)" : "transparent", l["--app-bg-color-menus"] = "var(--app-bg-color-page)", t ? l["--app-text-shadow"] = " 0px 1px 2px rgba(255, 255, 255, .4)" : l["--app-text-shadow"] = " 0px 1px 2px rgba(0, 0, 0, .4)", ge(e, l, "--app-color-primary"), ge(s, l, "--app-color-background"), ge(a, l, "--app-color-foreground");
55
57
  for (const v in l)
56
- It(v, l[v]);
57
- }, Ee = async (e) => {
58
+ Ht(v, l[v]);
59
+ }, xe = async (e) => {
58
60
  const n = e ?? (await R.system.getAppThemeState()).themeMode;
59
61
  return n === "system" ? await R.system.shouldUseDarkColors() : n === "dark";
60
- }, ie = async (e) => {
61
- const n = e ?? await R.system.getAppThemeState(), t = await Ee(n.themeMode);
62
+ }, re = async (e) => {
63
+ const n = e ?? await R.system.getAppThemeState(), t = await xe(n.themeMode);
62
64
  be(n.primaryColor, n.themeMode, t);
63
- }, Ms = async () => {
64
- await ie(void 0);
65
- }, Ds = async () => {
66
- await ie($e);
67
- }, Hs = async (e) => {
68
- const t = ve().state, l = await Ee(e);
65
+ }, Ks = async () => {
66
+ await re(void 0);
67
+ }, Ys = async () => {
68
+ await re(Te);
69
+ }, Xs = async (e) => {
70
+ const t = de().state, l = await xe(e);
69
71
  t.dark = l, t.themeMode = e, be(t.primaryColor, e, l);
70
- }, Vs = async (e) => {
71
- const t = ve().state, l = await Ee(t.themeMode);
72
+ }, en = async (e) => {
73
+ const t = de().state, l = await xe(t.themeMode);
72
74
  t.primaryColor = e, be(e, t.themeMode, l);
73
- }, ve = Te(
75
+ }, de = $e(
74
76
  "biliToolkit-ui-theme",
75
77
  () => {
76
- const e = ce($e);
78
+ const e = fe(Te);
77
79
  let n = !1;
78
80
  const t = async (s, o) => {
79
81
  const r = await window.toolkitApi.system.getAppThemeState();
80
- Object.assign(e, r), await ie(r), s && o && (n = !0, F(
82
+ Object.assign(e, r), await re(r), s && o && (n = !0, Z(
81
83
  () => e,
82
84
  (u) => {
83
- const v = ye(u);
85
+ const v = Le(u);
84
86
  window.toolkitApi.db.write(s, v).then(async () => {
85
87
  await window.toolkitApi.event.emit(o, v);
86
88
  });
@@ -89,7 +91,7 @@ const Me = "#ffffff", De = "#000000", me = (e, n, t) => {
89
91
  ));
90
92
  };
91
93
  window.toolkitApi.event.onUpdateAppTheme((s) => {
92
- n || Object.assign(e, s), ie(s).then();
94
+ n || Object.assign(e, s), re(s).then();
93
95
  }).catch();
94
96
  const l = (s) => (e.primaryColor = s, e.primaryColor);
95
97
  return { init: t, state: e, switchThemeColor: () => {
@@ -103,47 +105,50 @@ const Me = "#ffffff", De = "#000000", me = (e, n, t) => {
103
105
  persist: !1
104
106
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
105
107
  }
106
- ), Ue = Te("biliToolkit-ui-selected-user", () => {
107
- const e = B(null), n = async () => {
108
+ ), je = $e("biliToolkit-ui-selected-user", () => {
109
+ const e = y(null), n = async () => {
108
110
  try {
109
111
  e.value = (await window.toolkitApi.db.init(Ie.UI_SELECTED_USER))?.user ?? null;
110
112
  } catch {
111
113
  }
112
114
  };
113
- return F(
115
+ return Z(
114
116
  () => e.value,
115
- async (a) => {
117
+ async (s) => {
116
118
  await window.toolkitApi.db.write(Ie.UI_SELECTED_USER, {
117
- user: a != null ? ye(a) : null
119
+ user: s != null ? Le(s) : null
118
120
  });
119
121
  },
120
122
  { deep: !0 }
121
123
  ), { init: n, user: e, deleteUser: () => {
122
124
  e.value = null;
123
- }, setUser: (a) => {
124
- e.value = a;
125
+ }, setUser: (s) => {
126
+ e.value = s;
127
+ }, assertLoggedIn: () => {
128
+ if (e.value == null)
129
+ throw new Error("请先登录");
125
130
  } };
126
- }), Ts = async (e, n) => (Promise.resolve({ }), Promise.resolve({ }), Promise.resolve({ }), await ve(e).init(n?.appThemeDBName, n?.appThemeUpdateEvent), await Ue(e).init(), {
131
+ }), tn = async (e, n) => (Promise.resolve({ }), Promise.resolve({ }), Promise.resolve({ }), await de(e).init(n?.appThemeDBName, n?.appThemeUpdateEvent), await je(e).init(), {
127
132
  install(t) {
128
133
  }
129
134
  });
130
- function Mt(e) {
135
+ function Vt(e) {
131
136
  R.system.saveLog({
132
137
  level: "error",
133
- data: [JSON.stringify(mt(e))]
138
+ data: [JSON.stringify(ft(e))]
134
139
  }).catch();
135
140
  }
136
- function He(e, n) {
141
+ function Me(e, n) {
137
142
  return e == null ? !1 : e instanceof n || typeof e == "object" && "name" in e && e.name === n.name;
138
143
  }
139
- const $s = (e) => {
140
- if (!vt(e))
144
+ const ln = (e) => {
145
+ if (!pt(e))
141
146
  if (e) {
142
147
  console.error(e);
143
148
  const n = () => {
144
- R && R.system && Mt(e);
149
+ R && R.system && Vt(e);
145
150
  };
146
- He(e, ht) ? Y(`${e.message}`) : He(e, dt) ? (Y(`${e.message} (${e.responseCode})`), n()) : (Y(pt(e)), n());
151
+ Me(e, _t) ? X(`${e.message}`) : Me(e, vt) ? (X(`${e.message} (${e.responseCode})`), n()) : (X(gt(e)), n());
147
152
  } else
148
153
  Ce({
149
154
  message: "未知错误",
@@ -156,23 +161,23 @@ function Ce(e) {
156
161
  type: "success",
157
162
  duration: 3e3
158
163
  };
159
- typeof e == "string" ? n.message = e : Object.assign(n, e), ut(n);
164
+ typeof e == "string" ? n.message = e : Object.assign(n, e), dt(n);
160
165
  }
161
- function Y(e) {
166
+ function X(e) {
162
167
  Ce({
163
168
  message: e,
164
169
  type: "error"
165
170
  });
166
171
  }
167
- function Ls(e) {
172
+ function sn(e) {
168
173
  Ce({
169
174
  message: e,
170
175
  type: "warning"
171
176
  });
172
177
  }
173
- function Dt(e, n = "提示", t = {}) {
178
+ function $t(e, n = "提示", t = {}) {
174
179
  return new Promise((l, a) => {
175
- rt.confirm(
180
+ ut.confirm(
176
181
  e,
177
182
  n,
178
183
  Object.assign(
@@ -188,18 +193,18 @@ function Dt(e, n = "提示", t = {}) {
188
193
  ).then(() => {
189
194
  l();
190
195
  }).catch(() => {
191
- a(gt());
196
+ a(mt());
192
197
  });
193
198
  });
194
199
  }
195
- async function Rs(e) {
200
+ async function nn(e) {
196
201
  for (const [n, t, l] of e)
197
- await Dt(n, t, l);
202
+ await $t(n, t, l);
198
203
  }
199
- const Be = (e) => {
200
- const n = e?.loading ?? B(!1);
204
+ const Ee = (e) => {
205
+ const n = e?.loading ?? y(!1);
201
206
  let t = null;
202
- const l = B(!1);
207
+ const l = y(!1);
203
208
  return {
204
209
  loading: n,
205
210
  hasLoaded: l,
@@ -212,54 +217,54 @@ const Be = (e) => {
212
217
  }
213
218
  })()), t)
214
219
  };
215
- }, qs = (e, n = 3e3) => {
216
- const { loading: t, loadingData: l } = Be({ singleFlight: !0 }), a = l(e);
220
+ }, an = (e, n = 3e3) => {
221
+ const { loading: t, loadingData: l } = Ee({ singleFlight: !0 }), a = l(e);
217
222
  let s = null;
218
- return le(async () => {
223
+ return te(async () => {
219
224
  s = setInterval(a, n);
220
- }), re(() => {
225
+ }), ue(() => {
221
226
  s && (clearInterval(s), s = null);
222
227
  }), { loading: t, refreshTableData: a, reset: () => {
223
228
  s && (clearInterval(s), s = null), a(), s = setInterval(a, n);
224
229
  } };
225
- }, Ht = (e) => {
226
- const { fetchPage: n, pageParams: t, queryParams: l, autoLoad: a, onLoaded: s } = e, o = x(() => {
227
- const y = Z(t);
230
+ }, Tt = (e) => {
231
+ const { fetchPage: n, pageParams: t, queryParams: l, autoLoad: a, onLoaded: s } = e, o = k(() => {
232
+ const m = Y(t);
228
233
  return {
229
- pageNum: y?.pageNum ?? 1,
230
- pageSize: y?.pageSize ?? 20,
234
+ pageNum: m?.pageNum ?? 1,
235
+ pageSize: m?.pageSize ?? 20,
231
236
  totalPages: 0,
232
237
  total: 0
233
238
  };
234
- }), r = B(o.value), u = B([]), { loading: v, loadingData: m } = Be(), f = m(async () => {
235
- const y = Z(l), V = {
239
+ }), r = y(o.value), u = y([]), { loading: v, loadingData: p } = Ee(), h = p(async () => {
240
+ const m = Y(l), E = {
236
241
  pageNum: r.value.pageNum,
237
242
  pageSize: r.value.pageSize
238
- }, { data: P, ...I } = y ? await n(V, y) : await n(V);
239
- u.value = P, r.value = I, s?.();
240
- }), A = () => {
241
- const { pageSize: y, ...V } = o.value;
242
- Object.assign(r.value, V);
243
- }, S = async () => {
244
- A(), await f();
243
+ }, { data: D, ...$ } = m ? await n(E, m) : await n(E);
244
+ u.value = D, r.value = $, s?.();
245
+ }), w = () => {
246
+ const { pageSize: m, ...E } = o.value;
247
+ Object.assign(r.value, E);
248
+ }, C = async () => {
249
+ w(), await h();
245
250
  }, _ = async () => {
246
- r.value.pageNum = 1, await f();
247
- }, Q = async () => {
248
- await f();
251
+ r.value.pageNum = 1, await h();
252
+ }, P = async () => {
253
+ await h();
249
254
  };
250
- return a && le(async () => {
251
- await S();
255
+ return a && te(async () => {
256
+ await C();
252
257
  }), {
253
258
  pageData: r,
254
259
  tableData: u,
255
260
  loading: v,
256
- refresh: f,
257
- resetAndRefresh: S,
261
+ refresh: h,
262
+ resetAndRefresh: C,
258
263
  handleSizeChange: _,
259
- handleCurrPageChange: Q
264
+ handleCurrPageChange: P
260
265
  };
261
- }, Us = (e, n) => {
262
- const t = tt([]);
266
+ }, on = (e, n) => {
267
+ const t = lt([]);
263
268
  function l(u) {
264
269
  return t.value.includes(u);
265
270
  }
@@ -267,24 +272,24 @@ const Be = (e) => {
267
272
  const v = t.value.indexOf(u);
268
273
  v > -1 ? t.value = t.value.splice(v, 1) : t.value = [...t.value, u];
269
274
  }
270
- const s = B(!1);
271
- F(
275
+ const s = y(!1);
276
+ Z(
272
277
  t,
273
278
  () => {
274
- const u = Z(e);
279
+ const u = Y(e);
275
280
  s.value = u.length > 0 && u.every((v) => t.value.includes(n(v)));
276
281
  },
277
282
  { immediate: !0 }
278
283
  );
279
284
  function o() {
280
285
  if (s.value) {
281
- const u = Z(e).map((v) => n(v));
286
+ const u = Y(e).map((v) => n(v));
282
287
  t.value = u;
283
288
  } else
284
289
  t.value = [];
285
290
  }
286
291
  function r() {
287
- return Z(e).filter((u) => t.value.includes(n(u)));
292
+ return Y(e).filter((u) => t.value.includes(n(u)));
288
293
  }
289
294
  return {
290
295
  selectedIds: t,
@@ -294,35 +299,51 @@ const Be = (e) => {
294
299
  toggleAll: o,
295
300
  getSelectedData: r
296
301
  };
297
- }, Vt = { class: "setting-group" }, Tt = { class: "setting-group__name" }, $t = { class: "setting-group__list" }, js = /* @__PURE__ */ k({
302
+ }, Lt = (e) => {
303
+ const n = le(e), t = y(0), l = () => {
304
+ n.value?.clientHeight && (t.value = n.value.clientHeight);
305
+ };
306
+ let a, s = 0;
307
+ return te(() => {
308
+ n.value && (l(), a = new ResizeObserver(() => {
309
+ cancelAnimationFrame(s), s = requestAnimationFrame(l);
310
+ }), a.observe(n.value));
311
+ }), ue(() => {
312
+ a?.disconnect(), cancelAnimationFrame(s);
313
+ }), {
314
+ elementRef: n,
315
+ height: t,
316
+ updateHeight: l
317
+ };
318
+ }, Rt = { class: "setting-group" }, qt = { class: "setting-group__name" }, Ut = { class: "setting-group__list" }, cn = /* @__PURE__ */ S({
298
319
  __name: "SettingGroup",
299
320
  props: {
300
321
  name: {}
301
322
  },
302
323
  setup(e) {
303
324
  const n = e;
304
- return (t, l) => (i(), p("div", Vt, [
305
- c("div", Tt, h(n.name), 1),
306
- c("div", $t, [
307
- C(t.$slots, "default")
325
+ return (t, l) => (i(), g("div", Rt, [
326
+ c("div", qt, A(n.name), 1),
327
+ c("div", Ut, [
328
+ I(t.$slots, "default")
308
329
  ])
309
330
  ]));
310
331
  }
311
- }), U = /* @__PURE__ */ k({
332
+ }), j = /* @__PURE__ */ S({
312
333
  __name: "AppIcon",
313
334
  props: {
314
335
  icon: {}
315
336
  },
316
337
  setup(e) {
317
- const n = e, t = ve(), l = x(() => t.state.dark ? `ri-${n.icon}-fill` : `ri-${n.icon}-line`);
318
- return (a, s) => (i(), p("i", {
319
- class: G([l.value, "icon-font"])
338
+ const n = e, t = de(), l = k(() => t.state.dark ? `ri-${n.icon}-fill` : `ri-${n.icon}-line`);
339
+ return (a, s) => (i(), g("i", {
340
+ class: W([l.value, "icon-font"])
320
341
  }, null, 2));
321
342
  }
322
- }), Lt = { class: "setting-item" }, Rt = { class: "setting-item__content" }, qt = { class: "setting-item__content__title" }, Ut = {
343
+ }), jt = { class: "setting-item" }, Ft = { class: "setting-item__content" }, Ot = { class: "setting-item__content__title" }, Nt = {
323
344
  key: 0,
324
345
  class: "setting-item__content__desc"
325
- }, jt = { class: "setting-item__options" }, Ot = /* @__PURE__ */ k({
346
+ }, Wt = { class: "setting-item__options" }, Gt = /* @__PURE__ */ S({
326
347
  __name: "SettingItem",
327
348
  props: {
328
349
  title: {},
@@ -330,43 +351,43 @@ const Be = (e) => {
330
351
  iconClass: {}
331
352
  },
332
353
  setup(e) {
333
- const n = e, t = B("equalizer-2");
354
+ const n = e, t = y("equalizer-2");
334
355
  return (l, a) => {
335
- const s = U;
336
- return i(), p("div", Lt, [
337
- g(s, {
356
+ const s = j;
357
+ return i(), g("div", jt, [
358
+ f(s, {
338
359
  class: "setting-item__icon",
339
360
  icon: n.iconClass || t.value
340
361
  }, null, 8, ["icon"]),
341
- c("div", Rt, [
342
- c("div", qt, h(n.title), 1),
343
- n.desc ? (i(), p("div", Ut, h(n.desc), 1)) : D("", !0)
362
+ c("div", Ft, [
363
+ c("div", Ot, A(n.title), 1),
364
+ n.desc ? (i(), g("div", Nt, A(n.desc), 1)) : Q("", !0)
344
365
  ]),
345
- c("div", jt, [
346
- C(l.$slots, "default", {}, void 0, !0)
366
+ c("div", Wt, [
367
+ I(l.$slots, "default", {}, void 0, !0)
347
368
  ])
348
369
  ]);
349
370
  };
350
371
  }
351
- }), N = (e, n) => {
372
+ }), q = (e, n) => {
352
373
  const t = e.__vccOpts || e;
353
374
  for (const [l, a] of n)
354
375
  t[l] = a;
355
376
  return t;
356
- }, Os = /* @__PURE__ */ N(Ot, [["__scopeId", "data-v-bb581bf5"]]);
357
- function Ft(e) {
358
- const n = B(e), t = B(null), l = (s) => {
377
+ }, rn = /* @__PURE__ */ q(Gt, [["__scopeId", "data-v-bb581bf5"]]);
378
+ function Jt(e) {
379
+ const n = y(e), t = y(null), l = (s) => {
359
380
  n.value = e, t.value = setInterval(() => {
360
381
  n.value > 1 ? n.value-- : (a(), s());
361
382
  }, 1e3);
362
383
  }, a = () => {
363
384
  t.value && (clearInterval(t.value), t.value = null);
364
385
  };
365
- return re(a), { countdown: n, start: l, stop: a };
386
+ return ue(a), { countdown: n, start: l, stop: a };
366
387
  }
367
- const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
388
+ const Zt = { class: "dialog-footer" }, un = /* @__PURE__ */ S({
368
389
  __name: "CountdownDialog",
369
- props: /* @__PURE__ */ j({
390
+ props: /* @__PURE__ */ J({
370
391
  content: {},
371
392
  countdown: {},
372
393
  title: { default: "提示" },
@@ -377,22 +398,22 @@ const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
377
398
  modelValue: { type: Boolean, required: !0 },
378
399
  modelModifiers: {}
379
400
  }),
380
- emits: /* @__PURE__ */ j(["onConfirm", "onCancel"], ["update:modelValue"]),
401
+ emits: /* @__PURE__ */ J(["onConfirm", "onCancel"], ["update:modelValue"]),
381
402
  setup(e, { expose: n, emit: t }) {
382
- const l = e, a = ue(e, "modelValue"), s = t, { countdown: o, start: r, stop: u } = Ft(l.countdown);
403
+ const l = e, a = Ae(e, "modelValue"), s = t, { countdown: o, start: r, stop: u } = Jt(l.countdown);
383
404
  let v = !1;
384
- const m = (_) => {
405
+ const p = (_) => {
385
406
  v || (v = !0, u(), s(_ === "confirm" ? "onConfirm" : "onCancel", _), a.value = !1, v = !1);
386
- }, f = () => m("confirm"), A = () => m("cancel"), S = () => {
387
- a.value = !0, r(A);
407
+ }, h = () => p("confirm"), w = () => p("cancel"), C = () => {
408
+ a.value = !0, r(w);
388
409
  };
389
- return F(a, (_, Q) => {
390
- _ && !Q && r(A);
391
- }), n({ show: S }), (_, Q) => {
392
- const y = de, V = we;
393
- return i(), b(V, {
410
+ return Z(a, (_, P) => {
411
+ _ && !P && r(w);
412
+ }), n({ show: C }), (_, P) => {
413
+ const m = se, E = we;
414
+ return i(), b(E, {
394
415
  modelValue: a.value,
395
- "onUpdate:modelValue": Q[0] || (Q[0] = (P) => a.value = P),
416
+ "onUpdate:modelValue": P[0] || (P[0] = (D) => a.value = D),
396
417
  title: e.title,
397
418
  width: e.width,
398
419
  "close-on-click-modal": !1,
@@ -401,36 +422,36 @@ const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
401
422
  "append-to-body": !0
402
423
  }, {
403
424
  footer: d(() => [
404
- c("div", Nt, [
405
- g(y, { onClick: A }, {
425
+ c("div", Zt, [
426
+ f(m, { onClick: w }, {
406
427
  default: d(() => [
407
- H(h(e.cancelBtnText) + "(" + h(w(o)) + "s)", 1)
428
+ M(A(e.cancelBtnText) + "(" + A(B(o)) + "s)", 1)
408
429
  ]),
409
430
  _: 1
410
431
  }),
411
- g(y, {
432
+ f(m, {
412
433
  type: "primary",
413
- disabled: w(o) <= 0,
414
- onClick: f
434
+ disabled: B(o) <= 0,
435
+ onClick: h
415
436
  }, {
416
437
  default: d(() => [
417
- H(h(e.confirmBtnText), 1)
438
+ M(A(e.confirmBtnText), 1)
418
439
  ]),
419
440
  _: 1
420
441
  }, 8, ["disabled"])
421
442
  ])
422
443
  ]),
423
444
  default: d(() => [
424
- c("div", null, h(e.content), 1),
425
- c("div", null, h(w(o)) + "秒后自动取消", 1)
445
+ c("div", null, A(e.content), 1),
446
+ c("div", null, A(B(o)) + "秒后自动取消", 1)
426
447
  ]),
427
448
  _: 1
428
449
  }, 8, ["modelValue", "title", "width"]);
429
450
  };
430
451
  }
431
- }), Wt = { class: "select-dialog" }, Gt = ["onClick"], Jt = { class: "option-item-label" }, Zt = { key: 0 }, Kt = { key: 1 }, Yt = /* @__PURE__ */ k({
452
+ }), Kt = { class: "select-dialog" }, Yt = ["onClick"], Xt = { class: "option-item-label" }, el = { key: 0 }, tl = { key: 1 }, ll = /* @__PURE__ */ S({
432
453
  __name: "SelectDialog",
433
- props: /* @__PURE__ */ j({
454
+ props: /* @__PURE__ */ J({
434
455
  title: { default: "请选择" },
435
456
  options: {},
436
457
  defaultSelectedList: { default: () => [] },
@@ -446,127 +467,127 @@ const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
446
467
  modelValue: { type: Boolean, required: !0 },
447
468
  modelModifiers: {}
448
469
  }),
449
- emits: /* @__PURE__ */ j(["confirm"], ["update:modelValue"]),
470
+ emits: /* @__PURE__ */ J(["confirm"], ["update:modelValue"]),
450
471
  setup(e, { emit: n }) {
451
- const t = e, l = ue(e, "modelValue"), a = ce([]), s = ce([]), o = B(0), r = X("listRef"), { loading: u, loadingData: v } = Be(), m = B(!1), f = v(async (z) => {
472
+ const t = e, l = Ae(e, "modelValue"), a = fe([]), s = fe([]), o = y(0), r = le("listRef"), { loading: u, loadingData: v } = Ee(), p = y(!1), h = v(async (x) => {
452
473
  s.splice(0, s.length, ...t.defaultSelectedList);
453
- let M = !1;
454
- z(() => {
455
- M = !0;
474
+ let H = !1;
475
+ x(() => {
476
+ H = !0;
456
477
  });
457
478
  const L = typeof t.options == "function" ? await t.options() : t.options;
458
- M || a.splice(0, a.length, ...L);
459
- }), A = () => {
460
- o.value = r.value?.clientWidth ?? 0, m.value = !0;
479
+ H || a.splice(0, a.length, ...L);
480
+ }), w = () => {
481
+ o.value = r.value?.clientWidth ?? 0, p.value = !0;
461
482
  };
462
- F(
483
+ Z(
463
484
  l,
464
- async (z, M, L) => {
465
- if (!z) {
466
- m.value = !1;
485
+ async (x, H, L) => {
486
+ if (!x) {
487
+ p.value = !1;
467
488
  return;
468
489
  }
469
- await f(L);
490
+ await h(L);
470
491
  },
471
492
  { immediate: !0 }
472
493
  );
473
- const S = n, _ = () => {
494
+ const C = n, _ = () => {
474
495
  l.value = !1;
475
- }, Q = () => {
496
+ }, P = () => {
476
497
  if (!s || s.length === 0) {
477
- Y(t.noSelectionTip);
498
+ X(t.noSelectionTip);
478
499
  return;
479
500
  }
480
- S("confirm", lt(s)), l.value = !1;
481
- }, y = x(() => t.showCurrentSelection && m.value && !u.value && s.length > 0), V = (z) => s.includes(z), P = (z) => {
482
- const M = s.indexOf(z);
483
- M > -1 ? s.splice(M, 1) : t.multiple ? s.push(z) : s.splice(0, s.length, z);
484
- }, I = x(() => a.every((z) => s.includes(z))), T = () => {
485
- I.value ? s.splice(0, s.length) : s.splice(0, s.length, ...a);
501
+ C("confirm", st(s)), l.value = !1;
502
+ }, m = k(() => t.showCurrentSelection && p.value && !u.value && s.length > 0), E = (x) => s.includes(x), D = (x) => {
503
+ const H = s.indexOf(x);
504
+ H > -1 ? s.splice(H, 1) : t.multiple ? s.push(x) : s.splice(0, s.length, x);
505
+ }, $ = k(() => a.every((x) => s.includes(x))), V = () => {
506
+ $.value ? s.splice(0, s.length) : s.splice(0, s.length, ...a);
486
507
  };
487
- return (z, M) => {
488
- const L = de, se = we, pe = xe;
489
- return i(), p("div", Wt, [
490
- g(se, {
508
+ return (x, H) => {
509
+ const L = se, ve = we, ke = ye;
510
+ return i(), g("div", Kt, [
511
+ f(ve, {
491
512
  title: e.title,
492
513
  modelValue: l.value,
493
- "onUpdate:modelValue": M[0] || (M[0] = ($) => l.value = $),
514
+ "onUpdate:modelValue": H[0] || (H[0] = (T) => l.value = T),
494
515
  style: { width: "fit-content", "min-width": "300px", "max-width": "800px", "max-height": "88vh", overflow: "auto" },
495
516
  "close-on-click-modal": !1,
496
517
  "close-on-press-escape": !1,
497
518
  "show-close": !0,
498
519
  "align-center": "",
499
- onOpened: A
520
+ onOpened: w
500
521
  }, {
501
522
  footer: d(() => [
502
- e.multiple && e.canSelectAll ? (i(), p("span", {
523
+ e.multiple && e.canSelectAll ? (i(), g("span", {
503
524
  key: 0,
504
- class: G(["select-all", I.value ? "selected" : ""]),
505
- onClick: T
506
- }, [...M[1] || (M[1] = [
525
+ class: W(["select-all", $.value ? "selected" : ""]),
526
+ onClick: V
527
+ }, [...H[1] || (H[1] = [
507
528
  c("span", { class: "select-icon" }, null, -1),
508
- H("全选", -1)
509
- ])], 2)) : D("", !0),
510
- g(L, { onClick: _ }, {
529
+ M("全选", -1)
530
+ ])], 2)) : Q("", !0),
531
+ f(L, { onClick: _ }, {
511
532
  default: d(() => [
512
- H(h(e.cancelText), 1)
533
+ M(A(e.cancelText), 1)
513
534
  ]),
514
535
  _: 1
515
536
  }),
516
- g(L, {
537
+ f(L, {
517
538
  type: "primary",
518
- onClick: Q,
519
- disabled: w(u)
539
+ onClick: P,
540
+ disabled: B(u)
520
541
  }, {
521
542
  default: d(() => [
522
- H(h(e.confirmText), 1)
543
+ M(A(e.confirmText), 1)
523
544
  ]),
524
545
  _: 1
525
546
  }, 8, ["disabled"])
526
547
  ]),
527
548
  default: d(() => [
528
- K((i(), p("div", {
529
- class: G(["dialog-content", w(u) ? "loading" : ""])
549
+ F((i(), g("div", {
550
+ class: W(["dialog-content", B(u) ? "loading" : ""])
530
551
  }, [
531
552
  c("div", {
532
553
  ref_key: "listRef",
533
554
  ref: r,
534
555
  class: "option-list"
535
556
  }, [
536
- (i(!0), p(O, null, ee(a, ($) => (i(), p("div", {
537
- class: G(["option-item", V($) ? "selected" : ""]),
538
- key: e.getDataId($),
539
- onClick: (Se) => P($)
557
+ (i(!0), g(O, null, ee(a, (T) => (i(), g("div", {
558
+ class: W(["option-item", E(T) ? "selected" : ""]),
559
+ key: e.getDataId(T),
560
+ onClick: (N) => D(T)
540
561
  }, [
541
- C(z.$slots, "item", {}, () => [
562
+ I(x.$slots, "item", {}, () => [
542
563
  c("span", {
543
- class: G(["select-icon", e.multiple ? "checkbox" : "radio"])
564
+ class: W(["select-icon", e.multiple ? "checkbox" : "radio"])
544
565
  }, null, 2),
545
- c("span", Jt, [
546
- C(z.$slots, "item-label", {}, () => [
547
- H(h(e.getDataLabel($)), 1)
566
+ c("span", Xt, [
567
+ I(x.$slots, "item-label", {}, () => [
568
+ M(A(e.getDataLabel(T)), 1)
548
569
  ], !0)
549
570
  ])
550
571
  ], !0)
551
- ], 10, Gt))), 128))
572
+ ], 10, Yt))), 128))
552
573
  ], 512),
553
- y.value ? (i(), p("div", {
574
+ m.value ? (i(), g("div", {
554
575
  key: 0,
555
576
  class: "current-selection",
556
- style: Qe({ width: `${o.value}px` })
577
+ style: Se({ width: `${o.value}px` })
557
578
  }, [
558
- e.multiple ? (i(), p("span", Zt, "已选择(" + h(s.length) + "):", 1)) : (i(), p("span", Kt, "已选择:")),
579
+ e.multiple ? (i(), g("span", el, "已选择(" + A(s.length) + "):", 1)) : (i(), g("span", tl, "已选择:")),
559
580
  c("div", {
560
581
  class: "current-selection-list",
561
- style: Qe({ display: e.multiple ? "flex" : "contents" })
582
+ style: Se({ display: e.multiple ? "flex" : "contents" })
562
583
  }, [
563
- (i(!0), p(O, null, ee(s, ($) => (i(), p("span", {
564
- key: e.getDataId($)
565
- }, h(e.getDataLabel($)), 1))), 128))
584
+ (i(!0), g(O, null, ee(s, (T) => (i(), g("span", {
585
+ key: e.getDataId(T)
586
+ }, A(e.getDataLabel(T)), 1))), 128))
566
587
  ], 4)
567
- ], 4)) : D("", !0)
588
+ ], 4)) : Q("", !0)
568
589
  ], 2)), [
569
- [pe, w(u)]
590
+ [ke, B(u)]
570
591
  ])
571
592
  ]),
572
593
  _: 3
@@ -574,11 +595,11 @@ const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
574
595
  ]);
575
596
  };
576
597
  }
577
- }), Xt = /* @__PURE__ */ N(Yt, [["__scopeId", "data-v-2ad04bd4"]]), Ns = (e) => new Promise((n) => {
598
+ }), sl = /* @__PURE__ */ q(ll, [["__scopeId", "data-v-2ad04bd4"]]), dn = (e) => new Promise((n) => {
578
599
  let t = document.createElement("div");
579
600
  const l = (s) => {
580
- n(s), t && (te(null, t), t.remove(), t = null);
581
- }, a = g(Xt, {
601
+ n(s), t && (ce(null, t), t.remove(), t = null);
602
+ }, a = f(sl, {
582
603
  ...e,
583
604
  modelValue: !0,
584
605
  "onUpdate:modelValue": (s) => {
@@ -588,13 +609,13 @@ const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
588
609
  l(s);
589
610
  }
590
611
  });
591
- document.body.appendChild(t), te(a, t);
592
- }), el = { class: "dialog-content" }, tl = { class: "header" }, ll = {
612
+ document.body.appendChild(t), ce(a, t);
613
+ }), nl = { class: "dialog-content" }, al = { class: "header" }, ol = {
593
614
  key: 0,
594
615
  class: "total-desc"
595
- }, sl = { class: "page-size-desc" }, nl = { class: "range-desc" }, al = /* @__PURE__ */ k({
616
+ }, cl = { class: "page-size-desc" }, il = { class: "range-desc" }, rl = /* @__PURE__ */ S({
596
617
  __name: "PageRangeDialog",
597
- props: /* @__PURE__ */ j({
618
+ props: /* @__PURE__ */ J({
598
619
  title: { default: "请选择页码范围" },
599
620
  defaultRange: { default: () => [1, 1] },
600
621
  total: {},
@@ -607,33 +628,33 @@ const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
607
628
  modelValue: { type: Boolean, required: !0 },
608
629
  modelModifiers: {}
609
630
  }),
610
- emits: /* @__PURE__ */ j(["confirm"], ["update:modelValue"]),
631
+ emits: /* @__PURE__ */ J(["confirm"], ["update:modelValue"]),
611
632
  setup(e, { emit: n }) {
612
- const t = e, l = ue(e, "modelValue"), a = x(() => t.total != null && t.maxPage != null ? Math.min(t.maxPage, Math.ceil(t.total / t.pageSize)) : t.total != null ? Math.ceil(t.total / t.pageSize) : t.maxPage), s = B(1), o = B(1), r = x(() => `共有 ${t.total} 条数据`), u = x(() => `每页可获取 ${t.pageSize} 条数据`), v = x(() => {
633
+ const t = e, l = Ae(e, "modelValue"), a = k(() => t.total != null && t.maxPage != null ? Math.min(t.maxPage, Math.ceil(t.total / t.pageSize)) : t.total != null ? Math.ceil(t.total / t.pageSize) : t.maxPage), s = y(1), o = y(1), r = k(() => `共有 ${t.total} 条数据`), u = k(() => `每页可获取 ${t.pageSize} 条数据`), v = k(() => {
613
634
  if (t.total != null) {
614
- const S = t.pageSize - Math.max(o.value * t.pageSize - t.total, 0);
615
- return `共选择 ${(o.value - s.value) * t.pageSize + S} 条数据`;
635
+ const C = t.pageSize - Math.max(o.value * t.pageSize - t.total, 0);
636
+ return `共选择 ${(o.value - s.value) * t.pageSize + C} 条数据`;
616
637
  } else
617
638
  return `共选择 ${(o.value + 1 - s.value) * t.pageSize} 条数据`;
618
639
  });
619
- F(
640
+ Z(
620
641
  l,
621
- async (S) => {
622
- S && (s.value = t.defaultRange[0], o.value = t.defaultRange[1]);
642
+ async (C) => {
643
+ C && (s.value = t.defaultRange[0], o.value = t.defaultRange[1]);
623
644
  },
624
645
  { immediate: !0 }
625
646
  );
626
- const m = n, f = () => {
647
+ const p = n, h = () => {
627
648
  l.value = !1;
628
- }, A = () => {
629
- m("confirm", [s.value, o.value]), l.value = !1;
649
+ }, w = () => {
650
+ p("confirm", [s.value, o.value]), l.value = !1;
630
651
  };
631
- return (S, _) => {
632
- const Q = yt, y = At, V = _t, P = de, I = we;
633
- return i(), b(I, {
652
+ return (C, _) => {
653
+ const P = yt, m = wt, E = At, D = se, $ = we;
654
+ return i(), b($, {
634
655
  title: e.title,
635
656
  modelValue: l.value,
636
- "onUpdate:modelValue": _[2] || (_[2] = (T) => l.value = T),
657
+ "onUpdate:modelValue": _[2] || (_[2] = (V) => l.value = V),
637
658
  width: "200px",
638
659
  "close-on-click-modal": !1,
639
660
  "close-on-press-escape": !1,
@@ -641,43 +662,43 @@ const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
641
662
  "align-center": ""
642
663
  }, {
643
664
  footer: d(() => [
644
- g(P, { onClick: f }, {
665
+ f(D, { onClick: h }, {
645
666
  default: d(() => [
646
- H(h(e.cancelText), 1)
667
+ M(A(e.cancelText), 1)
647
668
  ]),
648
669
  _: 1
649
670
  }),
650
- g(P, {
671
+ f(D, {
651
672
  type: "primary",
652
- onClick: A
673
+ onClick: w
653
674
  }, {
654
675
  default: d(() => [
655
- H(h(e.confirmText), 1)
676
+ M(A(e.confirmText), 1)
656
677
  ]),
657
678
  _: 1
658
679
  })
659
680
  ]),
660
681
  default: d(() => [
661
- c("div", el, [
662
- c("div", tl, [
663
- e.total ? (i(), p("div", ll, h(r.value), 1)) : D("", !0),
664
- c("div", sl, h(u.value), 1)
682
+ c("div", nl, [
683
+ c("div", al, [
684
+ e.total ? (i(), g("div", ol, A(r.value), 1)) : Q("", !0),
685
+ c("div", cl, A(u.value), 1)
665
686
  ]),
666
- g(V, { class: "page-range" }, {
687
+ f(E, { class: "page-range" }, {
667
688
  default: d(() => [
668
- g(y, { span: 11 }, {
689
+ f(m, { span: 11 }, {
669
690
  default: d(() => [
670
- g(Q, {
691
+ f(P, {
671
692
  type: "number",
672
693
  modelValue: s.value,
673
- "onUpdate:modelValue": _[0] || (_[0] = (T) => s.value = T),
694
+ "onUpdate:modelValue": _[0] || (_[0] = (V) => s.value = V),
674
695
  min: e.minPage,
675
696
  max: o.value
676
697
  }, null, 8, ["modelValue", "min", "max"])
677
698
  ]),
678
699
  _: 1
679
700
  }),
680
- g(y, {
701
+ f(m, {
681
702
  span: 2,
682
703
  style: { "text-align": "center" }
683
704
  }, {
@@ -686,12 +707,12 @@ const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
686
707
  ])]),
687
708
  _: 1
688
709
  }),
689
- g(y, { span: 11 }, {
710
+ f(m, { span: 11 }, {
690
711
  default: d(() => [
691
- g(Q, {
712
+ f(P, {
692
713
  type: "number",
693
714
  modelValue: o.value,
694
- "onUpdate:modelValue": _[1] || (_[1] = (T) => o.value = T),
715
+ "onUpdate:modelValue": _[1] || (_[1] = (V) => o.value = V),
695
716
  min: s.value,
696
717
  max: a.value
697
718
  }, null, 8, ["modelValue", "min", "max"])
@@ -701,18 +722,18 @@ const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
701
722
  ]),
702
723
  _: 1
703
724
  }),
704
- c("div", nl, h(v.value), 1)
725
+ c("div", il, A(v.value), 1)
705
726
  ])
706
727
  ]),
707
728
  _: 1
708
729
  }, 8, ["title", "modelValue"]);
709
730
  };
710
731
  }
711
- }), ol = /* @__PURE__ */ N(al, [["__scopeId", "data-v-715af5da"]]), Ws = (e) => new Promise((n) => {
732
+ }), ul = /* @__PURE__ */ q(rl, [["__scopeId", "data-v-715af5da"]]), vn = (e) => new Promise((n) => {
712
733
  let t = document.createElement("div");
713
734
  const l = (s) => {
714
- t && (te(null, t), t.remove(), t = null), n(s);
715
- }, a = g(ol, {
735
+ t && (ce(null, t), t.remove(), t = null), n(s);
736
+ }, a = f(ul, {
716
737
  ...e,
717
738
  modelValue: !0,
718
739
  "onUpdate:modelValue"(s) {
@@ -722,78 +743,214 @@ const Nt = { class: "dialog-footer" }, Fs = /* @__PURE__ */ k({
722
743
  l(s);
723
744
  }
724
745
  });
725
- document.body.appendChild(t), te(a, t);
726
- }), cl = { class: "loading-mask el-overlay" }, il = { class: "loading-content" }, rl = { class: "loading-spinner" }, ul = { class: "loading-text" }, dl = /* @__PURE__ */ k({
746
+ document.body.appendChild(t), ce(a, t);
747
+ }), dl = { class: "loading-mask el-overlay" }, vl = { class: "loading-content" }, pl = { class: "loading-spinner" }, gl = { class: "loading-text" }, ml = /* @__PURE__ */ S({
727
748
  __name: "LoadingDialog",
728
- props: /* @__PURE__ */ j({
729
- canCancel: { type: Boolean, default: !1 },
730
- onCancel: {},
731
- loadingText: {}
732
- }, {
733
- modelValue: { type: Boolean, required: !0 },
734
- modelModifiers: {}
735
- }),
736
- emits: ["update:modelValue"],
737
749
  setup(e, { expose: n }) {
738
- const t = ue(e, "modelValue"), a = ce(ye(e)), s = B(t), o = () => {
739
- a.loadingText = a.loadingText ?? "加载中...";
740
- }, r = () => {
741
- a.onCancel?.(), t.value = !1;
750
+ const t = y(!1), l = y(""), a = y(!1);
751
+ let s;
752
+ const o = (p = {}) => {
753
+ l.value = p.message ?? "加载中", a.value = p.showCancel ?? !1, s = p.onCancel, p?.autoCloseDelay && setTimeout(() => {
754
+ u();
755
+ }, p?.autoCloseDelay), t.value = !0;
756
+ }, r = (p) => {
757
+ l.value = p;
758
+ }, u = () => {
759
+ t.value = !1;
760
+ }, v = async () => {
761
+ await s?.(), u();
742
762
  };
743
- return F(t, (m) => {
744
- s.value = m;
745
- }), n({ show: (m) => {
746
- Object.assign(a, m), o(), s.value = !0, t.value = !0;
747
- }, hide: () => {
748
- s.value = !1, t.value = !1;
749
- } }), (m, f) => {
750
- const A = xe;
751
- return K((i(), p("div", cl, [
752
- c("div", il, [
753
- K(c("div", {
763
+ return n({
764
+ show: o,
765
+ update: r,
766
+ close: u
767
+ }), (p, h) => {
768
+ const w = ye;
769
+ return F((i(), g("div", dl, [
770
+ c("div", vl, [
771
+ F(c("div", {
754
772
  class: "options-close-btn",
755
- onClick: r
773
+ onClick: v
756
774
  }, null, 512), [
757
- [Pe, a.canCancel]
775
+ [ie, a.value]
758
776
  ]),
759
- K(c("div", rl, null, 512), [
760
- [A, s.value]
777
+ F(c("div", pl, null, 512), [
778
+ [w, !0]
761
779
  ]),
762
- c("div", ul, h(a.loadingText), 1)
780
+ c("div", gl, A(l.value), 1)
763
781
  ])
764
782
  ], 512)), [
765
- [Pe, t.value]
783
+ [ie, t.value]
766
784
  ]);
767
785
  };
768
786
  }
769
- });
770
- let ae, fe = null, oe;
771
- const Gs = {
772
- /**
773
- * 显示,返回一个Promise,解析为是否成功,false为用户取消
774
- * @param options
775
- */
787
+ }), fl = /* @__PURE__ */ q(ml, [["__scopeId", "data-v-a0557392"]]);
788
+ let ae = null;
789
+ function me() {
790
+ if (ae) return ae;
791
+ const e = document.createElement("div");
792
+ return document.body.appendChild(e), ae = De(fl).mount(e), ae;
793
+ }
794
+ const pn = {
776
795
  show(e) {
777
- return new Promise(async (n) => {
778
- ae || (fe = document.createElement("div"), ae = g(dl, {
779
- modelValue: !1
780
- }), te(ae, fe), document.body.appendChild(fe), await Ae(() => {
781
- oe = ae?.component?.exposed;
782
- })), e?.autoCloseDelay && setTimeout(() => {
783
- oe?.hide(), n(!0);
784
- }, e?.autoCloseDelay), oe?.show({
785
- canCancel: !1,
786
- ...e,
787
- onCancel: () => {
788
- n(!1);
789
- }
790
- });
791
- });
796
+ me().show(e);
792
797
  },
793
- hide() {
794
- oe?.hide();
798
+ update(e) {
799
+ me().update(e);
800
+ },
801
+ close() {
802
+ me().close();
795
803
  }
796
- }, vl = { class: "tooltip" }, pl = { class: "label" }, ke = /* @__PURE__ */ k({
804
+ };
805
+ var hl = /* @__PURE__ */ S({
806
+ name: "CircleCheck",
807
+ __name: "circle-check",
808
+ setup(e) {
809
+ return (n, t) => (i(), g("svg", {
810
+ xmlns: "http://www.w3.org/2000/svg",
811
+ viewBox: "0 0 1024 1024"
812
+ }, [
813
+ c("path", {
814
+ fill: "currentColor",
815
+ d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
816
+ }),
817
+ c("path", {
818
+ fill: "currentColor",
819
+ d: "M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"
820
+ })
821
+ ]));
822
+ }
823
+ }), _l = hl, Al = /* @__PURE__ */ S({
824
+ name: "CircleClose",
825
+ __name: "circle-close",
826
+ setup(e) {
827
+ return (n, t) => (i(), g("svg", {
828
+ xmlns: "http://www.w3.org/2000/svg",
829
+ viewBox: "0 0 1024 1024"
830
+ }, [
831
+ c("path", {
832
+ fill: "currentColor",
833
+ d: "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"
834
+ }),
835
+ c("path", {
836
+ fill: "currentColor",
837
+ d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
838
+ })
839
+ ]));
840
+ }
841
+ }), wl = Al;
842
+ const yl = { class: "loading-mask el-overlay" }, bl = { class: "loading-content" }, xl = { class: "status-icon" }, Cl = { class: "loading-text" }, El = { class: "actions" }, Bl = /* @__PURE__ */ S({
843
+ __name: "ProcessDialog",
844
+ setup(e, { expose: n }) {
845
+ const t = y(!1), l = y(""), a = y(0), s = y("loading"), o = y(!1);
846
+ let r, u;
847
+ const v = (m = {}) => {
848
+ l.value = m.message ?? "加载中", o.value = m.showCancel ?? !1, a.value = m.percentage ?? 0, s.value = "loading", r = m.onCancel, u = m.onConfirm, t.value = !0;
849
+ }, p = (m, E) => {
850
+ m != null && (a.value = m), E != null && (l.value = E);
851
+ }, h = (m = "操作成功") => {
852
+ s.value = "success", l.value = m;
853
+ }, w = (m = "操作失败") => {
854
+ s.value = "error", l.value = m;
855
+ }, C = () => {
856
+ t.value = !1;
857
+ }, _ = async () => {
858
+ await r?.(), C();
859
+ }, P = async () => {
860
+ await u?.(s.value), C();
861
+ };
862
+ return n({
863
+ show: v,
864
+ update: p,
865
+ setSuccess: h,
866
+ setError: w,
867
+ close: C
868
+ }), (m, E) => {
869
+ const D = bt, $ = xt, V = se;
870
+ return F((i(), g("div", yl, [
871
+ c("div", bl, [
872
+ F(c("div", {
873
+ class: "options-close-btn",
874
+ onClick: _
875
+ }, null, 512), [
876
+ [ie, o.value && s.value === "loading"]
877
+ ]),
878
+ c("div", xl, [
879
+ s.value === "loading" ? (i(), b(D, {
880
+ key: 0,
881
+ type: "circle",
882
+ percentage: a.value,
883
+ width: 96
884
+ }, null, 8, ["percentage"])) : s.value === "success" ? (i(), b($, {
885
+ key: 1,
886
+ size: 42
887
+ }, {
888
+ default: d(() => [
889
+ f(B(_l), { style: { color: "var(--el-color-success)" } })
890
+ ]),
891
+ _: 1
892
+ })) : (i(), b($, {
893
+ key: 2,
894
+ size: 42
895
+ }, {
896
+ default: d(() => [
897
+ f(B(wl), { style: { color: "var(--el-color-error)" } })
898
+ ]),
899
+ _: 1
900
+ }))
901
+ ]),
902
+ c("div", Cl, A(l.value), 1),
903
+ c("div", El, [
904
+ o.value && s.value === "loading" ? (i(), b(V, {
905
+ key: 0,
906
+ onClick: _
907
+ }, {
908
+ default: d(() => [...E[0] || (E[0] = [
909
+ M(" 取消 ", -1)
910
+ ])]),
911
+ _: 1
912
+ })) : Q("", !0),
913
+ s.value !== "loading" ? (i(), b(V, {
914
+ key: 1,
915
+ type: "primary",
916
+ onClick: P
917
+ }, {
918
+ default: d(() => [...E[1] || (E[1] = [
919
+ M(" 确定 ", -1)
920
+ ])]),
921
+ _: 1
922
+ })) : Q("", !0)
923
+ ])
924
+ ])
925
+ ], 512)), [
926
+ [ie, t.value]
927
+ ]);
928
+ };
929
+ }
930
+ }), kl = /* @__PURE__ */ q(Bl, [["__scopeId", "data-v-8ddebb07"]]);
931
+ let oe = null;
932
+ function K() {
933
+ if (oe) return oe;
934
+ const e = document.createElement("div");
935
+ return document.body.appendChild(e), oe = De(kl).mount(e), oe;
936
+ }
937
+ const gn = {
938
+ show(e) {
939
+ K().show(e);
940
+ },
941
+ update(e, n) {
942
+ K().update(e, n);
943
+ },
944
+ success(e) {
945
+ K().setSuccess(e);
946
+ },
947
+ error(e) {
948
+ K().setError(e);
949
+ },
950
+ close() {
951
+ K().close();
952
+ }
953
+ }, Sl = { class: "tooltip" }, zl = { class: "label" }, Be = /* @__PURE__ */ S({
797
954
  __name: "AppTooltip",
798
955
  props: {
799
956
  content: {},
@@ -802,28 +959,28 @@ const Gs = {
802
959
  iconClass: {}
803
960
  },
804
961
  setup(e) {
805
- st((r) => ({
806
- v22da9023: w(t)
962
+ nt((r) => ({
963
+ v22da9023: B(t)
807
964
  }));
808
965
  const n = e, t = n.lines, l = () => ({
809
966
  "txt-ellipsis-right": n.ellipsis === "right",
810
967
  "txt-ellipsis-left": n.ellipsis === "left",
811
968
  "single-line": n.lines === 1
812
- }), a = B(!1), s = X("refContent"), o = new ResizeObserver(() => {
969
+ }), a = y(!1), s = le("refContent"), o = new ResizeObserver(() => {
813
970
  s.value && (n.lines === 1 ? a.value = s.value.scrollWidth > s.value.clientWidth : a.value = s.value.scrollHeight > s.value.clientHeight);
814
971
  });
815
- return le(() => {
972
+ return te(() => {
816
973
  s.value && o.observe(s.value);
817
- }), re(() => {
974
+ }), ue(() => {
818
975
  o.disconnect();
819
976
  }), (r, u) => {
820
- const v = Le;
821
- return i(), p("div", vl, [
822
- c("div", pl, [
823
- e.iconClass ? (i(), b(U, {
977
+ const v = Re;
978
+ return i(), g("div", Sl, [
979
+ c("div", zl, [
980
+ e.iconClass ? (i(), b(j, {
824
981
  key: 0,
825
982
  icon: e.iconClass
826
- }, null, 8, ["icon"])) : D("", !0)
983
+ }, null, 8, ["icon"])) : Q("", !0)
827
984
  ]),
828
985
  e.content ? (i(), b(v, {
829
986
  key: 0,
@@ -834,28 +991,28 @@ const Gs = {
834
991
  "show-after": 800
835
992
  }, {
836
993
  content: d(() => [
837
- C(r.$slots, "tooltipContent")
994
+ I(r.$slots, "tooltipContent")
838
995
  ]),
839
996
  default: d(() => [
840
- c("div", J({
997
+ c("div", G({
841
998
  ref_key: "refContent",
842
999
  ref: s
843
1000
  }, r.$attrs, {
844
1001
  class: ["tooltip__content", l()]
845
1002
  }), [
846
1003
  c("span", null, [
847
- C(r.$slots, "default", {}, () => [
848
- H(h(e.content), 1)
1004
+ I(r.$slots, "default", {}, () => [
1005
+ M(A(e.content), 1)
849
1006
  ])
850
1007
  ])
851
1008
  ], 16)
852
1009
  ]),
853
1010
  _: 3
854
- }, 8, ["content", "disabled"])) : D("", !0)
1011
+ }, 8, ["content", "disabled"])) : Q("", !0)
855
1012
  ]);
856
1013
  };
857
1014
  }
858
- }), Js = /* @__PURE__ */ k({
1015
+ }), mn = /* @__PURE__ */ S({
859
1016
  inheritAttrs: !1,
860
1017
  __name: "IconButton",
861
1018
  props: {
@@ -869,8 +1026,8 @@ const Gs = {
869
1026
  t("click");
870
1027
  };
871
1028
  return (a, s) => {
872
- const o = Le, r = wt;
873
- return e.tip ? (i(), p(O, { key: 0 }, [
1029
+ const o = Re, r = Ct;
1030
+ return e.tip ? (i(), g(O, { key: 0 }, [
874
1031
  e.confirm ? (i(), b(r, {
875
1032
  key: 0,
876
1033
  title: e.confirm,
@@ -878,15 +1035,15 @@ const Gs = {
878
1035
  onConfirm: l
879
1036
  }, {
880
1037
  reference: d(() => [
881
- c("span", nt(at(a.$attrs)), [
882
- g(o, {
1038
+ c("span", at(ot(a.$attrs)), [
1039
+ f(o, {
883
1040
  effect: "light",
884
1041
  content: e.tip,
885
1042
  placement: "top",
886
1043
  "show-after": 800
887
1044
  }, {
888
1045
  default: d(() => [
889
- g(U, {
1046
+ f(j, {
890
1047
  class: "icon-btn",
891
1048
  icon: e.icon
892
1049
  }, null, 8, ["icon"])
@@ -904,7 +1061,7 @@ const Gs = {
904
1061
  "show-after": 800
905
1062
  }, {
906
1063
  default: d(() => [
907
- g(U, J({
1064
+ f(j, G({
908
1065
  class: "icon-btn",
909
1066
  icon: e.icon,
910
1067
  onClick: he(l, ["stop"])
@@ -912,7 +1069,7 @@ const Gs = {
912
1069
  ]),
913
1070
  _: 1
914
1071
  }, 8, ["content"]))
915
- ], 64)) : (i(), p(O, { key: 1 }, [
1072
+ ], 64)) : (i(), g(O, { key: 1 }, [
916
1073
  e.confirm ? (i(), b(r, {
917
1074
  key: 0,
918
1075
  title: e.confirm,
@@ -920,13 +1077,13 @@ const Gs = {
920
1077
  onConfirm: l
921
1078
  }, {
922
1079
  reference: d(() => [
923
- g(U, J({
1080
+ f(j, G({
924
1081
  class: "icon-btn",
925
1082
  icon: e.icon
926
1083
  }, a.$attrs), null, 16, ["icon"])
927
1084
  ]),
928
1085
  _: 1
929
- }, 8, ["title"])) : (i(), b(U, J({
1086
+ }, 8, ["title"])) : (i(), b(j, G({
930
1087
  key: 1,
931
1088
  class: "icon-btn",
932
1089
  icon: e.icon,
@@ -935,18 +1092,18 @@ const Gs = {
935
1092
  ], 64));
936
1093
  };
937
1094
  }
938
- }), gl = { class: "icon-label" }, Zs = /* @__PURE__ */ k({
1095
+ }), Il = { class: "icon-label" }, fn = /* @__PURE__ */ S({
939
1096
  __name: "IconLabel",
940
1097
  props: {
941
1098
  icon: {}
942
1099
  },
943
1100
  setup(e) {
944
- return (n, t) => (i(), p("div", gl, [
945
- g(U, { icon: e.icon }, null, 8, ["icon"]),
946
- C(n.$slots, "default")
1101
+ return (n, t) => (i(), g("div", Il, [
1102
+ f(j, { icon: e.icon }, null, 8, ["icon"]),
1103
+ I(n.$slots, "default")
947
1104
  ]));
948
1105
  }
949
- }), Ks = /* @__PURE__ */ k({
1106
+ }), hn = /* @__PURE__ */ S({
950
1107
  __name: "ExternalLink",
951
1108
  props: {
952
1109
  url: {}
@@ -955,19 +1112,19 @@ const Gs = {
955
1112
  const n = e, t = () => {
956
1113
  R.system.browsePage(n.url);
957
1114
  };
958
- return (l, a) => (i(), p("span", {
1115
+ return (l, a) => (i(), g("span", {
959
1116
  class: "external-link",
960
1117
  onClick: he(t, ["prevent"])
961
1118
  }, [
962
- C(l.$slots, "default")
1119
+ I(l.$slots, "default")
963
1120
  ]));
964
1121
  }
965
- }), ml = ["innerHTML"], Ys = /* @__PURE__ */ k({
1122
+ }), Pl = ["innerHTML"], _n = /* @__PURE__ */ S({
966
1123
  __name: "LogPrint",
967
1124
  setup(e, { expose: n }) {
968
- const t = B([]), l = X("logBoxRef");
1125
+ const t = y([]), l = le("logBoxRef");
969
1126
  function a(o) {
970
- t.value.push(`[${ft()}] ${o}`), t.value.length > 500 && t.value.shift(), Ae(() => {
1127
+ t.value.push(`[${ht()}] ${o}`), t.value.length > 500 && t.value.shift(), He(() => {
971
1128
  l.value && (l.value.scrollTop = l.value.scrollHeight);
972
1129
  });
973
1130
  }
@@ -976,43 +1133,43 @@ const Gs = {
976
1133
  reset: () => {
977
1134
  t.value = [];
978
1135
  }
979
- }), (o, r) => (i(), p("div", {
1136
+ }), (o, r) => (i(), g("div", {
980
1137
  ref_key: "logBoxRef",
981
1138
  ref: l,
982
1139
  class: "log-print-box"
983
1140
  }, [
984
- (i(!0), p(O, null, ee(t.value, (u, v) => (i(), p("div", {
1141
+ (i(!0), g(O, null, ee(t.value, (u, v) => (i(), g("div", {
985
1142
  key: v,
986
1143
  innerHTML: u,
987
1144
  class: "log-print-box__line"
988
- }, null, 8, ml))), 128))
1145
+ }, null, 8, Pl))), 128))
989
1146
  ], 512));
990
1147
  }
991
- }), je = "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", Oe = "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", Fe = "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", Ne = "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", We = "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", Ge = "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.4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5zyuf5gTsHUtOF7eZAQEBAQEBBa9G9y7jv8A3I92UdYws/qG0fqPWpWsLqtXUdhAQEBAQEBAQEBAQEEViuV8GG7jJGcncA4Z+fZ+qRnLxiS04iAgICAgICD22SV8N4oZYzk5tRGQf6glJ63VZegQEBAQEBB//9k=", fl = { class: "user-card" }, hl = { class: "user-card__face-wrapper" }, _l = ["src"], Al = {
1148
+ }), Fe = "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", Oe = "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", Ne = "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", We = "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", Ge = "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", Je = "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.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Adh6t/qVrON1WiaRLgKXDb4mP41W9sQy5R9o/AfFZjpnelDwLWdx4noyTk2YmE/1DIfHJarnjdVddJN67htLbZE/KWtOTst4jG/rOQ61I6Z3U0y6KWSCVk0Ty18bg5rhvBG4quTcMP3aO92inuLMg6RuUgH3XjY4day7y7m0giiAgICAgICAgICAgICAg6yyxwRPmlcGsjaXOJ5ABmSiMKu9wkutzqbjJnnPIXAczeQeoZBacLd3byIJi8Ygmu9rttDMSXUTHMcT97cGn+0BFt3EZSVDqSqhqmfahkbIPODmiJDFF6dfbzPXAnggeDhB5GDd17T60i27u0UiLxowvPAVs1mlfxKgcJFnyPA2j1j5KVvC96aUo6iAgICAgICAgICAgICAgrGkO6d78PSQMdlJWOEI/h3u+Ay9aRjO6jJFpyEBAQEBB6LdWy26vp6+E8eCRrx05HchLpu1NURVdPFVQu1o5mB7TzgjMLLv6+iKICAgICAgICAgICAgIMs0m3Luq9x0DHZso4wCP33bT8NVWOOd3VQVZEBAQEBAQato2ubq2xGjkOb6J+oP4DtH6j1KV1wvS2KNiAgICAgICAgICAgIOskjIo3SyHJrAXOPMAiMIuda+43Gprnk5zyuf5gTsHUtOF7eZAQEBAQEBBa9G9y7jv8A3I92UdYws/qG0fqPWpWsLqtXUdhAQEBAQEBAQEBAQEEViuV8GG7jJGcncA4Z+fZ+qRnLxiS04iAgICAgICD22SV8N4oZYzk5tRGQf6glJ63VZegQEBAQEBB//9k=", Ql = { class: "user-card" }, Ml = { class: "user-card__face-wrapper" }, Dl = ["src"], Hl = {
992
1149
  key: 0,
993
1150
  class: "user-card--blocked"
994
- }, yl = { class: "user-card__info" }, wl = { class: "user-card__row" }, xl = ["src"], bl = { class: "user-card__row" }, El = { class: "user-card__uid" }, Cl = { class: "user-card__row" }, Bl = { class: "user-card__stat__item" }, kl = { class: "user-card__stat__value" }, Sl = { class: "user-card__stat__item" }, Ql = { class: "user-card__stat__value" }, Pl = { class: "user-card__stat__item" }, zl = { class: "user-card__stat__value" }, Il = /* @__PURE__ */ k({
1151
+ }, Vl = { class: "user-card__info" }, $l = { class: "user-card__row" }, Tl = ["src"], Ll = { class: "user-card__row" }, Rl = { class: "user-card__uid" }, ql = { class: "user-card__row" }, Ul = { class: "user-card__stat__item" }, jl = { class: "user-card__stat__value" }, Fl = { class: "user-card__stat__item" }, Ol = { class: "user-card__stat__value" }, Nl = { class: "user-card__stat__item" }, Wl = { class: "user-card__stat__value" }, Gl = /* @__PURE__ */ S({
995
1152
  __name: "BiliUserCard",
996
1153
  props: {
997
1154
  user: {}
998
1155
  },
999
1156
  setup(e) {
1000
- const n = e, t = x(() => n.user.face || _e), l = x(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": je, "../../assets/images/user_level/level_2.svg": Oe, "../../assets/images/user_level/level_3.svg": Fe, "../../assets/images/user_level/level_4.svg": Ne, "../../assets/images/user_level/level_5.svg": We, "../../assets/images/user_level/level_6.svg": Ge }))[`../../assets/images/user_level/level_${n.user.level}.svg`], import.meta.url).href);
1157
+ const n = e, t = k(() => n.user.face || _e), l = k(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": Fe, "../../assets/images/user_level/level_2.svg": Oe, "../../assets/images/user_level/level_3.svg": Ne, "../../assets/images/user_level/level_4.svg": We, "../../assets/images/user_level/level_5.svg": Ge, "../../assets/images/user_level/level_6.svg": Je }))[`../../assets/images/user_level/level_${n.user.level}.svg`], import.meta.url).href);
1001
1158
  return (a, s) => {
1002
- const o = ke;
1003
- return i(), p("div", fl, [
1004
- C(a.$slots, "default"),
1005
- c("div", hl, [
1159
+ const o = Be;
1160
+ return i(), g("div", Ql, [
1161
+ I(a.$slots, "default"),
1162
+ c("div", Ml, [
1006
1163
  c("img", {
1007
1164
  class: "user-card__face",
1008
1165
  alt: "face",
1009
1166
  src: t.value
1010
- }, null, 8, _l),
1011
- e.user.silence === 1 ? (i(), p("span", Al, "账号已封禁")) : D("", !0)
1167
+ }, null, 8, Dl),
1168
+ e.user.silence === 1 ? (i(), g("span", Hl, "账号已封禁")) : Q("", !0)
1012
1169
  ]),
1013
- c("div", yl, [
1014
- c("div", wl, [
1015
- g(o, {
1170
+ c("div", Vl, [
1171
+ c("div", $l, [
1172
+ f(o, {
1016
1173
  class: "user-card__name",
1017
1174
  content: e.user.name
1018
1175
  }, null, 8, ["content"]),
@@ -1020,23 +1177,23 @@ const Gs = {
1020
1177
  class: "user-card__level",
1021
1178
  src: l.value,
1022
1179
  alt: "level"
1023
- }, null, 8, xl)
1180
+ }, null, 8, Tl)
1024
1181
  ]),
1025
- c("div", bl, [
1182
+ c("div", Ll, [
1026
1183
  s[0] || (s[0] = c("span", { class: "user-card__uid-icon" }, null, -1)),
1027
- c("span", El, h(e.user.mid), 1)
1184
+ c("span", Rl, A(e.user.mid), 1)
1028
1185
  ]),
1029
- c("div", Cl, [
1030
- c("span", Bl, [
1031
- c("span", kl, h(e.user.following), 1),
1186
+ c("div", ql, [
1187
+ c("span", Ul, [
1188
+ c("span", jl, A(e.user.following), 1),
1032
1189
  s[1] || (s[1] = c("span", { class: "user-card__stat__label" }, "关注", -1))
1033
1190
  ]),
1034
- c("span", Sl, [
1035
- c("span", Ql, h(e.user.follower), 1),
1191
+ c("span", Fl, [
1192
+ c("span", Ol, A(e.user.follower), 1),
1036
1193
  s[2] || (s[2] = c("span", { class: "user-card__stat__label" }, "粉丝", -1))
1037
1194
  ]),
1038
- c("span", Pl, [
1039
- c("span", zl, h(e.user.coins), 1),
1195
+ c("span", Nl, [
1196
+ c("span", Wl, A(e.user.coins), 1),
1040
1197
  s[3] || (s[3] = c("span", { class: "user-card__stat__label" }, "硬币", -1))
1041
1198
  ])
1042
1199
  ])
@@ -1044,48 +1201,48 @@ const Gs = {
1044
1201
  ]);
1045
1202
  };
1046
1203
  }
1047
- }), Ml = { class: "user-info info-row" }, Dl = ["src"], Hl = { class: "user-info__right" }, Vl = { class: "info-row" }, Tl = { class: "user-info__uid" }, $l = /* @__PURE__ */ k({
1204
+ }), Jl = { class: "user-info info-row" }, Zl = ["src"], Kl = { class: "user-info__right" }, Yl = { class: "info-row" }, Xl = { class: "user-info__uid" }, es = /* @__PURE__ */ S({
1048
1205
  __name: "BiliUserInfo",
1049
1206
  props: {
1050
1207
  user: {}
1051
1208
  },
1052
1209
  setup(e) {
1053
1210
  return (n, t) => {
1054
- const l = ke;
1055
- return i(), p("div", Ml, [
1056
- e.user.face ? (i(), p("img", {
1211
+ const l = Be;
1212
+ return i(), g("div", Jl, [
1213
+ e.user.face ? (i(), g("img", {
1057
1214
  key: 0,
1058
1215
  class: "user-info__face",
1059
1216
  src: e.user.face,
1060
1217
  alt: "face"
1061
- }, null, 8, Dl)) : D("", !0),
1062
- c("div", Hl, [
1063
- g(l, {
1218
+ }, null, 8, Zl)) : Q("", !0),
1219
+ c("div", Kl, [
1220
+ f(l, {
1064
1221
  class: "user-info__name",
1065
1222
  content: e.user.name
1066
1223
  }, null, 8, ["content"]),
1067
- c("div", Vl, [
1224
+ c("div", Yl, [
1068
1225
  t[0] || (t[0] = c("span", { class: "user-info__uid-icon" }, null, -1)),
1069
- c("span", Tl, h(e.user.mid), 1)
1226
+ c("span", Xl, A(e.user.mid), 1)
1070
1227
  ])
1071
1228
  ])
1072
1229
  ]);
1073
1230
  };
1074
1231
  }
1075
- }), Xs = /* @__PURE__ */ N($l, [["__scopeId", "data-v-70fe8db3"]]), Je = /* @__PURE__ */ k({
1232
+ }), An = /* @__PURE__ */ q(es, [["__scopeId", "data-v-70fe8db3"]]), Ze = /* @__PURE__ */ S({
1076
1233
  __name: "PluginMenuItem",
1077
1234
  props: {
1078
1235
  menu: {}
1079
1236
  },
1080
1237
  setup(e) {
1081
1238
  return (n, t) => {
1082
- const l = Re, a = xt;
1239
+ const l = qe, a = Et;
1083
1240
  return !e.menu.children || e.menu.children.length === 0 ? (i(), b(l, {
1084
1241
  key: 0,
1085
1242
  index: e.menu.path
1086
1243
  }, {
1087
1244
  title: d(() => [
1088
- H(h(e.menu.title), 1)
1245
+ M(A(e.menu.title), 1)
1089
1246
  ]),
1090
1247
  _: 1
1091
1248
  }, 8, ["index"])) : (i(), b(a, {
@@ -1093,10 +1250,10 @@ const Gs = {
1093
1250
  index: e.menu.path
1094
1251
  }, {
1095
1252
  title: d(() => [
1096
- H(h(e.menu.title), 1)
1253
+ M(A(e.menu.title), 1)
1097
1254
  ]),
1098
1255
  default: d(() => [
1099
- (i(!0), p(O, null, ee(e.menu.children, (s) => (i(), b(Je, {
1256
+ (i(!0), g(O, null, ee(e.menu.children, (s) => (i(), b(Ze, {
1100
1257
  key: s.path,
1101
1258
  menu: s
1102
1259
  }, null, 8, ["menu"]))), 128))
@@ -1105,7 +1262,7 @@ const Gs = {
1105
1262
  }, 8, ["index"]));
1106
1263
  };
1107
1264
  }
1108
- }), Ll = /* @__PURE__ */ k({
1265
+ }), ts = /* @__PURE__ */ S({
1109
1266
  __name: "PluginMenus",
1110
1267
  props: {
1111
1268
  menus: {},
@@ -1113,15 +1270,15 @@ const Gs = {
1113
1270
  },
1114
1271
  emits: ["handleSelect"],
1115
1272
  setup(e, { emit: n }) {
1116
- const t = e, l = (m, f = /* @__PURE__ */ new Map()) => (m.forEach((A) => {
1117
- f.set(A.path, A), A.children && A.children.length > 0 && l(A.children, f);
1118
- }), f), a = x(() => l(t.menus)), s = n, o = (m) => {
1119
- const f = a.value.get(m);
1120
- f && s("handleSelect", f);
1121
- }, r = Ve(), u = x(() => !!r["left-item"] || !!r.left), v = x(() => !!r["right-item"] || !!r.right);
1122
- return (m, f) => {
1123
- const A = Re, S = bt;
1124
- return i(), b(S, {
1273
+ const t = e, l = (p, h = /* @__PURE__ */ new Map()) => (p.forEach((w) => {
1274
+ h.set(w.path, w), w.children && w.children.length > 0 && l(w.children, h);
1275
+ }), h), a = k(() => l(t.menus)), s = n, o = (p) => {
1276
+ const h = a.value.get(p);
1277
+ h && s("handleSelect", h);
1278
+ }, r = Ve(), u = k(() => !!r["left-item"] || !!r.left), v = k(() => !!r["right-item"] || !!r.right);
1279
+ return (p, h) => {
1280
+ const w = qe, C = Bt;
1281
+ return i(), b(C, {
1125
1282
  "default-active": e.activeIndex,
1126
1283
  class: "plugin-menus",
1127
1284
  mode: "horizontal",
@@ -1129,42 +1286,42 @@ const Gs = {
1129
1286
  onSelect: o
1130
1287
  }, {
1131
1288
  default: d(() => [
1132
- u.value ? C(m.$slots, "left-item", { key: 0 }, () => [
1133
- g(A, {
1289
+ u.value ? I(p.$slots, "left-item", { key: 0 }, () => [
1290
+ f(w, {
1134
1291
  index: "-left",
1135
1292
  style: { "margin-right": "auto" }
1136
1293
  }, {
1137
1294
  default: d(() => [
1138
- C(m.$slots, "left", {}, void 0, !0)
1295
+ I(p.$slots, "left", {}, void 0, !0)
1139
1296
  ]),
1140
1297
  _: 3
1141
1298
  })
1142
- ], !0) : D("", !0),
1143
- (i(!0), p(O, null, ee(e.menus, (_) => (i(), b(Je, {
1299
+ ], !0) : Q("", !0),
1300
+ (i(!0), g(O, null, ee(e.menus, (_) => (i(), b(Ze, {
1144
1301
  key: _.path,
1145
1302
  menu: _,
1146
1303
  index: String(_.path)
1147
1304
  }, null, 8, ["menu", "index"]))), 128)),
1148
- v.value ? C(m.$slots, "right-item", { key: 1 }, () => [
1149
- g(A, {
1305
+ v.value ? I(p.$slots, "right-item", { key: 1 }, () => [
1306
+ f(w, {
1150
1307
  index: "-right",
1151
1308
  style: { "margin-left": "auto" }
1152
1309
  }, {
1153
1310
  default: d(() => [
1154
- C(m.$slots, "right", {}, void 0, !0)
1311
+ I(p.$slots, "right", {}, void 0, !0)
1155
1312
  ]),
1156
1313
  _: 3
1157
1314
  })
1158
- ], !0) : D("", !0)
1315
+ ], !0) : Q("", !0)
1159
1316
  ]),
1160
1317
  _: 3
1161
1318
  }, 8, ["default-active"]);
1162
1319
  };
1163
1320
  }
1164
- }), Rl = /* @__PURE__ */ N(Ll, [["__scopeId", "data-v-6dfc7821"]]), ql = { class: "plugin-page-header" }, Ul = { class: "plugin-page-header__user-container" }, jl = { class: "plugin-page-header__user-container__info" }, Ol = ["src"], Fl = ["src"], Nl = {
1321
+ }), ls = /* @__PURE__ */ q(ts, [["__scopeId", "data-v-6dfc7821"]]), ss = { class: "plugin-page-header" }, ns = { class: "plugin-page-header__user-container" }, as = { class: "plugin-page-header__user-container__info" }, os = ["src"], cs = ["src"], is = {
1165
1322
  key: 1,
1166
1323
  class: "plugin-page-header__user-container__info"
1167
- }, en = /* @__PURE__ */ k({
1324
+ }, wn = /* @__PURE__ */ S({
1168
1325
  __name: "PluginPageHeader",
1169
1326
  props: {
1170
1327
  menus: {},
@@ -1172,60 +1329,60 @@ const Gs = {
1172
1329
  },
1173
1330
  emits: ["handleMenuSelect"],
1174
1331
  setup(e, { emit: n }) {
1175
- const t = Ue(), { user: l } = ct(t), a = x(() => l.value?.face || _e), s = x(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": je, "../../assets/images/user_level/level_2.svg": Oe, "../../assets/images/user_level/level_3.svg": Fe, "../../assets/images/user_level/level_4.svg": Ne, "../../assets/images/user_level/level_5.svg": We, "../../assets/images/user_level/level_6.svg": Ge }))[`../../assets/images/user_level/level_${l.value?.level ?? 0}.svg`], import.meta.url).href), o = async () => {
1176
- t.setUser(await R.user.switchUser());
1332
+ const t = je(), { user: l } = it(t), a = k(() => l.value?.face || _e), s = k(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": Fe, "../../assets/images/user_level/level_2.svg": Oe, "../../assets/images/user_level/level_3.svg": Ne, "../../assets/images/user_level/level_4.svg": We, "../../assets/images/user_level/level_5.svg": Ge, "../../assets/images/user_level/level_6.svg": Je }))[`../../assets/images/user_level/level_${l.value?.level ?? 0}.svg`], import.meta.url).href), o = async () => {
1333
+ t.setUser(await R.user.switchUser(!0));
1177
1334
  }, r = () => {
1178
1335
  t.deleteUser();
1179
- }, u = n, v = (m) => {
1180
- m && u("handleMenuSelect", m);
1336
+ }, u = n, v = (p) => {
1337
+ p && u("handleMenuSelect", p);
1181
1338
  };
1182
- return le(async () => {
1339
+ return te(async () => {
1183
1340
  if (l.value)
1184
1341
  try {
1185
- const m = await R.user.getMyInfoByCookie(l.value.userCookie);
1186
- t.setUser(m);
1342
+ const p = await R.user.getMyInfoByCookie(l.value.userCookie);
1343
+ t.setUser(p);
1187
1344
  } catch {
1188
- Y("当前用户 cookie 已失效"), t.deleteUser();
1345
+ X("当前用户 cookie 已失效"), t.deleteUser();
1189
1346
  }
1190
- }), (m, f) => {
1191
- const A = Rl, S = ke, _ = Il, Q = Et, y = kt, V = Bt, P = Ct;
1192
- return i(), p("div", ql, [
1193
- g(A, {
1347
+ }), (p, h) => {
1348
+ const w = ls, C = Be, _ = Gl, P = kt, m = It, E = zt, D = St;
1349
+ return i(), g("div", ss, [
1350
+ f(w, {
1194
1351
  class: "plugin-page-header__menus",
1195
1352
  "active-index": e.activeIndex,
1196
1353
  menus: e.menus,
1197
1354
  onHandleSelect: v
1198
1355
  }, null, 8, ["active-index", "menus"]),
1199
- c("div", Ul, [
1200
- w(l) ? (i(), b(Q, {
1356
+ c("div", ns, [
1357
+ B(l) ? (i(), b(P, {
1201
1358
  key: 0,
1202
1359
  placement: "bottom-end",
1203
1360
  width: "auto",
1204
1361
  trigger: "hover"
1205
1362
  }, {
1206
1363
  reference: d(() => [
1207
- c("div", jl, [
1364
+ c("div", as, [
1208
1365
  c("img", {
1209
1366
  class: "plugin-page-header__user-container__info__face",
1210
1367
  src: a.value,
1211
1368
  alt: "face"
1212
- }, null, 8, Ol),
1213
- g(S, {
1369
+ }, null, 8, os),
1370
+ f(C, {
1214
1371
  class: "plugin-page-header__user-container__info__name",
1215
- content: w(l).name
1372
+ content: B(l).name
1216
1373
  }, null, 8, ["content"]),
1217
1374
  c("img", {
1218
1375
  class: "plugin-page-header__user-container__info__level",
1219
1376
  src: s.value,
1220
1377
  alt: "level img"
1221
- }, null, 8, Fl)
1378
+ }, null, 8, cs)
1222
1379
  ])
1223
1380
  ]),
1224
1381
  default: d(() => [
1225
- g(_, { user: w(l) }, null, 8, ["user"])
1382
+ f(_, { user: B(l) }, null, 8, ["user"])
1226
1383
  ]),
1227
1384
  _: 1
1228
- })) : (i(), p("div", Nl, [...f[0] || (f[0] = [
1385
+ })) : (i(), g("div", is, [...h[0] || (h[0] = [
1229
1386
  c("img", {
1230
1387
  class: "plugin-page-header__user-container__info__face",
1231
1388
  alt: "",
@@ -1233,35 +1390,35 @@ const Gs = {
1233
1390
  }, null, -1),
1234
1391
  c("span", { class: "plugin-page-header__user-container__info__name" }, "未登录", -1)
1235
1392
  ])])),
1236
- g(P, {
1393
+ f(D, {
1237
1394
  placement: "bottom-end",
1238
1395
  trigger: "click",
1239
1396
  size: "default"
1240
1397
  }, {
1241
1398
  dropdown: d(() => [
1242
- g(V, null, {
1399
+ f(E, null, {
1243
1400
  default: d(() => [
1244
- g(y, { onClick: o }, {
1245
- default: d(() => [...f[1] || (f[1] = [
1246
- H("选择用户", -1)
1401
+ f(m, { onClick: o }, {
1402
+ default: d(() => [...h[1] || (h[1] = [
1403
+ M("选择用户", -1)
1247
1404
  ])]),
1248
1405
  _: 1
1249
1406
  }),
1250
- w(l) ? (i(), b(y, {
1407
+ B(l) ? (i(), b(m, {
1251
1408
  key: 0,
1252
1409
  onClick: r
1253
1410
  }, {
1254
- default: d(() => [...f[2] || (f[2] = [
1255
- H("取消选择", -1)
1411
+ default: d(() => [...h[2] || (h[2] = [
1412
+ M("取消选择", -1)
1256
1413
  ])]),
1257
1414
  _: 1
1258
- })) : D("", !0)
1415
+ })) : Q("", !0)
1259
1416
  ]),
1260
1417
  _: 1
1261
1418
  })
1262
1419
  ]),
1263
1420
  default: d(() => [
1264
- f[3] || (f[3] = c("span", { class: "plugin-page-header__user-container__arrow" }, "▼", -1))
1421
+ h[3] || (h[3] = c("span", { class: "plugin-page-header__user-container__arrow" }, "▼", -1))
1265
1422
  ]),
1266
1423
  _: 1
1267
1424
  })
@@ -1269,13 +1426,13 @@ const Gs = {
1269
1426
  ]);
1270
1427
  };
1271
1428
  }
1272
- }), Wl = {}, Gl = { class: "plugin-page-container" };
1273
- function Jl(e, n) {
1274
- return i(), p("div", Gl, [
1275
- C(e.$slots, "default", {}, void 0, !0)
1429
+ }), rs = {}, us = { class: "plugin-page-container" };
1430
+ function ds(e, n) {
1431
+ return i(), g("div", us, [
1432
+ I(e.$slots, "default", {}, void 0, !0)
1276
1433
  ]);
1277
1434
  }
1278
- const tn = /* @__PURE__ */ N(Wl, [["render", Jl], ["__scopeId", "data-v-03560940"]]), Zl = { class: "page-table__toolbar" }, Kl = { class: "page-table__actions" }, Yl = /* @__PURE__ */ k({
1435
+ const yn = /* @__PURE__ */ q(rs, [["render", ds], ["__scopeId", "data-v-ddcb3392"]]), vs = { class: "page-table__toolbar" }, ps = { class: "page-table__actions" }, gs = /* @__PURE__ */ S({
1279
1436
  inheritAttrs: !1,
1280
1437
  __name: "PageTable",
1281
1438
  props: {
@@ -1292,182 +1449,175 @@ const tn = /* @__PURE__ */ N(Wl, [["render", Jl], ["__scopeId", "data-v-03560940
1292
1449
  },
1293
1450
  emits: ["reset", "search"],
1294
1451
  setup(e, { expose: n, emit: t }) {
1295
- const l = ot(), a = x(() => ({
1452
+ const l = ct(), a = k(() => ({
1296
1453
  class: l.class,
1297
1454
  style: l.style
1298
- })), s = x(() => {
1299
- const { class: W, style: q, ...ne } = l;
1455
+ })), s = k(() => {
1456
+ const { class: N, style: U, ...ne } = l;
1300
1457
  return ne;
1301
- }), o = e, r = B(!1), { pageData: u, tableData: v, loading: m, refresh: f, resetAndRefresh: A, handleSizeChange: S, handleCurrPageChange: _ } = Ht({
1458
+ }), o = e, r = y(!1), u = k(() => o.pageParams ? o.pageParams : {
1459
+ pageNum: 1,
1460
+ pageSize: o.pageSizes[0]
1461
+ }), { pageData: v, tableData: p, loading: h, refresh: w, resetAndRefresh: C, handleSizeChange: _, handleCurrPageChange: P } = Tt({
1302
1462
  fetchPage: o.fetchPage,
1303
- pageParams: o.pageParams,
1463
+ pageParams: () => u.value,
1304
1464
  queryParams: o.queryParams ? () => o.queryParams : void 0,
1305
1465
  autoLoad: o.autoLoad,
1306
1466
  onLoaded: () => {
1307
- r.value = !0, I.value?.setScrollTop(0);
1467
+ r.value = !0, x.value?.setScrollTop(0);
1308
1468
  }
1309
- }), Q = t, y = () => {
1310
- Q("search"), f();
1311
- }, V = async () => {
1312
- Q("reset"), await Ae(), await A();
1313
- }, P = X("tableWrapperRef"), I = X("tableRef"), T = B(void 0), z = async () => {
1314
- o.tableHeight ? T.value = o.tableHeight : P.value?.clientHeight && (T.value = P.value?.clientHeight);
1315
- };
1316
- let M, L = 0;
1317
- le(async () => {
1318
- P.value && (M = new ResizeObserver((W) => {
1319
- cancelAnimationFrame(L), L = requestAnimationFrame(() => {
1320
- z();
1321
- });
1322
- }), M.observe(P.value));
1323
- }), re(() => {
1324
- M?.disconnect();
1325
- });
1326
- const se = x(() => ({
1469
+ }), m = t, E = () => {
1470
+ m("search"), w();
1471
+ }, D = async () => {
1472
+ m("reset"), await He(), await C();
1473
+ }, { elementRef: $, height: V } = Lt("tableWrapperRef"), x = le("tableRef"), H = k(() => o.tableHeight ? o.tableHeight : V.value), L = k(() => ({
1327
1474
  search: o.actions.includes("search"),
1328
1475
  resetQuery: o.actions.includes("resetQuery")
1329
- })), pe = x(() => o.pageSizes && o.pageSizes.length > 1 ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), Se = !!Ve().query;
1476
+ })), ve = k(() => o.pageSizes && o.pageSizes.length > 1 ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), T = !!Ve().query;
1330
1477
  return n({
1331
- loading: m,
1332
- tableRef: I,
1333
- tableData: v,
1334
- pageData: u,
1335
- refresh: f,
1336
- resetAndRefresh: A,
1337
- getSelectionRows: I.value?.getSelectionRows,
1338
- toggleRowSelection: I.value?.toggleRowSelection,
1339
- setCurrentRow: I.value?.setCurrentRow,
1340
- clearSelection: I.value?.clearSelection,
1341
- scrollTo: I.value?.scrollTo
1342
- }), (W, q) => {
1343
- const ne = de, Ze = Qt, Ke = Pt, Ye = St, Xe = zt, et = xe;
1344
- return K((i(), p("div", J({ class: "page-table" }, a.value), [
1345
- c("div", Zl, [
1478
+ loading: h,
1479
+ tableRef: x,
1480
+ tableData: p,
1481
+ pageData: v,
1482
+ refresh: w,
1483
+ resetAndRefresh: C,
1484
+ getSelectionRows: x.value?.getSelectionRows,
1485
+ toggleRowSelection: x.value?.toggleRowSelection,
1486
+ setCurrentRow: x.value?.setCurrentRow,
1487
+ clearSelection: x.value?.clearSelection,
1488
+ scrollTo: x.value?.scrollTo
1489
+ }), (N, U) => {
1490
+ const ne = se, Ke = Qt, Ye = Mt, Xe = Pt, et = Dt, tt = ye;
1491
+ return F((i(), g("div", G({ class: "page-table" }, a.value), [
1492
+ c("div", vs, [
1346
1493
  c("div", {
1347
- class: G(["page-table__query", Se ? "has-query" : ""])
1494
+ class: W(["page-table__query", T ? "has-query" : ""])
1348
1495
  }, [
1349
- C(W.$slots, "query", {}, void 0, !0),
1350
- c("div", Kl, [
1351
- C(W.$slots, "actions", {}, void 0, !0),
1352
- se.value.search ? (i(), b(ne, {
1496
+ I(N.$slots, "query", {}, void 0, !0),
1497
+ c("div", ps, [
1498
+ I(N.$slots, "actions", {}, void 0, !0),
1499
+ L.value.search ? (i(), b(ne, {
1353
1500
  key: 0,
1354
1501
  type: "primary",
1355
- onClick: y
1502
+ onClick: E
1356
1503
  }, {
1357
1504
  default: d(() => [
1358
- H(h(e.searchActionLabel), 1)
1505
+ M(A(e.searchActionLabel), 1)
1359
1506
  ]),
1360
1507
  _: 1
1361
- })) : D("", !0),
1362
- se.value.resetQuery ? (i(), b(ne, {
1508
+ })) : Q("", !0),
1509
+ L.value.resetQuery ? (i(), b(ne, {
1363
1510
  key: 1,
1364
- onClick: V
1511
+ onClick: D
1365
1512
  }, {
1366
- default: d(() => [...q[2] || (q[2] = [
1367
- H("重置", -1)
1513
+ default: d(() => [...U[2] || (U[2] = [
1514
+ M("重置", -1)
1368
1515
  ])]),
1369
1516
  _: 1
1370
- })) : D("", !0)
1517
+ })) : Q("", !0)
1371
1518
  ])
1372
1519
  ], 2)
1373
1520
  ]),
1374
1521
  c("div", {
1375
1522
  ref_key: "tableWrapperRef",
1376
- ref: P,
1523
+ ref: $,
1377
1524
  class: "page-table__table-wrapper"
1378
1525
  }, [
1379
- r.value ? (i(), b(Ye, J({
1526
+ r.value ? (i(), b(Xe, G({
1380
1527
  key: 0,
1381
1528
  ref_key: "tableRef",
1382
- ref: I
1529
+ ref: x
1383
1530
  }, s.value, {
1384
1531
  class: "page-table__table",
1385
- data: w(v),
1532
+ data: B(p),
1386
1533
  border: "",
1387
- height: T.value,
1534
+ height: H.value,
1388
1535
  "table-layout": e.tableLayout,
1389
1536
  "highlight-current-row": e.selectionMode === "single"
1390
1537
  }), {
1391
1538
  empty: d(() => [
1392
- C(W.$slots, "empty", {}, () => [
1393
- g(Ke, { description: "没有数据" })
1539
+ I(N.$slots, "empty", {}, () => [
1540
+ f(Ye, { description: "没有数据" })
1394
1541
  ], !0)
1395
1542
  ]),
1396
1543
  default: d(() => [
1397
- e.selectionMode === "multiple" ? (i(), b(Ze, {
1544
+ e.selectionMode === "multiple" ? (i(), b(Ke, {
1398
1545
  key: 0,
1399
1546
  type: "selection",
1400
1547
  width: "55"
1401
- })) : D("", !0),
1402
- C(W.$slots, "default", {}, void 0, !0)
1548
+ })) : Q("", !0),
1549
+ I(N.$slots, "default", {}, void 0, !0)
1403
1550
  ]),
1404
1551
  _: 3
1405
- }, 16, ["data", "height", "table-layout", "highlight-current-row"])) : D("", !0)
1552
+ }, 16, ["data", "height", "table-layout", "highlight-current-row"])) : Q("", !0)
1406
1553
  ], 512),
1407
- g(Xe, {
1554
+ f(et, {
1408
1555
  class: "page-table__pagination",
1409
- "current-page": w(u).pageNum,
1410
- "onUpdate:currentPage": q[0] || (q[0] = (ge) => w(u).pageNum = ge),
1411
- "page-size": w(u).pageSize,
1412
- "onUpdate:pageSize": q[1] || (q[1] = (ge) => w(u).pageSize = ge),
1556
+ "current-page": B(v).pageNum,
1557
+ "onUpdate:currentPage": U[0] || (U[0] = (pe) => B(v).pageNum = pe),
1558
+ "page-size": B(v).pageSize,
1559
+ "onUpdate:pageSize": U[1] || (U[1] = (pe) => B(v).pageSize = pe),
1413
1560
  "page-sizes": e.pageSizes,
1414
- total: w(u).total,
1415
- layout: pe.value,
1416
- onCurrentChange: w(_),
1417
- onSizeChange: w(S)
1561
+ total: B(v).total,
1562
+ layout: ve.value,
1563
+ onCurrentChange: B(P),
1564
+ onSizeChange: B(_)
1418
1565
  }, null, 8, ["current-page", "page-size", "page-sizes", "total", "layout", "onCurrentChange", "onSizeChange"])
1419
1566
  ], 16)), [
1420
- [et, w(m)]
1567
+ [tt, B(h)]
1421
1568
  ]);
1422
1569
  };
1423
1570
  }
1424
- }), ln = /* @__PURE__ */ N(Yl, [["__scopeId", "data-v-4eca3a18"]]);
1571
+ }), bn = /* @__PURE__ */ q(gs, [["__scopeId", "data-v-7f79e7fd"]]);
1425
1572
  export {
1426
- U as AppIcon,
1427
- Gs as AppLoadingDialog,
1428
- ke as AppTooltip,
1429
- Il as BiliUserCard,
1430
- Xs as BiliUserInfo,
1431
- Fs as CountdownDialog,
1432
- Ks as ExternalLink,
1433
- Js as IconButton,
1434
- Zs as IconLabel,
1435
- dl as LoadingDialog,
1436
- Ys as LogPrint,
1437
- ol as PageRangeDialog,
1438
- ln as PageTable,
1439
- Je as PluginMenuItem,
1440
- Rl as PluginMenus,
1441
- tn as PluginPageContent,
1442
- en as PluginPageHeader,
1443
- Xt as SelectDialog,
1444
- js as SettingGroup,
1445
- Os as SettingItem,
1573
+ j as AppIcon,
1574
+ Be as AppTooltip,
1575
+ Gl as BiliUserCard,
1576
+ An as BiliUserInfo,
1577
+ un as CountdownDialog,
1578
+ hn as ExternalLink,
1579
+ mn as IconButton,
1580
+ fn as IconLabel,
1581
+ fl as LoadingDialog,
1582
+ _n as LogPrint,
1583
+ ul as PageRangeDialog,
1584
+ bn as PageTable,
1585
+ Ze as PluginMenuItem,
1586
+ ls as PluginMenus,
1587
+ yn as PluginPageContent,
1588
+ wn as PluginPageHeader,
1589
+ kl as ProcessDialog,
1590
+ sl as SelectDialog,
1591
+ cn as SettingGroup,
1592
+ rn as SettingItem,
1446
1593
  be as baseUpdateThemeColor,
1447
- De as blackColor,
1448
- $s as handleError,
1449
- Ms as initAppTheme,
1450
- Ts as initBilitoolkitUi,
1451
- me as initTransparentColors,
1452
- Ee as isDarkTheme,
1453
- Dt as showConfirm,
1454
- Rs as showConfirmSequence,
1455
- Y as showError,
1456
- Ws as showPageRangeDialog,
1457
- Ns as showSelectDialog,
1594
+ Qe as blackColor,
1595
+ ln as handleError,
1596
+ Ks as initAppTheme,
1597
+ tn as initBilitoolkitUi,
1598
+ ge as initTransparentColors,
1599
+ xe as isDarkTheme,
1600
+ pn as loadingDialog,
1601
+ gn as processDialog,
1602
+ $t as showConfirm,
1603
+ nn as showConfirmSequence,
1604
+ X as showError,
1605
+ vn as showPageRangeDialog,
1606
+ dn as showSelectDialog,
1458
1607
  Ce as showToast,
1459
- Ls as showWarning,
1460
- Ds as switchDefaultTheme,
1461
- Hs as switchThemeMode,
1608
+ sn as showWarning,
1609
+ Ys as switchDefaultTheme,
1610
+ Xs as switchThemeMode,
1462
1611
  R as toolkitApi,
1463
- ie as updateAppTheme,
1464
- Vs as updatePrimaryColor,
1465
- ve as useAppThemeStore,
1466
- qs as useAutoRefreshData,
1467
- Ft as useCountdown,
1468
- Be as useLoadingData,
1469
- Ht as usePageTable,
1470
- Us as useSelectData,
1471
- Ue as useSelectedUserStore,
1472
- Me as whiteColor
1612
+ re as updateAppTheme,
1613
+ en as updatePrimaryColor,
1614
+ de as useAppThemeStore,
1615
+ an as useAutoRefreshData,
1616
+ Jt as useCountdown,
1617
+ Lt as useElementHeight,
1618
+ Ee as useLoadingData,
1619
+ Tt as usePageTable,
1620
+ on as useSelectData,
1621
+ je as useSelectedUserStore,
1622
+ Pe as whiteColor
1473
1623
  };