@unizhen/ui 0.1.31 → 0.1.33

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/lib/ui.js CHANGED
@@ -5028,9 +5028,9 @@ var fp = () => new Promise((e) => {
5028
5028
  function gp() {
5029
5029
  hp.clear();
5030
5030
  }
5031
- async function _p(e, t = !0) {
5031
+ async function _p(e, t = !1) {
5032
5032
  let n = e.split("."), r = !1;
5033
- return n.length > 1 && (hp.has(n[0]) && t ? r = H(hp.get(n[0])) : (r = await xd({ tableId: n[0] }), hp.set(n[0], r))), {
5033
+ return n.length > 1 && (hp.has(n[0]) && !t ? r = H(hp.get(n[0])) : (r = await xd({ tableId: n[0] }), hp.set(n[0], r))), {
5034
5034
  sourceData: r,
5035
5035
  n
5036
5036
  };
@@ -5370,21 +5370,21 @@ function Tp(e, t, n, r) {
5370
5370
  });
5371
5371
  });
5372
5372
  }
5373
- async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
5374
- let a = 0, o = [], s = [], c = [], l = H(e), u = [], d = [];
5375
- for (let e of l) e.input === "group" ? (u.push(...e.params.children), d.push({
5373
+ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}, a = !1) {
5374
+ let o = 0, s = [], c = [], l = [], u = H(e), d = [], p = [];
5375
+ for (let e of u) e.input === "group" ? (d.push(...e.params.children), p.push({
5376
5376
  title: e.label,
5377
5377
  key: e.key,
5378
5378
  ...e.table,
5379
5379
  children: e.params.children.map((e) => e.key)
5380
- })) : (u.push(e), d.push(e.key));
5381
- for await (let e of u) {
5380
+ })) : (d.push(e), p.push(e.key));
5381
+ for await (let e of d) {
5382
5382
  if (e.source && !e.table.render && (e.input === "select" || e.input === "cascader")) if (e.table.render = (t) => t[`${e.key}Str`], t || e.params.immediately || e.search.defaultValue) {
5383
- let { sourceData: n, n: r } = await _p(e.source, !t);
5384
- if (n && Array.isArray(n)) if (e.sourceFn) {
5385
- let t = e.sourceFn, r = Function("sourceData", t);
5386
- e.params.options = r(n);
5387
- } else e.params.options = mp(e, n, r);
5383
+ let { sourceData: t, n } = await _p(e.source, a);
5384
+ if (t && Array.isArray(t)) if (e.sourceFn) {
5385
+ let n = e.sourceFn, r = Function("sourceData", n);
5386
+ e.params.options = r(t);
5387
+ } else e.params.options = mp(e, t, n);
5388
5388
  } else e.params.options = [{
5389
5389
  label: "加载中......",
5390
5390
  value: "loading",
@@ -5401,8 +5401,8 @@ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
5401
5401
  if (n) return n.label;
5402
5402
  }), e.input === "upload" && !e.table.render && (e.table.render = function(t) {
5403
5403
  return f(zf, { value: t[e.key] }, { default: () => null });
5404
- }), a += Number(e.table.width || 140);
5405
- let l = {
5404
+ }), o += Number(e.table.width || 140);
5405
+ let u = {
5406
5406
  input: e.input,
5407
5407
  title: e.label,
5408
5408
  key: e.key,
@@ -5420,14 +5420,14 @@ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
5420
5420
  pin: !!e.table.fixed,
5421
5421
  fixTemp: e.table.fixed
5422
5422
  };
5423
- if (t) if (!l.form.edit.show) l = null;
5423
+ if (t) if (!u.form.edit.show) u = null;
5424
5424
  else {
5425
- if (l.ellipsis = !1, l.resizable = !0, K.isMobile && (l.show = e.table.mobile), e.table.show && (n === 0 && (l.show = e.form.create.show), n === 1 && (l.show = e.form.edit.show), n === 2 && (l.show = e.form.show)), e.form.rule?.required && typeof e.form.rule.validator == "string") {
5425
+ if (u.ellipsis = !1, u.resizable = !0, K.isMobile && (u.show = e.table.mobile), e.table.show && (n === 0 && (u.show = e.form.create.show), n === 1 && (u.show = e.form.edit.show), n === 2 && (u.show = e.form.show)), e.form.rule?.required && typeof e.form.rule.validator == "string") {
5426
5426
  delete e.form.rule.message;
5427
5427
  let t = e.form.rule.validator, n = Function("rule", "value", "index", "formValues", t);
5428
5428
  e.form.rule.validator === "" ? e.form.rule.validator = (t, n) => r()[t.index].delete || n ? !0 : Error(e.form.rule.message) : e.form.rule.validator = (e, t) => r()[e.index].delete ? !0 : n(e, t, e.index, () => r());
5429
5429
  }
5430
- l.render = function(t, r) {
5430
+ u.render = function(t, r) {
5431
5431
  return f(me, {
5432
5432
  showLabel: !1,
5433
5433
  showFeedback: !1,
@@ -5444,7 +5444,7 @@ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
5444
5444
  }) });
5445
5445
  };
5446
5446
  }
5447
- if (l && e.input !== "divider" && e.input !== "subTable" && c.push(l), e.input !== "divider" && e.input !== "switch" && e.input !== "subTable" && e.input !== "upload" && e.search.show) {
5447
+ if (u && e.input !== "divider" && e.input !== "subTable" && l.push(u), e.input !== "divider" && e.input !== "switch" && e.input !== "subTable" && e.input !== "upload" && e.search.show) {
5448
5448
  if (e.search.title && (e.label = e.search.title), e.search.source) if (e.input = "select", e.params.type = e.search.type, e.params.valueKey = e.search.valueKey, e.params.valueKey = e.search.valueKey, e.search.source === "from-up") e.params.options = e.params.options;
5449
5449
  else if (e.params.immediately || e.search.defaultValue) {
5450
5450
  let { sourceData: t, n } = await _p(e.search.source);
@@ -5467,7 +5467,7 @@ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
5467
5467
  let n = t.sourceFn;
5468
5468
  return Function("sourceData", n)(e);
5469
5469
  } else return mp(t, e, n);
5470
- }), o.push({
5470
+ }), s.push({
5471
5471
  input: t.input,
5472
5472
  label: t.label,
5473
5473
  key: t.key,
@@ -5483,31 +5483,31 @@ async function Ep(e, t = !1, n = 0, r = () => {}, i = {}) {
5483
5483
  });
5484
5484
  }
5485
5485
  }
5486
- e.input === "subTable" && e.params.link && !e.params.quest && s.push(e.params.link);
5486
+ e.input === "subTable" && e.params.link && !e.params.quest && c.push(e.params.link);
5487
5487
  }
