@unizhen/ui 0.0.42 → 0.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/lib/ui.css +1 -1
  2. package/lib/ui.js +419 -418
  3. package/package.json +1 -1
package/lib/ui.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var Qc = Object.defineProperty;
2
2
  var Xc = (e, t, r) => t in e ? Qc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var zt = (e, t, r) => Xc(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { defineComponent as ie, createElementBlock as m, openBlock as c, createStaticVNode as P, createElementVNode as l, ref as N, watch as fe, nextTick as Le, h as Y, reactive as Oa, resolveComponent as M, createBlock as F, withCtx as y, toDisplayString as U, createVNode as I, computed as Ke, normalizeStyle as Ne, inject as Ge, normalizeClass as de, createSlots as Fe, createTextVNode as K, Fragment as le, renderList as $e, provide as xa, onMounted as Je, resolveDirective as Ul, withDirectives as yt, createCommentVNode as W, mergeProps as Ca, withModifiers as Ot, watchEffect as Pl, onBeforeUnmount as Aa, withKeys as Yc, renderSlot as Te, markRaw as Zc, defineAsyncComponent as ed, onUnmounted as El, vShow as $a, resolveDynamicComponent as yo } from "vue";
5
- import { createDiscreteApi as td, NPopover as ct, NFlex as Ll, NButton as _e, NPopconfirm as ja, NTooltip as Hl, NIcon as be, NDropdown as rd, NCascader as Kl, NCheckboxGroup as qa, NCheckbox as Ra, NColorPicker as nd, NSwitch as ad, NTimePicker as od, NDatePicker as sd, NInputNumber as ld, NSelect as id, NInput as ud, NDivider as Fa, NFormItem as Ba, NForm as Va, NInputGroup as Ua, NUploadDragger as cd, NImage as Gl, NUpload as Wl, useNotification as Ft, NImageGroup as dd, NModal as fd, NInputGroupLabel as Jl, NGridItem as Ql, NGrid as Xl, NButtonGroup as pd, NDrawerContent as Pa, NDrawer as Ea, NTag as hd, NEllipsis as md, NSpin as La, NRadioGroup as Yl, NSkeleton as Zl, NDataTable as Ha, NPagination as wd, NRadio as vd, NTabPane as gd, NTabs as yd, darkTheme as ge, NConfigProvider as kd, dateZhCN as bd, zhCN as _d } from "naive-ui";
4
+ import { defineComponent as ie, createElementBlock as m, openBlock as c, createStaticVNode as P, createElementVNode as l, ref as N, watch as fe, nextTick as Le, h as Y, reactive as Oa, resolveComponent as M, createBlock as R, withCtx as y, toDisplayString as U, createVNode as I, computed as Ke, normalizeStyle as Ne, inject as Ge, normalizeClass as de, createSlots as Fe, createTextVNode as K, Fragment as le, renderList as $e, provide as xa, onMounted as Je, resolveDirective as Ul, withDirectives as yt, createCommentVNode as G, mergeProps as Ca, withModifiers as Ot, watchEffect as Pl, onBeforeUnmount as ja, withKeys as Yc, renderSlot as Te, markRaw as Zc, defineAsyncComponent as ed, onUnmounted as El, vShow as $a, resolveDynamicComponent as yo } from "vue";
5
+ import { createDiscreteApi as td, NPopover as ct, NFlex as Ll, NButton as _e, NPopconfirm as Aa, NTooltip as Hl, NIcon as be, NDropdown as rd, NCascader as Kl, NCheckboxGroup as qa, NCheckbox as Ra, NColorPicker as nd, NSwitch as ad, NTimePicker as od, NDatePicker as sd, NInputNumber as ld, NSelect as id, NInput as ud, NDivider as Fa, NFormItem as Ba, NForm as Va, NInputGroup as Ua, NUploadDragger as cd, NImage as Gl, NUpload as Wl, useNotification as Ft, NImageGroup as dd, NModal as fd, NInputGroupLabel as Jl, NGridItem as Ql, NGrid as Xl, NButtonGroup as pd, NDrawerContent as Pa, NDrawer as Ea, NTag as hd, NEllipsis as md, NSpin as La, NRadioGroup as Yl, NSkeleton as Zl, NDataTable as Ha, NPagination as wd, NRadio as vd, NTabPane as gd, NTabs as yd, darkTheme as ge, NConfigProvider as kd, dateZhCN as bd, zhCN as _d } from "naive-ui";
6
6
  import Ka from "axios";
7
7
  import { createRouter as xd, createWebHistory as Cd, useRouter as $d, useRoute as Bt } from "vue-router";
8
8
  import { createI18n as Md, useI18n as Vt } from "vue-i18n";
@@ -52,12 +52,12 @@ const Dd = ie({
52
52
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
53
53
  viewBox: "0 0 24 24"
54
54
  };
55
- function Ad(e, t) {
55
+ function jd(e, t) {
56
56
  return c(), m("svg", Od, [...t[0] || (t[0] = [
57
57
  P('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 12v.01"></path><path d="M14.828 9.172a4 4 0 0 1 0 5.656"></path><path d="M17.657 6.343a8 8 0 0 1 0 11.314"></path><path d="M9.168 14.828a4 4 0 0 1 0-5.656"></path><path d="M6.337 17.657a8 8 0 0 1 0-11.314"></path></g>', 1)
58
58
  ])]);
59
59
  }
60
- const ti = /* @__PURE__ */ _(zd, [["render", Ad]]), jd = {}, qd = {
60
+ const ti = /* @__PURE__ */ _(zd, [["render", jd]]), Ad = {}, qd = {
61
61
  xmlns: "http://www.w3.org/2000/svg",
62
62
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
63
63
  viewBox: "0 0 24 24"
@@ -74,7 +74,7 @@ function Rd(e, t) {
74
74
  }, null, -1)
75
75
  ])]);
76
76
  }
77
- const ri = /* @__PURE__ */ _(jd, [["render", Rd]]), Fd = {}, Bd = {
77
+ const ri = /* @__PURE__ */ _(Ad, [["render", Rd]]), Fd = {}, Bd = {
78
78
  xmlns: "http://www.w3.org/2000/svg",
79
79
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
80
80
  viewBox: "0 0 24 24"
@@ -344,13 +344,13 @@ function zf(e, t) {
344
344
  ], -1)
345
345
  ])]);
346
346
  }
