@unizhen/ui 0.1.132 → 0.1.134

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/ui.js CHANGED
@@ -2159,7 +2159,7 @@ function Nr(t, n, s, u, d, f) {
2159
2159
  onClick: I((e) => t.onModeClick(n, s), ["stop"]),
2160
2160
  key: n.key,
2161
2161
  style: _(`grid-column: span ${n.form.span || 6} / span ${n.form.span || 6};`),
2162
- "show-label": n.input !== "divider" && n.input !== "subTable",
2162
+ "show-label": n.input !== "divider" && n.input !== "subTable" && n.input !== "bom",
2163
2163
  "show-feedback": t.showFeedback && n.input !== "divider"
2164
2164
  }, {
2165
2165
  label: P(() => [
@@ -2212,7 +2212,7 @@ function Nr(t, n, s, u, d, f) {
2212
2212
  onClick: I((r) => t.onModeClick(e, s, n), ["stop"]),
2213
2213
  key: n,
2214
2214
  style: _(`grid-column: span ${e.form.span || 6} / span ${e.form.span || 6};`),
2215
- "show-label": e.input !== "divider" && e.input !== "subTable",
2215
+ "show-label": e.input !== "divider" && e.input !== "subTable" && e.input !== "bom",
2216
2216
  "show-feedback": t.showFeedback && e.input !== "divider"
2217
2217
  }, {
2218
2218
  default: P(() => [t.formItemIndex[0] === s && t.formItemIndex[1] === n ? (x(), r(h, {
@@ -3051,17 +3051,20 @@ var vi = (e) => e.map((e) => {
3051
3051
  f: e.fetch,
3052
3052
  n: e.fetchFn,
3053
3053
  o: e.when_drawer_open,
3054
- b: e.when_before_save
3054
+ b: e.when_before_save,
3055
+ a: e.when_after_save
3055
3056
  }), xi = (e) => e ? e.fetch ? e : {
3056
3057
  fetch: e.f,
3057
3058
  fetchFn: e.n,
3058
3059
  when_drawer_open: e.o,
3059
- when_before_save: e.b
3060
+ when_before_save: e.b,
3061
+ when_after_save: e.a
3060
3062
  } : {
3061
3063
  fetch: null,
3062
3064
  fetchFn: "",
3063
3065
  when_drawer_open: "",
3064
- when_before_save: ""
3066
+ when_before_save: "",
3067
+ when_after_save: ""
3065
3068
  }, Si = (e) => ({
3066
3069
  i: e.index,
3067
3070
  s: e.selection,
@@ -3410,12 +3413,12 @@ async function Ti(e, t = !1, n = 0, r = () => {}, i = {}, a = !1, o = !1) {
3410
3413
  }
3411
3414
  //#endregion
3412
3415
  //#region components/bom/index.vue?vue&type=script&lang.ts
3413
- var Ei = [
3416
+ var Ei = (e) => e.key === "product_no" || e.key === "product_name" || typeof e.title == "string" && e.title.includes("物料"), Di = [
3414
3417
  "var(--primary)",
3415
3418
  "var(--green)",
3416
3419
  "var(--yellow)",
3417
3420
  "var(--purple)"
3418
- ], Di = d({
3421
+ ], Oi = d({
3419
3422
  name: "UzBom",
3420
3423
  components: {
3421
3424
  NDataTable: oe,
@@ -3493,7 +3496,7 @@ var Ei = [
3493
3496
  },
3494
3497
  set(e, n, r) {
3495
3498
  let i = Reflect.get(e, n) !== r, a = Reflect.set(e, n, r);
3496
- if (i && (n === "quantity" || n === "lossRate") && Reflect.set(e, "required_quantity", ti(e)), i && (n === "quantity" || n === "lossRate" || n === "counts") && d.value.forEach((e) => ri(Array.isArray(e.children) ? e.children : [], e.counts)), i && n === t.key) {
3499
+ if (i && (n === "quantity" || n === "lossRate") && Reflect.set(e, "required_quantity", ti(e)), i && (n === "quantity" || n === "lossRate" || n === "counts") && d.value.forEach((e) => ri(Array.isArray(e.children) ? e.children : [], e.counts)), i && n === t.key && Ei(t)) {
3497
3500
  let i = si(t.params?.options, r);
3498
3501
  i !== void 0 && (Reflect.set(e, "operation_no", i), Number(e.level) === 1 && Reflect.set(e, "code", i)), (i !== void 0 || n === "product_no") && (T(), i !== void 0 && E());
3499
3502
  }
@@ -3635,7 +3638,7 @@ var Ei = [
3635
3638
  if (!Number.isFinite(t) || t < 1) return null;
3636
3639
  let n = (t - 1) % 4 + 1, r = Math.floor((t - 1) / 4);
3637
3640
  return {
3638
- color: Ei[n - 1],
3641
+ color: Di[n - 1],
3639
3642
  strength: `${Math.min(10 + r * 5, 40)}%`
3640
3643
  };
3641
3644
  };
@@ -3657,9 +3660,9 @@ var Ei = [
3657
3660
  showLabel: !1,
3658
3661
  showFeedback: !1,
3659
3662
  path: `child[${r}].${t.key}`,
3660
- rule: t.form.rule?.required ? {
3661
- ...t.form.rule,
3662
- validator: typeof t.form.rule.validator == "function" ? t.form.rule.validator : void 0,
3663
+ rule: t.form?.rule?.required ? {
3664
+ ...t.form?.rule,
3665
+ validator: typeof t.form?.rule.validator == "function" ? t.form?.rule.validator : void 0,
3663
3666
  index: r
3664
3667
  } : void 0
3665
3668
  }, { default: () => f(Tr, {
@@ -3695,14 +3698,14 @@ var Ei = [
3695
3698
  handleExpandedRowKeysChange: oe
3696
3699
  };
3697
3700
  }
3698
- }), Oi = { class: "uz-bom uz-flex-1 uz-w-full" }, ki = { class: "uz-flex uz-flex-col uz-justify-between" }, Ai = { class: "uz-com-title" }, ji = {
3701
+ }), ki = { class: "uz-bom uz-flex-1 uz-w-full" }, Ai = { class: "uz-flex uz-flex-col uz-justify-between" }, ji = { class: "uz-com-title" }, Mi = {
3699
3702
  key: 0,
3700
3703
  class: "uz-table-asterisk"
3701
3704
  };
3702
- function Mi(e, t, n, s, u, d) {
3705
+ function Ni(e, t, n, s, u, d) {
3703
3706
  let f = D("NDataTable"), p = D("NForm");
3704
- return x(), a("div", Oi, [o("div", ki, [
3705
- o("div", Ai, [c(A(e.item.label) + " ", 1), e.item.form.rule.required ? (x(), a("span", ji, " \xA0* ")) : i("", !0)]),
3707
+ return x(), a("div", ki, [o("div", Ai, [
3708
+ o("div", ji, [c(A(e.item.label) + " ", 1), e.item.form?.rule.required ? (x(), a("span", Mi, " \xA0* ")) : i("", !0)]),
3706
3709
  t[0] ||= o("div", { class: "uz-br" }, null, -1),
3707
3710
  l(p, {
3708
3711
  ref: "formRef",
@@ -3744,13 +3747,13 @@ function Mi(e, t, n, s, u, d) {
3744
3747
  }, 8, ["model"])
3745
3748
  ])]);
3746
3749
  }
3747
- var Ni = /*#__PURE__*/ Q(Di, [["render", Mi]]), Pi = 46, Fi = 8, Ii = 2 * Math.PI * Pi, Li = Fi, Ri = 19, zi = 69, Bi = 52, Vi = 8, Hi = 135, Ui = 270, Wi = 2 * Math.PI * Bi, Gi = Ui / 360 * Wi, Ki = 11, qi = `rotate(${Hi} 60 ${zi})`, Ji = (e, t, n, r) => {
3750
+ var Pi = /*#__PURE__*/ Q(Oi, [["render", Ni]]), Fi = 46, Ii = 8, Li = 2 * Math.PI * Fi, Ri = Ii, zi = 19, Bi = 69, Vi = 52, Hi = 8, Ui = 135, Wi = 270, Gi = 2 * Math.PI * Vi, Ki = Wi / 360 * Gi, qi = 11, Ji = `rotate(${Ui} 60 ${Bi})`, Yi = (e, t, n, r) => {
3748
3751
  let i = r * Math.PI / 180;
3749
3752
  return {
3750
3753
  x: e + n * Math.cos(i),
3751
3754
  y: t + n * Math.sin(i)
3752
3755
  };
3753
- }, Yi = ({ x: e, y: t }) => `${e.toFixed(3)} ${t.toFixed(3)}`, Xi = (e, t, n, r, i, a) => {
3756
+ }, Xi = ({ x: e, y: t }) => `${e.toFixed(3)} ${t.toFixed(3)}`, Zi = (e, t, n, r, i, a) => {
3754
3757
  if (a <= 0) return "";
3755
3758
  let o = n + r / 2, s = n - r / 2;
3756
3759
  if (a >= 359.999) {
@@ -3762,16 +3765,16 @@ var Ni = /*#__PURE__*/ Q(Di, [["render", Mi]]), Pi = 46, Fi = 8, Ii = 2 * Math.P
3762
3765
  `A ${s} ${s} 0 1 0 ${i}`
3763
3766
  ].join(" ");
3764
3767
  }
3765
- let c = i + a, l = Ji(e, t, o, i), u = Ji(e, t, o, c), d = Ji(e, t, s, c), f = Ji(e, t, s, i), p = r / 2, m = +(a > 180);
3768
+ let c = i + a, l = Yi(e, t, o, i), u = Yi(e, t, o, c), d = Yi(e, t, s, c), f = Yi(e, t, s, i), p = r / 2, m = +(a > 180);
3766
3769
  return [
3767
- `M ${Yi(l)}`,
3768
- `A ${o} ${o} 0 ${m} 1 ${Yi(u)}`,
3769
- `A ${p} ${p} 0 0 1 ${Yi(d)}`,
3770
- `A ${s} ${s} 0 ${m} 0 ${Yi(f)}`,
3771
- `A ${p} ${p} 0 0 1 ${Yi(l)}`,
3770
+ `M ${Xi(l)}`,
3771
+ `A ${o} ${o} 0 ${m} 1 ${Xi(u)}`,
3772
+ `A ${p} ${p} 0 0 1 ${Xi(d)}`,
3773
+ `A ${s} ${s} 0 ${m} 0 ${Xi(f)}`,
3774
+ `A ${p} ${p} 0 0 1 ${Xi(l)}`,
3772
3775
  "Z"
3773
3776
  ].join(" ");
3774
- }, Zi = (e) => {
3777
+ }, Qi = (e) => {
3775
3778
  if (!e) return "";
3776
3779
  let t = e.toLowerCase();
3777
3780
  if (t.length > 6 && (t = t.substring(0, 7)), t && /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t)) {
@@ -3785,7 +3788,7 @@ var Ni = /*#__PURE__*/ Q(Di, [["render", Mi]]), Pi = 46, Fi = 8, Ii = 2 * Math.P
3785
3788
  return e.join(",");
3786
3789
  }
3787
3790
  return "0,0,0";
3788
- }, Qi = d({
3791
+ }, $i = d({
3789
3792
  name: "UzCircle",
3790
3793
  components: { UzNumberFlow: rt },
3791
3794
  props: {
@@ -3808,10 +3811,10 @@ var Ni = /*#__PURE__*/ Q(Di, [["render", Mi]]), Pi = 46, Fi = 8, Ii = 2 * Math.P
3808
3811
  }
3809
3812
  },
3810
3813
  setup(e) {
3811
- let t = ee(), r = `uz-blurs-${t}`, i = n(() => `rgba(${Zi(e.color).split(",").map((e) => {
3814
+ let t = ee(), r = `uz-blurs-${t}`, i = n(() => `rgba(${Qi(e.color).split(",").map((e) => {
3812
3815
  let t = Number(e) - 50;
3813
3816
  return t < 0 && (t = 0), t;
3814
- })},1)`), a = n(() => `rgba(${Zi(e.color)},1)`), o = n(() => {
3817
+ })},1)`), a = n(() => `rgba(${Qi(e.color)},1)`), o = n(() => {
3815
3818
  let t = Number(e.circle);
3816
3819
  return Number.isFinite(t) ? Math.min(100, Math.max(0, t)) : 0;
3817
3820
  }), s = w(o.value), c;
@@ -3830,62 +3833,62 @@ var Ni = /*#__PURE__*/ Q(Di, [["render", Mi]]), Pi = 46, Fi = 8, Ii = 2 * Math.P
3830
3833
  c !== void 0 && cancelAnimationFrame(c);
3831
3834
  });
3832
3835
  let l = n(() => {
3833
- let e = Ii * (s.value / 100), t = Ii - e;
3836
+ let e = Li * (s.value / 100), t = Li - e;
3834
3837
  if (e === 0) return {
3835
3838
  activeLength: 0,
3836
3839
  activeStart: 0,
3837
- remainingLength: Ii,
3840
+ remainingLength: Li,
3838
3841
  remainingStart: 0
3839
3842
  };
3840
3843
  if (t === 0) return {
3841
- activeLength: Ii,
3844
+ activeLength: Li,
3842
3845
  activeStart: 0,
3843
3846
  remainingLength: 0,
3844
3847
  remainingStart: 0
3845
3848
  };
3846
- let n = Math.min(1, Math.min(e, t) / Ri), r = Li + 3 * n, i = Fi * n, a = e < Ri ? i : Ii - (t < Ri ? i : t - r) - r * 2, o = Ii - a - r * 2;
3849
+ let n = Math.min(1, Math.min(e, t) / zi), r = Ri + 3 * n, i = Ii * n, a = e < zi ? i : Li - (t < zi ? i : t - r) - r * 2, o = Li - a - r * 2;
3847
3850
  return {
3848
3851
  activeLength: a,
3849
3852
  activeStart: r / 2,
3850
3853
  remainingLength: o,
3851
3854
  remainingStart: r / 2 + a + r
3852
3855
  };
3853
- }), u = n(() => l.value.activeLength), d = n(() => l.value.activeStart), f = n(() => l.value.remainingLength), p = n(() => l.value.remainingStart), m = n(() => Xi(60, 60, Pi, Fi, -90 + p.value / Ii * 360, f.value / Ii * 360)), h = n(() => {
3854
- let e = Gi * (s.value / 100), t = Gi - e;
3856
+ }), u = n(() => l.value.activeLength), d = n(() => l.value.activeStart), f = n(() => l.value.remainingLength), p = n(() => l.value.remainingStart), m = n(() => Zi(60, 60, Fi, Ii, -90 + p.value / Li * 360, f.value / Li * 360)), h = n(() => {
3857
+ let e = Ki * (s.value / 100), t = Ki - e;
3855
3858
  if (e === 0) return {
3856
3859
  activeLength: 0,
3857
- remainingLength: Gi,
3860
+ remainingLength: Ki,
3858
3861
  remainingStart: 0
3859
3862
  };
3860
3863
  if (t === 0) return {
3861
- activeLength: Gi,
3864
+ activeLength: Ki,
3862
3865
  remainingLength: 0,
3863
3866
  remainingStart: 0
3864
3867
  };
3865
- let n = Math.min(Ki, e, t);
3868
+ let n = Math.min(qi, e, t);
3866
3869
  return {
3867
3870
  activeLength: e - n / 2,
3868
3871
  remainingLength: t - n / 2,
3869
3872
  remainingStart: e + n / 2
3870
3873
  };
3871
- }), g = n(() => h.value.activeLength), _ = n(() => h.value.remainingLength), y = n(() => h.value.remainingStart), b = n(() => Xi(60, zi, Bi, Vi, Hi + y.value / Wi * 360, _.value / Wi * 360));
3874
+ }), g = n(() => h.value.activeLength), _ = n(() => h.value.remainingLength), y = n(() => h.value.remainingStart), b = n(() => Zi(60, Bi, Vi, Hi, Ui + y.value / Gi * 360, _.value / Gi * 360));
3872
3875
  return {
3873
3876
  color: n(() => e.color),
3874
3877
  colorA: i,
3875
3878
  colorB: a,
3876
- fullRadius: Pi,
3877
- fullStrokeWidth: Fi,
3878
- fullCircumference: Ii,
3879
+ fullRadius: Fi,
3880
+ fullStrokeWidth: Ii,
3881
+ fullCircumference: Li,
3879
3882
  fullActiveLength: u,
3880
3883
  fullActiveStart: d,
3881
3884
  fullRemainingLength: f,
3882
3885
  fullRemainingStart: p,
3883
3886
  fullRemainingPath: m,
3884
- gaugeCenterY: zi,
3885
- gaugeRadius: Bi,
3886
- gaugeStrokeWidth: Vi,
3887
- gaugeCircumference: Wi,
3888
- gaugeTransform: qi,
3887
+ gaugeCenterY: Bi,
3888
+ gaugeRadius: Vi,
3889
+ gaugeStrokeWidth: Hi,
3890
+ gaugeCircumference: Gi,
3891
+ gaugeTransform: Ji,
3889
3892
  gaugeActiveLength: g,
3890
3893
  gaugeRemainingLength: _,
3891
3894
  gaugeRemainingStart: y,
@@ -3894,31 +3897,31 @@ var Ni = /*#__PURE__*/ Q(Di, [["render", Mi]]), Pi = 46, Fi = 8, Ii = 2 * Math.P
3894
3897
  blurFilterId: r
3895
3898
  };
3896
3899
  }
3897
- }), $i = { class: "uz-circle" }, ea = {
3900
+ }), ea = { class: "uz-circle" }, ta = {
3898
3901
  key: 0,
3899
3902
  viewBox: "0 0 120 120",
3900
3903
  "aria-hidden": "true"
3901
- }, ta = ["id"], na = ["stop-color"], ra = ["stop-color"], ia = ["id"], aa = [
3904
+ }, na = ["id"], ra = ["stop-color"], ia = ["stop-color"], aa = ["id"], oa = [
3902
3905
  "r",
3903
3906
  "stroke-width",
3904
3907
  "stroke-dasharray",
3905
3908
  "stroke-dashoffset",
3906
3909
  "filter",
3907
3910
  "stroke"
3908
- ], oa = [
3911
+ ], sa = [
3909
3912
  "d",
3910
3913
  "fill",
3911
3914
  "filter"
3912
- ], sa = {
3915
+ ], ca = {
3913
3916
  class: "uz-circle__unit",
3914
3917
  x: "60",
3915
3918
  y: "82",
3916
3919
  "text-anchor": "middle"
3917
- }, ca = {
3920
+ }, la = {
3918
3921
  key: 1,
3919
3922
  viewBox: "0 0 120 120",
3920
3923
  "aria-hidden": "true"
3921
- }, la = ["id"], ua = ["stop-color"], da = ["stop-color"], fa = ["id"], pa = [
3924
+ }, ua = ["id"], da = ["stop-color"], fa = ["stop-color"], pa = ["id"], ma = [
3922
3925
  "cy",
3923
3926
  "r",
3924
3927
  "stroke-width",
@@ -3926,19 +3929,19 @@ var Ni = /*#__PURE__*/ Q(Di, [["render", Mi]]), Pi = 46, Fi = 8, Ii = 2 * Math.P
3926
3929
  "transform",
3927
3930
  "filter",
3928
3931
  "stroke"
3929
- ], ma = [
3932
+ ], ha = [
3930
3933
  "d",
3931
3934
  "fill",
3932
3935
  "filter"
3933
- ], ha = {
3936
+ ], ga = {
3934
3937
  class: "uz-circle__unit uz-circle__unit--gauge",
3935
3938
  x: "60",
3936
3939
  y: "90",
3937
3940
  "text-anchor": "middle"
3938
3941
  };
3939
- function ga(e, t, n, r, s, c) {
3942
+ function _a(e, t, n, r, s, c) {
3940
3943
  let u = D("UzNumberFlow");
3941
- return x(), a("div", $i, [e.mode === 0 ? (x(), a("svg", ea, [
3944
+ return x(), a("div", ea, [e.mode === 0 ? (x(), a("svg", ta, [
3942
3945
  o("defs", null, [o("linearGradient", {
3943
3946
  id: `uz-progress-grad-${e.uniqueId}`,
3944
3947
  x1: "1",
@@ -3948,10 +3951,10 @@ function ga(e, t, n, r, s, c) {
3948
3951
  }, [o("stop", {
3949
3952
  offset: "0%",
3950
3953
  "stop-color": e.colorA
3951
- }, null, 8, na), o("stop", {
3954
+ }, null, 8, ra), o("stop", {
3952
3955
  offset: "50%",
3953
3956
  "stop-color": e.colorB
3954
- }, null, 8, ra)], 8, ta), o("filter", { id: e.blurFilterId }, [...t[0] ||= [
3957
+ }, null, 8, ia)], 8, na), o("filter", { id: e.blurFilterId }, [...t[0] ||= [
3955
3958
  o("feOffset", {
3956
3959
  result: "offOut",
3957
3960
  in: "SourceGraphic",
@@ -3968,7 +3971,7 @@ function ga(e, t, n, r, s, c) {
3968
3971
  in2: "blurOut",
3969
3972
  mode: "normal"
3970
3973
  }, null, -1)
3971
- ]], 8, ia)]),
3974
+ ]], 8, aa)]),
3972
3975
  e.fullActiveLength > 0 ? (x(), a("circle", {
3973
3976
  key: 0,
3974
3977
  class: "uz-circle__progress",
@@ -3983,7 +3986,7 @@ function ga(e, t, n, r, s, c) {
3983
3986
  transform: "rotate(-90 60 60)",
3984
3987
  filter: `url(#${e.blurFilterId})`,
3985
3988
  stroke: `url(#uz-progress-grad-${e.uniqueId})`
3986
- }, null, 8, aa)) : i("", !0),
3989
+ }, null, 8, oa)) : i("", !0),
3987
3990
  e.fullRemainingPath ? (x(), a("path", {
3988
3991
  key: 1,
3989
3992
  class: "uz-circle__progress",
@@ -3991,9 +3994,9 @@ function ga(e, t, n, r, s, c) {
3991
3994
  fill: e.color,
3992
3995
  "fill-opacity": "0.1",
3993
3996
  filter: `url(#${e.blurFilterId})`
3994
- }, null, 8, oa)) : i("", !0),
3995
- o("text", sa, A(e.circleUnit), 1)
3996
- ])) : (x(), a("svg", ca, [
3997
+ }, null, 8, sa)) : i("", !0),
3998
+ o("text", ca, A(e.circleUnit), 1)
3999
+ ])) : (x(), a("svg", la, [
3997
4000
  o("defs", null, [o("linearGradient", {
3998
4001
  id: `uz-progress-grad-1-${e.uniqueId}`,
3999
4002
  x1: "1",
@@ -4003,10 +4006,10 @@ function ga(e, t, n, r, s, c) {
4003
4006
  }, [o("stop", {
4004
4007
  offset: "0%",
4005
4008
  "stop-color": e.colorA
4006
- }, null, 8, ua), o("stop", {
4009
+ }, null, 8, da), o("stop", {
4007
4010
  offset: "50%",
4008
4011
  "stop-color": e.colorB
4009
- }, null, 8, da)], 8, la), o("filter", { id: e.blurFilterId }, [...t[1] ||= [
4012
+ }, null, 8, fa)], 8, ua), o("filter", { id: e.blurFilterId }, [...t[1] ||= [
4010
4013
  o("feOffset", {
4011
4014
  result: "offOut",
4012
4015
  in: "SourceGraphic",
@@ -4023,7 +4026,7 @@ function ga(e, t, n, r, s, c) {
4023
4026
  in2: "blurOut",
4024
4027
  mode: "normal"
4025
4028
  }, null, -1)
4026
- ]], 8, fa)]),
4029
+ ]], 8, pa)]),
4027
4030
  e.gaugeActiveLength > 0 ? (x(), a("circle", {
4028
4031
  key: 0,
4029
4032
  class: "uz-circle__progress",
@@ -4037,7 +4040,7 @@ function ga(e, t, n, r, s, c) {
4037
4040
  transform: e.gaugeTransform,
4038
4041
  filter: `url(#${e.blurFilterId})`,
4039
4042
  stroke: `url(#uz-progress-grad-1-${e.uniqueId})`
4040
- }, null, 8, pa)) : i("", !0),
4043
+ }, null, 8, ma)) : i("", !0),
4041
4044
  e.gaugeRemainingPath ? (x(), a("path", {
4042
4045
  key: 1,
4043
4046
  class: "uz-circle__progress",
@@ -4045,11 +4048,11 @@ function ga(e, t, n, r, s, c) {
4045
4048
  fill: e.color,
4046
4049
  "fill-opacity": "0.1",
4047
4050
  filter: `url(#${e.blurFilterId})`
4048
- }, null, 8, ma)) : i("", !0),
4049
- o("text", ha, A(e.circleUnit), 1)
4051
+ }, null, 8, ha)) : i("", !0),
4052
+ o("text", ga, A(e.circleUnit), 1)
4050
4053
  ])), o("div", { class: g(["uz-circle__value uz-circle__value--gauge uz-circle__number", { "uz-circle__number--gauge": e.mode !== 0 }]) }, [l(u, { value: e.circle }, null, 8, ["value"])], 2)]);
4051
4054
  }
4052
- var _a = /*#__PURE__*/ Q(Qi, [["render", ga]]), va = d({
4055
+ var va = /*#__PURE__*/ Q($i, [["render", _a]]), ya = d({
4053
4056
  name: "UzCamera",
4054
4057
  components: {
4055
4058
  NButton: L,
@@ -4142,11 +4145,11 @@ var _a = /*#__PURE__*/ Q(Qi, [["render", ga]]), va = d({
4142
4145
  closeAll: f
4143
4146
  };
4144
4147
  }
4145
- }), ya = ["width", "height"], ba = ["width", "height"], xa = { class: "uz-scan-video" }, Sa = {
4148
+ }), ba = ["width", "height"], xa = ["width", "height"], Sa = { class: "uz-scan-video" }, Ca = {
4146
4149
  ref: "videoRef",
4147
4150
  playsInline: ""
4148
4151
  };
4149
- function Ca(t, n, s, l, u, d) {
4152
+ function wa(t, n, s, l, u, d) {
4150
4153
  let f = D("NButton"), p = D("NModal");
4151
4154
  return x(), a(e, null, [
4152
4155
  t.mode === "button" ? (x(), r(f, {
@@ -4178,7 +4181,7 @@ function Ca(t, n, s, l, u, d) {
4178
4181
  id: "uz-scan-canvas",
4179
4182
  width: t.width,
4180
4183
  height: t.height
4181
- }, null, 8, ya)], 4)]),
4184
+ }, null, 8, ba)], 4)]),
4182
4185
  _: 1
4183
4186
  }, 8, [
4184
4187
  "show",
@@ -4196,11 +4199,11 @@ function Ca(t, n, s, l, u, d) {
4196
4199
  id: "uz-scan-canvas",
4197
4200
  width: t.width,
4198
4201
  height: t.height
4199
- }, null, 8, ba)], 4)) : i("", !0),
4200
- o("div", xa, [o("video", Sa, null, 512)])
4202
+ }, null, 8, xa)], 4)) : i("", !0),
4203
+ o("div", Sa, [o("video", Ca, null, 512)])
4201
4204
  ], 64);