5488
- let p = [];
5489
- if (d.length > 0) {
5490
- for (let e of d) {
5488
+ let m = [];
5489
+ if (p.length > 0) {
5490
+ for (let e of p) {
5491
5491
  if (typeof e == "string") {
5492
- let t = c.find((t) => t.key === e);
5493
- t && p.push(t);
5492
+ let t = l.find((t) => t.key === e);
5493
+ t && m.push(t);
5494
5494
  }
5495
5495
  if (typeof e == "object") {
5496
5496
  let t = e.children, n = [];
5497
5497
  for (let e of t) {
5498
- let t = c.find((t) => t.key === e);
5498
+ let t = l.find((t) => t.key === e);
5499
5499
  t && n.push(t);
5500
5500
  }
5501
- e.children = n, p.push(e);
5501
+ e.children = n, m.push(e);
5502
5502
  }
5503
5503
  }
5504
- c = p;
5504
+ l = m;
5505
5505
  }
5506
5506
  return {
5507
- tableColumns: c,
5508
- search: o,
5509
- subTableIds: s,
5510
- tableWidth: a
5507
+ tableColumns: l,
5508
+ search: s,
5509
+ subTableIds: c,
5510
+ tableWidth: o
5511
5511
  };
5512
5512
  }
5513
5513
  //#endregion
@@ -6486,6 +6486,7 @@ function Rp(t, s, u, d, f, p) {
6486
6486
  var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6487
6487
  name: "UzTableChild",
6488
6488
  components: {
6489
+ NSpin: je,
6489
6490
  NButton: L,
6490
6491
  NIcon: B,
6491
6492
  NDataTable: oe,
@@ -6511,13 +6512,13 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6511
6512
  },
6512
6513
  emits: ["update:value"],
6513
6514
  setup(e, { emit: n, expose: r }) {
6514
- let i = p("emitSuffix"), a = p("modules"), o = p("mainFormValue"), s = p("childFormReload"), c = t(() => s()), { t: l } = Ye(), u = w(), d = w(), m = w(), g = w(!1), _ = w(!0), y = w([]), b = w({ child: [] }), x = w(""), S = w({}), C = w([]), T = w(void 0), E = async (t, n) => {
6515
+ let i = p("emitSuffix"), a = p("modules"), o = p("mainFormValue"), s = p("childFormReload"), c = t(() => s()), { t: l } = Ye(), u = w(), d = w(), m = w(), g = w(!0), _ = w(!1), y = w(!0), b = w([]), x = w({ child: [] }), S = w(""), C = w({}), T = w([]), E = w(void 0), D = async (t, n) => {
6515
6516
  let { formDefaultValue: r, fillingDefaultArray: i } = await Tp(H(n ?? e.item.params.columns), t, void 0, !0);
6516
- return S.value = r, i;
6517
- }, D = async (t) => {
6518
- if (g.value) return;
6519
- g.value = !0;
6520
- let n = await E(t), r = H(t).map((e, t) => ({
6517
+ return C.value = r, i;
6518
+ }, ee = async (t) => {
6519
+ if (_.value) return;
6520
+ _.value = !0;
6521
+ let n = await D(t), r = H(t).map((e, t) => ({
6521
6522
  ...e,
6522
6523
  ...n[t]
6523
6524
  }));
@@ -6529,29 +6530,29 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6529
6530
  t.forEach((t) => {
6530
6531
  e[t] && typeof e[t] == "string" && (e[t] = JSON.parse(e[t]));
6531
6532
  });
6532
- }), e.item.params.init && r.length === 0 && e.status === 0 && (r = [S.value]), e.item.params.merge && typeof e.item.params.merge == "string") try {
6533
+ }), e.item.params.init && r.length === 0 && e.status === 0 && (r = [C.value]), e.item.params.merge && typeof e.item.params.merge == "string") try {
6533
6534
  let t = e.item.params.merge;
6534
6535
  r = await Function("formValue", "mainFormValue", "POST", t)(r, o, Z);
6535
6536
  } catch (e) {
6536
6537
  q(e);
6537
6538
  }
6538
- b.value.child = r, g.value = !1, h(() => {
6539
- F();
6539
+ x.value.child = r, _.value = !1, h(() => {
6540
+ I();
6540
6541
  });
6541
6542
  } else h(() => {
6542
- F();
6543
+ I();
6543
6544
  });
6544
- }, ee = (e) => e.delete ? "uz-table-child-delete" : "", O = async (t) => {
6545
- e.item._suffix && (C.value = e.item._suffix.filter((e) => e.sub)), await E(e.value, t);
6546
- let { tableColumns: n, tableWidth: r } = await Ep(H(t ?? e.item.params.columns), !0, e.status, () => b.value.child, a), i = r;
6547
- n.unshift({
6545
+ }, O = (e) => e.delete ? "uz-table-child-delete" : "", k = async (t, n = !1) => {
6546
+ g.value = !0, e.item._suffix && (T.value = e.item._suffix.filter((e) => e.sub)), await D(e.value, t);
6547
+ let { tableColumns: r, tableWidth: i } = await Ep(H(t ?? e.item.params.columns), !0, e.status, () => x.value.child, a, n), s = i;
6548
+ r.unshift({
6548
6549
  title: " ",
6549
6550
  key: "index",
6550
6551
  align: "center",
6551
6552
  titleAlign: "center",
6552
6553
  width: 10,
6553
6554
  show: !0
6554
- }), i += 60, e.item.params.draggable && e.status !== 2 && (n.unshift({
6555
+ }), s += 60, e.item.params.draggable && e.status !== 2 && (r.unshift({
6555
6556
  title: " ",
6556
6557
  key: "draggable",
6557
6558
  align: "center",
@@ -6564,7 +6565,7 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6564
6565
  render() {
6565
6566
  return f("div", { class: "flex justify-center" }, f(B, {}, { default: () => f(Xo) }));
6566
6567
  }
6567
- }), i += 40), e.status !== 2 && e.item.params.showActions && n.push({
6568
+ }), s += 40), e.status !== 2 && e.item.params.showActions && r.push({
6568
6569
  title: () => l("Common.action"),
6569
6570
  key: "action",
6570
6571
  align: "center",
@@ -6578,7 +6579,7 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6578
6579
  let r = [];
6579
6580
  return e.item.params.childActions && e.item.params.actions && Rd(e.item.params.actions).forEach((e) => {
6580
6581
  e.disabled && typeof e.disabled == "string" && (e.disabled = Function("rowData", "rowIndex", e.disabled)(t, n)), r.push(e);
6581
- }), e.item.params.showDelete && e.status !== 2 && (b.value.child.length > 1 && e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly) && r.push({
6582
+ }), e.item.params.showDelete && e.status !== 2 && (x.value.child.length > 1 && e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly) && r.push({
6582
6583
  type: "normal",
6583
6584
  color: "error",
6584
6585
  key: "delete",
@@ -6594,11 +6595,11 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6594
6595
  });
6595
6596
  }
6596
6597
  });
6597
- let s = [];
6598
- n.forEach((e) => {
6599
- e.show && s.push(e);
6600
- }), y.value = s, i += 180, T.value = i;
6601
- }, k = (t) => {
6598
+ let c = [];
6599
+ r.forEach((e) => {
6600
+ e.show && c.push(e);
6601
+ }), b.value = c, s += 180, E.value = s, g.value = !1;
6602
+ }, A = (t) => {
6602
6603
  if (e.item.params.summary) {
6603
6604
  if (typeof e.item.params.summary == "function") return e.item.params.summary(t);
6604
6605
  try {
@@ -6609,12 +6610,12 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6609
6610
  }
6610
6611
  }
6611
6612
  return [];
6612
- }, A = async () => {
6613
- x.value = "", b.value.child.push(H(S.value)), h(() => {
6614
- F();
6615
- });
6616
6613
  }, M = async () => {
6617
- x.value = "";
6614
+ S.value = "", x.value.child.push(H(C.value)), h(() => {
6615
+ I();
6616
+ });
6617
+ }, N = async () => {
6618
+ S.value = "";
6618
6619
  try {
6619
6620
  let t = e.item.params.options;
6620
6621
  if (t) {
@@ -6622,52 +6623,52 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6622
6623
  e.item.params.optionsType && i({
6623
6624
  open: e.item.params.optionsType,
6624
6625
  mainFormValue: o,
6625
- children: () => b.value.child,
6626
+ children: () => x.value.child,
6626
6627
  callback: async (e) => {
6627
6628
  let t = await n(e, o, Z);
6628
- b.value.child = [...b.value.child, ...t], h(() => {
6629
- F();
6629
+ x.value.child = [...x.value.child, ...t], h(() => {
6630
+ I();
6630
6631
  });
6631
6632
  }
6632
6633
  });
6633
6634
  } else e.item.params.optionsType && i({
6634
6635
  open: e.item.params.optionsType,
6635
6636
  mainFormValue: o,
6636
- children: () => b.value.child,
6637
+ children: () => x.value.child,
6637
6638
  callback: async (e) => {
6638
- b.value.child = [...b.value.child, ...e], h(() => {
6639
- F();
6639
+ x.value.child = [...x.value.child, ...e], h(() => {
6640
+ I();
6640
6641
  });
6641
6642
  }
6642
6643
  });
6643
6644
  } catch (e) {
6644
6645
  q(e);
6645
6646
  }
6646
- }, N = () => {
6647
+ }, P = () => {
6647
6648
  m.value?.restoreValidation();
6648
- }, P = () => (x.value = "", new Promise((t, n) => {
6649
- let r = b.value.child.filter((e) => !e.delete).length;
6649
+ }, F = () => (S.value = "", new Promise((t, n) => {
6650
+ let r = x.value.child.filter((e) => !e.delete).length;
6650
6651
  if (e.item.form.rule.required && r === 0) {
6651
- x.value = e.item.form.rule.message, n();
6652
+ S.value = e.item.form.rule.message, n();
6652
6653
  return;
6653
6654
  }
6654
6655
  m.value?.validate((r) => {
6655
- r ? (x.value = e.item.form.rule.message, n()) : t();
6656
+ r ? (S.value = e.item.form.rule.message, n()) : t();
6656
6657
  });
6657
- })), F = () => {
6658
+ })), I = () => {
6658
6659
  if (e.item.params.draggable && e.status !== 2 && u.value && !d.value) {
6659
6660
  let e = u.value.$el.querySelector(".n-data-table-tbody");
6660
6661
  e && (d.value = rt.create(e, {
6661
6662
  handle: ".uz-drag-handle",
6662
6663
  onEnd: ({ oldIndex: e, newIndex: t }) => {
6663
- d.value?.destroy(), d.value = null, _.value = !1;
6664
- let n = H(b.value.child), r = n.splice(e, 1)[0];
6664
+ d.value?.destroy(), d.value = null, y.value = !1;
6665
+ let n = H(x.value.child), r = n.splice(e, 1)[0];
6665
6666
  n.splice(t, 0, r), n = n.map((e, t) => ({
6666
6667
  ...e,
6667
6668
  sort_index: t
6668
- })), b.value.child = n, h(() => {
6669
- _.value = !0, setTimeout(() => {
6670
- F();
6669
+ })), x.value.child = n, h(() => {
6670
+ y.value = !0, setTimeout(() => {
6671
+ I();
6671
6672
  }, 0);
6672
6673
  });
6673
6674
  }
@@ -6677,161 +6678,168 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6677
6678
  return v(() => {
6678
6679
  d.value?.destroy(), d.value = null;
6679
6680
  }), r({
6680
- validate: P,
6681
- restoreValidation: N
6681
+ validate: F,
6682
+ restoreValidation: P
6682
6683
  }), j(() => e.item.params.columns, (e, t) => {
6683
- JSON.stringify(e) !== JSON.stringify(t) && O(e);
6684
+ JSON.stringify(e) !== JSON.stringify(t) && k(e);
6684
6685
  }, {
6685
6686
  deep: !0,
6686
6687
  immediate: !0
6687
6688
  }), j(() => e.value, (e) => {
6688
- JSON.stringify(e) !== JSON.stringify(b.value.child) && D(e);
6689
+ JSON.stringify(e) !== JSON.stringify(x.value.child) && ee(e);
6689
6690
  }, {
6690
6691
  deep: !0,
6691
6692
  immediate: !0
6692
- }), j(() => b.value.child, (t) => {
6693
+ }), j(() => x.value.child, (t) => {
6693
6694
  e.status !== 2 && n("update:value", t);
6694
6695
  }, { deep: !0 }), j(() => c.value, async () => {
6695
- await O();
6696
+ await k(void 0, !0);
6696
6697
  }), {
6697
- loading: g,
6698
+ spin: g,
6699
+ loading: _,
6698
6700
  formRef: m,
6699
6701
  tableRef: u,
6700
- columns: y,
6701
- tableData: b,
6702
- summaryData: k,
6703
- message: x,
6704
- tableScrollX: T,
6705
- tableShow: _,
6706
- suffixes: C,
6707
- onAdd: A,
6708
- onAddFormData: M,
6709
- rowClassName: ee,
6702
+ columns: b,
6703
+ tableData: x,
6704
+ summaryData: A,
6705
+ message: S,
6706
+ tableScrollX: E,
6707
+ tableShow: y,
6708
+ suffixes: T,
6709
+ onAdd: M,
6710
+ onAddFormData: N,
6711
+ rowClassName: O,
6710
6712
  doSuffixClick: (e) => {
6711
6713
  i({
6712
6714
  open: e.optionsType,
6713
6715
  mainFormValue: o,
6714
6716
  onClick: e.onClick,
6715
6717
  optionsSource: e.optionsSource,
6716
- children: () => b.value.child,
6718
+ children: () => x.value.child,
6717
6719
  callback: () => null
6718
6720
  });
6719
6721
  }
6720
6722
  };
6721
6723
  }
6722
- }), Vp = { class: "uz-flex-1 uz-w-full" }, Hp = { class: "uz-flex uz-justify-between" }, Up = { class: "uz-com-title" }, Wp = {
6724
+ }), Vp = { class: "uz-flex uz-justify-between" }, Hp = { class: "uz-com-title" }, Up = {
6723
6725
  key: 0,
6724
6726
  class: "uz-table-asterisk"
6725
- }, Gp = { class: "uz-flex uz-gap-2" }, Kp = { class: "uz-flex uz-justify-end uz-gap-2" };
6726
- function qp(t, s, u, d, f, p) {
6727
- let m = D("UzIcon"), h = D("NIcon"), _ = D("NButton"), v = D("Plus"), y = D("NDataTable"), b = D("NForm");
6728
- return x(), i("div", Vp, [
6729
- a("div", Hp, [a("div", Up, [c(k(t.item.label) + " ", 1), t.item.form.rule.required ? (x(), i("span", Wp, " \xA0* ")) : r("", !0)]), a("div", Gp, [
6730
- t.status === 2 ? r("", !0) : (x(!0), i(e, { key: 0 }, T(t.suffixes, (e) => (x(), n(_, {
6731
- key: e.key,
6732
- type: e.color,
6733
- secondary: "",
6734
- onClick: (n) => t.doSuffixClick(e)
6735
- }, o({
6736
- default: N(() => [c(" " + k(e.buttonText), 1)]),
6737
- _: 2
6738
- }, [e.icon ? {
6739
- name: "icon",
6740
- fn: N(() => [l(h, null, {
6741
- default: N(() => [l(m, { icon: e.icon }, null, 8, ["icon"])]),
6727
+ }, Wp = { class: "uz-flex uz-gap-2" }, Gp = { class: "uz-flex uz-justify-end uz-gap-2" };
6728
+ function Kp(t, s, u, d, f, p) {
6729
+ let m = D("UzIcon"), h = D("NIcon"), _ = D("NButton"), v = D("Plus"), y = D("NDataTable"), b = D("NForm"), S = D("NSpin");
6730
+ return x(), n(S, {
6731
+ show: t.spin,
6732
+ class: "uz-flex-1 uz-w-full"
6733
+ }, {
6734
+ default: N(() => [
6735
+ a("div", Vp, [a("div", Hp, [c(k(t.item.label) + " ", 1), t.item.form.rule.required ? (x(), i("span", Up, " \xA0* ")) : r("", !0)]), a("div", Wp, [
6736
+ t.status === 2 ? r("", !0) : (x(!0), i(e, { key: 0 }, T(t.suffixes, (e) => (x(), n(_, {
6737
+ key: e.key,
6738
+ type: e.color,
6739
+ secondary: "",
6740
+ onClick: (n) => t.doSuffixClick(e)
6741
+ }, o({
6742
+ default: N(() => [c(" " + k(e.buttonText), 1)]),
6742
6743
  _: 2
6743
- }, 1024)]),
6744
- key: "0"
6745
- } : void 0]), 1032, ["type", "onClick"]))), 128)),
6746
- t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6747
- key: 1,
6748
- type: "success",
6749
- secondary: "",
6750
- onClick: t.onAddFormData
6751
- }, {
6752
- icon: N(() => [l(h, null, {
6753
- default: N(() => [l(v)]),
6744
+ }, [e.icon ? {
6745
+ name: "icon",
6746
+ fn: N(() => [l(h, null, {
6747
+ default: N(() => [l(m, { icon: e.icon }, null, 8, ["icon"])]),
6748
+ _: 2
6749
+ }, 1024)]),
6750
+ key: "0"
6751
+ } : void 0]), 1032, ["type", "onClick"]))), 128)),
6752
+ t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6753
+ key: 1,
6754
+ type: "success",
6755
+ secondary: "",
6756
+ onClick: t.onAddFormData
6757
+ }, {
6758
+ icon: N(() => [l(h, null, {
6759
+ default: N(() => [l(v)]),
6760
+ _: 1
6761
+ })]),
6762
+ default: N(() => [s[0] ||= c(" 从数据新增 ", -1)]),
6754
6763
  _: 1
6755
- })]),
6756
- default: N(() => [s[0] ||= c(" 从数据新增 ", -1)]),
6757
- _: 1
6758
- }, 8, ["onClick"])) : r("", !0),
6759
- t.item.params.addButton && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6760
- key: 2,
6761
- type: "success",
6762
- secondary: "",
6763
- onClick: t.onAdd
6764
- }, {
6765
- icon: N(() => [l(h, null, {
6766
- default: N(() => [l(v)]),
6764
+ }, 8, ["onClick"])) : r("", !0),
6765
+ t.item.params.addButton && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6766
+ key: 2,
6767
+ type: "success",
6768
+ secondary: "",
6769
+ onClick: t.onAdd
6770
+ }, {
6771
+ icon: N(() => [l(h, null, {
6772
+ default: N(() => [l(v)]),
6773
+ _: 1
6774
+ })]),
6775
+ default: N(() => [s[1] ||= c(" 新增 ", -1)]),
6767
6776
  _: 1
6768
- })]),
6769
- default: N(() => [s[1] ||= c(" 新增 ", -1)]),
6770
- _: 1
6771
- }, 8, ["onClick"])) : r("", !0)
6772
- ])]),
6773
- s[4] ||= a("div", { class: "uz-br" }, null, -1),
6774
- l(b, {
6775
- ref: "formRef",
6776
- "label-width": 80,
6777
- model: t.tableData,
6778
- class: "uz-flex uz-flex-col uz-gap-2"
6779
- }, {
6780
- default: N(() => [t.tableShow ? (x(), n(y, {
6781
- key: 0,
6782
- ref: "tableRef",
6783
- columns: t.columns,
6784
- data: t.tableData.child,
6785
- pagination: !1,
6786
- loading: t.loading,
6787
- summary: t.summaryData,
6788
- "scroll-x": t.tableScrollX,
6789
- class: g([t.message ? "error-border" : void 0, "uz-table-child"]),
6790
- size: "small",
6791
- "row-class-name": t.rowClassName,
6792
- "scrollbar-props": {
6793
- size: 8,
6794
- trigger: "none"
6795
- },
6796
- remote: ""
6797
- }, null, 8, [
6798
- "columns",
6799
- "data",
6800
- "loading",
6801
- "summary",
6802
- "scroll-x",
6803
- "class",
6804
- "row-class-name"
6805
- ])) : r("", !0), a("div", Kp, [t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6806
- key: 0,
6807
- type: "success",
6808
- secondary: "",
6809
- onClick: t.onAddFormData
6777
+ }, 8, ["onClick"])) : r("", !0)
6778
+ ])]),
6779
+ s[4] ||= a("div", { class: "uz-br" }, null, -1),
6780
+ l(b, {
6781
+ ref: "formRef",
6782
+ "label-width": 80,
6783
+ model: t.tableData,
6784
+ class: "uz-flex uz-flex-col uz-gap-2"
6810
6785
  }, {
6811
- icon: N(() => [l(h, null, {
6812
- default: N(() => [l(v)]),
6786
+ default: N(() => [t.tableShow ? (x(), n(y, {
6787
+ key: 0,
6788
+ ref: "tableRef",
6789
+ columns: t.columns,
6790
+ data: t.tableData.child,
6791
+ pagination: !1,
6792
+ loading: t.loading,
6793
+ summary: t.summaryData,
6794
+ "scroll-x": t.tableScrollX,
6795
+ class: g([t.message ? "error-border" : void 0, "uz-table-child"]),
6796
+ size: "small",
6797
+ "row-class-name": t.rowClassName,
6798
+ "scrollbar-props": {
6799
+ size: 8,
6800
+ trigger: "none"
6801
+ },
6802
+ remote: ""
6803
+ }, null, 8, [
6804
+ "columns",
6805
+ "data",
6806
+ "loading",
6807
+ "summary",
6808
+ "scroll-x",
6809
+ "class",
6810
+ "row-class-name"
6811
+ ])) : r("", !0), a("div", Gp, [t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6812
+ key: 0,
6813
+ type: "success",
6814
+ secondary: "",
6815
+ onClick: t.onAddFormData
6816
+ }, {
6817
+ icon: N(() => [l(h, null, {
6818
+ default: N(() => [l(v)]),
6819
+ _: 1
6820
+ })]),
6821
+ default: N(() => [s[2] ||= c(" 从数据新增 ", -1)]),
6813
6822
  _: 1
6814
- })]),
6815
- default: N(() => [s[2] ||= c(" 从数据新增 ", -1)]),
6816
- _: 1
6817
- }, 8, ["onClick"])) : r("", !0), t.item.params.addButton && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6818
- key: 1,
6819
- type: "success",
6820
- secondary: "",
6821
- onClick: t.onAdd
6822
- }, {
6823
- icon: N(() => [l(h, null, {
6824
- default: N(() => [l(v)]),
6823
+ }, 8, ["onClick"])) : r("", !0), t.item.params.addButton && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6824
+ key: 1,
6825
+ type: "success",
6826
+ secondary: "",
6827
+ onClick: t.onAdd
6828
+ }, {
6829
+ icon: N(() => [l(h, null, {
6830
+ default: N(() => [l(v)]),
6831
+ _: 1
6832
+ })]),
6833
+ default: N(() => [s[3] ||= c(" 新增 ", -1)]),
6825
6834
  _: 1
6826
- })]),
6827
- default: N(() => [s[3] ||= c(" 新增 ", -1)]),
6835
+ }, 8, ["onClick"])) : r("", !0)])]),
6828
6836
  _: 1
6829
- }, 8, ["onClick"])) : r("", !0)])]),
6830
- _: 1
6831
- }, 8, ["model"])
6832
- ]);
6837
+ }, 8, ["model"])
6838
+ ]),
6839
+ _: 1
6840
+ }, 8, ["show"]);
6833
6841
  }
