cc1-form 1.4.4 → 1.4.5

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 CHANGED
@@ -1,6 +1,6 @@
1
- import { ElMessage as lt, ElLoading as rt, ElFormItem as ge, ElInput as ue, ElInputNumber as it, ElSwitch as be, ElSelect as fe, ElOption as ne, ElRadioGroup as Le, ElRadioButton as Te, ElRadio as je, ElCheckboxGroup as st, ElCheckboxButton as dt, ElCheckbox as ut, ElColorPicker as ft, ElSlider as ct, ElTreeSelect as pt, ElDatePicker as Pe, ElForm as oe, ElDialog as $e, ElButton as L, ElTableColumn as de, ElDropdown as mt, ElDropdownMenu as bt, ElDropdownItem as ze, ElPagination as Ue, ElTable as gt } from "element-plus";
1
+ import { ElMessage as lt, ElLoading as rt, ElFormItem as ge, ElInput as ue, ElInputNumber as it, ElSwitch as be, ElSelect as fe, ElOption as ne, ElRadioGroup as Te, ElRadioButton as je, ElRadio as Pe, ElCheckboxGroup as st, ElCheckboxButton as dt, ElCheckbox as ut, ElColorPicker as ft, ElSlider as ct, ElTreeSelect as pt, ElDatePicker as Ke, ElTooltip as mt, ElForm as oe, ElDialog as $e, ElButton as L, ElTableColumn as de, ElDropdown as bt, ElDropdownMenu as gt, ElDropdownItem as ze, ElPagination as Ae, ElTable as ht } from "element-plus";
2
2
  import "vue-router";
3
- import { defineComponent as Q, reactive as ie, onMounted as Ke, resolveComponent as ce, openBlock as b, createElementBlock as v, renderSlot as $, createVNode as O, withCtx as y, createTextVNode as M, createCommentVNode as S, Fragment as A, renderList as I, createBlock as h, normalizeClass as J, normalizeStyle as he, ref as Y, watch as He, nextTick as ve, unref as i, createElementVNode as R, mergeProps as V, toHandlers as z, createSlots as Z, toDisplayString as F, resolveDynamicComponent as ee, computed as ae, onUnmounted as Ne, normalizeProps as Me, guardReactiveProps as Oe, getCurrentInstance as Ie, onBeforeUnmount as ht, withModifiers as yt, resolveDirective as wt, withDirectives as kt } from "vue";
3
+ import { defineComponent as Q, reactive as ie, onMounted as He, resolveComponent as ce, openBlock as b, createElementBlock as v, renderSlot as $, createVNode as O, withCtx as y, createTextVNode as M, createCommentVNode as S, Fragment as A, renderList as I, createBlock as h, normalizeClass as J, normalizeStyle as he, createElementVNode as F, ref as Y, watch as Ne, nextTick as ve, unref as i, mergeProps as V, toHandlers as z, createSlots as Z, toDisplayString as R, resolveDynamicComponent as ee, computed as ae, onUnmounted as Ie, normalizeProps as Me, guardReactiveProps as Oe, getCurrentInstance as Ge, onBeforeUnmount as yt, withModifiers as wt, resolveDirective as kt, withDirectives as vt } from "vue";
4
4
  import { Scope as Fe } from "cc1-vue3";