4202
4205
  }
4203
- var wa = /*#__PURE__*/ Q(va, [["render", Ca]]), Ta = /* @__PURE__ */ new WeakMap(), Ea = d({
4206
+ var Ta = /*#__PURE__*/ Q(ya, [["render", wa]]), Ea = /* @__PURE__ */ new WeakMap(), Da = d({
4204
4207
  name: "UzSearchBar",
4205
4208
  components: {
4206
4209
  NIcon: V,
@@ -4249,10 +4252,10 @@ var wa = /*#__PURE__*/ Q(va, [["render", Ca]]), Ta = /* @__PURE__ */ new WeakMap
4249
4252
  e.offsetWidth > 1100 ? (t.instance.gridSpan = 1, t.instance.more = t.instance.moreCache, t.instance.offset = t.instance.offsetCache) : e.offsetWidth <= 1100 && e.offsetWidth > 550 ? (t.instance.gridSpan = 2, t.instance.more = t.instance.moreIndex > 2, t.instance.offset = t.instance.moreIndex === 1 ? 1 : -1) : (t.instance.gridSpan = 4, t.instance.more = t.instance.moreIndex > 1, t.instance.offset = -1);
4250
4253
  }
4251
4254
  });
4252
- n.observe(e), Ta.set(e, n);
4255
+ n.observe(e), Ea.set(e, n);
4253
4256
  },
4254
4257
  unmounted: (e) => {
4255
- Ta.get(e)?.disconnect(), Ta.delete(e);
4258
+ Ea.get(e)?.disconnect(), Ea.delete(e);
4256
4259
  }
4257
4260
  } },
