@skyfox2000/webui 1.3.1 → 1.3.2
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/assets/modules/{file-upload-Ce5MFm6o.js → file-upload-BVB9c-eZ.js} +1 -1
- package/lib/assets/modules/{form-excel-Bq-9rkHa.js → form-excel-CsQBtfkA.js} +1 -1
- package/lib/assets/modules/{index-CrAJ72MK.js → index-CaaMz5sz.js} +1 -1
- package/lib/assets/modules/{index-B8uZAVPS.js → index-k_AnrbPY.js} +2 -2
- package/lib/assets/modules/{menuTabs-DEq88ENK.js → menuTabs-_Ph7P8ES.js} +2 -2
- package/lib/assets/modules/{toolIcon-OGhmNg0x.js → toolIcon-QMXCkImG.js} +1 -1
- package/lib/assets/modules/{uploadList-DzK2YNwb.js → uploadList-CXa3siDj.js} +4 -4
- package/lib/assets/modules/{uploadList-BzBJXttS.js → uploadList-D-FOtndj.js} +365 -365
- package/lib/es/AceEditor/index.js +3 -3
- package/lib/es/BasicLayout/index.js +3 -3
- package/lib/es/Error403/index.js +1 -1
- package/lib/es/Error404/index.js +1 -1
- package/lib/es/ExcelForm/index.js +4 -4
- package/lib/es/UploadForm/index.js +4 -4
- package/lib/typings/option.d.ts +3 -2
- package/lib/utils/options.d.ts +1 -1
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +99 -99
- package/package.json +1 -1
- package/src/components/form/autoComplete/index.vue +1 -1
- package/src/components/form/cascader/index.vue +1 -1
- package/src/components/form/checkbox/index.vue +1 -1
- package/src/components/form/radio/index.vue +1 -1
- package/src/components/form/select/index.vue +1 -9
- package/src/components/form/switch/index.vue +1 -1
- package/src/typings/option.d.ts +3 -2
- package/src/utils/options.ts +16 -26
- package/src/utils/page.ts +39 -4
package/lib/webui.es.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { u as Qe, i as ee, a as me, c as qe, P as j, o as Pe, b as Ge, d as Je, e as Ee, r as ce, f as Xe, g as Ze, h as Fe, j as et, k as ke, l as tt, _ as at, m as lt, O as Ne, q as Re, n as st, p as rt, s as L, t as ot, v as nt, w as it, x as ct, y as Q, z as ut, A as dt, B as pt, C as Me } from "./assets/modules/uploadList-
|
|
2
|
-
import { a9 as xl, N as yl, Q as kl, U as wl, a8 as Sl, a6 as Cl, a7 as $l, aa as Tl, X as Il, S as Dl, a4 as Pl, a1 as El, M as Fl, J as Nl, a3 as Rl, T as Ml, E as Ol, Z as Al, a2 as Bl, a5 as Ll, L as zl, K as Ul, R as Yl, ab as Wl, D as Kl, a0 as Vl, ac as jl, W as Hl, Y as Ql, V as ql, ad as Gl, F as Jl, G as Xl, ae as Zl, I as es, af as ts, H as as, $ as ls } from "./assets/modules/uploadList-
|
|
3
|
-
import { A as rs, U as os, a as ns, g as is, c as cs, d as us, p as ds, u as ps, b as fs } from "./assets/modules/file-upload-
|
|
1
|
+
import { u as Qe, i as ee, a as me, c as qe, P as j, o as Pe, b as Ge, d as Je, e as Ee, r as ce, f as Xe, g as Ze, h as Fe, j as et, k as ke, l as tt, _ as at, m as lt, O as Ne, q as Re, n as st, p as rt, s as L, t as ot, v as nt, w as it, x as ct, y as Q, z as ut, A as dt, B as pt, C as Me } from "./assets/modules/uploadList-D-FOtndj.js";
|
|
2
|
+
import { a9 as xl, N as yl, Q as kl, U as wl, a8 as Sl, a6 as Cl, a7 as $l, aa as Tl, X as Il, S as Dl, a4 as Pl, a1 as El, M as Fl, J as Nl, a3 as Rl, T as Ml, E as Ol, Z as Al, a2 as Bl, a5 as Ll, L as zl, K as Ul, R as Yl, ab as Wl, D as Kl, a0 as Vl, ac as jl, W as Hl, Y as Ql, V as ql, ad as Gl, F as Jl, G as Xl, ae as Zl, I as es, af as ts, H as as, $ as ls } from "./assets/modules/uploadList-D-FOtndj.js";
|
|
3
|
+
import { A as rs, U as os, a as ns, g as is, c as cs, d as us, p as ds, u as ps, b as fs } from "./assets/modules/file-upload-BVB9c-eZ.js";
|
|
4
4
|
import { EnvConfig as we } from "@skyfox2000/microbase";
|
|
5
5
|
import { FrontCache as re, httpPost as Oe, ResStatus as Ae, SERVER_HOST as ft, fieldMapping as oe } from "@skyfox2000/fapi";
|
|
6
6
|
import he from "vue-m-message";
|
|
7
|
-
import { defineComponent as S, createBlock as
|
|
7
|
+
import { defineComponent as S, createBlock as _, openBlock as m, withModifiers as ae, unref as l, useAttrs as q, withCtx as h, createElementVNode as T, createVNode as y, mergeProps as E, renderSlot as D, normalizeStyle as ue, toDisplayString as F, createCommentVNode as k, createElementBlock as w, ref as b, provide as ge, watch as $, onMounted as W, createTextVNode as R, inject as ne, resolveDirective as se, withDirectives as H, computed as Z, normalizeClass as N, createSlots as Be, useSlots as vt, Fragment as M, renderList as z, resolveDynamicComponent as mt, onActivated as ht, shallowRef as gt, onUnmounted as _t, withKeys as Se } from "vue";
|
|
8
8
|
import "async-validator";
|
|
9
9
|
import fe from "dayjs";
|
|
10
|
-
import { Popover as
|
|
10
|
+
import { Popover as bt, Spin as xt, theme as Le, Drawer as yt, Space as le, Form as ze, message as kt, FormItem as Ue, ConfigProvider as Ce, Popconfirm as wt, Button as Ye, DropdownButton as St, Menu as _e, MenuItem as be, Dropdown as ve, Checkbox as Ct, Table as We, Tree as $t, Cascader as Tt, DatePicker as It, Input as te, InputPassword as Dt, InputNumber as Pt, RangePicker as Et, Textarea as Ft, Transfer as Nt, TreeSelect as Rt, LayoutContent as Mt } from "ant-design-vue";
|
|
11
11
|
import { VueDraggableNext as Ot } from "vue-draggable-next";
|
|
12
|
-
import { d as Ke } from "./assets/modules/uploadList-
|
|
13
|
-
import { U as ms, a as hs } from "./assets/modules/uploadList-
|
|
14
|
-
import { a as
|
|
15
|
-
import { _ as B } from "./assets/modules/index-
|
|
16
|
-
import { _ as U } from "./assets/modules/toolIcon-
|
|
17
|
-
import { a as ws } from "./assets/modules/toolIcon-
|
|
18
|
-
import { _ as Cs, b as $s, c as Ts, d as Is, e as Ds, I as Ps, f as Es, g as Fs, a as Ns } from "./assets/modules/menuTabs-
|
|
19
|
-
import { _ as Ms } from "./assets/modules/index-
|
|
12
|
+
import { d as Ke } from "./assets/modules/uploadList-CXa3siDj.js";
|
|
13
|
+
import { U as ms, a as hs } from "./assets/modules/uploadList-CXa3siDj.js";
|
|
14
|
+
import { a as _s, c as bs, p as xs, v as ys } from "./assets/modules/form-excel-CsQBtfkA.js";
|
|
15
|
+
import { _ as B } from "./assets/modules/index-CaaMz5sz.js";
|
|
16
|
+
import { _ as U } from "./assets/modules/toolIcon-QMXCkImG.js";
|
|
17
|
+
import { a as ws } from "./assets/modules/toolIcon-QMXCkImG.js";
|
|
18
|
+
import { _ as Cs, b as $s, c as Ts, d as Is, e as Ds, I as Ps, f as Es, g as Fs, a as Ns } from "./assets/modules/menuTabs-_Ph7P8ES.js";
|
|
19
|
+
import { _ as Ms } from "./assets/modules/index-k_AnrbPY.js";
|
|
20
20
|
import { _ as G } from "./assets/modules/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
21
21
|
const $e = (s, a, t, e = "remove") => {
|
|
22
22
|
if (!t)
|
|
@@ -354,7 +354,7 @@ const ja = async (s, a, t) => {
|
|
|
354
354
|
__name: "fullscreen",
|
|
355
355
|
setup(s) {
|
|
356
356
|
const a = me();
|
|
357
|
-
return (t, e) => (m(),
|
|
357
|
+
return (t, e) => (m(), _(U, {
|
|
358
358
|
onClick: ae(l(Ve), ["stop"]),
|
|
359
359
|
icon: l(a).fullscreen ? "icon-exitscreen" : "icon-fullscreen",
|
|
360
360
|
class: "w-[17px] h-[17px]"
|
|
@@ -369,7 +369,7 @@ const ja = async (s, a, t) => {
|
|
|
369
369
|
},
|
|
370
370
|
setup(s) {
|
|
371
371
|
const a = q();
|
|
372
|
-
return (t, e) => (m(),
|
|
372
|
+
return (t, e) => (m(), _(l(bt), { placement: "topRight" }, {
|
|
373
373
|
content: h(() => [
|
|
374
374
|
D(t.$slots, "default", {}, () => [
|
|
375
375
|
T("div", {
|
|
@@ -406,7 +406,7 @@ const ja = async (s, a, t) => {
|
|
|
406
406
|
icon: a.icon,
|
|
407
407
|
icons: a.icons
|
|
408
408
|
});
|
|
409
|
-
return (n, i) => s.icon || s.icons ? (m(),
|
|
409
|
+
return (n, i) => s.icon || s.icons ? (m(), _(l(e), E({
|
|
410
410
|
key: 0,
|
|
411
411
|
icon: s.icon,
|
|
412
412
|
icons: s.icons,
|
|
@@ -432,7 +432,7 @@ const ja = async (s, a, t) => {
|
|
|
432
432
|
drawerSaveAs: { type: Function }
|
|
433
433
|
},
|
|
434
434
|
setup(s) {
|
|
435
|
-
const { useToken: a } = Le, { token: t } = a(), e =
|
|
435
|
+
const { useToken: a } = Le, { token: t } = a(), e = b(!1), n = s, i = n.editorCtrl;
|
|
436
436
|
ge(j.EditorControl, i), $(
|
|
437
437
|
() => i.visible.value,
|
|
438
438
|
(o) => {
|
|
@@ -448,7 +448,7 @@ const ja = async (s, a, t) => {
|
|
|
448
448
|
}, d = () => {
|
|
449
449
|
Je(i);
|
|
450
450
|
};
|
|
451
|
-
return (o, f) => (m(),
|
|
451
|
+
return (o, f) => (m(), _(l(yt), {
|
|
452
452
|
open: e.value,
|
|
453
453
|
"onUpdate:open": f[0] || (f[0] = (r) => e.value = r),
|
|
454
454
|
"get-container": !1,
|
|
@@ -491,7 +491,7 @@ const ja = async (s, a, t) => {
|
|
|
491
491
|
footer: h(() => [
|
|
492
492
|
y(l(le), null, {
|
|
493
493
|
default: h(() => [
|
|
494
|
-
o.cancelText !== "" ? (m(),
|
|
494
|
+
o.cancelText !== "" ? (m(), _(l(B), {
|
|
495
495
|
key: 0,
|
|
496
496
|
onClick: d
|
|
497
497
|
}, {
|
|
@@ -500,7 +500,7 @@ const ja = async (s, a, t) => {
|
|
|
500
500
|
]),
|
|
501
501
|
_: 1
|
|
502
502
|
})) : k("", !0),
|
|
503
|
-
o.saveAsText !== "" && l(i).saveAsBtnVisible !== !1 ? (m(),
|
|
503
|
+
o.saveAsText !== "" && l(i).saveAsBtnVisible !== !1 ? (m(), _(l(B), {
|
|
504
504
|
key: 1,
|
|
505
505
|
onClick: p,
|
|
506
506
|
type: "primary",
|
|
@@ -511,7 +511,7 @@ const ja = async (s, a, t) => {
|
|
|
511
511
|
]),
|
|
512
512
|
_: 1
|
|
513
513
|
}, 8, ["loading"])) : k("", !0),
|
|
514
|
-
o.saveText !== "" && l(i).saveBtnVisible !== !1 ? (m(),
|
|
514
|
+
o.saveText !== "" && l(i).saveBtnVisible !== !1 ? (m(), _(l(B), {
|
|
515
515
|
key: 2,
|
|
516
516
|
onClick: c,
|
|
517
517
|
type: "primary",
|
|
@@ -540,7 +540,7 @@ const ja = async (s, a, t) => {
|
|
|
540
540
|
const a = s, t = a.editorCtrl ?? ne(j.EditorControl, void 0);
|
|
541
541
|
return ge(j.LabelWidth, a.labelWidth), (e, n) => {
|
|
542
542
|
const i = se("submit");
|
|
543
|
-
return H((m(),
|
|
543
|
+
return H((m(), _(l(ze), {
|
|
544
544
|
"label-col": { flex: a.labelWidth ?? "85px" },
|
|
545
545
|
"wrapper-col": {
|
|
546
546
|
flex: a.wrapperWidth ?? "1 0 280px"
|
|
@@ -577,7 +577,7 @@ const ja = async (s, a, t) => {
|
|
|
577
577
|
nextLine: { type: Boolean }
|
|
578
578
|
},
|
|
579
579
|
setup(s) {
|
|
580
|
-
const a = s, t = q(), e = ne(j.EditorControl, void 0), n = ne(j.LabelWidth, "85px") ?? "85px", i = Ee(a, e), c =
|
|
580
|
+
const a = s, t = q(), e = ne(j.EditorControl, void 0), n = ne(j.LabelWidth, "85px") ?? "85px", i = Ee(a, e), c = b(!1);
|
|
581
581
|
setTimeout(() => {
|
|
582
582
|
c.value = !0;
|
|
583
583
|
}, 30);
|
|
@@ -594,7 +594,7 @@ const ja = async (s, a, t) => {
|
|
|
594
594
|
return o ? o.required ?? !0 : (kt.error(`"${a.label}" 的验证规则 \`${a.rule}\` 不存在`), i.value.errClass = "text-[#ff4d4f]", i.value.msg = `规则 \`${a.rule}\` 不存在,请检查代码!`, !0);
|
|
595
595
|
});
|
|
596
596
|
return (o, f) => (m(), w("div", Zt, [
|
|
597
|
-
c.value ? (m(),
|
|
597
|
+
c.value ? (m(), _(l(Ue), E({
|
|
598
598
|
key: 0,
|
|
599
599
|
required: d.value,
|
|
600
600
|
class: "relative"
|
|
@@ -616,7 +616,7 @@ const ja = async (s, a, t) => {
|
|
|
616
616
|
]),
|
|
617
617
|
T("div", ta, [
|
|
618
618
|
D(o.$slots, "helper", {}, () => [
|
|
619
|
-
o.helper ? (m(),
|
|
619
|
+
o.helper ? (m(), _(l(Gt), {
|
|
620
620
|
key: 0,
|
|
621
621
|
text: o.helper
|
|
622
622
|
}, null, 8, ["text"])) : k("", !0)
|
|
@@ -691,7 +691,7 @@ const ja = async (s, a, t) => {
|
|
|
691
691
|
},
|
|
692
692
|
emits: ["update:search"],
|
|
693
693
|
setup(s, { emit: a }) {
|
|
694
|
-
const t = s, e = a, n =
|
|
694
|
+
const t = s, e = a, n = b(0), i = b(0), c = b(0), p = (u) => {
|
|
695
695
|
let g = 0;
|
|
696
696
|
for (let C = 0; C < u.length; C++)
|
|
697
697
|
typeof u[C].type == "object" && g++;
|
|
@@ -739,7 +739,7 @@ const ja = async (s, a, t) => {
|
|
|
739
739
|
};
|
|
740
740
|
return (u, g) => {
|
|
741
741
|
const C = se("submit");
|
|
742
|
-
return i.value + c.value > 0 ? H((m(),
|
|
742
|
+
return i.value + c.value > 0 ? H((m(), _(l(ze), {
|
|
743
743
|
key: 0,
|
|
744
744
|
"label-col": { flex: "60px" },
|
|
745
745
|
style: {
|
|
@@ -751,15 +751,15 @@ const ja = async (s, a, t) => {
|
|
|
751
751
|
default: h(() => [
|
|
752
752
|
D(u.$slots, "default"),
|
|
753
753
|
u.gridCtrl.searchBar ? D(u.$slots, "control", { key: 0 }) : k("", !0),
|
|
754
|
-
n.value >= 1 ? (m(),
|
|
754
|
+
n.value >= 1 ? (m(), _(pe, {
|
|
755
755
|
key: 1,
|
|
756
756
|
class: "w-1/3"
|
|
757
757
|
})) : k("", !0),
|
|
758
|
-
n.value >= 2 ? (m(),
|
|
758
|
+
n.value >= 2 ? (m(), _(pe, {
|
|
759
759
|
key: 2,
|
|
760
760
|
class: "w-1/3"
|
|
761
761
|
})) : k("", !0),
|
|
762
|
-
i.value || u.gridCtrl.searchBar ? (m(),
|
|
762
|
+
i.value || u.gridCtrl.searchBar ? (m(), _(pe, {
|
|
763
763
|
key: 3,
|
|
764
764
|
class: "w-1/3 flex justify-end text-right pr-5",
|
|
765
765
|
"wrapper-col": { flex: "auto" }
|
|
@@ -846,7 +846,7 @@ const ja = async (s, a, t) => {
|
|
|
846
846
|
};
|
|
847
847
|
return (d, o) => {
|
|
848
848
|
const f = se("auth");
|
|
849
|
-
return m(),
|
|
849
|
+
return m(), _(l(Ce), { theme: {
|
|
850
850
|
token: {
|
|
851
851
|
fontSize: 13
|
|
852
852
|
}
|
|
@@ -857,7 +857,7 @@ const ja = async (s, a, t) => {
|
|
|
857
857
|
(m(!0), w(M, null, z(l(i), (r) => (m(), w(M, {
|
|
858
858
|
key: r.key
|
|
859
859
|
}, [
|
|
860
|
-
l(X)(r, a.record) ? (m(),
|
|
860
|
+
l(X)(r, a.record) ? (m(), _(l(wt), {
|
|
861
861
|
key: 0,
|
|
862
862
|
disabled: p(r) || !r.confirm,
|
|
863
863
|
cancelText: "否",
|
|
@@ -868,7 +868,7 @@ const ja = async (s, a, t) => {
|
|
|
868
868
|
onConfirm: (v) => l(Y)(r, l(t).page, l(t), a.record, !0)
|
|
869
869
|
}, {
|
|
870
870
|
default: h(() => [
|
|
871
|
-
l(X)(r, a.record) ? H((m(),
|
|
871
|
+
l(X)(r, a.record) ? H((m(), _(l(Ye), {
|
|
872
872
|
key: r.key,
|
|
873
873
|
type: r.type ?? "text",
|
|
874
874
|
danger: r.danger,
|
|
@@ -890,22 +890,22 @@ const ja = async (s, a, t) => {
|
|
|
890
890
|
_: 2
|
|
891
891
|
}, 1032, ["disabled", "title", "onConfirm"])) : k("", !0)
|
|
892
892
|
], 64))), 128)),
|
|
893
|
-
d.record.Enabled == 1 ? (m(),
|
|
893
|
+
d.record.Enabled == 1 ? (m(), _(l(Ce), {
|
|
894
894
|
key: 0,
|
|
895
895
|
autoInsertSpaceInButton: !1
|
|
896
896
|
}, {
|
|
897
897
|
default: h(() => [
|
|
898
|
-
l(c).length > 0 ? (m(),
|
|
898
|
+
l(c).length > 0 ? (m(), _(l(St), {
|
|
899
899
|
key: 0,
|
|
900
900
|
size: "small"
|
|
901
901
|
}, {
|
|
902
902
|
overlay: h(() => [
|
|
903
|
-
y(l(
|
|
903
|
+
y(l(_e), null, {
|
|
904
904
|
default: h(() => [
|
|
905
905
|
(m(!0), w(M, null, z(l(c), (r) => (m(), w(M, {
|
|
906
906
|
key: r.key
|
|
907
907
|
}, [
|
|
908
|
-
l(X)(r, a.record) ? H((m(),
|
|
908
|
+
l(X)(r, a.record) ? H((m(), _(l(be), {
|
|
909
909
|
key: 0,
|
|
910
910
|
disabled: p(r),
|
|
911
911
|
onClick: (v) => l(Y)(r, l(t).page, l(t), a.record)
|
|
@@ -952,7 +952,7 @@ const ja = async (s, a, t) => {
|
|
|
952
952
|
K(e, "tool.export.excel.selected") && (K(e, "tool.export.excel.selected").disabled = !p), K(e, "tool.export.pdf.selected") && (K(e, "tool.export.pdf.selected").disabled = !p);
|
|
953
953
|
}
|
|
954
954
|
);
|
|
955
|
-
const i =
|
|
955
|
+
const i = b([]);
|
|
956
956
|
$(
|
|
957
957
|
() => t.columns.value,
|
|
958
958
|
(p) => {
|
|
@@ -967,7 +967,7 @@ const ja = async (s, a, t) => {
|
|
|
967
967
|
(m(!0), w(M, null, z(l(e), (o, f) => (m(), w(M, {
|
|
968
968
|
key: o.key
|
|
969
969
|
}, [
|
|
970
|
-
l(X)(o) && o.dropdown ? (m(),
|
|
970
|
+
l(X)(o) && o.dropdown ? (m(), _(l(ve), {
|
|
971
971
|
key: 0,
|
|
972
972
|
placement: "bottomRight",
|
|
973
973
|
class: "p-0 rounded-none"
|
|
@@ -976,7 +976,7 @@ const ja = async (s, a, t) => {
|
|
|
976
976
|
T("div", {
|
|
977
977
|
class: N(["min-w-[100px] bg-white rounded shadow-md p-4", o.dropdownClass])
|
|
978
978
|
}, [
|
|
979
|
-
o.dropdown === "headset" ? (m(),
|
|
979
|
+
o.dropdown === "headset" ? (m(), _(l(Ot), {
|
|
980
980
|
key: 0,
|
|
981
981
|
modelValue: i.value,
|
|
982
982
|
"onUpdate:modelValue": d[1] || (d[1] = (r) => i.value = r),
|
|
@@ -1035,7 +1035,7 @@ const ja = async (s, a, t) => {
|
|
|
1035
1035
|
}, 1032, ["class", "disabled", "tiptext", "onClick"])
|
|
1036
1036
|
]),
|
|
1037
1037
|
_: 2
|
|
1038
|
-
}, 1024)) : !o.children && l(X)(o) ? (m(),
|
|
1038
|
+
}, 1024)) : !o.children && l(X)(o) ? (m(), _(l(B), {
|
|
1039
1039
|
key: 1,
|
|
1040
1040
|
class: N([
|
|
1041
1041
|
"px-[8px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
|
|
@@ -1054,15 +1054,15 @@ const ja = async (s, a, t) => {
|
|
|
1054
1054
|
}, null, 8, ["icon"])
|
|
1055
1055
|
]),
|
|
1056
1056
|
_: 2
|
|
1057
|
-
}, 1032, ["class", "disabled", "tiptext", "onClick"])) : l(X)(o) ? (m(),
|
|
1057
|
+
}, 1032, ["class", "disabled", "tiptext", "onClick"])) : l(X)(o) ? (m(), _(l(ve), {
|
|
1058
1058
|
key: 2,
|
|
1059
1059
|
placement: "bottomRight",
|
|
1060
1060
|
class: "p-0 rounded-none"
|
|
1061
1061
|
}, {
|
|
1062
1062
|
overlay: h(() => [
|
|
1063
|
-
y(l(
|
|
1063
|
+
y(l(_e), null, {
|
|
1064
1064
|
default: h(() => [
|
|
1065
|
-
(m(!0), w(M, null, z(o.children, (r) => (m(),
|
|
1065
|
+
(m(!0), w(M, null, z(o.children, (r) => (m(), _(l(be), {
|
|
1066
1066
|
key: r.key,
|
|
1067
1067
|
disabled: l(V)(r)
|
|
1068
1068
|
}, {
|
|
@@ -1120,7 +1120,7 @@ const ja = async (s, a, t) => {
|
|
|
1120
1120
|
// 默认仅受权限码控制
|
|
1121
1121
|
click: () => et(n)
|
|
1122
1122
|
}
|
|
1123
|
-
], p =
|
|
1123
|
+
], p = b([]), d = b([]);
|
|
1124
1124
|
return $(
|
|
1125
1125
|
() => {
|
|
1126
1126
|
var o;
|
|
@@ -1144,7 +1144,7 @@ const ja = async (s, a, t) => {
|
|
|
1144
1144
|
return m(), w("div", ca, [
|
|
1145
1145
|
y(l(le), null, {
|
|
1146
1146
|
default: h(() => [
|
|
1147
|
-
(m(!0), w(M, null, z(p.value, (v) => H((m(),
|
|
1147
|
+
(m(!0), w(M, null, z(p.value, (v) => H((m(), _(l(B), {
|
|
1148
1148
|
key: v.key,
|
|
1149
1149
|
type: v.type,
|
|
1150
1150
|
danger: v.danger,
|
|
@@ -1159,11 +1159,11 @@ const ja = async (s, a, t) => {
|
|
|
1159
1159
|
}, 1032, ["type", "danger", "disabled", "icon", "onClick"])), [
|
|
1160
1160
|
[r, { url: i.value, role: v.role, permit: v.permit }]
|
|
1161
1161
|
])), 128)),
|
|
1162
|
-
d.value.length > 0 ? (m(),
|
|
1162
|
+
d.value.length > 0 ? (m(), _(l(ve), { key: 0 }, {
|
|
1163
1163
|
overlay: h(() => [
|
|
1164
|
-
y(l(
|
|
1164
|
+
y(l(_e), null, {
|
|
1165
1165
|
default: h(() => [
|
|
1166
|
-
(m(!0), w(M, null, z(d.value, (v) => H((m(),
|
|
1166
|
+
(m(!0), w(M, null, z(d.value, (v) => H((m(), _(l(be), {
|
|
1167
1167
|
key: v.key,
|
|
1168
1168
|
disabled: l(V)(v),
|
|
1169
1169
|
onClick: (u) => l(Y)(v, l(e), l(t))
|
|
@@ -1196,7 +1196,7 @@ const ja = async (s, a, t) => {
|
|
|
1196
1196
|
}),
|
|
1197
1197
|
y(l(le), { class: "mr-1" }, {
|
|
1198
1198
|
default: h(() => [
|
|
1199
|
-
(m(),
|
|
1199
|
+
(m(), _(mt(ia), { "grid-ctrl": l(t) }, null, 8, ["grid-ctrl"]))
|
|
1200
1200
|
]),
|
|
1201
1201
|
_: 1
|
|
1202
1202
|
})
|
|
@@ -1218,7 +1218,7 @@ const ja = async (s, a, t) => {
|
|
|
1218
1218
|
setup(s) {
|
|
1219
1219
|
const a = s, t = q(), e = a.gridCtrl, n = Z(() => ce.currentRoute.value.path);
|
|
1220
1220
|
e && (e.pageNo.value = 1, e.total.value = 0, e.pageSize.value = e.pageSize.value);
|
|
1221
|
-
const i =
|
|
1221
|
+
const i = b(e.pageSize.value), c = b(e.pageNo.value), p = b([]), d = b({
|
|
1222
1222
|
total: 0,
|
|
1223
1223
|
current: 1,
|
|
1224
1224
|
pageSize: i.value,
|
|
@@ -1241,7 +1241,7 @@ const ja = async (s, a, t) => {
|
|
|
1241
1241
|
},
|
|
1242
1242
|
{ immediate: !0 }
|
|
1243
1243
|
);
|
|
1244
|
-
const o =
|
|
1244
|
+
const o = b(e.columns.value), f = {
|
|
1245
1245
|
onChange: (u, g) => {
|
|
1246
1246
|
e && (e.selectKeys.value = u, e.selectRows.value = g);
|
|
1247
1247
|
},
|
|
@@ -1250,7 +1250,7 @@ const ja = async (s, a, t) => {
|
|
|
1250
1250
|
disabled: u.Enabled === 0
|
|
1251
1251
|
}),
|
|
1252
1252
|
...a.rowSelection
|
|
1253
|
-
}, r =
|
|
1253
|
+
}, r = b(f);
|
|
1254
1254
|
$(
|
|
1255
1255
|
() => e.selectable.value,
|
|
1256
1256
|
(u) => {
|
|
@@ -1264,7 +1264,7 @@ const ja = async (s, a, t) => {
|
|
|
1264
1264
|
},
|
|
1265
1265
|
{ deep: !0, immediate: !0 }
|
|
1266
1266
|
);
|
|
1267
|
-
const v =
|
|
1267
|
+
const v = b(!1);
|
|
1268
1268
|
return ht(() => {
|
|
1269
1269
|
v.value && e && (e.reload.value = !0);
|
|
1270
1270
|
}), W(async () => {
|
|
@@ -1275,12 +1275,12 @@ const ja = async (s, a, t) => {
|
|
|
1275
1275
|
var P, O;
|
|
1276
1276
|
const C = se("auth");
|
|
1277
1277
|
return m(), w(M, null, [
|
|
1278
|
-
(P = l(e).buttons) != null && P.value.length || (O = l(e).tools) != null && O.length ? (m(),
|
|
1278
|
+
(P = l(e).buttons) != null && P.value.length || (O = l(e).tools) != null && O.length ? (m(), _(pa, {
|
|
1279
1279
|
key: 0,
|
|
1280
1280
|
"grid-ctrl": l(e),
|
|
1281
1281
|
"editor-ctrl": l(e).editor
|
|
1282
1282
|
}, null, 8, ["grid-ctrl", "editor-ctrl"])) : k("", !0),
|
|
1283
|
-
v.value ? (m(),
|
|
1283
|
+
v.value ? (m(), _(l(We), E({
|
|
1284
1284
|
key: 1,
|
|
1285
1285
|
class: "w-full",
|
|
1286
1286
|
"row-key": a.primaryKey ?? l(e).primaryKey ?? "Id",
|
|
@@ -1300,7 +1300,7 @@ const ja = async (s, a, t) => {
|
|
|
1300
1300
|
column: x == null ? void 0 : x.column,
|
|
1301
1301
|
record: x == null ? void 0 : x.record
|
|
1302
1302
|
}),
|
|
1303
|
-
l(e) && ((I = x == null ? void 0 : x.column) == null ? void 0 : I.dataIndex) === "enabled" ? H((m(),
|
|
1303
|
+
l(e) && ((I = x == null ? void 0 : x.column) == null ? void 0 : I.dataIndex) === "enabled" ? H((m(), _(at, {
|
|
1304
1304
|
key: 0,
|
|
1305
1305
|
checked: x.record.Enabled,
|
|
1306
1306
|
"onUpdate:checked": (J) => x.record.Enabled = J,
|
|
@@ -1340,14 +1340,14 @@ const ja = async (s, a, t) => {
|
|
|
1340
1340
|
},
|
|
1341
1341
|
emits: ["select", "update:selectedKeys"],
|
|
1342
1342
|
setup(s, { emit: a }) {
|
|
1343
|
-
const t = s, e = q(), n = t.treeCtrl, i =
|
|
1343
|
+
const t = s, e = q(), n = t.treeCtrl, i = b([]);
|
|
1344
1344
|
$(
|
|
1345
1345
|
() => n.data.value,
|
|
1346
1346
|
(f) => {
|
|
1347
1347
|
f && (i.value = n.fieldMap ? oe(n.fieldMap, f) : f, o(t.selectedKeys ?? []));
|
|
1348
1348
|
}
|
|
1349
1349
|
);
|
|
1350
|
-
const c = a, p =
|
|
1350
|
+
const c = a, p = b([]);
|
|
1351
1351
|
$(
|
|
1352
1352
|
() => t.selectedKeys,
|
|
1353
1353
|
(f) => {
|
|
@@ -1355,7 +1355,7 @@ const ja = async (s, a, t) => {
|
|
|
1355
1355
|
},
|
|
1356
1356
|
{ immediate: !0 }
|
|
1357
1357
|
);
|
|
1358
|
-
const d =
|
|
1358
|
+
const d = b(["-"]);
|
|
1359
1359
|
$(
|
|
1360
1360
|
() => t.expandedKeys,
|
|
1361
1361
|
(f) => {
|
|
@@ -1373,7 +1373,7 @@ const ja = async (s, a, t) => {
|
|
|
1373
1373
|
value: "Id",
|
|
1374
1374
|
icon: "Icon"
|
|
1375
1375
|
}), n.data.value ? i.value = oe(n.fieldMap, n.data.value) : n.autoload && Re(n);
|
|
1376
|
-
}), (f, r) => (m(),
|
|
1376
|
+
}), (f, r) => (m(), _(l($t), E({
|
|
1377
1377
|
class: "w-full",
|
|
1378
1378
|
"show-line": !0,
|
|
1379
1379
|
"tree-data": i.value,
|
|
@@ -1398,7 +1398,7 @@ const ja = async (s, a, t) => {
|
|
|
1398
1398
|
_: 3
|
|
1399
1399
|
}, 16, ["tree-data", "expanded-keys", "selected-keys", "loading"]));
|
|
1400
1400
|
}
|
|
1401
|
-
}), ll = /* @__PURE__ */ G(st, [["__scopeId", "data-v-
|
|
1401
|
+
}), ll = /* @__PURE__ */ G(st, [["__scopeId", "data-v-2271173b"]]), ma = { class: "relative w-[248px] max-w-[248px]" }, ha = {
|
|
1402
1402
|
key: 0,
|
|
1403
1403
|
class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
|
|
1404
1404
|
}, ga = /* @__PURE__ */ S({
|
|
@@ -1410,13 +1410,13 @@ const ja = async (s, a, t) => {
|
|
|
1410
1410
|
var C, P, O;
|
|
1411
1411
|
const t = s, e = q(), n = L(), i = ot(t.url, t), c = t.optionCtrl ?? i.optionCtrl;
|
|
1412
1412
|
c.inputFactory = gt(n);
|
|
1413
|
-
const p =
|
|
1413
|
+
const p = b({
|
|
1414
1414
|
...c == null ? void 0 : c.url,
|
|
1415
1415
|
url: ((C = c == null ? void 0 : c.url) == null ? void 0 : C.url) || "",
|
|
1416
1416
|
fieldMap: (c == null ? void 0 : c.fieldMap) || ((P = c == null ? void 0 : c.url) == null ? void 0 : P.fieldMap),
|
|
1417
1417
|
params: (c == null ? void 0 : c.params) || ((O = c == null ? void 0 : c.url) == null ? void 0 : O.params),
|
|
1418
1418
|
loadingText: !1
|
|
1419
|
-
}), { editorCtrl: d, errInfo: o, labelText: f } = n, r =
|
|
1419
|
+
}), { editorCtrl: d, errInfo: o, labelText: f } = n, r = b(e.placeholder);
|
|
1420
1420
|
$(
|
|
1421
1421
|
() => p.value.loading,
|
|
1422
1422
|
(x) => {
|
|
@@ -1426,7 +1426,7 @@ const ja = async (s, a, t) => {
|
|
|
1426
1426
|
);
|
|
1427
1427
|
const v = a;
|
|
1428
1428
|
n.inputEmit = v;
|
|
1429
|
-
const u =
|
|
1429
|
+
const u = b((c == null ? void 0 : c.options.value) || []);
|
|
1430
1430
|
c && $(
|
|
1431
1431
|
() => c.options.value,
|
|
1432
1432
|
(x) => {
|
|
@@ -1451,8 +1451,8 @@ const ja = async (s, a, t) => {
|
|
|
1451
1451
|
label: "Name",
|
|
1452
1452
|
value: "Id",
|
|
1453
1453
|
key: "Id"
|
|
1454
|
-
}), c && nt(c, t);
|
|
1455
|
-
}),
|
|
1454
|
+
}), c && nt(c.autoload, c, t);
|
|
1455
|
+
}), _t(() => {
|
|
1456
1456
|
c && it(c, t);
|
|
1457
1457
|
}), (x, I) => {
|
|
1458
1458
|
var A;
|
|
@@ -1471,7 +1471,7 @@ const ja = async (s, a, t) => {
|
|
|
1471
1471
|
]);
|
|
1472
1472
|
};
|
|
1473
1473
|
}
|
|
1474
|
-
}), sl = /* @__PURE__ */ G(ga, [["__scopeId", "data-v-
|
|
1474
|
+
}), sl = /* @__PURE__ */ G(ga, [["__scopeId", "data-v-c93fe667"]]), rl = /* @__PURE__ */ G(ut, [["__scopeId", "data-v-64193a41"]]);
|
|
1475
1475
|
function ie() {
|
|
1476
1476
|
return ie = Object.assign ? Object.assign.bind() : function(s) {
|
|
1477
1477
|
for (var a = 1; a < arguments.length; a++) {
|
|
@@ -1481,7 +1481,7 @@ function ie() {
|
|
|
1481
1481
|
return s;
|
|
1482
1482
|
}, ie.apply(null, arguments);
|
|
1483
1483
|
}
|
|
1484
|
-
const
|
|
1484
|
+
const _a = {
|
|
1485
1485
|
locale: "zh_CN",
|
|
1486
1486
|
today: "今天",
|
|
1487
1487
|
now: "此刻",
|
|
@@ -1508,7 +1508,7 @@ const ba = {
|
|
|
1508
1508
|
nextDecade: "下一年代",
|
|
1509
1509
|
previousCentury: "上一世纪",
|
|
1510
1510
|
nextCentury: "下一世纪"
|
|
1511
|
-
},
|
|
1511
|
+
}, ba = {
|
|
1512
1512
|
placeholder: "请选择时间",
|
|
1513
1513
|
rangePlaceholder: ["开始时间", "结束时间"]
|
|
1514
1514
|
}, ye = {
|
|
@@ -1523,8 +1523,8 @@ const ba = {
|
|
|
1523
1523
|
rangeMonthPlaceholder: ["开始月份", "结束月份"],
|
|
1524
1524
|
rangeQuarterPlaceholder: ["开始季度", "结束季度"],
|
|
1525
1525
|
rangeWeekPlaceholder: ["开始周", "结束周"]
|
|
1526
|
-
},
|
|
1527
|
-
timePickerLocale: ie({},
|
|
1526
|
+
}, _a),
|
|
1527
|
+
timePickerLocale: ie({}, ba)
|
|
1528
1528
|
};
|
|
1529
1529
|
ye.lang.ok = "确定";
|
|
1530
1530
|
const ol = /* @__PURE__ */ S({
|
|
@@ -1535,10 +1535,10 @@ const ol = /* @__PURE__ */ S({
|
|
|
1535
1535
|
setup(s) {
|
|
1536
1536
|
const a = s, { editorCtrl: t, labelText: e, errInfo: n } = L(), i = () => {
|
|
1537
1537
|
n != null && n.value.errClass && t && Q(t);
|
|
1538
|
-
}, c =
|
|
1538
|
+
}, c = b(a.valueFormat ?? "YYYY-MM-DD");
|
|
1539
1539
|
return (p, d) => {
|
|
1540
1540
|
var o;
|
|
1541
|
-
return m(),
|
|
1541
|
+
return m(), _(l(It), {
|
|
1542
1542
|
class: N(["w-full", [((o = l(n)) == null ? void 0 : o.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""]]),
|
|
1543
1543
|
placeholder: "请选择" + l(e),
|
|
1544
1544
|
locale: l(ye),
|
|
@@ -1556,7 +1556,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1556
1556
|
setup(s, { emit: a }) {
|
|
1557
1557
|
const { editorCtrl: t, labelText: e, errInfo: n } = L(), i = () => {
|
|
1558
1558
|
n != null && n.value.errClass && t && Q(t);
|
|
1559
|
-
}, c = s, p = a, d =
|
|
1559
|
+
}, c = s, p = a, d = b(c.value);
|
|
1560
1560
|
$(
|
|
1561
1561
|
() => c.value,
|
|
1562
1562
|
(f) => {
|
|
@@ -1579,7 +1579,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1579
1579
|
};
|
|
1580
1580
|
return (f, r) => {
|
|
1581
1581
|
var v, u;
|
|
1582
|
-
return m(),
|
|
1582
|
+
return m(), _(l(te), E({
|
|
1583
1583
|
class: [
|
|
1584
1584
|
(v = l(n)) == null ? void 0 : v.errClass,
|
|
1585
1585
|
((u = l(n)) == null ? void 0 : u.errClass) === "error" && !f.$slots.addonBefore && !f.$slots.addonAfter ? "!border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""
|
|
@@ -1616,7 +1616,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1616
1616
|
},
|
|
1617
1617
|
emits: ["update:value"],
|
|
1618
1618
|
setup(s, { emit: a }) {
|
|
1619
|
-
const t = s, e = a, n =
|
|
1619
|
+
const t = s, e = a, n = b(void 0);
|
|
1620
1620
|
return $(
|
|
1621
1621
|
() => t.value,
|
|
1622
1622
|
(i) => {
|
|
@@ -1628,7 +1628,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1628
1628
|
(i) => {
|
|
1629
1629
|
e("update:value", i);
|
|
1630
1630
|
}
|
|
1631
|
-
), (i, c) => (m(),
|
|
1631
|
+
), (i, c) => (m(), _(xa, E({
|
|
1632
1632
|
value: n.value,
|
|
1633
1633
|
"onUpdate:value": c[0] || (c[0] = (p) => n.value = p)
|
|
1634
1634
|
}, i.$attrs), {
|
|
@@ -1649,7 +1649,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1649
1649
|
};
|
|
1650
1650
|
return (i, c) => {
|
|
1651
1651
|
var p;
|
|
1652
|
-
return m(),
|
|
1652
|
+
return m(), _(l(Dt), E({
|
|
1653
1653
|
class: ((p = l(e)) == null ? void 0 : p.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1654
1654
|
"allow-clear": !0,
|
|
1655
1655
|
autocomplete: "new-password",
|
|
@@ -1666,7 +1666,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1666
1666
|
};
|
|
1667
1667
|
return (i, c) => {
|
|
1668
1668
|
var p;
|
|
1669
|
-
return m(),
|
|
1669
|
+
return m(), _(l(Pt), E({
|
|
1670
1670
|
class: [[((p = l(e)) == null ? void 0 : p.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""], "w-[50%]"],
|
|
1671
1671
|
onBlur: n,
|
|
1672
1672
|
"allow-clear": !1,
|
|
@@ -1685,7 +1685,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1685
1685
|
},
|
|
1686
1686
|
emits: ["update:value"],
|
|
1687
1687
|
setup(s, { emit: a }) {
|
|
1688
|
-
const t = s, e = a, n =
|
|
1688
|
+
const t = s, e = a, n = b(!(t.selectList && t.selectList.length > 0)), i = b([]);
|
|
1689
1689
|
let c = !1;
|
|
1690
1690
|
const p = () => {
|
|
1691
1691
|
t.selectList && t.selectList.length > 0 ? i.value = t.selectList.map((r) => ({
|
|
@@ -1730,7 +1730,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1730
1730
|
T("div", {
|
|
1731
1731
|
class: N([r.fieldWidth ? `w-[${r.fieldWidth}%]` : "w-[33%]"])
|
|
1732
1732
|
}, [
|
|
1733
|
-
!r.selectList || r.selectList.length === 0 ? (m(),
|
|
1733
|
+
!r.selectList || r.selectList.length === 0 ? (m(), _(l(te), {
|
|
1734
1734
|
key: 0,
|
|
1735
1735
|
value: u.field,
|
|
1736
1736
|
"onUpdate:value": (g) => u.field = g,
|
|
@@ -1767,7 +1767,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1767
1767
|
}, null, 8, ["value", "onUpdate:value", "placeholder", "title"])
|
|
1768
1768
|
], 2)
|
|
1769
1769
|
]))), 128)),
|
|
1770
|
-
n.value ? (m(),
|
|
1770
|
+
n.value ? (m(), _(l(Ye), {
|
|
1771
1771
|
key: 0,
|
|
1772
1772
|
onClick: o,
|
|
1773
1773
|
class: "mt-1 w-[80px] !text-[12px] text-[#666] bg-[#e6f7ff] border-[#b3e0ff] hover:bg-[#b3e0ff] hover:border-[#8abeff]",
|
|
@@ -1781,7 +1781,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1781
1781
|
})) : k("", !0)
|
|
1782
1782
|
]));
|
|
1783
1783
|
}
|
|
1784
|
-
}), Sa = /* @__PURE__ */ G(dt, [["__scopeId", "data-v-
|
|
1784
|
+
}), Sa = /* @__PURE__ */ G(dt, [["__scopeId", "data-v-cf2cfa24"]]), dl = /* @__PURE__ */ S({
|
|
1785
1785
|
__name: "radioStatus",
|
|
1786
1786
|
props: {
|
|
1787
1787
|
/**
|
|
@@ -1809,11 +1809,11 @@ const ol = /* @__PURE__ */ S({
|
|
|
1809
1809
|
}
|
|
1810
1810
|
},
|
|
1811
1811
|
setup(s) {
|
|
1812
|
-
const a = s, t =
|
|
1812
|
+
const a = s, t = b(JSON.parse(JSON.stringify(Ne.getOptions(a.dataKey))));
|
|
1813
1813
|
return a.all === !0 && t.value.unshift({
|
|
1814
1814
|
label: "全部",
|
|
1815
1815
|
value: a.allValue || [0, 1]
|
|
1816
|
-
}), (e, n) => (m(),
|
|
1816
|
+
}), (e, n) => (m(), _(Sa, { data: t.value }, null, 8, ["data"]));
|
|
1817
1817
|
}
|
|
1818
1818
|
}), pl = /* @__PURE__ */ S({
|
|
1819
1819
|
__name: "index",
|
|
@@ -1842,7 +1842,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1842
1842
|
};
|
|
1843
1843
|
return (o, f) => {
|
|
1844
1844
|
var r;
|
|
1845
|
-
return m(),
|
|
1845
|
+
return m(), _(l(Et), {
|
|
1846
1846
|
class: N([((r = l(i)) == null ? void 0 : r.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "", "w-full"]),
|
|
1847
1847
|
locale: l(ye),
|
|
1848
1848
|
"value-format": c.value,
|
|
@@ -1851,7 +1851,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1851
1851
|
}, null, 8, ["class", "locale", "value-format", "value"]);
|
|
1852
1852
|
};
|
|
1853
1853
|
}
|
|
1854
|
-
}), fl = /* @__PURE__ */ G(pt, [["__scopeId", "data-v-
|
|
1854
|
+
}), fl = /* @__PURE__ */ G(pt, [["__scopeId", "data-v-8e93cef3"]]), vl = /* @__PURE__ */ S({
|
|
1855
1855
|
__name: "index",
|
|
1856
1856
|
setup(s) {
|
|
1857
1857
|
const { editorCtrl: a, labelText: t, errInfo: e } = L(), n = () => {
|
|
@@ -1859,7 +1859,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1859
1859
|
};
|
|
1860
1860
|
return (i, c) => {
|
|
1861
1861
|
var p;
|
|
1862
|
-
return m(),
|
|
1862
|
+
return m(), _(l(Ft), E({
|
|
1863
1863
|
class: ((p = l(e)) == null ? void 0 : p.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1864
1864
|
"allow-clear": !0,
|
|
1865
1865
|
placeholder: "请输入" + l(t),
|
|
@@ -1881,7 +1881,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1881
1881
|
},
|
|
1882
1882
|
emits: ["change", "update:value"],
|
|
1883
1883
|
setup(s, { emit: a }) {
|
|
1884
|
-
const t = s, e =
|
|
1884
|
+
const t = s, e = b({ ...t.url }), { editorCtrl: n, labelText: i, errInfo: c } = L(), p = a, d = b([]), o = b([]);
|
|
1885
1885
|
t.value && t.value.every((r) => {
|
|
1886
1886
|
o.value.push(r.toString());
|
|
1887
1887
|
}), $(
|
|
@@ -1908,7 +1908,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1908
1908
|
}
|
|
1909
1909
|
}), (r, v) => {
|
|
1910
1910
|
var u;
|
|
1911
|
-
return m(),
|
|
1911
|
+
return m(), _(l(Nt), E({
|
|
1912
1912
|
class: ((u = l(c)) == null ? void 0 : u.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1913
1913
|
placeholder: "请输入" + l(i),
|
|
1914
1914
|
targetKeys: o.value,
|
|
@@ -1955,7 +1955,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1955
1955
|
},
|
|
1956
1956
|
emits: ["update:value"],
|
|
1957
1957
|
setup(s, { emit: a }) {
|
|
1958
|
-
const t = s, e = a, n =
|
|
1958
|
+
const t = s, e = a, n = b(t.autoload), i = b(t.value), c = b(t.gridCtrl.primaryKey);
|
|
1959
1959
|
$(
|
|
1960
1960
|
() => i.value,
|
|
1961
1961
|
(o) => {
|
|
@@ -1966,7 +1966,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1966
1966
|
(o) => {
|
|
1967
1967
|
o && (i.value = o);
|
|
1968
1968
|
}
|
|
1969
|
-
), t.gridCtrl.autoload = !1, t.gridCtrl.remotePage = !1, t.gridCtrl.selectable =
|
|
1969
|
+
), t.gridCtrl.autoload = !1, t.gridCtrl.remotePage = !1, t.gridCtrl.selectable = b(!0), t.gridCtrl.buttons = b([]), t.gridCtrl.tools = [];
|
|
1970
1970
|
const p = ({ disabled: o, selectedKeys: f, onItemSelectAll: r, onItemSelect: v }) => ({
|
|
1971
1971
|
getCheckboxProps: (u) => ({
|
|
1972
1972
|
// 控制是否禁止
|
|
@@ -1980,7 +1980,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1980
1980
|
v(u, g);
|
|
1981
1981
|
},
|
|
1982
1982
|
selectedRowKeys: f
|
|
1983
|
-
}), d =
|
|
1983
|
+
}), d = b([]);
|
|
1984
1984
|
return W(async () => {
|
|
1985
1985
|
if (n.value) {
|
|
1986
1986
|
const o = await Me(t.gridCtrl, {
|
|
@@ -1991,7 +1991,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
1991
1991
|
});
|
|
1992
1992
|
d.value = (o == null ? void 0 : o.data) ?? [];
|
|
1993
1993
|
}
|
|
1994
|
-
}), (o, f) => (m(),
|
|
1994
|
+
}), (o, f) => (m(), _(Ca, E({
|
|
1995
1995
|
"data-source": d.value,
|
|
1996
1996
|
"row-key": (r) => r[c.value],
|
|
1997
1997
|
value: i.value,
|
|
@@ -2054,7 +2054,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
2054
2054
|
setup(s, { emit: a }) {
|
|
2055
2055
|
const t = s, e = t.treeCtrl, n = L(), { errInfo: i, labelText: c } = n, p = a;
|
|
2056
2056
|
n.inputEmit = p;
|
|
2057
|
-
const d =
|
|
2057
|
+
const d = b([]), o = b();
|
|
2058
2058
|
$(
|
|
2059
2059
|
() => t.value,
|
|
2060
2060
|
(r) => {
|
|
@@ -2079,7 +2079,7 @@ const ol = /* @__PURE__ */ S({
|
|
|
2079
2079
|
}), e.data.value ? d.value = e.fieldMap ? oe(e.fieldMap, e.data.value) : e.data.value : t.treeCtrl.autoload && Re(t.treeCtrl);
|
|
2080
2080
|
}), (r, v) => {
|
|
2081
2081
|
var u;
|
|
2082
|
-
return m(),
|
|
2082
|
+
return m(), _(l(Rt), E({
|
|
2083
2083
|
class: [[(u = l(i)) == null ? void 0 : u.errClass], "w-full"],
|
|
2084
2084
|
"tree-line": "",
|
|
2085
2085
|
multiple: s.multiple,
|
|
@@ -2183,8 +2183,8 @@ export {
|
|
|
2183
2183
|
hl as TreeSelect,
|
|
2184
2184
|
ms as UploadList,
|
|
2185
2185
|
os as UploadStatus,
|
|
2186
|
-
|
|
2187
|
-
|
|
2186
|
+
_s as appendExcelData,
|
|
2187
|
+
bs as checkExcelDuplicates,
|
|
2188
2188
|
kl as checkIconsExpired,
|
|
2189
2189
|
ct as circleLoading,
|
|
2190
2190
|
qe as createFromIconfont,
|