347
- const vi = /* @__PURE__ */ _(If, [["render", zf]]), Of = {}, Af = {
347
+ const vi = /* @__PURE__ */ _(If, [["render", zf]]), Of = {}, jf = {
348
348
  xmlns: "http://www.w3.org/2000/svg",
349
349
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
350
350
  viewBox: "0 0 24 24"
351
351
  };
352
- function jf(e, t) {
353
- return c(), m("svg", Af, [...t[0] || (t[0] = [
352
+ function Af(e, t) {
353
+ return c(), m("svg", jf, [...t[0] || (t[0] = [
354
354
  l("g", {
355
355
  fill: "none",
356
356
  stroke: "currentColor",
@@ -363,7 +363,7 @@ function jf(e, t) {
363
363
  ], -1)
364
364
  ])]);
365
365
  }
366
- const gi = /* @__PURE__ */ _(Of, [["render", jf]]), qf = {}, Rf = {
366
+ const gi = /* @__PURE__ */ _(Of, [["render", Af]]), qf = {}, Rf = {
367
367
  xmlns: "http://www.w3.org/2000/svg",
368
368
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
369
369
  viewBox: "0 0 24 24"
@@ -618,13 +618,13 @@ function zp(e, t) {
618
618
  P('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="12" width="6" height="8" rx="1"></rect><rect x="9" y="8" width="6" height="12" rx="1"></rect><rect x="15" y="4" width="6" height="16" rx="1"></rect><path d="M4 20h14"></path></g>', 1)
619
619
  ])]);
620
620
  }
621
- const Ai = /* @__PURE__ */ _(Ip, [["render", zp]]), Op = {}, Ap = {
621
+ const ji = /* @__PURE__ */ _(Ip, [["render", zp]]), Op = {}, jp = {
622
622
  xmlns: "http://www.w3.org/2000/svg",
623
623
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
624
624
  viewBox: "0 0 24 24"
625
625
  };
626
- function jp(e, t) {
627
- return c(), m("svg", Ap, [...t[0] || (t[0] = [
626
+ function Ap(e, t) {
627
+ return c(), m("svg", jp, [...t[0] || (t[0] = [
628
628
  l("g", {
629
629
  fill: "none",
630
630
  stroke: "currentColor",
@@ -650,7 +650,7 @@ function jp(e, t) {
650
650
  ], -1)
651
651
  ])]);
652
652
  }
653
- const ji = /* @__PURE__ */ _(Op, [["render", jp]]), qp = {}, Rp = {
653
+ const Ai = /* @__PURE__ */ _(Op, [["render", Ap]]), qp = {}, Rp = {
654
654
  xmlns: "http://www.w3.org/2000/svg",
655
655
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
656
656
  viewBox: "0 0 24 24"
@@ -949,17 +949,17 @@ function zh(e, t) {
949
949
  P('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="14" rx="3"></rect><path d="M3 10h18"></path><path d="M7 15h.01"></path><path d="M11 15h2"></path></g>', 1)
950
950
  ])]);
951
951
  }
952
- const Ji = /* @__PURE__ */ _(Ih, [["render", zh]]), Oh = {}, Ah = {
952
+ const Ji = /* @__PURE__ */ _(Ih, [["render", zh]]), Oh = {}, jh = {
953
953
  xmlns: "http://www.w3.org/2000/svg",
954
954
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
955
955
  viewBox: "0 0 24 24"
956
956
  };
957
- function jh(e, t) {
958
- return c(), m("svg", Ah, [...t[0] || (t[0] = [
957
+ function Ah(e, t) {
958
+ return c(), m("svg", jh, [...t[0] || (t[0] = [
959
959
  P('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 8V6a2 2 0 0 1 2-2h2"></path><path d="M4 16v2a2 2 0 0 0 2 2h2"></path><path d="M16 4h2a2 2 0 0 1 2 2v2"></path><path d="M16 20h2a2 2 0 0 0 2-2v-2"></path><path d="M9 12h6"></path><path d="M12 9v6"></path></g>', 1)
960
960
  ])]);
961
961
  }
962
- const Qi = /* @__PURE__ */ _(Oh, [["render", jh]]), qh = {}, Rh = {
962
+ const Qi = /* @__PURE__ */ _(Oh, [["render", Ah]]), qh = {}, Rh = {
963
963
  xmlns: "http://www.w3.org/2000/svg",
964
964
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
965
965
  viewBox: "0 0 24 24"
@@ -1309,17 +1309,17 @@ function z1(e, t) {
1309
1309
  P('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 3v4a1 1 0 0 0 1 1h4"></path><path d="M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2z"></path><path d="M12 17h.01"></path><path d="M12 11v3"></path></g>', 1)
1310
1310
  ])]);
1311
1311
  }
1312
- const pu = /* @__PURE__ */ _(I1, [["render", z1]]), O1 = {}, A1 = {
1312
+ const pu = /* @__PURE__ */ _(I1, [["render", z1]]), O1 = {}, j1 = {
1313
1313
  xmlns: "http://www.w3.org/2000/svg",
1314
1314
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1315
1315
  viewBox: "0 0 24 24"
1316
1316
  };
1317
- function j1(e, t) {
1318
- return c(), m("svg", A1, [...t[0] || (t[0] = [
1317
+ function A1(e, t) {
1318
+ return c(), m("svg", j1, [...t[0] || (t[0] = [
1319
1319
  P('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 3v4a1 1 0 0 0 1 1h4"></path><path d="M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2z"></path><path d="M9 17v-5"></path><path d="M12 17v-1"></path><path d="M15 17v-3"></path></g>', 1)
1320
1320
  ])]);
1321
1321
  }
1322
- const hu = /* @__PURE__ */ _(O1, [["render", j1]]), q1 = {}, R1 = {
1322
+ const hu = /* @__PURE__ */ _(O1, [["render", A1]]), q1 = {}, R1 = {
1323
1323
  xmlns: "http://www.w3.org/2000/svg",
1324
1324
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1325
1325
  viewBox: "0 0 24 24"
@@ -1595,13 +1595,13 @@ function z0(e, t) {
1595
1595
  ], -1)
1596
1596
  ])]);
1597
1597
  }
1598
- const Tu = /* @__PURE__ */ _(I0, [["render", z0]]), O0 = {}, A0 = {
1598
+ const Tu = /* @__PURE__ */ _(I0, [["render", z0]]), O0 = {}, j0 = {
1599
1599
  xmlns: "http://www.w3.org/2000/svg",
1600
1600
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1601
1601
  viewBox: "0 0 24 24"
1602
1602
  };
1603
- function j0(e, t) {
1604
- return c(), m("svg", A0, [...t[0] || (t[0] = [
1603
+ function A0(e, t) {
1604
+ return c(), m("svg", j0, [...t[0] || (t[0] = [
1605
1605
  l("path", {
1606
1606
  d: "M15 7l-6.5 6.5a1.5 1.5 0 0 0 3 3L18 10a3 3 0 0 0-6-6l-6.5 6.5a4.5 4.5 0 0 0 9 9L21 13",
1607
1607
  fill: "none",
@@ -1612,7 +1612,7 @@ function j0(e, t) {
1612
1612
  }, null, -1)
1613
1613
  ])]);
1614
1614
  }
1615
- const Nu = /* @__PURE__ */ _(O0, [["render", j0]]), q0 = {}, R0 = {
1615
+ const Nu = /* @__PURE__ */ _(O0, [["render", A0]]), q0 = {}, R0 = {
1616
1616
  xmlns: "http://www.w3.org/2000/svg",
1617
1617
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1618
1618
  viewBox: "0 0 24 24"
@@ -1698,7 +1698,7 @@ function rm(e, t) {
1698
1698
  P('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="6" height="6" rx="1"></rect><path d="M7 17v.01"></path><rect x="14" y="4" width="6" height="6" rx="1"></rect><path d="M7 7v.01"></path><rect x="4" y="14" width="6" height="6" rx="1"></rect><path d="M17 7v.01"></path><path d="M14 14h3"></path><path d="M20 14v.01"></path><path d="M14 14v3"></path><path d="M14 20h3"></path><path d="M17 17h3"></path><path d="M20 17v3"></path></g>', 1)
1699
1699
  ])]);
1700
1700
  }
1701
- const Au = /* @__PURE__ */ _(em, [["render", rm]]), nm = {}, am = {
1701
+ const ju = /* @__PURE__ */ _(em, [["render", rm]]), nm = {}, am = {
1702
1702
  xmlns: "http://www.w3.org/2000/svg",
1703
1703
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1704
1704
  viewBox: "0 0 24 24"
@@ -1727,7 +1727,7 @@ function im(e, t) {
1727
1727
  P('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 5H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5.697"></path><path d="M18 14v4h4"></path><path d="M18 11V7a2 2 0 0 0-2-2h-2"></path><rect x="8" y="3" width="6" height="4" rx="2"></rect><circle cx="18" cy="18" r="4"></circle><path d="M8 11h4"></path><path d="M8 15h3"></path></g>', 1)
1728
1728
  ])]);
1729
1729
  }
1730
- const ju = /* @__PURE__ */ _(sm, [["render", im]]), um = {}, cm = {
1730
+ const Au = /* @__PURE__ */ _(sm, [["render", im]]), um = {}, cm = {
1731
1731
  xmlns: "http://www.w3.org/2000/svg",
1732
1732
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1733
1733
  viewBox: "0 0 24 24"
@@ -1865,13 +1865,13 @@ function zm(e, t) {
1865
1865
  ], -1)
1866
1866
  ])]);
1867
1867
  }
1868
- const Pu = /* @__PURE__ */ _(Im, [["render", zm]]), Om = {}, Am = {
1868
+ const Pu = /* @__PURE__ */ _(Im, [["render", zm]]), Om = {}, jm = {
1869
1869
  xmlns: "http://www.w3.org/2000/svg",
1870
1870
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1871
1871
  viewBox: "0 0 24 24"
1872
1872
  };
1873
- function jm(e, t) {
1874
- return c(), m("svg", Am, [...t[0] || (t[0] = [
1873
+ function Am(e, t) {
1874
+ return c(), m("svg", jm, [...t[0] || (t[0] = [
1875
1875
  l("g", {
1876
1876
  fill: "none",
1877
1877
  stroke: "currentColor",
@@ -1885,7 +1885,7 @@ function jm(e, t) {
1885
1885
  ], -1)
1886
1886
  ])]);
1887
1887
  }
1888
- const Eu = /* @__PURE__ */ _(Om, [["render", jm]]), qm = {}, Rm = {
1888
+ const Eu = /* @__PURE__ */ _(Om, [["render", Am]]), qm = {}, Rm = {
1889
1889
  xmlns: "http://www.w3.org/2000/svg",
1890
1890
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1891
1891
  viewBox: "0 0 24 24"
@@ -2222,8 +2222,8 @@ const ac = /* @__PURE__ */ _(Iw, [["render", zw]]), oc = /* @__PURE__ */ Object.
2222
2222
  CaretDown: Wa,
2223
2223
  CaretUp: zi,
2224
2224
  ChartArea: Oi,
2225
- ChartBar: Ai,
2226
- ChartBubble: ji,
2225
+ ChartBar: ji,
2226
+ ChartBubble: Ai,
2227
2227
  ChartDonut: qi,
2228
2228
  ChartLine: Ri,
2229
2229
  ChartPie: Fi,
@@ -2292,9 +2292,9 @@ const ac = /* @__PURE__ */ _(Iw, [["render", zw]]), oc = /* @__PURE__ */ Object.
2292
2292
  Presentation: Du,
2293
2293
  PresentationAnalytics: zu,
2294
2294
  Printer: Ou,
2295
- Qrcode: Au,
2295
+ Qrcode: ju,
2296
2296
  Refresh: Lt,
2297
- Report: ju,
2297
+ Report: Au,
2298
2298
  ReportAnalytics: qu,
2299
2299
  ReportMoney: Ru,
2300
2300
  ReportSearch: Fu,
@@ -2355,19 +2355,19 @@ function ko(e) {
2355
2355
  if (t)
2356
2356
  return JSON.parse(t);
2357
2357
  }
2358
- function Aw(e) {
2358
+ function jw(e) {
2359
2359
  eo.removeItem(e);
2360
2360
  }
2361
2361
  function bo() {
2362
2362
  return Date.parse(String(/* @__PURE__ */ new Date()));
2363
2363
  }
2364
- const jw = "local-";
2364
+ const Aw = "local-";
2365
2365
  class qw {
2366
2366
  constructor(t = "") {
2367
2367
  zt(this, "namespace");
2368
2368
  zt(this, "mapKey");
2369
2369
  zt(this, "map");
2370
- this.namespace = t, this.mapKey = jw + this.namespace, this.map = ko(this.mapKey) || {};
2370
+ this.namespace = t, this.mapKey = Aw + this.namespace, this.map = ko(this.mapKey) || {};
2371
2371
  }
2372
2372
  set(t, r, n = 0) {
2373
2373
  const a = this.getReallyKey(t), o = {
@@ -2401,7 +2401,7 @@ class qw {
2401
2401
  // }
2402
2402
  delete(t) {
2403
2403
  const r = this.getReallyKey(t);
2404
- delete this.map[t], cr(this.mapKey, this.map), Aw(r);
2404
+ delete this.map[t], cr(this.mapKey, this.map), jw(r);
2405
2405
  }
2406
2406
  deleteByPrefix(t) {
2407
2407
  for (const r in this.map)
@@ -2654,7 +2654,7 @@ const uc = () => {
2654
2654
  };
2655
2655
  window.addEventListener("resize", uc);
2656
2656
  uc();
2657
- const Ae = /* @__PURE__ */ new Map(), Lw = Object.prototype.hasOwnProperty;
2657
+ const je = /* @__PURE__ */ new Map(), Lw = Object.prototype.hasOwnProperty;
2658
2658
  function cc(e, t) {
2659
2659
  const r = [];
2660
2660
  for (const n in e) {
@@ -2738,33 +2738,33 @@ const Kt = "/apiserver/", xo = () => {
2738
2738
  fetchUri: e,
2739
2739
  ...t
2740
2740
  });
2741
- if (Ae.has(a))
2742
- return Ae.get(a);
2741
+ if (je.has(a))
2742
+ return je.get(a);
2743
2743
  const o = Qe({
2744
2744
  url: `${Kt}${e}`,
2745
2745
  method: "GET",
2746
2746
  data: t,
2747
2747
  responseType: r,
2748
2748
  timeout: n
2749
- }).then((s) => (Ae.delete(a), s)).catch(() => {
2750
- Ae.delete(a);
2749
+ }).then((s) => (je.delete(a), s)).catch(() => {
2750
+ je.delete(a);
2751
2751
  });
2752
- return Ae.set(a, o), o;
2752
+ return je.set(a, o), o;
2753
2753
  }, pe = (e, t = {}, r = "json", n = 3e5) => {
2754
2754
  const a = JSON.stringify({
2755
2755
  fetchUri: e,
2756
2756
  ...t
2757
2757
  });
2758
- if (Ae.has(a))
2759
- return Ae.get(a);
2758
+ if (je.has(a))
2759
+ return je.get(a);
2760
2760
  const o = Qe({
2761
2761
  url: `${Kt}${e}`,
2762
2762
  method: "POST",
2763
2763
  data: t,
2764
2764
  responseType: r,
2765
2765
  timeout: n
2766
- }).then((s) => (Ae.delete(a), Promise.resolve(s))).catch((s) => (Ae.delete(a), Promise.reject(s)));
2767
- return Ae.set(a, o), o;
2766
+ }).then((s) => (je.delete(a), Promise.resolve(s))).catch((s) => (je.delete(a), Promise.reject(s)));
2767
+ return je.set(a, o), o;
2768
2768
  }, Nk = (e, t = {}, r = "blob", n = 3e5) => Qe({
2769
2769
  url: `${Kt}${e}`,
2770
2770
  method: "POST",
@@ -2870,7 +2870,7 @@ const Kt = "/apiserver/", xo = () => {
2870
2870
  n,
2871
2871
  a
2872
2872
  ));
2873
- return Y(ja, o, {
2873
+ return Y(Aa, o, {
2874
2874
  default: () => Y(
2875
2875
  "span",
2876
2876
  {
@@ -3100,7 +3100,7 @@ const Kt = "/apiserver/", xo = () => {
3100
3100
  });
3101
3101
  function tv(e, t, r, n, a, o) {
3102
3102
  const s = M("ArrowNarrowLeft"), u = M("NIcon"), h = M("NButton");
3103
- return c(), F(h, {
3103
+ return c(), R(h, {
3104
3104
  quaternary: "",
3105
3105
  onClick: e.back
3106
3106
  }, {
@@ -3118,7 +3118,7 @@ function tv(e, t, r, n, a, o) {
3118
3118
  _: 1
3119
3119
  }, 8, ["onClick"]);
3120
3120
  }
3121
- const rv = /* @__PURE__ */ _(ev, [["render", tv]]), wc = 120, nv = 10, At = wc / 2, av = wc - 6, vc = (av - nv) / 2, ov = vc * 2 * Math.PI, To = vc * 1.5 * Math.PI, fr = (e) => {
3121
+ const rv = /* @__PURE__ */ _(ev, [["render", tv]]), wc = 120, nv = 10, jt = wc / 2, av = wc - 6, vc = (av - nv) / 2, ov = vc * 2 * Math.PI, To = vc * 1.5 * Math.PI, fr = (e) => {
3122
3122
  if (!e)
3123
3123
  return "";
3124
3124
  let t = e.toLowerCase();
@@ -3183,7 +3183,7 @@ const rv = /* @__PURE__ */ _(ev, [["render", tv]]), wc = 120, nv = 10, At = wc /
3183
3183
  return D <= 0 && (D = 0), `stroke-dashoffset: ${D}`;
3184
3184
  },
3185
3185
  calculateSemicircle: (D) => {
3186
- r.value = `${To} ${ov}`, n.value = `translate(${At}, ${At + 9})`, a.value = `translate(${At}, ${At + 24})`;
3186
+ r.value = `${To} ${ov}`, n.value = `translate(${jt}, ${jt + 9})`, a.value = `translate(${jt}, ${jt + 24})`;
3187
3187
  let v = D || Number(e.circle);
3188
3188
  return v > 100 && (v = 100), v <= 0 && (v = 1e-4), To * (1 - v / 100);
3189
3189
  },
@@ -3367,7 +3367,7 @@ function $v(e, t, r, n, a, o) {
3367
3367
  ]);
3368
3368
  }
3369
3369
  const Mv = /* @__PURE__ */ _(sv, [["render", $v]]);
3370
- var jt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3370
+ var At = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3371
3371
  function ro(e) {
3372
3372
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3373
3373
  }
@@ -3427,20 +3427,20 @@ function Nv() {
3427
3427
  }
3428
3428
  return vr = t, vr;
3429
3429
  }
3430
- var gr, Ao;
3430
+ var gr, jo;
3431
3431
  function Iv() {
3432
- if (Ao) return gr;
3433
- Ao = 1;
3432
+ if (jo) return gr;
3433
+ jo = 1;
3434
3434
  var e = Gt();
3435
3435
  function t(r) {
3436
3436
  return e(this.__data__, r) > -1;
3437
3437
  }
3438
3438
  return gr = t, gr;
3439
3439
  }
3440
- var yr, jo;
3440
+ var yr, Ao;
3441
3441
  function Dv() {
3442
- if (jo) return yr;
3443
- jo = 1;
3442
+ if (Ao) return yr;
3443
+ Ao = 1;
3444
3444
  var e = Gt();
3445
3445
  function t(r, n) {
3446
3446
  var a = this.__data__, o = e(a, r);
@@ -3483,7 +3483,7 @@ function Ov() {
3483
3483
  return _r = e, _r;
3484
3484
  }
3485
3485
  var xr, Bo;
3486
- function Av() {
3486
+ function jv() {
3487
3487
  if (Bo) return xr;
3488
3488
  Bo = 1;
3489
3489
  function e(t) {
@@ -3492,7 +3492,7 @@ function Av() {
3492
3492
  return xr = e, xr;
3493
3493
  }
3494
3494
  var Cr, Vo;
3495
- function jv() {
3495
+ function Av() {
3496
3496
  if (Vo) return Cr;
3497
3497
  Vo = 1;
3498
3498
  function e(t) {
@@ -3504,7 +3504,7 @@ var $r, Uo;
3504
3504
  function yc() {
3505
3505
  if (Uo) return $r;
3506
3506
  Uo = 1;
3507
- var e = typeof jt == "object" && jt && jt.Object === Object && jt;
3507
+ var e = typeof At == "object" && At && At.Object === Object && At;
3508
3508
  return $r = e, $r;
3509
3509
  }
3510
3510
  var Mr, Po;
@@ -3588,9 +3588,9 @@ function Fv() {
3588
3588
  var e = De(), t = e["__core-js_shared__"];
3589
3589
  return Or = t, Or;
3590
3590
  }
3591
- var Ar, Qo;
3591
+ var jr, Qo;
3592
3592
  function Bv() {
3593
- if (Qo) return Ar;
3593
+ if (Qo) return jr;
3594
3594
  Qo = 1;
3595
3595
  var e = Fv(), t = (function() {
3596
3596
  var n = /[^.]+$/.exec(e && e.keys && e.keys.IE_PROTO || "");
@@ -3599,11 +3599,11 @@ function Bv() {
3599
3599
  function r(n) {
3600
3600
  return !!t && t in n;
3601
3601
  }
3602
- return Ar = r, Ar;
3602
+ return jr = r, jr;
3603
3603
  }
3604
- var jr, Xo;
3604
+ var Ar, Xo;
3605
3605
  function bc() {
3606
- if (Xo) return jr;
3606
+ if (Xo) return Ar;
3607
3607
  Xo = 1;
3608
3608
  var e = Function.prototype, t = e.toString;
3609
3609
  function r(n) {
@@ -3619,7 +3619,7 @@ function bc() {
3619
3619
  }
3620
3620
  return "";
3621
3621
  }
3622
- return jr = r, jr;
3622
+ return Ar = r, Ar;
3623
3623
  }
3624
3624
  var qr, Yo;
3625
3625
  function Vv() {
@@ -3853,7 +3853,7 @@ var rn, gs;
3853
3853
  function rg() {
3854
3854
  if (gs) return rn;
3855
3855
  gs = 1;
3856
- var e = Wt(), t = zv(), r = Ov(), n = Av(), a = jv(), o = tg();
3856
+ var e = Wt(), t = zv(), r = Ov(), n = jv(), a = Av(), o = tg();
3857
3857
  function s(u) {
3858
3858
  var h = this.__data__ = new e(u);
3859
3859
  this.size = h.size;
@@ -4016,17 +4016,17 @@ var vn, Os;
4016
4016
  function cg() {
4017
4017
  if (Os) return vn;
4018
4018
  Os = 1;
4019
- var e = Mt(), t = $c(), r = ft(), n = "[object Arguments]", a = "[object Array]", o = "[object Boolean]", s = "[object Date]", u = "[object Error]", h = "[object Function]", w = "[object Map]", b = "[object Number]", D = "[object Object]", v = "[object RegExp]", d = "[object Set]", g = "[object String]", i = "[object WeakMap]", k = "[object ArrayBuffer]", f = "[object DataView]", p = "[object Float32Array]", C = "[object Float64Array]", T = "[object Int8Array]", V = "[object Int16Array]", L = "[object Int32Array]", R = "[object Uint8Array]", O = "[object Uint8ClampedArray]", z = "[object Uint16Array]", x = "[object Uint32Array]", S = {};
4020
- S[p] = S[C] = S[T] = S[V] = S[L] = S[R] = S[O] = S[z] = S[x] = !0, S[n] = S[a] = S[k] = S[o] = S[f] = S[s] = S[u] = S[h] = S[w] = S[b] = S[D] = S[v] = S[d] = S[g] = S[i] = !1;
4021
- function q(j) {
4022
- return r(j) && t(j.length) && !!S[e(j)];
4019
+ var e = Mt(), t = $c(), r = ft(), n = "[object Arguments]", a = "[object Array]", o = "[object Boolean]", s = "[object Date]", u = "[object Error]", h = "[object Function]", w = "[object Map]", b = "[object Number]", D = "[object Object]", v = "[object RegExp]", d = "[object Set]", g = "[object String]", i = "[object WeakMap]", k = "[object ArrayBuffer]", f = "[object DataView]", p = "[object Float32Array]", C = "[object Float64Array]", T = "[object Int8Array]", V = "[object Int16Array]", L = "[object Int32Array]", F = "[object Uint8Array]", O = "[object Uint8ClampedArray]", z = "[object Uint16Array]", x = "[object Uint32Array]", S = {};
4020
+ S[p] = S[C] = S[T] = S[V] = S[L] = S[F] = S[O] = S[z] = S[x] = !0, S[n] = S[a] = S[k] = S[o] = S[f] = S[s] = S[u] = S[h] = S[w] = S[b] = S[D] = S[v] = S[d] = S[g] = S[i] = !1;
4021
+ function q(A) {
4022
+ return r(A) && t(A.length) && !!S[e(A)];
4023
4023
  }
4024
4024
  return vn = q, vn;
4025
4025
  }
4026
- var gn, As;
4026
+ var gn, js;
4027
4027
  function so() {
4028
- if (As) return gn;
4029
- As = 1;
4028
+ if (js) return gn;
4029
+ js = 1;
4030
4030
  function e(t) {
4031
4031
  return function(r) {
4032
4032
  return t(r);
@@ -4036,9 +4036,9 @@ function so() {
4036
4036
  }
4037
4037
  var vt = { exports: {} };
4038
4038
  vt.exports;
4039
- var js;
4039
+ var As;
4040
4040
  function lo() {
4041
- return js || (js = 1, (function(e, t) {
4041
+ return As || (As = 1, (function(e, t) {
4042
4042
  var r = yc(), n = t && !t.nodeType && t, a = n && !0 && e && !e.nodeType && e, o = a && a.exports === n, s = o && r.process, u = (function() {
4043
4043
  try {
4044
4044
  var h = a && a.require && a.require("util").types;
@@ -4235,25 +4235,25 @@ function kg() {
4235
4235
  }
4236
4236
  return On = e, On;
4237
4237
  }
4238
- var An, Ys;
4238
+ var jn, Ys;
4239
4239
  function Nc() {
4240
- if (Ys) return An;
4240
+ if (Ys) return jn;
4241
4241
  Ys = 1;
4242
4242
  function e() {
4243
4243
  return [];
4244
4244
  }
4245
- return An = e, An;
4245
+ return jn = e, jn;
4246
4246
  }
4247
- var jn, Zs;
4247
+ var An, Zs;
4248
4248
  function fo() {
4249
- if (Zs) return jn;
4249
+ if (Zs) return An;
4250
4250
  Zs = 1;
4251
4251
  var e = kg(), t = Nc(), r = Object.prototype, n = r.propertyIsEnumerable, a = Object.getOwnPropertySymbols, o = a ? function(s) {
4252
4252
  return s == null ? [] : (s = Object(s), e(a(s), function(u) {
4253
4253
  return n.call(s, u);
4254
4254
  }));
4255
4255
  } : t;
4256
- return jn = o, jn;
4256
+ return An = o, An;
4257
4257
  }
4258
4258
  var qn, el;
4259
4259
  function bg() {
@@ -4448,7 +4448,7 @@ function Og() {
4448
4448
  return ea = n, ea;
4449
4449
  }
4450
4450
  var ta, yl;
4451
- function Ag() {
4451
+ function jg() {
4452
4452
  if (yl) return ta;
4453
4453
  yl = 1;
4454
4454
  var e = ho();
@@ -4459,10 +4459,10 @@ function Ag() {
4459
4459
  return ta = t, ta;
4460
4460
  }
4461
4461
  var ra, kl;
4462
- function jg() {
4462
+ function Ag() {
4463
4463
  if (kl) return ra;
4464
4464
  kl = 1;
4465
- var e = ho(), t = Dg(), r = zg(), n = Og(), a = Ag(), o = "[object Boolean]", s = "[object Date]", u = "[object Map]", h = "[object Number]", w = "[object RegExp]", b = "[object Set]", D = "[object String]", v = "[object Symbol]", d = "[object ArrayBuffer]", g = "[object DataView]", i = "[object Float32Array]", k = "[object Float64Array]", f = "[object Int8Array]", p = "[object Int16Array]", C = "[object Int32Array]", T = "[object Uint8Array]", V = "[object Uint8ClampedArray]", L = "[object Uint16Array]", R = "[object Uint32Array]";
4465
+ var e = ho(), t = Dg(), r = zg(), n = Og(), a = jg(), o = "[object Boolean]", s = "[object Date]", u = "[object Map]", h = "[object Number]", w = "[object RegExp]", b = "[object Set]", D = "[object String]", v = "[object Symbol]", d = "[object ArrayBuffer]", g = "[object DataView]", i = "[object Float32Array]", k = "[object Float64Array]", f = "[object Int8Array]", p = "[object Int16Array]", C = "[object Int32Array]", T = "[object Uint8Array]", V = "[object Uint8ClampedArray]", L = "[object Uint16Array]", F = "[object Uint32Array]";
4466
4466
  function O(z, x, S) {
4467
4467
  var q = z.constructor;
4468
4468
  switch (x) {
@@ -4481,7 +4481,7 @@ function jg() {
4481
4481
  case T:
4482
4482
  case V:
4483
4483
  case L:
4484
- case R:
4484
+ case F:
4485
4485
  return a(z, S);
4486
4486
  case u:
4487
4487
  return new q();
@@ -4565,10 +4565,10 @@ var ua, Sl;
4565
4565
  function Pg() {
4566
4566
  if (Sl) return ua;
4567
4567
  Sl = 1;
4568
- var e = rg(), t = ng(), r = xc(), n = hg(), a = vg(), o = gg(), s = yg(), u = bg(), h = _g(), w = xg(), b = Cg(), D = po(), v = Ng(), d = jg(), g = Rg(), i = oo(), k = Cc(), f = Bg(), p = Xe(), C = Ug(), T = uo(), V = co(), L = 1, R = 2, O = 4, z = "[object Arguments]", x = "[object Array]", S = "[object Boolean]", q = "[object Date]", j = "[object Error]", A = "[object Function]", H = "[object GeneratorFunction]", J = "[object Map]", ue = "[object Number]", se = "[object Object]", he = "[object RegExp]", Ve = "[object Set]", Me = "[object String]", we = "[object Symbol]", nt = "[object WeakMap]", St = "[object ArrayBuffer]", Tt = "[object DataView]", er = "[object Float32Array]", tr = "[object Float64Array]", rr = "[object Int8Array]", nr = "[object Int16Array]", ar = "[object Int32Array]", ve = "[object Uint8Array]", or = "[object Uint8ClampedArray]", sr = "[object Uint16Array]", lr = "[object Uint32Array]", ne = {};
4569
- ne[z] = ne[x] = ne[St] = ne[Tt] = ne[S] = ne[q] = ne[er] = ne[tr] = ne[rr] = ne[nr] = ne[ar] = ne[J] = ne[ue] = ne[se] = ne[he] = ne[Ve] = ne[Me] = ne[we] = ne[ve] = ne[or] = ne[sr] = ne[lr] = !0, ne[j] = ne[A] = ne[nt] = !1;
4568
+ var e = rg(), t = ng(), r = xc(), n = hg(), a = vg(), o = gg(), s = yg(), u = bg(), h = _g(), w = xg(), b = Cg(), D = po(), v = Ng(), d = Ag(), g = Rg(), i = oo(), k = Cc(), f = Bg(), p = Xe(), C = Ug(), T = uo(), V = co(), L = 1, F = 2, O = 4, z = "[object Arguments]", x = "[object Array]", S = "[object Boolean]", q = "[object Date]", A = "[object Error]", j = "[object Function]", H = "[object GeneratorFunction]", J = "[object Map]", ue = "[object Number]", se = "[object Object]", he = "[object RegExp]", Ve = "[object Set]", Me = "[object String]", we = "[object Symbol]", nt = "[object WeakMap]", St = "[object ArrayBuffer]", Tt = "[object DataView]", er = "[object Float32Array]", tr = "[object Float64Array]", rr = "[object Int8Array]", nr = "[object Int16Array]", ar = "[object Int32Array]", ve = "[object Uint8Array]", or = "[object Uint8ClampedArray]", sr = "[object Uint16Array]", lr = "[object Uint32Array]", ne = {};
4569
+ ne[z] = ne[x] = ne[St] = ne[Tt] = ne[S] = ne[q] = ne[er] = ne[tr] = ne[rr] = ne[nr] = ne[ar] = ne[J] = ne[ue] = ne[se] = ne[he] = ne[Ve] = ne[Me] = ne[we] = ne[ve] = ne[or] = ne[sr] = ne[lr] = !0, ne[A] = ne[j] = ne[nt] = !1;
4570
4570
  function at(ee, Ue, Pe, ir, ot, xe) {
4571
- var me, Ee = Ue & L, je = Ue & R, Nt = Ue & O;
4571
+ var me, Ee = Ue & L, Ae = Ue & F, Nt = Ue & O;
4572
4572
  if (Pe && (me = ot ? Pe(ee, ir, ot, xe) : Pe(ee)), me !== void 0)
4573
4573
  return me;
4574
4574
  if (!p(ee))
@@ -4578,12 +4578,12 @@ function Pg() {
4578
4578
  if (me = v(ee), !Ee)
4579
4579
  return s(ee, me);
4580
4580
  } else {
4581
- var qe = D(ee), mt = qe == A || qe == H;
4581
+ var qe = D(ee), mt = qe == j || qe == H;
4582
4582
  if (k(ee))
4583
4583
  return o(ee, Ee);
4584
4584
  if (qe == se || qe == z || mt && !ot) {
4585
- if (me = je || mt ? {} : g(ee), !Ee)
4586
- return je ? h(ee, a(me, ee)) : u(ee, n(me, ee));
4585
+ if (me = Ae || mt ? {} : g(ee), !Ee)
4586
+ return Ae ? h(ee, a(me, ee)) : u(ee, n(me, ee));
4587
4587
  } else {
4588
4588
  if (!ne[qe])
4589
4589
  return ot ? ee : {};
@@ -4599,7 +4599,7 @@ function Pg() {
4599
4599
  }) : f(ee) && ee.forEach(function(ze, Re) {
4600
4600
  me.set(Re, at(ze, Ue, Pe, Re, ee, xe));
4601
4601
  });
4602
- var lt = Nt ? je ? b : w : je ? V : T, It = ht ? void 0 : lt(ee);
4602
+ var lt = Nt ? Ae ? b : w : Ae ? V : T, It = ht ? void 0 : lt(ee);
4603
4603
  return t(It || ee, function(ze, Re) {
4604
4604
  It && (Re = ze, ze = ee[Re]), r(me, Re, at(ze, Ue, Pe, Re, ee, xe));
4605
4605
  }), me;
@@ -4685,7 +4685,7 @@ const Q = /* @__PURE__ */ ro(Lg), Hg = ie({
4685
4685
  V
4686
4686
  );
4687
4687
  try {
4688
- const R = await L(
4688
+ const F = await L(
4689
4689
  p,
4690
4690
  T,
4691
4691
  t,
@@ -4693,11 +4693,11 @@ const Q = /* @__PURE__ */ ro(Lg), Hg = ie({
4693
4693
  C,
4694
4694
  pe
4695
4695
  );
4696
- R && typeof R == "object" && Object.keys(R).forEach((O) => {
4697
- e.formValue[O] = R[O];
4696
+ F && typeof F == "object" && Object.keys(F).forEach((O) => {
4697
+ e.formValue[O] = F[O];
4698
4698
  });
4699
- } catch (R) {
4700
- oe(R);
4699
+ } catch (F) {
4700
+ oe(F);
4701
4701
  }
4702
4702
  } catch (V) {
4703
4703
  oe(V);
@@ -4800,7 +4800,7 @@ const Q = /* @__PURE__ */ ro(Lg), Hg = ie({
4800
4800
  }), Kg = { class: "flex flex-wrap gap-2" };
4801
4801
  function Gg(e, t, r, n, a, o) {
4802
4802
  const s = M("NInput"), u = M("NDropdown"), h = M("NInputNumber"), w = M("NDatePicker"), b = M("NSelect"), D = M("NCascader"), v = M("NColorPicker"), d = M("NCheckbox"), g = M("NCheckboxGroup"), i = M("NTimePicker"), k = M("NSwitch"), f = M("UzFormItemUpload");
4803
- return e.item.input === "input" ? (c(), F(s, {
4803
+ return e.item.input === "input" ? (c(), R(s, {
4804
4804
  key: 0,
4805
4805
  value: e.formValue[e.item.key],
4806
4806
  "onUpdate:value": [
@@ -4835,13 +4835,13 @@ function Gg(e, t, r, n, a, o) {
4835
4835
  ]),
4836
4836
  key: "1"
4837
4837
  } : void 0
4838
- ]), 1032, ["value", "type", "placeholder", "disabled", "readonly", "clearable", "minlength", "maxlength", "rows", "show-count", "class"])) : e.item.input === "filling" ? (c(), F(s, {
4838
+ ]), 1032, ["value", "type", "placeholder", "disabled", "readonly", "clearable", "minlength", "maxlength", "rows", "show-count", "class"])) : e.item.input === "filling" ? (c(), R(s, {
4839
4839
  key: 1,
4840
4840
  value: String(e.formValue[e.item.key] ?? ""),
4841
4841
  placeholder: e.showPlaceholder(e.item),
4842
4842
  class: "uz-input-readonly",
4843
4843
  readonly: ""
4844
- }, null, 8, ["value", "placeholder"])) : e.item.input === "auto" ? (c(), F(u, {
4844
+ }, null, 8, ["value", "placeholder"])) : e.item.input === "auto" ? (c(), R(u, {
4845
4845
  key: 2,
4846
4846
  width: "trigger",
4847
4847
  show: e.showDropdown,
@@ -4891,7 +4891,7 @@ function Gg(e, t, r, n, a, o) {
4891
4891
  ]), 1032, ["value", "type", "placeholder", "disabled", "readonly", "clearable", "minlength", "maxlength", "rows", "show-count", "class"])
4892
4892
  ]),
4893
4893
  _: 1
4894
- }, 8, ["show", "options", "render-label"])) : e.item.input === "number" ? (c(), F(h, {
4894
+ }, 8, ["show", "options", "render-label"])) : e.item.input === "number" ? (c(), R(h, {
4895
4895
  key: 3,
4896
4896
  value: e.formValue[e.item.key],
4897
4897
  "onUpdate:value": [
@@ -4925,7 +4925,7 @@ function Gg(e, t, r, n, a, o) {
4925
4925
  ]),
4926
4926
  key: "1"
4927
4927
  } : void 0
4928
- ]), 1032, ["value", "placeholder", "disabled", "readonly", "clearable", "min", "max", "step", "showButton", "precision", "class"])) : e.item.input === "date" && !e.item.params.format ? (c(), F(w, {
4928
+ ]), 1032, ["value", "placeholder", "disabled", "readonly", "clearable", "min", "max", "step", "showButton", "precision", "class"])) : e.item.input === "date" && !e.item.params.format ? (c(), R(w, {
4929
4929
  key: 4,
4930
4930
  value: e.formValue[e.item.key],
4931
4931
  "onUpdate:value": [
@@ -4952,7 +4952,7 @@ function Gg(e, t, r, n, a, o) {
4952
4952
  },
4953
4953
  "close-on-select": !0,
4954
4954
  class: de(e.checkClassReadonly())
4955
- }, null, 8, ["value", "type", "placeholder", "disabled", "show", "clearable", "time-picker-props", "input-readonly", "is-date-disabled", "class"])) : e.item.input === "date" && e.item.params.format ? (c(), F(w, {
4955
+ }, null, 8, ["value", "type", "placeholder", "disabled", "show", "clearable", "time-picker-props", "input-readonly", "is-date-disabled", "class"])) : e.item.input === "date" && e.item.params.format ? (c(), R(w, {
4956
4956
  key: 5,
4957
4957
  "formatted-value": e.formValue[e.item.key],
4958
4958
  "onUpdate:formattedValue": [
@@ -4980,7 +4980,7 @@ function Gg(e, t, r, n, a, o) {
4980
4980
  },
4981
4981
  "close-on-select": !0,
4982
4982
  class: de(e.checkClassReadonly())
4983
- }, null, 8, ["formatted-value", "type", "placeholder", "disabled", "show", "clearable", "input-readonly", "format", "time-picker-props", "is-date-disabled", "class"])) : e.item.input === "select" ? (c(), F(b, {
4983
+ }, null, 8, ["formatted-value", "type", "placeholder", "disabled", "show", "clearable", "input-readonly", "format", "time-picker-props", "is-date-disabled", "class"])) : e.item.input === "select" ? (c(), R(b, {
4984
4984
  key: 6,
4985
4985
  value: e.formValue[e.item.key],
4986
4986
  "onUpdate:value": [
@@ -5007,19 +5007,19 @@ function Gg(e, t, r, n, a, o) {
5007
5007
  value: `op${Date.now()}-#create#-${p}`
5008
5008
  }) : void 0,
5009
5009
  class: de(e.checkClassReadonly())
5010
- }, null, 8, ["value", "placeholder", "options", "disabled", "show", "clearable", "filterable", "tag", "multiple", "fallback-option", "render-label", "render-tag", "on-create", "class"])) : e.item.input === "cascader" ? (c(), F(D, {
5010
+ }, null, 8, ["value", "placeholder", "options", "disabled", "show", "clearable", "filterable", "tag", "multiple", "fallback-option", "render-label", "render-tag", "on-create", "class"])) : e.item.input === "cascader" ? (c(), R(D, {
5011
5011
  key: 7,
5012
5012
  value: e.formValue[e.item.key],
5013
5013
  "onUpdate:value": [
5014
5014
  t[13] || (t[13] = (p) => e.formValue[e.item.key] = p),
5015
5015
  t[14] || (t[14] = (p, C, T) => {
5016
5016
  const V = e.item;
5017
- let L = p, R = p;
5017
+ let L = p, F = p;
5018
5018
  if (V.params.multiple) {
5019
5019
  let O = p.filter((z) => z);
5020
- O.length === 0 ? (L = [], R = []) : (L = O, R = O);
5020
+ O.length === 0 ? (L = [], F = []) : (L = O, F = O);
5021
5021
  }
5022
- e.formValue[e.item.key] = L, T && (e.formValue[`${e.item.key}Str`] = T.map((O) => O.label).join("/")), e.updateValue(e.item, R);
5022
+ e.formValue[e.item.key] = L, T && (e.formValue[`${e.item.key}Str`] = T.map((O) => O.label).join("/")), e.updateValue(e.item, F);
5023
5023
  })
5024
5024
  ],
5025
5025
  placeholder: e.showPlaceholder(e.item),
@@ -5032,7 +5032,7 @@ function Gg(e, t, r, n, a, o) {
5032
5032
  class: de(e.checkClassReadonly()),
5033
5033
  "check-strategy": "all",
5034
5034
  maxTagCount: "responsive"
5035
- }, null, 8, ["value", "placeholder", "options", "disabled", "show", "clearable", "filterable", "multiple", "class"])) : e.item.input === "color" ? (c(), F(v, {
5035
+ }, null, 8, ["value", "placeholder", "options", "disabled", "show", "clearable", "filterable", "multiple", "class"])) : e.item.input === "color" ? (c(), R(v, {
5036
5036
  key: 8,
5037
5037
  value: e.formValue[e.item.key],
5038
5038
  "onUpdate:value": t[15] || (t[15] = (p) => e.formValue[e.item.key] = p),
@@ -5048,7 +5048,7 @@ function Gg(e, t, r, n, a, o) {
5048
5048
  "rgba(208, 48, 80, 1)"
5049
5049
  ],
5050
5050
  class: de(e.checkClassReadonly())
5051
- }, null, 8, ["value", "disabled", "show", "class"])) : e.item.input === "checkbox" ? (c(), F(g, {
5051
+ }, null, 8, ["value", "disabled", "show", "class"])) : e.item.input === "checkbox" ? (c(), R(g, {
5052
5052
  key: 9,
5053
5053
  value: e.formValue[e.item.key],
5054
5054
  "onUpdate:value": t[16] || (t[16] = (p) => e.formValue[e.item.key] = p),
@@ -5056,7 +5056,7 @@ function Gg(e, t, r, n, a, o) {
5056
5056
  }, {
5057
5057
  default: y(() => [
5058
5058
  l("div", Kg, [
5059
- (c(!0), m(le, null, $e(e.item.params.options, (p) => (c(), F(d, {
5059
+ (c(!0), m(le, null, $e(e.item.params.options, (p) => (c(), R(d, {
5060
5060
  key: p.value,
5061
5061
  label: p.label,
5062
5062
  value: p.value
@@ -5064,7 +5064,7 @@ function Gg(e, t, r, n, a, o) {
5064
5064
  ])
5065
5065
  ]),
5066
5066
  _: 1
5067
- }, 8, ["value", "disabled"])) : e.item.input === "time" ? (c(), F(i, {
5067
+ }, 8, ["value", "disabled"])) : e.item.input === "time" ? (c(), R(i, {
5068
5068
  key: 10,
5069
5069
  value: e.formValue[e.item.key],
5070
5070
  "onUpdate:value": [
@@ -5080,7 +5080,7 @@ function Gg(e, t, r, n, a, o) {
5080
5080
  show: e.checkReadonlyShow(),
5081
5081
  clearable: e.checkClearable(),
5082
5082
  class: de(e.checkClassReadonly())
5083
- }, null, 8, ["value", "placeholder", "format", "disabled", "show", "clearable", "class"])) : e.item.input === "switch" ? (c(), F(k, {
5083
+ }, null, 8, ["value", "placeholder", "format", "disabled", "show", "clearable", "class"])) : e.item.input === "switch" ? (c(), R(k, {
5084
5084
  key: 11,
5085
5085
  "checked-value": 1,
5086
5086
  "unchecked-value": 0,
@@ -5108,7 +5108,7 @@ function Gg(e, t, r, n, a, o) {
5108
5108
  ]),
5109
5109
  key: "1"
5110
5110
  } : void 0
5111
- ]), 1032, ["value", "disabled"])) : e.item.input === "upload" ? (c(), F(f, {
5111
+ ]), 1032, ["value", "disabled"])) : e.item.input === "upload" ? (c(), R(f, {
5112
5112
  key: 12,
5113
5113
  value: e.formValue[e.item.key],
5114
5114
  "onUpdate:value": t[21] || (t[21] = (p) => e.formValue[e.item.key] = p),
@@ -5233,7 +5233,7 @@ const pt = /* @__PURE__ */ _(Hg, [["render", Gg]]), Wg = ie({
5233
5233
  else if (x.input === "select" && ((S = x.params.options) == null ? void 0 : S.length) > 0) {
5234
5234
  x.form.defaultValue === "userId" ? o.value[x.key] = r.userId : o.value[x.key] = x.form.defaultValue;
5235
5235
  const q = x.params.options.find(
5236
- (j) => j.value === o.value[x.key]
5236
+ (A) => A.value === o.value[x.key]
5237
5237
  );
5238
5238
  q && (o.value[`${x.key}Str`] = q.label);
5239
5239
  } else if (x.input === "date")
@@ -5259,23 +5259,23 @@ const pt = /* @__PURE__ */ _(Hg, [["render", Gg]]), Wg = ie({
5259
5259
  );
5260
5260
  break;
5261
5261
  case "end-now":
5262
- const j = Ce().endOf("day").valueOf();
5263
- o.value[x.key] = [j, j], o.value[`${x.key}StartStr`] = g(
5262
+ const A = Ce().endOf("day").valueOf();
5263
+ o.value[x.key] = [A, A], o.value[`${x.key}StartStr`] = g(
5264
5264
  x.params.type,
5265
- j
5265
+ A
5266
5266
  ), o.value[`${x.key}EndStr`] = g(
5267
5267
  x.params.type,
5268
- j
5268
+ A
5269
5269
  );
5270
5270
  break;
5271
5271
  default:
5272
- const A = Number(x.form.defaultValue);
5273
- o.value[x.key] = Number.isNaN(A) ? null : [A, A], o.value[`${x.key}StartStr`] = g(
5272
+ const j = Number(x.form.defaultValue);
5273
+ o.value[x.key] = Number.isNaN(j) ? null : [j, j], o.value[`${x.key}StartStr`] = g(
5274
5274
  x.params.type,
5275
- A
5275
+ j
5276
5276
  ), o.value[`${x.key}EndStr`] = g(
5277
5277
  x.params.type,
5278
- A
5278
+ j
5279
5279
  );
5280
5280
  break;
5281
5281
  }
@@ -5295,17 +5295,17 @@ const pt = /* @__PURE__ */ _(Hg, [["render", Gg]]), Wg = ie({
5295
5295
  );
5296
5296
  break;
5297
5297
  case "end-now":
5298
- const j = Ce().endOf("day").valueOf();
5298
+ const A = Ce().endOf("day").valueOf();
5299
5299
  o.value[x.key] = Ce().endOf("day").valueOf(), o.value[`${x.key}Str`] = g(
5300
5300
  x.params.type,
5301
- j
5301
+ A
5302
5302
  );
5303
5303
  break;
5304
5304
  default:
5305
- const A = Number(x.form.defaultValue);
5306
- o.value[x.key] = Number.isNaN(A) ? null : A, o.value[`${x.key}Str`] = g(
5305
+ const j = Number(x.form.defaultValue);
5306
+ o.value[x.key] = Number.isNaN(j) ? null : j, o.value[`${x.key}Str`] = g(
5307
5307
  x.params.type,
5308
- A
5308
+ j
5309
5309
  );
5310
5310
  break;
5311
5311
  }
@@ -5341,18 +5341,18 @@ const pt = /* @__PURE__ */ _(Hg, [["render", Gg]]), Wg = ie({
5341
5341
  if (q)
5342
5342
  x();
5343
5343
  else if (await p() === 0) {
5344
- const A = Q(o.value);
5344
+ const j = Q(o.value);
5345
5345
  h.value.forEach((ue) => {
5346
- A[ue] = JSON.stringify(A[ue]);
5347
- }), Object.keys(A).forEach((ue) => {
5348
- ue.includes("sub_") && A[ue].forEach((se) => {
5346
+ j[ue] = JSON.stringify(j[ue]);
5347
+ }), Object.keys(j).forEach((ue) => {
5348
+ ue.includes("sub_") && j[ue].forEach((se) => {
5349
5349
  Object.keys(se).forEach((he) => {
5350
5350
  Array.isArray(se[he]) && (se[he] = JSON.stringify(se[he]));
5351
5351
  });
5352
5352
  });
5353
5353
  });
5354
5354
  const H = JSON.stringify(
5355
- A,
5355
+ j,
5356
5356
  (ue, se) => se === void 0 ? null : Array.isArray(se) ? se.filter((he) => he !== "") : se
5357
5357
  ), J = JSON.parse(H);
5358
5358
  z(J);
@@ -5378,7 +5378,7 @@ const pt = /* @__PURE__ */ _(Hg, [["render", Gg]]), Wg = ie({
5378
5378
  12: "md:col-span-12 lg:col-span-12 xl:col-span-12 2xl:col-span-12"
5379
5379
  })[z], L = (z, x) => {
5380
5380
  w.value = x, D.value = z.source, v.value = z.sourceFn, b.value = !0;
5381
- }, R = (z) => {
5381
+ }, F = (z) => {
5382
5382
  w.value && (s.value[w.value].params.options = z);
5383
5383
  }, O = () => o.value;
5384
5384
  return Je(() => {
@@ -5412,7 +5412,7 @@ const pt = /* @__PURE__ */ _(Hg, [["render", Gg]]), Wg = ie({
5412
5412
  sourceAdd: L,
5413
5413
  itemShow: d,
5414
5414
  setSpan: V,
5415
- refreshOption: R
5415
+ refreshOption: F
5416
5416
  };
5417
5417
  }
5418
5418
  }), Jg = ["onClick"];
@@ -5435,7 +5435,7 @@ function Qg(e, t, r, n, a, o) {
5435
5435
  (c(!0), m(le, null, $e(e.formItems, (k, f) => {
5436
5436
  var p;
5437
5437
  return c(), m(le, { key: f }, [
5438
- e.itemShow(k) ? (c(), F(v, {
5438
+ e.itemShow(k) ? (c(), R(v, {
5439
5439
  key: 0,
5440
5440
  path: k.key,
5441
5441
  rule: k.input === "subTable" ? void 0 : (p = k.form.rule) != null && p.required ? k.form.rule : void 0,
@@ -5457,14 +5457,14 @@ function Qg(e, t, r, n, a, o) {
5457
5457
  _: 1
5458
5458
  }),
5459
5459
  t[1] || (t[1] = K(" 新增 ", -1))
5460
- ], 8, Jg)) : W("", !0),
5460
+ ], 8, Jg)) : G("", !0),
5461
5461
  k.form.showDays ? (c(), m("span", {
5462
5462
  key: 1,
5463
5463
  class: de(["uz-form-item-add", e.diffDay(e.formValue[k.key], !0)])
5464
- }, U(e.diffDay(e.formValue[k.key])), 3)) : W("", !0)
5464
+ }, U(e.diffDay(e.formValue[k.key])), 3)) : G("", !0)
5465
5465
  ]),
5466
5466
  default: y(() => [
5467
- k.input === "subTable" && !k.params.quest ? (c(), F(h, {
5467
+ k.input === "subTable" && !k.params.quest ? (c(), R(h, {
5468
5468
  key: 0,
5469
5469
  ref_for: !0,
5470
5470
  ref: "childRef",
@@ -5473,11 +5473,11 @@ function Qg(e, t, r, n, a, o) {
5473
5473
  formValue: e.formValue,
5474
5474
  item: k,
5475
5475
  status: e.status
5476
- }, null, 8, ["value", "onUpdate:value", "formValue", "item", "status"])) : k.input === "subTable" && k.params.quest ? (c(), F(w, {
5476
+ }, null, 8, ["value", "onUpdate:value", "formValue", "item", "status"])) : k.input === "subTable" && k.params.quest ? (c(), R(w, {
5477
5477
  key: 1,
5478
5478
  formValue: e.formValue,
5479
5479
  item: k
5480
- }, null, 8, ["formValue", "item"])) : k.input === "divider" ? (c(), F(b, {
5480
+ }, null, 8, ["formValue", "item"])) : k.input === "divider" ? (c(), R(b, {
5481
5481
  key: 2,
5482
5482
  "title-placement": k.params.placement
5483
5483
  }, {
@@ -5485,7 +5485,7 @@ function Qg(e, t, r, n, a, o) {
5485
5485
  K(U(typeof k.label == "function" ? k.label() : k.label), 1)
5486
5486
  ]),
5487
5487
  _: 2
5488
- }, 1032, ["title-placement"])) : (c(), F(D, {
5488
+ }, 1032, ["title-placement"])) : (c(), R(D, {
5489
5489
  key: 3,
5490
5490
  item: k,
5491
5491
  formValue: e.formValue,
@@ -5493,7 +5493,7 @@ function Qg(e, t, r, n, a, o) {
5493
5493
  }, null, 8, ["item", "formValue", "status"]))
5494
5494
  ]),
5495
5495
  _: 2
5496
- }, 1032, ["path", "rule", "style", "show-label", "show-feedback"])) : W("", !0)
5496
+ }, 1032, ["path", "rule", "style", "show-label", "show-feedback"])) : G("", !0)
5497
5497
  ], 64);
5498
5498
  }), 128))
5499
5499
  ], 2)), [
@@ -5563,14 +5563,14 @@ const Xg = /* @__PURE__ */ _(Wg, [["render", Qg]]), Yg = ie({
5563
5563
  },
5564
5564
  emits: ["update:value", "on-select", "on-change"],
5565
5565
  setup(e, { expose: t, emit: r }) {
5566
- const n = Ge("userStore"), a = N(), o = N({}), s = N([]), u = N([]), h = N(), w = N(!1), b = N(""), D = N(""), v = N([-1, -1]), d = (R, O, z) => {
5567
- v.value = [O, z ?? -1], r("on-select", R);
5568
- }, g = (R) => {
5569
- R && (v.value[1] === -1 ? s.value.splice(v.value[0], 1, R) : s.value[v.value[0]].params.children.splice(v.value[1], 1, R), p()), C();
5570
- }, i = (R, O = !1) => {
5571
- const z = Ce(R).startOf("day").diff(Ce().startOf("day"), "day");
5566
+ const n = Ge("userStore"), a = N(), o = N({}), s = N([]), u = N([]), h = N(), w = N(!1), b = N(""), D = N(""), v = N([-1, -1]), d = (F, O, z) => {
5567
+ v.value = [O, z ?? -1], r("on-select", F);
5568
+ }, g = (F) => {
5569
+ F && (v.value[1] === -1 ? s.value.splice(v.value[0], 1, F) : s.value[v.value[0]].params.children.splice(v.value[1], 1, F), p()), C();
5570
+ }, i = (F, O = !1) => {
5571
+ const z = Ce(F).startOf("day").diff(Ce().startOf("day"), "day");
5572
5572
  return z >= 0 ? O ? "success" : `剩余${z}天` : O ? "error" : `逾期${Math.abs(z)}天`;
5573
- }, k = (R) => (R.forEach((O) => {
5573
+ }, k = (F) => (F.forEach((O) => {
5574
5574
  var z;
5575
5575
  if (O.form.defaultValue && !o.value[O.key])
5576
5576
  if (O.input === "number")
@@ -5599,10 +5599,10 @@ const Xg = /* @__PURE__ */ _(Wg, [["render", Qg]]), Yg = ie({
5599
5599
  }
5600
5600
  else
5601
5601
  o.value[O.key] = O.form.defaultValue;
5602
- }), R), f = () => {
5602
+ }), F), f = () => {
5603
5603
  if (e.items && Array.isArray(e.items)) {
5604
- const R = Q(e.items);
5605
- s.value = k(R);
5604
+ const F = Q(e.items);
5605
+ s.value = k(F);
5606
5606
  }
5607
5607
  }, p = () => {
5608
5608
  r("on-change", Q(s.value));
@@ -5610,10 +5610,10 @@ const Xg = /* @__PURE__ */ _(Wg, [["render", Qg]]), Yg = ie({
5610
5610
  v.value = [-1, -1], r("on-select", void 0);
5611
5611
  }, T = () => {
5612
5612
  v.value[1] === -1 ? s.value.splice(v.value[0], 1) : s.value[v.value[0]].params.children.splice(v.value[1], 1), p(), C();
5613
- }, V = (R, O) => {
5614
- h.value = O, b.value = R.source, D.value = R.sourceFn, w.value = !0;
5615
- }, L = (R) => {
5616
- h.value && (s.value[h.value].params.options = R);
5613
+ }, V = (F, O) => {
5614
+ h.value = O, b.value = F.source, D.value = F.sourceFn, w.value = !0;
5615
+ }, L = (F) => {
5616
+ h.value && (s.value[h.value].params.options = F);
5617
5617
  };
5618
5618
  return Je(() => {
5619
5619
  o.value = e.value, f();
@@ -5627,8 +5627,8 @@ const Xg = /* @__PURE__ */ _(Wg, [["render", Qg]]), Yg = ie({
5627
5627
  }
5628
5628
  ), fe(
5629
5629
  () => e.value,
5630
- (R) => {
5631
- o.value = R;
5630
+ (F) => {
5631
+ o.value = F;
5632
5632
  },
5633
5633
  {
5634
5634
  deep: !0
@@ -5683,7 +5683,7 @@ function e2(e, t, r, n, a, o) {
5683
5683
  item: y(({ element: f, index: p }) => {
5684
5684
  var C;
5685
5685
  return [
5686
- (c(), F(v, {
5686
+ (c(), R(v, {
5687
5687
  path: f.key,
5688
5688
  rule: (C = f.rule) != null && C.required ? f.rule : void 0,
5689
5689
  class: de([
@@ -5710,14 +5710,14 @@ function e2(e, t, r, n, a, o) {
5710
5710
  _: 1
5711
5711
  }),
5712
5712
  t[2] || (t[2] = K(" 新增 ", -1))
5713
- ], 8, Zg)) : W("", !0),
5713
+ ], 8, Zg)) : G("", !0),
5714
5714
  f.form.showDays ? (c(), m("span", {
5715
5715
  key: 1,
5716
5716
  class: de(["uz-form-item-add", e.diffDay(e.formValue[f.key], !0)])
5717
- }, U(e.diffDay(e.formValue[f.key])), 3)) : W("", !0)
5717
+ }, U(e.diffDay(e.formValue[f.key])), 3)) : G("", !0)
5718
5718
  ]),
5719
5719
  default: y(() => [
5720
- e.formItemIndex[0] === p && e.formItemIndex[1] === -1 ? (c(), F(w, {
5720
+ e.formItemIndex[0] === p && e.formItemIndex[1] === -1 ? (c(), R(w, {
5721
5721
  key: 0,
5722
5722
  size: "small",
5723
5723
  type: "error",
@@ -5733,13 +5733,13 @@ function e2(e, t, r, n, a, o) {
5733
5733
  })
5734
5734
  ]),
5735
5735
  _: 1
5736
- }, 8, ["onClick"])) : W("", !0),
5737
- f.input === "subTable" ? (c(), F(b, {
5736
+ }, 8, ["onClick"])) : G("", !0),
5737
+ f.input === "subTable" ? (c(), R(b, {
5738
5738
  key: 1,
5739
5739
  formValue: e.formValue,
5740
5740
  item: f,
5741
5741
  status: e.status
5742
- }, null, 8, ["formValue", "item", "status"])) : f.input === "group" ? (c(), F(d, Ca({
5742
+ }, null, 8, ["formValue", "item", "status"])) : f.input === "group" ? (c(), R(d, Ca({
5743
5743
  key: 2,
5744
5744
  modelValue: f.params.children,
5745
5745
  "onUpdate:modelValue": (T) => f.params.children = T
@@ -5756,7 +5756,7 @@ function e2(e, t, r, n, a, o) {
5756
5756
  item: y(({ element: T, index: V }) => {
5757
5757
  var L;
5758
5758
  return [
5759
- (c(), F(v, {
5759
+ (c(), R(v, {
5760
5760
  label: T.input !== "divider" ? typeof T.label == "function" ? T.label() : T.label : "",
5761
5761
  path: T.key,
5762
5762
  rule: (L = T.rule) != null && L.required ? T.rule : void 0,
@@ -5764,14 +5764,14 @@ function e2(e, t, r, n, a, o) {
5764
5764
  "uz-form-grid-item uz-form-mode",
5765
5765
  e.formItemIndex[0] === p && e.formItemIndex[1] === V ? "select" : ""
5766
5766
  ]),
5767
- onClick: Ot((R) => e.onModeClick(T, p, V), ["stop"]),
5767
+ onClick: Ot((F) => e.onModeClick(T, p, V), ["stop"]),
5768
5768
  key: V,
5769
5769
  style: Ne(`grid-column: span ${T.form.span || 6} / span ${T.form.span || 6};`),
5770
5770
  "show-label": T.input !== "divider" && T.input !== "subTable",
5771
5771
  "show-feedback": e.showFeedback && T.input !== "divider"
5772
5772
  }, {
5773
5773
  default: y(() => [
5774
- e.formItemIndex[0] === p && e.formItemIndex[1] === V ? (c(), F(w, {
5774
+ e.formItemIndex[0] === p && e.formItemIndex[1] === V ? (c(), R(w, {
5775
5775
  key: 0,
5776
5776
  size: "small",
5777
5777
  type: "error",
@@ -5787,7 +5787,7 @@ function e2(e, t, r, n, a, o) {
5787
5787
  })
5788
5788
  ]),
5789
5789
  _: 1
5790
- }, 8, ["onClick"])) : W("", !0),
5790
+ }, 8, ["onClick"])) : G("", !0),
5791
5791
  I(D, {
5792
5792
  item: T,
5793
5793
  formValue: e.formValue,
@@ -5799,7 +5799,7 @@ function e2(e, t, r, n, a, o) {
5799
5799
  ];
5800
5800
  }),
5801
5801
  _: 2
5802
- }, 1040, ["modelValue", "onUpdate:modelValue", "onEnd", "onChange"])) : f.input === "divider" ? (c(), F(g, {
5802
+ }, 1040, ["modelValue", "onUpdate:modelValue", "onEnd", "onChange"])) : f.input === "divider" ? (c(), R(g, {
5803
5803
  key: 3,
5804
5804
  "title-placement": f.params.placement
5805
5805
  }, {
@@ -5807,7 +5807,7 @@ function e2(e, t, r, n, a, o) {
5807
5807
  K(U(typeof f.label == "function" ? f.label() : f.label), 1)
5808
5808
  ]),
5809
5809
  _: 2
5810
- }, 1032, ["title-placement"])) : (c(), F(D, {
5810
+ }, 1032, ["title-placement"])) : (c(), R(D, {
5811
5811
  key: 4,
5812
5812
  item: f,
5813
5813
  formValue: e.formValue,
@@ -5840,7 +5840,7 @@ const t2 = /* @__PURE__ */ _(Yg, [["render", e2]]), r2 = ie({
5840
5840
  NIcon: be,
5841
5841
  NImage: Gl,
5842
5842
  NPopover: ct,
5843
- NPopconfirm: ja,
5843
+ NPopconfirm: Aa,
5844
5844
  NUploadDragger: cd,
5845
5845
  NInputGroup: Ua,
5846
5846
  Trash: xt,
@@ -5943,7 +5943,7 @@ const t2 = /* @__PURE__ */ _(Yg, [["render", e2]]), r2 = ie({
5943
5943
  function l2(e, t, r, n, a, o) {
5944
5944
  const s = M("CloudUpload"), u = M("NIcon"), h = M("NUploadDragger"), w = M("NUpload"), b = M("PhotoOff"), D = M("NImage"), v = M("FileText"), d = M("Trash"), g = M("NButton"), i = M("NPopconfirm"), k = M("CloudDownload");
5945
5945
  return c(), m("div", n2, [
5946
- e.status !== 2 ? (c(), F(w, {
5946
+ e.status !== 2 ? (c(), R(w, {
5947
5947
  key: 0,
5948
5948
  accept: e.item.params.accept,
5949
5949
  max: e.item.params.max,
@@ -5968,12 +5968,12 @@ function l2(e, t, r, n, a, o) {
5968
5968
  })
5969
5969
  ]),
5970
5970
  _: 1
5971
- }, 8, ["accept", "max", "on-before-upload"])) : W("", !0),
5971
+ }, 8, ["accept", "max", "on-before-upload"])) : G("", !0),
5972
5972
  (c(!0), m(le, null, $e(e.formValue, (f, p) => (c(), m("div", {
5973
5973
  key: p,
5974
5974
  class: "uz-form-upload-item w-20 h-20"
5975
5975
  }, [
5976
- e.isAssetTypeAnImage(f.url) ? (c(), F(D, {
5976
+ e.isAssetTypeAnImage(f.url) ? (c(), R(D, {
5977
5977
  key: 0,
5978
5978
  width: "80",
5979
5979
  src: f.url
@@ -5990,7 +5990,7 @@ function l2(e, t, r, n, a, o) {
5990
5990
  })
5991
5991
  ]),
5992
5992
  _: 1
5993
- }, 8, ["src"])) : (c(), F(u, {
5993
+ }, 8, ["src"])) : (c(), R(u, {
5994
5994
  key: 1,
5995
5995
  size: "60",
5996
5996
  color: "lightGrey",
@@ -6049,7 +6049,7 @@ function l2(e, t, r, n, a, o) {
6049
6049
  ]),
6050
6050
  _: 1
6051
6051
  }, 8, ["href"])
6052
- ])) : W("", !0)
6052
+ ])) : G("", !0)
6053
6053
  ])
6054
6054
  ]))), 128))
6055
6055
  ]);
@@ -6092,11 +6092,11 @@ const i2 = /* @__PURE__ */ _(r2, [["render", l2], ["__scopeId", "data-v-591045db
6092
6092
  }), c2 = { class: "flex gap-2 max-w-sm overflow-y-hidden overflow-x-auto items-center" };
6093
6093
  function d2(e, t, r, n, a, o) {
6094
6094
  const s = M("PhotoOff"), u = M("NIcon"), h = M("NImage"), w = M("FileText"), b = M("NPopover"), D = M("NImageGroup");
6095
- return c(), F(D, null, {
6095
+ return c(), R(D, null, {
6096
6096
  default: y(() => [
6097
6097
  l("div", c2, [
6098
6098
  (c(!0), m(le, null, $e(e.imgs, (v) => (c(), m(le, null, [
6099
- e.isAssetTypeAnImage(v) ? (c(), F(h, {
6099
+ e.isAssetTypeAnImage(v) ? (c(), R(h, {
6100
6100
  key: 0,
6101
6101
  width: "40",
6102
6102
  src: v
@@ -6113,7 +6113,7 @@ function d2(e, t, r, n, a, o) {
6113
6113
  })
6114
6114
  ]),
6115
6115
  _: 1
6116
- }, 8, ["src"])) : (c(), F(b, {
6116
+ }, 8, ["src"])) : (c(), R(b, {
6117
6117
  key: 1,
6118
6118
  trigger: "hover"
6119
6119
  }, {
@@ -6141,7 +6141,7 @@ function d2(e, t, r, n, a, o) {
6141
6141
  _: 1
6142
6142
  });
6143
6143
  }
6144
- const Ac = /* @__PURE__ */ _(u2, [["render", d2]]), f2 = ie({
6144
+ const jc = /* @__PURE__ */ _(u2, [["render", d2]]), f2 = ie({
6145
6145
  name: "UzCamera",
6146
6146
  components: {
6147
6147
  NButton: _e,
@@ -6227,7 +6227,7 @@ const Ac = /* @__PURE__ */ _(u2, [["render", d2]]), f2 = ie({
6227
6227
  };
6228
6228
  return Je(() => {
6229
6229
  e.mode === "video" && g();
6230
- }), Aa(() => {
6230
+ }), ja(() => {
6231
6231
  D();
6232
6232
  }), fe([() => e.width, () => e.width], () => {
6233
6233
  e.mode === "video" && (D(), g());
@@ -6246,7 +6246,7 @@ const Ac = /* @__PURE__ */ _(u2, [["render", d2]]), f2 = ie({
6246
6246
  function v2(e, t, r, n, a, o) {
6247
6247
  const s = M("NButton"), u = M("NModal");
6248
6248
  return c(), m(le, null, [
6249
- e.mode === "button" ? (c(), F(s, {
6249
+ e.mode === "button" ? (c(), R(s, {
6250
6250
  key: 0,
6251
6251
  type: "primary",
6252
6252
  loading: e.loading,
@@ -6256,8 +6256,8 @@ function v2(e, t, r, n, a, o) {
6256
6256
  K(U(e.$t("Common.scan")), 1)
6257
6257
  ]),
6258
6258
  _: 1
6259
- }, 8, ["loading", "onClick"])) : W("", !0),
6260
- e.mode === "button" ? (c(), F(u, {
6259
+ }, 8, ["loading", "onClick"])) : G("", !0),
6260
+ e.mode === "button" ? (c(), R(u, {
6261
6261
  key: 1,
6262
6262
  show: e.modal,
6263
6263
  "onUpdate:show": t[0] || (t[0] = (h) => e.modal = h),
@@ -6283,7 +6283,7 @@ function v2(e, t, r, n, a, o) {
6283
6283
  ], 4)
6284
6284
  ]),
6285
6285
  _: 1
6286
- }, 8, ["show", "title", "on-after-leave"])) : W("", !0),
6286
+ }, 8, ["show", "title", "on-after-leave"])) : G("", !0),
6287
6287
  e.mode === "video" ? (c(), m("div", {
6288
6288
  key: 2,
6289
6289
  class: "uz-scan-canvas-main",
@@ -6297,7 +6297,7 @@ function v2(e, t, r, n, a, o) {
6297
6297
  width: e.width,
6298
6298
  height: e.height
6299
6299
  }, null, 8, h2)
6300
- ], 4)) : W("", !0),
6300
+ ], 4)) : G("", !0),
6301
6301
  l("div", m2, [
6302
6302
  l("video", w2, null, 512)
6303
6303
  ])
@@ -6372,13 +6372,13 @@ const g2 = /* @__PURE__ */ _(f2, [["render", v2]]), y2 = ie({
6372
6372
  if (z[S.key]) {
6373
6373
  const q = k(z[S.key]);
6374
6374
  if (q) {
6375
- const j = {
6375
+ const A = {
6376
6376
  key: S.key,
6377
6377
  value: q,
6378
6378
  range: !1,
6379
6379
  fuzzy: S.search.fuzzy
6380
6380
  };
6381
- (S.input === "cascader" || S.input === "select") && S.params.multiple && (j.range = !0), S.input === "date" && S.params.type.indexOf("range") > -1 && (j.range = !0, j.time = !0), x.push(j);
6381
+ (S.input === "cascader" || S.input === "select") && S.params.multiple && (A.range = !0), S.input === "date" && S.params.type.indexOf("range") > -1 && (A.range = !0, A.time = !0), x.push(A);
6382
6382
  }
6383
6383
  }
6384
6384
  }), t("update:loading", !0), t("on-update:value", x);
@@ -6387,31 +6387,31 @@ const g2 = /* @__PURE__ */ _(f2, [["render", v2]]), y2 = ie({
6387
6387
  }, C = () => {
6388
6388
  s.value = !s.value;
6389
6389
  }, T = (O) => i.value ? n.value && Array.isArray(n.value[d.value]) && n.value[d.value].includes(O.value) ? "primary" : "default" : n.value[d.value] === O.value ? "primary" : "default", V = (O) => {
6390
- var j;
6390
+ var A;
6391
6391
  const z = {};
6392
6392
  let x = 0;
6393
6393
  const S = e.cols ? e.cols : 4;
6394
6394
  if (O.length > 0)
6395
- for (let A = 0; A <= S; A++)
6396
- (j = O[A]) != null && j.search.show && (x = x + 1);
6395
+ for (let j = 0; j <= S; j++)
6396
+ (A = O[j]) != null && A.search.show && (x = x + 1);
6397
6397
  const q = S - x >= 0 ? S - x - 1 : -1;
6398
6398
  b.value = q, D.value = q, w.value = x, x > S ? (u.value = !0, h.value = !0) : (u.value = !1, h.value = !1);
6399
- for (const A of O)
6400
- A.search.tab && (g.value = A.params.options, i.value = A.params.multiple, d.value = A.key, A.search.show = !1), A.input === "input" && A.params.type === "textarea" && (A.params.type = "text"), A.search.show = A.search.show ?? !0, A.defaultValue ? z[A.key] = A.defaultValue : (z[A.key] = "", (A.input === "number" || A.input === "date" || A.input === "time") && (z[A.key] = null), (A.input === "cascader" || A.input === "select") && (A.params.multiple ? z[A.key] = [] : z[A.key] = null));
6399
+ for (const j of O)
6400
+ j.search.tab && (g.value = j.params.options, i.value = j.params.multiple, d.value = j.key, j.search.show = !1), j.input === "input" && j.params.type === "textarea" && (j.params.type = "text"), j.search.show = j.search.show ?? !0, j.defaultValue ? z[j.key] = j.defaultValue : (z[j.key] = "", (j.input === "number" || j.input === "date" || j.input === "time") && (z[j.key] = null), (j.input === "cascader" || j.input === "select") && (j.params.multiple ? z[j.key] = [] : z[j.key] = null));
6401
6401
  return { data: O, values: z };
6402
6402
  }, L = (O) => {
6403
6403
  if (g.value = [], O && O.length > 0) {
6404
6404
  const { data: z, values: x } = V(Q(O)), S = {}, q = e.id || r.params.id;
6405
6405
  if (e.cache && q) {
6406
- const j = Be(`tables_${q}`, !1);
6407
- j && j.params.forEach((A) => {
6408
- S[A.key] = A.value;
6406
+ const A = Be(`tables_${q}`, !1);
6407
+ A && A.params.forEach((j) => {
6408
+ S[j.key] = j.value;
6409
6409
  });
6410
6410
  }
6411
6411
  a.value = z, n.value = Q({ ...x, ...S }), o.value = Q(x);
6412
6412
  }
6413
6413
  f(!0);
6414
- }, R = (O) => {
6414
+ }, F = (O) => {
6415
6415
  if (i.value) {
6416
6416
  const z = n.value[d.value];
6417
6417
  if (z.includes(O)) {
@@ -6444,7 +6444,7 @@ const g2 = /* @__PURE__ */ _(f2, [["render", v2]]), y2 = ie({
6444
6444
  doSearch: f,
6445
6445
  clearAll: p,
6446
6446
  showMore: C,
6447
- tabItemChange: R,
6447
+ tabItemChange: F,
6448
6448
  tabButtonType: T
6449
6449
  };
6450
6450
  }
@@ -6472,14 +6472,14 @@ function x2(e, t, r, n, a, o) {
6472
6472
  collapsed: e.collapsed
6473
6473
  }, {
6474
6474
  default: y(() => [
6475
- e.tabList && e.tabList.length > 0 ? (c(), F(h, {
6475
+ e.tabList && e.tabList.length > 0 ? (c(), R(h, {
6476
6476
  key: 0,
6477
6477
  span: e.gridSpan
6478
6478
  }, {
6479
6479
  default: y(() => [
6480
6480
  I(u, null, {
6481
6481
  default: y(() => [
6482
- (c(!0), m(le, null, $e(e.tabList, (C) => (c(), F(s, {
6482
+ (c(!0), m(le, null, $e(e.tabList, (C) => (c(), R(s, {
6483
6483
  key: C.value,
6484
6484
  type: e.tabButtonType(C),
6485
6485
  secondary: "",
@@ -6495,12 +6495,12 @@ function x2(e, t, r, n, a, o) {
6495
6495
  })
6496
6496
  ]),
6497
6497
  _: 1
6498
- }, 8, ["span"])) : W("", !0),
6499
- e.offset > -1 ? (c(), F(h, {
6498
+ }, 8, ["span"])) : G("", !0),
6499
+ e.offset > -1 ? (c(), R(h, {
6500
6500
  key: 1,
6501
6501
  offset: e.offset
6502
- }, null, 8, ["offset"])) : W("", !0),
6503
- (c(!0), m(le, null, $e(e.itemData, (C, T) => (c(), F(h, {
6502
+ }, null, 8, ["offset"])) : G("", !0),
6503
+ (c(!0), m(le, null, $e(e.itemData, (C, T) => (c(), R(h, {
6504
6504
  key: `${T}_${Date.now()}`,
6505
6505
  span: C.search.show ? e.gridSpan : 0
6506
6506
  }, {
@@ -6542,9 +6542,9 @@ function x2(e, t, r, n, a, o) {
6542
6542
  ])), [
6543
6543
  [p]
6544
6544
  ])
6545
- ])) : W("", !0),
6545
+ ])) : G("", !0),
6546
6546
  e.enableHeader ? (c(), m("div", _2, [
6547
- e.more ? (c(), F(s, {
6547
+ e.more ? (c(), R(s, {
6548
6548
  key: 0,
6549
6549
  quaternary: "",
6550
6550
  onClick: e.showMore
@@ -6560,8 +6560,8 @@ function x2(e, t, r, n, a, o) {
6560
6560
  }, 8, ["class"])
6561
6561
  ]),
6562
6562
  _: 1
6563
- }, 8, ["onClick"])) : W("", !0),
6564
- e.itemData && Object.keys(e.itemData).length > 0 ? (c(), F(s, {
6563
+ }, 8, ["onClick"])) : G("", !0),
6564
+ e.itemData && Object.keys(e.itemData).length > 0 ? (c(), R(s, {
6565
6565
  key: 1,
6566
6566
  loading: e.loading,
6567
6567
  secondary: "",
@@ -6582,8 +6582,8 @@ function x2(e, t, r, n, a, o) {
6582
6582
  K(" " + U(e.$t("Common.search")), 1)
6583
6583
  ]),
6584
6584
  _: 1
6585
- }, 8, ["loading"])) : W("", !0),
6586
- e.defaultValue && Object.keys(e.defaultValue).length > 0 ? (c(), F(s, {
6585
+ }, 8, ["loading"])) : G("", !0),
6586
+ e.defaultValue && Object.keys(e.defaultValue).length > 0 ? (c(), R(s, {
6587
6587
  key: 2,
6588
6588
  loading: e.loading,
6589
6589
  secondary: "",
@@ -6601,9 +6601,9 @@ function x2(e, t, r, n, a, o) {
6601
6601
  K(" " + U(e.$t("Common.reset")), 1)
6602
6602
  ]),
6603
6603
  _: 1
6604
- }, 8, ["loading", "onClick"])) : W("", !0),
6604
+ }, 8, ["loading", "onClick"])) : G("", !0),
6605
6605
  Te(e.$slots, "action")
6606
- ])) : W("", !0)
6606
+ ])) : G("", !0)
6607
6607
  ], 32);
6608
6608
  }
6609
6609
  const C2 = /* @__PURE__ */ _(y2, [["render", x2]]), $2 = ie({
@@ -6702,7 +6702,8 @@ function N2(e, t, r, n, a, o) {
6702
6702
  l("div", M2, [
6703
6703
  Te(e.$slots, "header"),
6704
6704
  l("div", S2, [
6705
- I(h, {
6705
+ e.itemData && Object.keys(e.itemData).length > 0 ? (c(), R(h, {
6706
+ key: 0,
6706
6707
  secondary: "",
6707
6708
  onClick: t[0] || (t[0] = (f) => e.drawer = !0)
6708
6709
  }, {
@@ -6718,7 +6719,7 @@ function N2(e, t, r, n, a, o) {
6718
6719
  K(" " + U(e.$t("Common.search")), 1)
6719
6720
  ]),
6720
6721
  _: 1
6721
- }),
6722
+ })) : G("", !0),
6722
6723
  Te(e.$slots, "action")
6723
6724
  ])
6724
6725
  ]),
@@ -6755,7 +6756,7 @@ function N2(e, t, r, n, a, o) {
6755
6756
  ]),
6756
6757
  _: 1
6757
6758
  }, 8, ["loading", "onClick"]),
6758
- e.itemData && Object.keys(e.itemData).length > 0 ? (c(), F(h, {
6759
+ e.itemData && Object.keys(e.itemData).length > 0 ? (c(), R(h, {
6759
6760
  key: 0,
6760
6761
  loading: e.loading,
6761
6762
  type: "primary",
@@ -6774,7 +6775,7 @@ function N2(e, t, r, n, a, o) {
6774
6775
  K(" " + U(e.$t("Common.search")), 1)
6775
6776
  ]),
6776
6777
  _: 1
6777
- }, 8, ["loading"])) : W("", !0)
6778
+ }, 8, ["loading"])) : G("", !0)
6778
6779
  ])
6779
6780
  ]),
6780
6781
  default: y(() => [
@@ -6784,7 +6785,7 @@ function N2(e, t, r, n, a, o) {
6784
6785
  cols: "1"
6785
6786
  }, {
6786
6787
  default: y(() => [
6787
- (c(!0), m(le, null, $e(e.itemData, (f, p) => (c(), F(v, {
6788
+ (c(!0), m(le, null, $e(e.itemData, (f, p) => (c(), R(v, {
6788
6789
  key: `${p}_${Date.now()}`,
6789
6790
  span: f.search.show ? 1 : 0
6790
6791
  }, {
@@ -6859,7 +6860,7 @@ const mo = () => new Promise((e) => {
6859
6860
  s && (clearInterval(o), e(JSON.parse(s)));
6860
6861
  }, 500);
6861
6862
  }
6862
- }), A2 = async (e, t, r) => {
6863
+ }), j2 = async (e, t, r) => {
6863
6864
  if (t && typeof t == "string") {
6864
6865
  const n = t.match(D2);
6865
6866
  if (n && t.indexOf("return") === -1) {
@@ -6938,7 +6939,7 @@ async function bt(e) {
6938
6939
  });
6939
6940
  });
6940
6941
  }
6941
- const j2 = (e) => e.map((t) => {
6942
+ const A2 = (e) => e.map((t) => {
6942
6943
  const r = {};
6943
6944
  return r.z = t.params.placeholder, t.input === "group" ? r.n = t.params.children : r.c = t.params.clearable ? 1 : 0, t.input === "input" && (t.params.type && (r.t = t.params.type), t.params.minlength && (r.i = t.params.minlength), t.params.maxlength && (r.a = t.params.maxlength), t.params.rows && (r.r = t.params.rows), t.params.prefix && (r.e = t.params.prefix), t.params.suffix && (r.s = t.params.suffix)), t.input === "auto" && (r.o = t.params.options, t.params.prefix && (r.e = t.params.prefix), t.params.suffix && (r.s = t.params.suffix)), t.input === "number" && (r.b = t.params.showButton ? 1 : 0, t.params.min && (r.i = t.params.min), t.params.max && (r.a = t.params.max), t.params.minKey && (r.x = t.params.minKey), t.params.maxKey && (r.y = t.params.maxKey), t.params.step && (r.t = t.params.step), t.params.precision && (r.p = t.params.precision), t.params.prefix && (r.e = t.params.prefix), t.params.suffix && (r.s = t.params.suffix)), t.input === "date" && (r.y = t.params.type, t.params.format && (r.f = t.params.format), t.params.isDateDisabled && (r.d = t.params.isDateDisabled), t.params.timePickerProps && (r.t = t.params.timePickerProps)), t.input === "select" && (r.o = t.params.options, r.f = t.params.filterable ? 1 : 0, r.m = t.params.multiple ? 1 : 0, r.t = t.params.tag ? 1 : 0, r.l = (t.params.labelKeys || "").replace(/\s*/g, ""), r.v = (t.params.valueKey || "").replace(/\s*/g, ""), r.r = t.params.renderLabel, r.g = t.params.renderTag), t.input === "cascader" && (r.o = t.params.options, r.f = t.params.filterable ? 1 : 0, r.m = t.params.multiple ? 1 : 0), t.input === "checkbox" && (r.o = t.params.options), t.input === "time" && (r.f = t.params.format), t.input === "upload" && (r.s = t.params.small ? 1 : 0, r.a = t.params.accept, r.m = t.params.max), t.input === "switch" && (r.h = t.params.checked, r.u = t.params.unchecked), t.input === "divider" && (r.p = t.params.placement), t.input === "filling" && (r.k = t.params.parentKey), t.input === "subTable" && (r.i = t.params.init ? 1 : 0, r.q = t.params.quest ? 1 : 0, r.k = t.params.searchKey, r.l = t.params.link, r.c = t.params.columns, r.a = t.params.actions, r.b = t.params.addButton ? 1 : 0, r.g = t.params.draggable ? 1 : 0, r.h = t.params.childActions ? 1 : 0, r.n = t.params.showActions ? 1 : 0, r.d = t.params.showDelete ? 1 : 0, t.params.optionsType && (r.t = t.params.optionsType), t.params.optionsSource && (r.u = t.params.optionsSource), t.params.options && (r.o = t.params.options), t.params.summary && (r.s = t.params.summary), t.params.merge && (r.m = t.params.merge), t.params.deleteFn && (r.f = t.params.deleteFn)), {
6944
6945
  i: t.input,
@@ -7086,7 +7087,7 @@ const j2 = (e) => e.map((t) => {
7086
7087
  f: e.fetch,
7087
7088
  o: e.when_drawer_open,
7088
7089
  b: e.when_before_save
7089
- }), jc = (e) => e ? e.fetch ? e : {
7090
+ }), Ac = (e) => e ? e.fetch ? e : {
7090
7091
  fetch: e.f,
7091
7092
  when_drawer_open: e.o,
7092
7093
  when_before_save: e.b
@@ -7262,17 +7263,17 @@ async function Zt(e, t = !1, r = 0, n = () => {
7262
7263
  const T = [], V = JSON.parse(C[i.key]);
7263
7264
  if (V)
7264
7265
  for (const L of V) {
7265
- const R = f.find(
7266
+ const F = f.find(
7266
7267
  (O) => String(O.id) === L
7267
7268
  );
7268
- R && T.push(
7269
+ F && T.push(
7269
7270
  Y(
7270
7271
  hd,
7271
7272
  {
7272
7273
  type: "info"
7273
7274
  },
7274
7275
  {
7275
- default: () => R[p[1]]
7276
+ default: () => F[p[1]]
7276
7277
  }
7277
7278
  )
7278
7279
  );
@@ -7281,12 +7282,12 @@ async function Zt(e, t = !1, r = 0, n = () => {
7281
7282
  } else {
7282
7283
  const T = f.find(
7283
7284
  (V) => {
7284
- var L, R;
7285
+ var L, F;
7285
7286
  return (
7286
7287
  // @ts-ignore
7287
7288
  ((L = i.params) != null && L.valueKey ? (
7288
7289
  // @ts-ignore
7289
- V[(R = i.params) == null ? void 0 : R.valueKey]
7290
+ V[(F = i.params) == null ? void 0 : F.valueKey]
7290
7291
  ) : String(V.id)) === C[i.key]
7291
7292
  );
7292
7293
  }
@@ -7312,7 +7313,7 @@ async function Zt(e, t = !1, r = 0, n = () => {
7312
7313
  }
7313
7314
  i.input === "upload" && !i.table.render && (i.table.render = function(f) {
7314
7315
  return Y(
7315
- Ac,
7316
+ jc,
7316
7317
  {
7317
7318
  value: f[i.key]
7318
7319
  },
@@ -7331,7 +7332,7 @@ async function Zt(e, t = !1, r = 0, n = () => {
7331
7332
  ...i.table,
7332
7333
  width: Number(i.table.width || 140),
7333
7334
  ellipsis: i.table.ellipsis ? { tooltip: !0, "line-clamp": i.table.clamp ?? 0 } : !1,
7334
- render: i.table.render ? await A2(i.key, i.table.render, a) : void 0,
7335
+ render: i.table.render ? await j2(i.key, i.table.render, a) : void 0,
7335
7336
  show: ye.isMobile ? i.table.mobile ?? !1 : i.table.show ?? !0,
7336
7337
  pin: !!i.table.fixed,
7337
7338
  fixTemp: i.table.fixed
@@ -7476,7 +7477,7 @@ const F2 = ie({
7476
7477
  });
7477
7478
  function B2(e, t, r, n, a, o) {
7478
7479
  const s = M("NEllipsis"), u = M("NButton"), h = M("NSpin");
7479
- return c(), F(h, { show: e.value }, {
7480
+ return c(), R(h, { show: e.value }, {
7480
7481
  description: y(() => [
7481
7482
  I(s, {
7482
7483
  "expand-trigger": "click",
@@ -7781,7 +7782,7 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
7781
7782
  pageMax: 1,
7782
7783
  pageSize: e.pageSize || 30
7783
7784
  }
7784
- }), V = N([]), L = N(void 0), R = N(void 0), O = N(!1), z = N(0), x = N({}), S = N([]), q = N([]), j = N([]), A = N([]), H = N({
7785
+ }), V = N([]), L = N(void 0), F = N(void 0), O = N(!1), z = N(0), x = N({}), S = N([]), q = N([]), A = N([]), j = N([]), H = N({
7785
7786
  fetch: null,
7786
7787
  when_drawer_open: "",
7787
7788
  when_before_save: ""
@@ -7790,19 +7791,19 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
7790
7791
  keys: $,
7791
7792
  rows: Q(B)
7792
7793
  });
7793
- }, nr = ($, B, G) => {
7794
- if (Me.value = $, G.action === "check" && we.value.push(G.row), G.action === "uncheck") {
7794
+ }, nr = ($, B, W) => {
7795
+ if (Me.value = $, W.action === "check" && we.value.push(W.row), W.action === "uncheck") {
7795
7796
  const Z = we.value.findIndex(
7796
7797
  (E) => {
7797
7798
  var te;
7798
- return E.id === ((te = G.row) == null ? void 0 : te.id);
7799
+ return E.id === ((te = W.row) == null ? void 0 : te.id);
7799
7800
  }
7800
7801
  );
7801
7802
  we.value.splice(Z, 1);
7802
7803
  }
7803
- G.action === "checkAll" && B.forEach((Z) => {
7804
+ W.action === "checkAll" && B.forEach((Z) => {
7804
7805
  Z && we.value.push(Z);
7805
- }), G.action === "uncheckAll" && (we.value = [], Me.value = []), t("update:rowKeys", {
7806
+ }), W.action === "uncheckAll" && (we.value = [], Me.value = []), t("update:rowKeys", {
7806
7807
  keys: Q(Me.value),
7807
7808
  rows: Q(we.value)
7808
7809
  });
@@ -7812,22 +7813,22 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
7812
7813
  }, ve = ($ = !1) => {
7813
7814
  const B = e.id || a.params.id;
7814
7815
  e.enableLoading && (D.value = !0, t("update:loading", !0));
7815
- const G = Q(T.value);
7816
- if ($ && delete G.orderby, H.value.fetch)
7817
- Co([H.value.fetch], "", G).then((Z) => {
7816
+ const W = Q(T.value);
7817
+ if ($ && delete W.orderby, H.value.fetch)
7818
+ Co([H.value.fetch], "", W).then((Z) => {
7818
7819
  const E = _o(Z);
7819
- T.value.query = E.query, p.value = E.records, D.value = !1, v.value = !0, t("on-update:value", G), t("update:loading", !1), J.value.cache && B && Ie(`tables_${B}`, T.value);
7820
+ T.value.query = E.query, p.value = E.records, D.value = !1, v.value = !0, t("on-update:value", W), t("update:loading", !1), J.value.cache && B && Ie(`tables_${B}`, T.value);
7820
7821
  }).catch(() => {
7821
7822
  D.value = !1, v.value = !0, t("update:loading", !1);
7822
7823
  });
7823
7824
  else {
7824
7825
  let Z;
7825
- e.fetch ? Z = e.fetch({ ...G, tableId: B }) : Z = Ze({
7826
- ...G,
7826
+ e.fetch ? Z = e.fetch({ ...W, tableId: B }) : Z = Ze({
7827
+ ...W,
7827
7828
  tableId: B
7828
7829
  }), Z.then((E) => {
7829
7830
  const te = _o(E);
7830
- T.value.query = te.query, p.value = te.records, D.value = !1, v.value = !0, t("on-update:value", G), t("update:loading", !1), J.value.cache && B && Ie(`tables_${B}`, T.value);
7831
+ T.value.query = te.query, p.value = te.records, D.value = !1, v.value = !0, t("on-update:value", W), t("update:loading", !1), J.value.cache && B && Ie(`tables_${B}`, T.value);
7831
7832
  }).catch(() => {
7832
7833
  D.value = !1, v.value = !0, t("update:loading", !1);
7833
7834
  });
@@ -7909,13 +7910,13 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
7909
7910
  var B;
7910
7911
  return !e.ruleFetch || !S.value || S.value && S.value[0] === "*" ? !1 : !((B = S.value) != null && B.includes($));
7911
7912
  }, me = async ($) => {
7912
- const { form: B, fillingDefaultValue: G } = await Yt(
7913
+ const { form: B, fillingDefaultValue: W } = await Yt(
7913
7914
  q.value,
7914
7915
  $,
7915
7916
  () => b.value.getValues()
7916
7917
  );
7917
- return i.value = B, G;
7918
- }, Ee = async ($) => new Promise((B, G) => {
7918
+ return i.value = B, W;
7919
+ }, Ee = async ($) => new Promise((B, W) => {
7919
7920
  const Z = e.id || a.params.id;
7920
7921
  let E;
7921
7922
  e.fetch ? E = e.fetch({
@@ -7927,9 +7928,9 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
7927
7928
  }), E.then((te) => {
7928
7929
  B(te && te[0]);
7929
7930
  }).catch(() => {
7930
- G();
7931
+ W();
7931
7932
  });
7932
- }), je = ($) => {
7933
+ }), Ae = ($) => {
7933
7934
  const B = H.value.when_drawer_open;
7934
7935
  if (B && typeof B == "string")
7935
7936
  try {
@@ -7938,11 +7939,11 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
7938
7939
  }).catch((Z) => {
7939
7940
  oe(Z);
7940
7941
  });
7941
- } catch (G) {
7942
- oe(G);
7942
+ } catch (W) {
7943
+ oe(W);
7943
7944
  }
7944
7945
  }, Nt = ($, B) => {
7945
- const G = Q($.onClick), Z = e.id || a.params.id;
7946
+ const W = Q($.onClick), Z = e.id || a.params.id;
7946
7947
  if ($.disabled) {
7947
7948
  if (typeof $.disabled == "string") {
7948
7949
  const E = new Function("rowData", "rowIndex", $.disabled);
@@ -7957,13 +7958,13 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
7957
7958
  $.onClick = async (E) => {
7958
7959
  Ee(E).then((te) => {
7959
7960
  if ($.optionsType === "drawer:insider") {
7960
- if (G)
7961
+ if (W)
7961
7962
  try {
7962
7963
  new Function(
7963
7964
  "rowData",
7964
7965
  "POST",
7965
7966
  "fnNotification",
7966
- G
7967
+ W
7967
7968
  )(te, pe, s).then((ke) => {
7968
7969
  Tt.value = ke;
7969
7970
  }).catch((ke) => {
@@ -7998,7 +7999,7 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
7998
7999
  "fnNotification",
7999
8000
  E
8000
8001
  )(ce, pe, s).then((Oe) => {
8001
- H.value.when_drawer_open ? je(Oe) : x.value = Oe;
8002
+ H.value.when_drawer_open ? Ae(Oe) : x.value = Oe;
8002
8003
  }).catch((Oe) => {
8003
8004
  oe(Oe);
8004
8005
  });
@@ -8006,7 +8007,7 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8006
8007
  oe(Se);
8007
8008
  }
8008
8009
  else
8009
- H.value.when_drawer_open ? je(ce) : x.value = ce;
8010
+ H.value.when_drawer_open ? Ae(ce) : x.value = ce;
8010
8011
  }).catch(() => {
8011
8012
  lt();
8012
8013
  });
@@ -8024,13 +8025,13 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8024
8025
  "fnNotification",
8025
8026
  E
8026
8027
  )(ce, pe, s).then((Oe) => {
8027
- H.value.when_drawer_open ? je(Oe) : x.value = Oe;
8028
+ H.value.when_drawer_open ? Ae(Oe) : x.value = Oe;
8028
8029
  }).catch(() => null);
8029
8030
  } catch (Se) {
8030
8031
  oe(Se);
8031
8032
  }
8032
8033
  else
8033
- H.value.when_drawer_open ? je(ce) : x.value = ce;
8034
+ H.value.when_drawer_open ? Ae(ce) : x.value = ce;
8034
8035
  }).catch(() => {
8035
8036
  lt();
8036
8037
  });
@@ -8108,7 +8109,7 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8108
8109
  }
8109
8110
  }, ht = async () => {
8110
8111
  Ve.value = !1, Na();
8111
- const { tableColumns: $, search: B, subTableIds: G, tableWidth: Z } = await Zt(
8112
+ const { tableColumns: $, search: B, subTableIds: W, tableWidth: Z } = await Zt(
8112
8113
  q.value,
8113
8114
  e.child,
8114
8115
  z.value,
@@ -8147,12 +8148,12 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8147
8148
  options: ["all", "none"]
8148
8149
  }), E = E + 60);
8149
8150
  const te = e.id || a.params.id;
8150
- if (!u.value && J.value.commonTime && $.push(...ot()), e.enableAction === !0 && j.value && j.value.length > 0) {
8151
- const ae = Q(j.value);
8151
+ if (!u.value && J.value.commonTime && $.push(...ot()), e.enableAction === !0 && A.value && A.value.length > 0) {
8152
+ const ae = Q(A.value);
8152
8153
  for (const ce of ae)
8153
8154
  ce.type === "group" ? ce.children.forEach((Se) => {
8154
- Nt(Se, G);
8155
- }) : Nt(ce, G);
8155
+ Nt(Se, W);
8156
+ }) : Nt(ce, W);
8156
8157
  const ke = {
8157
8158
  title: () => o("Common.action"),
8158
8159
  key: "action",
@@ -8180,7 +8181,7 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8180
8181
  }, qe = ($) => typeof $ == "number" ? `${$}px` : $, mt = () => {
8181
8182
  if (e.height) {
8182
8183
  const $ = qe(e.height);
8183
- L.value = $, R.value = $;
8184
+ L.value = $, F.value = $;
8184
8185
  return;
8185
8186
  }
8186
8187
  }, st = () => {
@@ -8210,15 +8211,15 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8210
8211
  return;
8211
8212
  }
8212
8213
  }
8213
- let G;
8214
+ let W;
8214
8215
  const Z = e.id || a.params.id;
8215
- e.formFetch ? G = e.formFetch({
8216
+ e.formFetch ? W = e.formFetch({
8216
8217
  tableId: Z,
8217
8218
  ...B
8218
- }) : G = to({
8219
+ }) : W = to({
8219
8220
  tableId: Z,
8220
8221
  ...B
8221
- }), G.then(() => {
8222
+ }), W.then(() => {
8222
8223
  Na(), ue.value = !1, ve(), lt();
8223
8224
  }).catch((E) => {
8224
8225
  se.value = 1, he.value = E;
@@ -8227,16 +8228,16 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8227
8228
  ue.value = !1;
8228
8229
  });
8229
8230
  }, ze = () => {
8230
- g.value = "", q.value = [], j.value = [], A.value = [], H.value = {
8231
+ g.value = "", q.value = [], A.value = [], j.value = [], H.value = {
8231
8232
  fetch: null,
8232
8233
  when_drawer_open: "",
8233
8234
  when_before_save: ""
8234
8235
  }, J.value = ut();
8235
8236
  }, Re = ($) => {
8236
8237
  const B = tt.parse($.viewJson);
8237
- g.value = $.tableTitle, q.value = _t(B.table), j.value = Rt(e.actions || B.action);
8238
- const G = Rt(B.suffix || []);
8239
- A.value = G.map((E) => (go(E), E)), H.value = jc(B.trigger);
8238
+ g.value = $.tableTitle, q.value = _t(B.table), A.value = Rt(e.actions || B.action);
8239
+ const W = Rt(B.suffix || []);
8240
+ j.value = W.map((E) => (go(E), E)), H.value = Ac(B.trigger);
8240
8241
  const Z = ut(e.options ?? B.option);
8241
8242
  $.tableTitle && Z.title && Fw($.tableTitle), J.value = Z;
8242
8243
  }, Dt = async () => {
@@ -8256,7 +8257,7 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8256
8257
  he.value = o("Notice.network"), Ve.value = !0;
8257
8258
  return;
8258
8259
  }
8259
- mt(), e.columns ? (q.value = e.columns || [], j.value = e.actions || [], A.value = e.suffixes || [], J.value = ut(e.options), await ht()) : await bt($).then(async (B) => {
8260
+ mt(), e.columns ? (q.value = e.columns || [], A.value = e.actions || [], j.value = e.suffixes || [], J.value = ut(e.options), await ht()) : await bt($).then(async (B) => {
8260
8261
  Re(B), await ht();
8261
8262
  }).catch((B) => {
8262
8263
  he.value = B.message, Ve.value = !0;
@@ -8279,10 +8280,10 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8279
8280
  $.onClick = async () => {
8280
8281
  if (B && typeof B == "string") {
8281
8282
  try {
8282
- const G = new Function("POST", "fnNotification", B);
8283
- await G(pe, s, G), ve();
8284
- } catch (G) {
8285
- oe(G);
8283
+ const W = new Function("POST", "fnNotification", B);
8284
+ await W(pe, s, W), ve();
8285
+ } catch (W) {
8286
+ oe(W);
8286
8287
  }
8287
8288
  return;
8288
8289
  }
@@ -8307,10 +8308,10 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8307
8308
  }), fe(
8308
8309
  () => e.defaultCheckedRowKeys,
8309
8310
  ($) => {
8310
- const B = $ || [], G = we.value.filter(
8311
+ const B = $ || [], W = we.value.filter(
8311
8312
  (Z) => B.includes(Z.id)
8312
8313
  );
8313
- Me.value = B, we.value = G;
8314
+ Me.value = B, we.value = W;
8314
8315
  },
8315
8316
  {
8316
8317
  deep: !0
@@ -8318,7 +8319,7 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8318
8319
  ), {
8319
8320
  loading: D,
8320
8321
  minH: L,
8321
- maxH: R,
8322
+ maxH: F,
8322
8323
  drawer: O,
8323
8324
  formRef: b,
8324
8325
  ocFormStatus: z,
@@ -8338,7 +8339,7 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8338
8339
  spinStatus: se,
8339
8340
  tableScrollX: C,
8340
8341
  ocrShow: d,
8341
- suffixes: A,
8342
+ suffixes: j,
8342
8343
  spinError: Ve,
8343
8344
  isMobile: u,
8344
8345
  mRef: h,
@@ -8375,7 +8376,7 @@ const Rc = /* @__PURE__ */ _(V2, [["render", E2], ["__scopeId", "data-v-ec746f00
8375
8376
  class: "uz-transform-fade-in"
8376
8377
  }, X2 = { class: "uz-com-title" }, Y2 = { class: "flex gap-2 h-full" }, Z2 = { class: "flex justify-between w-full" }, ey = { class: "flex gap-2" };
8377
8378
  function ty(e, t, r, n, a, o) {
8378
- const s = M("NSkeleton"), u = M("NButton"), h = M("Plus"), w = M("NIcon"), b = M("UzActionButton"), D = M("UzSearchMobileBar"), v = M("UzTableMobile"), d = M("Filter"), g = M("NCheckbox"), i = M("GridDots"), k = M("Draggable"), f = M("NPopover"), p = M("UzSearchBar"), C = M("NDataTable"), T = M("NSpin"), V = M("UzOcr"), L = M("UzForm"), R = M("UzSpin"), O = M("NDrawerContent"), z = M("NDrawer"), x = M("UzTableDrawer");
8379
+ const s = M("NSkeleton"), u = M("NButton"), h = M("Plus"), w = M("NIcon"), b = M("UzActionButton"), D = M("UzSearchMobileBar"), v = M("UzTableMobile"), d = M("Filter"), g = M("NCheckbox"), i = M("GridDots"), k = M("Draggable"), f = M("NPopover"), p = M("UzSearchBar"), C = M("NDataTable"), T = M("NSpin"), V = M("UzOcr"), L = M("UzForm"), F = M("UzSpin"), O = M("NDrawerContent"), z = M("NDrawer"), x = M("UzTableDrawer");
8379
8380
  return c(), m("div", {
8380
8381
  class: "uz-table",
8381
8382
  style: Ne({
@@ -8454,7 +8455,7 @@ function ty(e, t, r, n, a, o) {
8454
8455
  "onOnUpdate:value": e.submit
8455
8456
  }, Fe({
8456
8457
  action: y(() => [
8457
- e.addFetch && e.tableOption.addButton ? (c(), F(u, {
8458
+ e.addFetch && e.tableOption.addButton ? (c(), R(u, {
8458
8459
  key: 0,
8459
8460
  secondary: "",
8460
8461
  disabled: e.checkRole("add"),
@@ -8472,8 +8473,8 @@ function ty(e, t, r, n, a, o) {
8472
8473
  K(" " + U(e.$t("Common.add")), 1)
8473
8474
  ]),
8474
8475
  _: 1
8475
- }, 8, ["disabled", "onClick"])) : W("", !0),
8476
- e.suffixes && e.suffixes.length > 0 ? (c(), F(b, {
8476
+ }, 8, ["disabled", "onClick"])) : G("", !0),
8477
+ e.suffixes && e.suffixes.length > 0 ? (c(), R(b, {
8477
8478
  key: 1,
8478
8479
  data: e.suffixes,
8479
8480
  hProps: {
@@ -8481,7 +8482,7 @@ function ty(e, t, r, n, a, o) {
8481
8482
  size: "medium",
8482
8483
  text: !1
8483
8484
  }
8484
- }, null, 8, ["data"])) : W("", !0),
8485
+ }, null, 8, ["data"])) : G("", !0),
8485
8486
  Te(e.$slots, "action")
8486
8487
  ]),
8487
8488
  _: 2
@@ -8523,7 +8524,7 @@ function ty(e, t, r, n, a, o) {
8523
8524
  "onOnUpdate:value": e.submit
8524
8525
  }, Fe({
8525
8526
  action: y(() => [
8526
- e.tableOption.filterButton && e.baseColumns.length > 0 ? (c(), F(f, {
8527
+ e.tableOption.filterButton && e.baseColumns.length > 0 ? (c(), R(f, {
8527
8528
  key: 0,
8528
8529
  placement: "bottom-end",
8529
8530
  trigger: "click",
@@ -8558,7 +8559,7 @@ function ty(e, t, r, n, a, o) {
8558
8559
  onEnd: e.handleColumnChange
8559
8560
  }), {
8560
8561
  item: y(({ element: S }) => [
8561
- S.hide ? W("", !0) : (c(), m("div", {
8562
+ S.hide ? G("", !0) : (c(), m("div", {
8562
8563
  key: S.key,
8563
8564
  class: "uz-table-sort"
8564
8565
  }, [
@@ -8592,8 +8593,8 @@ function ty(e, t, r, n, a, o) {
8592
8593
  }, 16, ["modelValue", "onEnd"])
8593
8594
  ]),
8594
8595
  _: 1
8595
- })) : W("", !0),
8596
- e.addFetch && e.tableOption.addButton ? (c(), F(u, {
8596
+ })) : G("", !0),
8597
+ e.addFetch && e.tableOption.addButton ? (c(), R(u, {
8597
8598
  key: 1,
8598
8599
  secondary: "",
8599
8600
  disabled: e.checkRole("add"),
@@ -8611,8 +8612,8 @@ function ty(e, t, r, n, a, o) {
8611
8612
  K(" " + U(e.$t("Common.add")), 1)
8612
8613
  ]),
8613
8614
  _: 1
8614
- }, 8, ["disabled", "onClick"])) : W("", !0),
8615
- e.suffixes && e.suffixes.length > 0 ? (c(), F(b, {
8615
+ }, 8, ["disabled", "onClick"])) : G("", !0),
8616
+ e.suffixes && e.suffixes.length > 0 ? (c(), R(b, {
8616
8617
  key: 2,
8617
8618
  data: e.suffixes,
8618
8619
  hProps: {
@@ -8620,7 +8621,7 @@ function ty(e, t, r, n, a, o) {
8620
8621
  size: "medium",
8621
8622
  text: !1
8622
8623
  }
8623
- }, null, 8, ["data"])) : W("", !0),
8624
+ }, null, 8, ["data"])) : G("", !0),
8624
8625
  Te(e.$slots, "action")
8625
8626
  ]),
8626
8627
  _: 2
@@ -8687,8 +8688,8 @@ function ty(e, t, r, n, a, o) {
8687
8688
  }, Fe({
8688
8689
  default: y(() => [
8689
8690
  l("div", Y2, [
8690
- e.ocrShow ? (c(), F(V, { key: 0 })) : W("", !0),
8691
- I(R, {
8691
+ e.ocrShow ? (c(), R(V, { key: 0 })) : G("", !0),
8692
+ I(F, {
8692
8693
  value: e.spinShow,
8693
8694
  "onUpdate:value": t[1] || (t[1] = (S) => e.spinShow = S),
8694
8695
  message: e.spinMsg,
@@ -8714,7 +8715,7 @@ function ty(e, t, r, n, a, o) {
8714
8715
  fn: y(() => [
8715
8716
  l("div", Z2, [
8716
8717
  l("div", null, [
8717
- e.isMobile ? W("", !0) : (c(), F(u, {
8718
+ e.isMobile ? G("", !0) : (c(), R(u, {
8718
8719
  key: 0,
8719
8720
  type: "primary",
8720
8721
  onClick: t[2] || (t[2] = (S) => e.ocrShow = !e.ocrShow),
@@ -8783,36 +8784,36 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
8783
8784
  emits: ["update:value"],
8784
8785
  setup(e, { emit: t, expose: r }) {
8785
8786
  const n = Ge("emitSuffix"), a = Ge("modules"), o = Ge("mainFormValue"), { t: s } = Vt(), u = N(), h = N(), w = N(), b = N(!1), D = N(!0), v = N([]), d = N({ child: [] }), g = N(""), i = N({}), k = N(void 0), f = async (S) => {
8786
- const { formDefaultValue: q, fillingDefaultArray: j } = await Yt(
8787
+ const { formDefaultValue: q, fillingDefaultArray: A } = await Yt(
8787
8788
  e.item.params.columns,
8788
8789
  S
8789
8790
  );
8790
- return i.value = q, j;
8791
+ return i.value = q, A;
8791
8792
  }, p = async (S) => {
8792
8793
  if (b.value)
8793
8794
  return;
8794
8795
  b.value = !0;
8795
8796
  const q = await f(S);
8796
- let j = Q(S).map((A, H) => ({
8797
- ...A,
8797
+ let A = Q(S).map((j, H) => ({
8798
+ ...j,
8798
8799
  ...q[H]
8799
8800
  }));
8800
8801
  if (e.item.params.link) {
8801
- const A = [];
8802
+ const j = [];
8802
8803
  if (e.item.params.columns.forEach((H) => {
8803
- (H.input === "cascader" || H.input === "select") && H.params.multiple && A.push(H.key);
8804
- }), e.item.params.draggable && j.sort((H, J) => H.sort_index - J.sort_index), j && j.forEach((H) => {
8805
- A.forEach((J) => {
8804
+ (H.input === "cascader" || H.input === "select") && H.params.multiple && j.push(H.key);
8805
+ }), e.item.params.draggable && A.sort((H, J) => H.sort_index - J.sort_index), A && A.forEach((H) => {
8806
+ j.forEach((J) => {
8806
8807
  H[J] && typeof H[J] == "string" && (H[J] = JSON.parse(H[J]));
8807
8808
  });
8808
- }), e.item.params.init && j.length === 0 && e.status === 0 && (j = [i.value]), e.item.params.merge && typeof e.item.params.merge == "string")
8809
+ }), e.item.params.init && A.length === 0 && e.status === 0 && (A = [i.value]), e.item.params.merge && typeof e.item.params.merge == "string")
8809
8810
  try {
8810
8811
  const H = e.item.params.merge;
8811
- j = await new Function("formValue", "mainFormValue", "POST", H)(j, o, pe);
8812
+ A = await new Function("formValue", "mainFormValue", "POST", H)(A, o, pe);
8812
8813
  } catch (H) {
8813
8814
  oe(H);
8814
8815
  }
8815
- d.value.child = j, b.value = !1, Le(() => {
8816
+ d.value.child = A, b.value = !1, Le(() => {
8816
8817
  x();
8817
8818
  });
8818
8819
  } else
@@ -8821,14 +8822,14 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
8821
8822
  });
8822
8823
  }, C = (S) => S.delete ? "uz-table-child-delete" : "", T = async (S) => {
8823
8824
  await f(S);
8824
- const { tableColumns: q, tableWidth: j } = await Zt(
8825
+ const { tableColumns: q, tableWidth: A } = await Zt(
8825
8826
  Q(S ?? e.item.params.columns),
8826
8827
  !0,
8827
8828
  e.status,
8828
8829
  () => d.value.child,
8829
8830
  a
8830
8831
  );
8831
- let A = j;
8832
+ let j = A;
8832
8833
  if (q.unshift({
8833
8834
  title: " ",
8834
8835
  key: "index",
@@ -8840,7 +8841,7 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
8840
8841
  // render(_: ObjectKey, rowIndex: number) {
8841
8842
  // return h('span', {}, { default: () => rowIndex + 1 })
8842
8843
  // }
8843
- }), A = A + 60, e.item.params.draggable && e.status !== 2 && (q.unshift({
8844
+ }), j = j + 60, e.item.params.draggable && e.status !== 2 && (q.unshift({
8844
8845
  title: " ",
8845
8846
  key: "draggable",
8846
8847
  align: "center",
@@ -8859,7 +8860,7 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
8859
8860
  Y(be, {}, { default: () => Y(kt) })
8860
8861
  );
8861
8862
  }
8862
- }), A = A + 40), e.status !== 2 && e.item.params.showActions) {
8863
+ }), j = j + 40), e.status !== 2 && e.item.params.showActions) {
8863
8864
  const J = {
8864
8865
  title: () => s("Common.action"),
8865
8866
  key: "action",
@@ -8899,7 +8900,7 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
8899
8900
  const H = [];
8900
8901
  q.forEach((J) => {
8901
8902
  J.show && H.push(J);
8902
- }), v.value = H, A = A + 180, k.value = A;
8903
+ }), v.value = H, j = j + 180, k.value = j;
8903
8904
  }, V = (S) => {
8904
8905
  if (e.item.params.summary) {
8905
8906
  if (typeof e.item.params.summary == "function")
@@ -8916,7 +8917,7 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
8916
8917
  g.value = "", d.value.child.push(Q(i.value)), Le(() => {
8917
8918
  x();
8918
8919
  });
8919
- }, R = async () => {
8920
+ }, F = async () => {
8920
8921
  g.value = "";
8921
8922
  try {
8922
8923
  const S = e.item.params.options;
@@ -8926,9 +8927,9 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
8926
8927
  open: e.item.params.optionsType,
8927
8928
  mainFormValue: o,
8928
8929
  children: () => d.value.child,
8929
- callback: async (j) => {
8930
- const A = await q(j, o, pe);
8931
- d.value.child = [...d.value.child, ...A], Le(() => {
8930
+ callback: async (A) => {
8931
+ const j = await q(A, o, pe);
8932
+ d.value.child = [...d.value.child, ...j], Le(() => {
8932
8933
  x();
8933
8934
  });
8934
8935
  }
@@ -8951,15 +8952,15 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
8951
8952
  var S;
8952
8953
  (S = w.value) == null || S.restoreValidation();
8953
8954
  }, z = () => (g.value = "", new Promise((S, q) => {
8954
- var A;
8955
- const j = d.value.child.filter(
8955
+ var j;
8956
+ const A = d.value.child.filter(
8956
8957
  (H) => !H.delete
8957
8958
  ).length;
8958
- if (e.item.form.rule.required && j === 0) {
8959
+ if (e.item.form.rule.required && A === 0) {
8959
8960
  g.value = e.item.form.rule.message, q();
8960
8961
  return;
8961
8962
  }
8962
- (A = w.value) == null || A.validate((H) => {
8963
+ (j = w.value) == null || j.validate((H) => {
8963
8964
  H ? (g.value = e.item.form.rule.message, q()) : S();
8964
8965
  });
8965
8966
  })), x = () => {
@@ -8970,15 +8971,15 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
8970
8971
  // setData(dataTransfer: any) {
8971
8972
  // dataTransfer.setData('Text', '')
8972
8973
  // },
8973
- onEnd: ({ oldIndex: q, newIndex: j }) => {
8974
+ onEnd: ({ oldIndex: q, newIndex: A }) => {
8974
8975
  var J;
8975
8976
  (J = h.value) == null || J.destroy(), h.value = null, D.value = !1;
8976
- let A = Q(d.value.child);
8977
- const H = A.splice(q, 1)[0];
8978
- A.splice(j, 0, H), A = A.map((ue, se) => ({
8977
+ let j = Q(d.value.child);
8978
+ const H = j.splice(q, 1)[0];
8979
+ j.splice(A, 0, H), j = j.map((ue, se) => ({
8979
8980
  ...ue,
8980
8981
  sort_index: se
8981
- })), d.value.child = A, Le(() => {
8982
+ })), d.value.child = j, Le(() => {
8982
8983
  D.value = !0, setTimeout(() => {
8983
8984
  x();
8984
8985
  }, 0);
@@ -8989,7 +8990,7 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
8989
8990
  };
8990
8991
  return Je(() => {
8991
8992
  T(), e.value && e.value.length > 0 ? p(e.value) : f(e.value);
8992
- }), Aa(() => {
8993
+ }), ja(() => {
8993
8994
  var S;
8994
8995
  (S = h.value) == null || S.destroy(), h.value = null;
8995
8996
  }), r({ validate: z, restoreValidation: O }), fe(
@@ -9021,7 +9022,7 @@ const ry = /* @__PURE__ */ _(L2, [["render", ty]]), ny = ie({
9021
9022
  tableScrollX: k,
9022
9023
  tableShow: D,
9023
9024
  onAdd: L,
9024
- onAddFormData: R,
9025
+ onAddFormData: F,
9025
9026
  rowClassName: C
9026
9027
  };
9027
9028
  }
@@ -9035,10 +9036,10 @@ function cy(e, t, r, n, a, o) {
9035
9036
  l("div", oy, [
9036
9037
  l("div", sy, [
9037
9038
  K(U(e.item.label) + " ", 1),
9038
- e.item.form.rule.required ? (c(), m("span", ly, "  * ")) : W("", !0)
9039
+ e.item.form.rule.required ? (c(), m("span", ly, "  * ")) : G("", !0)
9039
9040
  ]),
9040
9041
  l("div", iy, [
9041
- e.item.params.optionsType && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (c(), F(h, {
9042
+ e.item.params.optionsType && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (c(), R(h, {
9042
9043
  key: 0,
9043
9044
  type: "success",
9044
9045
  secondary: "",
@@ -9056,8 +9057,8 @@ function cy(e, t, r, n, a, o) {
9056
9057
  t[0] || (t[0] = K(" 从数据新增 ", -1))
9057
9058
  ]),
9058
9059
  _: 1
9059
- }, 8, ["onClick"])) : W("", !0),
9060
- e.item.params.addButton && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (c(), F(h, {
9060
+ }, 8, ["onClick"])) : G("", !0),
9061
+ e.item.params.addButton && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (c(), R(h, {
9061
9062
  key: 1,
9062
9063
  type: "success",
9063
9064
  secondary: "",
@@ -9075,7 +9076,7 @@ function cy(e, t, r, n, a, o) {
9075
9076
  t[1] || (t[1] = K(" 新增 ", -1))
9076
9077
  ]),
9077
9078
  _: 1
9078
- }, 8, ["onClick"])) : W("", !0)
9079
+ }, 8, ["onClick"])) : G("", !0)
9079
9080
  ])
9080
9081
  ]),
9081
9082
  t[4] || (t[4] = l("div", { class: "uz-br" }, null, -1)),
@@ -9086,7 +9087,7 @@ function cy(e, t, r, n, a, o) {
9086
9087
  class: "flex flex-col gap-2"
9087
9088
  }, {
9088
9089
  default: y(() => [
9089
- e.tableShow ? (c(), F(w, {
9090
+ e.tableShow ? (c(), R(w, {
9090
9091
  key: 0,
9091
9092
  ref: "tableRef",
9092
9093
  columns: e.columns,
@@ -9100,9 +9101,9 @@ function cy(e, t, r, n, a, o) {
9100
9101
  "row-class-name": e.rowClassName,
9101
9102
  "scrollbar-props": { size: 8, trigger: "none" },
9102
9103
  remote: ""
9103
- }, null, 8, ["columns", "data", "loading", "summary", "scroll-x", "class", "row-class-name"])) : W("", !0),
9104
+ }, null, 8, ["columns", "data", "loading", "summary", "scroll-x", "class", "row-class-name"])) : G("", !0),
9104
9105
  l("div", uy, [
9105
- e.item.params.optionsType && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (c(), F(h, {
9106
+ e.item.params.optionsType && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (c(), R(h, {
9106
9107
  key: 0,
9107
9108
  type: "success",
9108
9109
  secondary: "",
@@ -9120,8 +9121,8 @@ function cy(e, t, r, n, a, o) {
9120
9121
  t[2] || (t[2] = K(" 从数据新增 ", -1))
9121
9122
  ]),
9122
9123
  _: 1
9123
- }, 8, ["onClick"])) : W("", !0),
9124
- e.item.params.addButton && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (c(), F(h, {
9124
+ }, 8, ["onClick"])) : G("", !0),
9125
+ e.item.params.addButton && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (c(), R(h, {
9125
9126
  key: 1,
9126
9127
  type: "success",
9127
9128
  secondary: "",
@@ -9139,7 +9140,7 @@ function cy(e, t, r, n, a, o) {
9139
9140
  t[3] || (t[3] = K(" 新增 ", -1))
9140
9141
  ]),
9141
9142
  _: 1
9142
- }, 8, ["onClick"])) : W("", !0)
9143
+ }, 8, ["onClick"])) : G("", !0)
9143
9144
  ])
9144
9145
  ]),
9145
9146
  _: 1
@@ -9389,11 +9390,11 @@ const vy = /* @__PURE__ */ _(fy, [["render", wy]]), gy = ie({
9389
9390
  if (v.value.when_before_save) {
9390
9391
  const V = v.value.when_before_save, L = new Function("data", "POST", V);
9391
9392
  try {
9392
- C = await L(C, pe).catch((R) => {
9393
- b.value = 1, w.value = R.message;
9393
+ C = await L(C, pe).catch((F) => {
9394
+ b.value = 1, w.value = F.message;
9394
9395
  });
9395
- } catch (R) {
9396
- b.value = 1, w.value = R.message;
9396
+ } catch (F) {
9397
+ b.value = 1, w.value = F.message;
9397
9398
  return;
9398
9399
  }
9399
9400
  }
@@ -9405,14 +9406,14 @@ const vy = /* @__PURE__ */ _(fy, [["render", wy]]), gy = ie({
9405
9406
  Na(), Ze({
9406
9407
  tableId: T
9407
9408
  }).then((L) => {
9408
- const R = e.link.split(".");
9409
+ const F = e.link.split(".");
9409
9410
  let O;
9410
9411
  if (e.linkFn) {
9411
9412
  const z = e.linkFn;
9412
9413
  O = new Function("sourceData", z)(L);
9413
9414
  } else
9414
9415
  O = L.map((z) => ({
9415
- label: z[R[1]],
9416
+ label: z[F[1]],
9416
9417
  value: z.id,
9417
9418
  disabled: (z == null ? void 0 : z.status) === "0",
9418
9419
  params: z
@@ -9451,7 +9452,7 @@ const vy = /* @__PURE__ */ _(fy, [["render", wy]]), gy = ie({
9451
9452
  }), yy = { class: "flex gap-2 h-full" }, ky = { class: "flex justify-between w-full" }, by = { class: "flex gap-2" };
9452
9453
  function _y(e, t, r, n, a, o) {
9453
9454
  const s = M("NButton"), u = M("UzOcr"), h = M("UzForm"), w = M("UzSpin"), b = M("NSpin"), D = M("NDrawerContent"), v = M("NDrawer");
9454
- return c(), F(v, {
9455
+ return c(), R(v, {
9455
9456
  show: e.drawer,
9456
9457
  "onUpdate:show": t[2] || (t[2] = (d) => e.drawer = d),
9457
9458
  width: e.isMobile ? "96%" : e.tableOption.drawerWidth,
@@ -9485,7 +9486,7 @@ function _y(e, t, r, n, a, o) {
9485
9486
  ]),
9486
9487
  default: y(() => [
9487
9488
  l("div", yy, [
9488
- e.ocrShow ? (c(), F(u, { key: 0 })) : W("", !0),
9489
+ e.ocrShow ? (c(), R(u, { key: 0 })) : G("", !0),
9489
9490
  I(w, {
9490
9491
  class: "flex-1",
9491
9492
  value: e.spinShow,
@@ -9515,7 +9516,7 @@ function _y(e, t, r, n, a, o) {
9515
9516
  fn: y(() => [
9516
9517
  l("div", ky, [
9517
9518
  l("div", null, [
9518
- e.isMobile ? W("", !0) : (c(), F(s, {
9519
+ e.isMobile ? G("", !0) : (c(), R(s, {
9519
9520
  key: 0,
9520
9521
  type: "primary",
9521
9522
  onClick: t[1] || (t[1] = (d) => e.ocrShow = !e.ocrShow),
@@ -9581,7 +9582,7 @@ function Sy(e, t, r, n, a, o) {
9581
9582
  style: Ne(`grid-column: span ${s.lineCol || 2} / span ${s.lineCol || 2}`)
9582
9583
  }, [
9583
9584
  s.key === "action" ? (c(), m(le, { key: 0 }, [
9584
- s.render ? (c(), F(yo(
9585
+ s.render ? (c(), R(yo(
9585
9586
  () => {
9586
9587
  if (e.tableData)
9587
9588
  return s.render(e.tableData, e.tableIndex);
@@ -9589,7 +9590,7 @@ function Sy(e, t, r, n, a, o) {
9589
9590
  ), {
9590
9591
  key: 0,
9591
9592
  class: "mobile"
9592
- })) : W("", !0)
9593
+ })) : G("", !0)
9593
9594
  ], 64)) : (c(), m(le, { key: 1 }, [
9594
9595
  l("div", {
9595
9596
  class: de(["uz-table-mobile-group-title", s.lineBreak ? "line-break" : ""])
@@ -9599,7 +9600,7 @@ function Sy(e, t, r, n, a, o) {
9599
9600
  l("div", {
9600
9601
  class: de(["uz-table-mobile-group-content", s.lineBreak ? "line-break" : ""])
9601
9602
  }, [
9602
- s.render ? (c(), F(yo(
9603
+ s.render ? (c(), R(yo(
9603
9604
  () => {
9604
9605
  if (e.tableData)
9605
9606
  return s.render(e.tableData, e.tableIndex);
@@ -9658,7 +9659,7 @@ const Ty = /* @__PURE__ */ _(Cy, [["render", Sy], ["__scopeId", "data-v-36ebf171
9658
9659
  };
9659
9660
  function Oy(e, t, r, n, a, o) {
9660
9661
  const s = M("UzTableMobileList"), u = M("NCheckbox"), h = M("NPagination"), w = M("NCheckboxGroup"), b = M("NRadio"), D = M("NRadioGroup");
9661
- return e.selection === 2 ? (c(), F(w, {
9662
+ return e.selection === 2 ? (c(), R(w, {
9662
9663
  key: 0,
9663
9664
  value: e.rowKeys,
9664
9665
  "onUpdate:value": [
@@ -9672,7 +9673,7 @@ function Oy(e, t, r, n, a, o) {
9672
9673
  })
9673
9674
  }, {
9674
9675
  default: y(() => [
9675
- (c(!0), m(le, null, $e(e.tableData, (v, d) => (c(), F(u, {
9676
+ (c(!0), m(le, null, $e(e.tableData, (v, d) => (c(), R(u, {
9676
9677
  key: v.id,
9677
9678
  class: "uz-com-card flex gap-2",
9678
9679
  value: v.id
@@ -9697,10 +9698,10 @@ function Oy(e, t, r, n, a, o) {
9697
9698
  "page-size": e.tableQueries.query.pageSize,
9698
9699
  size: "large"
9699
9700
  }, null, 8, ["page", "item-count", "page-size", "onUpdate:page"])
9700
- ])) : W("", !0)
9701
+ ])) : G("", !0)
9701
9702
  ]),
9702
9703
  _: 1
9703
- }, 8, ["value", "style", "onUpdate:value"])) : e.selection === 1 ? (c(), F(D, {
9704
+ }, 8, ["value", "style", "onUpdate:value"])) : e.selection === 1 ? (c(), R(D, {
9704
9705
  key: 1,
9705
9706
  value: e.rowKeys[0],
9706
9707
  "onUpdate:value": [
@@ -9714,7 +9715,7 @@ function Oy(e, t, r, n, a, o) {
9714
9715
  })
9715
9716
  }, {
9716
9717
  default: y(() => [
9717
- (c(!0), m(le, null, $e(e.tableData, (v, d) => (c(), F(b, {
9718
+ (c(!0), m(le, null, $e(e.tableData, (v, d) => (c(), R(b, {
9718
9719
  key: v.id,
9719
9720
  class: "uz-com-card flex gap-2",
9720
9721
  value: v.id
@@ -9739,7 +9740,7 @@ function Oy(e, t, r, n, a, o) {
9739
9740
  "page-size": e.tableQueries.query.pageSize,
9740
9741
  size: "large"
9741
9742
  }, null, 8, ["page", "item-count", "page-size", "onUpdate:page"])
9742
- ])) : W("", !0)
9743
+ ])) : G("", !0)
9743
9744
  ]),
9744
9745
  _: 1
9745
9746
  }, 8, ["value", "style", "onUpdate:value"])) : (c(), m("div", {
@@ -9771,10 +9772,10 @@ function Oy(e, t, r, n, a, o) {
9771
9772
  "page-size": e.tableQueries.query.pageSize,
9772
9773
  size: "large"
9773
9774
  }, null, 8, ["page", "item-count", "page-size", "onUpdate:page"])
9774
- ])) : W("", !0)
9775
+ ])) : G("", !0)
9775
9776
  ], 4));
9776
9777
  }
9777
- const Ay = /* @__PURE__ */ _(Ny, [["render", Oy], ["__scopeId", "data-v-8c590cf0"]]), X = Oa({
9778
+ const jy = /* @__PURE__ */ _(Ny, [["render", Oy], ["__scopeId", "data-v-8c590cf0"]]), X = Oa({
9778
9779
  page: {
9779
9780
  label: "首页",
9780
9781
  key: "/",
@@ -9809,7 +9810,7 @@ function Il(e, t) {
9809
9810
  const r = X.thumbnail.find((n) => n.key === e);
9810
9811
  r && (r.key = t, X.active = t, Ie(X.cache, X, 0));
9811
9812
  }
9812
- function jy(e) {
9813
+ function Ay(e) {
9813
9814
  const t = X.thumbnail.find((r) => r.path === e.key);
9814
9815
  t ? (X.active = t.key, Ie(X.cache, X, 0), We.push(t.key)) : (X.active = e.key, X.thumbnail.push({ ...e, path: e.key, closable: !0 }), We.push(e.key));
9815
9816
  }
@@ -9832,7 +9833,7 @@ const qy = ie({
9832
9833
  NTabPane: gd,
9833
9834
  NButton: _e,
9834
9835
  NIcon: be,
9835
- NPopconfirm: ja,
9836
+ NPopconfirm: Aa,
9836
9837
  NFlex: Ll,
9837
9838
  Trash: xt
9838
9839
  },
@@ -9883,7 +9884,7 @@ const qy = ie({
9883
9884
  });
9884
9885
  function Ry(e, t, r, n, a, o) {
9885
9886
  const s = M("NTabPane"), u = M("Trash"), h = M("NIcon"), w = M("NButton"), b = M("NPopconfirm"), D = M("NFlex"), v = M("NTabs");
9886
- return c(), F(v, {
9887
+ return c(), R(v, {
9887
9888
  value: e.thumbnailStore.active,
9888
9889
  type: "card",
9889
9890
  closable: "",
@@ -9920,7 +9921,7 @@ function Ry(e, t, r, n, a, o) {
9920
9921
  })
9921
9922
  ]),
9922
9923
  default: y(() => [
9923
- (c(!0), m(le, null, $e(e.thumbnailStore.thumbnail, (d) => (c(), F(s, {
9924
+ (c(!0), m(le, null, $e(e.thumbnailStore.thumbnail, (d) => (c(), R(s, {
9924
9925
  key: d.key,
9925
9926
  name: d.key,
9926
9927
  tab: d.label,
@@ -10013,7 +10014,7 @@ const By = {
10013
10014
  });
10014
10015
  function Py(e, t, r, n, a, o) {
10015
10016
  const s = M("NConfigProvider");
10016
- return c(), F(s, {
10017
+ return c(), R(s, {
10017
10018
  theme: e.commonStore.theme ? {
10018
10019
  name: "darkTheme"
10019
10020
  } : null,
@@ -10068,8 +10069,8 @@ const Ey = /* @__PURE__ */ _(Uy, [["render", Py]]), Dl = /* @__PURE__ */ Object.
10068
10069
  CaretDown: Wa,
10069
10070
  CaretUp: zi,
10070
10071
  ChartArea: Oi,
10071
- ChartBar: Ai,
10072
- ChartBubble: ji,
10072
+ ChartBar: ji,
10073
+ ChartBubble: Ai,
10073
10074
  ChartDonut: qi,
10074
10075
  ChartLine: Ri,
10075
10076
  ChartPie: Fi,
@@ -10139,9 +10140,9 @@ const Ey = /* @__PURE__ */ _(Uy, [["render", Py]]), Dl = /* @__PURE__ */ Object.
10139
10140
  Presentation: Du,
10140
10141
  PresentationAnalytics: zu,
10141
10142
  Printer: Ou,
10142
- Qrcode: Au,
10143
+ Qrcode: ju,
10143
10144
  Refresh: Lt,
10144
- Report: ju,
10145
+ Report: Au,
10145
10146
  ReportAnalytics: qu,
10146
10147
  ReportMoney: Ru,
10147
10148
  ReportSearch: Fu,
@@ -10164,7 +10165,7 @@ const Ey = /* @__PURE__ */ _(Uy, [["render", Py]]), Dl = /* @__PURE__ */ Object.
10164
10165
  UzDraggableForm: t2,
10165
10166
  UzForm: Xg,
10166
10167
  UzFormItem: pt,
10167
- UzFormItemImage: Ac,
10168
+ UzFormItemImage: jc,
10168
10169
  UzFormItemUpload: i2,
10169
10170
  UzIcon: Za,
10170
10171
  UzSearchBar: C2,
@@ -10173,7 +10174,7 @@ const Ey = /* @__PURE__ */ _(Uy, [["render", Py]]), Dl = /* @__PURE__ */ Object.
10173
10174
  UzTable: ry,
10174
10175
  UzTableChild: dy,
10175
10176
  UzTableDrawer: xy,
10176
- UzTableMobile: Ay,
10177
+ UzTableMobile: jy,
10177
10178
  UzTableQuestChild: vy,
10178
10179
  UzThumbnail: Fy,
10179
10180
  UzWrap: Ey,
@@ -10181,7 +10182,7 @@ const Ey = /* @__PURE__ */ _(Uy, [["render", Py]]), Dl = /* @__PURE__ */ Object.
10181
10182
  commonStore: ye,
10182
10183
  fnActionReduction: Rt,
10183
10184
  fnActionSimplify: Zw,
10184
- fnAddThumbnail: jy,
10185
+ fnAddThumbnail: Ay,
10185
10186
  fnClearAllThumbnail: Vc,
10186
10187
  fnDeleteThumbnail: Bc,
10187
10188
  fnGetTableData: bt,
@@ -10194,8 +10195,8 @@ const Ey = /* @__PURE__ */ _(Uy, [["render", Py]]), Dl = /* @__PURE__ */ Object.
10194
10195
  fnSetTheme: ic,
10195
10196
  fnSetThumbnail: Fc,
10196
10197
  fnTableReduction: _t,
10197
- fnTableSimplify: j2,
10198
- fnTriggersReduction: jc,
10198
+ fnTableSimplify: A2,
10199
+ fnTriggersReduction: Ac,
10199
10200
  fnTriggersSimplify: q2,
10200
10201
  i18n: He
10201
10202
  }, Symbol.toStringTag, { value: "Module" }));
@@ -10220,20 +10221,20 @@ function Hy() {
10220
10221
  }
10221
10222
  return va = t, va;
10222
10223
  }
10223
- var ga, Al;
10224
+ var ga, jl;
10224
10225
  function Ky() {
10225
- if (Al) return ga;
10226
- Al = 1;
10226
+ if (jl) return ga;
10227
+ jl = 1;
10227
10228
  var e = Hy(), t = /^\s+/;
10228
10229
  function r(n) {
10229
10230
  return n && n.slice(0, e(n) + 1).replace(t, "");
10230
10231
  }
10231
10232
  return ga = r, ga;
10232
10233
  }
10233
- var ya, jl;
10234
+ var ya, Al;
10234
10235
  function Gy() {
10235
- if (jl) return ya;
10236
- jl = 1;
10236
+ if (Al) return ya;
10237
+ Al = 1;
10237
10238
  var e = Mt(), t = ft(), r = "[object Symbol]";
10238
10239
  function n(a) {
10239
10240
  return typeof a == "symbol" || t(a) && e(a) == r;
@@ -10272,29 +10273,29 @@ function Kc() {
10272
10273
  if (typeof u != "function")
10273
10274
  throw new TypeError(n);
10274
10275
  h = r(h) || 0, e(w) && (f = !!w.leading, p = "maxWait" in w, v = p ? a(r(w.maxWait) || 0, h) : v, C = "trailing" in w ? !!w.trailing : C);
10275
- function T(j) {
10276
- var A = b, H = D;
10277
- return b = D = void 0, k = j, d = u.apply(H, A), d;
10276
+ function T(A) {
10277
+ var j = b, H = D;
10278
+ return b = D = void 0, k = A, d = u.apply(H, j), d;
10278
10279
  }
10279
- function V(j) {
10280
- return k = j, g = setTimeout(O, h), f ? T(j) : d;
10280
+ function V(A) {
10281
+ return k = A, g = setTimeout(O, h), f ? T(A) : d;
10281
10282
  }
10282
- function L(j) {
10283
- var A = j - i, H = j - k, J = h - A;
10283
+ function L(A) {
10284
+ var j = A - i, H = A - k, J = h - j;
10284
10285
  return p ? o(J, v - H) : J;
10285
10286
  }
10286
- function R(j) {
10287
- var A = j - i, H = j - k;
10288
- return i === void 0 || A >= h || A < 0 || p && H >= v;
10287
+ function F(A) {
10288
+ var j = A - i, H = A - k;
10289
+ return i === void 0 || j >= h || j < 0 || p && H >= v;
10289
10290
  }
10290
10291
  function O() {
10291
- var j = t();
10292
- if (R(j))
10293
- return z(j);
10294
- g = setTimeout(O, L(j));
10292
+ var A = t();
10293
+ if (F(A))
10294
+ return z(A);
10295
+ g = setTimeout(O, L(A));
10295
10296
  }
10296
- function z(j) {
10297
- return g = void 0, C && b ? T(j) : (b = D = void 0, d);
10297
+ function z(A) {
10298
+ return g = void 0, C && b ? T(A) : (b = D = void 0, d);
10298
10299
  }
10299
10300
  function x() {
10300
10301
  g !== void 0 && clearTimeout(g), k = 0, b = i = D = g = void 0;
@@ -10303,8 +10304,8 @@ function Kc() {
10303
10304
  return g === void 0 ? d : z(t());
10304
10305
  }
10305
10306
  function q() {
10306
- var j = t(), A = R(j);
10307
- if (b = arguments, D = this, i = j, A) {
10307
+ var A = t(), j = F(A);
10308
+ if (b = arguments, D = this, i = A, j) {
10308
10309
  if (g === void 0)
10309
10310
  return V(i);
10310
10311
  if (p)
@@ -10388,7 +10389,7 @@ function Yy() {
10388
10389
  }
10389
10390
  var Zy = Yy();
10390
10391
  const ek = /* @__PURE__ */ ro(Zy);
10391
- function Ak(e, t = 1e3) {
10392
+ function jk(e, t = 1e3) {
10392
10393
  const r = N(e), n = Ke(
10393
10394
  () => ek((...a) => r.value([...a]), t)
10394
10395
  );
@@ -10400,7 +10401,7 @@ function Ak(e, t = 1e3) {
10400
10401
  flush: n.value.flush
10401
10402
  };
10402
10403
  }
10403
- function jk(e, t) {
10404
+ function Ak(e, t) {
10404
10405
  return [N(Be(e, t == null ? void 0 : t.defaultValue)), (o) => {
10405
10406
  typeof o > "u" ? Ma(e) : Ie(e, o, (t == null ? void 0 : t.expired) || "1 Day");
10406
10407
  }];
@@ -10415,10 +10416,10 @@ function qk(e, t, r) {
10415
10416
  let C;
10416
10417
  if (Array.isArray(t))
10417
10418
  C = await new Promise((V, L) => {
10418
- a.value = L, Promise.all(t.map((R) => R.call(null))).then((R) => {
10419
- V(R);
10420
- }).catch((R) => {
10421
- L(R);
10419
+ a.value = L, Promise.all(t.map((F) => F.call(null))).then((F) => {
10420
+ V(F);
10421
+ }).catch((F) => {
10422
+ L(F);
10422
10423
  });
10423
10424
  });
10424
10425
  else {
@@ -10459,7 +10460,7 @@ function qk(e, t, r) {
10459
10460
  }
10460
10461
  return r != null && r.pollingInterval ? (d(), s.value = setInterval(() => {
10461
10462
  d();
10462
- }, r == null ? void 0 : r.pollingInterval)) : (r === void 0 || r.manual === void 0 || r.manual === !1) && d(), Aa(() => {
10463
+ }, r == null ? void 0 : r.pollingInterval)) : (r === void 0 || r.manual === void 0 || r.manual === !1) && d(), ja(() => {
10463
10464
  v();
10464
10465
  }), {
10465
10466
  status: h,
@@ -10471,7 +10472,7 @@ function qk(e, t, r) {
10471
10472
  refetch: p
10472
10473
  };
10473
10474
  }
10474
- const tk = "0.0.42";
10475
+ const tk = "0.0.43";
10475
10476
  let Wc;
10476
10477
  async function Jc() {
10477
10478
  const e = await fetch(
@@ -10684,8 +10685,8 @@ export {
10684
10685
  Wa as CaretDown,
10685
10686
  zi as CaretUp,
10686
10687
  Oi as ChartArea,
10687
- Ai as ChartBar,
10688
- ji as ChartBubble,
10688
+ ji as ChartBar,
10689
+ Ai as ChartBubble,
10689
10690
  qi as ChartDonut,
10690
10691
  Ri as ChartLine,
10691
10692
  Fi as ChartPie,
@@ -10758,9 +10759,9 @@ export {
10758
10759
  Du as Presentation,
10759
10760
  zu as PresentationAnalytics,
10760
10761
  Ou as Printer,
10761
- Au as Qrcode,
10762
+ ju as Qrcode,
10762
10763
  Lt as Refresh,
10763
- ju as Report,
10764
+ Au as Report,
10764
10765
  qu as ReportAnalytics,
10765
10766
  Ru as ReportMoney,
10766
10767
  Fu as ReportSearch,
@@ -10783,7 +10784,7 @@ export {
10783
10784
  t2 as UzDraggableForm,
10784
10785
  Xg as UzForm,
10785
10786
  pt as UzFormItem,
10786
- Ac as UzFormItemImage,
10787
+ jc as UzFormItemImage,
10787
10788
  i2 as UzFormItemUpload,
10788
10789
  Za as UzIcon,
10789
10790
  C2 as UzSearchBar,
@@ -10792,7 +10793,7 @@ export {
10792
10793
  ry as UzTable,
10793
10794
  dy as UzTableChild,
10794
10795
  xy as UzTableDrawer,
10795
- Ay as UzTableMobile,
10796
+ jy as UzTableMobile,
10796
10797
  vy as UzTableQuestChild,
10797
10798
  Fy as UzThumbnail,
10798
10799
  Ey as UzWrap,
@@ -10803,7 +10804,7 @@ export {
10803
10804
  uk as default,
10804
10805
  Rt as fnActionReduction,
10805
10806
  Zw as fnActionSimplify,
10806
- jy as fnAddThumbnail,
10807
+ Ay as fnAddThumbnail,
10807
10808
  xo as fnCancelFetch,
10808
10809
  Vc as fnClearAllThumbnail,
10809
10810
  Xy as fnComputedScale,
@@ -10833,10 +10834,10 @@ export {
10833
10834
  ic as fnSetTheme,
10834
10835
  Fc as fnSetThumbnail,
10835
10836
  _t as fnTableReduction,
10836
- j2 as fnTableSimplify,
10837
+ A2 as fnTableSimplify,
10837
10838
  $k as fnThrottle,
10838
10839
  Fw as fnTitle,
10839
- jc as fnTriggersReduction,
10840
+ Ac as fnTriggersReduction,
10840
10841
  q2 as fnTriggersSimplify,
10841
10842
  He as i18n,
10842
10843
  Rk as install,
@@ -10844,7 +10845,7 @@ export {
10844
10845
  We as router,
10845
10846
  Qy as scaleStore,
10846
10847
  Ok as useDebounceFn,
10847
- jk as useLocalStorage,
10848
+ Ak as useLocalStorage,
10848
10849
  qk as useQuery,
10849
- Ak as useThrottleFn
10850
+ jk as useThrottleFn
10850
10851
  };