@unizhen/ui 0.1.30 → 0.1.32

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.
@@ -28,6 +28,7 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
28
28
  default: number;
29
29
  };
30
30
  }>, {
31
+ spin: Ref<boolean, boolean>;
31
32
  loading: Ref<boolean, boolean>;
32
33
  formRef: Ref<any, any>;
33
34
  tableRef: Ref<any, any>;
@@ -104,7 +104,7 @@ export declare function fnPrepareFormData(items: IUzFormItems, formData?: Object
104
104
  fillingDefaultValue: ObjectKey;
105
105
  fillingDefaultArray: ObjectKey[];
106
106
  }>;
107
- export declare function fnPrepareTableData(items: IUzFormItems, child?: boolean, status?: number, formValues?: () => void, modules?: {}): Promise<{
107
+ export declare function fnPrepareTableData(items: IUzFormItems, child?: boolean, status?: number, formValues?: () => void, modules?: {}, reFetch?: boolean): Promise<{
108
108
  tableColumns: any[];
109
109
  search: {
110
110
  input: "number" | "color" | "group" | "input" | "select" | "time" | "date" | "auto" | "cascader" | "checkbox" | "timesPicker" | "filling";
package/lib/ui.js CHANGED
@@ -5028,11 +5028,11 @@ var fp = () => new Promise((e) => {
5028
5028
  function gp() {
5029
5029
  hp.clear();
5030
5030
  }
5031
- async function _p(e) {
5032
- let t = e.split("."), n = !1;
5033
- return t.length > 1 && (hp.has(t[0]) ? n = H(hp.get(t[0])) : (n = await xd({ tableId: t[0] }), hp.set(t[0], n))), {
5034
- sourceData: n,
5035
- n: t
5031
+ async function _p(e, t = !1) {
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))), {
5034
+ sourceData: r,
5035
+ n
5036
5036
  };
5037
5037
  }
5038
5038
  async function vp(e) {
@@ -5370,17 +5370,17 @@ 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: t, n } = await _p(e.source);
5383
+ let { sourceData: t, n } = await _p(e.source, a);
5384
5384
  if (t && Array.isArray(t)) if (e.sourceFn) {
5385
5385
  let n = e.sourceFn, r = Function("sourceData", n);
5386
5386
  e.params.options = r(t);
@@ -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
@@ -6510,14 +6510,14 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6510
6510
  }
6511
6511
  },
6512
6512
  emits: ["update:value"],
6513
- setup(e, { emit: t, expose: n }) {
6514
- let r = p("emitSuffix"), i = p("modules"), a = p("mainFormValue"), { t: o } = Ye(), s = w(), c = w(), l = w(), u = w(!1), d = w(!0), m = w([]), g = w({ child: [] }), _ = w(""), y = w({}), b = w([]), x = w(void 0), S = async (t, n) => {
6513
+ 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(!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
6515
  let { formDefaultValue: r, fillingDefaultArray: i } = await Tp(H(n ?? e.item.params.columns), t, void 0, !0);
6516
- return y.value = r, i;
6517
- }, C = async (t) => {
6518
- if (u.value) return;
6519
- u.value = !0;
6520
- let n = await S(t), r = H(t).map((e, t) => ({
6516
+ return C.value = r, i;
6517
+ }, ee = async (t) => {
6518
+ if (_.value) return;
6519
+ _.value = !0;
6520
+ let n = await D(t), r = H(t).map((e, t) => ({
6521
6521
  ...e,
6522
6522
  ...n[t]
6523
6523
  }));
@@ -6529,29 +6529,29 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6529
6529
  t.forEach((t) => {
6530
6530
  e[t] && typeof e[t] == "string" && (e[t] = JSON.parse(e[t]));
6531
6531
  });
6532
- }), e.item.params.init && r.length === 0 && e.status === 0 && (r = [y.value]), e.item.params.merge && typeof e.item.params.merge == "string") try {
6532
+ }), 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
6533
  let t = e.item.params.merge;
6534
- r = await Function("formValue", "mainFormValue", "POST", t)(r, a, Z);
6534
+ r = await Function("formValue", "mainFormValue", "POST", t)(r, o, Z);
6535
6535
  } catch (e) {
6536
6536
  q(e);
6537
6537
  }
6538
- g.value.child = r, u.value = !1, h(() => {
6539
- M();
6538
+ x.value.child = r, _.value = !1, h(() => {
6539
+ I();
6540
6540
  });
6541
6541
  } else h(() => {
6542
- M();
6542
+ I();
6543
6543
  });
6544
- }, T = (e) => e.delete ? "uz-table-child-delete" : "", E = async (t) => {
6545
- e.item._suffix && (b.value = e.item._suffix.filter((e) => e.sub)), await S(e.value, t);
6546
- let { tableColumns: n, tableWidth: r } = await Ep(H(t ?? e.item.params.columns), !0, e.status, () => g.value.child, i), s = r;
6547
- n.unshift({
6544
+ }, O = (e) => e.delete ? "uz-table-child-delete" : "", k = async (t, n = !1) => {
6545
+ g.value = !0, e.item._suffix && (T.value = e.item._suffix.filter((e) => e.sub)), await D(e.value, t);
6546
+ let { tableColumns: r, tableWidth: i } = await Ep(H(t ?? e.item.params.columns), !0, e.status, () => x.value.child, a, n), s = i;
6547
+ r.unshift({
6548
6548
  title: " ",
6549
6549
  key: "index",
6550
6550
  align: "center",
6551
6551
  titleAlign: "center",
6552
6552
  width: 10,
6553
6553
  show: !0
6554
- }), s += 60, e.item.params.draggable && e.status !== 2 && (n.unshift({
6554
+ }), s += 60, e.item.params.draggable && e.status !== 2 && (r.unshift({
6555
6555
  title: " ",
6556
6556
  key: "draggable",
6557
6557
  align: "center",
@@ -6564,8 +6564,8 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6564
6564
  render() {
6565
6565
  return f("div", { class: "flex justify-center" }, f(B, {}, { default: () => f(Xo) }));
6566
6566
  }
6567
- }), s += 40), e.status !== 2 && e.item.params.showActions && n.push({
6568
- title: () => o("Common.action"),
6567
+ }), s += 40), e.status !== 2 && e.item.params.showActions && r.push({
6568
+ title: () => l("Common.action"),
6569
6569
  key: "action",
6570
6570
  align: "center",
6571
6571
  fixed: "right",
@@ -6578,7 +6578,7 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6578
6578
  let r = [];
6579
6579
  return e.item.params.childActions && e.item.params.actions && Rd(e.item.params.actions).forEach((e) => {
6580
6580
  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 && (g.value.child.length > 1 && e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly) && r.push({
6581
+ }), 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
6582
  type: "normal",
6583
6583
  color: "error",
6584
6584
  key: "delete",
@@ -6586,7 +6586,7 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6586
6586
  confirmText: "确认删除?",
6587
6587
  onClick: () => {
6588
6588
  let n = e.item.params.deleteFn;
6589
- n && typeof n == "string" ? t = Function("rowData", "mainFormValue", n)(t, a) : t.delete = !0;
6589
+ n && typeof n == "string" ? t = Function("rowData", "mainFormValue", n)(t, o) : t.delete = !0;
6590
6590
  }
6591
6591
  }), Ad({
6592
6592
  buttons: r,
@@ -6595,10 +6595,10 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6595
6595
  }
6596
6596
  });
6597
6597
  let c = [];
6598
- n.forEach((e) => {
6598
+ r.forEach((e) => {
6599
6599
  e.show && c.push(e);
6600
- }), m.value = c, s += 180, x.value = s;
6601
- }, D = (t) => {
6600
+ }), b.value = c, s += 180, E.value = s, g.value = !1;
6601
+ }, A = (t) => {
6602
6602
  if (e.item.params.summary) {
6603
6603
  if (typeof e.item.params.summary == "function") return e.item.params.summary(t);
6604
6604
  try {
@@ -6609,65 +6609,65 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6609
6609
  }
6610
6610
  }
6611
6611
  return [];
6612
- }, ee = async () => {
6613
- _.value = "", g.value.child.push(H(y.value)), h(() => {
6614
- M();
6612
+ }, M = async () => {
6613
+ S.value = "", x.value.child.push(H(C.value)), h(() => {
6614
+ I();
6615
6615
  });
6616
- }, O = async () => {
6617
- _.value = "";
6616
+ }, N = async () => {
6617
+ S.value = "";
6618
6618
  try {
6619
6619
  let t = e.item.params.options;
6620
6620
  if (t) {
6621
6621
  let n = Function("formValue", "mainFormValue", "POST", t);
6622
- e.item.params.optionsType && r({
6622
+ e.item.params.optionsType && i({
6623
6623
  open: e.item.params.optionsType,
6624
- mainFormValue: a,
6625
- children: () => g.value.child,
6624
+ mainFormValue: o,
6625
+ children: () => x.value.child,
6626
6626
  callback: async (e) => {
6627
- let t = await n(e, a, Z);
6628
- g.value.child = [...g.value.child, ...t], h(() => {
6629
- M();
6627
+ let t = await n(e, o, Z);
6628
+ x.value.child = [...x.value.child, ...t], h(() => {
6629
+ I();
6630
6630
  });
6631
6631
  }
6632
6632
  });
6633
- } else e.item.params.optionsType && r({
6633
+ } else e.item.params.optionsType && i({
6634
6634
  open: e.item.params.optionsType,
6635
- mainFormValue: a,
6636
- children: () => g.value.child,
6635
+ mainFormValue: o,
6636
+ children: () => x.value.child,
6637
6637
  callback: async (e) => {
6638
- g.value.child = [...g.value.child, ...e], h(() => {
6639
- M();
6638
+ x.value.child = [...x.value.child, ...e], h(() => {
6639
+ I();
6640
6640
  });
6641
6641
  }
6642
6642
  });
6643
6643
  } catch (e) {
6644
6644
  q(e);
6645
6645
  }
6646
- }, k = () => {
6647
- l.value?.restoreValidation();
6648
- }, A = () => (_.value = "", new Promise((t, n) => {
6649
- let r = g.value.child.filter((e) => !e.delete).length;
6646
+ }, P = () => {
6647
+ m.value?.restoreValidation();
6648
+ }, F = () => (S.value = "", new Promise((t, n) => {
6649
+ let r = x.value.child.filter((e) => !e.delete).length;
6650
6650
  if (e.item.form.rule.required && r === 0) {
6651
- _.value = e.item.form.rule.message, n();
6651
+ S.value = e.item.form.rule.message, n();
6652
6652
  return;
6653
6653
  }
6654
- l.value?.validate((r) => {
6655
- r ? (_.value = e.item.form.rule.message, n()) : t();
6654
+ m.value?.validate((r) => {
6655
+ r ? (S.value = e.item.form.rule.message, n()) : t();
6656
6656
  });
6657
- })), M = () => {
6658
- if (e.item.params.draggable && e.status !== 2 && s.value && !c.value) {
6659
- let e = s.value.$el.querySelector(".n-data-table-tbody");
6660
- e && (c.value = rt.create(e, {
6657
+ })), I = () => {
6658
+ if (e.item.params.draggable && e.status !== 2 && u.value && !d.value) {
6659
+ let e = u.value.$el.querySelector(".n-data-table-tbody");
6660
+ e && (d.value = rt.create(e, {
6661
6661
  handle: ".uz-drag-handle",
6662
6662
  onEnd: ({ oldIndex: e, newIndex: t }) => {
6663
- c.value?.destroy(), c.value = null, d.value = !1;
6664
- let n = H(g.value.child), r = n.splice(e, 1)[0];
6663
+ d.value?.destroy(), d.value = null, y.value = !1;
6664
+ let n = H(x.value.child), r = n.splice(e, 1)[0];
6665
6665
  n.splice(t, 0, r), n = n.map((e, t) => ({
6666
6666
  ...e,
6667
6667
  sort_index: t
6668
- })), g.value.child = n, h(() => {
6669
- d.value = !0, setTimeout(() => {
6670
- M();
6668
+ })), x.value.child = n, h(() => {
6669
+ y.value = !0, setTimeout(() => {
6670
+ I();
6671
6671
  }, 0);
6672
6672
  });
6673
6673
  }
@@ -6675,161 +6675,170 @@ var zp = /*#__PURE__*/ U(Ap, [["render", Rp]]), Bp = d({
6675
6675
  }
6676
6676
  };
6677
6677
  return v(() => {
6678
- c.value?.destroy(), c.value = null;
6679
- }), n({
6680
- validate: A,
6681
- restoreValidation: k
6678
+ d.value?.destroy(), d.value = null;
6679
+ }), r({
6680
+ validate: F,
6681
+ restoreValidation: P
6682
6682
  }), j(() => e.item.params.columns, (e, t) => {
6683
- JSON.stringify(e) !== JSON.stringify(t) && E(e);
6683
+ JSON.stringify(e) !== JSON.stringify(t) && k(e);
6684
6684
  }, {
6685
6685
  deep: !0,
6686
6686
  immediate: !0
6687
6687
  }), j(() => e.value, (e) => {
6688
- JSON.stringify(e) !== JSON.stringify(g.value.child) && C(e);
6688
+ JSON.stringify(e) !== JSON.stringify(x.value.child) && ee(e);
6689
6689
  }, {
6690
6690
  deep: !0,
6691
6691
  immediate: !0
6692
- }), j(() => g.value.child, (n) => {
6693
- e.status !== 2 && t("update:value", n);
6694
- }, { deep: !0 }), {
6695
- loading: u,
6696
- formRef: l,
6697
- tableRef: s,
6698
- columns: m,
6699
- tableData: g,
6700
- summaryData: D,
6701
- message: _,
6702
- tableScrollX: x,
6703
- tableShow: d,
6704
- suffixes: b,
6705
- onAdd: ee,
6706
- onAddFormData: O,
6707
- rowClassName: T,
6692
+ }), j(() => x.value.child, (t) => {
6693
+ e.status !== 2 && n("update:value", t);
6694
+ }, { deep: !0 }), j(() => c.value, async () => {
6695
+ await k(void 0, !0);
6696
+ }), {
6697
+ spin: g,
6698
+ loading: _,
6699
+ formRef: m,
6700
+ tableRef: u,
6701
+ columns: b,
6702
+ tableData: x,
6703
+ summaryData: A,
6704
+ message: S,
6705
+ tableScrollX: E,
6706
+ tableShow: y,
6707
+ suffixes: T,
6708
+ onAdd: M,
6709
+ onAddFormData: N,
6710
+ rowClassName: O,
6708
6711
  doSuffixClick: (e) => {
6709
- r({
6712
+ i({
6710
6713
  open: e.optionsType,
6711
- mainFormValue: a,
6714
+ mainFormValue: o,
6712
6715
  onClick: e.onClick,
6713
6716
  optionsSource: e.optionsSource,
6714
- children: () => g.value.child,
6717
+ children: () => x.value.child,
6715
6718
  callback: () => null
6716
6719
  });
6717
6720
  }
6718
6721
  };
6719
6722
  }
6720
- }), Vp = { class: "uz-flex-1 uz-w-full" }, Hp = { class: "uz-flex uz-justify-between" }, Up = { class: "uz-com-title" }, Wp = {
6723
+ }), Vp = { class: "uz-flex uz-justify-between" }, Hp = { class: "uz-com-title" }, Up = {
6721
6724
  key: 0,
6722
6725
  class: "uz-table-asterisk"
6723
- }, Gp = { class: "uz-flex uz-gap-2" }, Kp = { class: "uz-flex uz-justify-end uz-gap-2" };
6724
- function qp(t, s, u, d, f, p) {
6725
- let m = D("UzIcon"), h = D("NIcon"), _ = D("NButton"), v = D("Plus"), y = D("NDataTable"), b = D("NForm");
6726
- return x(), i("div", Vp, [
6727
- 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, [
6728
- t.status === 2 ? r("", !0) : (x(!0), i(e, { key: 0 }, T(t.suffixes, (e) => (x(), n(_, {
6729
- key: e.key,
6730
- type: e.color,
6731
- secondary: "",
6732
- onClick: (n) => t.doSuffixClick(e)
6733
- }, o({
6734
- default: N(() => [c(" " + k(e.buttonText), 1)]),
6735
- _: 2
6736
- }, [e.icon ? {
6737
- name: "icon",
6738
- fn: N(() => [l(h, null, {
6739
- default: N(() => [l(m, { icon: e.icon }, null, 8, ["icon"])]),
6726
+ }, Wp = { class: "uz-flex uz-gap-2" }, Gp = { class: "uz-flex uz-justify-end uz-gap-2" };
6727
+ function Kp(t, s, u, d, f, p) {
6728
+ let m = D("UzIcon"), h = D("NIcon"), _ = D("NButton"), v = D("Plus"), y = D("NDataTable"), b = D("NForm"), S = D("n-spin");
6729
+ return x(), n(S, {
6730
+ show: t.spin,
6731
+ class: "uz-flex-1 uz-w-full"
6732
+ }, {
6733
+ default: N(() => [
6734
+ 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, [
6735
+ t.status === 2 ? r("", !0) : (x(!0), i(e, { key: 0 }, T(t.suffixes, (e) => (x(), n(_, {
6736
+ key: e.key,
6737
+ type: e.color,
6738
+ secondary: "",
6739
+ onClick: (n) => t.doSuffixClick(e)
6740
+ }, o({
6741
+ default: N(() => [c(" " + k(e.buttonText), 1)]),
6740
6742
  _: 2
6741
- }, 1024)]),
6742
- key: "0"
6743
- } : void 0]), 1032, ["type", "onClick"]))), 128)),
6744
- t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6745
- key: 1,
6746
- type: "success",
6747
- secondary: "",
6748
- onClick: t.onAddFormData
6749
- }, {
6750
- icon: N(() => [l(h, null, {
6751
- default: N(() => [l(v)]),
6743
+ }, [e.icon ? {
6744
+ name: "icon",
6745
+ fn: N(() => [l(h, null, {
6746
+ default: N(() => [l(m, { icon: e.icon }, null, 8, ["icon"])]),
6747
+ _: 2
6748
+ }, 1024)]),
6749
+ key: "0"
6750
+ } : void 0]), 1032, ["type", "onClick"]))), 128)),
6751
+ t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6752
+ key: 1,
6753
+ type: "success",
6754
+ secondary: "",
6755
+ onClick: t.onAddFormData
6756
+ }, {
6757
+ icon: N(() => [l(h, null, {
6758
+ default: N(() => [l(v)]),
6759
+ _: 1
6760
+ })]),
6761
+ default: N(() => [s[0] ||= c(" 从数据新增 ", -1)]),
6752
6762
  _: 1
6753
- })]),
6754
- default: N(() => [s[0] ||= c(" 从数据新增 ", -1)]),
6755
- _: 1
6756
- }, 8, ["onClick"])) : r("", !0),
6757
- t.item.params.addButton && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6758
- key: 2,
6759
- type: "success",
6760
- secondary: "",
6761
- onClick: t.onAdd
6762
- }, {
6763
- icon: N(() => [l(h, null, {
6764
- default: N(() => [l(v)]),
6763
+ }, 8, ["onClick"])) : r("", !0),
6764
+ t.item.params.addButton && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), n(_, {
6765
+ key: 2,
6766
+ type: "success",
6767
+ secondary: "",
6768
+ onClick: t.onAdd
6769
+ }, {
6770
+ icon: N(() => [l(h, null, {
6771
+ default: N(() => [l(v)]),
6772
+ _: 1
6773
+ })]),
6774
+ default: N(() => [s[1] ||= c(" 新增 ", -1)]),
6765
6775
  _: 1
6766
- })]),
6767
- default: N(() => [s[1] ||= c(" 新增 ", -1)]),
6768
- _: 1
6769
- }, 8, ["onClick"])) : r("", !0)
6770
- ])]),
6771
- s[4] ||= a("div", { class: "uz-br" }, null, -1),
6772
- l(b, {
6773
- ref: "formRef",
6774
- "label-width": 80,
6775
- model: t.tableData,
6776
- class: "uz-flex uz-flex-col uz-gap-2"
6777
- }, {
6778
- default: N(() => [t.tableShow ? (x(), n(y, {
6779
- key: 0,
6780
- ref: "tableRef",
6781
- columns: t.columns,
6782
- data: t.tableData.child,
6783
- pagination: !1,
6784
- loading: t.loading,
6785
- summary: t.summaryData,
6786
- "scroll-x": t.tableScrollX,
6787
- class: g([t.message ? "error-border" : void 0, "uz-table-child"]),
6788
- size: "small",
6789
- "row-class-name": t.rowClassName,
6790
- "scrollbar-props": {
6791
- size: 8,
6792
- trigger: "none"
6793
- },
6794
- remote: ""
6795
- }, null, 8, [
6796
- "columns",
6797
- "data",
6798
- "loading",
6799
- "summary",
6800
- "scroll-x",
6801
- "class",
6802
- "row-class-name"
6803
- ])) : 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(_, {
6804
- key: 0,
6805
- type: "success",
6806
- secondary: "",
6807
- onClick: t.onAddFormData
6776
+ }, 8, ["onClick"])) : r("", !0)
6777
+ ])]),
6778
+ s[4] ||= a("div", { class: "uz-br" }, null, -1),
6779
+ l(b, {
6780
+ ref: "formRef",
6781
+ "label-width": 80,
6782
+ model: t.tableData,
6783
+ class: "uz-flex uz-flex-col uz-gap-2"
6808
6784
  }, {
6809
- icon: N(() => [l(h, null, {
6810
- default: N(() => [l(v)]),
6785
+ default: N(() => [t.tableShow ? (x(), n(y, {
6786
+ key: 0,
6787
+ ref: "tableRef",
6788
+ columns: t.columns,
6789
+ data: t.tableData.child,
6790
+ pagination: !1,
6791
+ loading: t.loading,
6792
+ summary: t.summaryData,
6793
+ "scroll-x": t.tableScrollX,
6794
+ class: g([t.message ? "error-border" : void 0, "uz-table-child"]),
6795
+ size: "small",
6796
+ "row-class-name": t.rowClassName,
6797
+ "scrollbar-props": {
6798
+ size: 8,
6799
+ trigger: "none"
6800
+ },
6801
+ remote: ""
6802
+ }, null, 8, [
6803
+ "columns",
6804
+ "data",
6805
+ "loading",
6806
+ "summary",
6807
+ "scroll-x",
6808
+ "class",
6809
+ "row-class-name"
6810
+ ])) : 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(_, {
6811
+ key: 0,
6812
+ type: "success",
6813
+ secondary: "",
6814
+ onClick: t.onAddFormData
6815
+ }, {
6816
+ icon: N(() => [l(h, null, {
6817
+ default: N(() => [l(v)]),
6818
+ _: 1
6819
+ })]),
6820
+ default: N(() => [s[2] ||= c(" 从数据新增 ", -1)]),
6811
6821
  _: 1
6812
- })]),
6813
- default: N(() => [s[2] ||= c(" 从数据新增 ", -1)]),
6814
- _: 1
6815
- }, 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(_, {
6816
- key: 1,
6817
- type: "success",
6818
- secondary: "",
6819
- onClick: t.onAdd
6820
- }, {
6821
- icon: N(() => [l(h, null, {
6822
- default: N(() => [l(v)]),
6822
+ }, 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(_, {
6823
+ key: 1,
6824
+ type: "success",
6825
+ secondary: "",
6826
+ onClick: t.onAdd
6827
+ }, {
6828
+ icon: N(() => [l(h, null, {
6829
+ default: N(() => [l(v)]),
6830
+ _: 1
6831
+ })]),
6832
+ default: N(() => [s[3] ||= c(" 新增 ", -1)]),
6823
6833
  _: 1
6824
- })]),
6825
- default: N(() => [s[3] ||= c(" 新增 ", -1)]),
6834
+ }, 8, ["onClick"])) : r("", !0)])]),
6826
6835
  _: 1
6827
- }, 8, ["onClick"])) : r("", !0)])]),
6828
- _: 1
6829
- }, 8, ["model"])
6830
- ]);
6836
+ }, 8, ["model"])
6837
+ ]),
6838
+ _: 1
6839
+ }, 8, ["show"]);
6831
6840
  }
6832
- var Jp = /*#__PURE__*/ U(Bp, [["render", qp]]), Yp = d({
6841
+ var qp = /*#__PURE__*/ U(Bp, [["render", Kp]]), Jp = d({
6833
6842
  name: "UzTableQuestChild",
6834
6843
  components: { NDataTable: oe },
6835
6844
  props: {
@@ -6928,11 +6937,11 @@ var Jp = /*#__PURE__*/ U(Bp, [["render", qp]]), Yp = d({
6928
6937
  tableScrollX: s
6929
6938
  };
6930
6939
  }
6931
- }), Xp = { class: "uz-flex-1 uz-w-full" }, Zp = { class: "uz-flex uz-justify-between" }, Qp = { class: "uz-com-title" };
6932
- function $p(e, t, n, r, o, s) {
6940
+ }), Yp = { class: "uz-flex-1 uz-w-full" }, Xp = { class: "uz-flex uz-justify-between" }, Zp = { class: "uz-com-title" };
6941
+ function Qp(e, t, n, r, o, s) {
6933
6942
  let c = D("NDataTable"), u = D("UzTableDrawer");
6934
- return x(), i("div", Xp, [
6935
- a("div", Zp, [a("div", Qp, k(e.item.label), 1)]),
6943
+ return x(), i("div", Yp, [
6944
+ a("div", Xp, [a("div", Zp, k(e.item.label), 1)]),
6936
6945
  t[0] ||= a("div", { class: "uz-br" }, null, -1),
6937
6946
  l(c, {
6938
6947
  columns: e.columns,
@@ -6957,7 +6966,7 @@ function $p(e, t, n, r, o, s) {
6957
6966
  l(u, { ref: "drawerRef" }, null, 512)
6958
6967
  ]);
6959
6968
  }
6960
- var em = /*#__PURE__*/ U(Yp, [["render", $p]]), tm = d({
6969
+ var $p = /*#__PURE__*/ U(Jp, [["render", Qp]]), em = d({
6961
6970
  name: "UzTableDrawer",
6962
6971
  components: {
6963
6972
  NButton: L,
@@ -7121,11 +7130,11 @@ var em = /*#__PURE__*/ U(Yp, [["render", $p]]), tm = d({
7121
7130
  }
7122
7131
  };
7123
7132
  }
7124
- }), nm = { class: "uz-flex uz-flex-col uz-gap-2 uz-h-full" }, rm = {
7133
+ }), tm = { class: "uz-flex uz-flex-col uz-gap-2 uz-h-full" }, nm = {
7125
7134
  key: 0,
7126
7135
  class: "uz-grid uz-grid-cols-2 uz-gap-2"
7127
- }, im = { class: "uz-flex uz-gap-2" };
7128
- function am(e, t, s, u, d, f) {
7136
+ }, rm = { class: "uz-flex uz-gap-2" };
7137
+ function im(e, t, s, u, d, f) {
7129
7138
  let p = D("NSkeleton"), m = D("UzForm"), h = D("UzSpin"), g = D("NSpin"), _ = D("NButton"), v = D("NDrawerContent"), y = D("NDrawer");
7130
7139
  return x(), n(y, {
7131
7140
  show: e.drawer,
@@ -7151,7 +7160,7 @@ function am(e, t, s, u, d, f) {
7151
7160
  message: e.spinMsg,
7152
7161
  status: e.spinStatus
7153
7162
  }, {
7154
- default: N(() => [a("div", nm, [e.skeletonShow ? (x(), i("div", rm, [
7163
+ default: N(() => [a("div", tm, [e.skeletonShow ? (x(), i("div", nm, [
7155
7164
  l(p, {
7156
7165
  size: "large",
7157
7166
  style: { height: "156px" }
@@ -7214,7 +7223,7 @@ function am(e, t, s, u, d, f) {
7214
7223
  _: 2
7215
7224
  }, [e.formStatus === 2 ? void 0 : {
7216
7225
  name: "footer",
7217
- fn: N(() => [a("div", im, [
7226
+ fn: N(() => [a("div", rm, [
7218
7227
  l(_, {
7219
7228
  loading: e.spinShow,
7220
7229
  class: "uz-drawer-button",
@@ -7257,7 +7266,7 @@ function am(e, t, s, u, d, f) {
7257
7266
  "on-after-leave"
7258
7267
  ]);
7259
7268
  }
7260
- var om = /*#__PURE__*/ U(tm, [["render", am]]), sm = d({
7269
+ var am = /*#__PURE__*/ U(em, [["render", im]]), om = d({
7261
7270
  name: "UzTableMobileList",
7262
7271
  props: {
7263
7272
  tableData: {
@@ -7275,12 +7284,12 @@ var om = /*#__PURE__*/ U(tm, [["render", am]]), sm = d({
7275
7284
  },
7276
7285
  emits: ["update:row-keys"],
7277
7286
  setup() {}
7278
- }), cm = { class: "uz-grid uz-grid-cols-2 uz-gap-2" }, lm = {
7287
+ }), sm = { class: "uz-grid uz-grid-cols-2 uz-gap-2" }, cm = {
7279
7288
  key: 1,
7280
7289
  class: "uz-table-mobile-group-txt"
7281
7290
  };
7282
- function um(t, o, s, c, l, u) {
7283
- return x(), i("div", cm, [(x(!0), i(e, null, T(t.tableColumns, (o) => (x(), i("div", {
7291
+ function lm(t, o, s, c, l, u) {
7292
+ return x(), i("div", sm, [(x(!0), i(e, null, T(t.tableColumns, (o) => (x(), i("div", {
7284
7293
  key: o.key,
7285
7294
  class: g(["uz-flex uz-overflow-hidden", o.lineBreak ? "uz-flex-col" : ""]),
7286
7295
  style: _(`grid-column: span ${o.lineCol || 2} / span ${o.lineCol || 2}`)
@@ -7291,11 +7300,11 @@ function um(t, o, s, c, l, u) {
7291
7300
  class: "mobile"
7292
7301
  })) : 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(() => {
7293
7302
  if (t.tableData) return o.render(t.tableData, t.tableIndex);
7294
- }), { key: 0 })) : (x(), i("div", lm, k(t.tableData[o.key] || "-"), 1))], 2)], 64))], 6))), 128))]);
7303
+ }), { key: 0 })) : (x(), i("div", cm, k(t.tableData[o.key] || "-"), 1))], 2)], 64))], 6))), 128))]);
7295
7304
  }
7296
7305
  //#endregion
7297
7306
  //#region components/table/mobile.vue?vue&type=script&lang.ts
7298
- var dm = d({
7307
+ var um = d({
7299
7308
  name: "UzTableMobile",
7300
7309
  components: {
7301
7310
  NCheckbox: R,
@@ -7303,7 +7312,7 @@ var dm = d({
7303
7312
  NPagination: we,
7304
7313
  NCheckboxGroup: re,
7305
7314
  NRadioGroup: Oe,
7306
- UzTableMobileList: /* @__PURE__ */ U(sm, [["render", um], ["__scopeId", "data-v-84c394fe"]])
7315
+ UzTableMobileList: /* @__PURE__ */ U(om, [["render", lm], ["__scopeId", "data-v-84c394fe"]])
7307
7316
  },
7308
7317
  props: {
7309
7318
  tableData: {
@@ -7350,17 +7359,17 @@ var dm = d({
7350
7359
  }
7351
7360
  };
7352
7361
  }
7353
- }), fm = {
7362
+ }), dm = {
7354
7363
  key: 0,
7355
7364
  class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
7356
- }, pm = {
7365
+ }, fm = {
7357
7366
  key: 0,
7358
7367
  class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
7359
- }, mm = {
7368
+ }, pm = {
7360
7369
  key: 0,
7361
7370
  class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
7362
7371
  };
7363
- function hm(t, a, o, s, c, u) {
7372
+ function mm(t, a, o, s, c, u) {
7364
7373
  let d = D("UzTableMobileList"), f = D("NCheckbox"), p = D("NPagination"), m = D("NCheckboxGroup"), h = D("NRadio"), g = D("NRadioGroup");
7365
7374
  return t.selection === 2 ? (x(), n(m, {
7366
7375
  key: 0,
@@ -7387,7 +7396,7 @@ function hm(t, a, o, s, c, u) {
7387
7396
  "tableColumns"
7388
7397
  ])]),
7389
7398
  _: 2
7390
- }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", fm, [l(p, {
7399
+ }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", dm, [l(p, {
7391
7400
  page: t.tableQueries.query.page,
7392
7401
  "onUpdate:page": [a[0] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
7393
7402
  "item-count": t.tableQueries.query.itemCount,
@@ -7429,7 +7438,7 @@ function hm(t, a, o, s, c, u) {
7429
7438
  "tableColumns"
7430
7439
  ])]),
7431
7440
  _: 2
7432
- }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", pm, [l(p, {
7441
+ }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", fm, [l(p, {
7433
7442
  page: t.tableQueries.query.page,
7434
7443
  "onUpdate:page": [a[2] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
7435
7444
  "item-count": t.tableQueries.query.itemCount,
@@ -7464,7 +7473,7 @@ function hm(t, a, o, s, c, u) {
7464
7473
  "tableData",
7465
7474
  "tableIndex",
7466
7475
  "tableColumns"
7467
- ])]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", mm, [l(p, {
7476
+ ])]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), i("div", pm, [l(p, {
7468
7477
  page: t.tableQueries.query.page,
7469
7478
  "onUpdate:page": [a[4] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
7470
7479
  "item-count": t.tableQueries.query.itemCount,
@@ -7477,7 +7486,7 @@ function hm(t, a, o, s, c, u) {
7477
7486
  "onUpdate:page"
7478
7487
  ])])) : r("", !0)], 4));
7479
7488
  }
7480
- var gm = /*#__PURE__*/ U(dm, [["render", hm], ["__scopeId", "data-v-70b54e3b"]]), Q = C({
7489
+ var hm = /*#__PURE__*/ U(um, [["render", mm], ["__scopeId", "data-v-70b54e3b"]]), Q = C({
7481
7490
  page: {
7482
7491
  label: "首页",
7483
7492
  key: "/",
@@ -7488,7 +7497,7 @@ var gm = /*#__PURE__*/ U(dm, [["render", hm], ["__scopeId", "data-v-70b54e3b"]])
7488
7497
  active: "/",
7489
7498
  thumbnail: []
7490
7499
  });
7491
- function _m(e) {
7500
+ function gm(e) {
7492
7501
  Q.cache = e.cache, Q.page = {
7493
7502
  label: e.label,
7494
7503
  key: e.key,
@@ -7503,14 +7512,14 @@ function _m(e) {
7503
7512
  closable: !1
7504
7513
  }];
7505
7514
  }
7506
- function vm(e) {
7515
+ function _m(e) {
7507
7516
  Q.active = e, W.push(e), J(Q.cache, Q, 0);
7508
7517
  }
7509
- function ym(e, t) {
7518
+ function vm(e, t) {
7510
7519
  let n = Q.thumbnail.find((t) => t.key === e);
7511
7520
  n && (n.key = t, Q.active = t, J(Q.cache, Q, 0));
7512
7521
  }
7513
- function bm(e) {
7522
+ function ym(e) {
7514
7523
  let t = Q.thumbnail.find((t) => t.path === e.key);
7515
7524
  t ? (Q.active = t.key, J(Q.cache, Q, 0), W.push(t.key)) : (Q.active = e.key, Q.thumbnail.push({
7516
7525
  ...e,
@@ -7518,7 +7527,7 @@ function bm(e) {
7518
7527
  closable: !0
7519
7528
  }), W.push(e.key));
7520
7529
  }
7521
- function xm(e) {
7530
+ function bm(e) {
7522
7531
  let t = Q.thumbnail.findIndex((t) => t.key === e);
7523
7532
  if (Q.thumbnail.splice(t, 1), Q.active === e) {
7524
7533
  let e = Q.thumbnail[t - 1]?.key || "";
@@ -7526,12 +7535,12 @@ function xm(e) {
7526
7535
  }
7527
7536
  J(Q.cache, Q, 0);
7528
7537
  }
7529
- function Sm() {
7538
+ function xm() {
7530
7539
  Q.active = Q.page.path, Q.thumbnail = [Q.page], W.push(Q.page.path), J(Q.cache, Q, 0);
7531
7540
  }
7532
7541
  //#endregion
7533
7542
  //#region components/thumbnail/index.vue?vue&type=script&lang.ts
7534
- var Cm = d({
7543
+ var Sm = d({
7535
7544
  name: "UzThumbnail",
7536
7545
  components: {
7537
7546
  NTabs: Pe,
@@ -7553,29 +7562,29 @@ var Cm = d({
7553
7562
  setup(e, { slots: t }) {
7554
7563
  let n = w(!!t.prefix), r = Ke();
7555
7564
  return y(() => {
7556
- _m(e.option), Q.active !== r.path && ym(r.path, r.fullPath);
7565
+ gm(e.option), Q.active !== r.path && vm(r.path, r.fullPath);
7557
7566
  }), j(() => r, (e) => {
7558
- Q.active === r.path && ym(e.path, e.fullPath);
7567
+ Q.active === r.path && vm(e.path, e.fullPath);
7559
7568
  }, { deep: !0 }), j(() => e.option, (e) => {
7560
- _m(e);
7569
+ gm(e);
7561
7570
  }, { deep: !0 }), {
7562
7571
  thumbnailStore: Q,
7563
7572
  isSlotPrefix: n,
7564
7573
  handleClose: (e) => {
7565
- xm(e);
7574
+ bm(e);
7566
7575
  },
7567
7576
  handleChange: (e) => {
7568
- vm(e);
7577
+ _m(e);
7569
7578
  },
7570
7579
  handleClear: () => {
7571
- Sm();
7580
+ xm();
7572
7581
  }
7573
7582
  };
7574
7583
  }
7575
7584
  });
7576
7585
  //#endregion
7577
7586
  //#region components/thumbnail/index.vue
7578
- function wm(t, r, a, s, u, d) {
7587
+ function Cm(t, r, a, s, u, d) {
7579
7588
  let f = D("NTabPane"), p = D("Trash"), m = D("NIcon"), h = D("NButton"), g = D("NPopconfirm"), _ = D("NFlex"), v = D("NTabs");
7580
7589
  return x(), n(v, {
7581
7590
  value: t.thumbnailStore.active,
@@ -7621,33 +7630,33 @@ function wm(t, r, a, s, u, d) {
7621
7630
  "on-update:value"
7622
7631
  ]);
7623
7632
  }
7624
- 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";
7625
- 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";
7626
- var Im = {
7633
+ 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";
7634
+ 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";
7635
+ var Fm = {
7627
7636
  common: {
7628
7637
  inputColor: "rgba(var(--input))",
7629
7638
  borderColor: "rgba(var(--border), 0.7)",
7630
7639
  borderRadius: "var(--borderRadius)",
7631
- primaryColor: Em,
7632
- primaryColorHover: Dm,
7633
- primaryColorPressed: Em,
7634
- primaryColorSuppl: Em,
7635
- infoColor: Om,
7636
- infoColorHover: km,
7637
- infoColorPressed: Om,
7638
- infoColorSuppl: Om,
7639
- successColor: Am,
7640
- successColorHover: jm,
7641
- successColorPressed: Am,
7642
- successColorSuppl: Am,
7643
- warningColor: Mm,
7644
- warningColorHover: Nm,
7645
- warningColorPressed: Mm,
7646
- warningColorSuppl: Mm,
7647
- errorColor: Pm,
7648
- errorColorHover: Fm,
7649
- errorColorPressed: Pm,
7650
- errorColorSuppl: Pm,
7640
+ primaryColor: Tm,
7641
+ primaryColorHover: Em,
7642
+ primaryColorPressed: Tm,
7643
+ primaryColorSuppl: Tm,
7644
+ infoColor: Dm,
7645
+ infoColorHover: Om,
7646
+ infoColorPressed: Dm,
7647
+ infoColorSuppl: Dm,
7648
+ successColor: km,
7649
+ successColorHover: Am,
7650
+ successColorPressed: km,
7651
+ successColorSuppl: km,
7652
+ warningColor: jm,
7653
+ warningColorHover: Mm,
7654
+ warningColorPressed: jm,
7655
+ warningColorSuppl: jm,
7656
+ errorColor: Nm,
7657
+ errorColorHover: Pm,
7658
+ errorColorPressed: Nm,
7659
+ errorColorSuppl: Nm,
7651
7660
  cardColor: "#fff"
7652
7661
  },
7653
7662
  Button: { textColor: "rgb(var(--font))" },
@@ -7655,7 +7664,7 @@ var Im = {
7655
7664
  DatePicker: { itemBorderRadius: "var(--borderRadius)" },
7656
7665
  Notification: { borderRadius: "var(--borderRadius)" },
7657
7666
  Radio: { boxShadow: "inset 0 0 0 1px rgb(var(--primary))" }
7658
- }, Lm = V, Rm = d({
7667
+ }, Im = V, Lm = d({
7659
7668
  name: "UzWrap",
7660
7669
  components: { NConfigProvider: ae },
7661
7670
  setup() {
@@ -7663,14 +7672,14 @@ var Im = {
7663
7672
  zhCN: He,
7664
7673
  dateZhCN: Be,
7665
7674
  commonStore: K,
7666
- lightTheme: Im,
7667
- darkTheme: Lm
7675
+ lightTheme: Fm,
7676
+ darkTheme: Im
7668
7677
  };
7669
7678
  }
7670
7679
  });
7671
7680
  //#endregion
7672
7681
  //#region components/wrap/index.vue
7673
- function zm(e, t, r, i, a, o) {
7682
+ function Rm(e, t, r, i, a, o) {
7674
7683
  let s = D("NConfigProvider");
7675
7684
  return x(), n(s, {
7676
7685
  theme: e.commonStore.theme ? { name: "darkTheme" } : null,
@@ -7689,7 +7698,7 @@ function zm(e, t, r, i, a, o) {
7689
7698
  "date-locale"
7690
7699
  ]);
7691
7700
  }
7692
- var Bm = /*#__PURE__*/ U(Rm, [["render", zm]]), Vm = /* @__PURE__ */ at({
7701
+ var zm = /*#__PURE__*/ U(Lm, [["render", Rm]]), Bm = /* @__PURE__ */ at({
7693
7702
  AccessPoint: () => ut,
7694
7703
  Activity: () => mt,
7695
7704
  Adjustments: () => vt,
@@ -7832,19 +7841,19 @@ var Bm = /*#__PURE__*/ U(Rm, [["render", zm]]), Vm = /* @__PURE__ */ at({
7832
7841
  UzSearchMobileBar: () => cp,
7833
7842
  UzSpin: () => kp,
7834
7843
  UzTable: () => zp,
7835
- UzTableChild: () => Jp,
7836
- UzTableDrawer: () => om,
7837
- UzTableMobile: () => gm,
7838
- UzTableQuestChild: () => em,
7839
- UzThumbnail: () => Tm,
7840
- UzWrap: () => Bm,
7844
+ UzTableChild: () => qp,
7845
+ UzTableDrawer: () => am,
7846
+ UzTableMobile: () => hm,
7847
+ UzTableQuestChild: () => $p,
7848
+ UzThumbnail: () => wm,
7849
+ UzWrap: () => zm,
7841
7850
  X: () => Il,
7842
7851
  commonStore: () => K,
7843
7852
  fnActionReduction: () => Rd,
7844
7853
  fnActionSimplify: () => Ld,
7845
- fnAddThumbnail: () => bm,
7846
- fnClearAllThumbnail: () => Sm,
7847
- fnDeleteThumbnail: () => xm,
7854
+ fnAddThumbnail: () => ym,
7855
+ fnClearAllThumbnail: () => xm,
7856
+ fnDeleteThumbnail: () => bm,
7848
7857
  fnGetTableData: () => vp,
7849
7858
  fnOptionReduction: () => wp,
7850
7859
  fnOptionSimplify: () => Cp,
@@ -7853,18 +7862,18 @@ var Bm = /*#__PURE__*/ U(Rm, [["render", zm]]), Vm = /* @__PURE__ */ at({
7853
7862
  fnRenderAction: () => Ad,
7854
7863
  fnSetLang: () => Iu,
7855
7864
  fnSetTheme: () => Lu,
7856
- fnSetThumbnail: () => vm,
7865
+ fnSetThumbnail: () => _m,
7857
7866
  fnTableReduction: () => bp,
7858
7867
  fnTableSimplify: () => yp,
7859
7868
  fnTriggersReduction: () => Sp,
7860
7869
  fnTriggersSimplify: () => xp,
7861
7870
  i18n: () => G
7862
- }), Hm = 3840, Um = 2160, Wm = C({ scale: 1 });
7863
- function Gm(e, t) {
7864
- Hm = e, Um = t;
7871
+ }), Vm = 3840, Hm = 2160, Um = C({ scale: 1 });
7872
+ function Wm(e, t) {
7873
+ Vm = e, Hm = t;
7865
7874
  }
7866
- function Km() {
7867
- let e = 1, t = window.innerWidth, n = window.innerHeight, r = Hm, i = Um, a = parseFloat((r / i).toFixed(5));
7875
+ function Gm() {
7876
+ let e = 1, t = window.innerWidth, n = window.innerHeight, r = Vm, i = Hm, a = parseFloat((r / i).toFixed(5));
7868
7877
  if (parseFloat((t / n).toFixed(5)) > a) {
7869
7878
  let t = parseFloat((n * a / r).toFixed(5));
7870
7879
  e = t > 1 ? 1 : t;
@@ -7872,17 +7881,17 @@ function Km() {
7872
7881
  let n = parseFloat((t / a / i).toFixed(5));
7873
7882
  e = n > 1 ? 1 : n;
7874
7883
  }
7875
- Wm.scale = e;
7884
+ Um.scale = e;
7876
7885
  }
7877
- function qm() {
7878
- let e = Ze(Km, 200);
7886
+ function Km() {
7887
+ let e = Ze(Gm, 200);
7879
7888
  return e(), window.addEventListener("resize", e), () => {
7880
- Hm = 3840, Um = 2160, window.removeEventListener("resize", e);
7889
+ Vm = 3840, Hm = 2160, window.removeEventListener("resize", e);
7881
7890
  };
7882
7891
  }
7883
7892
  //#endregion
7884
7893
  //#region components/hooks/useDebounceFn.ts
7885
- function Jm(e, t = 1e3) {
7894
+ function qm(e, t = 1e3) {
7886
7895
  let n = Ze(e, t);
7887
7896
  return {
7888
7897
  run: n,
@@ -7892,7 +7901,7 @@ function Jm(e, t = 1e3) {
7892
7901
  }
7893
7902
  //#endregion
7894
7903
  //#region components/hooks/useThrottleFn.ts
7895
- function Ym(e, n = 1e3) {
7904
+ function Jm(e, n = 1e3) {
7896
7905
  let r = w(e), i = t(() => Qe((...e) => r.value([...e]), n));
7897
7906
  return b(() => {
7898
7907
  i.value.cancel();
@@ -7904,14 +7913,14 @@ function Ym(e, n = 1e3) {
7904
7913
  }
7905
7914
  //#endregion
7906
7915
  //#region components/hooks/useLocalStorage.ts
7907
- function Xm(e, t) {
7916
+ function Ym(e, t) {
7908
7917
  return [w(Y(e, t?.defaultValue)), (n) => {
7909
7918
  n === void 0 ? Qu(e) : J(e, n, t?.expired || "1 Day");
7910
7919
  }];
7911
7920
  }
7912
7921
  //#endregion
7913
7922
  //#region components/hooks/useQuery.ts
7914
- function Zm(e, t, n) {
7923
+ function Xm(e, t, n) {
7915
7924
  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 = () => {
7916
7925
  md(), clearInterval(o.value), o.value = null;
7917
7926
  }, p = async () => {
@@ -7977,26 +7986,26 @@ function Zm(e, t, n) {
7977
7986
  }
7978
7987
  //#endregion
7979
7988
  //#region package.json
7980
- var Qm = "0.1.30", $m;
7981
- async function eh() {
7989
+ var Zm = "0.1.32", Qm;
7990
+ async function $m() {
7982
7991
  let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
7983
7992
  method: "HEAD",
7984
7993
  cache: "no-cache"
7985
7994
  });
7986
7995
  return e.headers.get("etag") || e.headers.get("last-modified");
7987
7996
  }
7988
- async function th() {
7989
- let e = await eh();
7990
- $m !== e && Ru(!0);
7997
+ async function eh() {
7998
+ let e = await $m();
7999
+ Qm !== e && Ru(!0);
7991
8000
  }
7992
- async function nh() {
7993
- $m = await eh(), window.versionMonitor && clearInterval(window.versionMonitor), window.versionMonitor = setInterval(() => {
7994
- th();
8001
+ async function th() {
8002
+ Qm = await $m(), window.versionMonitor && clearInterval(window.versionMonitor), window.versionMonitor = setInterval(() => {
8003
+ eh();
7995
8004
  }, 60 * 1e3);
7996
8005
  }
7997
8006
  //#endregion
7998
8007
  //#region components/monitor.ts
7999
- var rh = "", ih, $ = navigator.userAgent.toLocaleUpperCase(), ah = () => {
8008
+ var nh = "", rh, $ = navigator.userAgent.toLocaleUpperCase(), ih = () => {
8000
8009
  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/;
8001
8010
  if (e.test($)) return "Windows XP";
8002
8011
  if (t.test($)) return "Windows 7";
@@ -8020,7 +8029,7 @@ var rh = "", ih, $ = navigator.userAgent.toLocaleUpperCase(), ah = () => {
8020
8029
  return `MAC ${e ? e[0].replace(/_/g, ".").replace(/ /g, "") : ""}`;
8021
8030
  }
8022
8031
  return "Other Platform";
8023
- }, oh = () => {
8032
+ }, ah = () => {
8024
8033
  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.]+/;
8025
8034
  if (e.test($) && o.test($)) return "SogouIE";
8026
8035
  if (o.test($)) return "SogouFast";
@@ -8049,64 +8058,64 @@ var rh = "", ih, $ = navigator.userAgent.toLocaleUpperCase(), ah = () => {
8049
8058
  }
8050
8059
  return "Others";
8051
8060
  };
8052
- function sh(e, t, n, r = !1) {
8061
+ function oh(e, t, n, r = !1) {
8053
8062
  if (e !== void 0 && (t in e || r)) {
8054
8063
  let r = e[t], i = n(r);
8055
8064
  typeof i == "function" && (e[t] = i);
8056
8065
  }
8057
8066
  }
8058
- function ch(e, t, n, r = !1) {
8067
+ function sh(e, t, n, r = !1) {
8059
8068
  e.addEventListener(t, n, r);
8060
8069
  }
8061
- function lh() {
8070
+ function ch() {
8062
8071
  if (!("XMLHttpRequest" in window)) return;
8063
8072
  let e = XMLHttpRequest.prototype;
8064
- sh(e, "open", (e) => function(...t) {
8073
+ oh(e, "open", (e) => function(...t) {
8065
8074
  this.xhr = {
8066
8075
  method: t[0].toUpperCase(),
8067
8076
  url: t[1],
8068
8077
  startTime: Date.now(),
8069
8078
  type: "xhr"
8070
- }, ch(this, "error", function() {
8071
- this.xhr.url.indexOf("log/submit") === -1 && dh(3, this.xhr.url, `Request-${this.status}`);
8079
+ }, sh(this, "error", function() {
8080
+ this.xhr.url.indexOf("log/submit") === -1 && uh(3, this.xhr.url, `Request-${this.status}`);
8072
8081
  }), e.apply(this, t);
8073
- }), sh(e, "send", (e) => function(...t) {
8082
+ }), oh(e, "send", (e) => function(...t) {
8074
8083
  let { url: n } = this.xhr;
8075
8084
  this.ontimeout = function() {
8076
- dh(3, n, "Network Timeout");
8077
- }, ch(this, "loadend", function() {
8078
- (this.status === 500 || this.status === 405) && dh(3, n, `${t[0]}-${this.status}-${this.response}`);
8085
+ uh(3, n, "Network Timeout");
8086
+ }, sh(this, "loadend", function() {
8087
+ (this.status === 500 || this.status === 405) && uh(3, n, `${t[0]}-${this.status}-${this.response}`);
8079
8088
  }), e.apply(this, t);
8080
8089
  });
8081
8090
  }
8082
- function uh(e, t, n) {
8083
- t && (rh = t, ih = n, lh(), e.config.errorHandler = (e) => {
8084
- dh(2, window.location.href, e.message);
8091
+ function lh(e, t, n) {
8092
+ t && (nh = t, rh = n, ch(), e.config.errorHandler = (e) => {
8093
+ uh(2, window.location.href, e.message);
8085
8094
  }, window.addEventListener("unhandledrejection", function(e) {
8086
8095
  e.preventDefault();
8087
8096
  }));
8088
8097
  }
8089
- var dh = (e, t, n) => {
8090
- let r = ih ? JSON.stringify(ih()) : "", i = {
8098
+ var uh = (e, t, n) => {
8099
+ let r = rh ? JSON.stringify(rh()) : "", i = {
8091
8100
  type: e,
8092
8101
  time: Date.now(),
8093
8102
  url: encodeURIComponent(t || location.href),
8094
- browser: oh(),
8095
- platform: ah(),
8103
+ browser: ah(),
8104
+ platform: ih(),
8096
8105
  message: n,
8097
8106
  info: r
8098
8107
  }, a = window.btoa(JSON.stringify(i));
8099
- if (window.navigator.sendBeacon) window.navigator.sendBeacon(rh, a);
8108
+ if (window.navigator.sendBeacon) window.navigator.sendBeacon(nh, a);
8100
8109
  else {
8101
8110
  let e = document.body, t = new Image();
8102
- t.src = rh + "?data=" + a, t.onload = t.onerror = function() {
8111
+ t.src = nh + "?data=" + a, t.onload = t.onerror = function() {
8103
8112
  e.removeChild(t), t = null;
8104
8113
  }, e.append(t);
8105
8114
  }
8106
8115
  };
8107
8116
  //#endregion
8108
8117
  //#region components/create.ts
8109
- function fh({ components: e = [] } = {}) {
8118
+ function dh({ components: e = [] } = {}) {
8110
8119
  let t = [];
8111
8120
  function n(e, t, n) {
8112
8121
  e.component(t) || e.component(t, n);
@@ -8119,16 +8128,16 @@ function fh({ components: e = [] } = {}) {
8119
8128
  });
8120
8129
  }), i)) {
8121
8130
  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);
8122
- zu(e), Fu(o), Iu(l), Lu(c), G.global.locale.value = l, a && nh(), t && uh(r, t, n);
8131
+ zu(e), Fu(o), Iu(l), Lu(c), G.global.locale.value = l, a && th(), t && lh(r, t, n);
8123
8132
  }
8124
8133
  }
8125
8134
  return {
8126
- version: Qm,
8135
+ version: Zm,
8127
8136
  install: r
8128
8137
  };
8129
8138
  }
8130
8139
  //#endregion
8131
8140
  //#region components/preset.ts
8132
- var ph = fh({ components: Object.keys(Vm).map((e) => Vm[e]) }), mh = ph.install;
8141
+ var fh = dh({ components: Object.keys(Bm).map((e) => Bm[e]) }), ph = fh.install;
8133
8142
  //#endregion
8134
- 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 };
8143
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unizhen/ui",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "author": {
5
5
  "name": "Donovan"
6
6
  },