bilitoolkit-ui 0.0.4 → 0.0.6

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