cc1-form 1.3.6 → 1.3.7
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/dist/cc1-form.js +210 -210
- package/dist/cc1-form.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/cc1-form.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ElMessage as
|
|
1
|
+
import { ElMessage as nt, ElLoading as lt, ElFormItem as be, ElInput as ue, ElInputNumber as it, ElSwitch as he, ElSelect as ce, ElOption as ne, ElRadioGroup as Be, ElRadioButton as rt, ElRadio as Te, ElCheckboxGroup as st, ElCheckboxButton as dt, ElCheckbox as ut, ElColorPicker as ct, ElSlider as ft, ElTreeSelect as mt, ElDatePicker as Le, ElForm as oe, ElDialog as Ee, ElButton as G, ElTableColumn as ye, ElDropdown as gt, ElDropdownMenu as ht, ElDropdownItem as Se, ElPagination as Re, ElTable as yt } from "element-plus";
|
|
2
2
|
import "vue-router";
|
|
3
|
-
import { defineComponent as q, reactive as re, onMounted as je, resolveComponent as fe, openBlock as g, createElementBlock as v, renderSlot as S, createVNode as F, withCtx as p, createTextVNode as M, createCommentVNode as V, Fragment as B, renderList as
|
|
3
|
+
import { defineComponent as q, reactive as re, onMounted as je, resolveComponent as fe, openBlock as g, createElementBlock as v, renderSlot as S, createVNode as F, withCtx as p, createTextVNode as M, createCommentVNode as V, Fragment as B, renderList as N, createBlock as b, normalizeClass as J, normalizeStyle as pe, ref as X, watch as Ke, nextTick as De, unref as r, createElementVNode as R, mergeProps as x, toHandlers as E, createSlots as Y, toDisplayString as U, resolveDynamicComponent as ee, computed as ae, onUnmounted as Pe, normalizeProps as $e, guardReactiveProps as ze, getCurrentInstance as Ie, withModifiers as bt, resolveDirective as pt, withDirectives as wt } from "vue";
|
|
4
4
|
import { Scope as Me } from "cc1-vue3";
|
|
5
5
|
class $ {
|
|
6
6
|
/**
|
|
@@ -74,7 +74,7 @@ class $ {
|
|
|
74
74
|
},
|
|
75
75
|
a
|
|
76
76
|
);
|
|
77
|
-
|
|
77
|
+
nt(o), setTimeout(() => {
|
|
78
78
|
delete this.tipMessages[t];
|
|
79
79
|
}, this.tipMessagesGap);
|
|
80
80
|
}
|
|
@@ -104,7 +104,7 @@ class $ {
|
|
|
104
104
|
*/
|
|
105
105
|
static loading = (t = !0, n = "Loading...") => {
|
|
106
106
|
Timer.un(this.loadingTimer), this.loadingTimer = Timer.once(() => {
|
|
107
|
-
t ? this.loadingObj =
|
|
107
|
+
t ? this.loadingObj = lt.service({
|
|
108
108
|
lock: !0,
|
|
109
109
|
text: n,
|
|
110
110
|
background: "rgba(0, 0, 0, 0.3)"
|
|
@@ -648,14 +648,14 @@ class Q {
|
|
|
648
648
|
}), a;
|
|
649
649
|
};
|
|
650
650
|
}
|
|
651
|
-
const
|
|
651
|
+
const kt = {
|
|
652
652
|
key: 0,
|
|
653
653
|
class: "column curd-form-com-list",
|
|
654
654
|
style: { width: "100%", gap: "10px" }
|
|
655
|
-
},
|
|
655
|
+
}, vt = { key: 0 }, Ct = {
|
|
656
656
|
class: "row items-center",
|
|
657
657
|
style: { gap: "10px", width: "100%" }
|
|
658
|
-
},
|
|
658
|
+
}, xt = { key: 1 }, Ge = /* @__PURE__ */ q({
|
|
659
659
|
__name: "list",
|
|
660
660
|
props: {
|
|
661
661
|
row: {
|
|
@@ -713,9 +713,9 @@ const wt = {
|
|
|
713
713
|
const s = t;
|
|
714
714
|
return (o, l) => {
|
|
715
715
|
const i = fe("el-button"), c = fe("el-input");
|
|
716
|
-
return a.show ? (g(), v("div",
|
|
716
|
+
return a.show ? (g(), v("div", kt, [
|
|
717
717
|
S(o.$slots, "list-start", { row: e.row }),
|
|
718
|
-
e.addBottom ? V("", !0) : (g(), v("div",
|
|
718
|
+
e.addBottom ? V("", !0) : (g(), v("div", vt, [
|
|
719
719
|
F(i, {
|
|
720
720
|
link: "",
|
|
721
721
|
type: "primary",
|
|
@@ -727,12 +727,12 @@ const wt = {
|
|
|
727
727
|
_: 1
|
|
728
728
|
})
|
|
729
729
|
])),
|
|
730
|
-
(g(!0), v(B, null,
|
|
730
|
+
(g(!0), v(B, null, N(e.row[e.field], (u) => (g(), v("div", Ct, [
|
|
731
731
|
S(o.$slots, "item-start", {
|
|
732
732
|
item: u,
|
|
733
733
|
row: e.row
|
|
734
734
|
}),
|
|
735
|
-
(g(!0), v(B, null,
|
|
735
|
+
(g(!0), v(B, null, N(e.itemFields, (d) => (g(), b(c, {
|
|
736
736
|
modelValue: u[d.value],
|
|
737
737
|
"onUpdate:modelValue": (h) => u[d.value] = h,
|
|
738
738
|
style: pe({ width: e.inputWidth }),
|
|
@@ -755,7 +755,7 @@ const wt = {
|
|
|
755
755
|
_: 1
|
|
756
756
|
}, 8, ["onClick"])
|
|
757
757
|
]))), 256)),
|
|
758
|
-
e.addBottom ? (g(), v("div",
|
|
758
|
+
e.addBottom ? (g(), v("div", xt, [
|
|
759
759
|
F(i, {
|
|
760
760
|
link: "",
|
|
761
761
|
type: "primary",
|
|
@@ -771,10 +771,10 @@ const wt = {
|
|
|
771
771
|
])) : V("", !0);
|
|
772
772
|
};
|
|
773
773
|
}
|
|
774
|
-
}),
|
|
774
|
+
}), Vt = {
|
|
775
775
|
class: "row form-item-content",
|
|
776
776
|
style: { width: "100%" }
|
|
777
|
-
},
|
|
777
|
+
}, St = { class: "col column form-item-content-item" }, Et = { class: "col" }, $t = ["innerHTML"], zt = /* @__PURE__ */ q({
|
|
778
778
|
__name: "field",
|
|
779
779
|
props: {
|
|
780
780
|
item: {},
|
|
@@ -806,13 +806,13 @@ const wt = {
|
|
|
806
806
|
"label-width": e.item.text?.form?.label == "" ? 0 : e.item.form?.labelWidth || e.labelWidth
|
|
807
807
|
}, {
|
|
808
808
|
default: p(() => [
|
|
809
|
-
R("div",
|
|
809
|
+
R("div", Vt, [
|
|
810
810
|
S(o.$slots, "form-" + e.item.key + "-start", {
|
|
811
811
|
row: e.form,
|
|
812
812
|
item: e.item
|
|
813
813
|
}),
|
|
814
|
-
R("div",
|
|
815
|
-
R("div",
|
|
814
|
+
R("div", St, [
|
|
815
|
+
R("div", Et, [
|
|
816
816
|
S(o.$slots, "form-" + e.item.key, {
|
|
817
817
|
row: e.form,
|
|
818
818
|
item: e.item
|
|
@@ -831,7 +831,7 @@ const wt = {
|
|
|
831
831
|
]),
|
|
832
832
|
key: "0"
|
|
833
833
|
} : void 0
|
|
834
|
-
]), 1040, ["modelValue", "disabled"])) : e.item.type === "number" ? (g(), b(r(
|
|
834
|
+
]), 1040, ["modelValue", "disabled"])) : e.item.type === "number" ? (g(), b(r(it), x({
|
|
835
835
|
key: 1,
|
|
836
836
|
modelValue: e.form[e.item.key],
|
|
837
837
|
"onUpdate:modelValue": l[1] || (l[1] = (i) => e.form[e.item.key] = i)
|
|
@@ -859,7 +859,7 @@ const wt = {
|
|
|
859
859
|
style: { width: "100%" }
|
|
860
860
|
}), {
|
|
861
861
|
default: p(() => [
|
|
862
|
-
(g(!0), v(B, null,
|
|
862
|
+
(g(!0), v(B, null, N(e.getBind(e.item).data || [], (i) => (g(), b(r(ne), x({
|
|
863
863
|
key: i.value
|
|
864
864
|
}, { ref_for: !0 }, i, E(i.on || {})), null, 16))), 128))
|
|
865
865
|
]),
|
|
@@ -873,14 +873,14 @@ const wt = {
|
|
|
873
873
|
style: { width: "100%" }
|
|
874
874
|
}), {
|
|
875
875
|
default: p(() => [
|
|
876
|
-
e.getBind(e.item).type === "group" ? (g(!0), v(B, { key: 0 },
|
|
876
|
+
e.getBind(e.item).type === "group" ? (g(!0), v(B, { key: 0 }, N(e.getBind(e.item).data || [], (i) => (g(), b(r(rt), x({
|
|
877
877
|
key: i.value
|
|
878
|
-
}, { ref_for: !0 }, i, E(i.on || {})), null, 16))), 128)) : (g(!0), v(B, { key: 1 },
|
|
878
|
+
}, { ref_for: !0 }, i, E(i.on || {})), null, 16))), 128)) : (g(!0), v(B, { key: 1 }, N(e.getBind(e.item).data || [], (i) => (g(), b(r(Te), x({
|
|
879
879
|
key: i.value
|
|
880
880
|
}, { ref_for: !0 }, i, E(i.on || {})), null, 16))), 128))
|
|
881
881
|
]),
|
|
882
882
|
_: 1
|
|
883
|
-
}, 16, ["modelValue", "disabled"])) : e.item.type === "checkbox" ? (g(), b(r(
|
|
883
|
+
}, 16, ["modelValue", "disabled"])) : e.item.type === "checkbox" ? (g(), b(r(st), x({
|
|
884
884
|
key: 6,
|
|
885
885
|
modelValue: e.form[e.item.key],
|
|
886
886
|
"onUpdate:modelValue": l[6] || (l[6] = (i) => e.form[e.item.key] = i)
|
|
@@ -889,33 +889,33 @@ const wt = {
|
|
|
889
889
|
style: { width: "100%" }
|
|
890
890
|
}), {
|
|
891
891
|
default: p(() => [
|
|
892
|
-
e.getBind(e.item).type === "group" ? (g(!0), v(B, { key: 0 },
|
|
892
|
+
e.getBind(e.item).type === "group" ? (g(!0), v(B, { key: 0 }, N(e.getBind(e.item).data || [], (i) => (g(), b(r(dt), x({
|
|
893
893
|
key: i.value
|
|
894
|
-
}, { ref_for: !0 }, i, E(i.on || {})), null, 16))), 128)) : (g(!0), v(B, { key: 1 },
|
|
894
|
+
}, { ref_for: !0 }, i, E(i.on || {})), null, 16))), 128)) : (g(!0), v(B, { key: 1 }, N(e.getBind(e.item).data || [], (i) => (g(), b(r(ut), x({
|
|
895
895
|
key: i.value
|
|
896
896
|
}, { ref_for: !0 }, i, E(i.on || {})), null, 16))), 128))
|
|
897
897
|
]),
|
|
898
898
|
_: 1
|
|
899
|
-
}, 16, ["modelValue", "disabled"])) : e.item.type === "color" ? (g(), b(r(
|
|
899
|
+
}, 16, ["modelValue", "disabled"])) : e.item.type === "color" ? (g(), b(r(ct), x({
|
|
900
900
|
key: 7,
|
|
901
901
|
modelValue: e.form[e.item.key],
|
|
902
902
|
"onUpdate:modelValue": l[7] || (l[7] = (i) => e.form[e.item.key] = i)
|
|
903
903
|
}, e.getBind(e.item), E(e.getOn(e.item)), {
|
|
904
904
|
disabled: e.getDisabled(e.item)
|
|
905
|
-
}), null, 16, ["modelValue", "disabled"])) : e.item.type === "slider" ? (g(), b(r(
|
|
905
|
+
}), null, 16, ["modelValue", "disabled"])) : e.item.type === "slider" ? (g(), b(r(ft), x({
|
|
906
906
|
key: 8,
|
|
907
907
|
modelValue: e.form[e.item.key],
|
|
908
908
|
"onUpdate:modelValue": l[8] || (l[8] = (i) => e.form[e.item.key] = i)
|
|
909
909
|
}, e.getBind(e.item), E(e.getOn(e.item)), {
|
|
910
910
|
disabled: e.getDisabled(e.item)
|
|
911
|
-
}), null, 16, ["modelValue", "disabled"])) : e.item.type === "list" ? (g(), b(
|
|
911
|
+
}), null, 16, ["modelValue", "disabled"])) : e.item.type === "list" ? (g(), b(Ge, x({
|
|
912
912
|
key: 9,
|
|
913
913
|
row: e.form,
|
|
914
914
|
field: e.item.key
|
|
915
915
|
}, e.getBind(e.item), E(e.getOn(e.item)), {
|
|
916
916
|
disabled: e.getDisabled(e.item),
|
|
917
917
|
style: { width: "100%" }
|
|
918
|
-
}), null, 16, ["row", "field", "disabled"])) : e.item.type === "treeSelect" ? (g(), b(r(
|
|
918
|
+
}), null, 16, ["row", "field", "disabled"])) : e.item.type === "treeSelect" ? (g(), b(r(mt), x({
|
|
919
919
|
key: 10,
|
|
920
920
|
modelValue: e.form[e.item.key],
|
|
921
921
|
"onUpdate:modelValue": l[9] || (l[9] = (i) => e.form[e.item.key] = i)
|
|
@@ -955,7 +955,7 @@ const wt = {
|
|
|
955
955
|
key: 0,
|
|
956
956
|
class: "form-tip-text",
|
|
957
957
|
innerHTML: typeof e.item.form?.tipText == "function" ? e.item.form?.tipText(e.form, e.type) : e.item.form?.tipText
|
|
958
|
-
}, null, 8,
|
|
958
|
+
}, null, 8, $t)) : V("", !0)
|
|
959
959
|
])
|
|
960
960
|
]),
|
|
961
961
|
S(o.$slots, "form-" + e.item.key + "-end", {
|
|
@@ -968,7 +968,7 @@ const wt = {
|
|
|
968
968
|
}, 8, ["label", "prop", "label-width"]));
|
|
969
969
|
}
|
|
970
970
|
});
|
|
971
|
-
const
|
|
971
|
+
const Mt = {
|
|
972
972
|
search: "搜索",
|
|
973
973
|
add: "新增",
|
|
974
974
|
edit: "编辑",
|
|
@@ -1021,7 +1021,7 @@ class C {
|
|
|
1021
1021
|
return this.t(this.curd[t], ...n);
|
|
1022
1022
|
}
|
|
1023
1023
|
/** curd表单 */
|
|
1024
|
-
static curd =
|
|
1024
|
+
static curd = Mt;
|
|
1025
1025
|
}
|
|
1026
1026
|
class Z {
|
|
1027
1027
|
/**
|
|
@@ -1075,10 +1075,10 @@ const we = (e) => {
|
|
|
1075
1075
|
error: t.error || ""
|
|
1076
1076
|
});
|
|
1077
1077
|
});
|
|
1078
|
-
},
|
|
1078
|
+
}, Ft = (e) => e ? typeof e == "string" ? e : e instanceof Error ? e.message : e.message || String(e) : "", ke = (e) => !e || typeof e != "object" ? [] : Object.keys(e).flatMap((t) => (Array.isArray(e[t]) ? e[t] : [e[t]]).map((a) => ({
|
|
1079
1079
|
field: a?.field || t,
|
|
1080
|
-
error:
|
|
1081
|
-
}))), ge = $.EDialog, le = (e) => typeof e.type == "object" ? "component" : e.type || "input",
|
|
1080
|
+
error: Ft(a)
|
|
1081
|
+
}))), ge = $.EDialog, le = (e) => typeof e.type == "object" ? "component" : e.type || "input", Dt = (e, t, n) => {
|
|
1082
1082
|
const a = we(() => t.form), s = (l) => Oe(l.update.formGrid || [], l.update.form, l.update.type, l.update.formMaxSpan).map((c) => c.item.key).filter(Boolean), o = async (l) => {
|
|
1083
1083
|
const i = n.ruleFormRef.value;
|
|
1084
1084
|
if (!i) return !0;
|
|
@@ -1110,20 +1110,20 @@ const we = (e) => {
|
|
|
1110
1110
|
formMaxSpan: 12,
|
|
1111
1111
|
getDisabled: (l, i = !1) => {
|
|
1112
1112
|
const c = e();
|
|
1113
|
-
return t.option.table?.editMode && i ? l.disabled?.table === void 0 ? !1 : $.isFun(l.disabled?.table, c.update.form) :
|
|
1113
|
+
return t.option.table?.editMode && i ? l.disabled?.table === void 0 ? !1 : $.isFun(l.disabled?.table, c.update.form) : We(l, c.update.type, c.update.form);
|
|
1114
1114
|
},
|
|
1115
1115
|
getBind: (l) => {
|
|
1116
1116
|
const i = e();
|
|
1117
|
-
return
|
|
1117
|
+
return Je(l, i.update.type);
|
|
1118
1118
|
},
|
|
1119
1119
|
getOn: (l, i) => {
|
|
1120
1120
|
const c = e();
|
|
1121
|
-
return
|
|
1121
|
+
return qe(l, c.update.type, [i || c.update.form, l]);
|
|
1122
1122
|
},
|
|
1123
1123
|
getOptions: (l) => {
|
|
1124
1124
|
const i = e();
|
|
1125
1125
|
try {
|
|
1126
|
-
const u =
|
|
1126
|
+
const u = Ze(i.update.formGrid?.length ? i.update.formGrid : i.update.formColumn).find((d) => d.item.key === l)?.item;
|
|
1127
1127
|
return u ? {
|
|
1128
1128
|
options: u.options,
|
|
1129
1129
|
//@ts-ignore
|
|
@@ -1216,18 +1216,18 @@ const we = (e) => {
|
|
|
1216
1216
|
};
|
|
1217
1217
|
}, H = 12, ve = (e, t) => {
|
|
1218
1218
|
e.isForm = t, Array.isArray(e.children) && e.children.forEach((n) => ve(n, t));
|
|
1219
|
-
},
|
|
1219
|
+
}, Ot = (e) => e.isForm === !1 ? !1 : typeof e.show?.form == "boolean" ? e.show.form : !0, Ne = (e) => e > H ? Math.floor(e / 2) : e, Rt = (e, t, n) => (e.form = e.form || { span: t }, n === "column" ? e.form.span = e.form.span ?? 12 : e.form.span = e.form.span ?? t, e.form.span = Ne(e.form.span), e.form.span), He = (e) => {
|
|
1220
1220
|
const t = e.form;
|
|
1221
|
-
return t?.row != null && t.row > 0 ? t.row : H;
|
|
1222
|
-
}, ie = (e) => Math.floor((e.gridRow - 1) / H),
|
|
1221
|
+
return t?.row != null && t.row > 0 ? Ne(t.row) : H;
|
|
1222
|
+
}, ie = (e) => Math.floor((e.gridRow - 1) / H), We = (e, t, n) => {
|
|
1223
1223
|
if (t === $.EDialog.View)
|
|
1224
1224
|
return e.disabled?.view === void 0 ? !0 : $.isFun(e.disabled?.view, n);
|
|
1225
1225
|
const a = e.disabled?.[t === $.EDialog.Add ? "create" : "update"];
|
|
1226
1226
|
return $.isFun(a, n);
|
|
1227
|
-
},
|
|
1227
|
+
}, Je = (e, t) => {
|
|
1228
1228
|
const n = le(e);
|
|
1229
1229
|
return e.options?.[t === $.EDialog.Add ? "formAdd" : "formUpdate"]?.[n] || e.options?.[n] || {};
|
|
1230
|
-
},
|
|
1230
|
+
}, qe = (e, t, n = []) => {
|
|
1231
1231
|
const a = le(e), o = e.options?.[t === $.EDialog.Add ? "formAdd" : "formUpdate"]?.[a]?.on || e.options?.[a]?.on || {}, l = {};
|
|
1232
1232
|
return Object.keys(o).forEach((i) => {
|
|
1233
1233
|
const c = o[i];
|
|
@@ -1235,13 +1235,13 @@ const we = (e) => {
|
|
|
1235
1235
|
return c.apply(this, [...u, ...n]);
|
|
1236
1236
|
} : l[i] = c;
|
|
1237
1237
|
}), l;
|
|
1238
|
-
},
|
|
1238
|
+
}, Qe = (e, t, n, a, s) => {
|
|
1239
1239
|
const o = e, l = o.colSpan ?? e.span;
|
|
1240
1240
|
if (!e.item.form?.spanCol)
|
|
1241
1241
|
return l;
|
|
1242
1242
|
const i = s?.maxSpan || 12, c = s?.defaultSpan || i / 2, u = o.gridBand, h = t.filter((f) => u != null ? f.gridBand === u && !$.isFun(f.item.show?.form, n, a) : f.gridRow === o.gridRow && !$.isFun(f.item.show?.form, n, a)).reduce((f, m) => f + (m.colSpan ?? m.span ?? c), 0);
|
|
1243
1243
|
return l + h;
|
|
1244
|
-
},
|
|
1244
|
+
}, Ut = (e, t) => {
|
|
1245
1245
|
const n = (a, s) => {
|
|
1246
1246
|
const o = a.gridRow, l = a.gridRow + a.rowSpan - 1, i = s.gridRow, c = s.gridRow + s.rowSpan - 1;
|
|
1247
1247
|
return o <= c && i <= l;
|
|
@@ -1252,7 +1252,7 @@ const we = (e) => {
|
|
|
1252
1252
|
colSpan: t,
|
|
1253
1253
|
gridColumn: 1
|
|
1254
1254
|
});
|
|
1255
|
-
},
|
|
1255
|
+
}, Xe = (e, t, n = {}) => {
|
|
1256
1256
|
const a = /* @__PURE__ */ new Set(), s = [];
|
|
1257
1257
|
let o = 0, l = 0;
|
|
1258
1258
|
const i = (m) => Math.floor(m / H) * H, c = (m, w) => `${m},${w}`, u = (m, w, D, T) => {
|
|
@@ -1289,7 +1289,7 @@ const we = (e) => {
|
|
|
1289
1289
|
l = 0, o = O + H;
|
|
1290
1290
|
};
|
|
1291
1291
|
return e.forEach((m) => {
|
|
1292
|
-
const w = m.colSpan ?? (m.span === 0 ? t : m.span), D = m.rowSpan ??
|
|
1292
|
+
const w = m.colSpan ?? (m.span === 0 ? t : m.span), D = m.rowSpan ?? He(m.item);
|
|
1293
1293
|
m.item.form?.rowBreak && s.length && (l = 0, o = i(o) + H);
|
|
1294
1294
|
let { tr: T, tc: O } = u(o, l, w, D) ? { tr: o, tc: l } : h(o, l, w, D);
|
|
1295
1295
|
u(T, O, w, D) || ({ tr: T, tc: O } = h(0, 0, w, D)), d(T, O, w, D);
|
|
@@ -1303,7 +1303,7 @@ const we = (e) => {
|
|
|
1303
1303
|
gridColumn: O + 1,
|
|
1304
1304
|
gridBand: ie({ gridRow: A })
|
|
1305
1305
|
}), f(T, O, w, D);
|
|
1306
|
-
}), n.fillSingleRows ?
|
|
1306
|
+
}), n.fillSingleRows ? Ut(s, t) : s;
|
|
1307
1307
|
}, Oe = (e, t, n, a = H) => {
|
|
1308
1308
|
const s = e.filter((i) => $.isFun(i.item.show?.form, t, n)), o = /* @__PURE__ */ new Map();
|
|
1309
1309
|
e.forEach((i) => {
|
|
@@ -1321,36 +1321,36 @@ const we = (e) => {
|
|
|
1321
1321
|
...h,
|
|
1322
1322
|
rowSpan: H
|
|
1323
1323
|
});
|
|
1324
|
-
}),
|
|
1324
|
+
}), Xe(s.map((i) => l.get(i.item.key) || i), a, {
|
|
1325
1325
|
fillSingleRows: !0
|
|
1326
1326
|
});
|
|
1327
|
-
},
|
|
1327
|
+
}, Ye = (e) => {
|
|
1328
1328
|
const t = /* @__PURE__ */ new Map();
|
|
1329
1329
|
return e.forEach((n) => {
|
|
1330
1330
|
const a = n.gridBand ?? ie(n);
|
|
1331
1331
|
t.has(a) || t.set(a, []), t.get(a).push(n);
|
|
1332
1332
|
}), Array.from(t.keys()).sort((n, a) => n - a).map((n) => t.get(n));
|
|
1333
|
-
},
|
|
1334
|
-
if (!
|
|
1335
|
-
const n = t.defaultSpan ?? (t.maxSpan || 12) / 2, a =
|
|
1333
|
+
}, Ze = (e) => e?.length ? Array.isArray(e[0]) ? e.flat() : e : [], At = (e, t) => {
|
|
1334
|
+
if (!Ot(e) || !e.key) return null;
|
|
1335
|
+
const n = t.defaultSpan ?? (t.maxSpan || 12) / 2, a = Rt(e, n, t.layout);
|
|
1336
1336
|
return { item: e, span: a };
|
|
1337
|
-
},
|
|
1337
|
+
}, Bt = (e, t = {}) => {
|
|
1338
1338
|
const n = [], a = (s) => {
|
|
1339
1339
|
if (s.children?.length) {
|
|
1340
1340
|
s.children.forEach((l) => a(l));
|
|
1341
1341
|
return;
|
|
1342
1342
|
}
|
|
1343
|
-
const o =
|
|
1343
|
+
const o = At(s, t);
|
|
1344
1344
|
o && n.push(o);
|
|
1345
1345
|
};
|
|
1346
1346
|
return e.forEach((s) => a(s)), n;
|
|
1347
|
-
},
|
|
1348
|
-
const n = t.maxSpan ?? 12, a = t.defaultSpan ?? n / 2, s = t.layout ?? "row", l =
|
|
1347
|
+
}, _e = (e, t = {}) => {
|
|
1348
|
+
const n = t.maxSpan ?? 12, a = t.defaultSpan ?? n / 2, s = t.layout ?? "row", l = Bt(e, { maxSpan: n, defaultSpan: a, layout: s });
|
|
1349
1349
|
if (s === "column") {
|
|
1350
1350
|
const i = [];
|
|
1351
1351
|
let c = 1;
|
|
1352
1352
|
return l.forEach((u) => {
|
|
1353
|
-
const d =
|
|
1353
|
+
const d = He(u.item), h = n;
|
|
1354
1354
|
i.push({
|
|
1355
1355
|
...u,
|
|
1356
1356
|
span: h,
|
|
@@ -1362,8 +1362,8 @@ const we = (e) => {
|
|
|
1362
1362
|
}), c += d;
|
|
1363
1363
|
}), { cells: i, maxSpan: n };
|
|
1364
1364
|
}
|
|
1365
|
-
return { cells:
|
|
1366
|
-
},
|
|
1365
|
+
return { cells: Xe(l, n), maxSpan: n };
|
|
1366
|
+
}, Tt = (e) => e.map((t) => t.item?.show?.form), Lt = (e, t, n) => {
|
|
1367
1367
|
if (!e.rules) return;
|
|
1368
1368
|
const a = {
|
|
1369
1369
|
required: !0,
|
|
@@ -1373,7 +1373,7 @@ const we = (e) => {
|
|
|
1373
1373
|
(l || s === "checkbox" || i) && (a.type = "array", a.min = l ? 2 : 1);
|
|
1374
1374
|
const c = typeof e.rules == "boolean" ? [a] : e.rules;
|
|
1375
1375
|
return n ? c.map((u) => n(u)) : c;
|
|
1376
|
-
}, Ue = (e) => typeof e == "function" ? e() : e,
|
|
1376
|
+
}, Ue = (e) => typeof e == "function" ? e() : e, et = (e) => (t, n) => Lt(t, e, (a) => {
|
|
1377
1377
|
const s = (o, l) => {
|
|
1378
1378
|
if (l && Object.prototype.hasOwnProperty.call(l, t.key) && l[t.key] !== void 0) return l[t.key];
|
|
1379
1379
|
const i = Ue(n);
|
|
@@ -1390,16 +1390,16 @@ const we = (e) => {
|
|
|
1390
1390
|
};
|
|
1391
1391
|
}
|
|
1392
1392
|
return a;
|
|
1393
|
-
}),
|
|
1393
|
+
}), tt = (e, t) => {
|
|
1394
1394
|
const n = {
|
|
1395
1395
|
input: C.tCurd("placeholderInput"),
|
|
1396
1396
|
select: C.tCurd("placeholderSelect")
|
|
1397
1397
|
}, a = (n[le(e) || "input"] || n.input) + e.label;
|
|
1398
1398
|
return (t || W.error.callback)?.(e.key, e) || a;
|
|
1399
|
-
},
|
|
1400
|
-
const a = {}, s = {}, o = t?.maxSpan || 12, l = t?.defaultSpan || o / 2, i =
|
|
1399
|
+
}, ot = (e) => et((t) => tt(t, e?.error)), jt = (e, t, n) => {
|
|
1400
|
+
const a = {}, s = {}, o = t?.maxSpan || 12, l = t?.defaultSpan || o / 2, i = ot(t);
|
|
1401
1401
|
e.forEach((d) => ve(d, !0)), Fe(e, a, s, (d) => i(d, n));
|
|
1402
|
-
const { cells: c, maxSpan: u } =
|
|
1402
|
+
const { cells: c, maxSpan: u } = _e(e, {
|
|
1403
1403
|
maxSpan: o,
|
|
1404
1404
|
defaultSpan: l,
|
|
1405
1405
|
layout: t?.layout
|
|
@@ -1409,7 +1409,7 @@ const we = (e) => {
|
|
|
1409
1409
|
rules: s,
|
|
1410
1410
|
formGrid: c,
|
|
1411
1411
|
formMaxSpan: u,
|
|
1412
|
-
formColumn:
|
|
1412
|
+
formColumn: Ye(c)
|
|
1413
1413
|
};
|
|
1414
1414
|
}, Fe = (e, t, n, a) => {
|
|
1415
1415
|
const s = (o) => {
|
|
@@ -1424,7 +1424,7 @@ const we = (e) => {
|
|
|
1424
1424
|
}
|
|
1425
1425
|
};
|
|
1426
1426
|
e.forEach(s);
|
|
1427
|
-
},
|
|
1427
|
+
}, Kt = { class: "curd-form-cell-inner" }, at = /* @__PURE__ */ q({
|
|
1428
1428
|
__name: "layout",
|
|
1429
1429
|
props: {
|
|
1430
1430
|
formGrid: {},
|
|
@@ -1457,7 +1457,7 @@ const we = (e) => {
|
|
|
1457
1457
|
}), i = (f) => f.gridRow + f.rowSpan - 1 >= l.value, c = (f) => f.rowSpan >= H, u = (f) => {
|
|
1458
1458
|
const m = f.gridBand ?? ie(f);
|
|
1459
1459
|
return s.value.get(m) ?? m;
|
|
1460
|
-
}, d = (f) =>
|
|
1460
|
+
}, d = (f) => Qe(f, a.value, n.form, n.type, {
|
|
1461
1461
|
maxSpan: n.maxSpan,
|
|
1462
1462
|
defaultSpan: n.formOption?.defaultSpan
|
|
1463
1463
|
}), h = (f) => {
|
|
@@ -1467,13 +1467,13 @@ const we = (e) => {
|
|
|
1467
1467
|
gridColumn: `${f.gridColumn} / span ${m}`
|
|
1468
1468
|
};
|
|
1469
1469
|
};
|
|
1470
|
-
return (f, m) => r(t)(r(
|
|
1470
|
+
return (f, m) => r(t)(r(Tt)(e.formGrid), e.form, e.type) ? (g(), v(B, { key: 0 }, [
|
|
1471
1471
|
S(f.$slots, "form-start", { row: e.form }),
|
|
1472
1472
|
R("div", {
|
|
1473
1473
|
class: J(["curd-form-grid", { stripe: e.stripe !== !1 }]),
|
|
1474
1474
|
style: pe(o.value)
|
|
1475
1475
|
}, [
|
|
1476
|
-
(g(!0), v(B, null,
|
|
1476
|
+
(g(!0), v(B, null, N(a.value, (w) => (g(), v("div", {
|
|
1477
1477
|
key: w.item.key,
|
|
1478
1478
|
class: J(["curd-form-grid-cell", [
|
|
1479
1479
|
e.stripe !== !1 && u(w) % 2 === 0 ? "stripe-band-odd" : "",
|
|
@@ -1484,8 +1484,8 @@ const we = (e) => {
|
|
|
1484
1484
|
]]),
|
|
1485
1485
|
style: pe(h(w))
|
|
1486
1486
|
}, [
|
|
1487
|
-
R("div",
|
|
1488
|
-
r(t)(w.item.show?.form, e.form, e.type) ? (g(), b(
|
|
1487
|
+
R("div", Kt, [
|
|
1488
|
+
r(t)(w.item.show?.form, e.form, e.type) ? (g(), b(zt, {
|
|
1489
1489
|
key: 0,
|
|
1490
1490
|
class: J({ "is-row-span-field": c(w) }),
|
|
1491
1491
|
item: w.item,
|
|
@@ -1496,7 +1496,7 @@ const we = (e) => {
|
|
|
1496
1496
|
"get-on": e.getOn,
|
|
1497
1497
|
"get-disabled": e.getDisabled
|
|
1498
1498
|
}, Y({ _: 2 }, [
|
|
1499
|
-
|
|
1499
|
+
N(f.$slots, (D, T) => ({
|
|
1500
1500
|
name: T,
|
|
1501
1501
|
fn: p((O) => [
|
|
1502
1502
|
S(f.$slots, T, x({ ref_for: !0 }, O || {}))
|
|
@@ -1509,7 +1509,7 @@ const we = (e) => {
|
|
|
1509
1509
|
S(f.$slots, "form-end", { row: e.form })
|
|
1510
1510
|
], 64)) : V("", !0);
|
|
1511
1511
|
}
|
|
1512
|
-
}),
|
|
1512
|
+
}), Pt = /* @__PURE__ */ q({
|
|
1513
1513
|
__name: "column",
|
|
1514
1514
|
props: {
|
|
1515
1515
|
option: {
|
|
@@ -1546,11 +1546,11 @@ const we = (e) => {
|
|
|
1546
1546
|
set form(u) {
|
|
1547
1547
|
o.set(u);
|
|
1548
1548
|
},
|
|
1549
|
-
getDisabled: (u) =>
|
|
1550
|
-
getBind: (u) =>
|
|
1551
|
-
getOn: (u) =>
|
|
1549
|
+
getDisabled: (u) => We(u, c.type, c.form),
|
|
1550
|
+
getBind: (u) => Je(u, c.type),
|
|
1551
|
+
getOn: (u) => qe(u, c.type, [c.form, u]),
|
|
1552
1552
|
initColumnForm: () => {
|
|
1553
|
-
const u = o, d =
|
|
1553
|
+
const u = o, d = jt(s.option.column, s.option.form, () => u.get());
|
|
1554
1554
|
c.formDefault = d.formDefault, c.rules = d.rules, c.formGrid = d.formGrid, c.formMaxSpan = d.formMaxSpan, c.formColumn = d.formColumn, c.type === n.Add ? u.isExternal() ? u.merge(JSONUtil.cp(c.formDefault)) : u.set(JSONUtil.cp(c.formDefault)) : !u.isExternal() && s.form && u.set(JSONUtil.cp(s.form));
|
|
1555
1555
|
}
|
|
1556
1556
|
});
|
|
@@ -1581,7 +1581,7 @@ const we = (e) => {
|
|
|
1581
1581
|
rules: c.rules
|
|
1582
1582
|
}, {
|
|
1583
1583
|
default: p(() => [
|
|
1584
|
-
c.show ? (g(), b(
|
|
1584
|
+
c.show ? (g(), b(at, {
|
|
1585
1585
|
key: 0,
|
|
1586
1586
|
"form-grid": c.formGrid,
|
|
1587
1587
|
"max-span": c.formMaxSpan,
|
|
@@ -1594,7 +1594,7 @@ const we = (e) => {
|
|
|
1594
1594
|
"get-on": c.getOn,
|
|
1595
1595
|
"get-disabled": c.getDisabled
|
|
1596
1596
|
}, Y({ _: 2 }, [
|
|
1597
|
-
|
|
1597
|
+
N(u.$slots, (h, f) => ({
|
|
1598
1598
|
name: f,
|
|
1599
1599
|
fn: p((m) => [
|
|
1600
1600
|
S(u.$slots, f, $e(ze(m || {})))
|
|
@@ -1605,8 +1605,8 @@ const we = (e) => {
|
|
|
1605
1605
|
_: 3
|
|
1606
1606
|
}, 8, ["model", "rules"]));
|
|
1607
1607
|
}
|
|
1608
|
-
}),
|
|
1609
|
-
const t =
|
|
1608
|
+
}), It = (e) => e?.value || e, Gt = (e) => {
|
|
1609
|
+
const t = It(e);
|
|
1610
1610
|
return t?.validate ? new Promise((n, a) => {
|
|
1611
1611
|
let s = !1;
|
|
1612
1612
|
const o = (l, i) => {
|
|
@@ -1633,7 +1633,7 @@ const we = (e) => {
|
|
|
1633
1633
|
},
|
|
1634
1634
|
validate() {
|
|
1635
1635
|
const t = Object.keys(e.formRef.map).map((n) => e.formRef.map[n]);
|
|
1636
|
-
return Promise.all(t.map((n) =>
|
|
1636
|
+
return Promise.all(t.map((n) => Gt(n))).then(() => !0);
|
|
1637
1637
|
}
|
|
1638
1638
|
},
|
|
1639
1639
|
/**
|
|
@@ -1665,7 +1665,7 @@ const we = (e) => {
|
|
|
1665
1665
|
}
|
|
1666
1666
|
});
|
|
1667
1667
|
return e;
|
|
1668
|
-
},
|
|
1668
|
+
}, Ht = (e, t) => {
|
|
1669
1669
|
const n = we(() => t.searchForm);
|
|
1670
1670
|
return {
|
|
1671
1671
|
search: {
|
|
@@ -1703,7 +1703,7 @@ const we = (e) => {
|
|
|
1703
1703
|
}
|
|
1704
1704
|
}
|
|
1705
1705
|
};
|
|
1706
|
-
},
|
|
1706
|
+
}, Wt = (e, t) => ({
|
|
1707
1707
|
page: {
|
|
1708
1708
|
num: 1,
|
|
1709
1709
|
total: 0,
|
|
@@ -1721,7 +1721,7 @@ const we = (e) => {
|
|
|
1721
1721
|
};
|
|
1722
1722
|
}
|
|
1723
1723
|
}
|
|
1724
|
-
}),
|
|
1724
|
+
}), Jt = (e, t, n) => ({
|
|
1725
1725
|
table: {
|
|
1726
1726
|
op: {
|
|
1727
1727
|
width: (...a) => a.filter((o) => o).length * 30 + 60
|
|
@@ -1788,7 +1788,7 @@ const we = (e) => {
|
|
|
1788
1788
|
const i = await s({
|
|
1789
1789
|
...a.page.getQuery(),
|
|
1790
1790
|
...l
|
|
1791
|
-
}), c = L.config.field.result, u = i.data || { [c.list]: i }, d = (Array.isArray(u[c.list]), u[c.list]), h =
|
|
1791
|
+
}), c = L.config.field.result, u = i.data || { [c.list]: i }, d = (Array.isArray(u[c.list]), u[c.list]), h = Ze(a.update.formGrid?.length ? a.update.formGrid : a.update.formColumn), m = ObjectUtil.deepMerge({ data: d }, {}).data.map((w) => (Object.keys(w).forEach((T) => {
|
|
1792
1792
|
const O = h.find((A) => A.item.key === T);
|
|
1793
1793
|
O && ["select", "radio"].includes(O.item.type) && (O.item.table.format || (O.item.table.format = (A) => O.item.options[O.item.type].data?.find((de) => de.value == A[T])?.label || A[T]));
|
|
1794
1794
|
}), w));
|
|
@@ -1852,7 +1852,7 @@ const we = (e) => {
|
|
|
1852
1852
|
}
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
|
-
}),
|
|
1855
|
+
}), qt = (e, t) => {
|
|
1856
1856
|
const n = re({}), a = /* @__PURE__ */ new WeakMap();
|
|
1857
1857
|
let s = 0;
|
|
1858
1858
|
const o = (y) => {
|
|
@@ -1861,7 +1861,7 @@ const we = (e) => {
|
|
|
1861
1861
|
}, l = (y) => {
|
|
1862
1862
|
const k = t.option.table?.rowKey, z = k ? y[k] : void 0;
|
|
1863
1863
|
return z != null && z !== "" ? String(z) : o(y);
|
|
1864
|
-
}, i = (y, k) => `${l(y)}-${k.key}`, c = (y) =>
|
|
1864
|
+
}, i = (y, k) => `${l(y)}-${k.key}`, c = (y) => tt(y, t.option.form?.error), u = et(c), d = () => {
|
|
1865
1865
|
Object.keys(n).forEach((y) => {
|
|
1866
1866
|
delete n[y];
|
|
1867
1867
|
});
|
|
@@ -1975,7 +1975,7 @@ const we = (e) => {
|
|
|
1975
1975
|
}
|
|
1976
1976
|
};
|
|
1977
1977
|
};
|
|
1978
|
-
class
|
|
1978
|
+
class Qt {
|
|
1979
1979
|
/**
|
|
1980
1980
|
* 导出数据为 Excel 文件(.xlsx),自动触发浏览器下载
|
|
1981
1981
|
*
|
|
@@ -1994,13 +1994,13 @@ class qt {
|
|
|
1994
1994
|
s.utils.book_append_sheet(i, l, "Sheet1"), a ? typeof a == "function" && (a = a()) : a = `导出数据_${(/* @__PURE__ */ new Date()).Format("yyyy-MM-dd")}_${(/* @__PURE__ */ new Date()).getTime()}`, s.writeFile(i, `${a}.xlsx`);
|
|
1995
1995
|
};
|
|
1996
1996
|
}
|
|
1997
|
-
const
|
|
1997
|
+
const Xt = (e, t) => ({
|
|
1998
1998
|
export: {
|
|
1999
1999
|
run: {
|
|
2000
2000
|
start: async (n) => {
|
|
2001
2001
|
let s = await e().export.run[n]();
|
|
2002
2002
|
const o = t.option.column, l = ObjectUtil.deepMerge({ data: s, columns: o }, {}), i = t.option.tools?.export || {};
|
|
2003
|
-
i.before?.(l),
|
|
2003
|
+
i.before?.(l), Qt.exportToExcel(l.data, l.columns, i.fileName);
|
|
2004
2004
|
},
|
|
2005
2005
|
select: async () => {
|
|
2006
2006
|
const n = e();
|
|
@@ -2068,7 +2068,7 @@ const Qt = (e, t) => ({
|
|
|
2068
2068
|
a.export.loading || a.export.run.start(n);
|
|
2069
2069
|
}
|
|
2070
2070
|
}
|
|
2071
|
-
}),
|
|
2071
|
+
}), Yt = (e, t) => ({
|
|
2072
2072
|
remove: {
|
|
2073
2073
|
title: C.tCurd("deleteTitle"),
|
|
2074
2074
|
show: !1,
|
|
@@ -2104,11 +2104,11 @@ const Qt = (e, t) => ({
|
|
|
2104
2104
|
});
|
|
2105
2105
|
}
|
|
2106
2106
|
}
|
|
2107
|
-
}),
|
|
2107
|
+
}), Zt = (e, t, n) => ({
|
|
2108
2108
|
apiDataMap: {},
|
|
2109
2109
|
getColumnSpan: (a, s) => {
|
|
2110
2110
|
const o = e(), l = o.update.formGrid?.length ? o.update.formGrid : s || [];
|
|
2111
|
-
return
|
|
2111
|
+
return Qe(a, l, o.update.form, o.update.type, {
|
|
2112
2112
|
maxSpan: o.update.formMaxSpan || t.option.form?.maxSpan,
|
|
2113
2113
|
defaultSpan: t.option.form?.defaultSpan || L.config.form.defaultSpan
|
|
2114
2114
|
});
|
|
@@ -2210,7 +2210,7 @@ const Qt = (e, t) => ({
|
|
|
2210
2210
|
initColumnForm: () => {
|
|
2211
2211
|
const a = e(), s = t.option;
|
|
2212
2212
|
a.update.formColumn = [], a.update.formGrid = [], a.update.formMaxSpan = 12, a.table.column.show = { list: [], listSource: [] };
|
|
2213
|
-
const o = t.option.form?.maxSpan || 12, l = t.option.form?.defaultSpan || o / 2, i =
|
|
2213
|
+
const o = t.option.form?.maxSpan || 12, l = t.option.form?.defaultSpan || o / 2, i = ot(t.option.form), c = (f) => {
|
|
2214
2214
|
if (f.children) {
|
|
2215
2215
|
a.table.column.show.list.push(f.key), f.children.forEach((m) => c(m));
|
|
2216
2216
|
return;
|
|
@@ -2222,12 +2222,12 @@ const Qt = (e, t) => ({
|
|
|
2222
2222
|
}), t.option.table?.column?.forEach((f) => {
|
|
2223
2223
|
ve(f, !1), c(f);
|
|
2224
2224
|
}), a.search.column.list = s.column.concat(s.table?.column || []), a.table.column.list = a.search.column.list.filter((f) => f.table?.table), a.search.column.list.sort((f, m) => f.sort?.search - m.sort?.search), a.table.column.list.sort((f, m) => f.sort?.table - m.sort?.table), a.update.rules = {}, Fe(s.column, a.update.formDefault, a.update.rules, (f) => i(f, () => a.update.form)), s.table?.editMode && Fe(s.table?.column || [], a.update.formDefault, a.update.rules, (f) => i(f, () => a.update.form));
|
|
2225
|
-
const u =
|
|
2225
|
+
const u = _e(s.column, {
|
|
2226
2226
|
maxSpan: o,
|
|
2227
2227
|
defaultSpan: l,
|
|
2228
2228
|
layout: t.option.form?.layout
|
|
2229
2229
|
});
|
|
2230
|
-
a.update.formGrid = u.cells, a.update.formMaxSpan = u.maxSpan, a.update.formColumn =
|
|
2230
|
+
a.update.formGrid = u.cells, a.update.formMaxSpan = u.maxSpan, a.update.formColumn = Ye(u.cells);
|
|
2231
2231
|
const d = t.option.search?.formDefault;
|
|
2232
2232
|
d && Object.keys(d).forEach((f) => {
|
|
2233
2233
|
a.search.formDefault[f] = d[f];
|
|
@@ -2237,7 +2237,7 @@ const Qt = (e, t) => ({
|
|
|
2237
2237
|
const h = ObjectUtil.deepMerge(a.search.formDefault, {});
|
|
2238
2238
|
Z.setValue(a.search.form, h, !0);
|
|
2239
2239
|
}
|
|
2240
|
-
}),
|
|
2240
|
+
}), _t = (e) => {
|
|
2241
2241
|
const t = X(), n = X(), a = X(), s = { switchConfirmRef: t, ruleFormRef: n, tableRef: a }, o = Ie(), l = Me.getConf("curdConf"), i = (h) => {
|
|
2242
2242
|
h = h || u;
|
|
2243
2243
|
let f = h, m = h;
|
|
@@ -2251,14 +2251,14 @@ const Qt = (e, t) => ({
|
|
|
2251
2251
|
getRootCurdConf: i,
|
|
2252
2252
|
...Nt(),
|
|
2253
2253
|
option: e.option,
|
|
2254
|
-
...Gt(c, e),
|
|
2255
2254
|
...Ht(c, e),
|
|
2256
|
-
...Wt(c, e
|
|
2257
|
-
...Jt(c, e),
|
|
2258
|
-
...
|
|
2259
|
-
...Ft(c, e, s),
|
|
2255
|
+
...Wt(c, e),
|
|
2256
|
+
...Jt(c, e, s),
|
|
2257
|
+
...qt(c, e),
|
|
2260
2258
|
...Xt(c, e),
|
|
2261
|
-
...
|
|
2259
|
+
...Dt(c, e, s),
|
|
2260
|
+
...Yt(c, e),
|
|
2261
|
+
...Zt(c, e, s)
|
|
2262
2262
|
});
|
|
2263
2263
|
u.init();
|
|
2264
2264
|
const d = o ? `curdRef-${o.uid}` : "";
|
|
@@ -2273,7 +2273,7 @@ const Qt = (e, t) => ({
|
|
|
2273
2273
|
})), je(() => {
|
|
2274
2274
|
e.option.init !== !1 && u.table.getList();
|
|
2275
2275
|
}), Me.setConf("curdConf", u), { conf: u, switchConfirmRef: t, ruleFormRef: n, tableRef: a };
|
|
2276
|
-
},
|
|
2276
|
+
}, eo = { class: "dialog-footer" }, to = /* @__PURE__ */ q({
|
|
2277
2277
|
__name: "switchConfirm",
|
|
2278
2278
|
props: {
|
|
2279
2279
|
size: {}
|
|
@@ -2302,14 +2302,14 @@ const Qt = (e, t) => ({
|
|
|
2302
2302
|
footer: p(() => [
|
|
2303
2303
|
F(f, { size: e.size }, {
|
|
2304
2304
|
default: p(() => [
|
|
2305
|
-
R("span",
|
|
2306
|
-
F(r(
|
|
2305
|
+
R("span", eo, [
|
|
2306
|
+
F(r(G), { onClick: u }, {
|
|
2307
2307
|
default: p(() => [...h[1] || (h[1] = [
|
|
2308
2308
|
M("取消", -1)
|
|
2309
2309
|
])]),
|
|
2310
2310
|
_: 1
|
|
2311
2311
|
}),
|
|
2312
|
-
F(r(
|
|
2312
|
+
F(r(G), {
|
|
2313
2313
|
type: "primary",
|
|
2314
2314
|
onClick: c
|
|
2315
2315
|
}, {
|
|
@@ -2330,7 +2330,7 @@ const Qt = (e, t) => ({
|
|
|
2330
2330
|
}, 8, ["modelValue", "title"]);
|
|
2331
2331
|
};
|
|
2332
2332
|
}
|
|
2333
|
-
}),
|
|
2333
|
+
}), oo = ["innerHTML"], ao = /* @__PURE__ */ q({
|
|
2334
2334
|
__name: "text",
|
|
2335
2335
|
props: {
|
|
2336
2336
|
content: {},
|
|
@@ -2341,7 +2341,7 @@ const Qt = (e, t) => ({
|
|
|
2341
2341
|
return (a, s) => typeof n.value == "object" ? (g(), b(ee(n.value), { key: 0 })) : (g(), v("div", {
|
|
2342
2342
|
key: 1,
|
|
2343
2343
|
innerHTML: n.value
|
|
2344
|
-
}, null, 8,
|
|
2344
|
+
}, null, 8, oo));
|
|
2345
2345
|
}
|
|
2346
2346
|
}), Ae = /* @__PURE__ */ q({
|
|
2347
2347
|
__name: "searchField",
|
|
@@ -2398,7 +2398,7 @@ const Qt = (e, t) => ({
|
|
|
2398
2398
|
disabled: e.item.disabled?.search
|
|
2399
2399
|
}, e.item.options?.search?.select || e.item.options?.select, E(e.item.options?.search?.select?.on || e.item.options?.select?.on || {})), {
|
|
2400
2400
|
default: p(() => [
|
|
2401
|
-
(g(!0), v(B, null,
|
|
2401
|
+
(g(!0), v(B, null, N(e.item.options?.search?.select?.data || e.item.options?.select?.data || [], (o) => (g(), b(r(ne), {
|
|
2402
2402
|
key: o.value,
|
|
2403
2403
|
label: o.label,
|
|
2404
2404
|
value: o.value
|
|
@@ -2412,7 +2412,7 @@ const Qt = (e, t) => ({
|
|
|
2412
2412
|
disabled: e.item.disabled?.search
|
|
2413
2413
|
}, e.item.options?.search?.radio || e.item.options?.radio, E(e.item.options?.search?.radio?.on || e.item.options?.radio?.on || {})), {
|
|
2414
2414
|
default: p(() => [
|
|
2415
|
-
(g(!0), v(B, null,
|
|
2415
|
+
(g(!0), v(B, null, N(e.item.options?.radio?.data, (o) => (g(), b(r(Te), {
|
|
2416
2416
|
key: o.value,
|
|
2417
2417
|
label: o.label,
|
|
2418
2418
|
value: o.value
|
|
@@ -2437,88 +2437,88 @@ const Qt = (e, t) => ({
|
|
|
2437
2437
|
for (const [a, s] of t)
|
|
2438
2438
|
n[a] = s;
|
|
2439
2439
|
return n;
|
|
2440
|
-
},
|
|
2440
|
+
}, no = {}, lo = {
|
|
2441
2441
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2442
2442
|
viewBox: "64 64 896 896"
|
|
2443
2443
|
};
|
|
2444
|
-
function
|
|
2445
|
-
return g(), v("svg",
|
|
2444
|
+
function io(e, t) {
|
|
2445
|
+
return g(), v("svg", lo, [...t[0] || (t[0] = [
|
|
2446
2446
|
R("path", {
|
|
2447
2447
|
fill: "currentColor",
|
|
2448
2448
|
d: "M482.2 508.4L331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"
|
|
2449
2449
|
}, null, -1)
|
|
2450
2450
|
])]);
|
|
2451
2451
|
}
|
|
2452
|
-
const
|
|
2452
|
+
const ro = /* @__PURE__ */ se(no, [["render", io]]), so = {}, uo = {
|
|
2453
2453
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2454
2454
|
viewBox: "64 64 896 896"
|
|
2455
2455
|
};
|
|
2456
|
-
function
|
|
2457
|
-
return g(), v("svg",
|
|
2456
|
+
function co(e, t) {
|
|
2457
|
+
return g(), v("svg", uo, [...t[0] || (t[0] = [
|
|
2458
2458
|
R("path", {
|
|
2459
2459
|
fill: "currentColor",
|
|
2460
2460
|
d: "M180 176h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zm724 0h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zM785.3 504.3L657.7 403.6a7.23 7.23 0 00-11.7 5.7V476H378v-62.8c0-6-7-9.4-11.7-5.7L238.7 508.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h268v62.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.8-2.9 3.8-8.5.2-11.4z"
|
|
2461
2461
|
}, null, -1)
|
|
2462
2462
|
])]);
|
|
2463
2463
|
}
|
|
2464
|
-
const
|
|
2464
|
+
const fo = /* @__PURE__ */ se(so, [["render", co]]), mo = {}, go = {
|
|
2465
2465
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2466
2466
|
viewBox: "0 0 1024 1024"
|
|
2467
2467
|
};
|
|
2468
|
-
function
|
|
2469
|
-
return g(), v("svg",
|
|
2468
|
+
function ho(e, t) {
|
|
2469
|
+
return g(), v("svg", go, [...t[0] || (t[0] = [
|
|
2470
2470
|
R("path", {
|
|
2471
2471
|
fill: "currentColor",
|
|
2472
2472
|
d: "M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"
|
|
2473
2473
|
}, null, -1)
|
|
2474
2474
|
])]);
|
|
2475
2475
|
}
|
|
2476
|
-
const
|
|
2476
|
+
const yo = /* @__PURE__ */ se(mo, [["render", ho]]), bo = {}, po = {
|
|
2477
2477
|
"data-v-58697b5c": "",
|
|
2478
2478
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2479
2479
|
viewBox: "0 0 1024 1024"
|
|
2480
2480
|
};
|
|
2481
|
-
function
|
|
2482
|
-
return g(), v("svg",
|
|
2481
|
+
function wo(e, t) {
|
|
2482
|
+
return g(), v("svg", po, [...t[0] || (t[0] = [
|
|
2483
2483
|
R("path", {
|
|
2484
2484
|
fill: "currentColor",
|
|
2485
2485
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"
|
|
2486
2486
|
}, null, -1)
|
|
2487
2487
|
])]);
|
|
2488
2488
|
}
|
|
2489
|
-
const
|
|
2489
|
+
const ko = /* @__PURE__ */ se(bo, [["render", wo]]), vo = {}, Co = {
|
|
2490
2490
|
"data-v-58697b5c": "",
|
|
2491
2491
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2492
2492
|
viewBox: "0 0 1024 1024"
|
|
2493
2493
|
};
|
|
2494
|
-
function
|
|
2495
|
-
return g(), v("svg",
|
|
2494
|
+
function xo(e, t) {
|
|
2495
|
+
return g(), v("svg", Co, [...t[0] || (t[0] = [
|
|
2496
2496
|
R("path", {
|
|
2497
2497
|
fill: "currentColor",
|
|
2498
2498
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0z"
|
|
2499
2499
|
}, null, -1)
|
|
2500
2500
|
])]);
|
|
2501
2501
|
}
|
|
2502
|
-
const
|
|
2502
|
+
const Vo = /* @__PURE__ */ se(vo, [["render", xo]]), So = {}, Eo = {
|
|
2503
2503
|
"data-v-58697b5c": "",
|
|
2504
2504
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2505
2505
|
viewBox: "0 0 1024 1024"
|
|
2506
2506
|
};
|
|
2507
|
-
function
|
|
2508
|
-
return g(), v("svg",
|
|
2507
|
+
function $o(e, t) {
|
|
2508
|
+
return g(), v("svg", Eo, [...t[0] || (t[0] = [
|
|
2509
2509
|
R("path", {
|
|
2510
2510
|
fill: "currentColor",
|
|
2511
2511
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"
|
|
2512
2512
|
}, null, -1)
|
|
2513
2513
|
])]);
|
|
2514
2514
|
}
|
|
2515
|
-
const
|
|
2515
|
+
const zo = /* @__PURE__ */ se(So, [["render", $o]]), Mo = { class: "row flex-center table-header-label inline" }, Fo = { class: "table-header-tooltip" }, Do = ["innerHTML"], Oo = {
|
|
2516
2516
|
key: 1,
|
|
2517
2517
|
class: "table-header-required"
|
|
2518
|
-
},
|
|
2518
|
+
}, Ro = ["onClick"], Uo = {
|
|
2519
2519
|
key: 0,
|
|
2520
2520
|
class: "table-edit-form"
|
|
2521
|
-
},
|
|
2521
|
+
}, Ao = { key: 1 }, Bo = ["onClick", "innerHTML"], To = /* @__PURE__ */ q({
|
|
2522
2522
|
__name: "tableColumn",
|
|
2523
2523
|
props: {
|
|
2524
2524
|
conf: {},
|
|
@@ -2529,7 +2529,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2529
2529
|
const t = $.isFun, n = e, s = Ie().type, o = (i) => i === !0 ? !0 : (Array.isArray(i) ? i : i ? [i] : []).some((u) => u?.required === !0), l = (i) => n.option.table?.editMode ? o(i.rules) || o(n.conf.update.rules?.[i.key]) : !1;
|
|
2530
2530
|
return (i, c) => {
|
|
2531
2531
|
const u = fe("el-tooltip");
|
|
2532
|
-
return g(!0), v(B, null,
|
|
2532
|
+
return g(!0), v(B, null, N(e.columnList, (d) => (g(), v(B, {
|
|
2533
2533
|
key: d.key
|
|
2534
2534
|
}, [
|
|
2535
2535
|
e.conf.table.column.show.list.includes(d.key) && (d.show?.table === void 0 || r(t)(d.show?.table, e.conf.table.data)) ? (g(), v(B, { key: 0 }, [
|
|
@@ -2540,7 +2540,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2540
2540
|
}, { ref_for: !0 }, d.table), {
|
|
2541
2541
|
header: p(() => [
|
|
2542
2542
|
S(i.$slots, "table-header-" + d.key, { item: d }, () => [
|
|
2543
|
-
R("div",
|
|
2543
|
+
R("div", Mo, [
|
|
2544
2544
|
d.table?.header?.tooltip ? (g(), b(u, {
|
|
2545
2545
|
key: 0,
|
|
2546
2546
|
effect: "dark",
|
|
@@ -2549,21 +2549,21 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2549
2549
|
content: p(() => [
|
|
2550
2550
|
R("div", {
|
|
2551
2551
|
innerHTML: d.table?.header?.tooltip
|
|
2552
|
-
}, null, 8,
|
|
2552
|
+
}, null, 8, Do)
|
|
2553
2553
|
]),
|
|
2554
2554
|
default: p(() => [
|
|
2555
|
-
R("span",
|
|
2556
|
-
F(
|
|
2555
|
+
R("span", Fo, [
|
|
2556
|
+
F(ko)
|
|
2557
2557
|
])
|
|
2558
2558
|
]),
|
|
2559
2559
|
_: 2
|
|
2560
2560
|
}, 1024)) : V("", !0),
|
|
2561
|
-
l(d) ? (g(), v("span",
|
|
2561
|
+
l(d) ? (g(), v("span", Oo, "*")) : V("", !0),
|
|
2562
2562
|
M(" " + U(d.label) + " ", 1),
|
|
2563
2563
|
d.table?.header?.group !== void 0 ? (g(), v("span", {
|
|
2564
2564
|
key: 2,
|
|
2565
2565
|
class: "table-header-plus",
|
|
2566
|
-
onClick:
|
|
2566
|
+
onClick: bt(
|
|
2567
2567
|
() => {
|
|
2568
2568
|
d.table.header.group = !d.table.header.group, e.columnList.forEach((h) => {
|
|
2569
2569
|
h.table?.header?.groupKey === d.key && (h.table.header.show = !d.table.header.group);
|
|
@@ -2572,8 +2572,8 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2572
2572
|
["stop"]
|
|
2573
2573
|
)
|
|
2574
2574
|
}, [
|
|
2575
|
-
d.table.header.group ? (g(), b(
|
|
2576
|
-
], 8,
|
|
2575
|
+
d.table.header.group ? (g(), b(Vo, { key: 0 })) : (g(), b(zo, { key: 1 }))
|
|
2576
|
+
], 8, Ro)) : V("", !0)
|
|
2577
2577
|
])
|
|
2578
2578
|
])
|
|
2579
2579
|
]),
|
|
@@ -2585,7 +2585,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2585
2585
|
columnList: d.children,
|
|
2586
2586
|
option: e.option
|
|
2587
2587
|
}, Y({ _: 2 }, [
|
|
2588
|
-
|
|
2588
|
+
N(i.$slots, (f, m) => ({
|
|
2589
2589
|
name: m,
|
|
2590
2590
|
fn: p((w) => [
|
|
2591
2591
|
S(i.$slots, m, x({ ref_for: !0 }, w || {}))
|
|
@@ -2593,7 +2593,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2593
2593
|
}))
|
|
2594
2594
|
]), 1032, ["conf", "columnList", "option"]))
|
|
2595
2595
|
], 64)) : (g(), v(B, { key: 1 }, [
|
|
2596
|
-
e.option.table?.editMode ? (g(), v("div",
|
|
2596
|
+
e.option.table?.editMode ? (g(), v("div", Uo, [
|
|
2597
2597
|
F(r(be), {
|
|
2598
2598
|
size: e.option.size?.table,
|
|
2599
2599
|
error: e.conf.tableEditValidate.getFieldError(h, d),
|
|
@@ -2634,7 +2634,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2634
2634
|
"onUpdate:modelValue": (f) => e.conf.tableEditValidate.clearField(h, d)
|
|
2635
2635
|
}), {
|
|
2636
2636
|
default: p(() => [
|
|
2637
|
-
(g(!0), v(B, null,
|
|
2637
|
+
(g(!0), v(B, null, N(d.options?.search?.select?.data || d.options?.select?.data, (f) => (g(), b(r(ne), {
|
|
2638
2638
|
key: f.value,
|
|
2639
2639
|
label: f.label,
|
|
2640
2640
|
value: f.value
|
|
@@ -2680,7 +2680,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2680
2680
|
disabled: e.conf.update.getDisabled(d, !0)
|
|
2681
2681
|
}, { ref_for: !0 }, e.conf.update.getBind(d), E(e.conf.update.getOn(d, h)), { style: { width: "100%" } }), {
|
|
2682
2682
|
default: p(() => [
|
|
2683
|
-
(g(!0), v(B, null,
|
|
2683
|
+
(g(!0), v(B, null, N(d.options?.search?.select?.data || d.options?.select?.data, (f) => (g(), b(r(ne), {
|
|
2684
2684
|
key: f.value,
|
|
2685
2685
|
label: f.label,
|
|
2686
2686
|
value: f.value
|
|
@@ -2710,7 +2710,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2710
2710
|
"onUpdate:modelValue": (f) => h[d.key] = f,
|
|
2711
2711
|
loading: d.options?.switch?.loadingMap?.[h[e.option.table?.rowKey]]?.loading,
|
|
2712
2712
|
"before-change": () => d.options?.switch?.tableBeforeChange?.(d.key, h)
|
|
2713
|
-
}, { ref_for: !0 }, d.options?.switch), null, 16, ["modelValue", "onUpdate:modelValue", "loading", "before-change"])) : (g(), v("span",
|
|
2713
|
+
}, { ref_for: !0 }, d.options?.switch), null, 16, ["modelValue", "onUpdate:modelValue", "loading", "before-change"])) : (g(), v("span", Ao, U(h[d.key] === d.options?.switch?.activeValue ? d.options?.switch?.activeText : d.options?.switch?.inactiveText), 1))
|
|
2714
2714
|
], 64)) : (g(), v("span", {
|
|
2715
2715
|
key: 2,
|
|
2716
2716
|
style: pe({
|
|
@@ -2719,7 +2719,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2719
2719
|
class: J({ "table-text-click": d.table?.click?.callback }),
|
|
2720
2720
|
onClick: (f) => d.table?.click?.callback?.(h),
|
|
2721
2721
|
innerHTML: d.table?.format ? d.table?.format(h) : h[d.key]
|
|
2722
|
-
}, null, 14,
|
|
2722
|
+
}, null, 14, Bo))
|
|
2723
2723
|
])
|
|
2724
2724
|
], 64))
|
|
2725
2725
|
], 64))
|
|
@@ -2730,19 +2730,19 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2730
2730
|
], 64))), 128);
|
|
2731
2731
|
};
|
|
2732
2732
|
}
|
|
2733
|
-
}),
|
|
2733
|
+
}), Lo = {
|
|
2734
2734
|
key: 0,
|
|
2735
2735
|
class: "relative curd-search fit-width"
|
|
2736
|
-
},
|
|
2736
|
+
}, jo = { class: "mb-10 flex justify-between items-center fit-width" }, Ko = {
|
|
2737
2737
|
class: "flex items-center",
|
|
2738
2738
|
style: { gap: "10px" }
|
|
2739
|
-
},
|
|
2739
|
+
}, Po = { key: 0 }, Io = { key: 1 }, Go = { key: 2 }, No = { class: "export-btn" }, Ho = {
|
|
2740
2740
|
key: 1,
|
|
2741
2741
|
class: "export-btn"
|
|
2742
|
-
},
|
|
2742
|
+
}, Wo = {
|
|
2743
2743
|
class: "flex items-center table-tools-right",
|
|
2744
2744
|
style: { gap: "10px" }
|
|
2745
|
-
},
|
|
2745
|
+
}, Jo = { class: "row justify-end mt-10 mb-10 table-bottom-pagination" }, qo = { class: "dialog-footer" }, Qo = { key: 0 }, Xo = { key: 1 }, Yo = { class: "dialog-footer" }, Zo = /* @__PURE__ */ q({
|
|
2746
2746
|
__name: "index",
|
|
2747
2747
|
props: {
|
|
2748
2748
|
/**
|
|
@@ -2765,11 +2765,11 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2765
2765
|
}
|
|
2766
2766
|
},
|
|
2767
2767
|
setup(e, { expose: t }) {
|
|
2768
|
-
const n = $.EDialog, a = e, s = $.isFun, { conf: o, switchConfirmRef: l, ruleFormRef: i, tableRef: c } =
|
|
2768
|
+
const n = $.EDialog, a = e, s = $.isFun, { conf: o, switchConfirmRef: l, ruleFormRef: i, tableRef: c } = _t(a);
|
|
2769
2769
|
return t({
|
|
2770
2770
|
conf: o
|
|
2771
2771
|
}), (u, d) => {
|
|
2772
|
-
const h = fe("el-tooltip"), f =
|
|
2772
|
+
const h = fe("el-tooltip"), f = pt("loading");
|
|
2773
2773
|
return g(), v("div", {
|
|
2774
2774
|
class: J(["relative cc1-form-box", [e.option.table?.fitHeight ? "col" : "no-min-height"]])
|
|
2775
2775
|
}, [
|
|
@@ -2781,7 +2781,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2781
2781
|
R("div", {
|
|
2782
2782
|
class: J(["column fit-width no-wrap", [e.option.table?.fitHeight ? "col" : ""]])
|
|
2783
2783
|
}, [
|
|
2784
|
-
e.option.search?.show !== !1 ? (g(), v("div",
|
|
2784
|
+
e.option.search?.show !== !1 ? (g(), v("div", Lo, [
|
|
2785
2785
|
F(r(oe), {
|
|
2786
2786
|
model: r(o).search.form,
|
|
2787
2787
|
inline: "",
|
|
@@ -2791,7 +2791,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2791
2791
|
S(u.$slots, "search-start", {
|
|
2792
2792
|
row: r(o).search.form
|
|
2793
2793
|
}),
|
|
2794
|
-
(g(!0), v(B, null,
|
|
2794
|
+
(g(!0), v(B, null, N(r(o).search.column.list, (m) => (g(), v(B, {
|
|
2795
2795
|
key: m.key
|
|
2796
2796
|
}, [
|
|
2797
2797
|
S(u.$slots, "search-" + m.key + "-start", {
|
|
@@ -2835,7 +2835,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2835
2835
|
}),
|
|
2836
2836
|
e.option.tools?.search || e.option.tools?.reset ? (g(), b(r(be), { key: 0 }, {
|
|
2837
2837
|
default: p(() => [
|
|
2838
|
-
e.option.tools?.search ? (g(), b(r(
|
|
2838
|
+
e.option.tools?.search ? (g(), b(r(G), {
|
|
2839
2839
|
key: 0,
|
|
2840
2840
|
type: "primary",
|
|
2841
2841
|
onClick: r(o).search.submit
|
|
@@ -2845,7 +2845,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2845
2845
|
]),
|
|
2846
2846
|
_: 1
|
|
2847
2847
|
}, 8, ["onClick"])) : V("", !0),
|
|
2848
|
-
e.option.tools?.reset ? (g(), b(r(
|
|
2848
|
+
e.option.tools?.reset ? (g(), b(r(G), {
|
|
2849
2849
|
key: 1,
|
|
2850
2850
|
onClick: r(o).search.reset
|
|
2851
2851
|
}, {
|
|
@@ -2864,10 +2864,10 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2864
2864
|
_: 3
|
|
2865
2865
|
}, 8, ["model", "size"])
|
|
2866
2866
|
])) : V("", !0),
|
|
2867
|
-
R("div",
|
|
2868
|
-
R("div",
|
|
2869
|
-
r(s)(e.option.tools?.add) ? (g(), v("div",
|
|
2870
|
-
F(r(
|
|
2867
|
+
R("div", jo, [
|
|
2868
|
+
R("div", Ko, [
|
|
2869
|
+
r(s)(e.option.tools?.add) ? (g(), v("div", Po, [
|
|
2870
|
+
F(r(G), {
|
|
2871
2871
|
type: "primary",
|
|
2872
2872
|
onClick: d[0] || (d[0] = (m) => r(o).update.open(r(n).Add)),
|
|
2873
2873
|
size: e.option.size?.search
|
|
@@ -2878,8 +2878,8 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2878
2878
|
_: 1
|
|
2879
2879
|
}, 8, ["size"])
|
|
2880
2880
|
])) : V("", !0),
|
|
2881
|
-
e.option.table?.selectable && r(s)(e.option.tools?.delete) ? (g(), v("div",
|
|
2882
|
-
F(r(
|
|
2881
|
+
e.option.table?.selectable && r(s)(e.option.tools?.delete) ? (g(), v("div", Io, [
|
|
2882
|
+
F(r(G), {
|
|
2883
2883
|
type: "danger",
|
|
2884
2884
|
onClick: d[1] || (d[1] = (m) => r(o).remove.open(r(o).table.selection.list)),
|
|
2885
2885
|
size: e.option.size?.search
|
|
@@ -2890,8 +2890,8 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2890
2890
|
_: 1
|
|
2891
2891
|
}, 8, ["size"])
|
|
2892
2892
|
])) : V("", !0),
|
|
2893
|
-
e.option.tools?.expand ? (g(), v("div",
|
|
2894
|
-
F(r(
|
|
2893
|
+
e.option.tools?.expand ? (g(), v("div", Go, [
|
|
2894
|
+
F(r(G), {
|
|
2895
2895
|
type: "warning",
|
|
2896
2896
|
onClick: d[2] || (d[2] = (m) => r(o).table.expand.all()),
|
|
2897
2897
|
size: e.option.size?.search
|
|
@@ -2903,12 +2903,12 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2903
2903
|
}, 8, ["size"])
|
|
2904
2904
|
])) : V("", !0),
|
|
2905
2905
|
e.option.tools?.export?.show ? (g(), v(B, { key: 3 }, [
|
|
2906
|
-
e.option.tools?.export?.dropdown?.show ? (g(), b(r(
|
|
2906
|
+
e.option.tools?.export?.dropdown?.show ? (g(), b(r(gt), {
|
|
2907
2907
|
key: 0,
|
|
2908
2908
|
onCommand: r(o).export.click
|
|
2909
2909
|
}, {
|
|
2910
2910
|
dropdown: p(() => [
|
|
2911
|
-
F(r(
|
|
2911
|
+
F(r(ht), {
|
|
2912
2912
|
size: e.option.size?.search
|
|
2913
2913
|
}, {
|
|
2914
2914
|
default: p(() => [
|
|
@@ -2945,7 +2945,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2945
2945
|
]),
|
|
2946
2946
|
default: p(() => [
|
|
2947
2947
|
R("div", No, [
|
|
2948
|
-
F(r(
|
|
2948
|
+
F(r(G), {
|
|
2949
2949
|
type: "warning",
|
|
2950
2950
|
loading: r(o).export.loading,
|
|
2951
2951
|
size: e.option.size?.search
|
|
@@ -2958,8 +2958,8 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2958
2958
|
])
|
|
2959
2959
|
]),
|
|
2960
2960
|
_: 1
|
|
2961
|
-
}, 8, ["onCommand"])) : (g(), v("div",
|
|
2962
|
-
F(r(
|
|
2961
|
+
}, 8, ["onCommand"])) : (g(), v("div", Ho, [
|
|
2962
|
+
F(r(G), {
|
|
2963
2963
|
type: "warning",
|
|
2964
2964
|
loading: r(o).export.loading,
|
|
2965
2965
|
size: e.option.size?.search,
|
|
@@ -2974,7 +2974,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
2974
2974
|
], 64)) : V("", !0),
|
|
2975
2975
|
S(u.$slots, "tools-left")
|
|
2976
2976
|
]),
|
|
2977
|
-
R("div",
|
|
2977
|
+
R("div", Wo, [
|
|
2978
2978
|
S(u.$slots, "tools-right"),
|
|
2979
2979
|
r(o).page.showTools ? (g(), b(r(Re), x({
|
|
2980
2980
|
key: 0,
|
|
@@ -3003,7 +3003,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3003
3003
|
onClick: d[6] || (d[6] = //@ts-ignore
|
|
3004
3004
|
(...m) => r(o).table.header.group.toggleExpandAll && r(o).table.header.group.toggleExpandAll(...m))
|
|
3005
3005
|
}, [
|
|
3006
|
-
r(o).table.header.group.expand ? (g(), b(
|
|
3006
|
+
r(o).table.header.group.expand ? (g(), b(ro, { key: 0 })) : (g(), b(fo, { key: 1 }))
|
|
3007
3007
|
], 2)
|
|
3008
3008
|
]),
|
|
3009
3009
|
_: 1
|
|
@@ -3014,7 +3014,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3014
3014
|
onClick: d[7] || (d[7] = //@ts-ignore
|
|
3015
3015
|
(...m) => r(o).table.getList && r(o).table.getList(...m))
|
|
3016
3016
|
}, [
|
|
3017
|
-
F(
|
|
3017
|
+
F(yo)
|
|
3018
3018
|
], 2)) : V("", !0)
|
|
3019
3019
|
])
|
|
3020
3020
|
]),
|
|
@@ -3024,7 +3024,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3024
3024
|
R("div", {
|
|
3025
3025
|
class: J(["column form-box-content", [e.option.table?.fitHeight ? "absolute fit" : ""]])
|
|
3026
3026
|
}, [
|
|
3027
|
-
|
|
3027
|
+
wt((g(), b(r(yt), x({
|
|
3028
3028
|
ref_key: "tableRef",
|
|
3029
3029
|
ref: c,
|
|
3030
3030
|
data: r(o).table.data,
|
|
@@ -3054,12 +3054,12 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3054
3054
|
"show-overflow-tooltip": !1,
|
|
3055
3055
|
className: "cc1-form-index-column"
|
|
3056
3056
|
}, typeof e.option.table?.index == "object" ? e.option.table?.index : {}, E(typeof e.option.table?.index == "object" ? e.option.table?.index?.on || {} : {})), null, 16)) : V("", !0),
|
|
3057
|
-
F(
|
|
3057
|
+
F(To, {
|
|
3058
3058
|
conf: r(o),
|
|
3059
3059
|
columnList: r(o).table.column.list,
|
|
3060
3060
|
option: e.option
|
|
3061
3061
|
}, Y({ _: 2 }, [
|
|
3062
|
-
|
|
3062
|
+
N(u.$slots, (m, w) => ({
|
|
3063
3063
|
name: w,
|
|
3064
3064
|
fn: p((D) => [
|
|
3065
3065
|
S(u.$slots, w, $e(ze(D || {})))
|
|
@@ -3086,7 +3086,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3086
3086
|
default: p(() => [
|
|
3087
3087
|
S(u.$slots, "table-op-left", { row: m }),
|
|
3088
3088
|
r(o).update.type === r(n).Update && e.option.table?.inlineEdit && r(o).update.form[a.option.table?.rowKey] === m[a.option.table?.rowKey] ? (g(), v(B, { key: 0 }, [
|
|
3089
|
-
F(r(
|
|
3089
|
+
F(r(G), {
|
|
3090
3090
|
link: "",
|
|
3091
3091
|
type: "info",
|
|
3092
3092
|
onClick: r(o).update.close
|
|
@@ -3096,7 +3096,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3096
3096
|
]),
|
|
3097
3097
|
_: 1
|
|
3098
3098
|
}, 8, ["onClick"]),
|
|
3099
|
-
F(r(
|
|
3099
|
+
F(r(G), {
|
|
3100
3100
|
link: "",
|
|
3101
3101
|
type: "primary",
|
|
3102
3102
|
onClick: r(o).update.submit,
|
|
@@ -3109,7 +3109,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3109
3109
|
}, 8, ["onClick", "loading"]),
|
|
3110
3110
|
S(u.$slots, "table-op-edit-right", { row: m })
|
|
3111
3111
|
], 64)) : (g(), v(B, { key: 1 }, [
|
|
3112
|
-
r(s)(e.option.table?.add, m) ? (g(), b(r(
|
|
3112
|
+
r(s)(e.option.table?.add, m) ? (g(), b(r(G), {
|
|
3113
3113
|
key: 0,
|
|
3114
3114
|
link: "",
|
|
3115
3115
|
type: "primary",
|
|
@@ -3120,7 +3120,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3120
3120
|
]),
|
|
3121
3121
|
_: 1
|
|
3122
3122
|
}, 8, ["onClick"])) : V("", !0),
|
|
3123
|
-
r(s)(e.option.table?.view, m) ? (g(), b(r(
|
|
3123
|
+
r(s)(e.option.table?.view, m) ? (g(), b(r(G), {
|
|
3124
3124
|
key: 1,
|
|
3125
3125
|
link: "",
|
|
3126
3126
|
type: "primary",
|
|
@@ -3131,7 +3131,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3131
3131
|
]),
|
|
3132
3132
|
_: 1
|
|
3133
3133
|
}, 8, ["onClick"])) : V("", !0),
|
|
3134
|
-
r(s)(e.option.table?.update, m) ? (g(), b(r(
|
|
3134
|
+
r(s)(e.option.table?.update, m) ? (g(), b(r(G), {
|
|
3135
3135
|
key: 2,
|
|
3136
3136
|
link: "",
|
|
3137
3137
|
type: "warning",
|
|
@@ -3142,7 +3142,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3142
3142
|
]),
|
|
3143
3143
|
_: 1
|
|
3144
3144
|
}, 8, ["onClick"])) : V("", !0),
|
|
3145
|
-
r(s)(e.option.table?.delete, m) ? (g(), b(r(
|
|
3145
|
+
r(s)(e.option.table?.delete, m) ? (g(), b(r(G), {
|
|
3146
3146
|
key: 3,
|
|
3147
3147
|
link: "",
|
|
3148
3148
|
type: "danger",
|
|
@@ -3168,7 +3168,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3168
3168
|
])
|
|
3169
3169
|
], 2)
|
|
3170
3170
|
], 2),
|
|
3171
|
-
R("div",
|
|
3171
|
+
R("div", Jo, [
|
|
3172
3172
|
(e.option.page?.show === void 0 || e.option.page?.show) && !r(o).page.showTools ? (g(), b(r(Re), x({
|
|
3173
3173
|
key: 0,
|
|
3174
3174
|
"current-page": r(o).page.num,
|
|
@@ -3195,7 +3195,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3195
3195
|
"before-close": r(o).update.close
|
|
3196
3196
|
}, e.option.dialog), {
|
|
3197
3197
|
footer: p(() => [
|
|
3198
|
-
R("span",
|
|
3198
|
+
R("span", qo, [
|
|
3199
3199
|
F(r(oe), {
|
|
3200
3200
|
size: e.option.size?.form
|
|
3201
3201
|
}, {
|
|
@@ -3203,7 +3203,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3203
3203
|
S(u.$slots, "dialog-footer", {
|
|
3204
3204
|
row: r(o).update
|
|
3205
3205
|
}, () => [
|
|
3206
|
-
F(r(
|
|
3206
|
+
F(r(G), {
|
|
3207
3207
|
onClick: r(o).update.close
|
|
3208
3208
|
}, {
|
|
3209
3209
|
default: p(() => [
|
|
@@ -3211,7 +3211,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3211
3211
|
]),
|
|
3212
3212
|
_: 1
|
|
3213
3213
|
}, 8, ["onClick"]),
|
|
3214
|
-
r(o).update.type !== r(n).View ? (g(), b(r(
|
|
3214
|
+
r(o).update.type !== r(n).View ? (g(), b(r(G), {
|
|
3215
3215
|
key: 0,
|
|
3216
3216
|
type: "primary",
|
|
3217
3217
|
onClick: r(o).update.submit,
|
|
@@ -3241,7 +3241,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3241
3241
|
class: "update-dialog-form"
|
|
3242
3242
|
}, {
|
|
3243
3243
|
default: p(() => [
|
|
3244
|
-
r(o).update.showContent ? (g(), b(
|
|
3244
|
+
r(o).update.showContent ? (g(), b(at, {
|
|
3245
3245
|
key: 0,
|
|
3246
3246
|
"form-grid": r(o).update.formGrid,
|
|
3247
3247
|
"max-span": r(o).update.formMaxSpan,
|
|
@@ -3254,7 +3254,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3254
3254
|
"get-on": r(o).update.getOn,
|
|
3255
3255
|
"get-disabled": r(o).update.getDisabled
|
|
3256
3256
|
}, Y({ _: 2 }, [
|
|
3257
|
-
|
|
3257
|
+
N(u.$slots, (m, w) => ({
|
|
3258
3258
|
name: w,
|
|
3259
3259
|
fn: p((D) => [
|
|
3260
3260
|
S(u.$slots, w, $e(ze(D || {})))
|
|
@@ -3277,12 +3277,12 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3277
3277
|
"close-on-click-modal": !1
|
|
3278
3278
|
}, {
|
|
3279
3279
|
footer: p(() => [
|
|
3280
|
-
R("span",
|
|
3280
|
+
R("span", Yo, [
|
|
3281
3281
|
F(r(oe), {
|
|
3282
3282
|
size: e.option.size?.form
|
|
3283
3283
|
}, {
|
|
3284
3284
|
default: p(() => [
|
|
3285
|
-
F(r(
|
|
3285
|
+
F(r(G), {
|
|
3286
3286
|
onClick: r(o).remove.close
|
|
3287
3287
|
}, {
|
|
3288
3288
|
default: p(() => [
|
|
@@ -3290,7 +3290,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3290
3290
|
]),
|
|
3291
3291
|
_: 1
|
|
3292
3292
|
}, 8, ["onClick"]),
|
|
3293
|
-
F(r(
|
|
3293
|
+
F(r(G), {
|
|
3294
3294
|
type: "danger",
|
|
3295
3295
|
onClick: r(o).remove.submit,
|
|
3296
3296
|
loading: r(o).remove.loading
|
|
@@ -3306,16 +3306,16 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3306
3306
|
])
|
|
3307
3307
|
]),
|
|
3308
3308
|
default: p(() => [
|
|
3309
|
-
e.option.dialog?.delete?.content ? (g(), v("div",
|
|
3310
|
-
F(
|
|
3309
|
+
e.option.dialog?.delete?.content ? (g(), v("div", Qo, [
|
|
3310
|
+
F(ao, {
|
|
3311
3311
|
content: e.option.dialog?.delete?.content,
|
|
3312
3312
|
value: r(o).remove.items
|
|
3313
3313
|
}, null, 8, ["content", "value"])
|
|
3314
|
-
])) : (g(), v("div",
|
|
3314
|
+
])) : (g(), v("div", Xo, U(r(C).tCurd("confirmDeleteMessage", r(o).remove.items.length)), 1))
|
|
3315
3315
|
]),
|
|
3316
3316
|
_: 1
|
|
3317
3317
|
}, 8, ["modelValue", "title"]),
|
|
3318
|
-
F(
|
|
3318
|
+
F(to, {
|
|
3319
3319
|
ref_key: "switchConfirmRef",
|
|
3320
3320
|
ref: l,
|
|
3321
3321
|
size: e.option.size?.form
|
|
@@ -3324,7 +3324,7 @@ const $o = /* @__PURE__ */ se(Vo, [["render", Eo]]), zo = { class: "row flex-cen
|
|
|
3324
3324
|
};
|
|
3325
3325
|
}
|
|
3326
3326
|
});
|
|
3327
|
-
class
|
|
3327
|
+
class na {
|
|
3328
3328
|
/**
|
|
3329
3329
|
* 通过远程 URL 下载文件,自动创建临时 `<a>` 标签触发浏览器下载
|
|
3330
3330
|
*
|
|
@@ -3369,26 +3369,26 @@ class aa {
|
|
|
3369
3369
|
}, document.body.appendChild(s), s.click();
|
|
3370
3370
|
});
|
|
3371
3371
|
}
|
|
3372
|
-
const
|
|
3373
|
-
if (e.component("TCurd",
|
|
3372
|
+
const _o = (e, t) => {
|
|
3373
|
+
if (e.component("TCurd", Zo), e.component("TFormList", Ge), e.component("TColumn", Pt), t?.customComponent) {
|
|
3374
3374
|
W.customComponent = t.customComponent;
|
|
3375
3375
|
for (const n in t.customComponent)
|
|
3376
3376
|
e.component(n, t.customComponent[n]);
|
|
3377
3377
|
}
|
|
3378
|
-
},
|
|
3379
|
-
install:
|
|
3378
|
+
}, la = {
|
|
3379
|
+
install: _o
|
|
3380
3380
|
};
|
|
3381
3381
|
export {
|
|
3382
3382
|
Q as ArrUtil,
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3383
|
+
Qt as ExcelUtil,
|
|
3384
|
+
Pt as TColumn,
|
|
3385
|
+
Zo as TCurd,
|
|
3386
|
+
na as TFile,
|
|
3387
3387
|
W as TForm,
|
|
3388
3388
|
L as TFormConfig,
|
|
3389
3389
|
C as TFormI18n,
|
|
3390
|
-
|
|
3390
|
+
Ge as TFormList,
|
|
3391
3391
|
$ as TSys,
|
|
3392
|
-
|
|
3393
|
-
|
|
3392
|
+
la as default,
|
|
3393
|
+
_o as install
|
|
3394
3394
|
};
|