@skyfox2000/webui 1.2.6 → 1.2.8

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.
Files changed (32) hide show
  1. package/README.md +441 -91
  2. package/lib/assets/modules/{file-upload-Cf9uxE2y.js → file-upload-CZO-pMJd.js} +38 -41
  3. package/lib/assets/modules/{form-excel-DnROEQ0w.js → form-excel-N-2OYqKv.js} +1 -1
  4. package/lib/assets/modules/{index-DvbJb5Ha.js → index-BnHnS9ug.js} +2 -2
  5. package/lib/assets/modules/{index-BkbOMv2e.js → index-CTVMLeDF.js} +1 -1
  6. package/lib/assets/modules/{index-D4mESG0b.js → index-D9kzQ23e.js} +683 -661
  7. package/lib/assets/modules/{menuTabs-DgX7pUbX.js → menuTabs-BtOiocOC.js} +196 -175
  8. package/lib/assets/modules/{toolIcon-C0bp66dj.js → toolIcon-B9Mw9Ktm.js} +1 -1
  9. package/lib/assets/modules/{uploadList-CWhqNLX9.js → uploadList-B4LxzsC6.js} +3 -3
  10. package/lib/components/common/icon/index.vue.d.ts +1 -1
  11. package/lib/es/AceEditor/index.js +3 -3
  12. package/lib/es/BasicLayout/index.js +3 -3
  13. package/lib/es/Error403/index.js +1 -1
  14. package/lib/es/Error404/index.js +1 -1
  15. package/lib/es/ExcelForm/index.js +4 -4
  16. package/lib/es/UploadForm/index.js +4 -4
  17. package/lib/index.d.ts +1 -1
  18. package/lib/stores/userInfo.d.ts +3 -1
  19. package/lib/utils/main-openapis.d.ts +0 -1
  20. package/lib/webui.css +1 -1
  21. package/lib/webui.es.js +234 -243
  22. package/package.json +2 -2
  23. package/src/components/layout/header/headerExits.vue +5 -4
  24. package/src/components/layout/header/index.vue +4 -2
  25. package/src/components/layout/header/user.vue +4 -1
  26. package/src/directives/permission.ts +14 -10
  27. package/src/index.ts +1 -9
  28. package/src/stores/appInfo.ts +64 -26
  29. package/src/stores/pageInfo.ts +1 -0
  30. package/src/stores/settingInfo.ts +1 -7
  31. package/src/stores/userInfo.ts +77 -52
  32. package/src/utils/main-openapis.ts +1 -9
package/lib/webui.es.js CHANGED
@@ -1,23 +1,23 @@
1
- import { u as Xe, i as X, a as ve, c as Ze, P as te, o as ie, b as et, d as Pe, e as Ee, r as oe, f as tt, g as at, h as Fe, j as lt, k as A, l as Ne, m as Re, n as V, p as ke, q as rt, s as st, O as Oe, t as Me, _ as ot, v as nt, w as it, x as ct, y as ut, z as dt, A as Be } from "./assets/modules/index-D4mESG0b.js";
2
- import { a7 as bl, L as xl, M as yl, S as kl, a6 as wl, a4 as Cl, a5 as Sl, a8 as $l, V as Tl, Q as Il, a2 as Dl, $ as Pl, K as El, H as Fl, a1 as Nl, R as Rl, C as Ol, X as Ml, a0 as Bl, a3 as Al, J as zl, I as Ll, N as Ul, a9 as Yl, B as Vl, Z as Kl, aa as Hl, U as jl, W as Ql, T as ql, ab as Wl, D as Gl, E as Jl, ac as Xl, G as Zl, ad as er, F as tr, Y as ar } from "./assets/modules/index-D4mESG0b.js";
3
- import { A as rr, U as sr, a as or, g as nr, c as ir, d as cr, m as ur, p as dr, u as pr, b as fr } from "./assets/modules/file-upload-Cf9uxE2y.js";
1
+ import { u as Xe, i as X, a as ve, c as Ze, P as te, o as ie, b as et, d as Pe, e as Ee, r as oe, f as tt, g as at, h as Fe, j as lt, k as A, l as Ne, m as Re, n as V, p as ke, q as rt, s as st, O as Oe, t as Me, _ as ot, v as nt, w as it, x as ct, y as ut, z as dt, A as Be } from "./assets/modules/index-D9kzQ23e.js";
2
+ import { a7 as gl, L as _l, M as bl, S as xl, a6 as yl, a4 as kl, a5 as wl, a8 as Cl, V as Sl, Q as $l, a2 as Tl, $ as Il, K as Dl, H as Pl, a1 as El, R as Fl, C as Nl, X as Rl, a0 as Ol, a3 as Ml, J as Bl, I as Al, N as zl, a9 as Ul, B as Ll, Z as Yl, aa as Vl, U as Kl, W as Hl, T as jl, ab as Ql, D as ql, E as Wl, ac as Gl, G as Jl, ad as Xl, F as Zl, Y as er } from "./assets/modules/index-D9kzQ23e.js";
3
+ import { A as ar, U as lr, a as rr, g as sr, c as or, d as nr, p as ir, u as cr, b as ur } from "./assets/modules/file-upload-CZO-pMJd.js";
4
4
  import { EnvConfig as we } from "@skyfox2000/microbase";
5
5
  import { FrontCache as le, httpPost as Ae, ResStatus as ze, SERVER_HOST as pt, fieldMapping as re } from "@skyfox2000/fapi";
6
6
  import ne from "vue-m-message";
7
- import { defineComponent as w, createBlock as _, openBlock as m, withModifiers as Z, unref as l, useAttrs as J, withCtx as h, createElementVNode as T, createVNode as y, mergeProps as F, renderSlot as E, normalizeStyle as me, toDisplayString as P, createCommentVNode as k, ref as b, provide as Le, watch as $, onMounted as z, createTextVNode as N, inject as he, resolveDirective as ae, withDirectives as j, computed as G, createElementBlock as C, normalizeClass as M, createSlots as Ue, useSlots as ft, Fragment as O, renderList as L, resolveDynamicComponent as vt, onUnmounted as Ye, onActivated as mt, withKeys as Ce } from "vue";
7
+ import { defineComponent as w, createBlock as _, openBlock as m, withModifiers as Z, unref as l, useAttrs as J, withCtx as h, createElementVNode as T, createVNode as y, mergeProps as E, renderSlot as P, normalizeStyle as me, toDisplayString as F, createCommentVNode as k, ref as b, provide as Ue, watch as $, onMounted as z, createTextVNode as N, inject as he, resolveDirective as ae, withDirectives as j, computed as G, createElementBlock as S, normalizeClass as M, createSlots as Le, useSlots as ft, Fragment as O, renderList as U, resolveDynamicComponent as vt, onUnmounted as Ye, onActivated as mt, withKeys as Ce } from "vue";
8
8
  import "async-validator";
9
9
  import de from "dayjs";
10
10
  import { Popover as ht, theme as Ve, Drawer as gt, Space as ee, Form as Ke, message as _t, FormItem as He, ConfigProvider as Se, Popconfirm as bt, Button as je, DropdownButton as xt, Menu as ge, MenuItem as _e, Dropdown as pe, Checkbox as yt, Switch as kt, Table as Qe, Tree as wt, Cascader as Ct, DatePicker as St, Input as fe, InputPassword as $t, InputNumber as Tt, RangePicker as It, Textarea as Dt, Transfer as Pt, TreeSelect as Et, LayoutContent as Ft } from "ant-design-vue";
11
11
  import { VueDraggableNext as Nt } from "vue-draggable-next";