4258
4261
  emits: ["update:loading", "on-update:value"],
@@ -4368,24 +4371,24 @@ var wa = /*#__PURE__*/ Q(va, [["render", Ca]]), Ta = /* @__PURE__ */ new WeakMap
4368
4371
  tabButtonType: x
4369
4372
  };
4370
4373
  }
4371
- }), Da = { class: "uz-flex uz-justify-between uz-gap-2" }, Oa = {
4374
+ }), Oa = { class: "uz-flex uz-justify-between uz-gap-2" }, ka = {
4372
4375
  key: 0,
4373
4376
  class: "uz-flex uz-items-start uz-justify-between uz-gap-2 uz-w-full"
4374
- }, ka = { key: 0 }, Aa = { class: "uz-flex-1" }, ja = {
4377
+ }, Aa = { key: 0 }, ja = { class: "uz-flex-1" }, Ma = {
4375
4378
  key: 1,
4376
4379
  class: "uz-flex uz-gap-2 uz-flex-1"
4377
- }, Ma = {
4380
+ }, Na = {
4378
4381
  key: 0,
4379
4382
  class: "uz-search-fields-collapse"
4380
4383
  };
4381
- function Na(n, s, u, d, f, p) {
4384
+ function Pa(n, s, u, d, f, p) {
4382
4385
  let m = D("NButton"), h = D("NButtonGroup"), _ = D("NGridItem"), v = D("NInputGroupLabel"), y = D("NPopover"), b = D("UzFormItem"), S = D("NInputGroup"), C = D("NGrid"), w = D("UzIcon"), k = D("NIcon"), ee = O("media");
4383
4386
  return x(), a("div", {
4384
4387
  class: "uz-search-bar uz-flex uz-flex-col uz-w-full",
4385
4388
  onKeyup: s[1] ||= te((e) => n.doSearch(!1), ["enter"])
4386
- }, [o("div", Da, [n.enableHeader ? (x(), a("div", Oa, [
4389
+ }, [o("div", Oa, [n.enableHeader ? (x(), a("div", ka, [
4387
4390
  E(n.$slots, "header"),
4388
- n.tabList && n.tabList.length > 0 ? (x(), a("div", ka, [l(h, null, {
4391
+ n.tabList && n.tabList.length > 0 ? (x(), a("div", Aa, [l(h, null, {
4389
4392
  default: P(() => [(x(!0), a(e, null, T(n.tabList, (e) => (x(), r(m, {
4390
4393
  key: e.value,
4391
4394
  type: n.tabButtonType(e),
@@ -4397,7 +4400,7 @@ function Na(n, s, u, d, f, p) {
4397
4400
  }, 1032, ["type", "onClick"]))), 128))]),
4398
4401
  _: 1
4399
4402
  })])) : i("", !0),
4400
- F((x(), a("div", Aa, [l(C, {
4403
+ F((x(), a("div", ja, [l(C, {
4401
4404
  "x-gap": "8",
4402
4405
  "y-gap": "8",
4403
4406
  cols: n.cols,
@@ -4434,7 +4437,7 @@ function Na(n, s, u, d, f, p) {
4434
4437
  }, 1032, ["span"]))), 128)) : i("", !0)]),
4435
4438
  _: 1
4436
4439
  }, 8, ["cols"])])), [[ee]])
4437
- ])) : i("", !0), n.enableHeader ? (x(), a("div", ja, [
4440
+ ])) : i("", !0), n.enableHeader ? (x(), a("div", Ma, [
4438
4441
  n.more ? (x(), r(m, {
4439
4442
  key: 0,
4440
4443
  secondary: "",
@@ -4484,7 +4487,7 @@ function Na(n, s, u, d, f, p) {
4484
4487
  })) : i("", !0),
4485
4488
  E(n.$slots, "action")
4486
4489
  ])) : i("", !0)]), l(t, { name: "uz-search-fields" }, {
4487
- default: P(() => [!n.collapsed && n.itemData && Object.keys(n.itemData).length > 0 ? (x(), a("div", Ma, [l(C, {
4490
+ default: P(() => [!n.collapsed && n.itemData && Object.keys(n.itemData).length > 0 ? (x(), a("div", Na, [l(C, {
4488
4491
  "x-gap": "8",
4489
4492
  "y-gap": "8",
4490
4493
  cols: 4
@@ -4519,7 +4522,7 @@ function Na(n, s, u, d, f, p) {
4519
4522
  _: 1
4520
4523
  })], 32);
4521
4524
  }
4522
- var Pa = /*#__PURE__*/ Q(Ea, [["render", Na]]), Fa = d({
4525
+ var Fa = /*#__PURE__*/ Q(Da, [["render", Pa]]), Ia = d({
4523
4526
  name: "UzSearchMobileBar",
4524
4527
  components: {
4525
4528
  NIcon: V,
@@ -4609,10 +4612,10 @@ var Pa = /*#__PURE__*/ Q(Ea, [["render", Na]]), Fa = d({
4609
4612
  clearAll: u
4610
4613
  };
4611
4614
  }
4612
- }), Ia = { class: "uz-flex uz-items-start uz-justify-between uz-gap-8 uz-pb-2" }, La = { class: "uz-flex uz-gap-2" }, Ra = { class: "uz-flex uz-items-center uz-gap-2 uz-w-full" };
4613
- function za(t, n, s, u, d, f) {
4615
+ }), La = { class: "uz-flex uz-items-start uz-justify-between uz-gap-8 uz-pb-2" }, Ra = { class: "uz-flex uz-gap-2" }, za = { class: "uz-flex uz-items-center uz-gap-2 uz-w-full" };
4616
+ function Ba(t, n, s, u, d, f) {
4614
4617
  let p = D("UzIcon"), m = D("NIcon"), h = D("NButton"), g = D("NInputGroupLabel"), _ = D("UzFormItem"), v = D("NInputGroup"), y = D("NGridItem"), b = D("NGrid"), S = D("NDrawerContent"), C = D("NDrawer");
4615
- return x(), a(e, null, [o("div", Ia, [E(t.$slots, "header"), o("div", La, [t.itemData && Object.keys(t.itemData).length > 0 ? (x(), r(h, {
4618
+ return x(), a(e, null, [o("div", La, [E(t.$slots, "header"), o("div", Ra, [t.itemData && Object.keys(t.itemData).length > 0 ? (x(), r(h, {
4616
4619
  key: 0,
4617
4620
  secondary: "",
4618
4621
  onClick: n[0] ||= (e) => t.drawer = !0
@@ -4637,7 +4640,7 @@ function za(t, n, s, u, d, f) {
4637
4640
  title: t.t("Common.search"),
4638
4641
  closable: ""
4639
4642
  }, {
4640
- footer: P(() => [o("div", Ra, [l(h, {
4643
+ footer: P(() => [o("div", za, [l(h, {
4641
4644
  secondary: "",
4642
4645
  loading: t.loading,
4643
4646
  onClick: t.clearAll,
@@ -4692,7 +4695,7 @@ function za(t, n, s, u, d, f) {
4692
4695
  _: 1
4693
4696
  }, 8, ["show"])], 64);
4694
4697
  }
4695
- var Ba = /*#__PURE__*/ Q(Fa, [["render", za]]), Va = d({
4698
+ var Va = /*#__PURE__*/ Q(Ia, [["render", Ba]]), Ha = d({
4696
4699
  name: "UzSpin",
4697
4700
  components: {
4698
4701
  NButton: L,
@@ -4739,7 +4742,7 @@ var Ba = /*#__PURE__*/ Q(Fa, [["render", za]]), Va = d({
4739
4742
  });
4740
4743
  //#endregion
4741
4744
  //#region components/spin/index.vue
4742
- function Ha(e, t, n, i, a, s) {
4745
+ function Ua(e, t, n, i, a, s) {
4743
4746
  let u = D("NEllipsis"), d = D("NButton"), f = D("NSpin");
4744
4747
  return x(), r(f, { show: e.value }, {
4745
4748
  description: P(() => [
@@ -4767,7 +4770,7 @@ function Ha(e, t, n, i, a, s) {
4767
4770
  _: 3
4768
4771
  }, 8, ["show"]);
4769
4772
  }
4770
- var Ua = /*#__PURE__*/ Q(Va, [["render", Ha]]), Wa = d({
4773
+ var Wa = /*#__PURE__*/ Q(Ha, [["render", Ua]]), Ga = d({
4771
4774
  name: "UzTableExpand",
4772
4775
  components: {
4773
4776
  NDataTable: oe,
@@ -4815,7 +4818,7 @@ var Ua = /*#__PURE__*/ Q(Va, [["render", Ha]]), Wa = d({
4815
4818
  });
4816
4819
  //#endregion
4817
4820
  //#region components/table/components/expand.vue
4818
- function Ga(e, t, n, i, a, o) {
4821
+ function Ka(e, t, n, i, a, o) {
4819
4822
  let s = D("NDataTable");
4820
4823
  return x(), r(s, {
4821
4824
  columns: e.columns,
@@ -4834,18 +4837,18 @@ function Ga(e, t, n, i, a, o) {
4834
4837
  "scroll-x"
4835
4838
  ]);
4836
4839
  }
4837
- var Ka = /*#__PURE__*/ Q(Wa, [["render", Ga]]), qa = d({
4840
+ var qa = /*#__PURE__*/ Q(Ga, [["render", Ka]]), Ja = d({
4838
4841
  components: { NSkeleton: Ae },
4839
4842
  setup() {
4840
4843
  return {};
4841
4844
  }
4842
- }), Ja = { class: "uz-flex uz-flex-col uz-gap-2 uz-flex-1 uz-h-full" }, Ya = { class: "uz-flex uz-justify-between" }, Xa = { class: "uz-flex uz-gap-1" };
4843
- function Za(e, t, n, r, i, s) {
4845
+ }), Ya = { class: "uz-flex uz-flex-col uz-gap-2 uz-flex-1 uz-h-full" }, Xa = { class: "uz-flex uz-justify-between" }, Za = { class: "uz-flex uz-gap-1" };
4846
+ function Qa(e, t, n, r, i, s) {
4844
4847
  let c = D("NSkeleton");
4845
- return x(), a("div", Ja, [o("div", Ya, [l(c, {
4848
+ return x(), a("div", Ya, [o("div", Xa, [l(c, {
4846
4849
  width: 120,
4847
4850
  size: "medium"
4848
- }), o("div", Xa, [
4851
+ }), o("div", Za, [
4849
4852
  l(c, {
4850
4853
  width: 180,
4851
4854
  size: "medium"
@@ -4878,7 +4881,7 @@ function Za(e, t, n, r, i, s) {
4878
4881
  }
4879
4882
  //#endregion
4880
4883
  //#region components/table/index.vue?vue&type=script&lang.ts
4881
- var Qa = d({
4884
+ var $a = d({
4882
4885
  name: "UzTable",
4883
4886
  components: {
4884
4887
  NDataTable: oe,
@@ -4888,9 +4891,9 @@ var Qa = d({
4888
4891
  NCheckbox: re,
4889
4892
  NSpin: Me,
4890
4893
  VueDraggable: et,
4891
- UzSpin: Ua,
4892
- TableExpand: Ka,
4893
- SkeletonLoading: /* @__PURE__ */ Q(qa, [["render", Za]])
4894
+ UzSpin: Wa,
4895
+ TableExpand: qa,
4896
+ SkeletonLoading: /* @__PURE__ */ Q(Ja, [["render", Qa]])
4894
4897
  },
4895
4898
  props: {
4896
4899
  id: {
@@ -5029,7 +5032,8 @@ var Qa = d({
5029
5032
  fetch: null,
5030
5033
  fetchFn: "",
5031
5034
  when_drawer_open: "",
5032
- when_before_save: ""
5035
+ when_before_save: "",
5036
+ when_after_save: ""
5033
5037
  }), R = w(Ci()), ne = w(""), re = w(!1), ie = w([]), z = w([]), ae = p("modules"), oe = (e) => e.id, se = (e, n) => {
5034
5038
  t("update:rowKeys", {
5035
5039
  keys: e,
@@ -5370,7 +5374,7 @@ var Qa = d({
5370
5374
  filter: "default",
5371
5375
  filterOptionValue: null,
5372
5376
  renderFilterMenu: () => f("div", { class: "uz-table-filter" }, [f(L, { onClick: ze }, { default: () => s("Common.expand") }), f(L, { onClick: Be }, { default: () => s("Common.contract") })]),
5373
- renderExpand: (e) => f(Ka, {
5377
+ renderExpand: (e) => f(qa, {
5374
5378
  data: a,
5375
5379
  value: e
5376
5380
  })
@@ -5435,7 +5439,8 @@ var Qa = d({
5435
5439
  fetch: null,
5436
5440
  fetchFn: "",
5437
5441
  when_drawer_open: "",
5438
- when_before_save: ""
5442
+ when_before_save: "",
5443
+ when_after_save: ""
5439
5444
  }, R.value = Ci();
5440
5445
  }, Pe = (t) => {
5441
5446
  let n = tt.parse(t.viewJson);
@@ -5577,14 +5582,14 @@ var Qa = d({
5577
5582
  }
5578
5583
  };
5579
5584
  }
5580
- }), $a = { class: "uz-com-title" }, eo = {
5585
+ }), eo = { class: "uz-com-title" }, to = {
5581
5586
  ref: "mRef",
5582
5587
  class: "uz-table-m-content"
5583
- }, to = {
5588
+ }, no = {
5584
5589
  key: 1,
5585
5590
  class: "uz-transform-fade-in"
5586
- }, no = { class: "uz-com-title" }, ro = ["data-index"];
5587
- function io(t, n, u, d, f, p) {
5591
+ }, ro = { class: "uz-com-title" }, io = ["data-index"];
5592
+ function ao(t, n, u, d, f, p) {
5588
5593
  let m = D("SkeletonLoading"), h = D("NButton"), v = D("UzIcon"), y = D("NIcon"), b = D("UzActionButton"), S = D("UzSearchMobileBar"), C = D("UzTableMobile"), w = D("NCheckbox"), O = D("VueDraggable"), k = D("NPopover"), ee = D("UzTableFile"), M = D("UzSearchBar"), N = D("NDataTable"), te = D("NSpin"), I = D("UzTableDrawer");
5589
5594
  return x(), a("div", {
5590
5595
  class: "uz-table",
@@ -5649,7 +5654,7 @@ function io(t, n, u, d, f, p) {
5649
5654
  key: "0"
5650
5655
  } : {
5651
5656
  name: "header",
5652
- fn: P(() => [o("div", $a, A(t.title), 1)]),
5657
+ fn: P(() => [o("div", eo, A(t.title), 1)]),
5653
5658
  key: "1"
5654
5659
  }]), 1032, [
5655
5660
  "data",
@@ -5657,7 +5662,7 @@ function io(t, n, u, d, f, p) {
5657
5662
  "cache",
5658
5663
  "loading",
5659
5664
  "onOnUpdate:value"
5660
- ]), o("div", eo, [l(C, {
5665
+ ]), o("div", to, [l(C, {
5661
5666
  tableColumns: t.tableCols,
5662
5667
  tableData: t.tableData,
5663
5668
  tableQueries: t.tableQueries,
@@ -5675,7 +5680,7 @@ function io(t, n, u, d, f, p) {
5675
5680
  "minH",
5676
5681
  "maxH",
5677
5682
  "onUpdate:rowKeys"
5678
- ])], 512)], 2)) : (x(), a("div", to, [l(M, {
5683
+ ])], 512)], 2)) : (x(), a("div", no, [l(M, {
5679
5684
  data: t.searchData,
5680
5685
  id: t.id || t.route.params.id,
5681
5686
  cache: t.tableOption.cache,
@@ -5730,7 +5735,7 @@ function io(t, n, u, d, f, p) {
5730
5735
  _: 1
5731
5736
  })]),
5732
5737
  _: 1
5733
- })], 8, ro)), [[j, !e.hide]])), 128)), l(h, {
5738
+ })], 8, io)), [[j, !e.hide]])), 128)), l(h, {
5734
5739
  block: "",
5735
5740
  tertiary: "",
5736
5741
  loading: t.loading,
@@ -5784,7 +5789,7 @@ function io(t, n, u, d, f, p) {
5784
5789
  key: "0"
5785
5790
  } : {
5786
5791
  name: "header",
5787
- fn: P(() => [o("div", no, A(t.title), 1)]),
5792
+ fn: P(() => [o("div", ro, A(t.title), 1)]),
5788
5793
  key: "1"
5789
5794
  }]), 1032, [
5790
5795
  "data",
@@ -5845,7 +5850,7 @@ function io(t, n, u, d, f, p) {
5845
5850
  l(I, { ref: "drawerRef" }, null, 512)
5846
5851
  ], 4);
5847
5852
  }
5848
- var ao = /*#__PURE__*/ Q(Qa, [["render", io]]), oo = d({
5853
+ var oo = /*#__PURE__*/ Q($a, [["render", ao]]), so = d({
5849
5854
  name: "UzTableChild",
5850
5855
  components: {
5851
5856
  UzIcon: qt,
@@ -6078,14 +6083,14 @@ var ao = /*#__PURE__*/ Q(Qa, [["render", io]]), oo = d({
6078
6083
  }
6079
6084
  };
6080
6085
  }
6081
- }), so = { class: "uz-flex-1 uz-w-full" }, co = { class: "uz-flex uz-justify-between" }, lo = { class: "uz-com-title" }, uo = {
6086
+ }), co = { class: "uz-flex-1 uz-w-full" }, lo = { class: "uz-flex uz-justify-between" }, uo = { class: "uz-com-title" }, fo = {
6082
6087
  key: 0,
6083
6088
  class: "uz-table-asterisk"
6084
- }, fo = { class: "uz-flex uz-gap-2" }, po = { class: "uz-flex uz-justify-end uz-gap-2" };
6085
- function mo(t, n, u, d, f, p) {
6089
+ }, po = { class: "uz-flex uz-gap-2" }, mo = { class: "uz-flex uz-justify-end uz-gap-2" };
6090
+ function ho(t, n, u, d, f, p) {
6086
6091
  let m = D("UzIcon"), h = D("NIcon"), _ = D("NButton"), v = D("NDataTable"), y = D("NForm");
6087
- return x(), a("div", so, [
6088
- o("div", co, [o("div", lo, [c(A(t.item.label) + " ", 1), t.item.form.rule.required ? (x(), a("span", uo, " \xA0* ")) : i("", !0)]), o("div", fo, [
6092
+ return x(), a("div", co, [
6093
+ o("div", lo, [o("div", uo, [c(A(t.item.label) + " ", 1), t.item.form.rule.required ? (x(), a("span", fo, " \xA0* ")) : i("", !0)]), o("div", po, [
6089
6094
  t.status === 2 ? i("", !0) : (x(!0), a(e, { key: 0 }, T(t.suffixes, (e) => (x(), r(_, {
6090
6095
  key: e.key,
6091
6096
  type: e.color,
@@ -6158,7 +6163,7 @@ function mo(t, n, u, d, f, p) {
6158
6163
  "scroll-x",
6159
6164
  "class",
6160
6165
  "row-class-name"
6161
- ])) : i("", !0), o("div", po, [t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), r(_, {
6166
+ ])) : i("", !0), o("div", mo, [t.item.params.optionsType && t.status !== 2 && (t.item.form.edit ? !t.item.form.edit.readonly : !t.item.form.readonly) ? (x(), r(_, {
6162
6167
  key: 0,
6163
6168
  type: "success",
6164
6169
  secondary: "",
@@ -6187,7 +6192,7 @@ function mo(t, n, u, d, f, p) {
6187
6192
  }, 8, ["model"])
6188
6193
  ]);
6189
6194
  }
6190
- var ho = /*#__PURE__*/ Q(oo, [["render", mo]]), go = d({
6195
+ var go = /*#__PURE__*/ Q(so, [["render", ho]]), _o = d({
6191
6196
  name: "UzTableQuestChild",
6192
6197
  components: { NDataTable: oe },
6193
6198
  props: {
@@ -6289,11 +6294,11 @@ var ho = /*#__PURE__*/ Q(oo, [["render", mo]]), go = d({
6289
6294
  tableScrollX: s
6290
6295
  };
6291
6296
  }
6292
- }), _o = { class: "uz-flex-1 uz-w-full" }, vo = { class: "uz-flex uz-justify-between" }, yo = { class: "uz-com-title" };
6293
- function bo(e, t, n, r, i, s) {
6297
+ }), vo = { class: "uz-flex-1 uz-w-full" }, yo = { class: "uz-flex uz-justify-between" }, bo = { class: "uz-com-title" };
6298
+ function xo(e, t, n, r, i, s) {
6294
6299
  let c = D("NDataTable"), u = D("UzTableDrawer");
6295
- return x(), a("div", _o, [
6296
- o("div", vo, [o("div", yo, A(e.item.label), 1)]),
6300
+ return x(), a("div", vo, [
6301
+ o("div", yo, [o("div", bo, A(e.item.label), 1)]),
6297
6302
  t[0] ||= o("div", { class: "uz-br" }, null, -1),
6298
6303
  l(c, {
6299
6304
  columns: e.columns,
@@ -6315,7 +6320,7 @@ function bo(e, t, n, r, i, s) {
6315
6320
  l(u, { ref: "drawerRef" }, null, 512)
6316
6321
  ]);
6317
6322
  }
6318
- var xo = /*#__PURE__*/ Q(go, [["render", bo]]), So = d({
6323
+ var So = /*#__PURE__*/ Q(_o, [["render", xo]]), Co = d({
6319
6324
  name: "UzTableDrawer",
6320
6325
  components: {
6321
6326
  NButton: L,
@@ -6352,7 +6357,8 @@ var xo = /*#__PURE__*/ Q(go, [["render", bo]]), So = d({
6352
6357
  fetch: null,
6353
6358
  fetchFn: "",
6354
6359
  when_drawer_open: "",
6355
- when_before_save: ""
6360
+ when_before_save: "",
6361
+ when_after_save: ""
6356
6362
  }), x = w(!1), S = w(), C = () => {
6357
6363
  o.value?.restoreValidation(), l.value = {}, m.value = !1, p.value = !1, d.value = !1, t("update:show", !1);
6358
6364
  }, T = () => {
@@ -6439,8 +6445,19 @@ var xo = /*#__PURE__*/ Q(go, [["render", bo]]), So = d({
6439
6445
  v.value = 1, _.value = e.message;
6440
6446
  return;
6441
6447
  }
6442
- if (S.value) S.value(e, () => {
6443
- Et(`tables_cache_${s.value}`), C();
6448
+ if (S.value) S.value(e, (t) => {
6449
+ if (Et(`tables_cache_${s.value}`), b.value.when_after_save) try {
6450
+ let n = b.value.when_after_save;
6451
+ Function("data", "POST", "res", n)(e, Z, t).then(() => {
6452
+ C();
6453
+ }).catch((e) => {
6454
+ v.value = 1, _.value = e.message;
6455
+ });
6456
+ } catch (e) {
6457
+ v.value = 1, _.value = e.message;
6458
+ return;
6459
+ }
6460
+ else C();
6444
6461
  }, (e) => {
6445
6462
  v.value = 1, _.value = e;
6446
6463
  });
@@ -6450,18 +6467,29 @@ var xo = /*#__PURE__*/ Q(go, [["render", bo]]), So = d({
6450
6467
  tableId: n,
6451
6468
  ...e
6452
6469
  }).then(() => {
6453
- hi(), Xn({ tableId: n }).then((e) => {
6454
- let r = u.value.link.split("."), i;
6470
+ hi(), Xn({ tableId: n }).then((r) => {
6471
+ let i = u.value.link.split("."), a;
6455
6472
  if (u.value.linkFn) {
6456
- let t = u.value.linkFn;
6457
- i = Function("sourceData", t)(e);
6458
- } else i = e.map((e) => ({
6459
- label: e[r[1]],
6473
+ let e = u.value.linkFn;
6474
+ a = Function("sourceData", e)(r);
6475
+ } else a = r.map((e) => ({
6476
+ label: e[i[1]],
6460
6477
  value: e.id,
6461
6478
  disabled: e?.status === "0",
6462
6479
  params: e
6463
6480
  }));
6464
- m.value = !1, Et(`tables_cache_link_${n}`), t("on-submit", i), C();
6481
+ if (m.value = !1, Et(`tables_cache_link_${n}`), t("on-submit", a), b.value.when_after_save) try {
6482
+ let t = b.value.when_after_save;
6483
+ Function("data", "POST", "res", t)(e, Z, r).then(() => {
6484
+ C();
6485
+ }).catch((e) => {
6486
+ v.value = 1, _.value = e.message;
6487
+ });
6488
+ } catch (e) {
6489
+ v.value = 1, _.value = e.message;
6490
+ return;
6491
+ }
6492
+ else C();
6465
6493
  }).catch((e) => {
6466
6494
  v.value = 1, _.value = e;
6467
6495
  });
@@ -6483,11 +6511,11 @@ var xo = /*#__PURE__*/ Q(go, [["render", bo]]), So = d({
6483
6511
  }
6484
6512
  };
6485
6513
  }
6486
- }), Co = { class: "uz-flex uz-flex-col uz-gap-2 uz-h-full" }, wo = {
6514
+ }), wo = { class: "uz-flex uz-flex-col uz-gap-2 uz-h-full" }, To = {
6487
6515
  key: 0,
6488
6516
  class: "uz-grid uz-grid-cols-2 uz-gap-2"
6489
- }, To = { class: "uz-flex uz-justify-between uz-gap-2 uz-w-full" }, Eo = { class: "uz-flex uz-gap-2" };
6490
- function Do(t, n, u, d, f, p) {
6517
+ }, Eo = { class: "uz-flex uz-justify-between uz-gap-2 uz-w-full" }, Do = { class: "uz-flex uz-gap-2" };
6518
+ function Oo(t, n, u, d, f, p) {
6491
6519
  let m = D("NSkeleton"), h = D("UzForm"), g = D("UzSpin"), _ = D("NSpin"), v = D("NButton"), y = D("NPopover"), b = D("NDrawerContent"), S = D("NDrawer"), C = D("UzOcr"), w = D("NModal");
6492
6520
  return x(), a(e, null, [l(S, {
6493
6521
  show: t.drawer,
@@ -6513,7 +6541,7 @@ function Do(t, n, u, d, f, p) {
6513
6541
  message: t.spinMsg,
6514
6542
  status: t.spinStatus
6515
6543
  }, {
6516
- default: P(() => [o("div", Co, [t.skeletonShow ? (x(), a("div", wo, [
6544
+ default: P(() => [o("div", wo, [t.skeletonShow ? (x(), a("div", To, [
6517
6545
  l(m, {
6518
6546
  size: "large",
6519
6547
  style: { height: "156px" }
@@ -6576,7 +6604,7 @@ function Do(t, n, u, d, f, p) {
6576
6604
  _: 2
6577
6605
  }, [t.formStatus === 2 ? void 0 : {
6578
6606
  name: "footer",
6579
- fn: P(() => [o("div", To, [t.isMobile ? i("", !0) : (x(), r(v, {
6607
+ fn: P(() => [o("div", Eo, [t.isMobile ? i("", !0) : (x(), r(v, {
6580
6608
  key: 0,
6581
6609
  loading: t.spinShow,
6582
6610
  type: "success",
@@ -6585,7 +6613,7 @@ function Do(t, n, u, d, f, p) {
6585
6613
  }, {
6586
6614
  default: P(() => [c(A(t.t("OCR.ocr")), 1)]),
6587
6615
  _: 1
6588
- }, 8, ["loading"])), o("div", Eo, [
6616
+ }, 8, ["loading"])), o("div", Do, [
6589
6617
  l(v, {
6590
6618
  loading: t.spinShow,
6591
6619
  class: "uz-drawer-button",
@@ -6653,7 +6681,7 @@ function Do(t, n, u, d, f, p) {
6653
6681
  _: 1
6654
6682
  }, 8, ["show", "title"])], 64);
6655
6683
  }
6656
- var Oo = /*#__PURE__*/ Q(So, [["render", Do]]), ko = d({
6684
+ var ko = /*#__PURE__*/ Q(Co, [["render", Oo]]), Ao = d({
6657
6685
  name: "UzTableMobileList",
6658
6686
  props: {
6659
6687
  tableData: {
@@ -6671,12 +6699,12 @@ var Oo = /*#__PURE__*/ Q(So, [["render", Do]]), ko = d({
6671
6699
  },
6672
6700
  emits: ["update:row-keys"],
6673
6701
  setup() {}
6674
- }), Ao = { class: "uz-grid uz-grid-cols-2 uz-gap-2" }, jo = {
6702
+ }), jo = { class: "uz-grid uz-grid-cols-2 uz-gap-2" }, Mo = {
6675
6703
  key: 1,
6676
6704
  class: "uz-table-mobile-group-txt"
6677
6705
  };
6678
- function Mo(t, n, s, c, l, u) {
6679
- return x(), a("div", Ao, [(x(!0), a(e, null, T(t.tableColumns, (n) => (x(), a("div", {
6706
+ function No(t, n, s, c, l, u) {
6707
+ return x(), a("div", jo, [(x(!0), a(e, null, T(t.tableColumns, (n) => (x(), a("div", {
6680
6708
  key: n.key,
6681
6709
  class: g(["uz-flex uz-overflow-hidden", n.lineBreak ? "uz-flex-col" : ""]),
6682
6710
  style: _(`grid-column: span ${n.lineCol || 2} / span ${n.lineCol || 2}`)
@@ -6687,11 +6715,11 @@ function Mo(t, n, s, c, l, u) {
6687
6715
  class: "mobile"
6688
6716
  })) : i("", !0)], 64)) : (x(), a(e, { key: 1 }, [o("div", { class: g(["uz-table-mobile-group-title", n.lineBreak ? "line-break" : ""]) }, [o("div", null, A(typeof n.title == "string" ? n.title : n.title()), 1)], 2), o("div", { class: g(["uz-table-mobile-group-content", n.lineBreak ? "line-break" : ""]) }, [n.render ? (x(), r(k(() => {
6689
6717
  if (t.tableData) return n.render(t.tableData, t.tableIndex);
6690
- }), { key: 0 })) : (x(), a("div", jo, A(t.tableData[n.key] || "-"), 1))], 2)], 64))], 6))), 128))]);
6718
+ }), { key: 0 })) : (x(), a("div", Mo, A(t.tableData[n.key] || "-"), 1))], 2)], 64))], 6))), 128))]);
6691
6719
  }
6692
6720
  //#endregion
6693
6721
  //#region components/table/mobile.vue?vue&type=script&lang.ts
6694
- var No = d({
6722
+ var Po = d({
6695
6723
  name: "UzTableMobile",
6696
6724
  components: {
6697
6725
  NCheckbox: re,
@@ -6699,7 +6727,7 @@ var No = d({
6699
6727
  NPagination: we,
6700
6728
  NCheckboxGroup: ie,
6701
6729
  NRadioGroup: Oe,
6702
- UzTableMobileList: /* @__PURE__ */ Q(ko, [["render", Mo], ["__scopeId", "data-v-84c394fe"]])
6730
+ UzTableMobileList: /* @__PURE__ */ Q(Ao, [["render", No], ["__scopeId", "data-v-84c394fe"]])
6703
6731
  },
6704
6732
  props: {
6705
6733
  tableData: {
@@ -6746,17 +6774,17 @@ var No = d({
6746
6774
  }
6747
6775
  };
6748
6776
  }
6749
- }), Po = {
6777
+ }), Fo = {
6750
6778
  key: 0,
6751
6779
  class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
6752
- }, Fo = {
6780
+ }, Io = {
6753
6781
  key: 0,
6754
6782
  class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
6755
- }, Io = {
6783
+ }, Lo = {
6756
6784
  key: 0,
6757
6785
  class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
6758
6786
  };
6759
- function Lo(t, n, o, s, c, u) {
6787
+ function Ro(t, n, o, s, c, u) {
6760
6788
  let d = D("UzTableMobileList"), f = D("NCheckbox"), p = D("NPagination"), m = D("NCheckboxGroup"), h = D("NRadio"), g = D("NRadioGroup");
6761
6789
  return t.selection === 2 ? (x(), r(m, {
6762
6790
  key: 0,
@@ -6783,7 +6811,7 @@ function Lo(t, n, o, s, c, u) {
6783
6811
  "tableColumns"
6784
6812
  ])]),
6785
6813
  _: 2
6786
- }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), a("div", Po, [l(p, {
6814
+ }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), a("div", Fo, [l(p, {
6787
6815
  page: t.tableQueries.query.page,
6788
6816
  "onUpdate:page": [n[0] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
6789
6817
  "item-count": t.tableQueries.query.itemCount,
@@ -6825,7 +6853,7 @@ function Lo(t, n, o, s, c, u) {
6825
6853
  "tableColumns"
6826
6854
  ])]),
6827
6855
  _: 2
6828
- }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), a("div", Fo, [l(p, {
6856
+ }, 1032, ["value"]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), a("div", Io, [l(p, {
6829
6857
  page: t.tableQueries.query.page,
6830
6858
  "onUpdate:page": [n[2] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
6831
6859
  "item-count": t.tableQueries.query.itemCount,
@@ -6860,7 +6888,7 @@ function Lo(t, n, o, s, c, u) {
6860
6888
  "tableData",
6861
6889
  "tableIndex",
6862
6890
  "tableColumns"
6863
- ])]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), a("div", Io, [l(p, {
6891
+ ])]))), 128)), t.tableQueries && t.tableData && t.tableData.length > 0 ? (x(), a("div", Lo, [l(p, {
6864
6892
  page: t.tableQueries.query.page,
6865
6893
  "onUpdate:page": [n[4] ||= (e) => t.tableQueries.query.page = e, t.pageChange],
6866
6894
  "item-count": t.tableQueries.query.itemCount,
@@ -6873,7 +6901,7 @@ function Lo(t, n, o, s, c, u) {
6873
6901
  "onUpdate:page"
6874
6902
  ])])) : i("", !0)], 4));
6875
6903
  }
6876
- var Ro = /*#__PURE__*/ Q(No, [["render", Lo], ["__scopeId", "data-v-70b54e3b"]]), zo = d({
6904
+ var zo = /*#__PURE__*/ Q(Po, [["render", Ro], ["__scopeId", "data-v-70b54e3b"]]), Bo = d({
6877
6905
  name: "UzTableFile",
6878
6906
  components: {
6879
6907
  UzIcon: qt,
@@ -7012,11 +7040,11 @@ var Ro = /*#__PURE__*/ Q(No, [["render", Lo], ["__scopeId", "data-v-70b54e3b"]])
7012
7040
  }
7013
7041
  };
7014
7042
  }
7015
- }), Bo = { class: "uz-file-port-modal" }, Vo = { class: "uz-file-port-card" }, Ho = { class: "uz-file-port-subtitle" }, Uo = {
7043
+ }), Vo = { class: "uz-file-port-modal" }, Ho = { class: "uz-file-port-card" }, Uo = { class: "uz-file-port-subtitle" }, Wo = {
7016
7044
  key: 1,
7017
7045
  class: "uz-file-port-panel"
7018
- }, Wo = { class: "uz-file-port-subtitle" }, Go = { class: "uz-flex uz-justify-between" }, Ko = { class: "uz-com-title" };
7019
- function qo(t, n, i, s, u, d) {
7046
+ }, Go = { class: "uz-file-port-subtitle" }, Ko = { class: "uz-flex uz-justify-between" }, qo = { class: "uz-com-title" };
7047
+ function Jo(t, n, i, s, u, d) {
7020
7048
  let f = D("UzIcon"), p = D("NIcon"), m = D("NButton"), h = D("NDropdown"), g = D("NUpload"), _ = D("NSpace"), v = D("NDataTable"), y = D("NModal");
7021
7049
  return x(), a(e, null, [l(h, {
7022
7050
  trigger: "hover",
@@ -7051,8 +7079,8 @@ function qo(t, n, i, s, u, d) {
7051
7079
  default: P(() => [c(A(t.t("File.downloadTemplate")), 1)]),
7052
7080
  _: 1
7053
7081
  }, 8, ["onClick"])]),
7054
- default: P(() => [o("div", Bo, [
7055
- t.rawFile ? (x(), a("div", Uo, [
7082
+ default: P(() => [o("div", Vo, [
7083
+ t.rawFile ? (x(), a("div", Wo, [
7056
7084
  n[2] ||= o("div", { class: "uz-file-port-icon" }, [o("svg", {
7057
7085
  xmlns: "http://www.w3.org/2000/svg",
7058
7086
  viewBox: "0 0 24 24",
@@ -7061,7 +7089,7 @@ function qo(t, n, i, s, u, d) {
7061
7089
  fill: "currentColor"
7062
7090
  }, [o("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z" })])], -1),
7063
7091
  o("div", null, A(t.rawFileName.join(",")), 1),
7064
- o("div", Wo, A(t.t("File.importWaitTip")), 1),
7092
+ o("div", Go, A(t.t("File.importWaitTip")), 1),
7065
7093
  l(_, { justify: "space-between" }, {
7066
7094
  default: P(() => [l(m, {
7067
7095
  size: "small",
@@ -7091,16 +7119,16 @@ function qo(t, n, i, s, u, d) {
7091
7119
  multiple: "",
7092
7120
  class: "uz-w-full"
7093
7121
  }, {
7094
- default: P(() => [o("div", Vo, [n[1] ||= o("div", { class: "uz-file-port-icon" }, [o("svg", {
7122
+ default: P(() => [o("div", Ho, [n[1] ||= o("div", { class: "uz-file-port-icon" }, [o("svg", {
7095
7123
  xmlns: "http://www.w3.org/2000/svg",
7096
7124
  viewBox: "0 0 24 24",
7097
7125
  width: "40",
7098
7126
  height: "40",
7099
7127
  fill: "currentColor"
7100
- }, [o("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z" })])], -1), o("div", Ho, A(t.t("File.uploadExcelTip")), 1)])]),
7128
+ }, [o("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z" })])], -1), o("div", Uo, A(t.t("File.uploadExcelTip")), 1)])]),
7101
7129
  _: 1
7102
7130
  }, 8, ["on-before-upload"])),
7103
- o("div", Go, [o("div", Ko, A(t.t("File.importHistory")), 1), l(m, {
7131
+ o("div", Ko, [o("div", qo, A(t.t("File.importHistory")), 1), l(m, {
7104
7132
  onClick: t.init,
7105
7133
  loading: t.loading,
7106
7134
  secondary: ""
@@ -7127,7 +7155,7 @@ function qo(t, n, i, s, u, d) {
7127
7155
  "on-after-leave"
7128
7156
  ])], 64);
7129
7157
  }
7130
- var Jo = /*#__PURE__*/ Q(zo, [["render", qo], ["__scopeId", "data-v-d8e581ec"]]), $ = C({
7158
+ var Yo = /*#__PURE__*/ Q(Bo, [["render", Jo], ["__scopeId", "data-v-d8e581ec"]]), $ = C({
7131
7159
  page: {
7132
7160
  label: G.global.t("Common.home"),
7133
7161
  key: "/",
@@ -7138,7 +7166,7 @@ var Jo = /*#__PURE__*/ Q(zo, [["render", qo], ["__scopeId", "data-v-d8e581ec"]])
7138
7166
  active: "/",
7139
7167
  thumbnail: []
7140
7168
  });
7141
- function Yo(e) {
7169
+ function Xo(e) {
7142
7170
  $.cache = e.cache, $.page = {
7143
7171
  label: e.label,
7144
7172
  key: e.key,
@@ -7153,14 +7181,14 @@ function Yo(e) {
7153
7181
  closable: !1
7154
7182
  }];
7155
7183
  }
7156
- function Xo(e) {
7184
+ function Zo(e) {
7157
7185
  $.active = e, Jt.push(e), q($.cache, $, 0);
7158
7186
  }
7159
- function Zo(e, t) {
7187
+ function Qo(e, t) {
7160
7188
  let n = $.thumbnail.find((t) => t.key === e);
7161
7189
  n && (n.key = t, $.active = t, q($.cache, $, 0));
7162
7190
  }
7163
- function Qo(e) {
7191
+ function $o(e) {
7164
7192
  let t = $.thumbnail.find((t) => t.path === e.key);
7165
7193
  t ? ($.active = t.key, q($.cache, $, 0), Jt.push(t.key)) : ($.active = e.key, $.thumbnail.push({
7166
7194
  ...e,
@@ -7168,7 +7196,7 @@ function Qo(e) {
7168
7196
  closable: !0
7169
7197
  }), Jt.push(e.key));
7170
7198
  }
7171
- function $o(e) {
7199
+ function es(e) {
7172
7200
  let t = $.thumbnail.findIndex((t) => t.key === e);
7173
7201
  if ($.thumbnail.splice(t, 1), $.active === e) {
7174
7202
  let e = $.thumbnail[t - 1]?.key || "";
@@ -7176,12 +7204,12 @@ function $o(e) {
7176
7204
  }
7177
7205
  q($.cache, $, 0);
7178
7206
  }
7179
- function es() {
7207
+ function ts() {
7180
7208
  $.active = $.page.path, $.thumbnail = [$.page], Jt.push($.page.path), q($.cache, $, 0);
7181
7209
  }
7182
7210
  //#endregion
7183
7211
  //#region components/thumbnail/index.vue?vue&type=script&lang.ts
7184
- var ts = d({
7212
+ var ns = d({
7185
7213
  name: "UzThumbnail",
7186
7214
  components: {
7187
7215
  NTabs: Fe,
@@ -7202,30 +7230,30 @@ var ts = d({
7202
7230
  setup(e, { slots: t }) {
7203
7231
  let { t: n } = U(), r = w(!!t.prefix), i = Je();
7204
7232
  return y(() => {
7205
- Yo(e.option), $.active !== i.path && Zo(i.path, i.fullPath);
7233
+ Xo(e.option), $.active !== i.path && Qo(i.path, i.fullPath);
7206
7234
  }), M(() => i, (e) => {
7207
- $.active === i.path && Zo(e.path, e.fullPath);
7235
+ $.active === i.path && Qo(e.path, e.fullPath);
7208
7236
  }, { deep: !0 }), M(() => e.option, (e) => {
7209
- Yo(e);
7237
+ Xo(e);
7210
7238
  }, { deep: !0 }), {
7211
7239
  t: n,
7212
7240
  thumbnailStore: $,
7213
7241
  isSlotPrefix: r,
7214
7242
  handleClose: (e) => {
7215
- $o(e);
7243
+ es(e);
7216
7244
  },
7217
7245
  handleChange: (e) => {
7218
- Xo(e);
7246
+ Zo(e);
7219
7247
  },
7220
7248
  handleClear: () => {
7221
- es();
7249
+ ts();
7222
7250
  }
7223
7251
  };
7224
7252
  }
7225
7253
  });
7226
7254
  //#endregion
7227
7255
  //#region components/thumbnail/index.vue
7228
- function ns(t, n, i, o, u, d) {
7256
+ function rs(t, n, i, o, u, d) {
7229
7257
  let f = D("NTabPane"), p = D("UzIcon"), m = D("NIcon"), h = D("NButton"), g = D("NPopconfirm"), _ = D("NFlex"), v = D("NTabs");
7230
7258
  return x(), r(v, {
7231
7259
  value: t.thumbnailStore.active,
@@ -7274,33 +7302,33 @@ function ns(t, n, i, o, u, d) {
7274
7302
  "on-update:value"
7275
7303
  ]);
7276
7304
  }
7277
- var rs = /*#__PURE__*/ Q(ts, [["render", ns]]), is = "#007AFF", as = "#0A84FF", os = "#FF9500", ss = "#FF9F0A", cs = "#28CD41", ls = "#32D74B", us = "#FFCC00", ds = "#FFD60A", fs = "#FF3B30", ps = "#FF453A";
7278
- H.common.cardColor = "#32323b", H.common.primaryColor = "#0A84FF", H.common.primaryColorHover = as, H.common.infoColor = "#FF9F0A", H.common.infoColorHover = ss, H.common.successColor = "#32D74B", H.common.successColorHover = ls, H.common.warningColor = "#FFD60A", H.common.successColorHover = ds, H.common.errorColor = "#FF453A", H.common.errorColorHover = ps, H.common.borderRadius = "var(--borderRadius)", H.common.inputColor = "rgba(var(--input))", H.common.borderColor = "rgba(var(--border), 0.7)", H.DataTable.tdColor = "#2d2d31", H.Scrollbar.width = "8px", H.Scrollbar.height = "8px", H.Scrollbar.borderRadius = "8px", H.Scrollbar.color = "#686873";
7279
- var ms = {
7305
+ var is = /*#__PURE__*/ Q(ns, [["render", rs]]), as = "#007AFF", os = "#0A84FF", ss = "#FF9500", cs = "#FF9F0A", ls = "#28CD41", us = "#32D74B", ds = "#FFCC00", fs = "#FFD60A", ps = "#FF3B30", ms = "#FF453A";
7306
+ H.common.cardColor = "#32323b", H.common.primaryColor = "#0A84FF", H.common.primaryColorHover = os, H.common.infoColor = "#FF9F0A", H.common.infoColorHover = cs, H.common.successColor = "#32D74B", H.common.successColorHover = us, H.common.warningColor = "#FFD60A", H.common.successColorHover = fs, H.common.errorColor = "#FF453A", H.common.errorColorHover = ms, H.common.borderRadius = "var(--borderRadius)", H.common.inputColor = "rgba(var(--input))", H.common.borderColor = "rgba(var(--border), 0.7)", H.DataTable.tdColor = "#2d2d31", H.Scrollbar.width = "8px", H.Scrollbar.height = "8px", H.Scrollbar.borderRadius = "8px", H.Scrollbar.color = "#686873";
7307
+ var hs = {
7280
7308
  common: {
7281
7309
  inputColor: "rgba(var(--input))",
7282
7310
  borderColor: "rgba(var(--border), 0.7)",
7283
7311
  borderRadius: "var(--borderRadius)",
7284
- primaryColor: is,
7285
- primaryColorHover: as,
7286
- primaryColorPressed: is,
7287
- primaryColorSuppl: is,
7288
- infoColor: os,
7289
- infoColorHover: ss,
7290
- infoColorPressed: os,
7291
- infoColorSuppl: os,
7292
- successColor: cs,
7293
- successColorHover: ls,
7294
- successColorPressed: cs,
7295
- successColorSuppl: cs,
7296
- warningColor: us,
7297
- warningColorHover: ds,
7298
- warningColorPressed: us,
7299
- warningColorSuppl: us,
7300
- errorColor: fs,
7301
- errorColorHover: ps,
7302
- errorColorPressed: fs,
7303
- errorColorSuppl: fs,
7312
+ primaryColor: as,
7313
+ primaryColorHover: os,
7314
+ primaryColorPressed: as,
7315
+ primaryColorSuppl: as,
7316
+ infoColor: ss,
7317
+ infoColorHover: cs,
7318
+ infoColorPressed: ss,
7319
+ infoColorSuppl: ss,
7320
+ successColor: ls,
7321
+ successColorHover: us,
7322
+ successColorPressed: ls,
7323
+ successColorSuppl: ls,
7324
+ warningColor: ds,
7325
+ warningColorHover: fs,
7326
+ warningColorPressed: ds,
7327
+ warningColorSuppl: ds,
7328
+ errorColor: ps,
7329
+ errorColorHover: ms,
7330
+ errorColorPressed: ps,
7331
+ errorColorSuppl: ps,
7304
7332
  cardColor: "#fff"
7305
7333
  },
7306
7334
  Button: { textColor: "rgb(var(--font))" },
@@ -7314,7 +7342,7 @@ var ms = {
7314
7342
  borderRadius: "8px",
7315
7343
  color: "#c0c0c0"
7316
7344
  }
7317
- }, hs = H, gs = d({
7345
+ }, gs = H, _s = d({
7318
7346
  name: "UzWrap",
7319
7347
  components: { NConfigProvider: ae },
7320
7348
  setup() {
@@ -7322,14 +7350,14 @@ var ms = {
7322
7350
  zhCN: Ue,
7323
7351
  dateZhCN: Ve,
7324
7352
  commonStore: Y,
7325
- lightTheme: ms,
7326
- darkTheme: hs
7353
+ lightTheme: hs,
7354
+ darkTheme: gs
7327
7355
  };
7328
7356
  }
7329
7357
  });
7330
7358
  //#endregion
7331
7359
  //#region components/wrap/index.vue
7332
- function _s(e, t, n, i, a, o) {
7360
+ function vs(e, t, n, i, a, o) {
7333
7361
  let s = D("NConfigProvider");
7334
7362
  return x(), r(s, {
7335
7363
  theme: e.commonStore.theme ? { name: "darkTheme" } : null,
@@ -7348,10 +7376,10 @@ function _s(e, t, n, i, a, o) {
7348
7376
  "date-locale"
7349
7377
  ]);
7350
7378
  }
7351
- var vs = /*#__PURE__*/ Q(gs, [["render", _s]]);
7379
+ var ys = /*#__PURE__*/ Q(_s, [["render", vs]]);
7352
7380
  //#endregion
7353
7381
  //#region components/ocr/preprocess.ts
7354
- function ys(e) {
7382
+ function bs(e) {
7355
7383
  let t = /* @__PURE__ */ new Int32Array(256), n = e.length;
7356
7384
  for (let r = 0; r < n; r++) t[e[r]]++;
7357
7385
  let r = 0;
@@ -7366,7 +7394,7 @@ function ys(e) {
7366
7394
  }
7367
7395
  return c;
7368
7396
  }
7369
- function bs(e, t) {
7397
+ function xs(e, t) {
7370
7398
  return new Promise((n, r) => {
7371
7399
  let i = new Image();
7372
7400
  i.crossOrigin = "anonymous", i.onload = () => {
@@ -7399,7 +7427,7 @@ function bs(e, t) {
7399
7427
  }
7400
7428
  let u = t.threshold;
7401
7429
  if (t.binarize) {
7402
- t.autoThreshold && (u = ys(l));
7430
+ t.autoThreshold && (u = bs(l));
7403
7431
  for (let e = 0, t = 0; e < s.length; e += 4, t++) {
7404
7432
  let n = l[t] < u ? 0 : 255;
7405
7433
  s[e] = n, s[e + 1] = n, s[e + 2] = n;
@@ -7422,7 +7450,7 @@ function bs(e, t) {
7422
7450
  }
7423
7451
  //#endregion
7424
7452
  //#region components/ocr/index.vue?vue&type=script&lang.ts
7425
- var xs = d({
7453
+ var Ss = d({
7426
7454
  name: "UzOcr",
7427
7455
  components: {
7428
7456
  NButton: L,
@@ -7459,7 +7487,7 @@ var xs = d({
7459
7487
  tessedit_char_blacklist: "|"
7460
7488
  }), a.value), v = async () => {
7461
7489
  if (f.value) try {
7462
- let e = await bs(f.value, {
7490
+ let e = await xs(f.value, {
7463
7491
  enabled: o.value,
7464
7492
  scale: s.value,
7465
7493
  grayscale: !0,
@@ -7496,7 +7524,7 @@ var xs = d({
7496
7524
  t.value = !0, r.value = e("OCR.analysis");
7497
7525
  let a = n;
7498
7526
  if (o.value || s.value > 1) try {
7499
- let e = await bs(n, {
7527
+ let e = await xs(n, {
7500
7528
  enabled: o.value,
7501
7529
  scale: s.value,
7502
7530
  grayscale: !0,
@@ -7558,25 +7586,25 @@ var xs = d({
7558
7586
  t: e
7559
7587
  };
7560
7588
  }
7561
- }), Ss = { class: "uz-ocr" }, Cs = { class: "uz-ocr-left-col" }, ws = { class: "uz-ocr-upload-card" }, Ts = { class: "uz-ocr-upload-title" }, Es = { class: "uz-ocr-upload-subtitle" }, Ds = {
7589
+ }), Cs = { class: "uz-ocr" }, ws = { class: "uz-ocr-left-col" }, Ts = { class: "uz-ocr-upload-card" }, Es = { class: "uz-ocr-upload-title" }, Ds = { class: "uz-ocr-upload-subtitle" }, Os = {
7562
7590
  key: 1,
7563
7591
  class: "uz-ocr-preview-panel"
7564
- }, Os = { class: "uz-ocr-preview-box" }, ks = ["src"], As = {
7592
+ }, ks = { class: "uz-ocr-preview-box" }, As = ["src"], js = {
7565
7593
  key: 0,
7566
7594
  class: "uz-ocr-threshold-badge"
7567
- }, js = { class: "uz-ocr-preview-box" }, Ms = ["src"], Ns = { class: "uz-ocr-settings-form" }, Ps = { class: "uz-settings-row" }, Fs = { class: "uz-settings-label" }, Is = {
7595
+ }, Ms = { class: "uz-ocr-preview-box" }, Ns = ["src"], Ps = { class: "uz-ocr-settings-form" }, Fs = { class: "uz-settings-row" }, Is = { class: "uz-settings-label" }, Ls = {
7568
7596
  key: 0,
7569
7597
  class: "uz-ocr-nested-settings animate-fade-in"
7570
- }, Ls = { class: "uz-settings-row" }, Rs = { class: "uz-settings-label" }, zs = { class: "uz-settings-row" }, Bs = { class: "uz-settings-label" }, Vs = { class: "uz-ocr-right-col" }, Hs = { class: "uz-ocr-result-header" }, Us = { class: "uz-result-title" }, Ws = {
7598
+ }, Rs = { class: "uz-settings-row" }, zs = { class: "uz-settings-label" }, Bs = { class: "uz-settings-row" }, Vs = { class: "uz-settings-label" }, Hs = { class: "uz-ocr-right-col" }, Us = { class: "uz-ocr-result-header" }, Ws = { class: "uz-result-title" }, Gs = {
7571
7599
  key: 0,
7572
7600
  class: "uz-ocr-empty-state"
7573
- }, Gs = { class: "uz-empty-text" }, Ks = {
7601
+ }, Ks = { class: "uz-empty-text" }, qs = {
7574
7602
  key: 1,
7575
7603
  class: "uz-ocr-result-tabs"
7576
7604
  };
7577
- function qs(e, t, n, s, u, d) {
7605
+ function Js(e, t, n, s, u, d) {
7578
7606
  let f = D("NUpload"), p = D("NTabPane"), m = D("NTabs"), h = D("NButton"), g = D("NSpace"), _ = D("NSwitch"), v = D("NSelect");
7579
- return x(), a("div", Ss, [o("div", Cs, [e.rawImage ? (x(), a("div", Ds, [l(m, {
7607
+ return x(), a("div", Cs, [o("div", ws, [e.rawImage ? (x(), a("div", Os, [l(m, {
7580
7608
  value: e.imagePreviewTab,
7581
7609
  "onUpdate:value": t[0] ||= (t) => e.imagePreviewTab = t,
7582
7610
  type: "segment",
@@ -7586,21 +7614,21 @@ function qs(e, t, n, s, u, d) {
7586
7614
  name: "processed",
7587
7615
  tab: e.t("OCR.previewProcessed")
7588
7616
  }, {
7589
- default: P(() => [o("div", Os, [o("img", {
7617
+ default: P(() => [o("div", ks, [o("img", {
7590
7618
  src: e.processedImage,
7591
7619
  alt: "Processed Preview",
7592
7620
  class: "uz-ocr-preview-img"
7593
- }, null, 8, ks), e.preEnabled && e.preBinarize ? (x(), a("div", As, A(e.preAutoThreshold ? e.t("OCR.autoThreshold") : e.t("OCR.manualThreshold")) + A(e.t("OCR.threshold")) + ": " + A(e.thresholdUsed), 1)) : i("", !0)])]),
7621
+ }, null, 8, As), e.preEnabled && e.preBinarize ? (x(), a("div", js, A(e.preAutoThreshold ? e.t("OCR.autoThreshold") : e.t("OCR.manualThreshold")) + A(e.t("OCR.threshold")) + ": " + A(e.thresholdUsed), 1)) : i("", !0)])]),
7594
7622
  _: 1
7595
7623
  }, 8, ["tab"]), l(p, {
7596
7624
  name: "raw",
7597
7625
  tab: e.t("OCR.previewRaw")
7598
7626
  }, {
7599
- default: P(() => [o("div", js, [o("img", {
7627
+ default: P(() => [o("div", Ms, [o("img", {
7600
7628
  src: e.rawImage,
7601
7629
  alt: "Raw Preview",
7602
7630
  class: "uz-ocr-preview-img"
7603
- }, null, 8, Ms)])]),
7631
+ }, null, 8, Ns)])]),
7604
7632
  _: 1
7605
7633
  }, 8, ["tab"])]),
7606
7634
  _: 1
@@ -7634,7 +7662,7 @@ function qs(e, t, n, s, u, d) {
7634
7662
  "directory-dnd": "",
7635
7663
  class: "uz-w-full"
7636
7664
  }, {
7637
- default: P(() => [o("div", ws, [
7665
+ default: P(() => [o("div", Ts, [
7638
7666
  t[4] ||= o("div", { class: "uz-ocr-upload-icon" }, [o("svg", {
7639
7667
  xmlns: "http://www.w3.org/2000/svg",
7640
7668
  viewBox: "0 0 24 24",
@@ -7642,32 +7670,32 @@ function qs(e, t, n, s, u, d) {
7642
7670
  height: "40",
7643
7671
  fill: "currentColor"
7644
7672
  }, [o("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z" })])], -1),
7645
- o("div", Ts, A(e.t("OCR.scan")), 1),
7646
- o("div", Es, A(e.t("OCR.uploadTip")), 1)
7673
+ o("div", Es, A(e.t("OCR.scan")), 1),
7674
+ o("div", Ds, A(e.t("OCR.uploadTip")), 1)
7647
7675
  ])]),
7648
7676
  _: 1
7649
- }, 8, ["on-before-upload"])), o("div", Ns, [o("div", Ps, [o("span", Fs, A(e.t("OCR.preprocess")), 1), l(_, {
7677
+ }, 8, ["on-before-upload"])), o("div", Ps, [o("div", Fs, [o("span", Is, A(e.t("OCR.preprocess")), 1), l(_, {
7650
7678
  value: e.preEnabled,
7651
7679
  "onUpdate:value": t[1] ||= (t) => e.preEnabled = t,
7652
7680
  size: "small"
7653
- }, null, 8, ["value"])]), e.preEnabled ? (x(), a("div", Is, [o("div", Ls, [o("span", Rs, A(e.t("OCR.scale")), 1), l(v, {
7681
+ }, null, 8, ["value"])]), e.preEnabled ? (x(), a("div", Ls, [o("div", Rs, [o("span", zs, A(e.t("OCR.scale")), 1), l(v, {
7654
7682
  value: e.preScale,
7655
7683
  "onUpdate:value": t[2] ||= (t) => e.preScale = t,
7656
7684
  options: e.scaleOptions,
7657
7685
  size: "small",
7658
7686
  class: "uz-settings-select"
7659
- }, null, 8, ["value", "options"])]), o("div", zs, [o("span", Bs, A(e.t("OCR.contrast")), 1), l(_, {
7687
+ }, null, 8, ["value", "options"])]), o("div", Bs, [o("span", Vs, A(e.t("OCR.contrast")), 1), l(_, {
7660
7688
  value: e.preContrast,
7661
7689
  "onUpdate:value": t[3] ||= (t) => e.preContrast = t,
7662
7690
  size: "small"
7663
- }, null, 8, ["value"])])])) : i("", !0)])]), o("div", Vs, [o("div", Hs, [o("span", Us, A(e.t("OCR.result", { count: e.text.length })), 1)]), e.text.length ? (x(), a("div", Ks, A(e.fullText), 1)) : (x(), a("div", Ws, [t[5] ||= o("div", { class: "uz-empty-icon" }, "📝", -1), o("div", Gs, A(e.ocrLoading ? e.t("OCR.reading") : e.t("OCR.empty")), 1)]))])]);
7691
+ }, null, 8, ["value"])])])) : i("", !0)])]), o("div", Hs, [o("div", Us, [o("span", Ws, A(e.t("OCR.result", { count: e.text.length })), 1)]), e.text.length ? (x(), a("div", qs, A(e.fullText), 1)) : (x(), a("div", Gs, [t[5] ||= o("div", { class: "uz-empty-icon" }, "📝", -1), o("div", Ks, A(e.ocrLoading ? e.t("OCR.reading") : e.t("OCR.empty")), 1)]))])]);
7664
7692
  }
7665
- var Js = /*#__PURE__*/ Q(xs, [["render", qs], ["__scopeId", "data-v-1e757396"]]), Ys = /* @__PURE__ */ lt({
7693
+ var Ys = /*#__PURE__*/ Q(Ss, [["render", Js], ["__scopeId", "data-v-1e757396"]]), Xs = /* @__PURE__ */ lt({
7666
7694
  UzActionButton: () => ut,
7667
7695
  UzBack: () => xr,
7668
- UzBom: () => Ni,
7669
- UzCamera: () => wa,
7670
- UzCircle: () => _a,
7696
+ UzBom: () => Pi,
7697
+ UzCamera: () => Ta,
7698
+ UzCircle: () => va,
7671
7699
  UzDraggableForm: () => Pr,
7672
7700
  UzForm: () => kr,
7673
7701
  UzFormItem: () => Tr,
@@ -7675,24 +7703,24 @@ var Js = /*#__PURE__*/ Q(xs, [["render", qs], ["__scopeId", "data-v-1e757396"]])
7675
7703
  UzFormItemTimesPicker: () => Jr,
7676
7704
  UzFormItemUpload: () => Br,
7677
7705
  UzIcon: () => qt,
7678
- UzOcr: () => Js,
7679
- UzSearchBar: () => Pa,
7680
- UzSearchMobileBar: () => Ba,
7681
- UzSpin: () => Ua,
7682
- UzTable: () => ao,
7683
- UzTableChild: () => ho,
7684
- UzTableDrawer: () => Oo,
7685
- UzTableFile: () => Jo,
7686
- UzTableMobile: () => Ro,
7687
- UzTableQuestChild: () => xo,
7688
- UzThumbnail: () => rs,
7689
- UzWrap: () => vs,
7706
+ UzOcr: () => Ys,
7707
+ UzSearchBar: () => Fa,
7708
+ UzSearchMobileBar: () => Va,
7709
+ UzSpin: () => Wa,
7710
+ UzTable: () => oo,
7711
+ UzTableChild: () => go,
7712
+ UzTableDrawer: () => ko,
7713
+ UzTableFile: () => Yo,
7714
+ UzTableMobile: () => zo,
7715
+ UzTableQuestChild: () => So,
7716
+ UzThumbnail: () => is,
7717
+ UzWrap: () => ys,
7690
7718
  commonStore: () => Y,
7691
7719
  fnActionReduction: () => vr,
7692
7720
  fnActionSimplify: () => _r,
7693
- fnAddThumbnail: () => Qo,
7694
- fnClearAllThumbnail: () => es,
7695
- fnDeleteThumbnail: () => $o,
7721
+ fnAddThumbnail: () => $o,
7722
+ fnClearAllThumbnail: () => ts,
7723
+ fnDeleteThumbnail: () => es,
7696
7724
  fnGetTableData: () => _i,
7697
7725
  fnOptionReduction: () => Ci,
7698
7726
  fnOptionSimplify: () => Si,
@@ -7701,18 +7729,18 @@ var Js = /*#__PURE__*/ Q(xs, [["render", qs], ["__scopeId", "data-v-1e757396"]])
7701
7729
  fnRenderAction: () => ur,
7702
7730
  fnSetLang: () => Ht,
7703
7731
  fnSetTheme: () => Ut,
7704
- fnSetThumbnail: () => Xo,
7732
+ fnSetThumbnail: () => Zo,
7705
7733
  fnTableReduction: () => yi,
7706
7734
  fnTableSimplify: () => vi,
7707
7735
  fnTriggersReduction: () => xi,
7708
7736
  fnTriggersSimplify: () => bi,
7709
7737
  i18n: () => G
7710
- }), Xs = 3840, Zs = 2160, Qs = C({ scale: 1 });
7711
- function $s(e, t) {
7712
- Xs = e, Zs = t;
7738
+ }), Zs = 3840, Qs = 2160, $s = C({ scale: 1 });
7739
+ function ec(e, t) {
7740
+ Zs = e, Qs = t;
7713
7741
  }
7714
- function ec() {
7715
- let e = 1, t = window.innerWidth, n = window.innerHeight, r = Xs, i = Zs, a = parseFloat((r / i).toFixed(5));
7742
+ function tc() {
7743
+ let e = 1, t = window.innerWidth, n = window.innerHeight, r = Zs, i = Qs, a = parseFloat((r / i).toFixed(5));
7716
7744
  if (parseFloat((t / n).toFixed(5)) > a) {
7717
7745
  let t = parseFloat((n * a / r).toFixed(5));
7718
7746
  e = t > 1 ? 1 : t;
@@ -7720,17 +7748,17 @@ function ec() {
7720
7748
  let n = parseFloat((t / a / i).toFixed(5));
7721
7749
  e = n > 1 ? 1 : n;
7722
7750
  }
7723
- Qs.scale = e;
7751
+ $s.scale = e;
7724
7752
  }
7725
- function tc() {
7726
- let e = Ze(ec, 200);
7753
+ function nc() {
7754
+ let e = Ze(tc, 200);
7727
7755
  return e(), window.addEventListener("resize", e), () => {
7728
- Xs = 3840, Zs = 2160, window.removeEventListener("resize", e);
7756
+ Zs = 3840, Qs = 2160, window.removeEventListener("resize", e);
7729
7757
  };
7730
7758
  }
7731
7759
  //#endregion
7732
7760
  //#region components/hooks/useThrottleFn.ts
7733
- function nc(e, t = 1e3) {
7761
+ function rc(e, t = 1e3) {
7734
7762
  let r = w(e), i = n(() => Qe((...e) => r.value([...e]), t));
7735
7763
  return b(() => {
7736
7764
  i.value.cancel();
@@ -7742,14 +7770,14 @@ function nc(e, t = 1e3) {
7742
7770
  }
7743
7771
  //#endregion
7744
7772
  //#region components/hooks/useLocalStorage.ts
7745
- function rc(e, t) {
7773
+ function ic(e, t) {
7746
7774
  return [w(J(e, t?.defaultValue)), (n) => {
7747
7775
  n === void 0 ? Et(e) : q(e, n, t?.expired || "1 Day");
7748
7776
  }];
7749
7777
  }
7750
7778
  //#endregion
7751
7779
  //#region components/hooks/useQuery.ts
7752
- function ic(e, t, n) {
7780
+ function ac(e, t, n) {
7753
7781
  let r = `useQuery-${e}`, i = w(), a = w(), o = w(), s = w(!1), c = w("idle"), l = w(), u = w(0), d = w(0), f = () => {
7754
7782
  Un(), clearInterval(o.value), o.value = null;
7755
7783
  }, p = async () => {
@@ -7815,26 +7843,26 @@ function ic(e, t, n) {
7815
7843
  }
7816
7844
  //#endregion
7817
7845
  //#region package.json
7818
- var ac = "0.1.132", oc;
7819
- async function sc() {
7846
+ var oc = "0.1.134", sc;
7847
+ async function cc() {
7820
7848
  let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
7821
7849
  method: "HEAD",
7822
7850
  cache: "no-cache"
7823
7851
  });
7824
7852
  return e.headers.get("etag") || e.headers.get("last-modified");
7825
7853
  }
7826
- async function cc() {
7827
- let e = await sc();
7828
- oc !== e && Wt(!0);
7829
- }
7830
7854
  async function lc() {
7831
- oc = await sc(), window.versionMonitor && clearInterval(window.versionMonitor), window.versionMonitor = setInterval(() => {
7832
- cc();
7855
+ let e = await cc();
7856
+ sc !== e && Wt(!0);
7857
+ }
7858
+ async function uc() {
7859
+ sc = await cc(), window.versionMonitor && clearInterval(window.versionMonitor), window.versionMonitor = setInterval(() => {
7860
+ lc();
7833
7861
  }, 6e4);
7834
7862
  }
7835
7863
  //#endregion
7836
7864
  //#region components/create.ts
7837
- function uc({ components: e = [] } = {}) {
7865
+ function dc({ components: e = [] } = {}) {
7838
7866
  let t = [];
7839
7867
  function n(e, t, n) {
7840
7868
  e.component(t) || e.component(t, n);
@@ -7850,16 +7878,16 @@ function uc({ components: e = [] } = {}) {
7850
7878
  Vt(o), Ht(d), Gt(e || G.global.t("App.title")), Ut(u), Bt({
7851
7879
  icons: c,
7852
7880
  iconDefault: l
7853
- }), G.global.locale.value = d, a && lc(), t && Nn(r, t, n);
7881
+ }), G.global.locale.value = d, a && uc(), t && Nn(r, t, n);
7854
7882
  }
7855
7883
  }
7856
7884
  return {
7857
- version: ac,
7885
+ version: oc,
7858
7886
  install: r
7859
7887
  };
7860
7888
  }
7861
7889
  //#endregion
7862
7890
  //#region components/preset.ts
7863
- var dc = uc({ components: Object.keys(Ys).map((e) => Ys[e]) }), fc = dc.install;
7891
+ var fc = dc({ components: Object.keys(Xs).map((e) => Xs[e]) }), pc = fc.install;
7864
7892
  //#endregion
7865
- export { Gn as BLOB, Kn as CUSTOM, qn as FILE, Wn as GET, Z as POST, ut as UzActionButton, xr as UzBack, Ni as UzBom, wa as UzCamera, _a as UzCircle, Pr as UzDraggableForm, kr as UzForm, Tr as UzFormItem, Wr as UzFormItemImage, Jr as UzFormItemTimesPicker, Br as UzFormItemUpload, qt as UzIcon, Js as UzOcr, Pa as UzSearchBar, Ba as UzSearchMobileBar, Ua as UzSpin, ao as UzTable, ho as UzTableChild, Oo as UzTableDrawer, Jo as UzTableFile, Ro as UzTableMobile, xo as UzTableQuestChild, rs as UzThumbnail, vs as UzWrap, Y as commonStore, uc as create, hs as darkTheme, dc as default, vr as fnActionReduction, _r as fnActionSimplify, Qo as fnAddThumbnail, Un as fnCancelFetch, es as fnClearAllThumbnail, ec as fnComputedScale, Yt as fnCreateRouter, Et as fnDelStorage, Ot as fnDelStorageAll, Dt as fnDelStorageByPrefix, $o as fnDeleteThumbnail, Tt as fnDialog, K as fnErrorLog, Rt as fnFilterByPinyinInitials, jt as fnFormatTime, Ft as fnFormatUnits, Pt as fnFullScreen, J as fnGetStorage, _i as fnGetTableData, tc as fnListenerScale, wt as fnNotification, Ci as fnOptionReduction, Si as fnOptionSimplify, At as fnPageModel2Naive, wi as fnPrepareFormData, Ti as fnPrepareTableData, ur as fnRenderAction, kt as fnScrollTop, Ht as fnSetLang, $s as fnSetNormalWidthAndHeight, q as fnSetStorage, Ut as fnSetTheme, Xo as fnSetThumbnail, yi as fnTableReduction, vi as fnTableSimplify, Nt as fnThrottle, Mt as fnTitle, xi as fnTriggersReduction, bi as fnTriggersSimplify, G as i18n, fc as install, ms as lightTheme, zt as mergeColumns, Jt as router, Qs as scaleStore, Yr as useDebounceFn, rc as useLocalStorage, ic as useQuery, nc as useThrottleFn };
7893
+ export { Gn as BLOB, Kn as CUSTOM, qn as FILE, Wn as GET, Z as POST, ut as UzActionButton, xr as UzBack, Pi as UzBom, Ta as UzCamera, va as UzCircle, Pr as UzDraggableForm, kr as UzForm, Tr as UzFormItem, Wr as UzFormItemImage, Jr as UzFormItemTimesPicker, Br as UzFormItemUpload, qt as UzIcon, Ys as UzOcr, Fa as UzSearchBar, Va as UzSearchMobileBar, Wa as UzSpin, oo as UzTable, go as UzTableChild, ko as UzTableDrawer, Yo as UzTableFile, zo as UzTableMobile, So as UzTableQuestChild, is as UzThumbnail, ys as UzWrap, Y as commonStore, dc as create, gs as darkTheme, fc as default, vr as fnActionReduction, _r as fnActionSimplify, $o as fnAddThumbnail, Un as fnCancelFetch, ts as fnClearAllThumbnail, tc as fnComputedScale, Yt as fnCreateRouter, Et as fnDelStorage, Ot as fnDelStorageAll, Dt as fnDelStorageByPrefix, es as fnDeleteThumbnail, Tt as fnDialog, K as fnErrorLog, Rt as fnFilterByPinyinInitials, jt as fnFormatTime, Ft as fnFormatUnits, Pt as fnFullScreen, J as fnGetStorage, _i as fnGetTableData, nc as fnListenerScale, wt as fnNotification, Ci as fnOptionReduction, Si as fnOptionSimplify, At as fnPageModel2Naive, wi as fnPrepareFormData, Ti as fnPrepareTableData, ur as fnRenderAction, kt as fnScrollTop, Ht as fnSetLang, ec as fnSetNormalWidthAndHeight, q as fnSetStorage, Ut as fnSetTheme, Zo as fnSetThumbnail, yi as fnTableReduction, vi as fnTableSimplify, Nt as fnThrottle, Mt as fnTitle, xi as fnTriggersReduction, bi as fnTriggersSimplify, G as i18n, pc as install, hs as lightTheme, zt as mergeColumns, Jt as router, $s as scaleStore, Yr as useDebounceFn, ic as useLocalStorage, ac as useQuery, rc as useThrottleFn };