5
5
  class E {
6
6
  /**
@@ -671,14 +671,14 @@ class X {
671
671
  }), r;
672
672
  };
673
673
  }
674
- const vt = {
674
+ const Ct = {
675
675
  key: 0,
676
676
  class: "column curd-form-com-list",
677
677
  style: { width: "100%", gap: "10px" }
678
- }, Ct = { key: 0 }, Vt = {
678
+ }, Vt = { key: 0 }, St = {
679
679
  class: "row items-center",
680
680
  style: { gap: "10px", width: "100%" }
681
- }, St = { key: 1 }, Ge = /* @__PURE__ */ Q({
681
+ }, Et = { key: 1 }, We = /* @__PURE__ */ Q({
682
682
  __name: "list",
683
683
  props: {
684
684
  row: {
@@ -730,15 +730,15 @@ const vt = {
730
730
  });
731
731
  }
732
732
  });
733
- Ke(() => {
733
+ He(() => {
734
734
  X.setId(s.field, s.row, s.itemFields), r.show = !0;
735
735
  });
736
736
  const t = o;
737
737
  return (e, l) => {
738
738
  const n = ce("el-button"), u = ce("el-input");
739
- return r.show ? (b(), v("div", vt, [
739
+ return r.show ? (b(), v("div", Ct, [
740
740
  $(e.$slots, "list-start", { row: a.row }),
741
- a.addBottom ? S("", !0) : (b(), v("div", Ct, [
741
+ a.addBottom ? S("", !0) : (b(), v("div", Vt, [
742
742
  O(n, {
743
743
  link: "",
744
744
  type: "primary",
@@ -750,7 +750,7 @@ const vt = {
750
750
  _: 1
751
751
  })
752
752
  ])),
753
- (b(!0), v(A, null, I(a.row[a.field], (f) => (b(), v("div", Vt, [
753
+ (b(!0), v(A, null, I(a.row[a.field], (f) => (b(), v("div", St, [
754
754
  $(e.$slots, "item-start", {
755
755
  item: f,
756
756
  row: a.row
@@ -778,7 +778,7 @@ const vt = {
778
778
  _: 2
779
779
  }, 1032, ["onClick"])
780
780
  ]))), 256)),
781
- a.addBottom ? (b(), v("div", St, [
781
+ a.addBottom ? (b(), v("div", Et, [
782
782
  O(n, {
783
783
  link: "",
784
784
  type: "primary",
@@ -794,10 +794,28 @@ const vt = {
794
794
  ])) : S("", !0);
795
795
  };
796
796
  }
797
- }), Et = {
797
+ }), se = (a, o) => {
798
+ const s = a.__vccOpts || a;
799
+ for (const [r, t] of o)
800
+ s[r] = t;
801
+ return s;
802
+ }, zt = {}, $t = {
803
+ "data-v-58697b5c": "",
804
+ xmlns: "http://www.w3.org/2000/svg",
805
+ viewBox: "0 0 1024 1024"
806
+ };
807
+ function Mt(a, o) {
808
+ return b(), v("svg", $t, o[0] || (o[0] = [
809
+ F("path", {
810
+ fill: "currentColor",
811
+ 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"
812
+ }, null, -1)
813
+ ]));
814
+ }
815
+ const De = /* @__PURE__ */ se(zt, [["render", Mt]]), Ot = { class: "form-item-label-tooltip" }, Ft = ["innerHTML"], Rt = {
798
816
  class: "row form-item-content",
799
817
  style: { width: "100%" }
800
- }, zt = { class: "col column form-item-content-item" }, $t = { class: "col" }, Mt = ["innerHTML"], Ot = /* @__PURE__ */ Q({
818
+ }, Dt = { class: "col column form-item-content-item" }, Ut = { class: "col" }, At = ["innerHTML"], Bt = /* @__PURE__ */ Q({
801
819
  __name: "field",
802
820
  props: {
803
821
  item: {},
@@ -815,7 +833,7 @@ const vt = {
815
833
  }, t = () => {
816
834
  r() === "error" && s.value?.clearValidate?.();
817
835
  };
818
- return He(
836
+ return Ne(
819
837
  () => o.form?.[o.item.key],
820
838
  () => {
821
839
  t(), ve(() => t());
@@ -824,18 +842,37 @@ const vt = {
824
842
  ), (e, l) => (b(), h(i(ge), {
825
843
  ref_key: "formItemRef",
826
844
  ref: s,
827
- label: e.item.text?.form?.label ?? e.item.label,
828
845
  prop: e.item.key,
829
846
  "label-width": e.item.text?.form?.label == "" ? 0 : e.item.form?.labelWidth || e.labelWidth
830
847
  }, {
848
+ label: y(() => [
849
+ e.item.text?.form?.tip ?? e.item.tip ? (b(), h(i(mt), {
850
+ key: 0,
851
+ effect: "dark",
852
+ placement: "top"
853
+ }, {
854
+ content: y(() => [
855
+ F("div", {
856
+ innerHTML: e.item.text?.form?.tip ?? e.item.tip
857
+ }, null, 8, Ft)
858
+ ]),
859
+ default: y(() => [
860
+ F("span", Ot, [
861
+ O(De)
862
+ ])
863
+ ]),
864
+ _: 1
865
+ })) : S("", !0),
866
+ M(" " + R(e.item.text?.form?.label ?? e.item.label), 1)
867
+ ]),
831
868
  default: y(() => [
832
- R("div", Et, [
869
+ F("div", Rt, [
833
870
  $(e.$slots, "form-" + e.item.key + "-start", {
834
871
  row: e.form,
835
872
  item: e.item
836
873
  }),
837
- R("div", zt, [
838
- R("div", $t, [
874
+ F("div", Dt, [
875
+ F("div", Ut, [
839
876
  $(e.$slots, "form-" + e.item.key, {
840
877
  row: e.form,
841
878
  item: e.item
@@ -850,7 +887,7 @@ const vt = {
850
887
  e.getBind(e.item).prepend ? {
851
888
  name: "prepend",
852
889
  fn: y(() => [
853
- M(F(typeof e.getBind(e.item).prepend == "function" ? e.getBind(e.item).prepend(e.form) : e.getBind(e.item).prepend), 1)
890
+ M(R(typeof e.getBind(e.item).prepend == "function" ? e.getBind(e.item).prepend(e.form) : e.getBind(e.item).prepend), 1)
854
891
  ]),
855
892
  key: "0"
856
893
  } : void 0
@@ -888,7 +925,7 @@ const vt = {
888
925
  }, n, z(n.on || {})), null, 16))), 128))
889
926
  ]),
890
927
  _: 1
891
- }, 16, ["modelValue", "disabled"])) : e.item.type === "radio" ? (b(), h(i(Le), V({
928
+ }, 16, ["modelValue", "disabled"])) : e.item.type === "radio" ? (b(), h(i(Te), V({
892
929
  key: 5,
893
930
  modelValue: e.form[e.item.key],
894
931
  "onUpdate:modelValue": l[5] || (l[5] = (n) => e.form[e.item.key] = n)
@@ -897,10 +934,10 @@ const vt = {
897
934
  style: { width: "100%" }
898
935
  }), {
899
936
  default: y(() => [
900
- e.getBind(e.item).type === "group" ? (b(!0), v(A, { key: 0 }, I(e.getBind(e.item).data || [], (n) => (b(), h(i(Te), V({
937
+ e.getBind(e.item).type === "group" ? (b(!0), v(A, { key: 0 }, I(e.getBind(e.item).data || [], (n) => (b(), h(i(je), V({
901
938
  key: n.value,
902
939
  ref_for: !0
903
- }, n, z(n.on || {})), null, 16))), 128)) : (b(!0), v(A, { key: 1 }, I(e.getBind(e.item).data || [], (n) => (b(), h(i(je), V({
940
+ }, n, z(n.on || {})), null, 16))), 128)) : (b(!0), v(A, { key: 1 }, I(e.getBind(e.item).data || [], (n) => (b(), h(i(Pe), V({
904
941
  key: n.value,
905
942
  ref_for: !0
906
943
  }, n, z(n.on || {})), null, 16))), 128))
@@ -936,7 +973,7 @@ const vt = {
936
973
  "onUpdate:modelValue": l[8] || (l[8] = (n) => e.form[e.item.key] = n)
937
974
  }, e.getBind(e.item), z(e.getOn(e.item)), {
938
975
  disabled: e.getDisabled(e.item)
939
- }), null, 16, ["modelValue", "disabled"])) : e.item.type === "list" ? (b(), h(Ge, V({
976
+ }), null, 16, ["modelValue", "disabled"])) : e.item.type === "list" ? (b(), h(We, V({
940
977
  key: 9,
941
978
  row: e.form,
942
979
  field: e.item.key
@@ -950,7 +987,7 @@ const vt = {
950
987
  }, e.getBind(e.item), z(e.getOn(e.item)), {
951
988
  disabled: e.getDisabled(e.item),
952
989
  style: { width: "100%" }
953
- }), null, 16, ["modelValue", "disabled"])) : e.item.type === "datetime" ? (b(), h(i(Pe), V({
990
+ }), null, 16, ["modelValue", "disabled"])) : e.item.type === "datetime" ? (b(), h(i(Ke), V({
954
991
  key: 11,
955
992
  modelValue: e.form[e.item.key],
956
993
  "onUpdate:modelValue": l[10] || (l[10] = (n) => e.form[e.item.key] = n)
@@ -983,7 +1020,7 @@ const vt = {
983
1020
  key: 0,
984
1021
  class: "form-tip-text",
985
1022
  innerHTML: typeof e.item.form?.tipText == "function" ? e.item.form?.tipText(e.form, e.type) : e.item.form?.tipText
986
- }, null, 8, Mt)) : S("", !0)
1023
+ }, null, 8, At)) : S("", !0)
987
1024
  ])
988
1025
  ]),
989
1026
  $(e.$slots, "form-" + e.item.key + "-end", {
@@ -993,10 +1030,10 @@ const vt = {
993
1030
  ])
994
1031
  ]),
995
1032
  _: 3
996
- }, 8, ["label", "prop", "label-width"]));
1033
+ }, 8, ["prop", "label-width"]));
997
1034
  }
998
1035
  });
999
- const Ft = {
1036
+ const Lt = {
1000
1037
  search: "搜索",
1001
1038
  add: "新增",
1002
1039
  edit: "编辑",
@@ -1055,7 +1092,7 @@ class C {
1055
1092
  return this.t(this.curd[o], ...s);
1056
1093
  }
1057
1094
  /** curd表单 */
1058
- static curd = Ft;
1095
+ static curd = Lt;
1059
1096
  }
1060
1097
  class x {
1061
1098
  /**
@@ -1109,11 +1146,11 @@ const ye = (a) => {
1109
1146
  error: o.error || ""
1110
1147
  });
1111
1148
  });
1112
- }, Rt = (a) => a ? typeof a == "string" ? a : a instanceof Error ? a.message : a.message || String(a) : "", we = (a) => !a || typeof a != "object" ? [] : Object.keys(a).flatMap((o) => (Array.isArray(a[o]) ? a[o] : [a[o]]).map((r) => ({
1149
+ }, Tt = (a) => a ? typeof a == "string" ? a : a instanceof Error ? a.message : a.message || String(a) : "", we = (a) => !a || typeof a != "object" ? [] : Object.keys(a).flatMap((o) => (Array.isArray(a[o]) ? a[o] : [a[o]]).map((r) => ({
1113
1150
  field: r?.field || o,
1114
- error: Rt(r)
1115
- }))), me = E.EDialog, le = (a) => typeof a.type == "object" ? "component" : a.type || "input", Dt = (a, o, s) => {
1116
- const r = ye(() => o.form), t = (l) => De(l.update.formGrid || [], l.update.form, l.update.type, l.update.formMaxSpan).map((u) => u.item.key).filter(Boolean), e = async (l) => {
1151
+ error: Tt(r)
1152
+ }))), me = E.EDialog, le = (a) => typeof a.type == "object" ? "component" : a.type || "input", jt = (a, o, s) => {
1153
+ const r = ye(() => o.form), t = (l) => Ue(l.update.formGrid || [], l.update.form, l.update.type, l.update.formMaxSpan).map((u) => u.item.key).filter(Boolean), e = async (l) => {
1117
1154
  const n = s.ruleFormRef.value;
1118
1155
  if (!n) return !0;
1119
1156
  await ve();
@@ -1144,20 +1181,20 @@ const ye = (a) => {
1144
1181
  formMaxSpan: 12,
1145
1182
  getDisabled: (l, n = !1) => {
1146
1183
  const u = a();
1147
- return o.option.table?.editMode && n ? l.disabled?.table === void 0 ? !1 : E.isFun(l.disabled?.table, u.update.form) : Je(l, u.update.type, u.update.form);
1184
+ return o.option.table?.editMode && n ? l.disabled?.table === void 0 ? !1 : E.isFun(l.disabled?.table, u.update.form) : Qe(l, u.update.type, u.update.form);
1148
1185
  },
1149
1186
  getBind: (l) => {
1150
1187
  const n = a();
1151
- return Qe(l, n.update.type);
1188
+ return Xe(l, n.update.type);
1152
1189
  },
1153
1190
  getOn: (l, n) => {
1154
1191
  const u = a();
1155
- return Xe(l, u.update.type, [n || u.update.form, l]);
1192
+ return Ye(l, u.update.type, [n || u.update.form, l]);
1156
1193
  },
1157
1194
  getOptions: (l) => {
1158
1195
  const n = a();
1159
1196
  try {
1160
- const f = Lt(n.update.formGrid?.length ? n.update.formGrid : n.update.formColumn).find((d) => d.item.key === l)?.item;
1197
+ const f = Nt(n.update.formGrid?.length ? n.update.formGrid : n.update.formColumn).find((d) => d.item.key === l)?.item;
1161
1198
  return f ? {
1162
1199
  options: f.options,
1163
1200
  //@ts-ignore
@@ -1254,18 +1291,18 @@ const ye = (a) => {
1254
1291
  };
1255
1292
  }, W = 12, ke = (a, o) => {
1256
1293
  a.isForm = o, Array.isArray(a.children) && a.children.forEach((s) => ke(s, o));
1257
- }, Ut = (a) => a.isForm === !1 ? !1 : typeof a.show?.form == "boolean" ? a.show.form : !0, We = (a) => a > W ? Math.floor(a / 2) : a, At = (a, o, s) => (a.form = a.form || { span: o }, s === "column" ? a.form.span = a.form.span ?? 12 : a.form.span = a.form.span ?? o, a.form.span = We(a.form.span), a.form.span), qe = (a) => {
1294
+ }, Pt = (a) => a.isForm === !1 ? !1 : typeof a.show?.form == "boolean" ? a.show.form : !0, qe = (a) => a > W ? Math.floor(a / 2) : a, Kt = (a, o, s) => (a.form = a.form || { span: o }, s === "column" ? a.form.span = a.form.span ?? 12 : a.form.span = a.form.span ?? o, a.form.span = qe(a.form.span), a.form.span), Je = (a) => {
1258
1295
  const o = a.form;
1259
- return o?.row != null && o.row > 0 ? We(o.row) : W;
1260
- }, re = (a) => Math.floor((a.gridRow - 1) / W), Je = (a, o, s) => {
1296
+ return o?.row != null && o.row > 0 ? qe(o.row) : W;
1297
+ }, re = (a) => Math.floor((a.gridRow - 1) / W), Qe = (a, o, s) => {
1261
1298
  if (o === E.EDialog.View)
1262
1299
  return a.disabled?.view === void 0 ? !0 : E.isFun(a.disabled?.view, s);
1263
1300
  const r = a.disabled?.[o === E.EDialog.Add ? "create" : "update"];
1264
1301
  return E.isFun(r, s);
1265
- }, Qe = (a, o) => {
1302
+ }, Xe = (a, o) => {
1266
1303
  const s = le(a);
1267
1304
  return a.options?.[o === E.EDialog.Add ? "formAdd" : "formUpdate"]?.[s] || a.options?.[s] || {};
1268
- }, Xe = (a, o, s = []) => {
1305
+ }, Ye = (a, o, s = []) => {
1269
1306
  const r = le(a), e = a.options?.[o === E.EDialog.Add ? "formAdd" : "formUpdate"]?.[r]?.on || a.options?.[r]?.on || {}, l = {};
1270
1307
  return Object.keys(e).forEach((n) => {
1271
1308
  const u = e[n];
@@ -1273,13 +1310,13 @@ const ye = (a) => {
1273
1310
  return u.apply(this, [...f, ...s]);
1274
1311
  } : l[n] = u;
1275
1312
  }), l;
1276
- }, Ye = (a, o, s, r, t) => {
1313
+ }, Ze = (a, o, s, r, t) => {
1277
1314
  const e = a, l = e.colSpan ?? a.span;
1278
1315
  if (!a.item.form?.spanCol)
1279
1316
  return l;
1280
1317
  const n = t?.maxSpan || 12, u = t?.defaultSpan || n / 2, f = e.gridBand, m = o.filter((c) => f != null ? c.gridBand === f && !E.isFun(c.item.show?.form, s, r) : c.gridRow === e.gridRow && !E.isFun(c.item.show?.form, s, r)).reduce((c, p) => c + (p.colSpan ?? p.span ?? u), 0);
1281
1318
  return l + m;
1282
- }, Bt = (a, o) => {
1319
+ }, Ht = (a, o) => {
1283
1320
  const s = (r, t) => {
1284
1321
  const e = r.gridRow, l = r.gridRow + r.rowSpan - 1, n = t.gridRow, u = t.gridRow + t.rowSpan - 1;
1285
1322
  return e <= u && n <= l;
@@ -1290,7 +1327,7 @@ const ye = (a) => {
1290
1327
  colSpan: o,
1291
1328
  gridColumn: 1
1292
1329
  });
1293
- }, Ze = (a, o, s = {}) => {
1330
+ }, xe = (a, o, s = {}) => {
1294
1331
  const r = /* @__PURE__ */ new Set(), t = [];
1295
1332
  let e = 0, l = 0;
1296
1333
  const n = (p) => Math.floor(p / W) * W, u = (p, w) => `${p},${w}`, f = (p, w, U, K) => {
@@ -1327,7 +1364,7 @@ const ye = (a) => {
1327
1364
  l = 0, e = T + W;
1328
1365
  };
1329
1366
  return a.forEach((p) => {
1330
- const w = p.colSpan ?? (p.span === 0 ? o : p.span), U = p.rowSpan ?? qe(p.item);
1367
+ const w = p.colSpan ?? (p.span === 0 ? o : p.span), U = p.rowSpan ?? Je(p.item);
1331
1368
  p.item.form?.rowBreak && t.length && (l = 0, e = n(e) + W);
1332
1369
  let { tr: K, tc: T } = f(e, l, w, U) ? { tr: e, tc: l } : m(e, l, w, U);
1333
1370
  f(K, T, w, U) || ({ tr: K, tc: T } = m(0, 0, w, U)), d(K, T, w, U);
@@ -1341,8 +1378,8 @@ const ye = (a) => {
1341
1378
  gridColumn: T + 1,
1342
1379
  gridBand: re({ gridRow: j })
1343
1380
  }), c(K, T, w, U);
1344
- }), s.fillSingleRows ? Bt(t, o) : t;
1345
- }, De = (a, o, s, r = W) => {
1381
+ }), s.fillSingleRows ? Ht(t, o) : t;
1382
+ }, Ue = (a, o, s, r = W) => {
1346
1383
  const t = a.filter((n) => E.isFun(n.item.show?.form, o, s)), e = /* @__PURE__ */ new Map();
1347
1384
  a.forEach((n) => {
1348
1385
  const f = `${n.gridBand ?? re(n)}:${n.gridColumn}:${n.colSpan}`;
@@ -1359,36 +1396,36 @@ const ye = (a) => {
1359
1396
  ...m,
1360
1397
  rowSpan: W
1361
1398
  });
1362
- }), Ze(t.map((n) => l.get(n.item.key) || n), r, {
1399
+ }), xe(t.map((n) => l.get(n.item.key) || n), r, {
1363
1400
  fillSingleRows: !0
1364
1401
  });
1365
- }, xe = (a) => {
1402
+ }, _e = (a) => {
1366
1403
  const o = /* @__PURE__ */ new Map();
1367
1404
  return a.forEach((s) => {
1368
1405
  const r = s.gridBand ?? re(s);
1369
1406
  o.has(r) || o.set(r, []), o.get(r).push(s);
1370
1407
  }), Array.from(o.keys()).sort((s, r) => s - r).map((s) => o.get(s));
1371
- }, Lt = (a) => a?.length ? Array.isArray(a[0]) ? a.flat() : a : [], Tt = (a, o) => {
1372
- if (!Ut(a) || !a.key) return null;
1373
- const s = o.defaultSpan ?? (o.maxSpan || 12) / 2, r = At(a, s, o.layout);
1408
+ }, Nt = (a) => a?.length ? Array.isArray(a[0]) ? a.flat() : a : [], It = (a, o) => {
1409
+ if (!Pt(a) || !a.key) return null;
1410
+ const s = o.defaultSpan ?? (o.maxSpan || 12) / 2, r = Kt(a, s, o.layout);
1374
1411
  return { item: a, span: r };
1375
- }, jt = (a, o = {}) => {
1412
+ }, Gt = (a, o = {}) => {
1376
1413
  const s = [], r = (t) => {
1377
1414
  if (t.children?.length) {
1378
1415
  t.children.forEach((l) => r(l));
1379
1416
  return;
1380
1417
  }
1381
- const e = Tt(t, o);
1418
+ const e = It(t, o);
1382
1419
  e && s.push(e);
1383
1420
  };
1384
1421
  return a.forEach((t) => r(t)), s;
1385
- }, _e = (a, o = {}) => {
1386
- const s = o.maxSpan ?? 12, r = o.defaultSpan ?? s / 2, t = o.layout ?? "row", l = jt(a, { maxSpan: s, defaultSpan: r, layout: t });
1422
+ }, et = (a, o = {}) => {
1423
+ const s = o.maxSpan ?? 12, r = o.defaultSpan ?? s / 2, t = o.layout ?? "row", l = Gt(a, { maxSpan: s, defaultSpan: r, layout: t });
1387
1424
  if (t === "column") {
1388
1425
  const n = [];
1389
1426
  let u = 1;
1390
1427
  return l.forEach((f) => {
1391
- const d = qe(f.item), m = s;
1428
+ const d = Je(f.item), m = s;
1392
1429
  n.push({
1393
1430
  ...f,
1394
1431
  span: m,
@@ -1400,8 +1437,8 @@ const ye = (a) => {
1400
1437
  }), u += d;
1401
1438
  }), { cells: n, maxSpan: s };
1402
1439
  }
1403
- return { cells: Ze(l, s), maxSpan: s };
1404
- }, Pt = (a) => a.map((o) => o.item?.show?.form), Kt = (a, o, s) => {
1440
+ return { cells: xe(l, s), maxSpan: s };
1441
+ }, Wt = (a) => a.map((o) => o.item?.show?.form), qt = (a, o, s) => {
1405
1442
  if (!a.rules) return;
1406
1443
  const r = {
1407
1444
  required: !0,
@@ -1411,10 +1448,10 @@ const ye = (a) => {
1411
1448
  (l || t === "checkbox" || n) && (r.type = "array", r.min = l ? 2 : 1);
1412
1449
  const u = typeof a.rules == "boolean" ? [r] : a.rules;
1413
1450
  return s ? u.map((f) => s(f)) : u;
1414
- }, Ae = (a) => typeof a == "function" ? a() : a, et = (a) => (o, s) => Kt(o, a, (r) => {
1451
+ }, Be = (a) => typeof a == "function" ? a() : a, tt = (a) => (o, s) => qt(o, a, (r) => {
1415
1452
  const t = (e, l) => {
1416
1453
  if (l && Object.prototype.hasOwnProperty.call(l, o.key) && l[o.key] !== void 0) return l[o.key];
1417
- const n = Ae(s);
1454
+ const n = Be(s);
1418
1455
  return n && Object.prototype.hasOwnProperty.call(n, o.key) ? n[o.key] : e;
1419
1456
  };
1420
1457
  if (r.validator) {
@@ -1422,22 +1459,22 @@ const ye = (a) => {
1422
1459
  return {
1423
1460
  ...r,
1424
1461
  validator: (l, n, u, f) => {
1425
- const d = Ae(s);
1462
+ const d = Be(s);
1426
1463
  return e(l, t(n, f), u, d || f);
1427
1464
  }
1428
1465
  };
1429
1466
  }
1430
1467
  return r;
1431
- }), tt = (a, o) => {
1468
+ }), ot = (a, o) => {
1432
1469
  const s = {
1433
1470
  input: C.tCurd("placeholderInput"),
1434
1471
  select: C.tCurd("placeholderSelect")
1435
1472
  }, r = (s[le(a) || "input"] || s.input) + a.label;
1436
1473
  return (o || q.error.callback)?.(a.key, a) || r;
1437
- }, ot = (a) => et((o) => tt(o, a?.error)), Ht = (a, o, s) => {
1438
- const r = {}, t = {}, e = o?.maxSpan || 12, l = o?.defaultSpan || e / 2, n = ot(o);
1474
+ }, at = (a) => tt((o) => ot(o, a?.error)), Jt = (a, o, s) => {
1475
+ const r = {}, t = {}, e = o?.maxSpan || 12, l = o?.defaultSpan || e / 2, n = at(o);
1439
1476
  a.forEach((d) => ke(d, !0)), Re(a, r, t, (d) => n(d, s));
1440
- const { cells: u, maxSpan: f } = _e(a, {
1477
+ const { cells: u, maxSpan: f } = et(a, {
1441
1478
  maxSpan: e,
1442
1479
  defaultSpan: l,
1443
1480
  layout: o?.layout
@@ -1447,7 +1484,7 @@ const ye = (a) => {
1447
1484
  rules: t,
1448
1485
  formGrid: u,
1449
1486
  formMaxSpan: f,
1450
- formColumn: xe(u)
1487
+ formColumn: _e(u)
1451
1488
  };
1452
1489
  }, Re = (a, o, s, r) => {
1453
1490
  const t = (e) => {
@@ -1462,7 +1499,7 @@ const ye = (a) => {
1462
1499
  }
1463
1500
  };
1464
1501
  a.forEach(t);
1465
- }, Nt = { class: "curd-form-cell-inner" }, at = /* @__PURE__ */ Q({
1502
+ }, Qt = { class: "curd-form-cell-inner" }, nt = /* @__PURE__ */ Q({
1466
1503
  __name: "layout",
1467
1504
  props: {
1468
1505
  formGrid: {},
@@ -1477,7 +1514,7 @@ const ye = (a) => {
1477
1514
  getDisabled: { type: Function }
1478
1515
  },
1479
1516
  setup(a) {
1480
- const o = E.isFun, s = a, r = ae(() => De(s.formGrid, s.form, s.type, s.maxSpan)), t = ae(() => {
1517
+ const o = E.isFun, s = a, r = ae(() => Ue(s.formGrid, s.form, s.type, s.maxSpan)), t = ae(() => {
1481
1518
  const c = Array.from(
1482
1519
  new Set(
1483
1520
  r.value.map((p) => p.gridBand ?? re(p))
@@ -1495,7 +1532,7 @@ const ye = (a) => {
1495
1532
  }), n = (c) => c.gridRow + c.rowSpan - 1 >= l.value, u = (c) => c.rowSpan >= W, f = (c) => {
1496
1533
  const p = c.gridBand ?? re(c);
1497
1534
  return t.value.get(p) ?? p;
1498
- }, d = (c) => Ye(c, r.value, s.form, s.type, {
1535
+ }, d = (c) => Ze(c, r.value, s.form, s.type, {
1499
1536
  maxSpan: s.maxSpan,
1500
1537
  defaultSpan: s.formOption?.defaultSpan
1501
1538
  }), m = (c) => {
@@ -1505,9 +1542,9 @@ const ye = (a) => {
1505
1542
  gridColumn: `${c.gridColumn} / span ${p}`
1506
1543
  };
1507
1544
  };
1508
- return (c, p) => i(o)(i(Pt)(c.formGrid), c.form, c.type) ? (b(), v(A, { key: 0 }, [
1545
+ return (c, p) => i(o)(i(Wt)(c.formGrid), c.form, c.type) ? (b(), v(A, { key: 0 }, [
1509
1546
  $(c.$slots, "form-start", { row: c.form }),
1510
- R("div", {
1547
+ F("div", {
1511
1548
  class: J(["curd-form-grid", { stripe: c.stripe !== !1 }]),
1512
1549
  style: he(e.value)
1513
1550
  }, [
@@ -1522,8 +1559,8 @@ const ye = (a) => {
1522
1559
  ]]),
1523
1560
  style: he(m(w))
1524
1561
  }, [
1525
- R("div", Nt, [
1526
- i(o)(w.item.show?.form, c.form, c.type) ? (b(), h(Ot, {
1562
+ F("div", Qt, [
1563
+ i(o)(w.item.show?.form, c.form, c.type) ? (b(), h(Bt, {
1527
1564
  key: 0,
1528
1565
  class: J({ "is-row-span-field": u(w) }),
1529
1566
  item: w.item,
@@ -1547,7 +1584,7 @@ const ye = (a) => {
1547
1584
  $(c.$slots, "form-end", { row: c.form })
1548
1585
  ], 64)) : S("", !0);
1549
1586
  }
1550
- }), It = /* @__PURE__ */ Q({
1587
+ }), Xt = /* @__PURE__ */ Q({
1551
1588
  __name: "column",
1552
1589
  props: {
1553
1590
  option: {
@@ -1567,7 +1604,7 @@ const ye = (a) => {
1567
1604
  const s = E.EDialog, r = Y(), t = a;
1568
1605
  let e = ye(t.form);
1569
1606
  const l = Fe.getConf("curdConf"), n = "formRef-" + StrUtil.getId();
1570
- Ne(() => {
1607
+ Ie(() => {
1571
1608
  l?.formRef?.remove(n);
1572
1609
  });
1573
1610
  const u = ie({
@@ -1584,11 +1621,11 @@ const ye = (a) => {
1584
1621
  set form(f) {
1585
1622
  e.set(f);
1586
1623
  },
1587
- getDisabled: (f) => Je(f, u.type, u.form),
1588
- getBind: (f) => Qe(f, u.type),
1589
- getOn: (f) => Xe(f, u.type, [u.form, f]),
1624
+ getDisabled: (f) => Qe(f, u.type, u.form),
1625
+ getBind: (f) => Xe(f, u.type),
1626
+ getOn: (f) => Ye(f, u.type, [u.form, f]),
1590
1627
  initColumnForm: () => {
1591
- const f = e, d = Ht(t.option.column, t.option.form, () => f.get());
1628
+ const f = e, d = Jt(t.option.column, t.option.form, () => f.get());
1592
1629
  u.formDefault = d.formDefault, u.rules = d.rules, u.formGrid = d.formGrid, u.formMaxSpan = d.formMaxSpan, u.formColumn = d.formColumn, u.type === s.Add ? f.isExternal() ? f.merge(JSONUtil.cp(u.formDefault)) : f.set(JSONUtil.cp(u.formDefault)) : !f.isExternal() && t.form && f.set(JSONUtil.cp(t.form));
1593
1630
  }
1594
1631
  });
@@ -1598,7 +1635,7 @@ const ye = (a) => {
1598
1635
  if (!d)
1599
1636
  return f?.(!0), !0;
1600
1637
  await ve();
1601
- const m = De(u.formGrid || [], u.form, u.type, u.formMaxSpan).map((w) => w.item.key).filter(Boolean), c = Object.keys(u.rules || {}).filter((w) => !m.includes(w));
1638
+ const m = Ue(u.formGrid || [], u.form, u.type, u.formMaxSpan).map((w) => w.item.key).filter(Boolean), c = Object.keys(u.rules || {}).filter((w) => !m.includes(w));
1602
1639
  if (c.length && d.clearValidate(c), !m.length)
1603
1640
  return f?.(!0), !0;
1604
1641
  const p = await d.validateField(m, async (w, U) => {
@@ -1607,7 +1644,7 @@ const ye = (a) => {
1607
1644
  if (f?.(!!p), !p) throw !1;
1608
1645
  return !0;
1609
1646
  }
1610
- }), t.option.form?.initStart?.(u), u.initColumnForm(), t.option.form?.initEnd?.(u), He(
1647
+ }), t.option.form?.initStart?.(u), u.initColumnForm(), t.option.form?.initEnd?.(u), Ne(
1611
1648
  () => t.form,
1612
1649
  (f) => {
1613
1650
  e = ye(f), u.initColumnForm();
@@ -1619,7 +1656,7 @@ const ye = (a) => {
1619
1656
  rules: u.rules
1620
1657
  }, {
1621
1658
  default: y(() => [
1622
- u.show ? (b(), h(at, {
1659
+ u.show ? (b(), h(nt, {
1623
1660
  key: 0,
1624
1661
  "form-grid": u.formGrid,
1625
1662
  "max-span": u.formMaxSpan,
@@ -1643,8 +1680,8 @@ const ye = (a) => {
1643
1680
  _: 3
1644
1681
  }, 8, ["model", "rules"]));
1645
1682
  }
1646
- }), Gt = (a) => a?.value || a, Wt = (a) => {
1647
- const o = Gt(a);
1683
+ }), Yt = (a) => a?.value || a, Zt = (a) => {
1684
+ const o = Yt(a);
1648
1685
  return o?.validate ? new Promise((s, r) => {
1649
1686
  let t = !1;
1650
1687
  const e = (l, n) => {
@@ -1659,7 +1696,7 @@ const ye = (a) => {
1659
1696
  r(l);
1660
1697
  }
1661
1698
  }) : Promise.resolve(!0);
1662
- }, qt = () => {
1699
+ }, xt = () => {
1663
1700
  const a = ie({
1664
1701
  formRef: {
1665
1702
  map: {},
@@ -1671,7 +1708,7 @@ const ye = (a) => {
1671
1708
  },
1672
1709
  validate() {
1673
1710
  const o = Object.keys(a.formRef.map).map((s) => a.formRef.map[s]);
1674
- return Promise.all(o.map((s) => Wt(s))).then(() => !0);
1711
+ return Promise.all(o.map((s) => Zt(s))).then(() => !0);
1675
1712
  }
1676
1713
  },
1677
1714
  /**
@@ -1703,7 +1740,7 @@ const ye = (a) => {
1703
1740
  }
1704
1741
  });
1705
1742
  return a;
1706
- }, Jt = (a, o) => {
1743
+ }, _t = (a, o) => {
1707
1744
  const s = ye(() => o.searchForm);
1708
1745
  return {
1709
1746
  search: {
@@ -1741,7 +1778,7 @@ const ye = (a) => {
1741
1778
  }
1742
1779
  }
1743
1780
  };
1744
- }, Qt = (a, o) => ({
1781
+ }, eo = (a, o) => ({
1745
1782
  page: {
1746
1783
  num: 1,
1747
1784
  total: 0,
@@ -1759,7 +1796,7 @@ const ye = (a) => {
1759
1796
  };
1760
1797
  }
1761
1798
  }
1762
- }), Xt = (a, o, s) => {
1799
+ }), to = (a, o, s) => {
1763
1800
  const r = a;
1764
1801
  return {
1765
1802
  table: {
@@ -2022,7 +2059,7 @@ const ye = (a) => {
2022
2059
  }
2023
2060
  }
2024
2061
  };
2025
- }, Yt = (a, o) => {
2062
+ }, oo = (a, o) => {
2026
2063
  const s = ie({}), r = /* @__PURE__ */ new WeakMap();
2027
2064
  let t = 0;
2028
2065
  const e = (g) => {
@@ -2031,7 +2068,7 @@ const ye = (a) => {
2031
2068
  }, l = (g) => {
2032
2069
  const k = o.option.table?.rowKey, D = k ? g[k] : void 0;
2033
2070
  return D != null && D !== "" ? String(D) : e(g);
2034
- }, n = (g, k) => `${l(g)}-${k.key}`, u = (g) => tt(g, o.option.form?.error), f = et(u), d = () => {
2071
+ }, n = (g, k) => `${l(g)}-${k.key}`, u = (g) => ot(g, o.option.form?.error), f = tt(u), d = () => {
2035
2072
  Object.keys(s).forEach((g) => {
2036
2073
  delete s[g];
2037
2074
  });
@@ -2145,7 +2182,7 @@ const ye = (a) => {
2145
2182
  }
2146
2183
  };
2147
2184
  };
2148
- class Zt {
2185
+ class ao {
2149
2186
  /**
2150
2187
  * 导出数据为 Excel 文件(.xlsx),自动触发浏览器下载
2151
2188
  *
@@ -2164,13 +2201,13 @@ class Zt {
2164
2201
  t.utils.book_append_sheet(n, l, "Sheet1"), r ? typeof r == "function" && (r = r()) : r = `导出数据_${(/* @__PURE__ */ new Date()).Format("yyyy-MM-dd")}_${(/* @__PURE__ */ new Date()).getTime()}`, t.writeFile(n, `${r}.xlsx`);
2165
2202
  };
2166
2203
  }
2167
- const xt = (a, o) => ({
2204
+ const no = (a, o) => ({
2168
2205
  export: {
2169
2206
  run: {
2170
2207
  start: async (s) => {
2171
2208
  let t = await a().export.run[s]();
2172
2209
  const e = o.option.column, l = ObjectUtil.deepMerge({ data: t, columns: e }, {}), n = o.option.tools?.export || {};
2173
- n.before?.(l), Zt.exportToExcel(l.data, l.columns, n.fileName);
2210
+ n.before?.(l), ao.exportToExcel(l.data, l.columns, n.fileName);
2174
2211
  },
2175
2212
  select: async () => {
2176
2213
  const s = a();
@@ -2238,7 +2275,7 @@ const xt = (a, o) => ({
2238
2275
  r.export.loading || r.export.run.start(s);
2239
2276
  }
2240
2277
  }
2241
- }), _t = (a, o) => ({
2278
+ }), lo = (a, o) => ({
2242
2279
  remove: {
2243
2280
  title: C.tCurd("deleteTitle"),
2244
2281
  show: !1,
@@ -2274,11 +2311,11 @@ const xt = (a, o) => ({
2274
2311
  });
2275
2312
  }
2276
2313
  }
2277
- }), eo = (a, o, s) => ({
2314
+ }), ro = (a, o, s) => ({
2278
2315
  apiDataMap: {},
2279
2316
  getColumnSpan: (r, t) => {
2280
2317
  const e = a(), l = e.update.formGrid?.length ? e.update.formGrid : t || [];
2281
- return Ye(r, l, e.update.form, e.update.type, {
2318
+ return Ze(r, l, e.update.form, e.update.type, {
2282
2319
  maxSpan: e.update.formMaxSpan || o.option.form?.maxSpan,
2283
2320
  defaultSpan: o.option.form?.defaultSpan || B.config.form.defaultSpan
2284
2321
  });
@@ -2384,7 +2421,7 @@ const xt = (a, o) => ({
2384
2421
  initColumnForm: () => {
2385
2422
  const r = a(), t = o.option;
2386
2423
  r.update.formColumn = [], r.update.formGrid = [], r.update.formMaxSpan = 12, r.table.column.show = { list: [], listSource: [] };
2387
- const e = o.option.form?.maxSpan || 12, l = o.option.form?.defaultSpan || e / 2, n = ot(o.option.form), u = (c) => {
2424
+ const e = o.option.form?.maxSpan || 12, l = o.option.form?.defaultSpan || e / 2, n = at(o.option.form), u = (c) => {
2388
2425
  if (c.children) {
2389
2426
  r.table.column.show.list.push(c.key), c.children.forEach((p) => u(p));
2390
2427
  return;
@@ -2396,12 +2433,12 @@ const xt = (a, o) => ({
2396
2433
  }), o.option.table?.column?.forEach((c) => {
2397
2434
  ke(c, !1), u(c);
2398
2435
  }), r.search.column.list = t.column.concat(t.table?.column || []), r.table.column.list = r.search.column.list.filter((c) => c.table?.table), r.search.column.list.sort((c, p) => c.sort?.search - p.sort?.search), r.table.column.list.sort((c, p) => c.sort?.table - p.sort?.table), r.update.rules = {}, Re(t.column, r.update.formDefault, r.update.rules, (c) => n(c, () => r.update.form)), t.table?.editMode && Re(t.table?.column || [], r.update.formDefault, r.update.rules, (c) => n(c, () => r.update.form));
2399
- const f = _e(t.column, {
2436
+ const f = et(t.column, {
2400
2437
  maxSpan: e,
2401
2438
  defaultSpan: l,
2402
2439
  layout: o.option.form?.layout
2403
2440
  });
2404
- r.update.formGrid = f.cells, r.update.formMaxSpan = f.maxSpan, r.update.formColumn = xe(f.cells);
2441
+ r.update.formGrid = f.cells, r.update.formMaxSpan = f.maxSpan, r.update.formColumn = _e(f.cells);
2405
2442
  const d = o.option.search?.formDefault;
2406
2443
  d && Object.keys(d).forEach((c) => {
2407
2444
  r.search.formDefault[c] = d[c];
@@ -2411,8 +2448,8 @@ const xt = (a, o) => ({
2411
2448
  const m = ObjectUtil.deepMerge(r.search.formDefault, {});
2412
2449
  x.setValue(r.search.form, m, !0);
2413
2450
  }
2414
- }), to = (a) => {
2415
- const o = Y(), s = Y(), r = Y(), t = { switchConfirmRef: o, ruleFormRef: s, tableRef: r }, e = Ie(), l = Fe.getConf("curdConf"), n = (m) => {
2451
+ }), io = (a) => {
2452
+ const o = Y(), s = Y(), r = Y(), t = { switchConfirmRef: o, ruleFormRef: s, tableRef: r }, e = Ge(), l = Fe.getConf("curdConf"), n = (m) => {
2416
2453
  m = m || f;
2417
2454
  let c = m, p = m;
2418
2455
  for (; c?.parentCurdConf; )
@@ -2423,16 +2460,16 @@ const xt = (a, o) => ({
2423
2460
  parentCurdConf: l,
2424
2461
  getCurdConf: n,
2425
2462
  getRootCurdConf: n,
2426
- ...qt(),
2463
+ ...xt(),
2427
2464
  option: a.option,
2428
- ...Jt(u, a),
2429
- ...Qt(u, a),
2430
- ...Xt(u, a, t),
2431
- ...Yt(u, a),
2432
- ...xt(u, a),
2433
- ...Dt(u, a, t),
2434
2465
  ..._t(u, a),
2435
- ...eo(u, a, t)
2466
+ ...eo(u, a),
2467
+ ...to(u, a, t),
2468
+ ...oo(u, a),
2469
+ ...no(u, a),
2470
+ ...jt(u, a, t),
2471
+ ...lo(u, a),
2472
+ ...ro(u, a, t)
2436
2473
  });
2437
2474
  f.init();
2438
2475
  const d = e ? `curdRef-${e.uid}` : "";
@@ -2442,9 +2479,9 @@ const xt = (a, o) => ({
2442
2479
  if (m?.(!!c), !c) throw !1;
2443
2480
  return !0;
2444
2481
  }
2445
- }), Ne(() => {
2482
+ }), Ie(() => {
2446
2483
  l.formRef.remove(d);
2447
- })), Ke(() => {
2484
+ })), He(() => {
2448
2485
  if (a.option.init !== !1) {
2449
2486
  if (a.option.table?.sortable?.show && !a.option.table?.sortable?.button) {
2450
2487
  (f.table?.sortable.getOption()).scroll || (a.option.table.fitHeight = !1), f.table.sortable.refreshList();
@@ -2452,10 +2489,10 @@ const xt = (a, o) => ({
2452
2489
  }
2453
2490
  f.table.getList();
2454
2491
  }
2455
- }), ht(() => {
2492
+ }), yt(() => {
2456
2493
  f.table.sortable.destroy();
2457
2494
  }), Fe.setConf("curdConf", f), { conf: f, switchConfirmRef: o, ruleFormRef: s, tableRef: r };
2458
- }, oo = { class: "dialog-footer" }, ao = /* @__PURE__ */ Q({
2495
+ }, so = { class: "dialog-footer" }, uo = /* @__PURE__ */ Q({
2459
2496
  __name: "switchConfirm",
2460
2497
  props: {
2461
2498
  size: {}
@@ -2484,7 +2521,7 @@ const xt = (a, o) => ({
2484
2521
  footer: y(() => [
2485
2522
  O(c, { size: d.size }, {
2486
2523
  default: y(() => [
2487
- R("span", oo, [
2524
+ F("span", so, [
2488
2525
  O(i(L), { onClick: f }, {
2489
2526
  default: y(() => m[1] || (m[1] = [
2490
2527
  M("取消")
@@ -2506,13 +2543,13 @@ const xt = (a, o) => ({
2506
2543
  }, 8, ["size"])
2507
2544
  ]),
2508
2545
  default: y(() => [
2509
- R("div", null, F(t.value), 1)
2546
+ F("div", null, R(t.value), 1)
2510
2547
  ]),
2511
2548
  _: 1
2512
2549
  }, 8, ["modelValue", "title"]);
2513
2550
  };
2514
2551
  }
2515
- }), no = ["innerHTML"], lo = /* @__PURE__ */ Q({
2552
+ }), fo = ["innerHTML"], co = /* @__PURE__ */ Q({
2516
2553
  __name: "text",
2517
2554
  props: {
2518
2555
  content: {},
@@ -2523,9 +2560,9 @@ const xt = (a, o) => ({
2523
2560
  return (r, t) => typeof s.value == "object" ? (b(), h(ee(s.value), { key: 0 })) : (b(), v("div", {
2524
2561
  key: 1,
2525
2562
  innerHTML: s.value
2526
- }, null, 8, no));
2563
+ }, null, 8, fo));
2527
2564
  }
2528
- }), Be = /* @__PURE__ */ Q({
2565
+ }), Le = /* @__PURE__ */ Q({
2529
2566
  __name: "searchField",
2530
2567
  props: {
2531
2568
  item: {},
@@ -2598,23 +2635,23 @@ const xt = (a, o) => ({
2598
2635
  }, null, 8, ["label", "value"]))), 128))
2599
2636
  ]),
2600
2637
  _: 1
2601
- }, 16, ["modelValue", "placeholder", "disabled"])) : t.type === "radio" ? (b(), h(i(Le), V({
2638
+ }, 16, ["modelValue", "placeholder", "disabled"])) : t.type === "radio" ? (b(), h(i(Te), V({
2602
2639
  key: 4,
2603
2640
  modelValue: s.value,
2604
2641
  "onUpdate:modelValue": e[4] || (e[4] = (l) => s.value = l),
2605
2642
  disabled: t.item.disabled?.search
2606
2643
  }, t.item.options?.search?.radio || t.item.options?.radio, z(t.item.options?.search?.radio?.on || t.item.options?.radio?.on || {})), {
2607
2644
  default: y(() => [
2608
- (t.item.options?.search?.radio?.type || t.item.options?.radio?.type) === "group" ? (b(!0), v(A, { key: 0 }, I(r(t.item), (l) => (b(), h(i(Te), V({
2645
+ (t.item.options?.search?.radio?.type || t.item.options?.radio?.type) === "group" ? (b(!0), v(A, { key: 0 }, I(r(t.item), (l) => (b(), h(i(je), V({
2609
2646
  key: l.value,
2610
2647
  ref_for: !0
2611
- }, l, z(l.on || {})), null, 16))), 128)) : (b(!0), v(A, { key: 1 }, I(r(t.item), (l) => (b(), h(i(je), V({
2648
+ }, l, z(l.on || {})), null, 16))), 128)) : (b(!0), v(A, { key: 1 }, I(r(t.item), (l) => (b(), h(i(Pe), V({
2612
2649
  key: l.value,
2613
2650
  ref_for: !0
2614
2651
  }, l, z(l.on || {})), null, 16))), 128))
2615
2652
  ]),
2616
2653
  _: 1
2617
- }, 16, ["modelValue", "disabled"])) : t.type === "datetime" ? (b(), h(i(Pe), V({
2654
+ }, 16, ["modelValue", "disabled"])) : t.type === "datetime" ? (b(), h(i(Ke), V({
2618
2655
  key: 5,
2619
2656
  modelValue: s.value,
2620
2657
  "onUpdate:modelValue": e[5] || (e[5] = (l) => s.value = l),
@@ -2627,93 +2664,75 @@ const xt = (a, o) => ({
2627
2664
  disabled: t.item.disabled?.search
2628
2665
  }), null, 16, ["modelValue", "disabled"])) : S("", !0);
2629
2666
  }
2630
- }), se = (a, o) => {
2631
- const s = a.__vccOpts || a;
2632
- for (const [r, t] of o)
2633
- s[r] = t;
2634
- return s;
2635
- }, ro = {}, io = {
2667
+ }), po = {}, mo = {
2636
2668
  xmlns: "http://www.w3.org/2000/svg",
2637
2669
  viewBox: "64 64 896 896"
2638
2670
  };
2639
- function so(a, o) {
2640
- return b(), v("svg", io, o[0] || (o[0] = [
2641
- R("path", {
2671
+ function bo(a, o) {
2672
+ return b(), v("svg", mo, o[0] || (o[0] = [
2673
+ F("path", {
2642
2674
  fill: "currentColor",
2643
2675
  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"
2644
2676
  }, null, -1)
2645
2677
  ]));
2646
2678
  }
2647
- const uo = /* @__PURE__ */ se(ro, [["render", so]]), fo = {}, co = {
2679
+ const go = /* @__PURE__ */ se(po, [["render", bo]]), ho = {}, yo = {
2648
2680
  xmlns: "http://www.w3.org/2000/svg",
2649
2681
  viewBox: "64 64 896 896"
2650
2682
  };
2651
- function po(a, o) {
2652
- return b(), v("svg", co, o[0] || (o[0] = [
2653
- R("path", {
2683
+ function wo(a, o) {
2684
+ return b(), v("svg", yo, o[0] || (o[0] = [
2685
+ F("path", {
2654
2686
  fill: "currentColor",
2655
2687
  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"
2656
2688
  }, null, -1)
2657
2689
  ]));
2658
2690
  }
2659
- const mo = /* @__PURE__ */ se(fo, [["render", po]]), bo = {}, go = {
2691
+ const ko = /* @__PURE__ */ se(ho, [["render", wo]]), vo = {}, Co = {
2660
2692
  xmlns: "http://www.w3.org/2000/svg",
2661
2693
  viewBox: "0 0 1024 1024"
2662
2694
  };
2663
- function ho(a, o) {
2664
- return b(), v("svg", go, o[0] || (o[0] = [
2665
- R("path", {
2695
+ function Vo(a, o) {
2696
+ return b(), v("svg", Co, o[0] || (o[0] = [
2697
+ F("path", {
2666
2698
  fill: "currentColor",
2667
2699
  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"
2668
2700
  }, null, -1)
2669
2701
  ]));
2670
2702
  }
2671
- const yo = /* @__PURE__ */ se(bo, [["render", ho]]), wo = {}, ko = {
2672
- "data-v-58697b5c": "",
2673
- xmlns: "http://www.w3.org/2000/svg",
2674
- viewBox: "0 0 1024 1024"
2675
- };
2676
- function vo(a, o) {
2677
- return b(), v("svg", ko, o[0] || (o[0] = [
2678
- R("path", {
2679
- fill: "currentColor",
2680
- 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"
2681
- }, null, -1)
2682
- ]));
2683
- }
2684
- const nt = /* @__PURE__ */ se(wo, [["render", vo]]), Co = {}, Vo = {
2703
+ const So = /* @__PURE__ */ se(vo, [["render", Vo]]), Eo = {}, zo = {
2685
2704
  "data-v-58697b5c": "",
2686
2705
  xmlns: "http://www.w3.org/2000/svg",
2687
2706
  viewBox: "0 0 1024 1024"
2688
2707
  };
2689
- function So(a, o) {
2690
- return b(), v("svg", Vo, o[0] || (o[0] = [
2691
- R("path", {
2708
+ function $o(a, o) {
2709
+ return b(), v("svg", zo, o[0] || (o[0] = [
2710
+ F("path", {
2692
2711
  fill: "currentColor",
2693
2712
  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"
2694
2713
  }, null, -1)
2695
2714
  ]));
2696
2715
  }
2697
- const Eo = /* @__PURE__ */ se(Co, [["render", So]]), zo = {}, $o = {
2716
+ const Mo = /* @__PURE__ */ se(Eo, [["render", $o]]), Oo = {}, Fo = {
2698
2717
  "data-v-58697b5c": "",
2699
2718
  xmlns: "http://www.w3.org/2000/svg",
2700
2719
  viewBox: "0 0 1024 1024"
2701
2720
  };
2702
- function Mo(a, o) {
2703
- return b(), v("svg", $o, o[0] || (o[0] = [
2704
- R("path", {
2721
+ function Ro(a, o) {
2722
+ return b(), v("svg", Fo, o[0] || (o[0] = [
2723
+ F("path", {
2705
2724
  fill: "currentColor",
2706
2725
  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"
2707
2726
  }, null, -1)
2708
2727
  ]));
2709
2728
  }
2710
- const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-center table-header-label inline" }, Ro = { class: "table-header-tooltip" }, Do = ["innerHTML"], Uo = {
2729
+ const Do = /* @__PURE__ */ se(Oo, [["render", Ro]]), Uo = { class: "row flex-center table-header-label inline" }, Ao = { class: "table-header-tooltip" }, Bo = ["innerHTML"], Lo = {
2711
2730
  key: 1,
2712
2731
  class: "table-header-required"
2713
- }, Ao = ["onClick"], Bo = {
2732
+ }, To = ["onClick"], jo = {
2714
2733
  key: 0,
2715
2734
  class: "table-edit-form"
2716
- }, Lo = { key: 1 }, To = ["onClick", "innerHTML"], jo = /* @__PURE__ */ Q({
2735
+ }, Po = { key: 1 }, Ko = ["onClick", "innerHTML"], Ho = /* @__PURE__ */ Q({
2717
2736
  __name: "tableColumn",
2718
2737
  props: {
2719
2738
  conf: {},
@@ -2721,7 +2740,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
2721
2740
  option: {}
2722
2741
  },
2723
2742
  setup(a) {
2724
- const o = E.isFun, s = a, t = Ie().type, e = (n) => n === !0 ? !0 : (Array.isArray(n) ? n : n ? [n] : []).some((f) => f?.required === !0), l = (n) => s.option.table?.editMode ? e(n.rules) || e(s.conf.update.rules?.[n.key]) : !1;
2743
+ const o = E.isFun, s = a, t = Ge().type, e = (n) => n === !0 ? !0 : (Array.isArray(n) ? n : n ? [n] : []).some((f) => f?.required === !0), l = (n) => s.option.table?.editMode ? e(n.rules) || e(s.conf.update.rules?.[n.key]) : !1;
2725
2744
  return (n, u) => {
2726
2745
  const f = ce("el-tooltip");
2727
2746
  return b(!0), v(A, null, I(n.columnList, (d) => (b(), v(A, {
@@ -2736,30 +2755,30 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
2736
2755
  }, d.table), {
2737
2756
  header: y(() => [
2738
2757
  $(n.$slots, "table-header-" + d.key, { item: d }, () => [
2739
- R("div", Fo, [
2758
+ F("div", Uo, [
2740
2759
  d.table?.header?.tooltip ? (b(), h(f, {
2741
2760
  key: 0,
2742
2761
  effect: "dark",
2743
2762
  placement: "top"
2744
2763
  }, {
2745
2764
  content: y(() => [
2746
- R("div", {
2765
+ F("div", {
2747
2766
  innerHTML: d.table?.header?.tooltip
2748
- }, null, 8, Do)
2767
+ }, null, 8, Bo)
2749
2768
  ]),
2750
2769
  default: y(() => [
2751
- R("span", Ro, [
2752
- O(nt)
2770
+ F("span", Ao, [
2771
+ O(De)
2753
2772
  ])
2754
2773
  ]),
2755
2774
  _: 2
2756
2775
  }, 1024)) : S("", !0),
2757
- l(d) ? (b(), v("span", Uo, "*")) : S("", !0),
2758
- M(" " + F(d.label) + " ", 1),
2776
+ l(d) ? (b(), v("span", Lo, "*")) : S("", !0),
2777
+ M(" " + R(d.label) + " ", 1),
2759
2778
  d.table?.header?.group !== void 0 ? (b(), v("span", {
2760
2779
  key: 2,
2761
2780
  class: "table-header-plus",
2762
- onClick: yt(
2781
+ onClick: wt(
2763
2782
  () => {
2764
2783
  d.table.header.group = !d.table.header.group, n.columnList.forEach((m) => {
2765
2784
  m.table?.header?.groupKey === d.key && (m.table.header.show = !d.table.header.group);
@@ -2768,8 +2787,8 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
2768
2787
  ["stop"]
2769
2788
  )
2770
2789
  }, [
2771
- d.table.header.group ? (b(), h(Eo, { key: 0 })) : (b(), h(Oo, { key: 1 }))
2772
- ], 8, Ao)) : S("", !0)
2790
+ d.table.header.group ? (b(), h(Mo, { key: 0 })) : (b(), h(Do, { key: 1 }))
2791
+ ], 8, To)) : S("", !0)
2773
2792
  ])
2774
2793
  ])
2775
2794
  ]),
@@ -2789,14 +2808,14 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
2789
2808
  }))
2790
2809
  ]), 1032, ["conf", "columnList", "option"]))
2791
2810
  ], 64)) : (b(), v(A, { key: 1 }, [
2792
- n.option.table?.editMode ? (b(), v("div", Bo, [
2811
+ n.option.table?.editMode ? (b(), v("div", jo, [
2793
2812
  O(i(ge), {
2794
2813
  size: n.option.size?.table,
2795
2814
  error: n.conf.tableEditValidate.getFieldError(m, d),
2796
2815
  class: "table-edit-form-item"
2797
2816
  }, {
2798
2817
  default: y(() => [
2799
- R("div", {
2818
+ F("div", {
2800
2819
  class: J(["row", ["table-edit-" + d.key]]),
2801
2820
  style: { width: "100%" }
2802
2821
  }, [
@@ -2817,7 +2836,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
2817
2836
  d.options?.input?.prepend ? {
2818
2837
  name: "prepend",
2819
2838
  fn: y(() => [
2820
- M(F(typeof d.options?.input?.prepend == "function" ? d.options?.input?.prepend(m) : d.options?.input?.prepend), 1)
2839
+ M(R(typeof d.options?.input?.prepend == "function" ? d.options?.input?.prepend(m) : d.options?.input?.prepend), 1)
2821
2840
  ]),
2822
2841
  key: "0"
2823
2842
  } : void 0
@@ -2869,7 +2888,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
2869
2888
  d.options?.input?.prepend ? {
2870
2889
  name: "prepend",
2871
2890
  fn: y(() => [
2872
- M(F(typeof d.options?.input?.prepend == "function" ? d.options?.input?.prepend(m) : d.options?.input?.prepend), 1)
2891
+ M(R(typeof d.options?.input?.prepend == "function" ? d.options?.input?.prepend(m) : d.options?.input?.prepend), 1)
2873
2892
  ]),
2874
2893
  key: "0"
2875
2894
  } : void 0
@@ -2914,7 +2933,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
2914
2933
  loading: d.options?.switch?.loadingMap?.[m[n.option.table?.rowKey]]?.loading,
2915
2934
  "before-change": () => d.options?.switch?.tableBeforeChange?.(d.key, m),
2916
2935
  ref_for: !0
2917
- }, d.options?.switch), null, 16, ["modelValue", "onUpdate:modelValue", "loading", "before-change"])) : (b(), v("span", Lo, F(m[d.key] === d.options?.switch?.activeValue ? d.options?.switch?.activeText : d.options?.switch?.inactiveText), 1))
2936
+ }, d.options?.switch), null, 16, ["modelValue", "onUpdate:modelValue", "loading", "before-change"])) : (b(), v("span", Po, R(m[d.key] === d.options?.switch?.activeValue ? d.options?.switch?.activeText : d.options?.switch?.inactiveText), 1))
2918
2937
  ], 64)) : (b(), v("span", {
2919
2938
  key: 2,
2920
2939
  style: he({
@@ -2923,7 +2942,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
2923
2942
  class: J({ "table-text-click": d.table?.click?.callback }),
2924
2943
  onClick: (c) => d.table?.click?.callback?.(m),
2925
2944
  innerHTML: d.table?.format ? d.table?.format(m) : m[d.key]
2926
- }, null, 14, To))
2945
+ }, null, 14, Ko))
2927
2946
  ])
2928
2947
  ], 64))
2929
2948
  ], 64))
@@ -2934,19 +2953,19 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
2934
2953
  ], 64))), 128);
2935
2954
  };
2936
2955
  }
2937
- }), Po = {
2956
+ }), No = {
2938
2957
  key: 0,
2939
2958
  class: "relative curd-search fit-width"
2940
- }, Ko = { class: "mb-10 flex justify-between items-center fit-width" }, Ho = {
2959
+ }, Io = { class: "mb-10 flex justify-between items-center fit-width" }, Go = {
2941
2960
  class: "flex items-center",
2942
2961
  style: { gap: "10px" }
2943
- }, No = { key: 0 }, Io = { key: 1 }, Go = { key: 2 }, Wo = { class: "export-btn" }, qo = {
2962
+ }, Wo = { key: 0 }, qo = { key: 1 }, Jo = { key: 2 }, Qo = { class: "export-btn" }, Xo = {
2944
2963
  key: 1,
2945
2964
  class: "export-btn"
2946
- }, Jo = {
2965
+ }, Yo = {
2947
2966
  class: "flex items-center table-tools-right",
2948
2967
  style: { gap: "10px" }
2949
- }, Qo = { class: "table-sortable-tooltip" }, Xo = ["innerHTML"], Yo = { class: "row justify-end mt-10 mb-10 table-bottom-pagination" }, Zo = { class: "dialog-footer" }, xo = { key: 0 }, _o = { key: 1 }, ea = { class: "dialog-footer" }, ta = /* @__PURE__ */ Q({
2968
+ }, Zo = { class: "table-sortable-tooltip" }, xo = ["innerHTML"], _o = { class: "row justify-end mt-10 mb-10 table-bottom-pagination" }, ea = { class: "dialog-footer" }, ta = { key: 0 }, oa = { key: 1 }, aa = { class: "dialog-footer" }, na = /* @__PURE__ */ Q({
2950
2969
  __name: "index",
2951
2970
  props: {
2952
2971
  /**
@@ -2969,23 +2988,23 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
2969
2988
  }
2970
2989
  },
2971
2990
  setup(a, { expose: o }) {
2972
- const s = E.EDialog, r = a, t = E.isFun, { conf: e, switchConfirmRef: l, ruleFormRef: n, tableRef: u } = to(r);
2991
+ const s = E.EDialog, r = a, t = E.isFun, { conf: e, switchConfirmRef: l, ruleFormRef: n, tableRef: u } = io(r);
2973
2992
  return o({
2974
2993
  conf: e
2975
2994
  }), (f, d) => {
2976
- const m = ce("el-tooltip"), c = wt("loading");
2995
+ const m = ce("el-tooltip"), c = kt("loading");
2977
2996
  return b(), v("div", {
2978
2997
  class: J(["relative cc1-form-box", [a.option.table?.fitHeight ? "col" : "no-min-height"]])
2979
2998
  }, [
2980
- R("div", {
2999
+ F("div", {
2981
3000
  class: J(["row", [a.option.table?.fitHeight ? "absolute fit" : ""]]),
2982
3001
  style: { overflow: "hidden" }
2983
3002
  }, [
2984
3003
  $(f.$slots, "box-left"),
2985
- R("div", {
3004
+ F("div", {
2986
3005
  class: J(["column fit-width no-wrap", [a.option.table?.fitHeight ? "col" : ""]])
2987
3006
  }, [
2988
- a.option.search?.show !== !1 ? (b(), v("div", Po, [
3007
+ a.option.search?.show !== !1 ? (b(), v("div", No, [
2989
3008
  O(i(oe), {
2990
3009
  model: i(e).search.form,
2991
3010
  inline: "",
@@ -3012,12 +3031,12 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3012
3031
  $(f.$slots, "search-" + p.key, {
3013
3032
  row: i(e).search.form
3014
3033
  }, () => [
3015
- p.options?.search?.type ? (b(), h(Be, {
3034
+ p.options?.search?.type ? (b(), h(Le, {
3016
3035
  key: 0,
3017
3036
  item: p,
3018
3037
  conf: i(e),
3019
3038
  type: p.options.search.type
3020
- }, null, 8, ["item", "conf", "type"])) : (b(), h(Be, {
3039
+ }, null, 8, ["item", "conf", "type"])) : (b(), h(Le, {
3021
3040
  key: 1,
3022
3041
  item: p,
3023
3042
  conf: i(e),
@@ -3045,7 +3064,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3045
3064
  onClick: i(e).search.submit
3046
3065
  }, {
3047
3066
  default: y(() => [
3048
- M(F(i(C).tCurd("search")), 1)
3067
+ M(R(i(C).tCurd("search")), 1)
3049
3068
  ]),
3050
3069
  _: 1
3051
3070
  }, 8, ["onClick"])) : S("", !0),
@@ -3054,7 +3073,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3054
3073
  onClick: i(e).search.reset
3055
3074
  }, {
3056
3075
  default: y(() => [
3057
- M(F(i(C).tCurd("reset")), 1)
3076
+ M(R(i(C).tCurd("reset")), 1)
3058
3077
  ]),
3059
3078
  _: 1
3060
3079
  }, 8, ["onClick"])) : S("", !0)
@@ -3068,51 +3087,51 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3068
3087
  _: 3
3069
3088
  }, 8, ["model", "size"])
3070
3089
  ])) : S("", !0),
3071
- R("div", Ko, [
3072
- R("div", Ho, [
3073
- i(t)(a.option.tools?.add) ? (b(), v("div", No, [
3090
+ F("div", Io, [
3091
+ F("div", Go, [
3092
+ i(t)(a.option.tools?.add) ? (b(), v("div", Wo, [
3074
3093
  O(i(L), {
3075
3094
  type: "primary",
3076
3095
  onClick: d[0] || (d[0] = (p) => i(e).update.open(i(s).Add)),
3077
3096
  size: a.option.size?.search
3078
3097
  }, {
3079
3098
  default: y(() => [
3080
- M(F(i(C).tCurd("add")), 1)
3099
+ M(R(i(C).tCurd("add")), 1)
3081
3100
  ]),
3082
3101
  _: 1
3083
3102
  }, 8, ["size"])
3084
3103
  ])) : S("", !0),
3085
- i(t)(a.option.tools?.delete) ? (b(), v("div", Io, [
3104
+ i(t)(a.option.tools?.delete) ? (b(), v("div", qo, [
3086
3105
  O(i(L), {
3087
3106
  type: "danger",
3088
3107
  onClick: d[1] || (d[1] = (p) => i(e).remove.open(i(e).table.selection.list)),
3089
3108
  size: a.option.size?.search
3090
3109
  }, {
3091
3110
  default: y(() => [
3092
- M(F(i(C).tCurd("delete")), 1)
3111
+ M(R(i(C).tCurd("delete")), 1)
3093
3112
  ]),
3094
3113
  _: 1
3095
3114
  }, 8, ["size"])
3096
3115
  ])) : S("", !0),
3097
- a.option.tools?.expand ? (b(), v("div", Go, [
3116
+ a.option.tools?.expand ? (b(), v("div", Jo, [
3098
3117
  O(i(L), {
3099
3118
  type: "warning",
3100
3119
  onClick: d[2] || (d[2] = (p) => i(e).table.expand.all()),
3101
3120
  size: a.option.size?.search
3102
3121
  }, {
3103
3122
  default: y(() => [
3104
- M(F(i(C).tCurd("expandCollapse")), 1)
3123
+ M(R(i(C).tCurd("expandCollapse")), 1)
3105
3124
  ]),
3106
3125
  _: 1
3107
3126
  }, 8, ["size"])
3108
3127
  ])) : S("", !0),
3109
3128
  a.option.tools?.export?.show ? (b(), v(A, { key: 3 }, [
3110
- a.option.tools?.export?.dropdown?.show ? (b(), h(i(mt), {
3129
+ a.option.tools?.export?.dropdown?.show ? (b(), h(i(bt), {
3111
3130
  key: 0,
3112
3131
  onCommand: i(e).export.click
3113
3132
  }, {
3114
3133
  dropdown: y(() => [
3115
- O(i(bt), {
3134
+ O(i(gt), {
3116
3135
  size: a.option.size?.search
3117
3136
  }, {
3118
3137
  default: y(() => [
@@ -3121,7 +3140,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3121
3140
  command: "select"
3122
3141
  }, {
3123
3142
  default: y(() => [
3124
- M(F(i(C).tCurd("exportSelect")), 1)
3143
+ M(R(i(C).tCurd("exportSelect")), 1)
3125
3144
  ]),
3126
3145
  _: 1
3127
3146
  })) : S("", !0),
@@ -3130,7 +3149,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3130
3149
  command: "page"
3131
3150
  }, {
3132
3151
  default: y(() => [
3133
- M(F(i(C).tCurd("exportPage")), 1)
3152
+ M(R(i(C).tCurd("exportPage")), 1)
3134
3153
  ]),
3135
3154
  _: 1
3136
3155
  })) : S("", !0),
@@ -3139,7 +3158,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3139
3158
  command: "all"
3140
3159
  }, {
3141
3160
  default: y(() => [
3142
- M(F(i(C).tCurd("exportAll")), 1)
3161
+ M(R(i(C).tCurd("exportAll")), 1)
3143
3162
  ]),
3144
3163
  _: 1
3145
3164
  })) : S("", !0)
@@ -3148,21 +3167,21 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3148
3167
  }, 8, ["size"])
3149
3168
  ]),
3150
3169
  default: y(() => [
3151
- R("div", Wo, [
3170
+ F("div", Qo, [
3152
3171
  O(i(L), {
3153
3172
  type: "warning",
3154
3173
  loading: i(e).export.loading,
3155
3174
  size: a.option.size?.search
3156
3175
  }, {
3157
3176
  default: y(() => [
3158
- M(F(i(C).tCurd("export")), 1)
3177
+ M(R(i(C).tCurd("export")), 1)
3159
3178
  ]),
3160
3179
  _: 1
3161
3180
  }, 8, ["loading", "size"])
3162
3181
  ])
3163
3182
  ]),
3164
3183
  _: 1
3165
- }, 8, ["onCommand"])) : (b(), v("div", qo, [
3184
+ }, 8, ["onCommand"])) : (b(), v("div", Xo, [
3166
3185
  O(i(L), {
3167
3186
  type: "warning",
3168
3187
  loading: i(e).export.loading,
@@ -3170,7 +3189,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3170
3189
  onClick: d[3] || (d[3] = (p) => i(e).export.run.start("all"))
3171
3190
  }, {
3172
3191
  default: y(() => [
3173
- M(F(i(C).tCurd("export")), 1)
3192
+ M(R(i(C).tCurd("export")), 1)
3174
3193
  ]),
3175
3194
  _: 1
3176
3195
  }, 8, ["loading", "size"])
@@ -3178,9 +3197,9 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3178
3197
  ], 64)) : S("", !0),
3179
3198
  $(f.$slots, "tools-left")
3180
3199
  ]),
3181
- R("div", Jo, [
3200
+ F("div", Yo, [
3182
3201
  $(f.$slots, "tools-right"),
3183
- i(e).page.showTools && i(e).table.sortable.showPagination() ? (b(), h(i(Ue), V({
3202
+ i(e).page.showTools && i(e).table.sortable.showPagination() ? (b(), h(i(Ae), V({
3184
3203
  key: 0,
3185
3204
  "current-page": i(e).page.num,
3186
3205
  "onUpdate:currentPage": d[4] || (d[4] = (p) => i(e).page.num = p),
@@ -3203,7 +3222,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3203
3222
  loading: i(e).table.sortable.actionLoading
3204
3223
  }, {
3205
3224
  default: y(() => [
3206
- M(F(i(C).tCurd("sortableStart")), 1)
3225
+ M(R(i(C).tCurd("sortableStart")), 1)
3207
3226
  ]),
3208
3227
  _: 1
3209
3228
  }, 8, ["onClick", "size", "loading"])) : S("", !0),
@@ -3215,7 +3234,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3215
3234
  onClick: i(e).table.sortable.save
3216
3235
  }, {
3217
3236
  default: y(() => [
3218
- M(F(i(C).tCurd("sortableSave")), 1)
3237
+ M(R(i(C).tCurd("sortableSave")), 1)
3219
3238
  ]),
3220
3239
  _: 1
3221
3240
  }, 8, ["size", "loading", "onClick"]),
@@ -3225,7 +3244,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3225
3244
  onClick: i(e).table.sortable.exit
3226
3245
  }, {
3227
3246
  default: y(() => [
3228
- M(F(i(C).tCurd("sortableExit")), 1)
3247
+ M(R(i(C).tCurd("sortableExit")), 1)
3229
3248
  ]),
3230
3249
  _: 1
3231
3250
  }, 8, ["size", "onClick"])
@@ -3238,7 +3257,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3238
3257
  loading: i(e).table.sortable.actionLoading
3239
3258
  }, {
3240
3259
  default: y(() => [
3241
- M(F(i(C).tCurd("sortableSave")), 1)
3260
+ M(R(i(C).tCurd("sortableSave")), 1)
3242
3261
  ]),
3243
3262
  _: 1
3244
3263
  }, 8, ["onClick", "size", "loading"])) : S("", !0),
@@ -3249,12 +3268,12 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3249
3268
  placement: "top"
3250
3269
  }, {
3251
3270
  default: y(() => [
3252
- R("div", {
3271
+ F("div", {
3253
3272
  class: J(["refresh-btn", [a.option.size?.search]]),
3254
3273
  onClick: d[6] || (d[6] = //@ts-ignore
3255
3274
  (...p) => i(e).table.header.group.toggleExpandAll && i(e).table.header.group.toggleExpandAll(...p))
3256
3275
  }, [
3257
- i(e).table.header.group.expand ? (b(), h(uo, { key: 0 })) : (b(), h(mo, { key: 1 }))
3276
+ i(e).table.header.group.expand ? (b(), h(go, { key: 0 })) : (b(), h(ko, { key: 1 }))
3258
3277
  ], 2)
3259
3278
  ]),
3260
3279
  _: 1
@@ -3265,17 +3284,17 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3265
3284
  onClick: d[7] || (d[7] = //@ts-ignore
3266
3285
  (...p) => i(e).table.sortable.refreshList && i(e).table.sortable.refreshList(...p))
3267
3286
  }, [
3268
- O(yo)
3287
+ O(So)
3269
3288
  ], 2)) : S("", !0)
3270
3289
  ])
3271
3290
  ]),
3272
- R("div", {
3291
+ F("div", {
3273
3292
  class: J(["fit-width relative form-box", [a.option.table?.fitHeight ? "col " : "", a.option.table?.editMode ? "edit-mode" : ""]])
3274
3293
  }, [
3275
- R("div", {
3294
+ F("div", {
3276
3295
  class: J(["column form-box-content", [a.option.table?.fitHeight ? "absolute fit" : ""]])
3277
3296
  }, [
3278
- kt((b(), h(i(gt), V({
3297
+ vt((b(), h(i(ht), V({
3279
3298
  ref_key: "tableRef",
3280
3299
  ref: u,
3281
3300
  data: i(e).table.data,
@@ -3319,13 +3338,13 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3319
3338
  placement: "top"
3320
3339
  }, {
3321
3340
  content: y(() => [
3322
- R("div", {
3341
+ F("div", {
3323
3342
  innerHTML: a.option.table?.sortable?.tipText ?? i(C).tCurd("sortable")
3324
- }, null, 8, Xo)
3343
+ }, null, 8, xo)
3325
3344
  ]),
3326
3345
  default: y(() => [
3327
- R("span", Qo, [
3328
- O(nt)
3346
+ F("span", Zo, [
3347
+ O(De)
3329
3348
  ])
3330
3349
  ]),
3331
3350
  _: 1
@@ -3333,11 +3352,11 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3333
3352
  ])
3334
3353
  ]),
3335
3354
  default: y(() => d[12] || (d[12] = [
3336
- R("span", { class: "cc1-form-drag-handle" }, "::", -1)
3355
+ F("span", { class: "cc1-form-drag-handle" }, "::", -1)
3337
3356
  ])),
3338
3357
  _: 3
3339
3358
  }, 16)) : S("", !0),
3340
- O(jo, {
3359
+ O(Ho, {
3341
3360
  conf: i(e),
3342
3361
  columnList: i(e).table.column.list,
3343
3362
  option: a.option
@@ -3359,7 +3378,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3359
3378
  }), {
3360
3379
  header: y(() => [
3361
3380
  $(f.$slots, "table-header-op", {}, () => [
3362
- M(F(i(C).tCurd("operation")), 1)
3381
+ M(R(i(C).tCurd("operation")), 1)
3363
3382
  ])
3364
3383
  ]),
3365
3384
  default: y(({ row: p }) => [
@@ -3375,7 +3394,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3375
3394
  onClick: i(e).update.close
3376
3395
  }, {
3377
3396
  default: y(() => [
3378
- M(F(i(C).tCurd("cancel")), 1)
3397
+ M(R(i(C).tCurd("cancel")), 1)
3379
3398
  ]),
3380
3399
  _: 1
3381
3400
  }, 8, ["onClick"]),
@@ -3386,7 +3405,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3386
3405
  loading: i(e).update.loading
3387
3406
  }, {
3388
3407
  default: y(() => [
3389
- M(F(i(C).tCurd("confirm")), 1)
3408
+ M(R(i(C).tCurd("confirm")), 1)
3390
3409
  ]),
3391
3410
  _: 1
3392
3411
  }, 8, ["onClick", "loading"]),
@@ -3399,7 +3418,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3399
3418
  onClick: (w) => i(e).update.open(i(s).Add, p)
3400
3419
  }, {
3401
3420
  default: y(() => [
3402
- M(F(i(C).tCurd("add")), 1)
3421
+ M(R(i(C).tCurd("add")), 1)
3403
3422
  ]),
3404
3423
  _: 2
3405
3424
  }, 1032, ["onClick"])) : S("", !0),
@@ -3410,7 +3429,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3410
3429
  onClick: (w) => i(e).update.open(i(s).View, p)
3411
3430
  }, {
3412
3431
  default: y(() => [
3413
- M(F(i(C).tCurd("view")), 1)
3432
+ M(R(i(C).tCurd("view")), 1)
3414
3433
  ]),
3415
3434
  _: 2
3416
3435
  }, 1032, ["onClick"])) : S("", !0),
@@ -3421,7 +3440,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3421
3440
  onClick: (w) => i(e).update.open(i(s).Update, p)
3422
3441
  }, {
3423
3442
  default: y(() => [
3424
- M(F(i(C).tCurd("edit")), 1)
3443
+ M(R(i(C).tCurd("edit")), 1)
3425
3444
  ]),
3426
3445
  _: 2
3427
3446
  }, 1032, ["onClick"])) : S("", !0),
@@ -3432,7 +3451,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3432
3451
  onClick: (w) => i(e).remove.open([p])
3433
3452
  }, {
3434
3453
  default: y(() => [
3435
- M(F(i(C).tCurd("delete")), 1)
3454
+ M(R(i(C).tCurd("delete")), 1)
3436
3455
  ]),
3437
3456
  _: 2
3438
3457
  }, 1032, ["onClick"])) : S("", !0),
@@ -3451,8 +3470,8 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3451
3470
  ])
3452
3471
  ], 2)
3453
3472
  ], 2),
3454
- R("div", Yo, [
3455
- (a.option.page?.show === void 0 || a.option.page?.show) && !i(e).page.showTools && i(e).table.sortable.showPagination() ? (b(), h(i(Ue), V({
3473
+ F("div", _o, [
3474
+ (a.option.page?.show === void 0 || a.option.page?.show) && !i(e).page.showTools && i(e).table.sortable.showPagination() ? (b(), h(i(Ae), V({
3456
3475
  key: 0,
3457
3476
  "current-page": i(e).page.num,
3458
3477
  "onUpdate:currentPage": d[8] || (d[8] = (p) => i(e).page.num = p),
@@ -3478,7 +3497,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3478
3497
  "before-close": i(e).update.close
3479
3498
  }, a.option.dialog), {
3480
3499
  footer: y(() => [
3481
- R("span", Zo, [
3500
+ F("span", ea, [
3482
3501
  O(i(oe), {
3483
3502
  size: a.option.size?.form
3484
3503
  }, {
@@ -3490,7 +3509,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3490
3509
  onClick: i(e).update.close
3491
3510
  }, {
3492
3511
  default: y(() => [
3493
- M(F(i(C).tCurd("close")), 1)
3512
+ M(R(i(C).tCurd("close")), 1)
3494
3513
  ]),
3495
3514
  _: 1
3496
3515
  }, 8, ["onClick"]),
@@ -3501,7 +3520,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3501
3520
  loading: i(e).update.loading
3502
3521
  }, {
3503
3522
  default: y(() => [
3504
- M(F(i(C).tCurd("submit")), 1)
3523
+ M(R(i(C).tCurd("submit")), 1)
3505
3524
  ]),
3506
3525
  _: 1
3507
3526
  }, 8, ["onClick", "loading"])) : S("", !0)
@@ -3524,7 +3543,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3524
3543
  class: "update-dialog-form"
3525
3544
  }, {
3526
3545
  default: y(() => [
3527
- i(e).update.showContent ? (b(), h(at, {
3546
+ i(e).update.showContent ? (b(), h(nt, {
3528
3547
  key: 0,
3529
3548
  "form-grid": i(e).update.formGrid,
3530
3549
  "max-span": i(e).update.formMaxSpan,
@@ -3560,7 +3579,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3560
3579
  "close-on-click-modal": !1
3561
3580
  }, {
3562
3581
  footer: y(() => [
3563
- R("span", ea, [
3582
+ F("span", aa, [
3564
3583
  O(i(oe), {
3565
3584
  size: a.option.size?.form
3566
3585
  }, {
@@ -3569,7 +3588,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3569
3588
  onClick: i(e).remove.close
3570
3589
  }, {
3571
3590
  default: y(() => [
3572
- M(F(i(C).tCurd("close")), 1)
3591
+ M(R(i(C).tCurd("close")), 1)
3573
3592
  ]),
3574
3593
  _: 1
3575
3594
  }, 8, ["onClick"]),
@@ -3579,7 +3598,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3579
3598
  loading: i(e).remove.loading
3580
3599
  }, {
3581
3600
  default: y(() => [
3582
- M(F(i(C).tCurd("confirmDelete")), 1)
3601
+ M(R(i(C).tCurd("confirmDelete")), 1)
3583
3602
  ]),
3584
3603
  _: 1
3585
3604
  }, 8, ["onClick", "loading"])
@@ -3589,16 +3608,16 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3589
3608
  ])
3590
3609
  ]),
3591
3610
  default: y(() => [
3592
- a.option.dialog?.delete?.content ? (b(), v("div", xo, [
3593
- O(lo, {
3611
+ a.option.dialog?.delete?.content ? (b(), v("div", ta, [
3612
+ O(co, {
3594
3613
  content: a.option.dialog?.delete?.content,
3595
3614
  value: i(e).remove.items
3596
3615
  }, null, 8, ["content", "value"])
3597
- ])) : (b(), v("div", _o, F(i(C).tCurd("confirmDeleteMessage", i(e).remove.items.length)), 1))
3616
+ ])) : (b(), v("div", oa, R(i(C).tCurd("confirmDeleteMessage", i(e).remove.items.length)), 1))
3598
3617
  ]),
3599
3618
  _: 1
3600
3619
  }, 8, ["modelValue", "title"]),
3601
- O(ao, {
3620
+ O(uo, {
3602
3621
  ref_key: "switchConfirmRef",
3603
3622
  ref: l,
3604
3623
  size: a.option.size?.form
@@ -3607,7 +3626,7 @@ const Oo = /* @__PURE__ */ se(zo, [["render", Mo]]), Fo = { class: "row flex-cen
3607
3626
  };
3608
3627
  }
3609
3628
  });
3610
- class ia {
3629
+ class ua {
3611
3630
  /**
3612
3631
  * 通过远程 URL 下载文件,自动创建临时 `<a>` 标签触发浏览器下载
3613
3632
  *
@@ -3652,26 +3671,26 @@ class ia {
3652
3671
  }, document.body.appendChild(t), t.click();
3653
3672
  });
3654
3673
  }
3655
- const oa = (a, o) => {
3656
- if (a.component("TCurd", ta), a.component("TFormList", Ge), a.component("TColumn", It), o?.customComponent) {
3674
+ const la = (a, o) => {
3675
+ if (a.component("TCurd", na), a.component("TFormList", We), a.component("TColumn", Xt), o?.customComponent) {
3657
3676
  q.customComponent = o.customComponent;
3658
3677
  for (const s in o.customComponent)
3659
3678
  a.component(s, o.customComponent[s]);
3660
3679
  }
3661
- }, sa = {
3662
- install: oa
3680
+ }, fa = {
3681
+ install: la
3663
3682
  };
3664
3683
  export {
3665
3684
  X as ArrUtil,
3666
- Zt as ExcelUtil,
3667
- It as TColumn,
3668
- ta as TCurd,
3669
- ia as TFile,
3685
+ ao as ExcelUtil,
3686
+ Xt as TColumn,
3687
+ na as TCurd,
3688
+ ua as TFile,
3670
3689
  q as TForm,
3671
3690
  B as TFormConfig,
3672
3691
  C as TFormI18n,
3673
- Ge as TFormList,
3692
+ We as TFormList,
3674
3693
  E as TSys,
3675
- sa as default,
3676
- oa as install
3694
+ fa as default,
3695
+ la as install
3677
3696
  };