@unizhen/ui 0.1.10 → 0.1.12
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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as re, openBlock as s, createElementBlock as d, createStaticVNode as
|
|
1
|
+
import { defineComponent as re, openBlock as s, createElementBlock as d, createStaticVNode as A, createElementVNode as r, ref as M, watch as ce, nextTick as be, h as ee, reactive as At, resolveComponent as x, createBlock as B, withCtx as m, toDisplayString as P, createVNode as b, computed as Se, normalizeStyle as ye, inject as De, normalizeClass as ie, createSlots as Ce, createTextVNode as E, Fragment as se, renderList as we, provide as Tt, resolveDirective as Dn, withDirectives as Ge, createCommentVNode as Q, onMounted as Ee, mergeProps as Ft, withModifiers as at, watchEffect as Tn, onBeforeUnmount as Ot, withKeys as Va, renderSlot as ke, markRaw as Ua, defineAsyncComponent as ja, onUnmounted as Fn, vShow as Bt, resolveDynamicComponent as mn } from "vue";
|
|
2
2
|
import { createDiscreteApi as Aa, NPopover as Ze, NFlex as Bn, NButton as ve, NPopconfirm as Rt, NTooltip as In, NIcon as ge, NDropdown as Oa, NCascader as Ra, NCheckboxGroup as Vn, NCheckbox as Pt, NColorPicker as Pa, NSwitch as Ha, NTimePicker as Ea, NDatePicker as qa, NInputNumber as La, NSelect as Un, NInput as Ka, NDivider as Ht, NFormItem as Et, NForm as qt, NSpin as it, NInputGroup as Lt, NUploadDragger as Wa, NImage as jn, NUpload as Ga, useNotification as Kt, NImageGroup as Qa, NModal as Ja, NInputGroupLabel as An, NGridItem as On, NGrid as Rn, NButtonGroup as Xa, NDrawerContent as Pn, NDrawer as Hn, NEllipsis as Ya, NSkeleton as En, NDataTable as Wt, NRadioGroup as Za, NPagination as es, NRadio as ts, NTabPane as ns, NTabs as os, darkTheme as he, NConfigProvider as rs, dateZhCN as as, zhCN as ss } from "naive-ui";
|
|
3
3
|
import Gt from "axios";
|
|
4
4
|
import { createRouter as ls, createWebHistory as is, useRouter as cs, useRoute as ct } from "vue-router";
|
|
@@ -50,7 +50,7 @@ const ms = re({
|
|
|
50
50
|
};
|
|
51
51
|
function vs(e, t) {
|
|
52
52
|
return s(), d("svg", gs, [...t[0] || (t[0] = [
|
|
53
|
-
|
|
53
|
+
A('<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)
|
|
54
54
|
])]);
|
|
55
55
|
}
|
|
56
56
|
const Kn = /* @__PURE__ */ w(ws, [["render", vs]]), ks = {}, ys = {
|
|
@@ -77,7 +77,7 @@ const Wn = /* @__PURE__ */ w(ks, [["render", bs]]), xs = {}, _s = {
|
|
|
77
77
|
};
|
|
78
78
|
function $s(e, t) {
|
|
79
79
|
return s(), d("svg", _s, [...t[0] || (t[0] = [
|
|
80
|
-
|
|
80
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="10" r="2"></circle><path d="M6 4v4"></path><path d="M6 12v8"></path><circle cx="12" cy="16" r="2"></circle><path d="M12 4v10"></path><path d="M12 18v2"></path><circle cx="18" cy="7" r="2"></circle><path d="M18 4v1"></path><path d="M18 9v11"></path></g>', 1)
|
|
81
81
|
])]);
|
|
82
82
|
}
|
|
83
83
|
const Gn = /* @__PURE__ */ w(xs, [["render", $s]]), Cs = {}, Ms = {
|
|
@@ -87,7 +87,7 @@ const Gn = /* @__PURE__ */ w(xs, [["render", $s]]), Cs = {}, Ms = {
|
|
|
87
87
|
};
|
|
88
88
|
function zs(e, t) {
|
|
89
89
|
return s(), d("svg", Ms, [...t[0] || (t[0] = [
|
|
90
|
-
|
|
90
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="14" cy="6" r="2"></circle><path d="M4 6h8"></path><path d="M16 6h4"></path><circle cx="8" cy="12" r="2"></circle><path d="M4 12h2"></path><path d="M10 12h10"></path><circle cx="17" cy="18" r="2"></circle><path d="M4 18h11"></path><path d="M19 18h1"></path></g>', 1)
|
|
91
91
|
])]);
|
|
92
92
|
}
|
|
93
93
|
const Qn = /* @__PURE__ */ w(Cs, [["render", zs]]), Ns = {}, Ss = {
|
|
@@ -97,7 +97,7 @@ const Qn = /* @__PURE__ */ w(Cs, [["render", zs]]), Ns = {}, Ss = {
|
|
|
97
97
|
};
|
|
98
98
|
function Ds(e, t) {
|
|
99
99
|
return s(), d("svg", Ss, [...t[0] || (t[0] = [
|
|
100
|
-
|
|
100
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5.931 6.936l1.275 4.249m5.607 5.609l4.251 1.275"></path><path d="M11.683 12.317l5.759-5.759"></path><circle cx="5.5" cy="5.5" r="1.5"></circle><circle cx="18.5" cy="5.5" r="1.5"></circle><circle cx="18.5" cy="18.5" r="1.5"></circle><circle cx="8.5" cy="15.5" r="4.5"></circle></g>', 1)
|
|
101
101
|
])]);
|
|
102
102
|
}
|
|
103
103
|
const Jn = /* @__PURE__ */ w(Ns, [["render", Ds]]), Ts = {}, Fs = {
|
|
@@ -107,7 +107,7 @@ const Jn = /* @__PURE__ */ w(Ns, [["render", Ds]]), Ts = {}, Fs = {
|
|
|
107
107
|
};
|
|
108
108
|
function Bs(e, t) {
|
|
109
109
|
return s(), d("svg", Fs, [...t[0] || (t[0] = [
|
|
110
|
-
|
|
110
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="13" r="7"></circle><path d="M12 10v3h2"></path><path d="M7 4L4.25 6"></path><path d="M17 4l2.75 2"></path></g>', 1)
|
|
111
111
|
])]);
|
|
112
112
|
}
|
|
113
113
|
const Xn = /* @__PURE__ */ w(Ts, [["render", Bs]]), Is = {}, Vs = {
|
|
@@ -141,7 +141,7 @@ const Yn = /* @__PURE__ */ w(Is, [["render", Us]]), js = {}, As = {
|
|
|
141
141
|
};
|
|
142
142
|
function Os(e, t) {
|
|
143
143
|
return s(), d("svg", As, [...t[0] || (t[0] = [
|
|
144
|
-
|
|
144
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15H5.5a2.5 2.5 0 1 1 0-5H6"></path><path d="M15 12v6.5a2.5 2.5 0 1 1-5 0V18"></path><path d="M12 9h6.5a2.5 2.5 0 1 1 0 5H18"></path><path d="M9 12V5.5a2.5 2.5 0 0 1 5 0V6"></path></g>', 1)
|
|
145
145
|
])]);
|
|
146
146
|
}
|
|
147
147
|
const Zn = /* @__PURE__ */ w(js, [["render", Os]]), Rs = {}, Ps = {
|
|
@@ -151,7 +151,7 @@ const Zn = /* @__PURE__ */ w(js, [["render", Os]]), Rs = {}, Ps = {
|
|
|
151
151
|
};
|
|
152
152
|
function Hs(e, t) {
|
|
153
153
|
return s(), d("svg", Ps, [...t[0] || (t[0] = [
|
|
154
|
-
|
|
154
|
+
A('<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><rect x="4" y="14" width="6" height="6" rx="1"></rect><rect x="14" y="14" width="6" height="6" rx="1"></rect><path d="M14 7h6"></path><path d="M17 4v6"></path></g>', 1)
|
|
155
155
|
])]);
|
|
156
156
|
}
|
|
157
157
|
const eo = /* @__PURE__ */ w(Rs, [["render", Hs]]), Es = {}, qs = {
|
|
@@ -279,7 +279,7 @@ const ro = /* @__PURE__ */ w(tl, [["render", ol]]), rl = {}, al = {
|
|
|
279
279
|
};
|
|
280
280
|
function sl(e, t) {
|
|
281
281
|
return s(), d("svg", al, [...t[0] || (t[0] = [
|
|
282
|
-
|
|
282
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"></circle><path d="M12 21v.01"></path><path d="M3 9v.01"></path><path d="M21 9v.01"></path><path d="M8 20.1A9 9 0 0 1 3 13"></path><path d="M16 20.1a9 9 0 0 0 5-7.1"></path><path d="M6.2 5a9 9 0 0 1 11.4 0"></path></g>', 1)
|
|
283
283
|
])]);
|
|
284
284
|
}
|
|
285
285
|
const ao = /* @__PURE__ */ w(rl, [["render", sl]]), ll = {}, il = {
|
|
@@ -313,7 +313,7 @@ const so = /* @__PURE__ */ w(ll, [["render", cl]]), ul = {}, dl = {
|
|
|
313
313
|
};
|
|
314
314
|
function pl(e, t) {
|
|
315
315
|
return s(), d("svg", dl, [...t[0] || (t[0] = [
|
|
316
|
-
|
|
316
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 7V6a2 2 0 0 1 2-2h2"></path><path d="M4 17v1a2 2 0 0 0 2 2h2"></path><path d="M16 4h2a2 2 0 0 1 2 2v1"></path><path d="M16 20h2a2 2 0 0 0 2-2v-1"></path><path d="M5 11h1v2H5z"></path><path d="M10 11v2"></path><path d="M14 11h1v2h-1z"></path><path d="M19 11v2"></path></g>', 1)
|
|
317
317
|
])]);
|
|
318
318
|
}
|
|
319
319
|
const lo = /* @__PURE__ */ w(ul, [["render", pl]]), fl = {}, hl = {
|
|
@@ -403,7 +403,7 @@ const po = /* @__PURE__ */ w(xl, [["render", $l]]), Cl = {}, Ml = {
|
|
|
403
403
|
};
|
|
404
404
|
function zl(e, t) {
|
|
405
405
|
return s(), d("svg", Ml, [...t[0] || (t[0] = [
|
|
406
|
-
|
|
406
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l8 4.5v9L12 21l-8-4.5v-9L12 3"></path><path d="M12 12l8-4.5"></path><path d="M12 12v9"></path><path d="M12 12L4 7.5"></path></g>', 1)
|
|
407
407
|
])]);
|
|
408
408
|
}
|
|
409
409
|
const fo = /* @__PURE__ */ w(Cl, [["render", zl]]), Nl = {}, Sl = {
|
|
@@ -445,7 +445,7 @@ const ho = /* @__PURE__ */ w(Nl, [["render", Dl]]), Tl = {}, Fl = {
|
|
|
445
445
|
};
|
|
446
446
|
function Bl(e, t) {
|
|
447
447
|
return s(), d("svg", Fl, [...t[0] || (t[0] = [
|
|
448
|
-
|
|
448
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="7" width="18" height="13" rx="2"></rect><path d="M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><path d="M12 12v.01"></path><path d="M3 13a20 20 0 0 0 18 0"></path></g>', 1)
|
|
449
449
|
])]);
|
|
450
450
|
}
|
|
451
451
|
const mo = /* @__PURE__ */ w(Tl, [["render", Bl]]), Il = {}, Vl = {
|
|
@@ -455,7 +455,7 @@ const mo = /* @__PURE__ */ w(Tl, [["render", Bl]]), Il = {}, Vl = {
|
|
|
455
455
|
};
|
|
456
456
|
function Ul(e, t) {
|
|
457
457
|
return s(), d("svg", Vl, [...t[0] || (t[0] = [
|
|
458
|
-
|
|
458
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 21h18"></path><path d="M9 8h1"></path><path d="M9 12h1"></path><path d="M9 16h1"></path><path d="M14 8h1"></path><path d="M14 12h1"></path><path d="M14 16h1"></path><path d="M5 21V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16"></path></g>', 1)
|
|
459
459
|
])]);
|
|
460
460
|
}
|
|
461
461
|
const wo = /* @__PURE__ */ w(Il, [["render", Ul]]), jl = {}, Al = {
|
|
@@ -485,7 +485,7 @@ const go = /* @__PURE__ */ w(jl, [["render", Ol]]), Rl = {}, Pl = {
|
|
|
485
485
|
};
|
|
486
486
|
function Hl(e, t) {
|
|
487
487
|
return s(), d("svg", Pl, [...t[0] || (t[0] = [
|
|
488
|
-
|
|
488
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="5" width="14" height="14" rx="1"></rect><path d="M9 9h6v6H9z"></path><path d="M3 10h2"></path><path d="M3 14h2"></path><path d="M10 3v2"></path><path d="M14 3v2"></path><path d="M21 10h-2"></path><path d="M21 14h-2"></path><path d="M14 21v-2"></path><path d="M10 21v-2"></path></g>', 1)
|
|
489
489
|
])]);
|
|
490
490
|
}
|
|
491
491
|
const vo = /* @__PURE__ */ w(Rl, [["render", Hl]]), El = {}, ql = {
|
|
@@ -495,7 +495,7 @@ const vo = /* @__PURE__ */ w(Rl, [["render", Hl]]), El = {}, ql = {
|
|
|
495
495
|
};
|
|
496
496
|
function Ll(e, t) {
|
|
497
497
|
return s(), d("svg", ql, [...t[0] || (t[0] = [
|
|
498
|
-
|
|
498
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="3" width="16" height="18" rx="2"></rect><rect x="8" y="7" width="8" height="3" rx="1"></rect><path d="M8 14v.01"></path><path d="M12 14v.01"></path><path d="M16 14v.01"></path><path d="M8 17v.01"></path><path d="M12 17v.01"></path><path d="M16 17v.01"></path></g>', 1)
|
|
499
499
|
])]);
|
|
500
500
|
}
|
|
501
501
|
const ko = /* @__PURE__ */ w(El, [["render", Ll]]), Kl = {}, Wl = {
|
|
@@ -505,7 +505,7 @@ const ko = /* @__PURE__ */ w(El, [["render", Ll]]), Kl = {}, Wl = {
|
|
|
505
505
|
};
|
|
506
506
|
function Gl(e, t) {
|
|
507
507
|
return s(), d("svg", Wl, [...t[0] || (t[0] = [
|
|
508
|
-
|
|
508
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="5" width="16" height="16" rx="2"></rect><path d="M16 3v4"></path><path d="M8 3v4"></path><path d="M4 11h16"></path><path d="M11 15h1"></path><path d="M12 15v3"></path></g>', 1)
|
|
509
509
|
])]);
|
|
510
510
|
}
|
|
511
511
|
const yo = /* @__PURE__ */ w(Kl, [["render", Gl]]), Ql = {}, Jl = {
|
|
@@ -515,7 +515,7 @@ const yo = /* @__PURE__ */ w(Kl, [["render", Gl]]), Ql = {}, Jl = {
|
|
|
515
515
|
};
|
|
516
516
|
function Xl(e, t) {
|
|
517
517
|
return s(), d("svg", Jl, [...t[0] || (t[0] = [
|
|
518
|
-
|
|
518
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="5" width="16" height="16" rx="2"></rect><path d="M16 3v4"></path><path d="M8 3v4"></path><path d="M4 11h16"></path><path d="M10 16h4"></path><path d="M12 14v4"></path></g>', 1)
|
|
519
519
|
])]);
|
|
520
520
|
}
|
|
521
521
|
const bo = /* @__PURE__ */ w(Ql, [["render", Xl]]), Yl = {}, Zl = {
|
|
@@ -525,7 +525,7 @@ const bo = /* @__PURE__ */ w(Ql, [["render", Xl]]), Yl = {}, Zl = {
|
|
|
525
525
|
};
|
|
526
526
|
function ei(e, t) {
|
|
527
527
|
return s(), d("svg", Zl, [...t[0] || (t[0] = [
|
|
528
|
-
|
|
528
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.795 21H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4"></path><path d="M18 14v4h4"></path><circle cx="18" cy="18" r="4"></circle><path d="M15 3v4"></path><path d="M7 3v4"></path><path d="M3 11h16"></path></g>', 1)
|
|
529
529
|
])]);
|
|
530
530
|
}
|
|
531
531
|
const xo = /* @__PURE__ */ w(Yl, [["render", ei]]), ti = {}, ni = {
|
|
@@ -611,7 +611,7 @@ const Co = /* @__PURE__ */ w(ui, [["render", pi]]), fi = {}, hi = {
|
|
|
611
611
|
};
|
|
612
612
|
function mi(e, t) {
|
|
613
613
|
return s(), d("svg", hi, [...t[0] || (t[0] = [
|
|
614
|
-
|
|
614
|
+
A('<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)
|
|
615
615
|
])]);
|
|
616
616
|
}
|
|
617
617
|
const Mo = /* @__PURE__ */ w(fi, [["render", mi]]), wi = {}, gi = {
|
|
@@ -710,7 +710,7 @@ const Do = /* @__PURE__ */ w(Ci, [["render", zi]]), Ni = {}, Si = {
|
|
|
710
710
|
};
|
|
711
711
|
function Di(e, t) {
|
|
712
712
|
return s(), d("svg", Si, [...t[0] || (t[0] = [
|
|
713
|
-
|
|
713
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l9.5 7L18 21H6L2.5 10z"></path><path d="M12 7.5l5.5 4L15 17H8.5l-2-5.5z"></path><path d="M2.5 10l9.5 3l9.5-3"></path><path d="M12 3v10l6 8"></path><path d="M6 21l6-8"></path></g>', 1)
|
|
714
714
|
])]);
|
|
715
715
|
}
|
|
716
716
|
const To = /* @__PURE__ */ w(Ni, [["render", Di]]), Ti = {}, Fi = {
|
|
@@ -739,7 +739,7 @@ const Fo = /* @__PURE__ */ w(Ti, [["render", Bi]]), Ii = {}, Vi = {
|
|
|
739
739
|
};
|
|
740
740
|
function Ui(e, t) {
|
|
741
741
|
return s(), d("svg", Vi, [...t[0] || (t[0] = [
|
|
742
|
-
|
|
742
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2"></path><rect x="9" y="3" width="6" height="4" rx="2"></rect><path d="M9 14h.01"></path><path d="M9 17h.01"></path><path d="M12 16l1 1l3-3"></path></g>', 1)
|
|
743
743
|
])]);
|
|
744
744
|
}
|
|
745
745
|
const Bo = /* @__PURE__ */ w(Ii, [["render", Ui]]), ji = {}, Ai = {
|
|
@@ -800,7 +800,7 @@ const Vo = /* @__PURE__ */ w(Ri, [["render", Hi]]), Ei = {}, qi = {
|
|
|
800
800
|
};
|
|
801
801
|
function Li(e, t) {
|
|
802
802
|
return s(), d("svg", qi, [...t[0] || (t[0] = [
|
|
803
|
-
|
|
803
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2"></path><rect x="9" y="3" width="6" height="4" rx="2"></rect><path d="M9 12h.01"></path><path d="M13 12h2"></path><path d="M9 16h.01"></path><path d="M13 16h2"></path></g>', 1)
|
|
804
804
|
])]);
|
|
805
805
|
}
|
|
806
806
|
const Uo = /* @__PURE__ */ w(Ei, [["render", Li]]), Ki = {}, Wi = {
|
|
@@ -810,7 +810,7 @@ const Uo = /* @__PURE__ */ w(Ei, [["render", Li]]), Ki = {}, Wi = {
|
|
|
810
810
|
};
|
|
811
811
|
function Gi(e, t) {
|
|
812
812
|
return s(), d("svg", Wi, [...t[0] || (t[0] = [
|
|
813
|
-
|
|
813
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2"></path><rect x="9" y="3" width="6" height="4" rx="2"></rect><path d="M10 14h4"></path><path d="M12 12v4"></path></g>', 1)
|
|
814
814
|
])]);
|
|
815
815
|
}
|
|
816
816
|
const jo = /* @__PURE__ */ w(Ki, [["render", Gi]]), Qi = {}, Ji = {
|
|
@@ -942,7 +942,7 @@ const Po = /* @__PURE__ */ w(uc, [["render", pc]]), fc = {}, hc = {
|
|
|
942
942
|
};
|
|
943
943
|
function mc(e, t) {
|
|
944
944
|
return s(), d("svg", hc, [...t[0] || (t[0] = [
|
|
945
|
-
|
|
945
|
+
A('<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)
|
|
946
946
|
])]);
|
|
947
947
|
}
|
|
948
948
|
const Ho = /* @__PURE__ */ w(fc, [["render", mc]]), wc = {}, gc = {
|
|
@@ -952,7 +952,7 @@ const Ho = /* @__PURE__ */ w(fc, [["render", mc]]), wc = {}, gc = {
|
|
|
952
952
|
};
|
|
953
953
|
function vc(e, t) {
|
|
954
954
|
return s(), d("svg", gc, [...t[0] || (t[0] = [
|
|
955
|
-
|
|
955
|
+
A('<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)
|
|
956
956
|
])]);
|
|
957
957
|
}
|
|
958
958
|
const Eo = /* @__PURE__ */ w(wc, [["render", vc]]), kc = {}, yc = {
|
|
@@ -1057,7 +1057,7 @@ const Wo = /* @__PURE__ */ w(Nc, [["render", Dc]]), Tc = {}, Fc = {
|
|
|
1057
1057
|
};
|
|
1058
1058
|
function Bc(e, t) {
|
|
1059
1059
|
return s(), d("svg", Fc, [...t[0] || (t[0] = [
|
|
1060
|
-
|
|
1060
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="12" rx="1"></rect><path d="M7 20h10"></path><path d="M9 16v4"></path><path d="M15 16v4"></path><path d="M8 12l3-3l2 2l3-3"></path></g>', 1)
|
|
1061
1061
|
])]);
|
|
1062
1062
|
}
|
|
1063
1063
|
const Go = /* @__PURE__ */ w(Tc, [["render", Bc]]), Ic = {}, Vc = {
|
|
@@ -1067,7 +1067,7 @@ const Go = /* @__PURE__ */ w(Tc, [["render", Bc]]), Ic = {}, Vc = {
|
|
|
1067
1067
|
};
|
|
1068
1068
|
function Uc(e, t) {
|
|
1069
1069
|
return s(), d("svg", Vc, [...t[0] || (t[0] = [
|
|
1070
|
-
|
|
1070
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="12" rx="1"></rect><path d="M7 20h10"></path><path d="M9 16v4"></path><path d="M15 16v4"></path></g>', 1)
|
|
1071
1071
|
])]);
|
|
1072
1072
|
}
|
|
1073
1073
|
const Qo = /* @__PURE__ */ w(Ic, [["render", Uc]]), jc = {}, Ac = {
|
|
@@ -1077,7 +1077,7 @@ const Qo = /* @__PURE__ */ w(Ic, [["render", Uc]]), jc = {}, Ac = {
|
|
|
1077
1077
|
};
|
|
1078
1078
|
function Oc(e, t) {
|
|
1079
1079
|
return s(), d("svg", Ac, [...t[0] || (t[0] = [
|
|
1080
|
-
|
|
1080
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="12" rx="1"></rect><path d="M7 20h10"></path><path d="M9 16v4"></path><path d="M15 16v4"></path><path d="M9 12V8"></path><path d="M12 12v-1"></path><path d="M15 12v-2"></path><path d="M12 12v-1"></path></g>', 1)
|
|
1081
1081
|
])]);
|
|
1082
1082
|
}
|
|
1083
1083
|
const Jo = /* @__PURE__ */ w(jc, [["render", Oc]]), Rc = {}, Pc = {
|
|
@@ -1302,7 +1302,7 @@ const ar = /* @__PURE__ */ w(uu, [["render", pu]]), fu = {}, hu = {
|
|
|
1302
1302
|
};
|
|
1303
1303
|
function mu(e, t) {
|
|
1304
1304
|
return s(), d("svg", hu, [...t[0] || (t[0] = [
|
|
1305
|
-
|
|
1305
|
+
A('<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)
|
|
1306
1306
|
])]);
|
|
1307
1307
|
}
|
|
1308
1308
|
const sr = /* @__PURE__ */ w(fu, [["render", mu]]), wu = {}, gu = {
|
|
@@ -1312,7 +1312,7 @@ const sr = /* @__PURE__ */ w(fu, [["render", mu]]), wu = {}, gu = {
|
|
|
1312
1312
|
};
|
|
1313
1313
|
function vu(e, t) {
|
|
1314
1314
|
return s(), d("svg", gu, [...t[0] || (t[0] = [
|
|
1315
|
-
|
|
1315
|
+
A('<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)
|
|
1316
1316
|
])]);
|
|
1317
1317
|
}
|
|
1318
1318
|
const lr = /* @__PURE__ */ w(wu, [["render", vu]]), ku = {}, yu = {
|
|
@@ -1322,7 +1322,7 @@ const lr = /* @__PURE__ */ w(wu, [["render", vu]]), ku = {}, yu = {
|
|
|
1322
1322
|
};
|
|
1323
1323
|
function bu(e, t) {
|
|
1324
1324
|
return s(), d("svg", yu, [...t[0] || (t[0] = [
|
|
1325
|
-
|
|
1325
|
+
A('<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 9h1"></path><path d="M9 13h6"></path><path d="M9 17h6"></path></g>', 1)
|
|
1326
1326
|
])]);
|
|
1327
1327
|
}
|
|
1328
1328
|
const ut = /* @__PURE__ */ w(ku, [["render", bu]]), xu = {}, _u = {
|
|
@@ -1349,7 +1349,7 @@ const dt = /* @__PURE__ */ w(xu, [["render", $u]]), Cu = {}, Mu = {
|
|
|
1349
1349
|
};
|
|
1350
1350
|
function zu(e, t) {
|
|
1351
1351
|
return s(), d("svg", Mu, [...t[0] || (t[0] = [
|
|
1352
|
-
|
|
1352
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6" r="2"></circle><circle cx="18" cy="18" r="2"></circle><path d="M11 6h5a2 2 0 0 1 2 2v8"></path><path d="M14 9l-3-3l3-3"></path><path d="M13 18H8a2 2 0 0 1-2-2V8"></path><path d="M10 15l3 3l-3 3"></path></g>', 1)
|
|
1353
1353
|
])]);
|
|
1354
1354
|
}
|
|
1355
1355
|
const ir = /* @__PURE__ */ w(Cu, [["render", zu]]), Nu = {}, Su = {
|
|
@@ -1359,7 +1359,7 @@ const ir = /* @__PURE__ */ w(Cu, [["render", zu]]), Nu = {}, Su = {
|
|
|
1359
1359
|
};
|
|
1360
1360
|
function Du(e, t) {
|
|
1361
1361
|
return s(), d("svg", Su, [...t[0] || (t[0] = [
|
|
1362
|
-
|
|
1362
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="18" r="2"></circle><circle cx="6" cy="6" r="2"></circle><circle cx="18" cy="18" r="2"></circle><path d="M6 8v8"></path><path d="M11 6h5a2 2 0 0 1 2 2v8"></path><path d="M14 9l-3-3l3-3"></path></g>', 1)
|
|
1363
1363
|
])]);
|
|
1364
1364
|
}
|
|
1365
1365
|
const cr = /* @__PURE__ */ w(Nu, [["render", Du]]), Tu = {}, Fu = {
|
|
@@ -1369,7 +1369,7 @@ const cr = /* @__PURE__ */ w(Nu, [["render", Du]]), Tu = {}, Fu = {
|
|
|
1369
1369
|
};
|
|
1370
1370
|
function Bu(e, t) {
|
|
1371
1371
|
return s(), d("svg", Fu, [...t[0] || (t[0] = [
|
|
1372
|
-
|
|
1372
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="5" cy="5" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="19" cy="5" r="1"></circle><circle cx="5" cy="12" r="1"></circle><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="19" r="1"></circle><circle cx="12" cy="19" r="1"></circle><circle cx="19" cy="19" r="1"></circle></g>', 1)
|
|
1373
1373
|
])]);
|
|
1374
1374
|
}
|
|
1375
1375
|
const Qe = /* @__PURE__ */ w(Tu, [["render", Bu]]), Iu = {}, Vu = {
|
|
@@ -1399,7 +1399,7 @@ const ur = /* @__PURE__ */ w(Iu, [["render", Uu]]), ju = {}, Au = {
|
|
|
1399
1399
|
};
|
|
1400
1400
|
function Ou(e, t) {
|
|
1401
1401
|
return s(), d("svg", Au, [...t[0] || (t[0] = [
|
|
1402
|
-
|
|
1402
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="16" rx="3"></rect><circle cx="9" cy="10" r="2"></circle><path d="M15 8h2"></path><path d="M15 12h2"></path><path d="M7 16h10"></path></g>', 1)
|
|
1403
1403
|
])]);
|
|
1404
1404
|
}
|
|
1405
1405
|
const dr = /* @__PURE__ */ w(ju, [["render", Ou]]), Ru = {}, Pu = {
|
|
@@ -1480,7 +1480,7 @@ const hr = /* @__PURE__ */ w(Ku, [["render", Gu]]), Qu = {}, Ju = {
|
|
|
1480
1480
|
};
|
|
1481
1481
|
function Xu(e, t) {
|
|
1482
1482
|
return s(), d("svg", Ju, [...t[0] || (t[0] = [
|
|
1483
|
-
|
|
1483
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 6h11"></path><path d="M9 12h11"></path><path d="M9 18h11"></path><path d="M5 6v.01"></path><path d="M5 12v.01"></path><path d="M5 18v.01"></path></g>', 1)
|
|
1484
1484
|
])]);
|
|
1485
1485
|
}
|
|
1486
1486
|
const mr = /* @__PURE__ */ w(Qu, [["render", Xu]]), Yu = {}, Zu = {
|
|
@@ -1490,7 +1490,7 @@ const mr = /* @__PURE__ */ w(Qu, [["render", Xu]]), Yu = {}, Zu = {
|
|
|
1490
1490
|
};
|
|
1491
1491
|
function ed(e, t) {
|
|
1492
1492
|
return s(), d("svg", Zu, [...t[0] || (t[0] = [
|
|
1493
|
-
|
|
1493
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3.5 5.5L5 7l2.5-2.5"></path><path d="M3.5 11.5L5 13l2.5-2.5"></path><path d="M3.5 17.5L5 19l2.5-2.5"></path><path d="M11 6h9"></path><path d="M11 12h9"></path><path d="M11 18h9"></path></g>', 1)
|
|
1494
1494
|
])]);
|
|
1495
1495
|
}
|
|
1496
1496
|
const wr = /* @__PURE__ */ w(Yu, [["render", ed]]), td = {}, nd = {
|
|
@@ -1500,7 +1500,7 @@ const wr = /* @__PURE__ */ w(Yu, [["render", ed]]), td = {}, nd = {
|
|
|
1500
1500
|
};
|
|
1501
1501
|
function od(e, t) {
|
|
1502
1502
|
return s(), d("svg", nd, [...t[0] || (t[0] = [
|
|
1503
|
-
|
|
1503
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M13 5h8"></path><path d="M13 9h5"></path><path d="M13 15h8"></path><path d="M13 19h5"></path><rect x="3" y="4" width="6" height="6" rx="1"></rect><rect x="3" y="14" width="6" height="6" rx="1"></rect></g>', 1)
|
|
1504
1504
|
])]);
|
|
1505
1505
|
}
|
|
1506
1506
|
const gr = /* @__PURE__ */ w(td, [["render", od]]), rd = {}, ad = {
|
|
@@ -1615,7 +1615,7 @@ const xr = /* @__PURE__ */ w(wd, [["render", vd]]), kd = {}, yd = {
|
|
|
1615
1615
|
};
|
|
1616
1616
|
function bd(e, t) {
|
|
1617
1617
|
return s(), d("svg", yd, [...t[0] || (t[0] = [
|
|
1618
|
-
|
|
1618
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 8h.01"></path><rect x="4" y="4" width="16" height="16" rx="3"></rect><path d="M4 15l4-4a3 5 0 0 1 3 0l5 5"></path><path d="M14 14l1-1a3 5 0 0 1 3 0l2 2"></path></g>', 1)
|
|
1619
1619
|
])]);
|
|
1620
1620
|
}
|
|
1621
1621
|
const _r = /* @__PURE__ */ w(kd, [["render", bd]]), xd = {}, _d = {
|
|
@@ -1625,7 +1625,7 @@ const _r = /* @__PURE__ */ w(kd, [["render", bd]]), xd = {}, _d = {
|
|
|
1625
1625
|
};
|
|
1626
1626
|
function $d(e, t) {
|
|
1627
1627
|
return s(), d("svg", _d, [...t[0] || (t[0] = [
|
|
1628
|
-
|
|
1628
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 3l18 18"></path><path d="M15 8h.01"></path><path d="M19.121 19.122A3 3 0 0 1 17 20H7a3 3 0 0 1-3-3V7c0-.833.34-1.587.888-2.131M8 4h9a3 3 0 0 1 3 3v9"></path><path d="M4 15l4-4c.928-.893 2.072-.893 3 0l5 5"></path><path d="M16.32 12.34c.577-.059 1.162.162 1.68.66l2 2"></path></g>', 1)
|
|
1629
1629
|
])]);
|
|
1630
1630
|
}
|
|
1631
1631
|
const pt = /* @__PURE__ */ w(xd, [["render", $d]]), Cd = {}, Md = {
|
|
@@ -1635,7 +1635,7 @@ const pt = /* @__PURE__ */ w(xd, [["render", $d]]), Cd = {}, Md = {
|
|
|
1635
1635
|
};
|
|
1636
1636
|
function zd(e, t) {
|
|
1637
1637
|
return s(), d("svg", Md, [...t[0] || (t[0] = [
|
|
1638
|
-
|
|
1638
|
+
A('<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><rect x="14" y="4" width="6" height="6" rx="1"></rect><rect x="4" y="14" width="6" height="6" rx="1"></rect><path d="M14 17h6m-3-3v6"></path></g>', 1)
|
|
1639
1639
|
])]);
|
|
1640
1640
|
}
|
|
1641
1641
|
const qe = /* @__PURE__ */ w(Cd, [["render", zd]]), Nd = {}, Sd = {
|
|
@@ -1645,7 +1645,7 @@ const qe = /* @__PURE__ */ w(Cd, [["render", zd]]), Nd = {}, Sd = {
|
|
|
1645
1645
|
};
|
|
1646
1646
|
function Dd(e, t) {
|
|
1647
1647
|
return s(), d("svg", Sd, [...t[0] || (t[0] = [
|
|
1648
|
-
|
|
1648
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 4h18"></path><path d="M4 4v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4"></path><path d="M12 16v4"></path><path d="M9 20h6"></path><path d="M8 12l3-3l2 2l3-3"></path></g>', 1)
|
|
1649
1649
|
])]);
|
|
1650
1650
|
}
|
|
1651
1651
|
const $r = /* @__PURE__ */ w(Nd, [["render", Dd]]), Td = {}, Fd = {
|
|
@@ -1655,7 +1655,7 @@ const $r = /* @__PURE__ */ w(Nd, [["render", Dd]]), Td = {}, Fd = {
|
|
|
1655
1655
|
};
|
|
1656
1656
|
function Bd(e, t) {
|
|
1657
1657
|
return s(), d("svg", Fd, [...t[0] || (t[0] = [
|
|
1658
|
-
|
|
1658
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 12V8"></path><path d="M15 12v-2"></path><path d="M12 12v-1"></path><path d="M3 4h18"></path><path d="M4 4v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4"></path><path d="M12 16v4"></path><path d="M9 20h6"></path></g>', 1)
|
|
1659
1659
|
])]);
|
|
1660
1660
|
}
|
|
1661
1661
|
const Cr = /* @__PURE__ */ w(Td, [["render", Bd]]), Id = {}, Vd = {
|
|
@@ -1691,7 +1691,7 @@ const Mr = /* @__PURE__ */ w(Id, [["render", Ud]]), jd = {}, Ad = {
|
|
|
1691
1691
|
};
|
|
1692
1692
|
function Od(e, t) {
|
|
1693
1693
|
return s(), d("svg", Ad, [...t[0] || (t[0] = [
|
|
1694
|
-
|
|
1694
|
+
A('<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)
|
|
1695
1695
|
])]);
|
|
1696
1696
|
}
|
|
1697
1697
|
const zr = /* @__PURE__ */ w(jd, [["render", Od]]), Rd = {}, Pd = {
|
|
@@ -1720,7 +1720,7 @@ const ft = /* @__PURE__ */ w(Rd, [["render", Hd]]), Ed = {}, qd = {
|
|
|
1720
1720
|
};
|
|
1721
1721
|
function Ld(e, t) {
|
|
1722
1722
|
return s(), d("svg", qd, [...t[0] || (t[0] = [
|
|
1723
|
-
|
|
1723
|
+
A('<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)
|
|
1724
1724
|
])]);
|
|
1725
1725
|
}
|
|
1726
1726
|
const Nr = /* @__PURE__ */ w(Ed, [["render", Ld]]), Kd = {}, Wd = {
|
|
@@ -1730,7 +1730,7 @@ const Nr = /* @__PURE__ */ w(Ed, [["render", Ld]]), Kd = {}, Wd = {
|
|
|
1730
1730
|
};
|
|
1731
1731
|
function Gd(e, t) {
|
|
1732
1732
|
return s(), d("svg", Wd, [...t[0] || (t[0] = [
|
|
1733
|
-
|
|
1733
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2"></path><rect x="9" y="3" width="6" height="4" rx="2"></rect><path d="M9 17v-5"></path><path d="M12 17v-1"></path><path d="M15 17v-3"></path></g>', 1)
|
|
1734
1734
|
])]);
|
|
1735
1735
|
}
|
|
1736
1736
|
const Sr = /* @__PURE__ */ w(Kd, [["render", Gd]]), Qd = {}, Jd = {
|
|
@@ -1740,7 +1740,7 @@ const Sr = /* @__PURE__ */ w(Kd, [["render", Gd]]), Qd = {}, Jd = {
|
|
|
1740
1740
|
};
|
|
1741
1741
|
function Xd(e, t) {
|
|
1742
1742
|
return s(), d("svg", Jd, [...t[0] || (t[0] = [
|
|
1743
|
-
|
|
1743
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2"></path><rect x="9" y="3" width="6" height="4" rx="2"></rect><path d="M14 11h-2.5a1.5 1.5 0 0 0 0 3h1a1.5 1.5 0 0 1 0 3H10"></path><path d="M12 17v1m0-8v1"></path></g>', 1)
|
|
1744
1744
|
])]);
|
|
1745
1745
|
}
|
|
1746
1746
|
const Dr = /* @__PURE__ */ w(Qd, [["render", Xd]]), Yd = {}, Zd = {
|
|
@@ -1750,7 +1750,7 @@ const Dr = /* @__PURE__ */ w(Qd, [["render", Xd]]), Yd = {}, Zd = {
|
|
|
1750
1750
|
};
|
|
1751
1751
|
function ep(e, t) {
|
|
1752
1752
|
return s(), d("svg", Zd, [...t[0] || (t[0] = [
|
|
1753
|
-
|
|
1753
|
+
A('<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 12V7a2 2 0 0 0-2-2h-2"></path><rect x="8" y="3" width="6" height="4" rx="2"></rect><path d="M8 11h4"></path><path d="M8 15h3"></path><circle cx="16.5" cy="17.5" r="2.5"></circle><path d="M18.5 19.5L21 22"></path></g>', 1)
|
|
1754
1754
|
])]);
|
|
1755
1755
|
}
|
|
1756
1756
|
const Tr = /* @__PURE__ */ w(Yd, [["render", ep]]), tp = {}, np = {
|
|
@@ -1888,7 +1888,7 @@ const Ur = /* @__PURE__ */ w(wp, [["render", vp]]), kp = {}, yp = {
|
|
|
1888
1888
|
};
|
|
1889
1889
|
function bp(e, t) {
|
|
1890
1890
|
return s(), d("svg", yp, [...t[0] || (t[0] = [
|
|
1891
|
-
|
|
1891
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 7h16"></path><path d="M10 11v6"></path><path d="M14 11v6"></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-12"></path><path d="M9 7V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3"></path></g>', 1)
|
|
1892
1892
|
])]);
|
|
1893
1893
|
}
|
|
1894
1894
|
const et = /* @__PURE__ */ w(kp, [["render", bp]]), xp = {}, _p = {
|
|
@@ -1969,7 +1969,7 @@ const Or = /* @__PURE__ */ w(Np, [["render", Dp]]), Tp = {}, Fp = {
|
|
|
1969
1969
|
};
|
|
1970
1970
|
function Bp(e, t) {
|
|
1971
1971
|
return s(), d("svg", Fp, [...t[0] || (t[0] = [
|
|
1972
|
-
|
|
1972
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="7" r="4"></circle><path d="M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path><path d="M21 21v-2a4 4 0 0 0-3-3.85"></path></g>', 1)
|
|
1973
1973
|
])]);
|
|
1974
1974
|
}
|
|
1975
1975
|
const Rr = /* @__PURE__ */ w(Tp, [["render", Bp]]), Ip = {}, Vp = {
|
|
@@ -2124,7 +2124,7 @@ const Kr = /* @__PURE__ */ w(Yp, [["render", ef]]), tf = {}, nf = {
|
|
|
2124
2124
|
};
|
|
2125
2125
|
function of(e, t) {
|
|
2126
2126
|
return s(), d("svg", nf, [...t[0] || (t[0] = [
|
|
2127
|
-
|
|
2127
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 4v.01"></path><path d="M20 20v.01"></path><path d="M20 16v.01"></path><path d="M20 12v.01"></path><path d="M20 8v.01"></path><rect x="8" y="4" width="8" height="16" rx="1"></rect><path d="M4 4v.01"></path><path d="M4 20v.01"></path><path d="M4 16v.01"></path><path d="M4 12v.01"></path><path d="M4 8v.01"></path></g>', 1)
|
|
2128
2128
|
])]);
|
|
2129
2129
|
}
|
|
2130
2130
|
const Wr = /* @__PURE__ */ w(tf, [["render", of]]), rf = {}, af = {
|
|
@@ -2158,7 +2158,7 @@ const Gr = /* @__PURE__ */ w(rf, [["render", sf]]), lf = {}, cf = {
|
|
|
2158
2158
|
};
|
|
2159
2159
|
function uf(e, t) {
|
|
2160
2160
|
return s(), d("svg", cf, [...t[0] || (t[0] = [
|
|
2161
|
-
|
|
2161
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="4" width="4" height="16" rx="1"></rect><rect x="9" y="4" width="4" height="16" rx="1"></rect><path d="M5 8h4"></path><path d="M9 16h4"></path><g transform="rotate(-13 27.054 -55.827)"><rect width="4" height="16" rx="1"></rect><path d="M0 4h4"></path><path d="M0 12h4"></path></g></g>', 1)
|
|
2162
2162
|
])]);
|
|
2163
2163
|
}
|
|
2164
2164
|
const Qr = /* @__PURE__ */ w(lf, [["render", uf]]), df = {}, pf = {
|
|
@@ -2168,7 +2168,7 @@ const Qr = /* @__PURE__ */ w(lf, [["render", uf]]), df = {}, pf = {
|
|
|
2168
2168
|
};
|
|
2169
2169
|
function ff(e, t) {
|
|
2170
2170
|
return s(), d("svg", pf, [...t[0] || (t[0] = [
|
|
2171
|
-
|
|
2171
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 5h2"></path><path d="M5 4v2"></path><path d="M11.5 4L11 6"></path><path d="M18 5h2"></path><path d="M19 4v2"></path><path d="M15 9l-1 1"></path><path d="M18 13l2-.5"></path><path d="M18 19h2"></path><path d="M19 18v2"></path><path d="M14 16.518L7.482 10l-4.39 9.58a1.003 1.003 0 0 0 1.329 1.329L14 16.519z"></path></g>', 1)
|
|
2172
2172
|
])]);
|
|
2173
2173
|
}
|
|
2174
2174
|
const Jr = /* @__PURE__ */ w(df, [["render", ff]]), hf = {}, mf = {
|
|
@@ -2191,7 +2191,7 @@ const Xr = /* @__PURE__ */ w(hf, [["render", wf]]), gf = {}, vf = {
|
|
|
2191
2191
|
};
|
|
2192
2192
|
function kf(e, t) {
|
|
2193
2193
|
return s(), d("svg", vf, [...t[0] || (t[0] = [
|
|
2194
|
-
|
|
2194
|
+
A('<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 17v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1"></path><path d="M8 16h8"></path><path d="M8.322 12.582l7.956.836"></path><path d="M8.787 9.168l7.826 1.664"></path><path d="M10.096 5.764l7.608 2.472"></path></g>', 1)
|
|
2195
2195
|
])]);
|
|
2196
2196
|
}
|
|
2197
2197
|
const Yr = /* @__PURE__ */ w(gf, [["render", kf]]), Zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2707,7 +2707,7 @@ const mt = "/apiserver/", kn = () => {
|
|
|
2707
2707
|
_e.delete(l);
|
|
2708
2708
|
});
|
|
2709
2709
|
return _e.set(l, i), i;
|
|
2710
|
-
},
|
|
2710
|
+
}, de = (e, t = {}, n = "json", c = 3e5) => {
|
|
2711
2711
|
const l = JSON.stringify({
|
|
2712
2712
|
fetchUri: e,
|
|
2713
2713
|
...t
|
|
@@ -2735,7 +2735,7 @@ const mt = "/apiserver/", kn = () => {
|
|
|
2735
2735
|
url: `${mt}${e}`,
|
|
2736
2736
|
method: "POST",
|
|
2737
2737
|
data: t
|
|
2738
|
-
}), Hf = (e) =>
|
|
2738
|
+
}), Hf = (e) => de("dynamic-table/queryById", { id: e }), Ef = (e) => de("dynamic-table/createTime", { id: e }), Ve = (e) => de("table/query", e), We = (e) => de("table/submit", e), qf = (e) => de("table/delete", e), yn = (e, t, n) => de("calculation/sqlExecute", {
|
|
2739
2739
|
calculationIds: e,
|
|
2740
2740
|
linkId: t,
|
|
2741
2741
|
...n
|
|
@@ -2774,7 +2774,7 @@ const mt = "/apiserver/", kn = () => {
|
|
|
2774
2774
|
...i
|
|
2775
2775
|
}),
|
|
2776
2776
|
Oe,
|
|
2777
|
-
|
|
2777
|
+
de
|
|
2778
2778
|
);
|
|
2779
2779
|
} catch (l) {
|
|
2780
2780
|
oe(l);
|
|
@@ -2855,8 +2855,8 @@ const mt = "/apiserver/", kn = () => {
|
|
|
2855
2855
|
return e.forEach((a) => {
|
|
2856
2856
|
if (a.type === "group") {
|
|
2857
2857
|
const p = [];
|
|
2858
|
-
a.children && a.children.length > 0 && a.children.forEach((
|
|
2859
|
-
delete
|
|
2858
|
+
a.children && a.children.length > 0 && a.children.forEach((_, z) => {
|
|
2859
|
+
delete _.tooltipText, p.push(bn(_, t, n, c, l)), z < a.children.length - 1 && p.push(
|
|
2860
2860
|
ee(
|
|
2861
2861
|
"div",
|
|
2862
2862
|
{
|
|
@@ -2997,6 +2997,8 @@ const mt = "/apiserver/", kn = () => {
|
|
|
2997
2997
|
u: e?.optionsSource,
|
|
2998
2998
|
a: Wf(e?.action),
|
|
2999
2999
|
r: e.footer ? 1 : 0,
|
|
3000
|
+
g: e.main ? 1 : 0,
|
|
3001
|
+
h: e.sub ? 1 : 0,
|
|
3000
3002
|
w: e?.width,
|
|
3001
3003
|
z: e?.onClick
|
|
3002
3004
|
}), _n = (e) => ({
|
|
@@ -3013,6 +3015,8 @@ const mt = "/apiserver/", kn = () => {
|
|
|
3013
3015
|
optionsSource: e?.u,
|
|
3014
3016
|
action: Gf(e?.a),
|
|
3015
3017
|
footer: !!e.r,
|
|
3018
|
+
sub: !!e.h,
|
|
3019
|
+
main: !!e.g,
|
|
3016
3020
|
width: e?.w,
|
|
3017
3021
|
onClick: e?.z
|
|
3018
3022
|
}), Qf = (e) => {
|
|
@@ -3068,8 +3072,8 @@ const mt = "/apiserver/", kn = () => {
|
|
|
3068
3072
|
}
|
|
3069
3073
|
});
|
|
3070
3074
|
function Xf(e, t, n, c, l, i) {
|
|
3071
|
-
const a = x("ArrowNarrowLeft"), p = x("NIcon"),
|
|
3072
|
-
return s(), B(
|
|
3075
|
+
const a = x("ArrowNarrowLeft"), p = x("NIcon"), _ = x("NButton");
|
|
3076
|
+
return s(), B(_, {
|
|
3073
3077
|
quaternary: "",
|
|
3074
3078
|
onClick: e.back
|
|
3075
3079
|
}, {
|
|
@@ -3400,7 +3404,7 @@ const xh = /* @__PURE__ */ w(nh, [["render", bh]]), _h = re({
|
|
|
3400
3404
|
t,
|
|
3401
3405
|
e.itemIndex,
|
|
3402
3406
|
y,
|
|
3403
|
-
|
|
3407
|
+
de
|
|
3404
3408
|
);
|
|
3405
3409
|
ne && typeof ne == "object" && Object.keys(ne).forEach((T) => {
|
|
3406
3410
|
e.formValue[T] = ne[T];
|
|
@@ -3412,7 +3416,7 @@ const xh = /* @__PURE__ */ w(nh, [["render", bh]]), _h = re({
|
|
|
3412
3416
|
oe(K);
|
|
3413
3417
|
}
|
|
3414
3418
|
else
|
|
3415
|
-
g.form.updateValue(S, F, y,
|
|
3419
|
+
g.form.updateValue(S, F, y, de);
|
|
3416
3420
|
}
|
|
3417
3421
|
},
|
|
3418
3422
|
selectFallback: (g) => g ? {
|
|
@@ -3501,7 +3505,7 @@ const xh = /* @__PURE__ */ w(nh, [["render", bh]]), _h = re({
|
|
|
3501
3505
|
}
|
|
3502
3506
|
}), $h = { class: "uz-flex uz-flex-wrap uz-gap-2" };
|
|
3503
3507
|
function Ch(e, t, n, c, l, i) {
|
|
3504
|
-
const a = x("NInput"), p = x("NDropdown"),
|
|
3508
|
+
const a = x("NInput"), p = x("NDropdown"), _ = x("NInputNumber"), z = x("NDatePicker"), D = x("NSelect"), N = x("NCascader"), v = x("NColorPicker"), o = x("NCheckbox"), h = x("NCheckboxGroup"), f = x("NTimePicker"), u = x("UzFormItemTimesPicker"), g = x("NSwitch"), S = x("UzFormItemUpload");
|
|
3505
3509
|
return e.item.input === "input" ? (s(), B(a, {
|
|
3506
3510
|
key: 0,
|
|
3507
3511
|
value: e.formValue[e.item.key],
|
|
@@ -3587,7 +3591,7 @@ function Ch(e, t, n, c, l, i) {
|
|
|
3587
3591
|
]), 1032, ["value", "type", "placeholder", "disabled", "readonly", "clearable", "minlength", "maxlength", "rows", "show-count", "class"])
|
|
3588
3592
|
]),
|
|
3589
3593
|
_: 1
|
|
3590
|
-
}, 8, ["show", "options", "render-label"])) : e.item.input === "number" ? (s(), B(
|
|
3594
|
+
}, 8, ["show", "options", "render-label"])) : e.item.input === "number" ? (s(), B(_, {
|
|
3591
3595
|
key: 3,
|
|
3592
3596
|
value: e.formValue[e.item.key],
|
|
3593
3597
|
placeholder: e.showPlaceholder(e.item),
|
|
@@ -3716,10 +3720,10 @@ function Ch(e, t, n, c, l, i) {
|
|
|
3716
3720
|
const Z = e.item;
|
|
3717
3721
|
let ne = y, T = y;
|
|
3718
3722
|
if (Z.params.multiple) {
|
|
3719
|
-
let
|
|
3720
|
-
|
|
3723
|
+
let $ = y.filter((I) => I);
|
|
3724
|
+
$.length === 0 ? (ne = [], T = []) : (ne = $, T = $);
|
|
3721
3725
|
}
|
|
3722
|
-
e.formValue[e.item.key] = ne, K && (e.formValue[`${e.item.key}Str`] = K.map((
|
|
3726
|
+
e.formValue[e.item.key] = ne, K && (e.formValue[`${e.item.key}Str`] = K.map(($) => $.label).join("/")), e.updateValue(e.item, T);
|
|
3723
3727
|
})
|
|
3724
3728
|
}, null, 8, ["value", "placeholder", "options", "disabled", "show", "clearable", "filterable", "multiple", "class", "loading", "on-focus"])) : e.item.input === "color" ? (s(), B(v, {
|
|
3725
3729
|
key: 8,
|
|
@@ -3866,7 +3870,7 @@ const Le = /* @__PURE__ */ w(_h, [["render", Ch]]), Mh = re({
|
|
|
3866
3870
|
}
|
|
3867
3871
|
},
|
|
3868
3872
|
setup(e, { expose: t }) {
|
|
3869
|
-
const n = De("userStore"), c = Se(() => fe.isMobile), l = M(), i = M(), a = M({}), p = M([]),
|
|
3873
|
+
const n = De("userStore"), c = Se(() => fe.isMobile), l = M(), i = M(), a = M({}), p = M([]), _ = M([]), z = M([]), D = M();
|
|
3870
3874
|
Tt("mainFormValue", {
|
|
3871
3875
|
value: () => a.value,
|
|
3872
3876
|
setValue: (T) => {
|
|
@@ -3874,8 +3878,8 @@ const Le = /* @__PURE__ */ w(_h, [["render", Ch]]), Mh = re({
|
|
|
3874
3878
|
}
|
|
3875
3879
|
});
|
|
3876
3880
|
const N = (T) => {
|
|
3877
|
-
const
|
|
3878
|
-
if (
|
|
3881
|
+
const $ = T.form.display;
|
|
3882
|
+
if (!$)
|
|
3879
3883
|
switch (e.status) {
|
|
3880
3884
|
case 0:
|
|
3881
3885
|
return T.form.create && T.form.create.show;
|
|
@@ -3884,8 +3888,8 @@ const Le = /* @__PURE__ */ w(_h, [["render", Ch]]), Mh = re({
|
|
|
3884
3888
|
case 2:
|
|
3885
3889
|
return T.form.show;
|
|
3886
3890
|
}
|
|
3887
|
-
if (
|
|
3888
|
-
const I = new Function("mainFormValue", "userStore",
|
|
3891
|
+
if ($ && typeof $ == "string") {
|
|
3892
|
+
const I = new Function("mainFormValue", "userStore", $);
|
|
3889
3893
|
try {
|
|
3890
3894
|
return I(
|
|
3891
3895
|
{
|
|
@@ -3900,101 +3904,101 @@ const Le = /* @__PURE__ */ w(_h, [["render", Ch]]), Mh = re({
|
|
|
3900
3904
|
return !0;
|
|
3901
3905
|
}
|
|
3902
3906
|
}
|
|
3903
|
-
}, v = (T,
|
|
3907
|
+
}, v = (T, $) => {
|
|
3904
3908
|
switch (T) {
|
|
3905
3909
|
case "datetime":
|
|
3906
3910
|
case "datetimerange":
|
|
3907
|
-
return Ie(
|
|
3911
|
+
return Ie($, "yyyy-MM-dd hh:mm:ss");
|
|
3908
3912
|
case "month":
|
|
3909
3913
|
case "monthrange":
|
|
3910
|
-
return Ie(
|
|
3914
|
+
return Ie($, "yyyy-MM");
|
|
3911
3915
|
case "year":
|
|
3912
3916
|
case "yearrange":
|
|
3913
|
-
return Ie(
|
|
3917
|
+
return Ie($, "yyyy");
|
|
3914
3918
|
default:
|
|
3915
|
-
return Ie(
|
|
3919
|
+
return Ie($);
|
|
3916
3920
|
}
|
|
3917
|
-
}, o = (T,
|
|
3921
|
+
}, o = (T, $ = !1) => {
|
|
3918
3922
|
const I = Be(T).startOf("day").diff(Be().startOf("day"), "day");
|
|
3919
|
-
return I >= 0 ?
|
|
3920
|
-
}, h = (T) => (z.value = [], T.forEach((
|
|
3921
|
-
if (
|
|
3922
|
-
if (
|
|
3923
|
-
a.value[
|
|
3924
|
-
else if (
|
|
3925
|
-
|
|
3926
|
-
const I =
|
|
3927
|
-
(U) => U.value === a.value[
|
|
3923
|
+
return I >= 0 ? $ ? "success" : `剩余${I}天` : $ ? "error" : `逾期${Math.abs(I)}天`;
|
|
3924
|
+
}, h = (T) => (z.value = [], T.forEach(($) => {
|
|
3925
|
+
if ($.form.defaultValue && !a.value[$.key])
|
|
3926
|
+
if ($.input === "number")
|
|
3927
|
+
a.value[$.key] = Number($.form.defaultValue);
|
|
3928
|
+
else if ($.input === "select" && $.params.options?.length > 0) {
|
|
3929
|
+
$.form.defaultValue === "userId" ? a.value[$.key] = n.userId : a.value[$.key] = $.form.defaultValue;
|
|
3930
|
+
const I = $.params.options.find(
|
|
3931
|
+
(U) => U.value === a.value[$.key]
|
|
3928
3932
|
);
|
|
3929
|
-
I && (a.value[`${
|
|
3930
|
-
} else if (
|
|
3931
|
-
if (
|
|
3932
|
-
switch (
|
|
3933
|
+
I && (a.value[`${$.key}Str`] = I.label);
|
|
3934
|
+
} else if ($.input === "date")
|
|
3935
|
+
if ($.params.type.indexOf("range") > -1)
|
|
3936
|
+
switch ($.form.defaultValue) {
|
|
3933
3937
|
case "now":
|
|
3934
3938
|
{
|
|
3935
3939
|
const U = Be().startOf("day").valueOf(), q = Be().endOf("day").valueOf();
|
|
3936
|
-
a.value[
|
|
3937
|
-
|
|
3940
|
+
a.value[$.key] = [U, q], a.value[`${$.key}StartStr`] = v(
|
|
3941
|
+
$.params.type,
|
|
3938
3942
|
U
|
|
3939
|
-
), a.value[`${
|
|
3940
|
-
|
|
3943
|
+
), a.value[`${$.key}EndStr`] = v(
|
|
3944
|
+
$.params.type,
|
|
3941
3945
|
q
|
|
3942
3946
|
);
|
|
3943
3947
|
}
|
|
3944
3948
|
break;
|
|
3945
3949
|
default:
|
|
3946
|
-
const I = Number(
|
|
3947
|
-
a.value[
|
|
3948
|
-
|
|
3950
|
+
const I = Number($.form.defaultValue);
|
|
3951
|
+
a.value[$.key] = Number.isNaN(I) ? null : [I, I], a.value[`${$.key}StartStr`] = v(
|
|
3952
|
+
$.params.type,
|
|
3949
3953
|
I
|
|
3950
|
-
), a.value[`${
|
|
3951
|
-
|
|
3954
|
+
), a.value[`${$.key}EndStr`] = v(
|
|
3955
|
+
$.params.type,
|
|
3952
3956
|
I
|
|
3953
3957
|
);
|
|
3954
3958
|
break;
|
|
3955
3959
|
}
|
|
3956
|
-
else if (
|
|
3957
|
-
a.value[
|
|
3958
|
-
|
|
3960
|
+
else if ($.form.defaultValue === "now")
|
|
3961
|
+
a.value[$.key] = Date.now(), a.value[`${$.key}Str`] = v(
|
|
3962
|
+
$.params.type,
|
|
3959
3963
|
Date.now()
|
|
3960
3964
|
);
|
|
3961
3965
|
else {
|
|
3962
|
-
const I = Number(
|
|
3963
|
-
a.value[
|
|
3964
|
-
|
|
3966
|
+
const I = Number($.form.defaultValue);
|
|
3967
|
+
a.value[$.key] = Number.isNaN(I) ? null : I, a.value[`${$.key}Str`] = v(
|
|
3968
|
+
$.params.type,
|
|
3965
3969
|
I
|
|
3966
3970
|
);
|
|
3967
3971
|
}
|
|
3968
3972
|
else
|
|
3969
|
-
a.value[
|
|
3970
|
-
if ((
|
|
3973
|
+
a.value[$.key] = $.form.defaultValue;
|
|
3974
|
+
if (($.input === "cascader" || $.input === "select") && $.params.multiple && z.value.push($.key), $.input === "date" && $.params.type.indexOf("range") > -1 && z.value.push($.key), $.input === "select" && $.params.multiple && a.value[$.key] && typeof a.value[$.key] == "string")
|
|
3971
3975
|
try {
|
|
3972
|
-
a.value[
|
|
3976
|
+
a.value[$.key] = JSON.parse(a.value[$.key]);
|
|
3973
3977
|
} catch {
|
|
3974
|
-
a.value[
|
|
3978
|
+
a.value[$.key] = [];
|
|
3975
3979
|
}
|
|
3976
|
-
if (typeof a.value[
|
|
3980
|
+
if (typeof a.value[$.key] == "string" && $.input === "date" && $.params.type.indexOf("range") > -1)
|
|
3977
3981
|
try {
|
|
3978
|
-
a.value[
|
|
3982
|
+
a.value[$.key] = JSON.parse(a.value[$.key]);
|
|
3979
3983
|
} catch {
|
|
3980
|
-
a.value[
|
|
3984
|
+
a.value[$.key] = [];
|
|
3981
3985
|
}
|
|
3982
3986
|
}), T), f = (T) => {
|
|
3983
3987
|
T || (T = G(e.items)), T && Array.isArray(T) && T.length > 0 ? p.value = h(T) : p.value = [];
|
|
3984
3988
|
}, u = () => new Promise(async (T) => {
|
|
3985
|
-
let
|
|
3986
|
-
for await (const I of
|
|
3989
|
+
let $ = 0;
|
|
3990
|
+
for await (const I of _.value)
|
|
3987
3991
|
await I.validate().catch(() => {
|
|
3988
|
-
|
|
3992
|
+
$ = $ + 1;
|
|
3989
3993
|
});
|
|
3990
|
-
T(
|
|
3991
|
-
}), g = () => new Promise((T,
|
|
3992
|
-
|
|
3994
|
+
T($);
|
|
3995
|
+
}), g = () => new Promise((T, $) => {
|
|
3996
|
+
_.value.forEach((I) => {
|
|
3993
3997
|
I.validate().catch(() => null);
|
|
3994
3998
|
}), i.value?.validate(
|
|
3995
3999
|
async (I) => {
|
|
3996
4000
|
if (I)
|
|
3997
|
-
|
|
4001
|
+
$();
|
|
3998
4002
|
else if (await u() === 0) {
|
|
3999
4003
|
const q = G(a.value);
|
|
4000
4004
|
z.value.forEach((H) => {
|
|
@@ -4012,7 +4016,7 @@ const Le = /* @__PURE__ */ w(_h, [["render", Ch]]), Mh = re({
|
|
|
4012
4016
|
), R = JSON.parse(C);
|
|
4013
4017
|
T(R);
|
|
4014
4018
|
} else
|
|
4015
|
-
|
|
4019
|
+
$();
|
|
4016
4020
|
}
|
|
4017
4021
|
);
|
|
4018
4022
|
}), S = () => {
|
|
@@ -4030,8 +4034,8 @@ const Le = /* @__PURE__ */ w(_h, [["render", Ch]]), Mh = re({
|
|
|
4030
4034
|
10: "md:col-span-10 lg:col-span-10 xl:col-span-10 2xl:col-span-10",
|
|
4031
4035
|
11: "md:col-span-11 lg:col-span-11 xl:col-span-11 2xl:col-span-11",
|
|
4032
4036
|
12: "md:col-span-12 lg:col-span-12 xl:col-span-12 2xl:col-span-12"
|
|
4033
|
-
})[T], F = (T,
|
|
4034
|
-
D.value =
|
|
4037
|
+
})[T], F = (T, $) => {
|
|
4038
|
+
D.value = $, l.value?.link(T.source, T.sourceFn);
|
|
4035
4039
|
}, K = (T) => {
|
|
4036
4040
|
D.value && (p.value[D.value].params.options = T);
|
|
4037
4041
|
};
|
|
@@ -4039,8 +4043,8 @@ const Le = /* @__PURE__ */ w(_h, [["render", Ch]]), Mh = re({
|
|
|
4039
4043
|
a.value = e.value, f(e.items);
|
|
4040
4044
|
} }), ce(
|
|
4041
4045
|
() => e.value,
|
|
4042
|
-
(T,
|
|
4043
|
-
JSON.stringify(T) !== JSON.stringify(
|
|
4046
|
+
(T, $) => {
|
|
4047
|
+
JSON.stringify(T) !== JSON.stringify($) && (a.value = T, p.value.length === 0 && f(e.items));
|
|
4044
4048
|
},
|
|
4045
4049
|
{
|
|
4046
4050
|
deep: !0,
|
|
@@ -4051,7 +4055,7 @@ const Le = /* @__PURE__ */ w(_h, [["render", Ch]]), Mh = re({
|
|
|
4051
4055
|
formRef: i,
|
|
4052
4056
|
formValue: a,
|
|
4053
4057
|
formItems: p,
|
|
4054
|
-
childRef:
|
|
4058
|
+
childRef: _,
|
|
4055
4059
|
isMobile: c,
|
|
4056
4060
|
diffDay: o,
|
|
4057
4061
|
sourceAdd: F,
|
|
@@ -4062,7 +4066,7 @@ const Le = /* @__PURE__ */ w(_h, [["render", Ch]]), Mh = re({
|
|
|
4062
4066
|
}
|
|
4063
4067
|
}), zh = ["onClick"];
|
|
4064
4068
|
function Nh(e, t, n, c, l, i) {
|
|
4065
|
-
const a = x("Plus"), p = x("NIcon"),
|
|
4069
|
+
const a = x("Plus"), p = x("NIcon"), _ = x("UzTableChild"), z = x("UzTableQuestChild"), D = x("NDivider"), N = x("UzFormItem"), v = x("NFormItem"), o = x("NForm"), h = x("UzTableDrawer"), f = Dn("media");
|
|
4066
4070
|
return s(), d(se, null, [
|
|
4067
4071
|
b(o, {
|
|
4068
4072
|
ref: "formRef",
|
|
@@ -4107,7 +4111,7 @@ function Nh(e, t, n, c, l, i) {
|
|
|
4107
4111
|
}, P(e.diffDay(e.formValue[u.key])), 3)) : Q("", !0)
|
|
4108
4112
|
]),
|
|
4109
4113
|
default: m(() => [
|
|
4110
|
-
u.input === "subTable" && !u.params.quest ? (s(), B(
|
|
4114
|
+
u.input === "subTable" && !u.params.quest ? (s(), B(_, {
|
|
4111
4115
|
key: 0,
|
|
4112
4116
|
ref_for: !0,
|
|
4113
4117
|
ref: "childRef",
|
|
@@ -4202,7 +4206,7 @@ const Sh = /* @__PURE__ */ w(Mh, [["render", Nh]]), Dh = re({
|
|
|
4202
4206
|
},
|
|
4203
4207
|
emits: ["update:value", "on-select", "on-change"],
|
|
4204
4208
|
setup(e, { expose: t, emit: n }) {
|
|
4205
|
-
const c = De("userStore"), l = M(), i = M({}), a = M([]), p = M([-1, -1]),
|
|
4209
|
+
const c = De("userStore"), l = M(), i = M({}), a = M([]), p = M([-1, -1]), _ = (f, u, g) => {
|
|
4206
4210
|
p.value = [u, g ?? -1], n("on-select", f);
|
|
4207
4211
|
}, z = (f) => {
|
|
4208
4212
|
f && (p.value[1] === -1 ? a.value.splice(p.value[0], 1, f) : a.value[p.value[0]].params.children.splice(p.value[1], 1, f), v()), o();
|
|
@@ -4261,7 +4265,7 @@ const Sh = /* @__PURE__ */ w(Mh, [["render", Nh]]), Dh = re({
|
|
|
4261
4265
|
formItems: a,
|
|
4262
4266
|
formItemIndex: p,
|
|
4263
4267
|
onDragChange: v,
|
|
4264
|
-
onModeClick:
|
|
4268
|
+
onModeClick: _,
|
|
4265
4269
|
onCancel: o,
|
|
4266
4270
|
onDelete: h
|
|
4267
4271
|
};
|
|
@@ -4274,7 +4278,7 @@ const Sh = /* @__PURE__ */ w(Mh, [["render", Nh]]), Dh = re({
|
|
|
4274
4278
|
class: "uz-form-item-add"
|
|
4275
4279
|
};
|
|
4276
4280
|
function Bh(e, t, n, c, l, i) {
|
|
4277
|
-
const a = x("Plus"), p = x("NIcon"),
|
|
4281
|
+
const a = x("Plus"), p = x("NIcon"), _ = x("Trash"), z = x("NButton"), D = x("UzTableChild"), N = x("UzFormItem"), v = x("NFormItem"), o = x("Draggable", !0), h = x("NDivider"), f = x("NForm");
|
|
4278
4282
|
return s(), B(f, {
|
|
4279
4283
|
ref: "formRef",
|
|
4280
4284
|
class: "uz-w-full uz-h-full",
|
|
@@ -4338,7 +4342,7 @@ function Bh(e, t, n, c, l, i) {
|
|
|
4338
4342
|
icon: m(() => [
|
|
4339
4343
|
b(p, { color: "#FFF" }, {
|
|
4340
4344
|
default: m(() => [
|
|
4341
|
-
b(
|
|
4345
|
+
b(_)
|
|
4342
4346
|
]),
|
|
4343
4347
|
_: 1
|
|
4344
4348
|
})
|
|
@@ -4390,7 +4394,7 @@ function Bh(e, t, n, c, l, i) {
|
|
|
4390
4394
|
icon: m(() => [
|
|
4391
4395
|
b(p, { color: "#FFF" }, {
|
|
4392
4396
|
default: m(() => [
|
|
4393
|
-
b(
|
|
4397
|
+
b(_)
|
|
4394
4398
|
]),
|
|
4395
4399
|
_: 1
|
|
4396
4400
|
})
|
|
@@ -4495,7 +4499,7 @@ const Ih = /* @__PURE__ */ w(Dh, [["render", Bh]]), Vh = re({
|
|
|
4495
4499
|
return ["png", "jpg", "jpeg", "bmp", "gif", "webp", "svg"].indexOf(
|
|
4496
4500
|
o.toLowerCase()
|
|
4497
4501
|
) !== -1;
|
|
4498
|
-
},
|
|
4502
|
+
}, _ = (N) => {
|
|
4499
4503
|
l.value.splice(N, 1), i();
|
|
4500
4504
|
}, z = () => {
|
|
4501
4505
|
let N = G(e.value);
|
|
@@ -4536,13 +4540,13 @@ const Ih = /* @__PURE__ */ w(Dh, [["render", Bh]]), Vh = re({
|
|
|
4536
4540
|
show: c,
|
|
4537
4541
|
beforeUpload: a,
|
|
4538
4542
|
isAssetTypeAnImage: p,
|
|
4539
|
-
doDelete:
|
|
4543
|
+
doDelete: _,
|
|
4540
4544
|
openFile: D
|
|
4541
4545
|
};
|
|
4542
4546
|
}
|
|
4543
4547
|
}), Uh = { class: "uz-form-upload-item-inner" }, jh = ["title"], Ah = { key: 0 };
|
|
4544
4548
|
function Oh(e, t, n, c, l, i) {
|
|
4545
|
-
const a = x("CloudUpload"), p = x("NIcon"),
|
|
4549
|
+
const a = x("CloudUpload"), p = x("NIcon"), _ = x("NUploadDragger"), z = x("NUpload"), D = x("PhotoOff"), N = x("NImage"), v = x("FileText"), o = x("Trash"), h = x("NButton"), f = x("NPopconfirm"), u = x("CloudDownload"), g = x("NSpin");
|
|
4546
4550
|
return s(), B(g, {
|
|
4547
4551
|
"content-class": "uz-form-upload uz-flex uz-flex-wrap uz-gap-2 uz-items-center",
|
|
4548
4552
|
show: e.show
|
|
@@ -4560,7 +4564,7 @@ function Oh(e, t, n, c, l, i) {
|
|
|
4560
4564
|
"directory-dnd": ""
|
|
4561
4565
|
}, {
|
|
4562
4566
|
default: m(() => [
|
|
4563
|
-
b(
|
|
4567
|
+
b(_, { class: "uz-flex uz-items-center uz-justify-center uz-h-20" }, {
|
|
4564
4568
|
default: m(() => [
|
|
4565
4569
|
b(p, { size: "28" }, {
|
|
4566
4570
|
default: m(() => [
|
|
@@ -4698,12 +4702,12 @@ const Rh = /* @__PURE__ */ w(Vh, [["render", Oh], ["__scopeId", "data-v-d4bd872d
|
|
|
4698
4702
|
}
|
|
4699
4703
|
}), Hh = { class: "uz-flex uz-gap-2 uz-max-w-sm uz-overflow-y-hidden uz-overflow-x-auto uz-items-center" };
|
|
4700
4704
|
function Eh(e, t, n, c, l, i) {
|
|
4701
|
-
const a = x("PhotoOff"), p = x("NIcon"),
|
|
4705
|
+
const a = x("PhotoOff"), p = x("NIcon"), _ = x("NImage"), z = x("FileText"), D = x("NPopover"), N = x("NImageGroup");
|
|
4702
4706
|
return s(), B(N, null, {
|
|
4703
4707
|
default: m(() => [
|
|
4704
4708
|
r("div", Hh, [
|
|
4705
4709
|
(s(!0), d(se, null, we(e.imgs, (v) => (s(), d(se, null, [
|
|
4706
|
-
e.isAssetTypeAnImage(v) ? (s(), B(
|
|
4710
|
+
e.isAssetTypeAnImage(v) ? (s(), B(_, {
|
|
4707
4711
|
key: 0,
|
|
4708
4712
|
width: "40",
|
|
4709
4713
|
src: v
|
|
@@ -4768,7 +4772,7 @@ const da = /* @__PURE__ */ w(Ph, [["render", Eh]]), qh = re({
|
|
|
4768
4772
|
setup(e, { emit: t, expose: n }) {
|
|
4769
4773
|
const c = M([]), l = M("00"), i = M("00"), a = M("00"), p = () => {
|
|
4770
4774
|
l.value = "00", i.value = "00", a.value = "00";
|
|
4771
|
-
},
|
|
4775
|
+
}, _ = () => {
|
|
4772
4776
|
const o = [];
|
|
4773
4777
|
for (let h = 0; h <= 100; h++)
|
|
4774
4778
|
o.push({
|
|
@@ -4797,7 +4801,7 @@ const da = /* @__PURE__ */ w(Ph, [["render", Eh]]), qh = re({
|
|
|
4797
4801
|
{
|
|
4798
4802
|
immediate: !0
|
|
4799
4803
|
}
|
|
4800
|
-
),
|
|
4804
|
+
), _(), {
|
|
4801
4805
|
times: c,
|
|
4802
4806
|
h: l,
|
|
4803
4807
|
m: i,
|
|
@@ -4877,7 +4881,7 @@ const Wh = /* @__PURE__ */ w(qh, [["render", Kh], ["__scopeId", "data-v-c90165b1
|
|
|
4877
4881
|
setup(e, { emit: t }) {
|
|
4878
4882
|
const n = M(), c = M(!1), l = M(!1), i = Kt();
|
|
4879
4883
|
let a = null, p = null;
|
|
4880
|
-
const
|
|
4884
|
+
const _ = (f, u) => {
|
|
4881
4885
|
a.beginPath(), a.moveTo(f.x, f.y), a.lineTo(u.x, u.y), a.lineWidth = 2, a.strokeStyle = "green", a.stroke();
|
|
4882
4886
|
}, z = () => {
|
|
4883
4887
|
l.value && requestAnimationFrame(D);
|
|
@@ -4890,7 +4894,7 @@ const Wh = /* @__PURE__ */ w(qh, [["render", Kh], ["__scopeId", "data-v-c90165b1
|
|
|
4890
4894
|
const S = fs(g.data, f, u);
|
|
4891
4895
|
if (S) {
|
|
4892
4896
|
const { location: y, data: F } = S;
|
|
4893
|
-
F && (
|
|
4897
|
+
F && (_(y.topLeftCorner, y.topRightCorner), _(y.topRightCorner, y.bottomRightCorner), _(y.bottomRightCorner, y.bottomLeftCorner), _(y.bottomLeftCorner, y.topLeftCorner), t("on-update:value", F));
|
|
4894
4898
|
}
|
|
4895
4899
|
} catch {
|
|
4896
4900
|
l.value = !1, i.error({
|
|
@@ -4968,7 +4972,7 @@ function Zh(e, t, n, c, l, i) {
|
|
|
4968
4972
|
e.mode === "button" ? (s(), B(p, {
|
|
4969
4973
|
key: 1,
|
|
4970
4974
|
show: e.modal,
|
|
4971
|
-
"onUpdate:show": t[0] || (t[0] = (
|
|
4975
|
+
"onUpdate:show": t[0] || (t[0] = (_) => e.modal = _),
|
|
4972
4976
|
preset: "card",
|
|
4973
4977
|
title: e.$t("Common.scan"),
|
|
4974
4978
|
"auto-focus": !1,
|
|
@@ -5070,15 +5074,15 @@ const e1 = /* @__PURE__ */ w(Gh, [["render", Zh]]), t1 = re({
|
|
|
5070
5074
|
},
|
|
5071
5075
|
emits: ["update:loading", "on-update:value"],
|
|
5072
5076
|
setup(e, { emit: t }) {
|
|
5073
|
-
const n = ct(), c = M(), l = M([]), i = M(), a = M(!0), p = M(!1),
|
|
5077
|
+
const n = ct(), c = M(), l = M([]), i = M(), a = M(!0), p = M(!1), _ = M(!1), z = M(0), D = M(0), N = M(0), v = M(1), o = M(""), h = M([]), f = M(!1), u = (T) => Array.isArray(T) && T.length > 0 || T ? T : !1, g = (T = !1) => {
|
|
5074
5078
|
if (e.loading)
|
|
5075
5079
|
return;
|
|
5076
|
-
const
|
|
5077
|
-
!T &&
|
|
5080
|
+
const $ = G(c.value);
|
|
5081
|
+
!T && $.query && ($.query.page = 1);
|
|
5078
5082
|
const I = [];
|
|
5079
5083
|
l.value.forEach((U) => {
|
|
5080
|
-
if (
|
|
5081
|
-
const q = u(
|
|
5084
|
+
if ($[U.key]) {
|
|
5085
|
+
const q = u($[U.key]);
|
|
5082
5086
|
if (q) {
|
|
5083
5087
|
const C = {
|
|
5084
5088
|
key: U.key,
|
|
@@ -5095,14 +5099,14 @@ const e1 = /* @__PURE__ */ w(Gh, [["render", Zh]]), t1 = re({
|
|
|
5095
5099
|
}, y = () => {
|
|
5096
5100
|
a.value = !a.value;
|
|
5097
5101
|
}, F = (T) => f.value ? c.value && Array.isArray(c.value[o.value]) && c.value[o.value].includes(T.value) ? "primary" : "default" : c.value[o.value] === T.value ? "primary" : "default", K = (T) => {
|
|
5098
|
-
const
|
|
5102
|
+
const $ = {};
|
|
5099
5103
|
let I = 0;
|
|
5100
5104
|
const U = e.cols ? e.cols : 4;
|
|
5101
5105
|
if (T.length > 0)
|
|
5102
5106
|
for (let C = 0; C <= U; C++)
|
|
5103
5107
|
T[C]?.search.show && (I = I + (T[C]?.search.span || 1));
|
|
5104
5108
|
const q = U - I >= 0 ? U - I - 1 : -1;
|
|
5105
|
-
D.value = q, N.value = q, z.value = I, I > U ? (p.value = !0,
|
|
5109
|
+
D.value = q, N.value = q, z.value = I, I > U ? (p.value = !0, _.value = !0) : (p.value = !1, _.value = !1);
|
|
5106
5110
|
for (const C of T)
|
|
5107
5111
|
if (C.search.tab && (h.value = C.params.options, f.value = C.params.multiple, o.value = C.key, C.search.show = !1), C.input === "input" && C.params.type === "textarea" && (C.params.type = "text"), C.search.show = C.search.show ?? !0, C.defaultValue)
|
|
5108
5112
|
if (C.input === "date")
|
|
@@ -5111,45 +5115,45 @@ const e1 = /* @__PURE__ */ w(Gh, [["render", Zh]]), t1 = re({
|
|
|
5111
5115
|
case "now":
|
|
5112
5116
|
{
|
|
5113
5117
|
const H = Be().startOf("day").valueOf(), O = Be().endOf("day").valueOf();
|
|
5114
|
-
|
|
5118
|
+
$[C.key] = [H, O];
|
|
5115
5119
|
}
|
|
5116
5120
|
break;
|
|
5117
5121
|
default:
|
|
5118
5122
|
const R = Number(C.form.defaultValue);
|
|
5119
|
-
|
|
5123
|
+
$[C.key] = Number.isNaN(R) ? null : [R, R];
|
|
5120
5124
|
break;
|
|
5121
5125
|
}
|
|
5122
5126
|
else if (C.search.defaultValue === "now")
|
|
5123
|
-
|
|
5127
|
+
$[C.key] = Date.now();
|
|
5124
5128
|
else {
|
|
5125
5129
|
const R = Number(C.form.defaultValue);
|
|
5126
|
-
|
|
5130
|
+
$[C.key] = Number.isNaN(R) ? null : R;
|
|
5127
5131
|
}
|
|
5128
5132
|
else
|
|
5129
|
-
|
|
5133
|
+
$[C.key] = C.defaultValue;
|
|
5130
5134
|
else
|
|
5131
|
-
|
|
5132
|
-
return { data: T, values:
|
|
5135
|
+
$[C.key] = "", (C.input === "number" || C.input === "date" || C.input === "time") && ($[C.key] = null), (C.input === "cascader" || C.input === "select") && (C.params.multiple ? $[C.key] = [] : $[C.key] = null);
|
|
5136
|
+
return { data: T, values: $ };
|
|
5133
5137
|
}, Z = (T) => {
|
|
5134
5138
|
if (h.value = [], T && T.length > 0) {
|
|
5135
|
-
const { data:
|
|
5139
|
+
const { data: $, values: I } = K(G(T)), U = {}, q = e.id || n.params.id;
|
|
5136
5140
|
if (e.cache && q) {
|
|
5137
5141
|
const C = Me(`tables_${q}`, !1);
|
|
5138
5142
|
C && C.params.forEach((R) => {
|
|
5139
5143
|
U[R.key] = R.value;
|
|
5140
5144
|
});
|
|
5141
5145
|
}
|
|
5142
|
-
l.value =
|
|
5146
|
+
l.value = $, c.value = G({ ...I, ...U }), i.value = G(I);
|
|
5143
5147
|
}
|
|
5144
5148
|
g(!0);
|
|
5145
5149
|
}, ne = (T) => {
|
|
5146
5150
|
if (f.value) {
|
|
5147
|
-
const
|
|
5148
|
-
if (
|
|
5149
|
-
const I =
|
|
5151
|
+
const $ = c.value[o.value];
|
|
5152
|
+
if ($.includes(T)) {
|
|
5153
|
+
const I = $.findIndex((U) => U === T);
|
|
5150
5154
|
c.value[o.value].splice(I, 1);
|
|
5151
5155
|
} else
|
|
5152
|
-
|
|
5156
|
+
$.push(T);
|
|
5153
5157
|
} else
|
|
5154
5158
|
c.value[o.value] = T;
|
|
5155
5159
|
g(!0);
|
|
@@ -5164,7 +5168,7 @@ const e1 = /* @__PURE__ */ w(Gh, [["render", Zh]]), t1 = re({
|
|
|
5164
5168
|
itemData: l,
|
|
5165
5169
|
defaultValue: i,
|
|
5166
5170
|
more: p,
|
|
5167
|
-
moreCache:
|
|
5171
|
+
moreCache: _,
|
|
5168
5172
|
moreIndex: z,
|
|
5169
5173
|
offset: D,
|
|
5170
5174
|
offsetCache: N,
|
|
@@ -5187,7 +5191,7 @@ const e1 = /* @__PURE__ */ w(Gh, [["render", Zh]]), t1 = re({
|
|
|
5187
5191
|
class: "uz-flex uz-gap-2 uz-flex-1"
|
|
5188
5192
|
};
|
|
5189
5193
|
function a1(e, t, n, c, l, i) {
|
|
5190
|
-
const a = x("NButton"), p = x("NButtonGroup"),
|
|
5194
|
+
const a = x("NButton"), p = x("NButtonGroup"), _ = x("NGridItem"), z = x("NInputGroupLabel"), D = x("NPopover"), N = x("UzFormItem"), v = x("NInputGroup"), o = x("NGrid"), h = x("CaretDown"), f = x("NIcon"), u = x("Search"), g = x("Refresh"), S = Dn("media");
|
|
5191
5195
|
return s(), d("div", {
|
|
5192
5196
|
class: "uz-search-bar uz-flex uz-justify-between uz-gap-2 uz-w-full",
|
|
5193
5197
|
onKeyup: t[1] || (t[1] = Va((y) => e.doSearch(!1), ["enter"]))
|
|
@@ -5203,7 +5207,7 @@ function a1(e, t, n, c, l, i) {
|
|
|
5203
5207
|
collapsed: e.collapsed
|
|
5204
5208
|
}, {
|
|
5205
5209
|
default: m(() => [
|
|
5206
|
-
e.tabList && e.tabList.length > 0 ? (s(), B(
|
|
5210
|
+
e.tabList && e.tabList.length > 0 ? (s(), B(_, {
|
|
5207
5211
|
key: 0,
|
|
5208
5212
|
span: e.gridSpan
|
|
5209
5213
|
}, {
|
|
@@ -5227,11 +5231,11 @@ function a1(e, t, n, c, l, i) {
|
|
|
5227
5231
|
]),
|
|
5228
5232
|
_: 1
|
|
5229
5233
|
}, 8, ["span"])) : Q("", !0),
|
|
5230
|
-
e.offset > -1 ? (s(), B(
|
|
5234
|
+
e.offset > -1 ? (s(), B(_, {
|
|
5231
5235
|
key: 1,
|
|
5232
5236
|
offset: e.offset
|
|
5233
5237
|
}, null, 8, ["offset"])) : Q("", !0),
|
|
5234
|
-
(s(!0), d(se, null, we(e.itemData, (y, F) => (s(), B(
|
|
5238
|
+
(s(!0), d(se, null, we(e.itemData, (y, F) => (s(), B(_, {
|
|
5235
5239
|
key: `${F}_${Date.now()}`,
|
|
5236
5240
|
span: y.search.show ? y.search.span || e.gridSpan : 0
|
|
5237
5241
|
}, {
|
|
@@ -5373,7 +5377,7 @@ const s1 = /* @__PURE__ */ w(t1, [["render", a1]]), l1 = re({
|
|
|
5373
5377
|
},
|
|
5374
5378
|
emits: ["update:loading", "on-update:value"],
|
|
5375
5379
|
setup(e, { emit: t }) {
|
|
5376
|
-
const n = ct(), c = M([]), l = M(!1), i = M(), a = M(), p = (v) => Array.isArray(v) && v.length > 0 || v ? v : !1,
|
|
5380
|
+
const n = ct(), c = M([]), l = M(!1), i = M(), a = M(), p = (v) => Array.isArray(v) && v.length > 0 || v ? v : !1, _ = (v = !1) => {
|
|
5377
5381
|
if (e.loading)
|
|
5378
5382
|
return;
|
|
5379
5383
|
const o = G(i.value);
|
|
@@ -5394,7 +5398,7 @@ const s1 = /* @__PURE__ */ w(t1, [["render", a1]]), l1 = re({
|
|
|
5394
5398
|
}
|
|
5395
5399
|
}), l.value = !1, t("update:loading", !0), t("on-update:value", h);
|
|
5396
5400
|
}, z = () => {
|
|
5397
|
-
e.loading || (i.value = G(a.value),
|
|
5401
|
+
e.loading || (i.value = G(a.value), _());
|
|
5398
5402
|
}, D = (v) => {
|
|
5399
5403
|
const o = {};
|
|
5400
5404
|
for (const h of v)
|
|
@@ -5411,7 +5415,7 @@ const s1 = /* @__PURE__ */ w(t1, [["render", a1]]), l1 = re({
|
|
|
5411
5415
|
}
|
|
5412
5416
|
c.value = o, i.value = G({ ...h, ...f }), a.value = G(h);
|
|
5413
5417
|
}
|
|
5414
|
-
|
|
5418
|
+
_(!0);
|
|
5415
5419
|
};
|
|
5416
5420
|
return ce(
|
|
5417
5421
|
() => e.data,
|
|
@@ -5422,18 +5426,18 @@ const s1 = /* @__PURE__ */ w(t1, [["render", a1]]), l1 = re({
|
|
|
5422
5426
|
drawer: l,
|
|
5423
5427
|
itemValue: i,
|
|
5424
5428
|
itemData: c,
|
|
5425
|
-
doSearch:
|
|
5429
|
+
doSearch: _,
|
|
5426
5430
|
clearAll: z
|
|
5427
5431
|
};
|
|
5428
5432
|
}
|
|
5429
5433
|
}), i1 = { class: "uz-flex uz-items-start uz-justify-between uz-gap-8 uz-pb-2" }, c1 = { class: "uz-flex uz-gap-2" }, u1 = { class: "uz-flex uz-items-center uz-gap-2 uz-w-full" };
|
|
5430
5434
|
function d1(e, t, n, c, l, i) {
|
|
5431
|
-
const a = x("Search"), p = x("NIcon"),
|
|
5435
|
+
const a = x("Search"), p = x("NIcon"), _ = x("NButton"), z = x("NInputGroupLabel"), D = x("UzFormItem"), N = x("NInputGroup"), v = x("NGridItem"), o = x("NGrid"), h = x("Refresh"), f = x("NDrawerContent"), u = x("NDrawer");
|
|
5432
5436
|
return s(), d(se, null, [
|
|
5433
5437
|
r("div", i1, [
|
|
5434
5438
|
ke(e.$slots, "header"),
|
|
5435
5439
|
r("div", c1, [
|
|
5436
|
-
e.itemData && Object.keys(e.itemData).length > 0 ? (s(), B(
|
|
5440
|
+
e.itemData && Object.keys(e.itemData).length > 0 ? (s(), B(_, {
|
|
5437
5441
|
key: 0,
|
|
5438
5442
|
secondary: "",
|
|
5439
5443
|
onClick: t[0] || (t[0] = (g) => e.drawer = !0)
|
|
@@ -5470,7 +5474,7 @@ function d1(e, t, n, c, l, i) {
|
|
|
5470
5474
|
}, {
|
|
5471
5475
|
footer: m(() => [
|
|
5472
5476
|
r("div", u1, [
|
|
5473
|
-
b(
|
|
5477
|
+
b(_, {
|
|
5474
5478
|
secondary: "",
|
|
5475
5479
|
loading: e.loading,
|
|
5476
5480
|
onClick: e.clearAll,
|
|
@@ -5489,7 +5493,7 @@ function d1(e, t, n, c, l, i) {
|
|
|
5489
5493
|
]),
|
|
5490
5494
|
_: 1
|
|
5491
5495
|
}, 8, ["loading", "onClick"]),
|
|
5492
|
-
e.itemData && Object.keys(e.itemData).length > 0 ? (s(), B(
|
|
5496
|
+
e.itemData && Object.keys(e.itemData).length > 0 ? (s(), B(_, {
|
|
5493
5497
|
key: 0,
|
|
5494
5498
|
loading: e.loading,
|
|
5495
5499
|
type: "primary",
|
|
@@ -5608,8 +5612,8 @@ const w1 = () => new Promise((e) => {
|
|
|
5608
5612
|
if (l[0] === "modules" && n && Object.keys(n).length > 0) {
|
|
5609
5613
|
const i = c[0].replace("modules:", ""), a = Object.keys(n).find((p) => p.includes(i));
|
|
5610
5614
|
if (a) {
|
|
5611
|
-
const p = n[a],
|
|
5612
|
-
return (z) => ee(
|
|
5615
|
+
const p = n[a], _ = Ua(ja(p));
|
|
5616
|
+
return (z) => ee(_, { rowData: z }, {});
|
|
5613
5617
|
} else
|
|
5614
5618
|
return ee("div", "Module not found");
|
|
5615
5619
|
}
|
|
@@ -5625,8 +5629,8 @@ const w1 = () => new Promise((e) => {
|
|
|
5625
5629
|
}, Re = (e, t, n) => {
|
|
5626
5630
|
const c = t.map((l) => {
|
|
5627
5631
|
let i = [], a = l.id;
|
|
5628
|
-
return e.input === "select" && e.params.labelKeys ? (e.params.labelKeys.split(",").forEach((
|
|
5629
|
-
i.push(l[
|
|
5632
|
+
return e.input === "select" && e.params.labelKeys ? (e.params.labelKeys.split(",").forEach((_) => {
|
|
5633
|
+
i.push(l[_]);
|
|
5630
5634
|
}), i = ds(i).join("-")) : i = l[n[1]], e.input === "select" && e.params.valueKey && (a = l[e.params.valueKey]), {
|
|
5631
5635
|
label: i,
|
|
5632
5636
|
value: a,
|
|
@@ -5855,7 +5859,7 @@ const v1 = (e) => e.map((t) => {
|
|
|
5855
5859
|
};
|
|
5856
5860
|
function wt(e, t, n) {
|
|
5857
5861
|
return new Promise(async (c, l) => {
|
|
5858
|
-
const i = [], a = {}, p = {},
|
|
5862
|
+
const i = [], a = {}, p = {}, _ = {}, z = [], D = [], N = G(e), v = [];
|
|
5859
5863
|
for (const o of N)
|
|
5860
5864
|
o.input === "group" ? v.push(...o.params.children) : v.push(o);
|
|
5861
5865
|
for (const o of v) {
|
|
@@ -5925,7 +5929,7 @@ function wt(e, t, n) {
|
|
|
5925
5929
|
try {
|
|
5926
5930
|
Array.isArray(t) ? t.forEach((h, f) => {
|
|
5927
5931
|
D[f] || (D[f] = {}), z[f] && z[f][o.params.parentKey] && z[f][o.params.parentKey][o.key] ? (D[f][o.key] = z[f][o.params.parentKey][o.key], z[f][o.params.parentKey][`${o.key}Str`] && (D[f][`${o.key}Str`] = z[f][o.params.parentKey][`${o.key}Str`])) : (D[f][o.key] = null, D[f][`${o.key}Str`] = null);
|
|
5928
|
-
}) : p[o.params.parentKey] && p[o.params.parentKey][o.key] ? (
|
|
5932
|
+
}) : p[o.params.parentKey] && p[o.params.parentKey][o.key] ? (_[o.key] = p[o.params.parentKey][o.key], p[o.params.parentKey][`${o.key}Str`] && (_[`${o.key}Str`] = p[o.params.parentKey][`${o.key}Str`])) : (_[o.key] = null, _[`${o.key}Str`] = null);
|
|
5929
5933
|
} catch (h) {
|
|
5930
5934
|
oe(h);
|
|
5931
5935
|
}
|
|
@@ -6001,7 +6005,7 @@ function wt(e, t, n) {
|
|
|
6001
6005
|
c({
|
|
6002
6006
|
form: i,
|
|
6003
6007
|
formDefaultValue: a,
|
|
6004
|
-
fillingDefaultValue:
|
|
6008
|
+
fillingDefaultValue: _,
|
|
6005
6009
|
fillingDefaultArray: D
|
|
6006
6010
|
});
|
|
6007
6011
|
});
|
|
@@ -6010,7 +6014,7 @@ async function gt(e, t = !1, n = 0, c = () => {
|
|
|
6010
6014
|
}, l = {}) {
|
|
6011
6015
|
let i = 0;
|
|
6012
6016
|
const a = [], p = [];
|
|
6013
|
-
let
|
|
6017
|
+
let _ = [];
|
|
6014
6018
|
const z = G(e), D = [], N = [];
|
|
6015
6019
|
for (const o of z)
|
|
6016
6020
|
o.input === "group" ? (D.push(...o.params.children), N.push({
|
|
@@ -6110,7 +6114,7 @@ async function gt(e, t = !1, n = 0, c = () => {
|
|
|
6110
6114
|
);
|
|
6111
6115
|
};
|
|
6112
6116
|
}
|
|
6113
|
-
if (h && o.input !== "divider" && o.input !== "subTable" &&
|
|
6117
|
+
if (h && o.input !== "divider" && o.input !== "subTable" && _.push(h), o.input !== "divider" && o.input !== "switch" && o.input !== "subTable" && o.input !== "upload" && o.search.show) {
|
|
6114
6118
|
if (o.search.source)
|
|
6115
6119
|
if (o.input = "select", o.params.type = o.search.type, o.params.valueKey = o.search.valueKey, o.params.valueKey = o.search.valueKey, o.search.source === "from-up")
|
|
6116
6120
|
o.params.options = o.params.options;
|
|
@@ -6156,22 +6160,22 @@ async function gt(e, t = !1, n = 0, c = () => {
|
|
|
6156
6160
|
if (N.length > 0) {
|
|
6157
6161
|
for (const o of N) {
|
|
6158
6162
|
if (typeof o == "string") {
|
|
6159
|
-
const h =
|
|
6163
|
+
const h = _.find((f) => f.key === o);
|
|
6160
6164
|
h && v.push(h);
|
|
6161
6165
|
}
|
|
6162
6166
|
if (typeof o == "object") {
|
|
6163
6167
|
const h = o.children, f = [];
|
|
6164
6168
|
for (const u of h) {
|
|
6165
|
-
const g =
|
|
6169
|
+
const g = _.find((S) => S.key === u);
|
|
6166
6170
|
g && f.push(g);
|
|
6167
6171
|
}
|
|
6168
6172
|
o.children = f, v.push(o);
|
|
6169
6173
|
}
|
|
6170
6174
|
}
|
|
6171
|
-
|
|
6175
|
+
_ = v;
|
|
6172
6176
|
}
|
|
6173
6177
|
return {
|
|
6174
|
-
tableColumns:
|
|
6178
|
+
tableColumns: _,
|
|
6175
6179
|
search: a,
|
|
6176
6180
|
subTableIds: p,
|
|
6177
6181
|
tableWidth: i
|
|
@@ -6226,8 +6230,8 @@ const b1 = re({
|
|
|
6226
6230
|
}
|
|
6227
6231
|
});
|
|
6228
6232
|
function x1(e, t, n, c, l, i) {
|
|
6229
|
-
const a = x("NEllipsis"), p = x("NButton"),
|
|
6230
|
-
return s(), B(
|
|
6233
|
+
const a = x("NEllipsis"), p = x("NButton"), _ = x("NSpin");
|
|
6234
|
+
return s(), B(_, { show: e.value }, {
|
|
6231
6235
|
description: m(() => [
|
|
6232
6236
|
b(a, {
|
|
6233
6237
|
"expand-trigger": "click",
|
|
@@ -6408,18 +6412,18 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6408
6412
|
value: () => null,
|
|
6409
6413
|
setValue: () => null
|
|
6410
6414
|
});
|
|
6411
|
-
const l = ct(), { t: i } = Qt(), a = Kt(), p = Se(() => fe.isMobile),
|
|
6415
|
+
const l = ct(), { t: i } = Qt(), a = Kt(), p = Se(() => fe.isMobile), _ = M(), z = M(), D = M(), N = M(!!c.header), v = M(!1), o = M(!1), h = M(""), f = M(), u = M([]), g = M([]), S = M([]), y = M(void 0), F = M({
|
|
6412
6416
|
params: [],
|
|
6413
6417
|
query: {
|
|
6414
6418
|
page: 1,
|
|
6415
6419
|
pageMax: 1,
|
|
6416
6420
|
pageSize: e.pageSize || 30
|
|
6417
6421
|
}
|
|
6418
|
-
}), K = M([]), Z = M(void 0), ne = M(void 0), T = M([]),
|
|
6422
|
+
}), K = M([]), Z = M(void 0), ne = M(void 0), T = M([]), $ = M([]), I = M([]), U = M([]), q = M({
|
|
6419
6423
|
fetch: null,
|
|
6420
6424
|
when_drawer_open: "",
|
|
6421
6425
|
when_before_save: ""
|
|
6422
|
-
}), C = M(He()), R = M(""), H = M(!1), O = M([]), L = M([]),
|
|
6426
|
+
}), C = M(He()), R = M(""), H = M(!1), O = M([]), L = M([]), ue = De("modules"), $e = (k) => k.id, vt = (k, V) => {
|
|
6423
6427
|
t("update:rowKeys", {
|
|
6424
6428
|
keys: k,
|
|
6425
6429
|
rows: G(V)
|
|
@@ -6427,7 +6431,7 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6427
6431
|
}, Ke = (k, V, W) => {
|
|
6428
6432
|
if (O.value = k, W.action === "check" && L.value.push(W.row), W.action === "uncheck") {
|
|
6429
6433
|
const X = L.value.findIndex(
|
|
6430
|
-
(
|
|
6434
|
+
(j) => j.id === W.row?.id
|
|
6431
6435
|
);
|
|
6432
6436
|
L.value.splice(X, 1);
|
|
6433
6437
|
}
|
|
@@ -6446,8 +6450,8 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6446
6450
|
const W = G(F.value);
|
|
6447
6451
|
if (k && delete W.orderby, q.value.fetch)
|
|
6448
6452
|
yn([q.value.fetch], "", W).then((X) => {
|
|
6449
|
-
const
|
|
6450
|
-
F.value.query =
|
|
6453
|
+
const j = vn(X);
|
|
6454
|
+
F.value.query = j.query, S.value = j.records, v.value = !1, o.value = !0, t("on-update:value", W), t("update:loading", !1), C.value.cache && V && xe(`tables_${V}`, F.value);
|
|
6451
6455
|
}).catch(() => {
|
|
6452
6456
|
v.value = !1, o.value = !0, t("update:loading", !1);
|
|
6453
6457
|
});
|
|
@@ -6456,18 +6460,18 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6456
6460
|
e.fetch ? X = e.fetch({ ...W, tableId: V }) : X = Ve({
|
|
6457
6461
|
...W,
|
|
6458
6462
|
tableId: V
|
|
6459
|
-
}), X.then((
|
|
6460
|
-
const Y = vn(
|
|
6463
|
+
}), X.then((j) => {
|
|
6464
|
+
const Y = vn(j);
|
|
6461
6465
|
F.value.query = Y.query, S.value = Y.records, v.value = !1, o.value = !0, t("on-update:value", W), t("update:loading", !1), C.value.cache && V && xe(`tables_${V}`, F.value);
|
|
6462
6466
|
}).catch(() => {
|
|
6463
6467
|
v.value = !1, o.value = !0, t("update:loading", !1);
|
|
6464
6468
|
});
|
|
6465
6469
|
}
|
|
6466
6470
|
}, ze = (k) => {
|
|
6467
|
-
F.value.query.page = k,
|
|
6471
|
+
F.value.query.page = k, _.value && (_.value.scrollTop = 0), $t(), ae();
|
|
6468
6472
|
}, yt = () => {
|
|
6469
6473
|
let k = F.value.query.page + 1;
|
|
6470
|
-
k > F.value.query.pageMax && (k = 1), F.value.query.page = k,
|
|
6474
|
+
k > F.value.query.pageMax && (k = 1), F.value.query.page = k, _.value && (_.value.scrollTop = 0), ae();
|
|
6471
6475
|
}, Ca = (k) => {
|
|
6472
6476
|
F.value.query.pageSize = k, F.value.query.page = 1, $t(), ae();
|
|
6473
6477
|
}, Ma = (k) => {
|
|
@@ -6547,29 +6551,29 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6547
6551
|
}
|
|
6548
6552
|
], ot = (k) => !e.ruleFetch || !T.value || T.value && T.value[0] === "*" ? !1 : !T.value?.includes(k), an = async (k) => {
|
|
6549
6553
|
const { form: V, fillingDefaultValue: W, formDefaultValue: X } = await wt(
|
|
6550
|
-
|
|
6554
|
+
$.value,
|
|
6551
6555
|
k,
|
|
6552
6556
|
() => D.value?.getFormValues()
|
|
6553
6557
|
);
|
|
6554
6558
|
return f.value = V, { form: V, fillingDefaultValue: W, formDefaultValue: X };
|
|
6555
6559
|
}, sn = async (k) => new Promise((V, W) => {
|
|
6556
6560
|
const X = e.id || l.params.id;
|
|
6557
|
-
let
|
|
6558
|
-
e.fetch ?
|
|
6561
|
+
let j;
|
|
6562
|
+
e.fetch ? j = e.fetch({
|
|
6559
6563
|
id: k.id,
|
|
6560
6564
|
tableId: X
|
|
6561
|
-
}) :
|
|
6565
|
+
}) : j = Ve({
|
|
6562
6566
|
id: k.id,
|
|
6563
6567
|
tableId: X
|
|
6564
|
-
}),
|
|
6568
|
+
}), j.then((Y) => {
|
|
6565
6569
|
V(Y && Y[0]);
|
|
6566
6570
|
}).catch(() => {
|
|
6567
6571
|
W();
|
|
6568
6572
|
});
|
|
6569
6573
|
}), ln = async (k, V) => {
|
|
6570
6574
|
const W = await sn(k).catch(() => {
|
|
6571
|
-
}), { form: X, fillingDefaultValue:
|
|
6572
|
-
let Y = { ...W, ...
|
|
6575
|
+
}), { form: X, fillingDefaultValue: j } = await an(W || {});
|
|
6576
|
+
let Y = { ...W, ...j };
|
|
6573
6577
|
if (V && typeof V == "string")
|
|
6574
6578
|
try {
|
|
6575
6579
|
Y = await new Function(
|
|
@@ -6577,14 +6581,14 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6577
6581
|
"POST",
|
|
6578
6582
|
"fnNotification",
|
|
6579
6583
|
V
|
|
6580
|
-
)(Y,
|
|
6584
|
+
)(Y, de, a).catch(() => null);
|
|
6581
6585
|
} catch (pe) {
|
|
6582
6586
|
oe(pe);
|
|
6583
6587
|
}
|
|
6584
6588
|
const le = q.value.when_drawer_open;
|
|
6585
6589
|
if (le && typeof le == "string")
|
|
6586
6590
|
try {
|
|
6587
|
-
Y = await new Function("data", "POST", le)(Y,
|
|
6591
|
+
Y = await new Function("data", "POST", le)(Y, de).catch((me) => {
|
|
6588
6592
|
oe(me);
|
|
6589
6593
|
});
|
|
6590
6594
|
} catch (pe) {
|
|
@@ -6595,17 +6599,17 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6595
6599
|
const W = G(k.onClick), X = e.id || l.params.id;
|
|
6596
6600
|
if (k.disabled) {
|
|
6597
6601
|
if (typeof k.disabled == "string") {
|
|
6598
|
-
const
|
|
6599
|
-
k.disabled = (Y, le) =>
|
|
6602
|
+
const j = new Function("rowData", "rowIndex", k.disabled);
|
|
6603
|
+
k.disabled = (Y, le) => j(Y, le) || ot(k.key);
|
|
6600
6604
|
} else if (typeof k.disabled == "function") {
|
|
6601
|
-
const
|
|
6602
|
-
k.disabled = (Y, le) =>
|
|
6605
|
+
const j = G(k);
|
|
6606
|
+
k.disabled = (Y, le) => j.disabled(Y, le) || ot(k.key);
|
|
6603
6607
|
}
|
|
6604
6608
|
} else
|
|
6605
6609
|
k.disabled = () => ot(k.key);
|
|
6606
6610
|
if (k.loading = v.value, k.type !== "group" && k.optionsType)
|
|
6607
|
-
k.onClick = async (
|
|
6608
|
-
sn(
|
|
6611
|
+
k.onClick = async (j) => {
|
|
6612
|
+
sn(j).then((Y) => {
|
|
6609
6613
|
if (k.optionsType === "drawer:insider") {
|
|
6610
6614
|
if (W)
|
|
6611
6615
|
try {
|
|
@@ -6614,7 +6618,7 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6614
6618
|
"POST",
|
|
6615
6619
|
"fnNotification",
|
|
6616
6620
|
W
|
|
6617
|
-
)(Y,
|
|
6621
|
+
)(Y, de, a).then((pe) => {
|
|
6618
6622
|
D.value?.link(
|
|
6619
6623
|
k.optionsSource || "",
|
|
6620
6624
|
void 0,
|
|
@@ -6635,16 +6639,16 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6635
6639
|
onClick: k.onClick,
|
|
6636
6640
|
optionsSource: k.optionsSource,
|
|
6637
6641
|
mainFormValue: Y,
|
|
6638
|
-
children: () =>
|
|
6642
|
+
children: () => j,
|
|
6639
6643
|
callback: null
|
|
6640
6644
|
});
|
|
6641
6645
|
}).catch(() => null);
|
|
6642
6646
|
};
|
|
6643
6647
|
else if (k.type !== "group" && k.action === "detailInside") {
|
|
6644
|
-
const
|
|
6648
|
+
const j = G(k.onClick);
|
|
6645
6649
|
k.onClick = (Y) => {
|
|
6646
6650
|
D.value?.addAndEdit(
|
|
6647
|
-
() => ln(Y,
|
|
6651
|
+
() => ln(Y, j),
|
|
6648
6652
|
C.value,
|
|
6649
6653
|
q.value,
|
|
6650
6654
|
2,
|
|
@@ -6652,10 +6656,10 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6652
6656
|
);
|
|
6653
6657
|
};
|
|
6654
6658
|
} else if (k.type !== "group" && k.action === "editInside") {
|
|
6655
|
-
const
|
|
6659
|
+
const j = G(k.onClick);
|
|
6656
6660
|
k.onClick = (Y) => {
|
|
6657
6661
|
D.value?.addAndEdit(
|
|
6658
|
-
() => ln(Y,
|
|
6662
|
+
() => ln(Y, j),
|
|
6659
6663
|
C.value,
|
|
6660
6664
|
q.value,
|
|
6661
6665
|
1,
|
|
@@ -6663,14 +6667,14 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6663
6667
|
);
|
|
6664
6668
|
};
|
|
6665
6669
|
} else if (k.type !== "group" && k.action === "deleteInside")
|
|
6666
|
-
k.onClick = (
|
|
6670
|
+
k.onClick = (j) => {
|
|
6667
6671
|
let Y;
|
|
6668
6672
|
e.deleteFetch ? Y = e.deleteFetch({
|
|
6669
|
-
...
|
|
6673
|
+
...j,
|
|
6670
6674
|
tableId: X,
|
|
6671
6675
|
sub_table_ids: V
|
|
6672
6676
|
}) : Y = qf({
|
|
6673
|
-
...
|
|
6677
|
+
...j,
|
|
6674
6678
|
tableId: X,
|
|
6675
6679
|
sub_table_ids: V
|
|
6676
6680
|
}), Y.then(() => {
|
|
@@ -6680,27 +6684,27 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6680
6684
|
});
|
|
6681
6685
|
};
|
|
6682
6686
|
else if (k.type !== "group" && k.action === "disabledInside")
|
|
6683
|
-
k.onClick = (
|
|
6687
|
+
k.onClick = (j) => {
|
|
6684
6688
|
We({
|
|
6685
6689
|
tableId: e.id || l.params.id,
|
|
6686
|
-
...
|
|
6690
|
+
...j,
|
|
6687
6691
|
is_disabled: "1"
|
|
6688
6692
|
}).then(() => {
|
|
6689
6693
|
ae();
|
|
6690
6694
|
}).catch(() => null);
|
|
6691
6695
|
};
|
|
6692
6696
|
else if (k.type !== "group" && k.action === "enabledInside")
|
|
6693
|
-
k.onClick = (
|
|
6697
|
+
k.onClick = (j) => {
|
|
6694
6698
|
We({
|
|
6695
6699
|
tableId: e.id || l.params.id,
|
|
6696
|
-
...
|
|
6700
|
+
...j,
|
|
6697
6701
|
is_disabled: "0"
|
|
6698
6702
|
}).then(() => {
|
|
6699
6703
|
ae();
|
|
6700
6704
|
}).catch(() => null);
|
|
6701
6705
|
};
|
|
6702
6706
|
else if (k.type !== "group" && k.action) {
|
|
6703
|
-
const
|
|
6707
|
+
const j = G(k.onClick);
|
|
6704
6708
|
k.onClick = (Y) => {
|
|
6705
6709
|
let le;
|
|
6706
6710
|
e.fetch ? le = e.fetch({
|
|
@@ -6716,9 +6720,9 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6716
6720
|
me.id,
|
|
6717
6721
|
me
|
|
6718
6722
|
).then((Ae) => {
|
|
6719
|
-
if (
|
|
6723
|
+
if (j && typeof j == "string") {
|
|
6720
6724
|
try {
|
|
6721
|
-
new Function("rowData", "res",
|
|
6725
|
+
new Function("rowData", "res", j)(me, Ae).then((xt) => {
|
|
6722
6726
|
a.success({
|
|
6723
6727
|
content: xt,
|
|
6724
6728
|
duration: 3e3
|
|
@@ -6731,8 +6735,8 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6731
6735
|
}
|
|
6732
6736
|
return;
|
|
6733
6737
|
}
|
|
6734
|
-
if (
|
|
6735
|
-
|
|
6738
|
+
if (j && typeof j == "function") {
|
|
6739
|
+
j(me, Ae, () => {
|
|
6736
6740
|
a.success({
|
|
6737
6741
|
content: () => i("Notice.success"),
|
|
6738
6742
|
duration: 3e3
|
|
@@ -6756,13 +6760,13 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6756
6760
|
}, un = async () => {
|
|
6757
6761
|
H.value = !1, pa();
|
|
6758
6762
|
const { tableColumns: k, search: V, subTableIds: W, tableWidth: X } = await gt(
|
|
6759
|
-
|
|
6763
|
+
$.value,
|
|
6760
6764
|
e.child,
|
|
6761
6765
|
0,
|
|
6762
6766
|
() => ({}),
|
|
6763
|
-
|
|
6767
|
+
ue
|
|
6764
6768
|
);
|
|
6765
|
-
let
|
|
6769
|
+
let j = X;
|
|
6766
6770
|
!p.value && C.value.index && (k.unshift({
|
|
6767
6771
|
title: "#",
|
|
6768
6772
|
key: "index",
|
|
@@ -6784,7 +6788,7 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6784
6788
|
}
|
|
6785
6789
|
);
|
|
6786
6790
|
}
|
|
6787
|
-
}),
|
|
6791
|
+
}), j = j + 60), !p.value && (e.selection || C.value.selection !== 0) && (k.unshift({
|
|
6788
6792
|
type: "selection",
|
|
6789
6793
|
fixed: "left",
|
|
6790
6794
|
width: 60,
|
|
@@ -6792,7 +6796,7 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6792
6796
|
show: !0,
|
|
6793
6797
|
multiple: e.selection === 2 || C.value.selection === 2,
|
|
6794
6798
|
options: ["all", "none"]
|
|
6795
|
-
}),
|
|
6799
|
+
}), j = j + 60);
|
|
6796
6800
|
const Y = e.id || l.params.id;
|
|
6797
6801
|
if (!p.value && C.value.commonTime && k.push(...Ta()), e.enableAction === !0 && I.value && I.value.length > 0) {
|
|
6798
6802
|
const le = G(I.value);
|
|
@@ -6819,11 +6823,11 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6819
6823
|
});
|
|
6820
6824
|
}
|
|
6821
6825
|
};
|
|
6822
|
-
|
|
6826
|
+
j = j + Number(
|
|
6823
6827
|
typeof C.value.actionWidth == "string" ? C.value.actionWidth.replace("px", "") : C.value.actionWidth
|
|
6824
6828
|
), k.push(pe);
|
|
6825
6829
|
}
|
|
6826
|
-
g.value = k, K.value = V, y.value =
|
|
6830
|
+
g.value = k, K.value = V, y.value = j;
|
|
6827
6831
|
}, dn = (k) => typeof k == "number" ? `${k}px` : k, pn = () => {
|
|
6828
6832
|
if (e.height) {
|
|
6829
6833
|
const k = dn(e.height);
|
|
@@ -6842,12 +6846,12 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6842
6846
|
}), t("on-update:columns", k);
|
|
6843
6847
|
}, bt = (k, V, W) => {
|
|
6844
6848
|
let X;
|
|
6845
|
-
const
|
|
6849
|
+
const j = e.id || l.params.id;
|
|
6846
6850
|
e.formFetch ? X = e.formFetch({
|
|
6847
|
-
tableId:
|
|
6851
|
+
tableId: j,
|
|
6848
6852
|
...k
|
|
6849
6853
|
}) : X = We({
|
|
6850
|
-
tableId:
|
|
6854
|
+
tableId: j,
|
|
6851
6855
|
...k
|
|
6852
6856
|
}), X.then(() => {
|
|
6853
6857
|
ae(), V();
|
|
@@ -6855,16 +6859,16 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6855
6859
|
W(Y);
|
|
6856
6860
|
});
|
|
6857
6861
|
}, Fa = () => {
|
|
6858
|
-
h.value = "",
|
|
6862
|
+
h.value = "", $.value = [], I.value = [], U.value = [], q.value = {
|
|
6859
6863
|
fetch: null,
|
|
6860
6864
|
when_drawer_open: "",
|
|
6861
6865
|
when_before_save: ""
|
|
6862
6866
|
}, C.value = He();
|
|
6863
6867
|
}, Ba = (k) => {
|
|
6864
6868
|
const V = je.parse(k.viewJson);
|
|
6865
|
-
h.value = k.tableTitle,
|
|
6869
|
+
h.value = k.tableTitle, $.value = Ye(V.table), I.value = Je(e.actions || V.action);
|
|
6866
6870
|
const W = Je(V.suffix || []);
|
|
6867
|
-
U.value = W.map((
|
|
6871
|
+
U.value = W.filter((j) => j.main).map((j) => (Ia(j), j)), q.value = fa(V.trigger);
|
|
6868
6872
|
const X = He(e.options ?? V.option);
|
|
6869
6873
|
k.tableTitle && X.title && zf(k.tableTitle), C.value = X;
|
|
6870
6874
|
}, rt = async () => {
|
|
@@ -6884,7 +6888,7 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6884
6888
|
R.value = i("Notice.network"), H.value = !0;
|
|
6885
6889
|
return;
|
|
6886
6890
|
}
|
|
6887
|
-
pn(), e.columns ? (
|
|
6891
|
+
pn(), e.columns ? ($.value = e.columns || [], I.value = e.actions || [], U.value = e.suffixes || [], C.value = He(e.options), await un()) : await Xe(k).then(async (V) => {
|
|
6888
6892
|
Ba(V), await un();
|
|
6889
6893
|
}).catch((V) => {
|
|
6890
6894
|
R.value = V.message, H.value = !0;
|
|
@@ -6911,7 +6915,7 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6911
6915
|
if (V && typeof V == "string") {
|
|
6912
6916
|
try {
|
|
6913
6917
|
const W = new Function("POST", "fnNotification", V);
|
|
6914
|
-
await W(
|
|
6918
|
+
await W(de, a, W), ae();
|
|
6915
6919
|
} catch (W) {
|
|
6916
6920
|
oe(W);
|
|
6917
6921
|
}
|
|
@@ -6970,7 +6974,7 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6970
6974
|
suffixes: U,
|
|
6971
6975
|
spinError: H,
|
|
6972
6976
|
isMobile: p,
|
|
6973
|
-
mRef:
|
|
6977
|
+
mRef: _,
|
|
6974
6978
|
checkRowKeys: O,
|
|
6975
6979
|
route: l,
|
|
6976
6980
|
rowKey: $e,
|
|
@@ -6997,7 +7001,7 @@ const ha = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
|
|
|
6997
7001
|
class: "uz-transform-fade-in"
|
|
6998
7002
|
}, D1 = { class: "uz-com-title" };
|
|
6999
7003
|
function T1(e, t, n, c, l, i) {
|
|
7000
|
-
const a = x("NSkeleton"), p = x("NButton"),
|
|
7004
|
+
const a = x("NSkeleton"), p = x("NButton"), _ = x("Plus"), z = x("NIcon"), D = x("UzActionButton"), N = x("UzSearchMobileBar"), v = x("UzTableMobile"), o = x("Filter"), h = x("NCheckbox"), f = x("GridDots"), u = x("Draggable"), g = x("NPopover"), S = x("UzSearchBar"), y = x("NDataTable"), F = x("NSpin"), K = x("UzTableDrawer");
|
|
7001
7005
|
return s(), d("div", {
|
|
7002
7006
|
class: "uz-table",
|
|
7003
7007
|
style: ye({
|
|
@@ -7085,7 +7089,7 @@ function T1(e, t, n, c, l, i) {
|
|
|
7085
7089
|
icon: m(() => [
|
|
7086
7090
|
b(z, null, {
|
|
7087
7091
|
default: m(() => [
|
|
7088
|
-
b(
|
|
7092
|
+
b(_)
|
|
7089
7093
|
]),
|
|
7090
7094
|
_: 1
|
|
7091
7095
|
})
|
|
@@ -7224,7 +7228,7 @@ function T1(e, t, n, c, l, i) {
|
|
|
7224
7228
|
icon: m(() => [
|
|
7225
7229
|
b(z, null, {
|
|
7226
7230
|
default: m(() => [
|
|
7227
|
-
b(
|
|
7231
|
+
b(_)
|
|
7228
7232
|
]),
|
|
7229
7233
|
_: 1
|
|
7230
7234
|
})
|
|
@@ -7313,7 +7317,7 @@ const F1 = /* @__PURE__ */ w(_1, [["render", T1]]), B1 = re({
|
|
|
7313
7317
|
},
|
|
7314
7318
|
emits: ["update:value"],
|
|
7315
7319
|
setup(e, { emit: t, expose: n }) {
|
|
7316
|
-
const c = De("emitSuffix"), l = De("modules"), i = De("mainFormValue"), { t: a } = Qt(), p = M(),
|
|
7320
|
+
const c = De("emitSuffix"), l = De("modules"), i = De("mainFormValue"), { t: a } = Qt(), p = M(), _ = M(), z = M(), D = M(!1), N = M(!0), v = M([]), o = M({ child: [] }), h = M(""), f = M({}), u = M([]), g = M(void 0), S = async (C) => {
|
|
7317
7321
|
const { formDefaultValue: R, fillingDefaultArray: H } = await wt(
|
|
7318
7322
|
e.item.params.columns,
|
|
7319
7323
|
C
|
|
@@ -7332,14 +7336,14 @@ const F1 = /* @__PURE__ */ w(_1, [["render", T1]]), B1 = re({
|
|
|
7332
7336
|
const O = [];
|
|
7333
7337
|
if (e.item.params.columns.forEach((L) => {
|
|
7334
7338
|
(L.input === "cascader" || L.input === "select") && L.params.multiple && O.push(L.key);
|
|
7335
|
-
}), e.item.params.draggable && H.sort((L,
|
|
7336
|
-
O.forEach((
|
|
7337
|
-
L[
|
|
7339
|
+
}), e.item.params.draggable && H.sort((L, ue) => L.sort_index - ue.sort_index), H && H.forEach((L) => {
|
|
7340
|
+
O.forEach((ue) => {
|
|
7341
|
+
L[ue] && typeof L[ue] == "string" && (L[ue] = JSON.parse(L[ue]));
|
|
7338
7342
|
});
|
|
7339
7343
|
}), e.item.params.init && H.length === 0 && e.status === 0 && (H = [f.value]), e.item.params.merge && typeof e.item.params.merge == "string")
|
|
7340
7344
|
try {
|
|
7341
7345
|
const L = e.item.params.merge;
|
|
7342
|
-
H = await new Function("formValue", "mainFormValue", "POST", L)(H, i,
|
|
7346
|
+
H = await new Function("formValue", "mainFormValue", "POST", L)(H, i, de);
|
|
7343
7347
|
} catch (L) {
|
|
7344
7348
|
oe(L);
|
|
7345
7349
|
}
|
|
@@ -7351,7 +7355,7 @@ const F1 = /* @__PURE__ */ w(_1, [["render", T1]]), B1 = re({
|
|
|
7351
7355
|
U();
|
|
7352
7356
|
});
|
|
7353
7357
|
}, F = (C) => C.delete ? "uz-table-child-delete" : "", K = async (C) => {
|
|
7354
|
-
e.item._suffix && (u.value = e.item._suffix), await S(C);
|
|
7358
|
+
e.item._suffix && (u.value = e.item._suffix.filter((ue) => ue.sub)), await S(C);
|
|
7355
7359
|
const { tableColumns: R, tableWidth: H } = await gt(
|
|
7356
7360
|
G(C ?? e.item.params.columns),
|
|
7357
7361
|
!0,
|
|
@@ -7391,7 +7395,7 @@ const F1 = /* @__PURE__ */ w(_1, [["render", T1]]), B1 = re({
|
|
|
7391
7395
|
);
|
|
7392
7396
|
}
|
|
7393
7397
|
}), O = O + 40), e.status !== 2 && e.item.params.showActions) {
|
|
7394
|
-
const
|
|
7398
|
+
const ue = {
|
|
7395
7399
|
title: () => a("Common.action"),
|
|
7396
7400
|
key: "action",
|
|
7397
7401
|
align: "center",
|
|
@@ -7425,11 +7429,11 @@ const F1 = /* @__PURE__ */ w(_1, [["render", T1]]), B1 = re({
|
|
|
7425
7429
|
});
|
|
7426
7430
|
}
|
|
7427
7431
|
};
|
|
7428
|
-
R.push(
|
|
7432
|
+
R.push(ue);
|
|
7429
7433
|
}
|
|
7430
7434
|
const L = [];
|
|
7431
|
-
R.forEach((
|
|
7432
|
-
|
|
7435
|
+
R.forEach((ue) => {
|
|
7436
|
+
ue.show && L.push(ue);
|
|
7433
7437
|
}), v.value = L, O = O + 180, g.value = O;
|
|
7434
7438
|
}, Z = (C) => {
|
|
7435
7439
|
if (e.item.params.summary) {
|
|
@@ -7458,7 +7462,7 @@ const F1 = /* @__PURE__ */ w(_1, [["render", T1]]), B1 = re({
|
|
|
7458
7462
|
mainFormValue: i,
|
|
7459
7463
|
children: () => o.value.child,
|
|
7460
7464
|
callback: async (H) => {
|
|
7461
|
-
const O = await R(H, i,
|
|
7465
|
+
const O = await R(H, i, de);
|
|
7462
7466
|
o.value.child = [...o.value.child, ...O], be(() => {
|
|
7463
7467
|
U();
|
|
7464
7468
|
});
|
|
@@ -7478,7 +7482,7 @@ const F1 = /* @__PURE__ */ w(_1, [["render", T1]]), B1 = re({
|
|
|
7478
7482
|
} catch (C) {
|
|
7479
7483
|
oe(C);
|
|
7480
7484
|
}
|
|
7481
|
-
},
|
|
7485
|
+
}, $ = () => {
|
|
7482
7486
|
z.value?.restoreValidation();
|
|
7483
7487
|
}, I = () => (h.value = "", new Promise((C, R) => {
|
|
7484
7488
|
const H = o.value.child.filter(
|
|
@@ -7492,19 +7496,19 @@ const F1 = /* @__PURE__ */ w(_1, [["render", T1]]), B1 = re({
|
|
|
7492
7496
|
O ? (h.value = e.item.form.rule.message, R()) : C();
|
|
7493
7497
|
});
|
|
7494
7498
|
})), U = () => {
|
|
7495
|
-
if (e.item.params.draggable && e.status !== 2 && p.value &&
|
|
7499
|
+
if (e.item.params.draggable && e.status !== 2 && p.value && !_.value) {
|
|
7496
7500
|
const C = p.value.$el.querySelector(".n-data-table-tbody");
|
|
7497
|
-
C && (
|
|
7501
|
+
C && (_.value = hs.create(C, {
|
|
7498
7502
|
handle: ".uz-drag-handle",
|
|
7499
7503
|
// setData(dataTransfer: any) {
|
|
7500
7504
|
// dataTransfer.setData('Text', '')
|
|
7501
7505
|
// },
|
|
7502
7506
|
onEnd: ({ oldIndex: R, newIndex: H }) => {
|
|
7503
|
-
|
|
7507
|
+
_.value?.destroy(), _.value = null, N.value = !1;
|
|
7504
7508
|
let O = G(o.value.child);
|
|
7505
7509
|
const L = O.splice(R, 1)[0];
|
|
7506
|
-
O.splice(H, 0, L), O = O.map((
|
|
7507
|
-
...
|
|
7510
|
+
O.splice(H, 0, L), O = O.map((ue, $e) => ({
|
|
7511
|
+
...ue,
|
|
7508
7512
|
sort_index: $e
|
|
7509
7513
|
})), o.value.child = O, be(() => {
|
|
7510
7514
|
N.value = !0, setTimeout(() => {
|
|
@@ -7525,8 +7529,8 @@ const F1 = /* @__PURE__ */ w(_1, [["render", T1]]), B1 = re({
|
|
|
7525
7529
|
});
|
|
7526
7530
|
};
|
|
7527
7531
|
return Ot(() => {
|
|
7528
|
-
|
|
7529
|
-
}), n({ validate: I, restoreValidation:
|
|
7532
|
+
_.value?.destroy(), _.value = null;
|
|
7533
|
+
}), n({ validate: I, restoreValidation: $ }), ce(
|
|
7530
7534
|
() => e.item.params.columns,
|
|
7531
7535
|
(C, R) => {
|
|
7532
7536
|
JSON.stringify(C) !== JSON.stringify(R) && K(C);
|
|
@@ -7566,7 +7570,7 @@ const F1 = /* @__PURE__ */ w(_1, [["render", T1]]), B1 = re({
|
|
|
7566
7570
|
class: "uz-table-asterisk"
|
|
7567
7571
|
}, A1 = { class: "uz-flex uz-gap-2" }, O1 = { class: "uz-flex uz-justify-end uz-gap-2" };
|
|
7568
7572
|
function R1(e, t, n, c, l, i) {
|
|
7569
|
-
const a = x("UzIcon"), p = x("NIcon"),
|
|
7573
|
+
const a = x("UzIcon"), p = x("NIcon"), _ = x("NButton"), z = x("Plus"), D = x("NDataTable"), N = x("NForm");
|
|
7570
7574
|
return s(), d("div", I1, [
|
|
7571
7575
|
r("div", V1, [
|
|
7572
7576
|
r("div", U1, [
|
|
@@ -7574,7 +7578,7 @@ function R1(e, t, n, c, l, i) {
|
|
|
7574
7578
|
e.item.form.rule.required ? (s(), d("span", j1, " * ")) : Q("", !0)
|
|
7575
7579
|
]),
|
|
7576
7580
|
r("div", A1, [
|
|
7577
|
-
(s(!0), d(se, null, we(e.suffixes, (v) => (s(), B(
|
|
7581
|
+
(s(!0), d(se, null, we(e.suffixes, (v) => (s(), B(_, {
|
|
7578
7582
|
key: v.key,
|
|
7579
7583
|
type: v.color,
|
|
7580
7584
|
secondary: "",
|
|
@@ -7600,7 +7604,7 @@ function R1(e, t, n, c, l, i) {
|
|
|
7600
7604
|
key: "0"
|
|
7601
7605
|
} : void 0
|
|
7602
7606
|
]), 1032, ["type", "onClick"]))), 128)),
|
|
7603
|
-
e.item.params.optionsType && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (s(), B(
|
|
7607
|
+
e.item.params.optionsType && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (s(), B(_, {
|
|
7604
7608
|
key: 0,
|
|
7605
7609
|
type: "success",
|
|
7606
7610
|
secondary: "",
|
|
@@ -7619,7 +7623,7 @@ function R1(e, t, n, c, l, i) {
|
|
|
7619
7623
|
]),
|
|
7620
7624
|
_: 1
|
|
7621
7625
|
}, 8, ["onClick"])) : Q("", !0),
|
|
7622
|
-
e.item.params.addButton && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (s(), B(
|
|
7626
|
+
e.item.params.addButton && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (s(), B(_, {
|
|
7623
7627
|
key: 1,
|
|
7624
7628
|
type: "success",
|
|
7625
7629
|
secondary: "",
|
|
@@ -7664,7 +7668,7 @@ function R1(e, t, n, c, l, i) {
|
|
|
7664
7668
|
remote: ""
|
|
7665
7669
|
}, null, 8, ["columns", "data", "loading", "summary", "scroll-x", "class", "row-class-name"])) : Q("", !0),
|
|
7666
7670
|
r("div", O1, [
|
|
7667
|
-
e.item.params.optionsType && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (s(), B(
|
|
7671
|
+
e.item.params.optionsType && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (s(), B(_, {
|
|
7668
7672
|
key: 0,
|
|
7669
7673
|
type: "success",
|
|
7670
7674
|
secondary: "",
|
|
@@ -7683,7 +7687,7 @@ function R1(e, t, n, c, l, i) {
|
|
|
7683
7687
|
]),
|
|
7684
7688
|
_: 1
|
|
7685
7689
|
}, 8, ["onClick"])) : Q("", !0),
|
|
7686
|
-
e.item.params.addButton && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (s(), B(
|
|
7690
|
+
e.item.params.addButton && (e.status !== 2 && (e.item.form.edit ? !e.item.form.edit.readonly : !e.item.form.readonly)) ? (s(), B(_, {
|
|
7687
7691
|
key: 1,
|
|
7688
7692
|
type: "success",
|
|
7689
7693
|
secondary: "",
|
|
@@ -7722,7 +7726,7 @@ const P1 = /* @__PURE__ */ w(B1, [["render", R1]]), H1 = re({
|
|
|
7722
7726
|
},
|
|
7723
7727
|
emits: ["update:value"],
|
|
7724
7728
|
setup(e) {
|
|
7725
|
-
const t = De("modules"), { t: n } = Qt(), c = M(), l = M(!1), i = M([]), a = M([]), p = M(void 0),
|
|
7729
|
+
const t = De("modules"), { t: n } = Qt(), c = M(), l = M(!1), i = M([]), a = M([]), p = M(void 0), _ = (N) => {
|
|
7726
7730
|
if (l.value = !0, e.item.params.link) {
|
|
7727
7731
|
const v = [];
|
|
7728
7732
|
e.item.params.columns.forEach((o) => {
|
|
@@ -7819,10 +7823,10 @@ const P1 = /* @__PURE__ */ w(B1, [["render", R1]]), H1 = re({
|
|
|
7819
7823
|
}
|
|
7820
7824
|
]
|
|
7821
7825
|
});
|
|
7822
|
-
|
|
7826
|
+
_(N);
|
|
7823
7827
|
}
|
|
7824
7828
|
} catch {
|
|
7825
|
-
|
|
7829
|
+
_([]);
|
|
7826
7830
|
}
|
|
7827
7831
|
}), {
|
|
7828
7832
|
drawerRef: c,
|
|
@@ -7870,7 +7874,7 @@ const W1 = /* @__PURE__ */ w(H1, [["render", K1]]), G1 = re({
|
|
|
7870
7874
|
const c = Se(() => fe.isMobile), l = M(), i = M(0), a = M({}), p = M({
|
|
7871
7875
|
link: "",
|
|
7872
7876
|
linkFn: ""
|
|
7873
|
-
}),
|
|
7877
|
+
}), _ = M(!1), z = M({
|
|
7874
7878
|
index: 1,
|
|
7875
7879
|
selection: 0,
|
|
7876
7880
|
// 0:false | 1:multiple:true | 2:multiple:false
|
|
@@ -7891,7 +7895,7 @@ const W1 = /* @__PURE__ */ w(H1, [["render", K1]]), G1 = re({
|
|
|
7891
7895
|
when_drawer_open: "",
|
|
7892
7896
|
when_before_save: ""
|
|
7893
7897
|
}), g = M(!1), S = M(), y = () => {
|
|
7894
|
-
l.value?.restoreValidation(), a.value = {}, N.value = !1, D.value = !1,
|
|
7898
|
+
l.value?.restoreValidation(), a.value = {}, N.value = !1, D.value = !1, _.value = !1, t("update:show", !1);
|
|
7895
7899
|
}, F = () => {
|
|
7896
7900
|
i.value !== 2 ? Cf.info({
|
|
7897
7901
|
title: "提示",
|
|
@@ -7907,7 +7911,7 @@ const W1 = /* @__PURE__ */ w(H1, [["render", K1]]), G1 = re({
|
|
|
7907
7911
|
const U = u.value.when_drawer_open;
|
|
7908
7912
|
if (U && typeof U == "string")
|
|
7909
7913
|
try {
|
|
7910
|
-
new Function("formValues", "POST", U)(I,
|
|
7914
|
+
new Function("formValues", "POST", U)(I, de).then((C) => {
|
|
7911
7915
|
a.value = C;
|
|
7912
7916
|
}).catch((C) => {
|
|
7913
7917
|
oe(C);
|
|
@@ -7918,11 +7922,11 @@ const W1 = /* @__PURE__ */ w(H1, [["render", K1]]), G1 = re({
|
|
|
7918
7922
|
else
|
|
7919
7923
|
a.value = I;
|
|
7920
7924
|
}, Z = async (I, U, q, C = 0, R) => {
|
|
7921
|
-
v.value = !0, i.value = C, z.value = U, u.value = q,
|
|
7925
|
+
v.value = !0, i.value = C, z.value = U, u.value = q, _.value = !0, I().then(({ form: H, data: O }) => {
|
|
7922
7926
|
f.value = H, a.value = O, S.value = R, v.value = !1;
|
|
7923
7927
|
}).catch(() => null);
|
|
7924
7928
|
}, ne = (I, U, q, C = 0) => {
|
|
7925
|
-
if (i.value = C, S.value = null, v.value = !0,
|
|
7929
|
+
if (i.value = C, S.value = null, v.value = !0, I) {
|
|
7926
7930
|
p.value = {
|
|
7927
7931
|
link: I,
|
|
7928
7932
|
linkFn: U
|
|
@@ -7930,23 +7934,26 @@ const W1 = /* @__PURE__ */ w(H1, [["render", K1]]), G1 = re({
|
|
|
7930
7934
|
const R = I.split(".")[0];
|
|
7931
7935
|
Xe(R).then((H) => {
|
|
7932
7936
|
be(async () => {
|
|
7933
|
-
const O = je.parse(H.viewJson)
|
|
7937
|
+
const O = je.parse(H.viewJson);
|
|
7938
|
+
z.value = He(O.option), _.value = !0;
|
|
7939
|
+
const { form: L } = await wt(
|
|
7934
7940
|
Ye(O.table)
|
|
7935
7941
|
);
|
|
7936
7942
|
u.value = O.trigger, q && K(q), be(() => {
|
|
7937
|
-
f.value = L,
|
|
7943
|
+
f.value = L, v.value = !1;
|
|
7938
7944
|
});
|
|
7939
7945
|
});
|
|
7940
7946
|
}).catch(() => {
|
|
7941
7947
|
g.value = !0, v.value = !1;
|
|
7942
7948
|
});
|
|
7943
|
-
}
|
|
7949
|
+
} else
|
|
7950
|
+
_.value = !0;
|
|
7944
7951
|
}, T = () => {
|
|
7945
7952
|
h.value = 0, N.value = !0, l.value?.validate().then(async (I) => {
|
|
7946
7953
|
if (u.value.when_before_save) {
|
|
7947
7954
|
const U = u.value.when_before_save, q = new Function("data", "POST", U);
|
|
7948
7955
|
try {
|
|
7949
|
-
I = await q(I,
|
|
7956
|
+
I = await q(I, de).catch((C) => {
|
|
7950
7957
|
h.value = 1, o.value = C.message;
|
|
7951
7958
|
});
|
|
7952
7959
|
} catch (C) {
|
|
@@ -7997,7 +8004,7 @@ const W1 = /* @__PURE__ */ w(H1, [["render", K1]]), G1 = re({
|
|
|
7997
8004
|
});
|
|
7998
8005
|
};
|
|
7999
8006
|
return n({ link: ne, addAndEdit: Z, getFormValues: () => l.value?.getValues() }), {
|
|
8000
|
-
drawer:
|
|
8007
|
+
drawer: _,
|
|
8001
8008
|
formRef: l,
|
|
8002
8009
|
tableOption: z,
|
|
8003
8010
|
ocrShow: D,
|
|
@@ -8020,7 +8027,7 @@ const W1 = /* @__PURE__ */ w(H1, [["render", K1]]), G1 = re({
|
|
|
8020
8027
|
class: "uz-grid uz-grid-cols-2 uz-gap-2"
|
|
8021
8028
|
}, X1 = { class: "uz-flex uz-gap-2" };
|
|
8022
8029
|
function Y1(e, t, n, c, l, i) {
|
|
8023
|
-
const a = x("NSkeleton"), p = x("UzForm"),
|
|
8030
|
+
const a = x("NSkeleton"), p = x("UzForm"), _ = x("UzSpin"), z = x("NSpin"), D = x("NButton"), N = x("NDrawerContent"), v = x("NDrawer");
|
|
8024
8031
|
return s(), B(v, {
|
|
8025
8032
|
show: e.drawer,
|
|
8026
8033
|
"onUpdate:show": t[1] || (t[1] = (o) => e.drawer = o),
|
|
@@ -8044,7 +8051,7 @@ function Y1(e, t, n, c, l, i) {
|
|
|
8044
8051
|
E(P(e.$t("Notice.error")), 1)
|
|
8045
8052
|
]),
|
|
8046
8053
|
default: m(() => [
|
|
8047
|
-
b(
|
|
8054
|
+
b(_, {
|
|
8048
8055
|
value: e.spinShow,
|
|
8049
8056
|
"onUpdate:value": t[0] || (t[0] = (o) => e.spinShow = o),
|
|
8050
8057
|
message: e.spinMsg,
|
|
@@ -8242,7 +8249,7 @@ const r0 = /* @__PURE__ */ w(e0, [["render", o0], ["__scopeId", "data-v-01b68b92
|
|
|
8242
8249
|
class: "uz-flex uz-justify-center uz-text-center uz-pb-4"
|
|
8243
8250
|
};
|
|
8244
8251
|
function c0(e, t, n, c, l, i) {
|
|
8245
|
-
const a = x("UzTableMobileList"), p = x("NCheckbox"),
|
|
8252
|
+
const a = x("UzTableMobileList"), p = x("NCheckbox"), _ = x("NPagination"), z = x("NCheckboxGroup"), D = x("NRadio"), N = x("NRadioGroup");
|
|
8246
8253
|
return e.selection === 2 ? (s(), B(z, {
|
|
8247
8254
|
key: 0,
|
|
8248
8255
|
value: e.rowKeys,
|
|
@@ -8272,7 +8279,7 @@ function c0(e, t, n, c, l, i) {
|
|
|
8272
8279
|
_: 2
|
|
8273
8280
|
}, 1032, ["value"]))), 128)),
|
|
8274
8281
|
e.tableQueries && e.tableData && e.tableData.length > 0 ? (s(), d("div", s0, [
|
|
8275
|
-
b(
|
|
8282
|
+
b(_, {
|
|
8276
8283
|
page: e.tableQueries.query.page,
|
|
8277
8284
|
"onUpdate:page": [
|
|
8278
8285
|
t[0] || (t[0] = (v) => e.tableQueries.query.page = v),
|
|
@@ -8314,7 +8321,7 @@ function c0(e, t, n, c, l, i) {
|
|
|
8314
8321
|
_: 2
|
|
8315
8322
|
}, 1032, ["value"]))), 128)),
|
|
8316
8323
|
e.tableQueries && e.tableData && e.tableData.length > 0 ? (s(), d("div", l0, [
|
|
8317
|
-
b(
|
|
8324
|
+
b(_, {
|
|
8318
8325
|
page: e.tableQueries.query.page,
|
|
8319
8326
|
"onUpdate:page": [
|
|
8320
8327
|
t[2] || (t[2] = (v) => e.tableQueries.query.page = v),
|
|
@@ -8346,7 +8353,7 @@ function c0(e, t, n, c, l, i) {
|
|
|
8346
8353
|
}, null, 8, ["tableData", "tableIndex", "tableColumns"])
|
|
8347
8354
|
]))), 128)),
|
|
8348
8355
|
e.tableQueries && e.tableData && e.tableData.length > 0 ? (s(), d("div", i0, [
|
|
8349
|
-
b(
|
|
8356
|
+
b(_, {
|
|
8350
8357
|
page: e.tableQueries.query.page,
|
|
8351
8358
|
"onUpdate:page": [
|
|
8352
8359
|
t[4] || (t[4] = (v) => e.tableQueries.query.page = v),
|
|
@@ -8466,7 +8473,7 @@ const p0 = re({
|
|
|
8466
8473
|
}
|
|
8467
8474
|
});
|
|
8468
8475
|
function f0(e, t, n, c, l, i) {
|
|
8469
|
-
const a = x("NTabPane"), p = x("Trash"),
|
|
8476
|
+
const a = x("NTabPane"), p = x("Trash"), _ = x("NIcon"), z = x("NButton"), D = x("NPopconfirm"), N = x("NFlex"), v = x("NTabs");
|
|
8470
8477
|
return s(), B(v, {
|
|
8471
8478
|
value: e.thumbnailStore.active,
|
|
8472
8479
|
type: "card",
|
|
@@ -8483,7 +8490,7 @@ function f0(e, t, n, c, l, i) {
|
|
|
8483
8490
|
trigger: m(() => [
|
|
8484
8491
|
b(z, { class: "uz-button-glass" }, {
|
|
8485
8492
|
default: m(() => [
|
|
8486
|
-
b(
|
|
8493
|
+
b(_, { color: "#e65444" }, {
|
|
8487
8494
|
default: m(() => [
|
|
8488
8495
|
b(p)
|
|
8489
8496
|
]),
|
|
@@ -8854,7 +8861,7 @@ function em(e, t) {
|
|
|
8854
8861
|
}];
|
|
8855
8862
|
}
|
|
8856
8863
|
function tm(e, t, n) {
|
|
8857
|
-
const c = `useQuery-${e}`, l = M(), i = M(), a = M(), p = M(!1),
|
|
8864
|
+
const c = `useQuery-${e}`, l = M(), i = M(), a = M(), p = M(!1), _ = M("idle"), z = M(), D = M(0), N = M(0), v = () => {
|
|
8858
8865
|
kn(), clearInterval(a.value), a.value = null;
|
|
8859
8866
|
}, o = async () => {
|
|
8860
8867
|
if (!p.value) {
|
|
@@ -8888,7 +8895,7 @@ function tm(e, t, n) {
|
|
|
8888
8895
|
n?.formatResult && (F = n.formatResult(y)), i.value = F;
|
|
8889
8896
|
}
|
|
8890
8897
|
}, f = (y, F) => {
|
|
8891
|
-
p.value = y, F && (
|
|
8898
|
+
p.value = y, F && (_.value = F);
|
|
8892
8899
|
}, u = (y) => {
|
|
8893
8900
|
z.value = y;
|
|
8894
8901
|
}, g = () => {
|
|
@@ -8910,7 +8917,7 @@ function tm(e, t, n) {
|
|
|
8910
8917
|
}, n?.pollingInterval)) : (n === void 0 || n.manual === void 0 || n.manual === !1) && o(), Ot(() => {
|
|
8911
8918
|
v();
|
|
8912
8919
|
}), {
|
|
8913
|
-
status:
|
|
8920
|
+
status: _,
|
|
8914
8921
|
data: i,
|
|
8915
8922
|
loading: p,
|
|
8916
8923
|
error: z,
|
|
@@ -8919,7 +8926,7 @@ function tm(e, t, n) {
|
|
|
8919
8926
|
refetch: S
|
|
8920
8927
|
};
|
|
8921
8928
|
}
|
|
8922
|
-
const x0 = "0.1.
|
|
8929
|
+
const x0 = "0.1.12";
|
|
8923
8930
|
let _a;
|
|
8924
8931
|
async function $a() {
|
|
8925
8932
|
const e = await fetch(
|
|
@@ -8942,7 +8949,7 @@ async function $0() {
|
|
|
8942
8949
|
}
|
|
8943
8950
|
let Ut = "", jt;
|
|
8944
8951
|
const te = navigator.userAgent.toLocaleUpperCase(), C0 = () => {
|
|
8945
|
-
const e = /WINDOWS NT 5.[\d]+/, t = /WINDOWS NT 6.[\d]+/, n = /WINDOWS NT 7.[\d]+/, c = /WINDOWS NT 10.[\d]+/, l = /WINDOWS NT 11.[\d]+/, i = /ANDROID [\d.]+/, a = /IPHONE/, p = /IPAD/,
|
|
8952
|
+
const e = /WINDOWS NT 5.[\d]+/, t = /WINDOWS NT 6.[\d]+/, n = /WINDOWS NT 7.[\d]+/, c = /WINDOWS NT 10.[\d]+/, l = /WINDOWS NT 11.[\d]+/, i = /ANDROID [\d.]+/, a = /IPHONE/, p = /IPAD/, _ = /MAC/;
|
|
8946
8953
|
if (e.test(te)) return "Windows XP";
|
|
8947
8954
|
if (t.test(te)) return "Windows 7";
|
|
8948
8955
|
if (n.test(te)) return "Windows 8";
|
|
@@ -8962,20 +8969,20 @@ const te = navigator.userAgent.toLocaleUpperCase(), C0 = () => {
|
|
|
8962
8969
|
const D = /OS [\d_]+/.exec(te);
|
|
8963
8970
|
return `iPad${D ? D[0].split(" ")[1].replace(/_/g, ".") : ""}`;
|
|
8964
8971
|
}
|
|
8965
|
-
if (
|
|
8972
|
+
if (_.test(te)) {
|
|
8966
8973
|
const D = / [\d_]+/.exec(te);
|
|
8967
8974
|
return `MAC ${D ? D[0].replace(/_/g, ".").replace(/ /g, "") : ""}`;
|
|
8968
8975
|
}
|
|
8969
8976
|
return "Other Platform";
|
|
8970
8977
|
}, M0 = () => {
|
|
8971
|
-
const e = /MSIE [\d]+/, t = /EDG\/[\d.]+/, n = /FIREFOX\/[\d.]+/, c = /CHROME\/[\d.]+/, l = /SAFARI\/[\d.]+/, i = /OPR\/[\d.]+/, a = /SE \d/, p = /UCBROWSER/,
|
|
8978
|
+
const e = /MSIE [\d]+/, t = /EDG\/[\d.]+/, n = /FIREFOX\/[\d.]+/, c = /CHROME\/[\d.]+/, l = /SAFARI\/[\d.]+/, i = /OPR\/[\d.]+/, a = /SE \d/, p = /UCBROWSER/, _ = /ANDROID [\d.]+/;
|
|
8972
8979
|
if (e.test(te) && a.test(te))
|
|
8973
8980
|
return "SogouIE";
|
|
8974
8981
|
if (a.test(te))
|
|
8975
8982
|
return "SogouFast";
|
|
8976
8983
|
if (p.test(te))
|
|
8977
8984
|
return "UC";
|
|
8978
|
-
if (
|
|
8985
|
+
if (_.test(te))
|
|
8979
8986
|
return "Android";
|
|
8980
8987
|
if (i.test(te))
|
|
8981
8988
|
return "Opera";
|
|
@@ -9067,19 +9074,19 @@ function S0({ components: e = [] } = {}) {
|
|
|
9067
9074
|
}
|
|
9068
9075
|
function c(l, i) {
|
|
9069
9076
|
if (!t.includes(l) && (t.push(l), e.forEach((a) => {
|
|
9070
|
-
const { name: p, alias:
|
|
9071
|
-
n(l, p, a),
|
|
9077
|
+
const { name: p, alias: _ } = a;
|
|
9078
|
+
n(l, p, a), _ && _.forEach((z) => {
|
|
9072
9079
|
n(l, z, a);
|
|
9073
9080
|
});
|
|
9074
9081
|
}), i)) {
|
|
9075
9082
|
const {
|
|
9076
9083
|
monitor: a = !1,
|
|
9077
9084
|
monitorFn: p,
|
|
9078
|
-
version:
|
|
9085
|
+
version: _ = !0,
|
|
9079
9086
|
language: z = !1,
|
|
9080
9087
|
local: D = "zh-CN"
|
|
9081
9088
|
} = i, N = Me("theme", !1), v = Me("lang", D);
|
|
9082
|
-
jf(z), ta(v), na(N), Ne.global.locale.value = v,
|
|
9089
|
+
jf(z), ta(v), na(N), Ne.global.locale.value = v, _ && $0(), a && N0(l, a, p);
|
|
9083
9090
|
}
|
|
9084
9091
|
}
|
|
9085
9092
|
return {
|
|
@@ -9199,7 +9206,7 @@ export {
|
|
|
9199
9206
|
qr as Message2,
|
|
9200
9207
|
Xr as MinusRound,
|
|
9201
9208
|
br as MoonStars,
|
|
9202
|
-
|
|
9209
|
+
de as POST,
|
|
9203
9210
|
xr as Paperclip,
|
|
9204
9211
|
_r as Photo,
|
|
9205
9212
|
pt as PhotoOff,
|