12
- import { d as qe } from "./assets/modules/uploadList-CWhqNLX9.js";
13
- import { _ as mr, a as hr } from "./assets/modules/uploadList-CWhqNLX9.js";
14
- import { c as _r, p as br, v as xr } from "./assets/modules/form-excel-DnROEQ0w.js";
15
- import { _ as B } from "./assets/modules/index-BkbOMv2e.js";
16
- import { _ as U } from "./assets/modules/toolIcon-C0bp66dj.js";
17
- import { a as kr } from "./assets/modules/toolIcon-C0bp66dj.js";
18
- import { _ as Q } from "./assets/modules/menuTabs-DgX7pUbX.js";
19
- import { a as Cr, c as Sr, d as $r, e as Tr, I as Ir, f as Dr, g as Pr, b as Er } from "./assets/modules/menuTabs-DgX7pUbX.js";
20
- import { _ as Nr } from "./assets/modules/index-DvbJb5Ha.js";
12
+ import { d as qe } from "./assets/modules/uploadList-B4LxzsC6.js";
13
+ import { _ as pr, a as fr } from "./assets/modules/uploadList-B4LxzsC6.js";
14
+ import { c as mr, p as hr, v as gr } from "./assets/modules/form-excel-N-2OYqKv.js";
15
+ import { _ as B } from "./assets/modules/index-CTVMLeDF.js";
16
+ import { _ as L } from "./assets/modules/toolIcon-B9Mw9Ktm.js";
17
+ import { a as br } from "./assets/modules/toolIcon-B9Mw9Ktm.js";
18
+ import { _ as Q } from "./assets/modules/menuTabs-BtOiocOC.js";
19
+ import { a as yr, c as kr, d as wr, e as Cr, f as Sr, I as $r, g as Tr, h as Ir, b as Dr } from "./assets/modules/menuTabs-BtOiocOC.js";
20
+ import { _ as Er } from "./assets/modules/index-BnHnS9ug.js";
21
21
  const $e = (r, a, t, e = "remove") => {
22
22
  if (!t)
23
23
  if (e === "disable") {
@@ -31,12 +31,15 @@ const $e = (r, a, t, e = "remove") => {
31
31
  }
32
32
  }
33
33
  }, Te = (r) => {
34
- const a = Xe(), { url: t, role: e, permit: o } = r, n = t;
34
+ const a = Xe(), { url: t, role: e, permit: o } = r;
35
+ if (X(e) && X(o))
36
+ return !0;
37
+ const n = t;
35
38
  if (we.VITE_PERMISSION_MODE === "role")
36
- return !X(e) && e !== void 0 ? a.hasRole(e) : !0;
39
+ return X(e) ? !0 : a.hasRole(e);
37
40
  if (we.VITE_PERMISSION_MODE === "permit") {
38
41
  let p = !1, u = !1;
39
- return !X(e) && e !== void 0 && (p = a.hasRole(e)), !X(o) && typeof o == "string" && (u = a.hasPermit(n, o)), X(e) && X(o) ? !0 : p || u;
42
+ return X(e) || (p = a.hasRole(e)), a.isAdmin() ? p : (X(o) || (u = a.hasPermit(n, o)), p || u);
40
43
  }
41
44
  return !1;
42
45
  }, Rt = {
@@ -61,7 +64,7 @@ const $e = (r, a, t, e = "remove") => {
61
64
  }, ce = {
62
65
  auth: Rt,
63
66
  submit: Ot
64
- }, Va = (r, a) => ((a || Object.keys(ce)).forEach((e) => {
67
+ }, Ya = (r, a) => ((a || Object.keys(ce)).forEach((e) => {
65
68
  e in ce && r.directive(e, ce[e]);
66
69
  }), r), K = (r, a) => {
67
70
  const t = r.find((e) => e.key === a);
@@ -108,13 +111,13 @@ const $e = (r, a, t, e = "remove") => {
108
111
  }
109
112
  }, zt = (r, a) => {
110
113
  a.selectable.value = !a.selectable.value, a.selectable.value || (a.selectKeys.value = [], a.selectRows.value = []);
111
- }, Lt = (r, a) => {
114
+ }, Ut = (r, a) => {
112
115
  a.rowExpand.value = !a.rowExpand.value;
113
116
  }, Ie = (r, a) => {
114
117
  a.selectable.value = !a.selectable.value;
115
118
  }, Y = (r, a, t, e, o) => {
116
119
  (!r.confirm || o) && r.click && (a ? r.click(a, t, e) : r.click(null, t, e)), Yt(r);
117
- }, Ut = (r, a) => {
120
+ }, Lt = (r, a) => {
118
121
  a.selectable.value = !a.selectable.value;
119
122
  }, We = () => {
120
123
  const r = ve();
@@ -158,7 +161,7 @@ const $e = (r, a, t, e = "remove") => {
158
161
  icon: "icon-row-collapse",
159
162
  iconStatus: 0,
160
163
  icons: ["icon-row-collapse", "icon-row-expand"],
161
- click: Lt
164
+ click: Ut
162
165
  },
163
166
  {
164
167
  key: "tool.export.excel",
@@ -185,7 +188,7 @@ const $e = (r, a, t, e = "remove") => {
185
188
  {
186
189
  key: "tool.export.pdf.selected",
187
190
  label: "选中的记录",
188
- click: Ut
191
+ click: Lt
189
192
  }
190
193
  ]
191
194
  },
@@ -272,7 +275,7 @@ class Ge {
272
275
  return a && typeof a == "object" && "data" in a && "lastTime" in a && typeof a.lastTime == "number";
273
276
  }
274
277
  }
275
- async function Ka() {
278
+ async function Va() {
276
279
  try {
277
280
  const r = await Ae(
278
281
  {
@@ -305,7 +308,7 @@ async function Ka() {
305
308
  console.error("检查缓存更新失败", r);
306
309
  }
307
310
  }
308
- const Ha = async (r, a, t) => {
311
+ const Ka = async (r, a, t) => {
309
312
  try {
310
313
  const o = (await import("@json2csv/plainjs")).Parser, n = Je(r), p = a.filter((v) => v.visible !== !1 && v.export !== !1), u = p.map((v) => ({
311
314
  label: v.title,
@@ -313,8 +316,8 @@ const Ha = async (r, a, t) => {
313
316
  })), i = t.map((v) => {
314
317
  const f = { ...v };
315
318
  return p.forEach((g) => {
316
- const S = g.dataIndex || g.key;
317
- S && g.customRender && (f[S] = g.customRender(v[S], v));
319
+ const C = g.dataIndex || g.key;
320
+ C && g.customRender && (f[C] = g.customRender(v[C], v));
318
321
  }), f;
319
322
  }), d = new o({ fields: u }).parse(i), s = new Blob([`\uFEFF${d}`], { type: "text/csv" });
320
323
  qe(s, n);
@@ -324,7 +327,7 @@ const Ha = async (r, a, t) => {
324
327
  }, Je = (r) => {
325
328
  const a = /\{([^}]+)\}/g;
326
329
  return r.replace(a, (t, e) => de().format(e));
327
- }, ja = async (r, a, t, e) => {
330
+ }, Ha = async (r, a, t, e) => {
328
331
  try {
329
332
  const n = (await import("@json2csv/plainjs")).Parser, p = Je(r), u = a.filter((s) => s.visible !== !1), i = u.map((s) => ({
330
333
  label: s.title,
@@ -339,18 +342,18 @@ const Ha = async (r, a, t) => {
339
342
  const q = R.dataIndex || R.key;
340
343
  q && R.customRender && (x[q] = R.customRender(D[q], D));
341
344
  }), x;
342
- }), S = new n({ fields: i }).parse(f), I = new Blob([`\uFEFF${S}`], { type: "text/csv" });
345
+ }), C = new n({ fields: i }).parse(f), I = new Blob([`\uFEFF${C}`], { type: "text/csv" });
343
346
  qe(I, p);
344
347
  }
345
348
  });
346
349
  } catch (o) {
347
350
  console.error("导出失败:", o), ne.error("文件导出失败,请稍后重试");
348
351
  }
349
- }, Qa = /* @__PURE__ */ w({
352
+ }, ja = /* @__PURE__ */ w({
350
353
  __name: "fullscreen",
351
354
  setup(r) {
352
355
  const a = ve();
353
- return (t, e) => (m(), _(U, {
356
+ return (t, e) => (m(), _(L, {
354
357
  onClick: Z(l(We), ["stop"]),
355
358
  icon: l(a).fullscreen ? "icon-exitscreen" : "icon-fullscreen",
356
359
  class: "w-[17px] h-[17px]"
@@ -367,16 +370,16 @@ const Ha = async (r, a, t) => {
367
370
  const a = J();
368
371
  return (t, e) => (m(), _(l(ht), { placement: "topRight" }, {
369
372
  content: h(() => [
370
- E(t.$slots, "default", {}, () => [
373
+ P(t.$slots, "default", {}, () => [
371
374
  T("div", {
372
375
  class: "text-[14px]",
373
376
  style: me({ maxWidth: t.maxWidth })
374
- }, P(t.text), 5)
377
+ }, F(t.text), 5)
375
378
  ])
376
379
  ]),
377
380
  default: h(() => [
378
381
  T("span", jt, [
379
- y(U, F({
382
+ y(L, E({
380
383
  icon: "icon-question-circle",
381
384
  class: "text-[#888] w-4 h-4"
382
385
  }, l(a)), null, 16)
@@ -385,7 +388,7 @@ const Ha = async (r, a, t) => {
385
388
  _: 3
386
389
  }));
387
390
  }
388
- }), qa = /* @__PURE__ */ w({
391
+ }), Qa = /* @__PURE__ */ w({
389
392
  __name: "layoutIcon",
390
393
  props: {
391
394
  icon: {
@@ -402,14 +405,14 @@ const Ha = async (r, a, t) => {
402
405
  icon: a.icon,
403
406
  icons: a.icons
404
407
  });
405
- return (o, n) => r.icon || r.icons ? (m(), _(l(e), F({
408
+ return (o, n) => r.icon || r.icons ? (m(), _(l(e), E({
406
409
  key: 0,
407
410
  icon: r.icon,
408
411
  icons: r.icons,
409
412
  class: ["align-middle"]
410
413
  }, o.$attrs), null, 16, ["icon", "icons"])) : k("", !0);
411
414
  }
412
- }), qt = { class: "hover:bg-gray-200 w-[24px] h-[24px] rounded-md" }, Wa = /* @__PURE__ */ w({
415
+ }), qt = { class: "hover:bg-gray-200 w-[24px] h-[24px] rounded-md" }, qa = /* @__PURE__ */ w({
413
416
  __name: "index",
414
417
  props: {
415
418
  saveText: {},
@@ -419,7 +422,7 @@ const Ha = async (r, a, t) => {
419
422
  },
420
423
  setup(r) {
421
424
  const { useToken: a } = Ve, { token: t } = a(), e = b(!1), n = r.editorCtrl;
422
- Le(te.EditorControl, n), $(
425
+ Ue(te.EditorControl, n), $(
423
426
  () => n.visible.value,
424
427
  (u) => {
425
428
  e.value = u ?? !1;
@@ -455,7 +458,7 @@ const Ha = async (r, a, t) => {
455
458
  }, {
456
459
  extra: h(() => [
457
460
  T("div", qt, [
458
- y(l(U), {
461
+ y(l(L), {
459
462
  class: "top-[-2px] left-[2px] w-6 h-6",
460
463
  icon: "icon-new",
461
464
  angle: 45,
@@ -468,7 +471,7 @@ const Ha = async (r, a, t) => {
468
471
  ])
469
472
  ]),
470
473
  default: h(() => [
471
- E(u.$slots, "default")
474
+ P(u.$slots, "default")
472
475
  ]),
473
476
  footer: h(() => [
474
477
  y(l(ee), null, {
@@ -478,7 +481,7 @@ const Ha = async (r, a, t) => {
478
481
  onClick: i[1] || (i[1] = () => l(ie)(l(n)))
479
482
  }, {
480
483
  default: h(() => [
481
- N(P(u.cancelText ?? "取消"), 1)
484
+ N(F(u.cancelText ?? "取消"), 1)
482
485
  ]),
483
486
  _: 1
484
487
  })) : k("", !0),
@@ -489,7 +492,7 @@ const Ha = async (r, a, t) => {
489
492
  loading: l(n).isFormSaving.value
490
493
  }, {
491
494
  default: h(() => [
492
- N(P(u.saveAsText ?? "另存为"), 1)
495
+ N(F(u.saveAsText ?? "另存为"), 1)
493
496
  ]),
494
497
  _: 1
495
498
  }, 8, ["loading"])) : k("", !0),
@@ -500,7 +503,7 @@ const Ha = async (r, a, t) => {
500
503
  loading: l(n).isFormSaving.value
501
504
  }, {
502
505
  default: h(() => [
503
- N(P(u.saveText ?? "保存"), 1)
506
+ N(F(u.saveText ?? "保存"), 1)
504
507
  ]),
505
508
  _: 1
506
509
  }, 8, ["loading"])) : k("", !0)
@@ -511,7 +514,7 @@ const Ha = async (r, a, t) => {
511
514
  _: 3
512
515
  }, 8, ["open", "header-style"]));
513
516
  }
514
- }), Ga = /* @__PURE__ */ w({
517
+ }), Wa = /* @__PURE__ */ w({
515
518
  __name: "index",
516
519
  props: {
517
520
  labelWidth: {},
@@ -533,7 +536,7 @@ const Ha = async (r, a, t) => {
533
536
  }
534
537
  }, {
535
538
  default: h(() => [
536
- E(e.$slots, "default")
539
+ P(e.$slots, "default")
537
540
  ]),
538
541
  _: 3
539
542
  }, 8, ["label-col", "wrapper-col"])), [
@@ -549,7 +552,7 @@ const Ha = async (r, a, t) => {
549
552
  }), Wt = { class: "w-full flex items-center" }, Gt = { class: "flex-grow" }, Jt = { class: "w-8 mt-[-2px]" }, Xt = {
550
553
  key: 1,
551
554
  class: "absolute bottom-[3px] left-[85px] text-[12px] text-[#ff4d4fcc] block"
552
- }, Ja = /* @__PURE__ */ w({
555
+ }, Ga = /* @__PURE__ */ w({
553
556
  inheritAttrs: !1,
554
557
  __name: "formItem",
555
558
  props: {
@@ -575,10 +578,10 @@ const Ha = async (r, a, t) => {
575
578
  const i = p(a.rule.split("."), (c = e == null ? void 0 : e.formRules) == null ? void 0 : c.value);
576
579
  return i ? i.required ?? !0 : (_t.error(`"${a.label}" 的验证规则 \`${a.rule}\` 不存在`), o.value.errClass = "text-[#ff4d4f]", o.value.msg = `规则 \`${a.rule}\` 不存在,请检查代码!`, !0);
577
580
  });
578
- return (i, c) => (m(), C("div", {
581
+ return (i, c) => (m(), S("div", {
579
582
  class: M(["w-full relative mb-1", i.width])
580
583
  }, [
581
- n.value ? (m(), _(l(He), F({
584
+ n.value ? (m(), _(l(He), E({
582
585
  key: 0,
583
586
  required: u.value,
584
587
  class: "!w-[95%] relative"
@@ -588,15 +591,15 @@ const Ha = async (r, a, t) => {
588
591
  label: h(() => [
589
592
  T("span", {
590
593
  class: M([l(o).errClass ? "text-[#ff4d4f]" : "", "w-full"])
591
- }, P(i.label), 3)
594
+ }, F(i.label), 3)
592
595
  ]),
593
596
  default: h(() => [
594
597
  T("div", Wt, [
595
598
  T("div", Gt, [
596
- E(i.$slots, "default")
599
+ P(i.$slots, "default")
597
600
  ]),
598
601
  T("div", Jt, [
599
- E(i.$slots, "helper", {}, () => [
602
+ P(i.$slots, "helper", {}, () => [
600
603
  i.helper ? (m(), _(l(Qt), {
601
604
  key: 0,
602
605
  text: i.helper
@@ -607,7 +610,7 @@ const Ha = async (r, a, t) => {
607
610
  ]),
608
611
  _: 3
609
612
  }, 16, ["required", "class"])) : k("", !0),
610
- l(o).errClass ? (m(), C("span", Xt, P(l(o).msg), 1)) : k("", !0)
613
+ l(o).errClass ? (m(), S("span", Xt, F(l(o).msg), 1)) : k("", !0)
611
614
  ], 2));
612
615
  }
613
616
  }), Zt = { class: "w-1/3 relative mb-1" }, ea = { class: "flex items-center" }, ta = { class: "flex-grow pl-1" }, aa = {
@@ -623,18 +626,18 @@ const Ha = async (r, a, t) => {
623
626
  },
624
627
  setup(r) {
625
628
  const a = r, t = J(), e = he(te.EditorControl, void 0), o = Ee(a, e);
626
- return (n, p) => (m(), C("div", Zt, [
627
- y(l(He), F({
629
+ return (n, p) => (m(), S("div", Zt, [
630
+ y(l(He), E({
628
631
  required: n.rule !== void 0,
629
632
  class: "w-[90%] relative"
630
633
  }, l(t), {
631
634
  class: [n.rule ? "" : "mb-3", n.width],
632
635
  labelCol: { span: 6 }
633
- }), Ue({
636
+ }), Le({
634
637
  default: h(() => [
635
638
  T("div", ea, [
636
639
  T("div", ta, [
637
- E(n.$slots, "default")
640
+ P(n.$slots, "default")
638
641
  ])
639
642
  ])
640
643
  ]),
@@ -645,15 +648,15 @@ const Ha = async (r, a, t) => {
645
648
  fn: h(() => [
646
649
  T("span", {
647
650
  class: M([l(o).errClass ? "text-[#ff4d4f]" : "", "w-full"])
648
- }, P(n.label), 3)
651
+ }, F(n.label), 3)
649
652
  ]),
650
653
  key: "0"
651
654
  } : void 0
652
655
  ]), 1040, ["required", "class"]),
653
- l(o).msg ? (m(), C("span", aa, P(l(o).msg), 1)) : k("", !0)
656
+ l(o).msg ? (m(), S("span", aa, F(l(o).msg), 1)) : k("", !0)
654
657
  ]));
655
658
  }
656
- }), Xa = /* @__PURE__ */ w({
659
+ }), Ja = /* @__PURE__ */ w({
657
660
  __name: "index",
658
661
  props: {
659
662
  search: {},
@@ -664,8 +667,8 @@ const Ha = async (r, a, t) => {
664
667
  setup(r, { emit: a }) {
665
668
  const t = r, e = a, o = b(0), n = b(0), p = b(0), u = (f) => {
666
669
  let g = 0;
667
- for (let S = 0; S < f.length; S++)
668
- typeof f[S].type == "object" && g++;
670
+ for (let C = 0; C < f.length; C++)
671
+ typeof f[C].type == "object" && g++;
669
672
  return g;
670
673
  }, i = ft(), c = () => {
671
674
  n.value = 0, p.value = 0, i.default && (n.value = u(i.default({}))), t.gridCtrl.searchBar && i.control && (p.value = u(i.control({}))), o.value = 2 - (n.value + p.value) % 3;
@@ -693,8 +696,8 @@ const Ha = async (r, a, t) => {
693
696
  var g;
694
697
  let f = { ...t.search };
695
698
  if (t.likeFields)
696
- for (const S of t.likeFields)
697
- f[S] && (f[S] = { $like: "%" + f[S] + "%" });
699
+ for (const C of t.likeFields)
700
+ f[C] && (f[C] = { $like: "%" + f[C] + "%" });
698
701
  t.gridCtrl.gridQuery = {
699
702
  ...t.gridCtrl.gridQuery,
700
703
  Query: {
@@ -709,7 +712,7 @@ const Ha = async (r, a, t) => {
709
712
  e("update:search", f);
710
713
  };
711
714
  return (f, g) => {
712
- const S = ae("submit");
715
+ const C = ae("submit");
713
716
  return n.value + p.value > 0 ? j((m(), _(l(Ke), {
714
717
  key: 0,
715
718
  "label-col": { flex: "60px" },
@@ -720,8 +723,8 @@ const Ha = async (r, a, t) => {
720
723
  class: "flex mb-[10px]"
721
724
  }, {
722
725
  default: h(() => [
723
- E(f.$slots, "default"),
724
- f.gridCtrl.searchBar ? E(f.$slots, "control", { key: 0 }) : k("", !0),
726
+ P(f.$slots, "default"),
727
+ f.gridCtrl.searchBar ? P(f.$slots, "control", { key: 0 }) : k("", !0),
725
728
  o.value >= 1 ? (m(), _(ue, {
726
729
  key: 1,
727
730
  class: "w-1/3"
@@ -768,7 +771,7 @@ const Ha = async (r, a, t) => {
768
771
  ]),
769
772
  _: 3
770
773
  })), [
771
- [S, s]
774
+ [C, s]
772
775
  ]) : k("", !0);
773
776
  };
774
777
  }
@@ -825,7 +828,7 @@ const Ha = async (r, a, t) => {
825
828
  default: h(() => [
826
829
  y(l(ee), null, {
827
830
  default: h(() => [
828
- (m(!0), C(O, null, L(l(n), (s) => (m(), C(O, {
831
+ (m(!0), S(O, null, U(l(n), (s) => (m(), S(O, {
829
832
  key: s.key
830
833
  }, [
831
834
  l(W)(s, a.record) ? (m(), _(l(bt), {
@@ -851,7 +854,7 @@ const Ha = async (r, a, t) => {
851
854
  })
852
855
  }, {
853
856
  default: h(() => [
854
- N(P(s.label), 1)
857
+ N(F(s.label), 1)
855
858
  ]),
856
859
  _: 2
857
860
  }, 1032, ["type", "danger", "disabled", "onClick", "style"])), [
@@ -873,7 +876,7 @@ const Ha = async (r, a, t) => {
873
876
  overlay: h(() => [
874
877
  y(l(ge), null, {
875
878
  default: h(() => [
876
- (m(!0), C(O, null, L(l(p), (s) => (m(), C(O, {
879
+ (m(!0), S(O, null, U(l(p), (s) => (m(), S(O, {
877
880
  key: s.key
878
881
  }, [
879
882
  l(W)(s, a.record) ? j((m(), _(l(_e), {
@@ -882,7 +885,7 @@ const Ha = async (r, a, t) => {
882
885
  onClick: (v) => l(Y)(s, l(t).page, l(t), a.record)
883
886
  }, {
884
887
  default: h(() => [
885
- N(P(s.label), 1)
888
+ N(F(s.label), 1)
886
889
  ]),
887
890
  _: 2
888
891
  }, 1032, ["disabled", "onClick"])), [
@@ -934,8 +937,8 @@ const Ha = async (r, a, t) => {
934
937
  const p = () => {
935
938
  t.columns.value.splice(0, t.columns.value.length, ...n.value), o.setTableColumns(oe.currentRoute.value.path, t.columns.value);
936
939
  };
937
- return (u, i) => (m(), C("div", ra, [
938
- (m(!0), C(O, null, L(l(e), (c, d) => (m(), C(O, {
940
+ return (u, i) => (m(), S("div", ra, [
941
+ (m(!0), S(O, null, U(l(e), (c, d) => (m(), S(O, {
939
942
  key: c.key
940
943
  }, [
941
944
  l(W)(c) && c.dropdown ? (m(), _(l(pe), {
@@ -956,7 +959,7 @@ const Ha = async (r, a, t) => {
956
959
  handle: ".drag-handle"
957
960
  }, {
958
961
  default: h(() => [
959
- (m(!0), C(O, null, L(n.value, (s) => (m(), C("div", {
962
+ (m(!0), S(O, null, U(n.value, (s) => (m(), S("div", {
960
963
  key: s.name,
961
964
  onClick: i[0] || (i[0] = Z(() => {
962
965
  }, ["stop"])),
@@ -974,7 +977,7 @@ const Ha = async (r, a, t) => {
974
977
  class: "text-gray-700 hover:text-gray-900 select-none"
975
978
  }, {
976
979
  default: h(() => [
977
- N(P(s.title), 1)
980
+ N(F(s.title), 1)
978
981
  ]),
979
982
  _: 2
980
983
  }, 1032, ["checked", "onChange"])
@@ -996,7 +999,7 @@ const Ha = async (r, a, t) => {
996
999
  onClick: (s) => l(Y)(c, l(t).page, l(t))
997
1000
  }, {
998
1001
  default: h(() => [
999
- y(l(U), {
1002
+ y(l(L), {
1000
1003
  icon: c.icon,
1001
1004
  class: "w-[18px] h-[18.5px]",
1002
1005
  clickable: ""
@@ -1018,7 +1021,7 @@ const Ha = async (r, a, t) => {
1018
1021
  onClick: (s) => l(Y)(c, l(t).page, l(t))
1019
1022
  }, {
1020
1023
  default: h(() => [
1021
- y(l(U), {
1024
+ y(l(L), {
1022
1025
  icon: c.icon,
1023
1026
  class: "w-[18px] h-[18.5px]",
1024
1027
  clickable: ""
@@ -1033,12 +1036,12 @@ const Ha = async (r, a, t) => {
1033
1036
  overlay: h(() => [
1034
1037
  y(l(ge), null, {
1035
1038
  default: h(() => [
1036
- (m(!0), C(O, null, L(c.children, (s) => (m(), _(l(_e), {
1039
+ (m(!0), S(O, null, U(c.children, (s) => (m(), _(l(_e), {
1037
1040
  key: s.key,
1038
1041
  disabled: l(H)(s)
1039
1042
  }, {
1040
1043
  default: h(() => [
1041
- N(P(s.label), 1)
1044
+ N(F(s.label), 1)
1042
1045
  ]),
1043
1046
  _: 2
1044
1047
  }, 1032, ["disabled"]))), 128))
@@ -1059,7 +1062,7 @@ const Ha = async (r, a, t) => {
1059
1062
  onClick: (s) => l(Y)(c, l(t).page, l(t))
1060
1063
  }, {
1061
1064
  default: h(() => [
1062
- y(l(U), {
1065
+ y(l(L), {
1063
1066
  icon: "icon-down-arrow",
1064
1067
  class: "w-[12px] h-[12px]"
1065
1068
  })
@@ -1112,10 +1115,10 @@ const Ha = async (r, a, t) => {
1112
1115
  }
1113
1116
  ), (c, d) => {
1114
1117
  const s = ae("auth");
1115
- return m(), C("div", oa, [
1118
+ return m(), S("div", oa, [
1116
1119
  y(l(ee), null, {
1117
1120
  default: h(() => [
1118
- (m(!0), C(O, null, L(u.value, (v) => j((m(), _(l(B), {
1121
+ (m(!0), S(O, null, U(u.value, (v) => j((m(), _(l(B), {
1119
1122
  key: v.key,
1120
1123
  type: v.type,
1121
1124
  danger: v.danger,
@@ -1124,7 +1127,7 @@ const Ha = async (r, a, t) => {
1124
1127
  onClick: (f) => l(Y)(v, l(e), l(t))
1125
1128
  }, {
1126
1129
  default: h(() => [
1127
- N(P(v.label), 1)
1130
+ N(F(v.label), 1)
1128
1131
  ]),
1129
1132
  _: 2
1130
1133
  }, 1032, ["type", "danger", "disabled", "icon", "onClick"])), [
@@ -1134,13 +1137,13 @@ const Ha = async (r, a, t) => {
1134
1137
  overlay: h(() => [
1135
1138
  y(l(ge), null, {
1136
1139
  default: h(() => [
1137
- (m(!0), C(O, null, L(i.value, (v) => j((m(), _(l(_e), {
1140
+ (m(!0), S(O, null, U(i.value, (v) => j((m(), _(l(_e), {
1138
1141
  key: v.key,
1139
1142
  disabled: l(H)(v),
1140
1143
  onClick: (f) => l(Y)(v, l(e), l(t))
1141
1144
  }, {
1142
1145
  default: h(() => [
1143
- N(P(v.label), 1)
1146
+ N(F(v.label), 1)
1144
1147
  ]),
1145
1148
  _: 2
1146
1149
  }, 1032, ["disabled", "onClick"])), [
@@ -1161,7 +1164,7 @@ const Ha = async (r, a, t) => {
1161
1164
  ]),
1162
1165
  _: 1
1163
1166
  })) : k("", !0),
1164
- u.value.length === 0 && i.value.length === 0 ? (m(), C("span", na)) : k("", !0)
1167
+ u.value.length === 0 && i.value.length === 0 ? (m(), S("span", na)) : k("", !0)
1165
1168
  ]),
1166
1169
  _: 1
1167
1170
  }),
@@ -1200,7 +1203,7 @@ const Ha = async (r, a, t) => {
1200
1203
  Re(t);
1201
1204
  }), (i, c) => {
1202
1205
  var d;
1203
- return e.value.length === 2 ? (m(), _(l(kt), F({
1206
+ return e.value.length === 2 ? (m(), _(l(kt), E({
1204
1207
  key: 0,
1205
1208
  class: [
1206
1209
  ((d = l(p)) == null ? void 0 : d.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : "",
@@ -1215,7 +1218,7 @@ const Ha = async (r, a, t) => {
1215
1218
  }, i.$attrs), null, 16, ["class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : k("", !0);
1216
1219
  };
1217
1220
  }
1218
- }), Za = /* @__PURE__ */ w({
1221
+ }), Xa = /* @__PURE__ */ w({
1219
1222
  inheritAttrs: !1,
1220
1223
  __name: "index",
1221
1224
  props: {
@@ -1280,19 +1283,19 @@ const Ha = async (r, a, t) => {
1280
1283
  return mt(() => {
1281
1284
  v.value && e && (e.reload.value = !0);
1282
1285
  }), z(async () => {
1283
- Le(te.GridControl, e), e.tableData.value ? (u.value = e.tableData.value, e.total.value = u.value.length, i.value.total = e.total.value ?? 0) : e.autoload !== !1 && (e.remotePage ? u.value = (await ke(e)).rows : u.value = await rt(e)), setTimeout(() => {
1286
+ Ue(te.GridControl, e), e.tableData.value ? (u.value = e.tableData.value, e.total.value = u.value.length, i.value.total = e.total.value ?? 0) : e.autoload !== !1 && (e.remotePage ? u.value = (await ke(e)).rows : u.value = await rt(e)), setTimeout(() => {
1284
1287
  v.value = !0;
1285
1288
  }, 50);
1286
1289
  }), (f, g) => {
1287
1290
  var I, D;
1288
- const S = ae("auth");
1289
- return m(), C(O, null, [
1291
+ const C = ae("auth");
1292
+ return m(), S(O, null, [
1290
1293
  (I = l(e).buttons) != null && I.value.length || (D = l(e).tools) != null && D.length ? (m(), _(ca, {
1291
1294
  key: 0,
1292
1295
  "grid-ctrl": l(e),
1293
1296
  "editor-ctrl": l(e).editor
1294
1297
  }, null, 8, ["grid-ctrl", "editor-ctrl"])) : k("", !0),
1295
- v.value ? (m(), _(l(Qe), F({
1298
+ v.value ? (m(), _(l(Qe), E({
1296
1299
  key: 1,
1297
1300
  class: "w-full",
1298
1301
  "row-key": a.primaryKey ?? l(e).primaryKey ?? "Id",
@@ -1308,7 +1311,7 @@ const Ha = async (r, a, t) => {
1308
1311
  bodyCell: h((x) => {
1309
1312
  var R, q;
1310
1313
  return [
1311
- E(f.$slots, "bodyCell", {
1314
+ P(f.$slots, "bodyCell", {
1312
1315
  column: x == null ? void 0 : x.column,
1313
1316
  record: x == null ? void 0 : x.record
1314
1317
  }),
@@ -1325,9 +1328,9 @@ const Ha = async (r, a, t) => {
1325
1328
  ]),
1326
1329
  loading: x == null ? void 0 : x.record.isLoading
1327
1330
  }, null, 8, ["checked", "onUpdate:checked", "disabled", "data", "onClick", "class", "loading"])), [
1328
- [S, { url: o.value, role: ["Super", "Admin"], permit: ":enabled" }, "disable"]
1331
+ [C, { url: o.value, role: ["Super", "Admin"], permit: ":enabled" }, "disable"]
1329
1332
  ]) : k("", !0),
1330
- l(e) && ((q = x == null ? void 0 : x.column) == null ? void 0 : q.dataIndex) === "operation" ? E(f.$slots, "operate", {
1333
+ l(e) && ((q = x == null ? void 0 : x.column) == null ? void 0 : q.dataIndex) === "operation" ? P(f.$slots, "operate", {
1331
1334
  key: 1,
1332
1335
  record: x == null ? void 0 : x.record
1333
1336
  }, () => [
@@ -1343,7 +1346,7 @@ const Ha = async (r, a, t) => {
1343
1346
  ], 64);
1344
1347
  };
1345
1348
  }
1346
- }), da = { class: "flex items-center gap-1" }, pa = { class: "text-nowrap" }, el = /* @__PURE__ */ w({
1349
+ }), da = { class: "flex items-center gap-1" }, pa = { class: "text-nowrap" }, Za = /* @__PURE__ */ w({
1347
1350
  __name: "index",
1348
1351
  props: {
1349
1352
  treeCtrl: {},
@@ -1385,7 +1388,7 @@ const Ha = async (r, a, t) => {
1385
1388
  value: "Id",
1386
1389
  icon: "Icon"
1387
1390
  }), o.data.value ? n.value = re(o.fieldMap, o.data.value) : o.autoload && Me(o);
1388
- }), (d, s) => (m(), _(l(wt), F({
1391
+ }), (d, s) => (m(), _(l(wt), E({
1389
1392
  class: "w-full",
1390
1393
  "show-line": !0,
1391
1394
  "tree-data": n.value,
@@ -1396,21 +1399,21 @@ const Ha = async (r, a, t) => {
1396
1399
  onSelect: c
1397
1400
  }, l(e)), {
1398
1401
  title: h(({ key: v, label: f, icon: g }) => [
1399
- E(d.$slots, "title", {
1402
+ P(d.$slots, "title", {
1400
1403
  label: f,
1401
1404
  key: v,
1402
1405
  icon: g
1403
1406
  }, () => [
1404
1407
  T("div", da, [
1405
- y(l(U), { icon: g }, null, 8, ["icon"]),
1406
- T("span", pa, P(f), 1)
1408
+ y(l(L), { icon: g }, null, 8, ["icon"]),
1409
+ T("span", pa, F(f), 1)
1407
1410
  ])
1408
1411
  ])
1409
1412
  ]),
1410
1413
  _: 3
1411
1414
  }, 16, ["tree-data", "expanded-keys", "selected-keys", "loading"]));
1412
1415
  }
1413
- }), tl = /* @__PURE__ */ Q(ot, [["__scopeId", "data-v-cd4382b7"]]), fa = {
1416
+ }), el = /* @__PURE__ */ Q(ot, [["__scopeId", "data-v-cd4382b7"]]), fa = {
1414
1417
  key: 0,
1415
1418
  class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
1416
1419
  }, va = /* @__PURE__ */ w({
@@ -1419,12 +1422,12 @@ const Ha = async (r, a, t) => {
1419
1422
  props: nt,
1420
1423
  emits: ["change", "update:labels", "update:value"],
1421
1424
  setup(r, { emit: a }) {
1422
- var f, g, S;
1425
+ var f, g, C;
1423
1426
  const t = r, e = J(), o = b({
1424
1427
  ...t.url,
1425
1428
  url: ((f = t.url) == null ? void 0 : f.url) || "",
1426
1429
  fieldMap: t.fieldMap || ((g = t.url) == null ? void 0 : g.fieldMap),
1427
- params: t.params || ((S = t.url) == null ? void 0 : S.params),
1430
+ params: t.params || ((C = t.url) == null ? void 0 : C.params),
1428
1431
  loadingText: !1
1429
1432
  }), n = A(), { editorCtrl: p, errInfo: u, labelText: i } = n, c = b(e.placeholder);
1430
1433
  $(
@@ -1458,12 +1461,12 @@ const Ha = async (r, a, t) => {
1458
1461
  Re(t, n);
1459
1462
  }), (I, D) => {
1460
1463
  var x;
1461
- return m(), C("div", null, [
1462
- s.value.length ? k("", !0) : (m(), C("div", fa, [
1464
+ return m(), S("div", null, [
1465
+ s.value.length ? k("", !0) : (m(), S("div", fa, [
1463
1466
  y(l(it), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
1464
1467
  D[0] || (D[0] = T("span", null, "数据加载中...", -1))
1465
1468
  ])),
1466
- y(l(Ct), F({
1469
+ y(l(Ct), E({
1467
1470
  options: s.value,
1468
1471
  class: [(x = l(u)) == null ? void 0 : x.errClass],
1469
1472
  "allow-clear": !0,
@@ -1473,7 +1476,7 @@ const Ha = async (r, a, t) => {
1473
1476
  ]);
1474
1477
  };
1475
1478
  }
1476
- }), al = /* @__PURE__ */ Q(va, [["__scopeId", "data-v-8517d129"]]), ll = /* @__PURE__ */ Q(ct, [["__scopeId", "data-v-602494f4"]]);
1479
+ }), tl = /* @__PURE__ */ Q(va, [["__scopeId", "data-v-8517d129"]]), al = /* @__PURE__ */ Q(ct, [["__scopeId", "data-v-602494f4"]]);
1477
1480
  function se() {
1478
1481
  return se = Object.assign ? Object.assign.bind() : function(r) {
1479
1482
  for (var a = 1; a < arguments.length; a++) {
@@ -1529,7 +1532,7 @@ const ma = {
1529
1532
  timePickerLocale: se({}, ha)
1530
1533
  };
1531
1534
  xe.lang.ok = "确定";
1532
- const rl = /* @__PURE__ */ w({
1535
+ const ll = /* @__PURE__ */ w({
1533
1536
  __name: "index",
1534
1537
  props: {
1535
1538
  valueFormat: {}
@@ -1581,7 +1584,7 @@ const rl = /* @__PURE__ */ w({
1581
1584
  };
1582
1585
  return (d, s) => {
1583
1586
  var v, f;
1584
- return m(), _(l(fe), F({
1587
+ return m(), _(l(fe), E({
1585
1588
  class: [
1586
1589
  (v = l(o)) == null ? void 0 : v.errClass,
1587
1590
  ((f = l(o)) == null ? void 0 : f.errClass) === "error" && !d.$slots.addonBefore && !d.$slots.addonAfter ? "!border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""
@@ -1593,18 +1596,18 @@ const rl = /* @__PURE__ */ w({
1593
1596
  placeholder: "请输入" + l(e),
1594
1597
  onBlur: n,
1595
1598
  onChange: c
1596
- }, d.$attrs), Ue({ _: 2 }, [
1599
+ }, d.$attrs), Le({ _: 2 }, [
1597
1600
  d.$slots.addonBefore ? {
1598
1601
  name: "addonBefore",
1599
1602
  fn: h(() => [
1600
- E(d.$slots, "addonBefore")
1603
+ P(d.$slots, "addonBefore")
1601
1604
  ]),
1602
1605
  key: "0"
1603
1606
  } : void 0,
1604
1607
  d.$slots.addonAfter ? {
1605
1608
  name: "addonAfter",
1606
1609
  fn: h(() => [
1607
- E(d.$slots, "addonAfter")
1610
+ P(d.$slots, "addonAfter")
1608
1611
  ]),
1609
1612
  key: "1"
1610
1613
  } : void 0
@@ -1630,13 +1633,13 @@ const rl = /* @__PURE__ */ w({
1630
1633
  (n) => {
1631
1634
  e("update:value", n);
1632
1635
  }
1633
- ), (n, p) => (m(), _(ga, F({
1636
+ ), (n, p) => (m(), _(ga, E({
1634
1637
  class: ["w-[80%]"],
1635
1638
  value: o.value,
1636
1639
  "onUpdate:value": p[0] || (p[0] = (u) => o.value = u)
1637
1640
  }, n.$attrs), {
1638
1641
  addonBefore: h(() => [
1639
- y(l(U), {
1642
+ y(l(L), {
1640
1643
  class: "!w-4 !h-4",
1641
1644
  icon: o.value
1642
1645
  }, null, 8, ["icon"])
@@ -1644,7 +1647,7 @@ const rl = /* @__PURE__ */ w({
1644
1647
  _: 1
1645
1648
  }, 16, ["value"]));
1646
1649
  }
1647
- }), sl = /* @__PURE__ */ Q(_a, [["__scopeId", "data-v-f7b3ed74"]]), ol = /* @__PURE__ */ w({
1650
+ }), rl = /* @__PURE__ */ Q(_a, [["__scopeId", "data-v-f7b3ed74"]]), sl = /* @__PURE__ */ w({
1648
1651
  __name: "inputPassword",
1649
1652
  setup(r) {
1650
1653
  const { editorCtrl: a, labelText: t, errInfo: e } = A(), o = () => {
@@ -1652,7 +1655,7 @@ const rl = /* @__PURE__ */ w({
1652
1655
  };
1653
1656
  return (n, p) => {
1654
1657
  var u;
1655
- return m(), _(l($t), F({
1658
+ return m(), _(l($t), E({
1656
1659
  class: ((u = l(e)) == null ? void 0 : u.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
1657
1660
  "allow-clear": !0,
1658
1661
  autocomplete: "new-password",
@@ -1661,7 +1664,7 @@ const rl = /* @__PURE__ */ w({
1661
1664
  }, n.$attrs), null, 16, ["class", "placeholder"]);
1662
1665
  };
1663
1666
  }
1664
- }), nl = /* @__PURE__ */ w({
1667
+ }), ol = /* @__PURE__ */ w({
1665
1668
  __name: "inputNumber",
1666
1669
  setup(r) {
1667
1670
  const { editorCtrl: a, labelText: t, errInfo: e } = A(), o = () => {
@@ -1669,7 +1672,7 @@ const rl = /* @__PURE__ */ w({
1669
1672
  };
1670
1673
  return (n, p) => {
1671
1674
  var u;
1672
- return m(), _(l(Tt), F({
1675
+ return m(), _(l(Tt), E({
1673
1676
  class: [[((u = l(e)) == null ? void 0 : u.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""], "w-[50%]"],
1674
1677
  onBlur: o,
1675
1678
  "allow-clear": !1,
@@ -1677,7 +1680,7 @@ const rl = /* @__PURE__ */ w({
1677
1680
  }, n.$attrs), null, 16, ["class", "placeholder"]);
1678
1681
  };
1679
1682
  }
1680
- }), ba = { class: "flex flex-col gap-2" }, xa = { class: "w-[33%]" }, ya = { class: "w-[64%]" }, il = /* @__PURE__ */ w({
1683
+ }), ba = { class: "flex flex-col gap-2" }, xa = { class: "w-[33%]" }, ya = { class: "w-[64%]" }, nl = /* @__PURE__ */ w({
1681
1684
  __name: "index",
1682
1685
  props: {
1683
1686
  value: {},
@@ -1710,8 +1713,8 @@ const rl = /* @__PURE__ */ w({
1710
1713
  }, c = () => {
1711
1714
  u();
1712
1715
  };
1713
- return (d, s) => (m(), C("div", ba, [
1714
- (m(!0), C(O, null, L(o.value, (v) => (m(), C("div", {
1716
+ return (d, s) => (m(), S("div", ba, [
1717
+ (m(!0), S(O, null, U(o.value, (v) => (m(), S("div", {
1715
1718
  key: v.id,
1716
1719
  class: "flex items-center gap-2"
1717
1720
  }, [
@@ -1749,7 +1752,7 @@ const rl = /* @__PURE__ */ w({
1749
1752
  })
1750
1753
  ]));
1751
1754
  }
1752
- }), ka = /* @__PURE__ */ Q(ut, [["__scopeId", "data-v-08c7f643"]]), cl = /* @__PURE__ */ w({
1755
+ }), ka = /* @__PURE__ */ Q(ut, [["__scopeId", "data-v-08c7f643"]]), il = /* @__PURE__ */ w({
1753
1756
  __name: "radioStatus",
1754
1757
  props: {
1755
1758
  /**
@@ -1783,7 +1786,7 @@ const rl = /* @__PURE__ */ w({
1783
1786
  value: a.allValue || [0, 1]
1784
1787
  }), (e, o) => (m(), _(ka, { data: t.value }, null, 8, ["data"]));
1785
1788
  }
1786
- }), ul = /* @__PURE__ */ w({
1789
+ }), cl = /* @__PURE__ */ w({
1787
1790
  __name: "index",
1788
1791
  props: {
1789
1792
  startDate: {},
@@ -1819,7 +1822,7 @@ const rl = /* @__PURE__ */ w({
1819
1822
  }, null, 8, ["class", "locale", "value-format", "value"]);
1820
1823
  };
1821
1824
  }
1822
- }), dl = /* @__PURE__ */ Q(dt, [["__scopeId", "data-v-58735935"]]), pl = /* @__PURE__ */ w({
1825
+ }), ul = /* @__PURE__ */ Q(dt, [["__scopeId", "data-v-58735935"]]), dl = /* @__PURE__ */ w({
1823
1826
  __name: "index",
1824
1827
  setup(r) {
1825
1828
  const { editorCtrl: a, labelText: t, errInfo: e } = A(), o = () => {
@@ -1827,7 +1830,7 @@ const rl = /* @__PURE__ */ w({
1827
1830
  };
1828
1831
  return (n, p) => {
1829
1832
  var u;
1830
- return m(), _(l(Dt), F({
1833
+ return m(), _(l(Dt), E({
1831
1834
  class: ((u = l(e)) == null ? void 0 : u.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
1832
1835
  "allow-clear": !0,
1833
1836
  placeholder: "请输入" + l(t),
@@ -1876,16 +1879,16 @@ const rl = /* @__PURE__ */ w({
1876
1879
  }
1877
1880
  }), (s, v) => {
1878
1881
  var f;
1879
- return m(), _(l(Pt), F({
1882
+ return m(), _(l(Pt), E({
1880
1883
  class: ((f = l(p)) == null ? void 0 : f.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
1881
1884
  placeholder: "请输入" + l(n),
1882
1885
  targetKeys: c.value,
1883
1886
  onChange: d
1884
1887
  }, s.$attrs), {
1885
- children: h(({ direction: g, disabled: S, filteredItems: I, onItemSelectAll: D, onItemSelect: x, selectedKeys: R }) => [
1886
- E(s.$slots, "children", {
1888
+ children: h(({ direction: g, disabled: C, filteredItems: I, onItemSelectAll: D, onItemSelect: x, selectedKeys: R }) => [
1889
+ P(s.$slots, "children", {
1887
1890
  direction: g,
1888
- disabled: S,
1891
+ disabled: C,
1889
1892
  filteredItems: I,
1890
1893
  onItemSelectAll: D,
1891
1894
  onItemSelect: x,
@@ -1896,7 +1899,7 @@ const rl = /* @__PURE__ */ w({
1896
1899
  }, 16, ["class", "placeholder", "targetKeys"]);
1897
1900
  };
1898
1901
  }
1899
- }), fl = /* @__PURE__ */ w({
1902
+ }), pl = /* @__PURE__ */ w({
1900
1903
  __name: "transferTable",
1901
1904
  props: {
1902
1905
  /**
@@ -1941,8 +1944,8 @@ const rl = /* @__PURE__ */ w({
1941
1944
  disabled: c || f.disabled
1942
1945
  }),
1943
1946
  onSelectAll(f, g) {
1944
- const S = g.filter((I) => !I.disabled).map(({ [p.value]: I }) => I);
1945
- s(S, f);
1947
+ const C = g.filter((I) => !I.disabled).map(({ [p.value]: I }) => I);
1948
+ s(C, f);
1946
1949
  },
1947
1950
  onSelect({ [p.value]: f }, g) {
1948
1951
  v(f, g);
@@ -1959,7 +1962,7 @@ const rl = /* @__PURE__ */ w({
1959
1962
  });
1960
1963
  i.value = (c == null ? void 0 : c.data) ?? [];
1961
1964
  }
1962
- }), (c, d) => (m(), _(wa, F({
1965
+ }), (c, d) => (m(), _(wa, E({
1963
1966
  "data-source": i.value,
1964
1967
  "row-key": (s) => s[p.value],
1965
1968
  value: n.value,
@@ -1991,9 +1994,9 @@ const rl = /* @__PURE__ */ w({
1991
1994
  size: "small",
1992
1995
  "data-source": s,
1993
1996
  scroll: { x: 300 },
1994
- "custom-row": (S) => ({
1997
+ "custom-row": (C) => ({
1995
1998
  onClick: () => {
1996
- const I = S[p.value];
1999
+ const I = C[p.value];
1997
2000
  f(I, !g.includes(I));
1998
2001
  }
1999
2002
  })
@@ -2047,7 +2050,7 @@ const rl = /* @__PURE__ */ w({
2047
2050
  }), e.data.value ? i.value = e.fieldMap ? re(e.fieldMap, e.data.value) : e.data.value : t.treeCtrl.autoload && Me(t.treeCtrl);
2048
2051
  }), (s, v) => {
2049
2052
  var f;
2050
- return m(), _(l(Et), F({
2053
+ return m(), _(l(Et), E({
2051
2054
  class: [[(f = l(n)) == null ? void 0 : f.errClass], "w-full"],
2052
2055
  "tree-line": "",
2053
2056
  multiple: r.multiple,
@@ -2061,17 +2064,17 @@ const rl = /* @__PURE__ */ w({
2061
2064
  }, s.$attrs), null, 16, ["class", "multiple", "value", "tree-data", "placeholder"]);
2062
2065
  };
2063
2066
  }
2064
- }), vl = /* @__PURE__ */ Q(Ca, [["__scopeId", "data-v-f000d1d0"]]), Sa = { class: "relative h-[calc(100vh-80px)] overflow-y-auto" }, $a = { class: "flex w-full h-full min-h-full" }, Ta = {
2067
+ }), fl = /* @__PURE__ */ Q(Ca, [["__scopeId", "data-v-f000d1d0"]]), Sa = { class: "relative h-[calc(100vh-80px)] overflow-y-auto" }, $a = { class: "flex w-full h-full min-h-full" }, Ta = {
2065
2068
  key: 0,
2066
2069
  class: "w-1/4 pr-4 min-h-full min-w-[170px] max-w-[200px]"
2067
- }, Ia = { class: "flex-1 h-full overflow-y-auto" }, ml = /* @__PURE__ */ w({
2070
+ }, Ia = { class: "flex-1 h-full overflow-y-auto" }, vl = /* @__PURE__ */ w({
2068
2071
  __name: "index",
2069
2072
  props: {
2070
2073
  left: { type: Boolean }
2071
2074
  },
2072
2075
  setup(r) {
2073
2076
  const { useToken: a } = Ve, { token: t } = a();
2074
- return (e, o) => (m(), C("div", Sa, [
2077
+ return (e, o) => (m(), S("div", Sa, [
2075
2078
  y(l(Ft), {
2076
2079
  class: "m-[10px] p-[10px] h-[calc(100vh-100px)] !min-h-[calc(100vh-100px)]",
2077
2080
  style: me({
@@ -2080,11 +2083,11 @@ const rl = /* @__PURE__ */ w({
2080
2083
  }, {
2081
2084
  default: h(() => [
2082
2085
  T("div", $a, [
2083
- e.left ? (m(), C("div", Ta, [
2084
- E(e.$slots, "left")
2086
+ e.left ? (m(), S("div", Ta, [
2087
+ P(e.$slots, "left")
2085
2088
  ])) : k("", !0),
2086
2089
  T("div", Ia, [
2087
- E(e.$slots, "default")
2090
+ P(e.$slots, "default")
2088
2091
  ])
2089
2092
  ])
2090
2093
  ]),
@@ -2092,119 +2095,107 @@ const rl = /* @__PURE__ */ w({
2092
2095
  }, 8, ["style"])
2093
2096
  ]));
2094
2097
  }
2095
- }), Da = { class: "font-['Courier'] text-[#666]" }, hl = /* @__PURE__ */ w({
2096
- __name: "index",
2097
- setup(r) {
2098
- const a = b("");
2099
- return z(() => {
2100
- setInterval(() => {
2101
- const t = /* @__PURE__ */ new Date(), e = { month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit" }, o = t.toLocaleString(void 0, e).replace(/\//g, "-").replace(",", "");
2102
- a.value = t.getFullYear() + "-" + o;
2103
- }, 1e3);
2104
- }), (t, e) => (m(), C("div", Da, P(a.value), 1));
2105
- }
2106
2098
  });
2107
2099
  export {
2108
- Cr as AppIcon,
2100
+ yr as AppIcon,
2109
2101
  oe as AppRouter,
2110
- rr as AsyncUploader,
2111
- tl as AutoComplete,
2112
- Sr as Breadcrumb,
2102
+ ar as AsyncUploader,
2103
+ el as AutoComplete,
2104
+ kr as Breadcrumb,
2113
2105
  B as Button,
2114
2106
  Ge as Cache,
2115
2107
  Ht as CacheKeys,
2116
- al as Cascader,
2117
- ll as Checkbox,
2118
- ml as Content,
2119
- rl as DatePicker,
2120
- hl as Datetime,
2121
- Nr as Dialog,
2122
- Wa as Drawer,
2123
- bl as EventPrefix,
2124
- Ga as Form,
2125
- Ja as FormItem,
2126
- Qa as Fullscreen,
2127
- $r as Header,
2128
- Tr as HeaderExits,
2108
+ tl as Cascader,
2109
+ al as Checkbox,
2110
+ vl as Content,
2111
+ ll as DatePicker,
2112
+ wr as Datetime,
2113
+ Er as Dialog,
2114
+ qa as Drawer,
2115
+ gl as EventPrefix,
2116
+ Wa as Form,
2117
+ Ga as FormItem,
2118
+ ja as Fullscreen,
2119
+ Cr as Header,
2120
+ Sr as HeaderExits,
2129
2121
  Qt as Helper,
2130
- xl as ICONS_LIB,
2131
- Ir as Icon,
2122
+ _l as ICONS_LIB,
2123
+ $r as Icon,
2132
2124
  sa as Icontool,
2133
2125
  ga as Input,
2134
- sl as InputIcon,
2135
- nl as InputNumber,
2136
- ol as InputPassword,
2137
- qa as LayoutIcon,
2138
- Dr as Menu,
2139
- Pr as MenuTabs,
2126
+ rl as InputIcon,
2127
+ ol as InputNumber,
2128
+ sl as InputPassword,
2129
+ Qa as LayoutIcon,
2130
+ Tr as Menu,
2131
+ Ir as MenuTabs,
2140
2132
  Oe as OPTIONS,
2141
2133
  nt as OptionCommProps,
2142
- Er as ProjectIcon,
2143
- il as PropEditor,
2134
+ Dr as ProjectIcon,
2135
+ nl as PropEditor,
2144
2136
  te as ProviderKeys,
2145
2137
  ka as Radio,
2146
- cl as RadioStatus,
2147
- ul as RangePicker,
2148
- Xa as Search,
2138
+ il as RadioStatus,
2139
+ cl as RangePicker,
2140
+ Ja as Search,
2149
2141
  ue as SearchItem,
2150
- dl as Select,
2142
+ ul as Select,
2151
2143
  ua as Switch,
2152
- Za as Table,
2144
+ Xa as Table,
2153
2145
  la as TableOperate,
2154
- pl as Textarea,
2155
- U as ToolIcon,
2146
+ dl as Textarea,
2147
+ L as ToolIcon,
2156
2148
  ca as Toolbar,
2157
- kr as Tooltip,
2149
+ br as Tooltip,
2158
2150
  wa as Transfer,
2159
- fl as TransferTable,
2160
- el as Tree,
2161
- vl as TreeSelect,
2162
- mr as UploadList,
2163
- sr as UploadStatus,
2164
- _r as checkExcelDuplicates,
2165
- yl as checkIconsExpired,
2151
+ pl as TransferTable,
2152
+ Za as Tree,
2153
+ fl as TreeSelect,
2154
+ pr as UploadList,
2155
+ lr as UploadStatus,
2156
+ mr as checkExcelDuplicates,
2157
+ bl as checkIconsExpired,
2166
2158
  it as circleLoading,
2167
2159
  Ze as createFromIconfont,
2168
- kl as crumbs,
2160
+ xl as crumbs,
2169
2161
  De as defaultTools,
2170
- wl as doDelete,
2171
- Cl as doExecute,
2162
+ yl as doDelete,
2163
+ kl as doExecute,
2172
2164
  Be as doQuery,
2173
- Sl as doSave,
2174
- hr as donwloadFromMinio,
2165
+ wl as doSave,
2166
+ fr as donwloadFromMinio,
2175
2167
  qe as downloadBlob,
2176
- $l as eventBus,
2177
- ja as exportResults,
2178
- Ha as exportSelectedRows,
2168
+ Cl as eventBus,
2169
+ Ha as exportResults,
2170
+ Ka as exportSelectedRows,
2179
2171
  Fe as filterColumns,
2180
2172
  V as formValidate,
2181
- or as getAppInfo,
2182
- Tl as getFormDetail,
2183
- nr as getHostInfo,
2184
- Il as getIconTransform,
2185
- Dl as getRecordDetail,
2186
- Pl as getRuleTexts,
2187
- El as getSelectedLabels,
2188
- Fl as getSelectedValues,
2189
- ir as getToken,
2173
+ rr as getAppInfo,
2174
+ Sl as getFormDetail,
2175
+ sr as getHostInfo,
2176
+ $l as getIconTransform,
2177
+ Tl as getRecordDetail,
2178
+ Il as getRuleTexts,
2179
+ Dl as getSelectedLabels,
2180
+ Pl as getSelectedValues,
2181
+ or as getToken,
2190
2182
  K as getToolByKey,
2191
2183
  be as getToolGroup,
2192
2184
  H as getToolStatus,
2193
2185
  W as getToolVisible,
2194
- cr as getUserInfo,
2186
+ nr as getUserInfo,
2195
2187
  ke as gridQueryFind,
2196
2188
  rt as gridQueryList,
2197
- Nl as gridRowUpdate,
2189
+ El as gridRowUpdate,
2198
2190
  st as gridStatusUpdate,
2199
- Ka as initCacheCheck,
2200
- Va as initDirective,
2201
- Rl as initMenu,
2202
- Ol as initPageFactory,
2203
- Ml as initValidate,
2191
+ Va as initCacheCheck,
2192
+ Ya as initDirective,
2193
+ Fl as initMenu,
2194
+ Nl as initPageFactory,
2195
+ Rl as initValidate,
2204
2196
  X as isEmpty,
2205
2197
  Ne as loadOption,
2206
- ur as mainAppPush,
2207
- Bl as mergeColumns,
2198
+ Ol as mergeColumns,
2208
2199
  Vt as onColumnVisibleChanged,
2209
2200
  ie as onFormClose,
2210
2201
  Pe as onFormSave,
@@ -2212,38 +2203,38 @@ export {
2212
2203
  We as onFullscreenClick,
2213
2204
  at as onGridRowDelete,
2214
2205
  tt as onGridRowEdit,
2215
- Al as onGridRowExpand,
2216
- zl as onOptionChanged,
2206
+ Ml as onGridRowExpand,
2207
+ Bl as onOptionChanged,
2217
2208
  Mt as onReloadClick,
2218
2209
  Y as onToolClicked,
2219
2210
  lt as openNewForm,
2220
- Ll as outFormDataFields,
2221
- Ul as parseIcons,
2222
- dr as path,
2223
- Yl as pendingNavigation,
2224
- Vl as pinia,
2225
- br as processExcelFile,
2211
+ Al as outFormDataFields,
2212
+ zl as parseIcons,
2213
+ ir as path,
2214
+ Ul as pendingNavigation,
2215
+ Ll as pinia,
2216
+ hr as processExcelFile,
2226
2217
  Me as queryTree,
2227
- Kl as resetRules,
2228
- Hl as routes,
2229
- jl as saveForm,
2230
- Ql as setFormData,
2231
- ql as showBreadcrumb,
2218
+ Yl as resetRules,
2219
+ Vl as routes,
2220
+ Kl as saveForm,
2221
+ Hl as setFormData,
2222
+ jl as showBreadcrumb,
2232
2223
  Re as unloadOption,
2233
- Wl as useAppInfo,
2234
- Gl as useEditorFactory,
2224
+ Ql as useAppInfo,
2225
+ ql as useEditorFactory,
2235
2226
  Ee as useFormItemFactory,
2236
- Jl as useGridFactory,
2237
- Xl as useHostInfo,
2227
+ Wl as useGridFactory,
2228
+ Gl as useHostInfo,
2238
2229
  A as useInputFactory,
2239
- Zl as usePageFactory,
2240
- er as usePageInfo,
2230
+ Jl as usePageFactory,
2231
+ Xl as usePageInfo,
2241
2232
  ve as useSettingInfo,
2242
2233
  Kt as useToolFactory,
2243
- tr as useTreeFactory,
2234
+ Zl as useTreeFactory,
2244
2235
  Xe as useUserInfo,
2245
- pr as userLogin,
2246
- fr as userLogout,
2247
- ar as validateData,
2248
- xr as validateExcel
2236
+ cr as userLogin,
2237
+ ur as userLogout,
2238
+ er as validateData,
2239
+ gr as validateExcel
2249
2240
  };