6834
- var Jp = /*#__PURE__*/ U(Bp, [["render", qp]]), Yp = d({
6842
+ var qp = /*#__PURE__*/ U(Bp, [["render", Kp]]), Jp = d({
6835
6843
  name: "UzTableQuestChild",
6836
6844
  components: { NDataTable: oe },
6837
6845
  props: {
@@ -6930,11 +6938,11 @@ var Jp = /*#__PURE__*/ U(Bp, [["render", qp]]), Yp = d({
6930
6938
  tableScrollX: s
6931
6939
  };
6932
6940
  }
6933
- }), Xp = { class: "uz-flex-1 uz-w-full" }, Zp = { class: "uz-flex uz-justify-between" }, Qp = { class: "uz-com-title" };
6934
- function $p(e, t, n, r, o, s) {
6941
+ }), Yp = { class: "uz-flex-1 uz-w-full" }, Xp = { class: "uz-flex uz-justify-between" }, Zp = { class: "uz-com-title" };
6942
+ function Qp(e, t, n, r, o, s) {
6935
6943
  let c = D("NDataTable"), u = D("UzTableDrawer");
6936
- return x(), i("div", Xp, [
6937
- a("div", Zp, [a("div", Qp, k(e.item.label), 1)]),
6944
+ return x(), i("div", Yp, [
6945
+ a("div", Xp, [a("div", Zp, k(e.item.label), 1)]),
6938
6946
  t[0] ||= a("div", { class: "uz-br" }, null, -1),
6939
6947
  l(c, {
6940
6948
  columns: e.columns,
@@ -6959,7 +6967,7 @@ function $p(e, t, n, r, o, s) {
6959
6967
  l(u, { ref: "drawerRef" }, null, 512)
6960
6968
  ]);
6961
6969
  }
6962
- var em = /*#__PURE__*/ U(Yp, [["render", $p]]), tm = d({
6970
+ var $p = /*#__PURE__*/ U(Jp, [["render", Qp]]), em = d({
6963
6971
  name: "UzTableDrawer",
6964
6972
  components: {
6965
6973
  NButton: L,
@@ -7123,11 +7131,11 @@ var em = /*#__PURE__*/ U(Yp, [["render", $p]]), tm = d({
7123
7131
  }
7124
7132
  };
7125
7133
  }
7126
- }), nm = { class: "uz-flex uz-flex-col uz-gap-2 uz-h-full" }, rm = {
7134
+ }), tm = { class: "uz-flex uz-flex-col uz-gap-2 uz-h-full" }, nm = {
7127
7135
  key: 0,
7128
7136
  class: "uz-grid uz-grid-cols-2 uz-gap-2"
7129
- }, im = { class: "uz-flex uz-gap-2" };
7130
- function am(e, t, s, u, d, f) {
7137
+ }, rm = { class: "uz-flex uz-gap-2" };
7138
+ function im(e, t, s, u, d, f) {
7131
7139
  let p = D("NSkeleton"), m = D("UzForm"), h = D("UzSpin"), g = D("NSpin"), _ = D("NButton"), v = D("NDrawerContent"), y = D("NDrawer");
7132
7140
  return x(), n(y, {
7133
7141
  show: e.drawer,
@@ -7153,7 +7161,7 @@ function am(e, t, s, u, d, f) {
7153
7161
  message: e.spinMsg,
7154
7162
  status: e.spinStatus
7155
7163
  }, {
7156
- default: N(() => [a("div", nm, [e.skeletonShow ? (x(), i("div", rm, [
7164
+ default: N(() => [a("div", tm, [e.skeletonShow ? (x(), i("div", nm, [
7157
7165
  l(p, {
7158
7166
  size: "large",
7159
7167
  style: { height: "156px" }
@@ -7216,7 +7224,7 @@ function am(e, t, s, u, d, f) {
7216
7224
  _: 2
7217
7225
  }, [e.formStatus === 2 ? void 0 : {
7218
7226
  name: "footer",
7219
- fn: N(() => [a("div", im, [
7227
+ fn: N(() => [a("div", rm, [
7220
7228
  l(_, {
7221
7229
  loading: e.spinShow,
7222
7230
  class: "uz-drawer-button",
@@ -7259,7 +7267,7 @@ function am(e, t, s, u, d, f) {
7259
7267
  "on-after-leave"
7260
7268
  ]);
7261
7269
  }
7262
- var om = /*#__PURE__*/ U(tm, [["render", am]]), sm = d({
7270
+ var am = /*#__PURE__*/ U(em, [["render", im]]), om = d({
7263
7271
  name: "UzTableMobileList",
7264
7272
  props: {
7265
7273
  tableData: {
@@ -7277,12 +7285,12 @@ var om = /*#__PURE__*/ U(tm, [["render", am]]), sm = d({
7277
7285
  },
7278
7286
  emits: ["update:row-keys"],
7279
7287
  setup() {}
7280
- }), cm = { class: "uz-grid uz-grid-cols-2 uz-gap-2" }, lm = {
7288
+ }), sm = { class: "uz-grid uz-grid-cols-2 uz-gap-2" }, cm = {
7281
7289
  key: 1,
7282
7290
  class: "uz-table-mobile-group-txt"
7283
7291
  };
7284
- function um(t, o, s, c, l, u) {
7285
- return x(), i("div", cm, [(x(!0), i(e, null, T(t.tableColumns, (o) => (x(), i("div", {
7292
+ function lm(t, o, s, c, l, u) {
7293
+ return x(), i("div", sm, [(x(!0), i(e, null, T(t.tableColumns, (o) => (x(), i("div", {
7286
7294
  key: o.key,
7287
7295
  class: g(["uz-flex uz-overflow-hidden", o.lineBreak ? "uz-flex-col" : ""]),
7288
7296
  style: _(`grid-column: span ${o.lineCol || 2} / span ${o.lineCol || 2}`)
@@ -7293,11 +7301,11 @@ function um(t, o, s, c, l, u) {
7293
7301
  class: "mobile"
7294
7302
  })) : r("", !0)], 64)) : (x(), i(e, { key: 1 }, [a("div", { class: g(["uz-table-mobile-group-title", o.lineBreak ? "line-break" : ""]) }, [a("div", null, k(typeof o.title == "string" ? o.title : o.title()), 1)], 2), a("div", { class: g(["uz-table-mobile-group-content", o.lineBreak ? "line-break" : ""]) }, [o.render ? (x(), n(O(() => {
7295
7303
  if (t.tableData) return o.render(t.tableData, t.tableIndex);
7296
- }), { key: 0 })) : (x(), i("div", lm, k(t.tableData[o.key] || "-"), 1))], 2)], 64))], 6))), 128))]);
7304
+ }), { key: 0 })) : (x(), i("div", cm, k(t.tableData[o.key] || "-"), 1))], 2)], 64))], 6))), 128))]);
7297
7305
  }
7298
7306
  //#endregion
7299
7307
  //#region components/table/mobile.vue?vue&type=script&lang.ts
7300
- var dm = d({
7308
+ var um = d({
7301
7309
  name: "UzTableMobile",
7302
7310
  components: {
7303
7311
  NCheckbox: R,
@@ -7305,7 +7313,7 @@ var dm = d({
7305
7313
  NPagination: we,
7306
7314
  NCheckboxGroup: re,
7307
7315
  NRadioGroup: Oe,
7308
- UzTableMobileList: /* @__PURE__ */ U(sm, [["render", um], ["__scopeId", "data-v-84c394fe"]])
7316
+ UzTableMobileList: /* @__PURE__ */ U(om, [["render", lm], ["__scopeId", "data-v-84c394fe"]])
7309
7317
  },
7310
7318
  props: {
7311
7319
  tableData: {
@@ -7352,17 +7360,17 @@ var dm = d({
7352
7360
  }
7353
7361
  };
7354
7362
  }
7355
- }), fm = {
7363
+ }), dm = {
7356
7364
  key: 0,
7357
7365
  class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
7358
- }, pm = {
7366
+ }, fm = {
7359
7367
  key: 0,
7360
7368
  class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
7361
- }, mm = {
7369
+ }, pm = {
7362
7370
  key: 0,
7363
7371
  class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
7364
7372
  };
7365
- function hm(t, a, o, s, c, u) {
7373
+ function mm(t, a, o, s, c, u) {
7366
7374
  let d = D("UzTableMobileList"), f = D("NCheckbox"), p = D("NPagination"), m = D("NCheckboxGroup"), h = D("NRadio"), g = D("NRadioGroup");
7367
7375
  return t.selection === 2 ? (x(), n(m, {
7368
7376
  key: 0,
@@ -7389,7 +7397,7 @@ function hm(t, a, o, s, c, u) {
7389
7397
  "tableColumns"
7390
7398
  ])]),
7391
7399
  _: 2
7392
- }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", fm, [l(p, {
7400
+ }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", dm, [l(p, {
7393
7401
  page: t.tableQueries.query.page,
7394
7402
  "onUpdate:page": [a[0] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
7395
7403
  "item-count": t.tableQueries.query.itemCount,
@@ -7431,7 +7439,7 @@ function hm(t, a, o, s, c, u) {
7431
7439
  "tableColumns"
7432
7440
  ])]),
7433
7441
  _: 2
7434
- }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", pm, [l(p, {
7442
+ }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", fm, [l(p, {
7435
7443
  page: t.tableQueries.query.page,
7436
7444
  "onUpdate:page": [a[2] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
7437
7445
  "item-count": t.tableQueries.query.itemCount,
@@ -7466,7 +7474,7 @@ function hm(t, a, o, s, c, u) {
7466
7474
  "tableData",
7467
7475
  "tableIndex",
7468
7476
  "tableColumns"
7469
- ])]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", mm, [l(p, {
7477
+ ])]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", pm, [l(p, {
7470
7478
  page: t.tableQueries.query.page,
7471
7479
  "onUpdate:page": [a[4] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
7472
7480
  "item-count": t.tableQueries.query.itemCount,
@@ -7479,7 +7487,7 @@ function hm(t, a, o, s, c, u) {
7479
7487
  "onUpdate:page"
7480
7488
  ])])) : r("", !0)], 4));
7481
7489
  }
7482
- var gm = /*#__PURE__*/ U(dm, [["render", hm], ["__scopeId", "data-v-70b54e3b"]]), Q = C({
7490
+ var hm = /*#__PURE__*/ U(um, [["render", mm], ["__scopeId", "data-v-70b54e3b"]]), Q = C({
7483
7491
  page: {
7484
7492
  label: "首页",
7485
7493
  key: "/",
@@ -7490,7 +7498,7 @@ var gm = /*#__PURE__*/ U(dm, [["render", hm], ["__scopeId", "data-v-70b54e3b"]])
7490
7498
  active: "/",
7491
7499
  thumbnail: []
7492
7500
  });
7493
- function _m(e) {
7501
+ function gm(e) {
7494
7502
  Q.cache = e.cache, Q.page = {
7495
7503
  label: e.label,
7496
7504
  key: e.key,
@@ -7505,14 +7513,14 @@ function _m(e) {
7505
7513
  closable: !1
7506
7514
  }];
7507
7515
  }
7508
- function vm(e) {
7516
+ function _m(e) {
7509
7517
  Q.active = e, W.push(e), J(Q.cache, Q, 0);
7510
7518
  }
7511
- function ym(e, t) {
7519
+ function vm(e, t) {
7512
7520
  let n = Q.thumbnail.find((t) => t.key === e);
7513
7521
  n && (n.key = t, Q.active = t, J(Q.cache, Q, 0));
7514
7522
  }
7515
- function bm(e) {
7523
+ function ym(e) {
7516
7524
  let t = Q.thumbnail.find((t) => t.path === e.key);
7517
7525
  t ? (Q.active = t.key, J(Q.cache, Q, 0), W.push(t.key)) : (Q.active = e.key, Q.thumbnail.push({
7518
7526
  ...e,
@@ -7520,7 +7528,7 @@ function bm(e) {
7520
7528
  closable: !0
7521
7529
  }), W.push(e.key));
7522
7530
  }
7523
- function xm(e) {
7531
+ function bm(e) {
7524
7532
  let t = Q.thumbnail.findIndex((t) => t.key === e);
7525
7533
  if (Q.thumbnail.splice(t, 1), Q.active === e) {
7526
7534
  let e = Q.thumbnail[t - 1]?.key || "";
@@ -7528,12 +7536,12 @@ function xm(e) {
7528
7536
  }
7529
7537
  J(Q.cache, Q, 0);
7530
7538
  }
7531
- function Sm() {
7539
+ function xm() {
7532
7540
  Q.active = Q.page.path, Q.thumbnail = [Q.page], W.push(Q.page.path), J(Q.cache, Q, 0);
7533
7541
  }
7534
7542
  //#endregion
7535
7543
  //#region components/thumbnail/index.vue?vue&type=script&lang.ts
7536
- var Cm = d({
7544
+ var Sm = d({
7537
7545
  name: "UzThumbnail",
7538
7546
  components: {
7539
7547
  NTabs: Pe,
@@ -7555,29 +7563,29 @@ var Cm = d({
7555
7563
  setup(e, { slots: t }) {
7556
7564
  let n = w(!!t.prefix), r = Ke();
7557
7565
  return y(() => {
7558
- _m(e.option), Q.active !== r.path && ym(r.path, r.fullPath);
7566
+ gm(e.option), Q.active !== r.path && vm(r.path, r.fullPath);
7559
7567
  }), j(() => r, (e) => {
7560
- Q.active === r.path && ym(e.path, e.fullPath);
7568
+ Q.active === r.path && vm(e.path, e.fullPath);
7561
7569
  }, { deep: !0 }), j(() => e.option, (e) => {
7562
- _m(e);
7570
+ gm(e);
7563
7571
  }, { deep: !0 }), {
7564
7572
  thumbnailStore: Q,
7565
7573
  isSlotPrefix: n,
7566
7574
  handleClose: (e) => {
7567
- xm(e);
7575
+ bm(e);
7568
7576
  },
7569
7577
  handleChange: (e) => {
7570
- vm(e);
7578
+ _m(e);
7571
7579
  },
7572
7580
  handleClear: () => {
7573
- Sm();
7581
+ xm();
7574
7582
  }
7575
7583
  };
7576
7584
  }
7577
7585
  });
7578
7586
  //#endregion
7579
7587
  //#region components/thumbnail/index.vue
7580
- function wm(t, r, a, s, u, d) {
7588
+ function Cm(t, r, a, s, u, d) {
7581
7589
  let f = D("NTabPane"), p = D("Trash"), m = D("NIcon"), h = D("NButton"), g = D("NPopconfirm"), _ = D("NFlex"), v = D("NTabs");
7582
7590
  return x(), n(v, {
7583
7591
  value: t.thumbnailStore.active,
@@ -7623,33 +7631,33 @@ function wm(t, r, a, s, u, d) {
7623
7631
  "on-update:value"
7624
7632
  ]);
7625
7633
  }
7626
- var Tm = /*#__PURE__*/ U(Cm, [["render", wm]]), Em = "#007AFF", Dm = "#0A84FF", Om = "#FF9500", km = "#FF9F0A", Am = "#28CD41", jm = "#32D74B", Mm = "#FFCC00", Nm = "#FFD60A", Pm = "#FF3B30", Fm = "#FF453A";
7627
- V.common.cardColor = "#32323b", V.common.primaryColor = "#0A84FF", V.common.primaryColorHover = Dm, V.common.infoColor = "#FF9F0A", V.common.infoColorHover = km, V.common.successColor = "#32D74B", V.common.successColorHover = jm, V.common.warningColor = "#FFD60A", V.common.successColorHover = Nm, V.common.errorColor = "#FF453A", V.common.errorColorHover = Fm, V.common.borderRadius = "var(--borderRadius)", V.common.inputColor = "rgba(var(--input))", V.common.borderColor = "rgba(var(--border), 0.7)", V.DataTable.tdColor = "#2d2d31";
7628
- var Im = {
7634
+ var wm = /*#__PURE__*/ U(Sm, [["render", Cm]]), Tm = "#007AFF", Em = "#0A84FF", Dm = "#FF9500", Om = "#FF9F0A", km = "#28CD41", Am = "#32D74B", jm = "#FFCC00", Mm = "#FFD60A", Nm = "#FF3B30", Pm = "#FF453A";
7635
+ V.common.cardColor = "#32323b", V.common.primaryColor = "#0A84FF", V.common.primaryColorHover = Em, V.common.infoColor = "#FF9F0A", V.common.infoColorHover = Om, V.common.successColor = "#32D74B", V.common.successColorHover = Am, V.common.warningColor = "#FFD60A", V.common.successColorHover = Mm, V.common.errorColor = "#FF453A", V.common.errorColorHover = Pm, V.common.borderRadius = "var(--borderRadius)", V.common.inputColor = "rgba(var(--input))", V.common.borderColor = "rgba(var(--border), 0.7)", V.DataTable.tdColor = "#2d2d31";
7636
+ var Fm = {
7629
7637
  common: {
7630
7638
  inputColor: "rgba(var(--input))",
7631
7639
  borderColor: "rgba(var(--border), 0.7)",
7632
7640
  borderRadius: "var(--borderRadius)",
7633
- primaryColor: Em,
7634
- primaryColorHover: Dm,
7635
- primaryColorPressed: Em,
7636
- primaryColorSuppl: Em,
7637
- infoColor: Om,
7638
- infoColorHover: km,
7639
- infoColorPressed: Om,
7640
- infoColorSuppl: Om,
7641
- successColor: Am,
7642
- successColorHover: jm,
7643
- successColorPressed: Am,
7644
- successColorSuppl: Am,
7645
- warningColor: Mm,
7646
- warningColorHover: Nm,
7647
- warningColorPressed: Mm,
7648
- warningColorSuppl: Mm,
7649
- errorColor: Pm,
7650
- errorColorHover: Fm,
7651
- errorColorPressed: Pm,
7652
- errorColorSuppl: Pm,
7641
+ primaryColor: Tm,
7642
+ primaryColorHover: Em,
7643
+ primaryColorPressed: Tm,
7644
+ primaryColorSuppl: Tm,
7645
+ infoColor: Dm,
7646
+ infoColorHover: Om,
7647
+ infoColorPressed: Dm,
7648
+ infoColorSuppl: Dm,
7649
+ successColor: km,
7650
+ successColorHover: Am,
7651
+ successColorPressed: km,
7652
+ successColorSuppl: km,
7653
+ warningColor: jm,
7654
+ warningColorHover: Mm,
7655
+ warningColorPressed: jm,
7656
+ warningColorSuppl: jm,
7657
+ errorColor: Nm,
7658
+ errorColorHover: Pm,
7659
+ errorColorPressed: Nm,
7660
+ errorColorSuppl: Nm,
7653
7661
  cardColor: "#fff"
7654
7662
  },
7655
7663
  Button: { textColor: "rgb(var(--font))" },
@@ -7657,7 +7665,7 @@ var Im = {
7657
7665
  DatePicker: { itemBorderRadius: "var(--borderRadius)" },
7658
7666
  Notification: { borderRadius: "var(--borderRadius)" },
7659
7667
  Radio: { boxShadow: "inset 0 0 0 1px rgb(var(--primary))" }
7660
- }, Lm = V, Rm = d({
7668
+ }, Im = V, Lm = d({
7661
7669
  name: "UzWrap",
7662
7670
  components: { NConfigProvider: ae },
7663
7671
  setup() {
@@ -7665,14 +7673,14 @@ var Im = {
7665
7673
  zhCN: He,
7666
7674
  dateZhCN: Be,
7667
7675
  commonStore: K,
7668
- lightTheme: Im,
7669
- darkTheme: Lm
7676
+ lightTheme: Fm,
7677
+ darkTheme: Im
7670
7678
  };
7671
7679
  }
7672
7680
  });
7673
7681
  //#endregion
7674
7682
  //#region components/wrap/index.vue
7675
- function zm(e, t, r, i, a, o) {
7683
+ function Rm(e, t, r, i, a, o) {
7676
7684
  let s = D("NConfigProvider");
7677
7685
  return x(), n(s, {
7678
7686
  theme: e.commonStore.theme ? { name: "darkTheme" } : null,
@@ -7691,7 +7699,7 @@ function zm(e, t, r, i, a, o) {
7691
7699
  "date-locale"
7692
7700
  ]);
7693
7701
  }
7694
- var Bm = /*#__PURE__*/ U(Rm, [["render", zm]]), Vm = /* @__PURE__ */ at({
7702
+ var zm = /*#__PURE__*/ U(Lm, [["render", Rm]]), Bm = /* @__PURE__ */ at({
7695
7703
  AccessPoint: () => ut,
7696
7704
  Activity: () => mt,
7697
7705
  Adjustments: () => vt,
@@ -7834,19 +7842,19 @@ var Bm = /*#__PURE__*/ U(Rm, [["render", zm]]), Vm = /* @__PURE__ */ at({
7834
7842
  UzSearchMobileBar: () => cp,
7835
7843
  UzSpin: () => kp,
7836
7844
  UzTable: () => zp,
7837
- UzTableChild: () => Jp,
7838
- UzTableDrawer: () => om,
7839
- UzTableMobile: () => gm,
7840
- UzTableQuestChild: () => em,
7841
- UzThumbnail: () => Tm,
7842
- UzWrap: () => Bm,
7845
+ UzTableChild: () => qp,
7846
+ UzTableDrawer: () => am,
7847
+ UzTableMobile: () => hm,
7848
+ UzTableQuestChild: () => $p,
7849
+ UzThumbnail: () => wm,
7850
+ UzWrap: () => zm,
7843
7851
  X: () => Il,
7844
7852
  commonStore: () => K,
7845
7853
  fnActionReduction: () => Rd,
7846
7854
  fnActionSimplify: () => Ld,
7847
- fnAddThumbnail: () => bm,
7848
- fnClearAllThumbnail: () => Sm,
7849
- fnDeleteThumbnail: () => xm,
7855
+ fnAddThumbnail: () => ym,
7856
+ fnClearAllThumbnail: () => xm,
7857
+ fnDeleteThumbnail: () => bm,
7850
7858
  fnGetTableData: () => vp,
7851
7859
  fnOptionReduction: () => wp,
7852
7860
  fnOptionSimplify: () => Cp,
@@ -7855,18 +7863,18 @@ var Bm = /*#__PURE__*/ U(Rm, [["render", zm]]), Vm = /* @__PURE__ */ at({
7855
7863
  fnRenderAction: () => Ad,
7856
7864
  fnSetLang: () => Iu,
7857
7865
  fnSetTheme: () => Lu,
7858
- fnSetThumbnail: () => vm,
7866
+ fnSetThumbnail: () => _m,
7859
7867
  fnTableReduction: () => bp,
7860
7868
  fnTableSimplify: () => yp,
7861
7869
  fnTriggersReduction: () => Sp,
7862
7870
  fnTriggersSimplify: () => xp,
7863
7871
  i18n: () => G
7864
- }), Hm = 3840, Um = 2160, Wm = C({ scale: 1 });
7865
- function Gm(e, t) {
7866
- Hm = e, Um = t;
7872
+ }), Vm = 3840, Hm = 2160, Um = C({ scale: 1 });
7873
+ function Wm(e, t) {
7874
+ Vm = e, Hm = t;
7867
7875
  }
7868
- function Km() {
7869
- let e = 1, t = window.innerWidth, n = window.innerHeight, r = Hm, i = Um, a = parseFloat((r / i).toFixed(5));
7876
+ function Gm() {
7877
+ let e = 1, t = window.innerWidth, n = window.innerHeight, r = Vm, i = Hm, a = parseFloat((r / i).toFixed(5));
7870
7878
  if (parseFloat((t / n).toFixed(5)) > a) {
7871
7879
  let t = parseFloat((n * a / r).toFixed(5));
7872
7880
  e = t > 1 ? 1 : t;
@@ -7874,17 +7882,17 @@ function Km() {
7874
7882
  let n = parseFloat((t / a / i).toFixed(5));
7875
7883
  e = n > 1 ? 1 : n;
7876
7884
  }
7877
- Wm.scale = e;
7885
+ Um.scale = e;
7878
7886
  }
7879
- function qm() {
7880
- let e = Ze(Km, 200);
7887
+ function Km() {
7888
+ let e = Ze(Gm, 200);
7881
7889
  return e(), window.addEventListener("resize", e), () => {
7882
- Hm = 3840, Um = 2160, window.removeEventListener("resize", e);
7890
+ Vm = 3840, Hm = 2160, window.removeEventListener("resize", e);
7883
7891
  };
7884
7892
  }
7885
7893
  //#endregion
7886
7894
  //#region components/hooks/useDebounceFn.ts
7887
- function Jm(e, t = 1e3) {
7895
+ function qm(e, t = 1e3) {
7888
7896
  let n = Ze(e, t);
7889
7897
  return {
7890
7898
  run: n,
@@ -7894,7 +7902,7 @@ function Jm(e, t = 1e3) {
7894
7902
  }
7895
7903
  //#endregion
7896
7904
  //#region components/hooks/useThrottleFn.ts
7897
- function Ym(e, n = 1e3) {
7905
+ function Jm(e, n = 1e3) {
7898
7906
  let r = w(e), i = t(() => Qe((...e) => r.value([...e]), n));
7899
7907
  return b(() => {
7900
7908
  i.value.cancel();
@@ -7906,14 +7914,14 @@ function Ym(e, n = 1e3) {
7906
7914
  }
7907
7915
  //#endregion
7908
7916
  //#region components/hooks/useLocalStorage.ts
7909
- function Xm(e, t) {
7917
+ function Ym(e, t) {
7910
7918
  return [w(Y(e, t?.defaultValue)), (n) => {
7911
7919
  n === void 0 ? Qu(e) : J(e, n, t?.expired || "1 Day");
7912
7920
  }];
7913
7921
  }
7914
7922
  //#endregion
7915
7923
  //#region components/hooks/useQuery.ts
7916
- function Zm(e, t, n) {
7924
+ function Xm(e, t, n) {
7917
7925
  let r = `useQuery-${e}`, i = w(), a = w(), o = w(), s = w(!1), c = w("idle"), l = w(), u = w(0), d = w(0), f = () => {
7918
7926
  md(), clearInterval(o.value), o.value = null;
7919
7927
  }, p = async () => {
@@ -7979,26 +7987,26 @@ function Zm(e, t, n) {
7979
7987
  }
7980
7988
  //#endregion
7981
7989
  //#region package.json
7982
- var Qm = "0.1.31", $m;
7983
- async function eh() {
7990
+ var Zm = "0.1.33", Qm;
7991
+ async function $m() {
7984
7992
  let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
7985
7993
  method: "HEAD",
7986
7994
  cache: "no-cache"
7987
7995
  });
7988
7996
  return e.headers.get("etag") || e.headers.get("last-modified");
7989
7997
  }
7990
- async function th() {
7991
- let e = await eh();
7992
- $m !== e && Ru(!0);
7998
+ async function eh() {
7999
+ let e = await $m();
8000
+ Qm !== e && Ru(!0);
7993
8001
  }
7994
- async function nh() {
7995
- $m = await eh(), window.versionMonitor && clearInterval(window.versionMonitor), window.versionMonitor = setInterval(() => {
7996
- th();
8002
+ async function th() {
8003
+ Qm = await $m(), window.versionMonitor && clearInterval(window.versionMonitor), window.versionMonitor = setInterval(() => {
8004
+ eh();
7997
8005
  }, 60 * 1e3);
7998
8006
  }
7999
8007
  //#endregion
8000
8008
  //#region components/monitor.ts
8001
- var rh = "", ih, $ = navigator.userAgent.toLocaleUpperCase(), ah = () => {
8009
+ var nh = "", rh, $ = navigator.userAgent.toLocaleUpperCase(), ih = () => {
8002
8010
  let e = /WINDOWS NT 5.[\d]+/, t = /WINDOWS NT 6.[\d]+/, n = /WINDOWS NT 7.[\d]+/, r = /WINDOWS NT 10.[\d]+/, i = /WINDOWS NT 11.[\d]+/, a = /ANDROID [\d.]+/, o = /IPHONE/, s = /IPAD/, c = /MAC/;
8003
8011
  if (e.test($)) return "Windows XP";
8004
8012
  if (t.test($)) return "Windows 7";
@@ -8022,7 +8030,7 @@ var rh = "", ih, $ = navigator.userAgent.toLocaleUpperCase(), ah = () => {
8022
8030
  return `MAC ${e ? e[0].replace(/_/g, ".").replace(/ /g, "") : ""}`;
8023
8031
  }
8024
8032
  return "Other Platform";
8025
- }, oh = () => {
8033
+ }, ah = () => {
8026
8034
  let e = /MSIE [\d]+/, t = /EDG\/[\d.]+/, n = /FIREFOX\/[\d.]+/, r = /CHROME\/[\d.]+/, i = /SAFARI\/[\d.]+/, a = /OPR\/[\d.]+/, o = /SE \d/, s = /UCBROWSER/, c = /ANDROID [\d.]+/;
8027
8035
  if (e.test($) && o.test($)) return "SogouIE";
8028
8036
  if (o.test($)) return "SogouFast";
@@ -8051,64 +8059,64 @@ var rh = "", ih, $ = navigator.userAgent.toLocaleUpperCase(), ah = () => {
8051
8059
  }
8052
8060
  return "Others";
8053
8061
  };
8054
- function sh(e, t, n, r = !1) {
8062
+ function oh(e, t, n, r = !1) {
8055
8063
  if (e !== void 0 && (t in e || r)) {
8056
8064
  let r = e[t], i = n(r);
8057
8065
  typeof i == "function" && (e[t] = i);
8058
8066
  }
8059
8067
  }
8060
- function ch(e, t, n, r = !1) {
8068
+ function sh(e, t, n, r = !1) {
8061
8069
  e.addEventListener(t, n, r);
8062
8070
  }
8063
- function lh() {
8071
+ function ch() {
8064
8072
  if (!("XMLHttpRequest" in window)) return;
8065
8073
  let e = XMLHttpRequest.prototype;
8066
- sh(e, "open", (e) => function(...t) {
8074
+ oh(e, "open", (e) => function(...t) {
8067
8075
  this.xhr = {
8068
8076
  method: t[0].toUpperCase(),
8069
8077
  url: t[1],
8070
8078
  startTime: Date.now(),
8071
8079
  type: "xhr"
8072
- }, ch(this, "error", function() {
8073
- this.xhr.url.indexOf("log/submit") === -1 && dh(3, this.xhr.url, `Request-${this.status}`);
8080
+ }, sh(this, "error", function() {
8081
+ this.xhr.url.indexOf("log/submit") === -1 && uh(3, this.xhr.url, `Request-${this.status}`);
8074
8082
  }), e.apply(this, t);
8075
- }), sh(e, "send", (e) => function(...t) {
8083
+ }), oh(e, "send", (e) => function(...t) {
8076
8084
  let { url: n } = this.xhr;
8077
8085
  this.ontimeout = function() {
8078
- dh(3, n, "Network Timeout");
8079
- }, ch(this, "loadend", function() {
8080
- (this.status === 500 || this.status === 405) && dh(3, n, `${t[0]}-${this.status}-${this.response}`);
8086
+ uh(3, n, "Network Timeout");
8087
+ }, sh(this, "loadend", function() {
8088
+ (this.status === 500 || this.status === 405) && uh(3, n, `${t[0]}-${this.status}-${this.response}`);
8081
8089
  }), e.apply(this, t);
8082
8090
  });
8083
8091
  }
8084
- function uh(e, t, n) {
8085
- t && (rh = t, ih = n, lh(), e.config.errorHandler = (e) => {
8086
- dh(2, window.location.href, e.message);
8092
+ function lh(e, t, n) {
8093
+ t && (nh = t, rh = n, ch(), e.config.errorHandler = (e) => {
8094
+ uh(2, window.location.href, e.message);
8087
8095
  }, window.addEventListener("unhandledrejection", function(e) {
8088
8096
  e.preventDefault();
8089
8097
  }));
8090
8098
  }
8091
- var dh = (e, t, n) => {
8092
- let r = ih ? JSON.stringify(ih()) : "", i = {
8099
+ var uh = (e, t, n) => {
8100
+ let r = rh ? JSON.stringify(rh()) : "", i = {
8093
8101
  type: e,
8094
8102
  time: Date.now(),
8095
8103
  url: encodeURIComponent(t || location.href),
8096
- browser: oh(),
8097
- platform: ah(),
8104
+ browser: ah(),
8105
+ platform: ih(),
8098
8106
  message: n,
8099
8107
  info: r
8100
8108
  }, a = window.btoa(JSON.stringify(i));
8101
- if (window.navigator.sendBeacon) window.navigator.sendBeacon(rh, a);
8109
+ if (window.navigator.sendBeacon) window.navigator.sendBeacon(nh, a);
8102
8110
  else {
8103
8111
  let e = document.body, t = new Image();
8104
- t.src = rh + "?data=" + a, t.onload = t.onerror = function() {
8112
+ t.src = nh + "?data=" + a, t.onload = t.onerror = function() {
8105
8113
  e.removeChild(t), t = null;
8106
8114
  }, e.append(t);
8107
8115
  }
8108
8116
  };
8109
8117
  //#endregion
8110
8118
  //#region components/create.ts
8111
- function fh({ components: e = [] } = {}) {
8119
+ function dh({ components: e = [] } = {}) {
8112
8120
  let t = [];
8113
8121
  function n(e, t, n) {
8114
8122
  e.component(t) || e.component(t, n);
@@ -8121,16 +8129,16 @@ function fh({ components: e = [] } = {}) {
8121
8129
  });
8122
8130
  }), i)) {
8123
8131
  let { title: e = "杭州宇臻智能", monitor: t = !1, monitorFn: n, version: a = !0, language: o = !1, local: s = "zh-CN" } = i, c = Y("theme", !1), l = Y("lang", s);
8124
- zu(e), Fu(o), Iu(l), Lu(c), G.global.locale.value = l, a && nh(), t && uh(r, t, n);
8132
+ zu(e), Fu(o), Iu(l), Lu(c), G.global.locale.value = l, a && th(), t && lh(r, t, n);
8125
8133
  }
8126
8134
  }
8127
8135
  return {
8128
- version: Qm,
8136
+ version: Zm,
8129
8137
  install: r
8130
8138
  };
8131
8139
  }
8132
8140
  //#endregion
8133
8141
  //#region components/preset.ts
8134
- var ph = fh({ components: Object.keys(Vm).map((e) => Vm[e]) }), mh = ph.install;
8142
+ var fh = dh({ components: Object.keys(Bm).map((e) => Bm[e]) }), ph = fh.install;
8135
8143
  //#endregion
8136
- export { ut as AccessPoint, mt as Activity, vt as Adjustments, St as AdjustmentsHorizontal, Et as Affiliate, At as Alarm, Pt as AlertCircle, Rt as ApiApp, Kt as AppWindow, Ht as Apps, Xt as Archive, en as ArrowNarrowLeft, an as AspectRatio, ln as Atom, pn as Atom2, _n as Award, gd as BLOB, xn as Barcode, Tn as Basket, kn as Bell, Nn as Bluetooth, Ln as Book2, vu as Books, Vn as Box, Gn as BrandAsana, Au as BrandStackoverflow, Yn as Briefcase, $n as Building, rr as BuildingArch, nu as BuildingWarehouse, _d as CUSTOM, dr as Calculator, hr as Calendar, yr as CalendarPlus, Cr as CalendarStats, Dr as Camera, jr as CaretDown, Fr as CaretUp, zr as ChartArea, Ur as ChartBar, qr as ChartBubble, Zr as ChartDonut, ti as ChartLine, ai as ChartPie, li as ChartRadar, Jl as CheckMark, pi as Checkbox, _i as CheckupList, Wl as CircleMinus, xi as Clipboard, Ti as ClipboardCheck, ki as ClipboardList, Ni as ClipboardPlus, Li as Clock, Vi as Cloud, Gi as CloudDownload, Yi as CloudUpload, $i as Command, Su as Confetti, uu as Container, ra as Copy, sr as Cpu, sa as CreditCard, da as Crosshair, ha as CurrencyYen, mu as Dashboard, ya as Database, Ca as DatabaseExport, Da as DatabaseImport, ja as DeviceAnalytics, Fa as DeviceDesktop, za as DeviceDesktopAnalytics, Ua as DeviceLaptop, qa as DeviceMobile, Za as Diamond, to as Dots, ao as DotsVertical, lo as Edit, mo as Eraser, vo as Eye, vd as FILE, So as File, Eo as FileAlert, Ao as FileAnalytics, Po as FileText, Ro as Filter, hd as GET, Ho as GitCompare, Ko as GitPullRequest, Xo as GridDots, es as Home, Nu as IconList, is as Id, cs as LayoutSidebarLeftCollapse, fs as LayoutSidebarLeftExpand, gs as Link, bs as List, ws as ListCheck, Os as ListDetails, Ms as Mail, Is as Map, Bs as MapPin, ou as Menu2, Ql as Message2, Eu as MinusRound, Ws as MoonStars, Z as POST, Js as Paperclip, Qs as Photo, nc as PhotoOff, oc as Plus, uc as Presentation, mc as PresentationAnalytics, vc as Printer, Sc as Qrcode, Ec as Refresh, Ac as Report, Pc as ReportAnalytics, Rc as ReportMoney, Hc as ReportSearch, Kc as Search, Xc as Settings, el as SmartHome, il as Sun, cl as TransferIn, fl as TransferOut, gl as Trash, bl as User, Bl as UserCircle, wl as UserMinus, Ol as UserPlus, Ml as Users, ot as UzActionButton, Vd as UzBack, Xf as UzCamera, gf as UzCircle, kf as UzDraggableForm, wf as UzForm, bf as UzFormItem, zf as UzFormItemImage, Uf as UzFormItemTimesPicker, Ff as UzFormItemUpload, Mu as UzIcon, np as UzSearchBar, cp as UzSearchMobileBar, kp as UzSpin, zp as UzTable, Jp as UzTableChild, om as UzTableDrawer, gm as UzTableMobile, em as UzTableQuestChild, Tm as UzThumbnail, Bm as UzWrap, Il as X, K as commonStore, fh as create, Lm as darkTheme, ph as default, Rd as fnActionReduction, Ld as fnActionSimplify, bm as fnAddThumbnail, md as fnCancelFetch, Sm as fnClearAllThumbnail, Km as fnComputedScale, Pu as fnCreateRouter, Qu as fnDelStorage, ed as fnDelStorageAll, $u as fnDelStorageByPrefix, xm as fnDeleteThumbnail, Zu as fnDialog, q as fnErrorLog, rd as fnFormatTime, sd as fnFormatUnits, od as fnFullScreen, Y as fnGetStorage, vp as fnGetTableData, qm as fnListenerScale, Xu as fnNotification, wp as fnOptionReduction, Cp as fnOptionSimplify, nd as fnPageModel2Naive, Tp as fnPrepareFormData, Ep as fnPrepareTableData, Ad as fnRenderAction, td as fnScrollTop, Iu as fnSetLang, Gm as fnSetNormalWidthAndHeight, J as fnSetStorage, Lu as fnSetTheme, vm as fnSetThumbnail, bp as fnTableReduction, yp as fnTableSimplify, ad as fnThrottle, id as fnTitle, Sp as fnTriggersReduction, xp as fnTriggersSimplify, G as i18n, mh as install, Im as lightTheme, W as router, Wm as scaleStore, Jm as useDebounceFn, Xm as useLocalStorage, Zm as useQuery, Ym as useThrottleFn };
8144
+ export { ut as AccessPoint, mt as Activity, vt as Adjustments, St as AdjustmentsHorizontal, Et as Affiliate, At as Alarm, Pt as AlertCircle, Rt as ApiApp, Kt as AppWindow, Ht as Apps, Xt as Archive, en as ArrowNarrowLeft, an as AspectRatio, ln as Atom, pn as Atom2, _n as Award, gd as BLOB, xn as Barcode, Tn as Basket, kn as Bell, Nn as Bluetooth, Ln as Book2, vu as Books, Vn as Box, Gn as BrandAsana, Au as BrandStackoverflow, Yn as Briefcase, $n as Building, rr as BuildingArch, nu as BuildingWarehouse, _d as CUSTOM, dr as Calculator, hr as Calendar, yr as CalendarPlus, Cr as CalendarStats, Dr as Camera, jr as CaretDown, Fr as CaretUp, zr as ChartArea, Ur as ChartBar, qr as ChartBubble, Zr as ChartDonut, ti as ChartLine, ai as ChartPie, li as ChartRadar, Jl as CheckMark, pi as Checkbox, _i as CheckupList, Wl as CircleMinus, xi as Clipboard, Ti as ClipboardCheck, ki as ClipboardList, Ni as ClipboardPlus, Li as Clock, Vi as Cloud, Gi as CloudDownload, Yi as CloudUpload, $i as Command, Su as Confetti, uu as Container, ra as Copy, sr as Cpu, sa as CreditCard, da as Crosshair, ha as CurrencyYen, mu as Dashboard, ya as Database, Ca as DatabaseExport, Da as DatabaseImport, ja as DeviceAnalytics, Fa as DeviceDesktop, za as DeviceDesktopAnalytics, Ua as DeviceLaptop, qa as DeviceMobile, Za as Diamond, to as Dots, ao as DotsVertical, lo as Edit, mo as Eraser, vo as Eye, vd as FILE, So as File, Eo as FileAlert, Ao as FileAnalytics, Po as FileText, Ro as Filter, hd as GET, Ho as GitCompare, Ko as GitPullRequest, Xo as GridDots, es as Home, Nu as IconList, is as Id, cs as LayoutSidebarLeftCollapse, fs as LayoutSidebarLeftExpand, gs as Link, bs as List, ws as ListCheck, Os as ListDetails, Ms as Mail, Is as Map, Bs as MapPin, ou as Menu2, Ql as Message2, Eu as MinusRound, Ws as MoonStars, Z as POST, Js as Paperclip, Qs as Photo, nc as PhotoOff, oc as Plus, uc as Presentation, mc as PresentationAnalytics, vc as Printer, Sc as Qrcode, Ec as Refresh, Ac as Report, Pc as ReportAnalytics, Rc as ReportMoney, Hc as ReportSearch, Kc as Search, Xc as Settings, el as SmartHome, il as Sun, cl as TransferIn, fl as TransferOut, gl as Trash, bl as User, Bl as UserCircle, wl as UserMinus, Ol as UserPlus, Ml as Users, ot as UzActionButton, Vd as UzBack, Xf as UzCamera, gf as UzCircle, kf as UzDraggableForm, wf as UzForm, bf as UzFormItem, zf as UzFormItemImage, Uf as UzFormItemTimesPicker, Ff as UzFormItemUpload, Mu as UzIcon, np as UzSearchBar, cp as UzSearchMobileBar, kp as UzSpin, zp as UzTable, qp as UzTableChild, am as UzTableDrawer, hm as UzTableMobile, $p as UzTableQuestChild, wm as UzThumbnail, zm as UzWrap, Il as X, K as commonStore, dh as create, Im as darkTheme, fh as default, Rd as fnActionReduction, Ld as fnActionSimplify, ym as fnAddThumbnail, md as fnCancelFetch, xm as fnClearAllThumbnail, Gm as fnComputedScale, Pu as fnCreateRouter, Qu as fnDelStorage, ed as fnDelStorageAll, $u as fnDelStorageByPrefix, bm as fnDeleteThumbnail, Zu as fnDialog, q as fnErrorLog, rd as fnFormatTime, sd as fnFormatUnits, od as fnFullScreen, Y as fnGetStorage, vp as fnGetTableData, Km as fnListenerScale, Xu as fnNotification, wp as fnOptionReduction, Cp as fnOptionSimplify, nd as fnPageModel2Naive, Tp as fnPrepareFormData, Ep as fnPrepareTableData, Ad as fnRenderAction, td as fnScrollTop, Iu as fnSetLang, Wm as fnSetNormalWidthAndHeight, J as fnSetStorage, Lu as fnSetTheme, _m as fnSetThumbnail, bp as fnTableReduction, yp as fnTableSimplify, ad as fnThrottle, id as fnTitle, Sp as fnTriggersReduction, xp as fnTriggersSimplify, G as i18n, ph as install, Fm as lightTheme, W as router, Um as scaleStore, qm as useDebounceFn, Ym as useLocalStorage, Xm as useQuery, Jm as useThrottleFn };