bilitoolkit-ui 0.0.3 → 0.0.5

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