magtool 1.5.11 → 1.5.13

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/README.1.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # magtool
2
+
3
+ 1.5.13
4
+ composition export
5
+
6
+ 1.5.12
7
+ table footer
8
+ echart tooltip cps
9
+ echart tooltip chartID
10
+
2
11
  1.5.11
3
12
  table download composition
13
+
4
14
  1.5.8
5
15
  vue-router for table download
6
16
 
package/dist/component.js CHANGED
@@ -1,12 +1,12 @@
1
- import { defineComponent as P, getCurrentInstance as se, onMounted as re, reactive as H, createElementBlock as D, openBlock as p, normalizeStyle as me, unref as t, createCommentVNode as Y, createElementVNode as c, normalizeClass as K, renderSlot as W, toDisplayString as I, computed as g, watch as X, resolveComponent as N, createVNode as z, inject as pe, onBeforeMount as Te, markRaw as Ce, nextTick as fe, mergeProps as Z, withCtx as b, resolveDirective as Ae, withDirectives as De, createBlock as L, withKeys as xe, createSlots as ae, watchPostEffect as Me, Fragment as ie, renderList as de, createTextVNode as ne, defineAsyncComponent as _e, ref as he, withModifiers as ye, resolveDynamicComponent as Ne, watchEffect as Ie } from "vue";
1
+ import { defineComponent as P, getCurrentInstance as se, onMounted as re, reactive as H, createElementBlock as D, openBlock as p, normalizeStyle as me, unref as t, createCommentVNode as Y, createElementVNode as c, normalizeClass as K, renderSlot as W, toDisplayString as I, computed as g, watch as X, resolveComponent as N, createVNode as z, inject as pe, onBeforeMount as Te, markRaw as Ce, nextTick as fe, mergeProps as Z, withCtx as b, resolveDirective as Ae, withDirectives as De, createBlock as L, withKeys as xe, createSlots as ae, watchPostEffect as Me, Fragment as ie, renderList as de, createTextVNode as ne, defineAsyncComponent as _e, ref as he, withModifiers as ye, resolveDynamicComponent as Ie, watchEffect as ze } from "vue";
2
2
  import { _ as ue } from "./vendor.js";
3
- import { dayjs as ze } from "element-plus";
4
- import { l as Be, u as je, d as Ye } from "./composition.js";
3
+ import { dayjs as Be } from "element-plus";
4
+ import { loadImage as je, useSummary as Ye, download as Le } from "./composition.js";
5
5
  import $e from "vuedraggable";
6
- import { useRoute as Le } from "vue-router";
7
- const Ee = { class: "fw700" }, Re = P({
6
+ import { useRoute as Ee } from "vue-router";
7
+ const Re = { class: "fw700" }, Pe = P({
8
8
  name: "MvcCard"
9
- }), Pe = /* @__PURE__ */ Object.assign(Re, {
9
+ }), Fe = /* @__PURE__ */ Object.assign(Pe, {
10
10
  props: {
11
11
  title: {
12
12
  type: String,
@@ -69,7 +69,7 @@ const Ee = { class: "fw700" }, Re = P({
69
69
  class: K(["mr4 block imicon im-arrow-right fw700 fs14 transition3 hover", !t(o).toggle && "rotateZ90"]),
70
70
  onClick: e
71
71
  }, null, 2),
72
- c("div", Ee, I(_.$l(V.title)), 1),
72
+ c("div", Re, I(_.$l(V.title)), 1),
73
73
  W(_.$slots, "header", {}, void 0, !0)
74
74
  ], 2)),
75
75
  c("div", {
@@ -90,9 +90,9 @@ const Ee = { class: "fw700" }, Re = P({
90
90
  ], 2)
91
91
  ], 4));
92
92
  }
93
- }), Fe = /* @__PURE__ */ ue(Pe, [["__scopeId", "data-v-348c485a"]]), Ue = { class: "SuperDatePicker" }, Ge = P({
93
+ }), Ue = /* @__PURE__ */ ue(Fe, [["__scopeId", "data-v-348c485a"]]), Ge = { class: "SuperDatePicker" }, He = P({
94
94
  name: "SuperDatePicker"
95
- }), He = /* @__PURE__ */ Object.assign(Ge, {
95
+ }), Je = /* @__PURE__ */ Object.assign(He, {
96
96
  props: {
97
97
  source: {
98
98
  type: String,
@@ -147,7 +147,7 @@ const Ee = { class: "fw700" }, Re = P({
147
147
  },
148
148
  emits: ["change", "update:modelValue"],
149
149
  setup(M, { expose: V, emit: s }) {
150
- ze.en.weekStart = 7;
150
+ Be.en.weekStart = 7;
151
151
  const e = M, o = H({
152
152
  type: "",
153
153
  date: [],
@@ -305,7 +305,7 @@ const Ee = { class: "fw700" }, Re = P({
305
305
  setDate: d
306
306
  }), (l, n) => {
307
307
  const C = N("el-date-picker");
308
- return p(), D("div", Ue, [
308
+ return p(), D("div", Ge, [
309
309
  z(C, {
310
310
  modelValue: t(o).date,
311
311
  "onUpdate:modelValue": n[0] || (n[0] = (R) => t(o).date = R),
@@ -330,9 +330,9 @@ const Ee = { class: "fw700" }, Re = P({
330
330
  ]);
331
331
  };
332
332
  }
333
- }), Je = { class: "EChart" }, Ke = ["id"], We = P({
333
+ }), Ke = { class: "EChart" }, We = ["id"], qe = P({
334
334
  name: "EChart"
335
- }), qe = /* @__PURE__ */ Object.assign(We, {
335
+ }), Ze = /* @__PURE__ */ Object.assign(qe, {
336
336
  props: {
337
337
  options: {
338
338
  type: Object,
@@ -417,7 +417,7 @@ const Ee = { class: "fw700" }, Re = P({
417
417
  chartType: ""
418
418
  });
419
419
  Te(() => {
420
- a.chartID = `chart${+/* @__PURE__ */ new Date()}${parseInt(Math.random() * 1e4)}`;
420
+ a.chartID = `chart${+/* @__PURE__ */ new Date()}${parseInt(Math.random() * 1e4)}`, u.light.className += ` ${a.chartID}`, u.dark.className += ` ${a.chartID}`;
421
421
  }), re(() => {
422
422
  a.mounted = !0, a.chart = Ce(
423
423
  window.$ecs.init(o.$refs.chart, { renderer: "svg" })
@@ -613,20 +613,20 @@ const Ee = { class: "fw700" }, Re = P({
613
613
  // },
614
614
  }
615
615
  };
616
- return (m, S) => (p(), D("div", Je, [
616
+ return (m, S) => (p(), D("div", Ke, [
617
617
  c("div", {
618
618
  ref: "chart",
619
619
  style: me(t(r)),
620
620
  id: t(a).chartID
621
- }, null, 12, Ke)
621
+ }, null, 12, We)
622
622
  ]));
623
623
  }
624
- }), Ze = /* @__PURE__ */ ue(qe, [["__scopeId", "data-v-1ca6c9cd"]]), Qe = {
624
+ }), Qe = /* @__PURE__ */ ue(Ze, [["__scopeId", "data-v-e57a751a"]]), Xe = {
625
625
  class: "MvcIcon",
626
626
  "aria-hidden": "true"
627
- }, Xe = ["xlink:href"], et = P({
627
+ }, et = ["xlink:href"], tt = P({
628
628
  name: "MvcIcon"
629
- }), tt = /* @__PURE__ */ Object.assign(et, {
629
+ }), ot = /* @__PURE__ */ Object.assign(tt, {
630
630
  props: {
631
631
  name: {
632
632
  type: String,
@@ -634,15 +634,15 @@ const Ee = { class: "fw700" }, Re = P({
634
634
  }
635
635
  },
636
636
  setup(M) {
637
- return (V, s) => (p(), D("svg", Qe, [
637
+ return (V, s) => (p(), D("svg", Xe, [
638
638
  c("use", {
639
639
  "xlink:href": `#imc-${M.name}`
640
- }, null, 8, Xe)
640
+ }, null, 8, et)
641
641
  ]));
642
642
  }
643
- }), ot = { class: "SuperImage" }, lt = { class: "flexMode hc vc hp100 bg-gray1 radius4" }, at = { class: "fs10-i lh1" }, nt = P({
643
+ }), lt = { class: "SuperImage" }, at = { class: "flexMode hc vc hp100 bg-gray1 radius4" }, nt = { class: "fs10-i lh1" }, st = P({
644
644
  name: "SuperImage"
645
- }), st = /* @__PURE__ */ Object.assign(nt, {
645
+ }), rt = /* @__PURE__ */ Object.assign(st, {
646
646
  props: {
647
647
  imageClass: {
648
648
  type: String,
@@ -662,7 +662,7 @@ const Ee = { class: "fw700" }, Re = P({
662
662
  a();
663
663
  });
664
664
  const _ = V, a = async () => {
665
- const h = await Be(o.$attrs.src);
665
+ const h = await je(o.$attrs.src);
666
666
  if (!h)
667
667
  return;
668
668
  const { height: x, width: O } = h;
@@ -670,7 +670,7 @@ const Ee = { class: "fw700" }, Re = P({
670
670
  };
671
671
  return (h, x) => {
672
672
  const O = N("el-image");
673
- return p(), D("div", ot, [
673
+ return p(), D("div", lt, [
674
674
  z(O, Z({
675
675
  "min-scale": 0.9,
676
676
  "max-scale": 1.8,
@@ -683,8 +683,8 @@ const Ee = { class: "fw700" }, Re = P({
683
683
  c("i", { class: "imicon im-loading ani-rotate" }, null, -1)
684
684
  ])]),
685
685
  error: b(() => [
686
- c("div", lt, [
687
- c("span", at, I(h.$l("Fail")), 1)
686
+ c("div", at, [
687
+ c("span", nt, I(h.$l("Fail")), 1)
688
688
  ])
689
689
  ]),
690
690
  _: 1
@@ -692,9 +692,9 @@ const Ee = { class: "fw700" }, Re = P({
692
692
  ]);
693
693
  };
694
694
  }
695
- }), rt = { class: "SuperInput" }, it = P({
695
+ }), it = { class: "SuperInput" }, dt = P({
696
696
  name: "SuperInput"
697
- }), dt = /* @__PURE__ */ Object.assign(it, {
697
+ }), ut = /* @__PURE__ */ Object.assign(dt, {
698
698
  props: {
699
699
  modelValue: {
700
700
  type: String,
@@ -759,7 +759,7 @@ const Ee = { class: "fw700" }, Re = P({
759
759
  focus: f
760
760
  }), (u, m) => {
761
761
  const S = N("el-input"), d = Ae("focus");
762
- return p(), D("div", rt, [
762
+ return p(), D("div", it, [
763
763
  De((p(), L(S, Z({
764
764
  ref: "input",
765
765
  modelValue: t(o).v,
@@ -816,15 +816,15 @@ const Ee = { class: "fw700" }, Re = P({
816
816
  ]);
817
817
  };
818
818
  }
819
- }), ut = { class: "SuperMultipleSelect relative" }, ct = {
819
+ }), ct = { class: "SuperMultipleSelect relative" }, pt = {
820
820
  key: 0,
821
821
  class: "flexMode vc hb h40 outsideIgnore"
822
- }, pt = {
822
+ }, mt = {
823
823
  key: 1,
824
824
  class: "flexMode vc hb h40 outsideIgnore"
825
- }, mt = { class: "flexMode vc g4 fs14 noevent" }, ft = { class: "txt-primary" }, gt = { class: "txt-dark5" }, yt = { class: "txt-primary" }, ht = { class: "txt-dark5" }, _t = P({
825
+ }, ft = { class: "flexMode vc g4 fs14 noevent" }, gt = { class: "txt-primary" }, yt = { class: "txt-dark5" }, ht = { class: "txt-primary" }, _t = { class: "txt-dark5" }, bt = P({
826
826
  name: "SuperMultipleSelect"
827
- }), bt = /* @__PURE__ */ Object.assign(_t, {
827
+ }), vt = /* @__PURE__ */ Object.assign(bt, {
828
828
  props: {
829
829
  modelValue: {
830
830
  type: Array,
@@ -860,7 +860,7 @@ const Ee = { class: "fw700" }, Re = P({
860
860
  blur: A
861
861
  }), (k, u) => {
862
862
  const m = N("el-button"), S = N("el-option"), d = N("el-select");
863
- return p(), D("div", ut, [
863
+ return p(), D("div", ct, [
864
864
  z(d, Z({
865
865
  ref: "select",
866
866
  modelValue: t(o).v,
@@ -902,9 +902,9 @@ const Ee = { class: "fw700" }, Re = P({
902
902
  t(f) ? void 0 : {
903
903
  name: "header",
904
904
  fn: b(() => [
905
- k.$slots.header ? (p(), D("div", ct, [
905
+ k.$slots.header ? (p(), D("div", pt, [
906
906
  W(k.$slots, "header", {}, void 0, !0)
907
- ])) : (p(), D("div", pt, [
907
+ ])) : (p(), D("div", mt, [
908
908
  t(w) ? (p(), L(m, {
909
909
  key: 0,
910
910
  type: "primary",
@@ -925,10 +925,10 @@ const Ee = { class: "fw700" }, Re = P({
925
925
  ]),
926
926
  _: 1
927
927
  })),
928
- c("div", mt, [
929
- c("span", ft, I(t(o).v.length), 1),
928
+ c("div", ft, [
929
+ c("span", gt, I(t(o).v.length), 1),
930
930
  u[1] || (u[1] = c("span", { class: "txt-dark3" }, "/", -1)),
931
- c("span", gt, I(t(f) || e.options.length), 1)
931
+ c("span", yt, I(t(f) || e.options.length), 1)
932
932
  ])
933
933
  ]))
934
934
  ]),
@@ -946,19 +946,19 @@ const Ee = { class: "fw700" }, Re = P({
946
946
  key: 0,
947
947
  class: K(["countArea abs flexMode vc p4 fs12", t(r) && "nowrap"])
948
948
  }, [
949
- c("span", yt, I(t(o).v.length), 1),
949
+ c("span", ht, I(t(o).v.length), 1),
950
950
  u[2] || (u[2] = c("span", { class: "txt-dark3" }, "/", -1)),
951
- c("span", ht, I(t(f)), 1)
951
+ c("span", _t, I(t(f)), 1)
952
952
  ], 2)) : Y("", !0)
953
953
  ]);
954
954
  };
955
955
  }
956
- }), vt = /* @__PURE__ */ ue(bt, [["__scopeId", "data-v-278f3960"]]), wt = { class: "SuperNodata" }, Ve = {
956
+ }), wt = /* @__PURE__ */ ue(vt, [["__scopeId", "data-v-278f3960"]]), $t = { class: "SuperNodata" }, Ve = {
957
957
  data: "No Data",
958
958
  selection: "Unselected"
959
- }, $t = P({
959
+ }, St = P({
960
960
  name: "SuperNodata"
961
- }), St = /* @__PURE__ */ Object.assign($t, {
961
+ }), Ct = /* @__PURE__ */ Object.assign(St, {
962
962
  props: {
963
963
  size: {
964
964
  type: [String, Number],
@@ -978,7 +978,7 @@ const Ee = { class: "fw700" }, Re = P({
978
978
  const V = M, s = g(() => Number(V.size)), e = g(() => V.txt ? window.$l(V.txt) : window.$l(Ve[V.type]));
979
979
  return (o, _) => {
980
980
  const a = N("el-empty");
981
- return p(), D("div", wt, [
981
+ return p(), D("div", $t, [
982
982
  z(a, {
983
983
  "image-size": t(s),
984
984
  description: t(e)
@@ -986,15 +986,15 @@ const Ee = { class: "fw700" }, Re = P({
986
986
  ]);
987
987
  };
988
988
  }
989
- }), Ct = /* @__PURE__ */ ue(St, [["__scopeId", "data-v-0714983f"]]), kt = { class: "Page relative yscroll vh100" }, xt = {
989
+ }), kt = /* @__PURE__ */ ue(Ct, [["__scopeId", "data-v-0714983f"]]), xt = { class: "Page relative yscroll vh100" }, Vt = {
990
990
  key: 1,
991
991
  class: "title fw700 fs24"
992
- }, Vt = {
992
+ }, Ot = {
993
993
  class: "PageFooter flexMode vc g8 fs14",
994
994
  style: { padding: "14px 30px 24px 30px" }
995
- }, Ot = { class: "txt-dark5" }, Tt = { class: "txt-primary" }, At = { class: "txt-dark5" }, Dt = P({
995
+ }, Tt = { class: "txt-dark5" }, At = { class: "txt-primary" }, Dt = { class: "txt-dark5" }, Mt = P({
996
996
  name: "Page"
997
- }), Mt = /* @__PURE__ */ Object.assign(Dt, {
997
+ }), Nt = /* @__PURE__ */ Object.assign(Mt, {
998
998
  props: {
999
999
  loading: {
1000
1000
  type: Boolean,
@@ -1019,7 +1019,7 @@ const Ee = { class: "fw700" }, Re = P({
1019
1019
  }));
1020
1020
  return (o, _) => {
1021
1021
  const a = N("Loading");
1022
- return p(), D("div", kt, [
1022
+ return p(), D("div", xt, [
1023
1023
  z(a, {
1024
1024
  loading: V.loading
1025
1025
  }, null, 8, ["loading"]),
@@ -1027,7 +1027,7 @@ const Ee = { class: "fw700" }, Re = P({
1027
1027
  key: 0,
1028
1028
  class: K(["PageHeader h80 p0-30 flexMode vc hb z9 xscroll nobar", V.headerClass])
1029
1029
  }, [
1030
- o.$slots.title ? W(o.$slots, "title", { key: 0 }, void 0, !0) : V.title ? (p(), D("div", xt, I(o.$l(V.title)), 1)) : Y("", !0),
1030
+ o.$slots.title ? W(o.$slots, "title", { key: 0 }, void 0, !0) : V.title ? (p(), D("div", Vt, I(o.$l(V.title)), 1)) : Y("", !0),
1031
1031
  W(o.$slots, "tool", {}, void 0, !0)
1032
1032
  ], 2)),
1033
1033
  c("div", {
@@ -1036,18 +1036,18 @@ const Ee = { class: "fw700" }, Re = P({
1036
1036
  }, [
1037
1037
  W(o.$slots, "default", {}, void 0, !0)
1038
1038
  ], 4),
1039
- c("div", Vt, [
1040
- c("span", Ot, I(t(s).copyright), 1),
1041
- c("span", Tt, I(t(s).campany), 1),
1042
- c("span", At, I(t(s).email), 1)
1039
+ c("div", Ot, [
1040
+ c("span", Tt, I(t(s).copyright), 1),
1041
+ c("span", At, I(t(s).campany), 1),
1042
+ c("span", Dt, I(t(s).email), 1)
1043
1043
  ])
1044
1044
  ]);
1045
1045
  };
1046
1046
  }
1047
- }), Nt = /* @__PURE__ */ ue(Mt, [["__scopeId", "data-v-9aa531a1"]]), It = { class: "MvcTableHeaderTool" }, zt = { class: "ToolArea" }, Bt = P({
1047
+ }), It = /* @__PURE__ */ ue(Nt, [["__scopeId", "data-v-9aa531a1"]]), zt = { class: "MvcTableHeaderTool" }, Bt = { class: "ToolArea" }, jt = P({
1048
1048
  name: "MvcTableHeaderTool",
1049
1049
  inheritAttrs: !1
1050
- }), jt = /* @__PURE__ */ Object.assign(Bt, {
1050
+ }), Yt = /* @__PURE__ */ Object.assign(jt, {
1051
1051
  props: {
1052
1052
  tableName: {
1053
1053
  type: String,
@@ -1175,8 +1175,8 @@ const Ee = { class: "fw700" }, Re = P({
1175
1175
  ];
1176
1176
  return (d, i) => {
1177
1177
  const $ = N("el-button"), y = N("Drawer");
1178
- return p(), D("div", It, [
1179
- c("div", zt, [
1178
+ return p(), D("div", zt, [
1179
+ c("div", Bt, [
1180
1180
  t(m) ? (p(), L($, {
1181
1181
  key: 0,
1182
1182
  plain: "",
@@ -1230,19 +1230,19 @@ const Ee = { class: "fw700" }, Re = P({
1230
1230
  ]);
1231
1231
  };
1232
1232
  }
1233
- }), Yt = /* @__PURE__ */ ue(jt, [["__scopeId", "data-v-85db0009"]]), Lt = { class: "HeaderArea" }, Et = {
1233
+ }), Lt = /* @__PURE__ */ ue(Yt, [["__scopeId", "data-v-85db0009"]]), Et = { class: "HeaderArea" }, Rt = {
1234
1234
  key: 0,
1235
1235
  class: "flexGrow xscroll nobar"
1236
- }, Rt = {
1236
+ }, Pt = {
1237
1237
  key: 1,
1238
1238
  class: "titleArea"
1239
- }, Pt = { key: 2 }, Ft = {
1239
+ }, Ft = { key: 2 }, Ut = {
1240
1240
  key: 0,
1241
1241
  class: "filterRowArea"
1242
- }, Ut = P({
1242
+ }, Gt = P({
1243
1243
  name: "MvcTableHeader",
1244
1244
  inheritAttrs: !1
1245
- }), Gt = /* @__PURE__ */ Object.assign(Ut, {
1245
+ }), Ht = /* @__PURE__ */ Object.assign(Gt, {
1246
1246
  props: {
1247
1247
  title: {
1248
1248
  type: String,
@@ -1275,22 +1275,22 @@ const Ee = { class: "fw700" }, Re = P({
1275
1275
  class: "MvcTableHeader",
1276
1276
  style: me(s.filterTagShow ? "padding-bottom: 2px !important" : "")
1277
1277
  }, [
1278
- c("div", Lt, [
1279
- e.$slots.default ? (p(), D("div", Et, [
1278
+ c("div", Et, [
1279
+ e.$slots.default ? (p(), D("div", Rt, [
1280
1280
  W(e.$slots, "default", {}, void 0, !0)
1281
- ])) : s.title ? (p(), D("div", Rt, I(s.title), 1)) : (p(), D("div", Pt)),
1282
- e.$attrs.tool !== !1 ? (p(), L(Yt, Z({ key: 3 }, e.$attrs, {
1281
+ ])) : s.title ? (p(), D("div", Pt, I(s.title), 1)) : (p(), D("div", Ft)),
1282
+ e.$attrs.tool !== !1 ? (p(), L(Lt, Z({ key: 3 }, e.$attrs, {
1283
1283
  "table-name": s.tableName,
1284
1284
  total: s.total,
1285
1285
  "show-total-chosen": s.showTotalChosen
1286
1286
  }), null, 16, ["table-name", "total", "show-total-chosen"])) : Y("", !0)
1287
1287
  ]),
1288
- e.$slots.filterRow ? (p(), D("div", Ft, [
1288
+ e.$slots.filterRow ? (p(), D("div", Ut, [
1289
1289
  W(e.$slots, "filterRow", {}, void 0, !0)
1290
1290
  ])) : Y("", !0)
1291
1291
  ], 4));
1292
1292
  }
1293
- }), Ht = /* @__PURE__ */ ue(Gt, [["__scopeId", "data-v-96825df6"]]), Jt = P({
1293
+ }), Jt = /* @__PURE__ */ ue(Ht, [["__scopeId", "data-v-96825df6"]]), Kt = P({
1294
1294
  name: "MvcTableColumnFilter",
1295
1295
  props: {
1296
1296
  tableName: {
@@ -1368,15 +1368,15 @@ const Ee = { class: "fw700" }, Re = P({
1368
1368
  }
1369
1369
  return a = a.sort((x, O) => x.props.sort - O.props.sort), () => a;
1370
1370
  }
1371
- }), Kt = { class: "MvcTableFooter" }, Wt = { class: "FooterArea xscroll nobar" }, qt = { class: "flexMode vc g8" }, Zt = {
1371
+ }), Wt = { class: "MvcTableFooter" }, qt = { class: "FooterArea xscroll nobar" }, Zt = { class: "flexMode vc g8" }, Qt = {
1372
1372
  key: 1,
1373
1373
  class: "flexMode vc g4 fs14"
1374
- }, Qt = { class: "txt-dark3" }, Xt = { class: "flexMode vc" }, eo = { class: "txt-blue" }, to = {
1374
+ }, Xt = { class: "txt-dark3" }, eo = { class: "flexMode vc" }, to = { class: "txt-blue" }, oo = {
1375
1375
  key: 2,
1376
1376
  class: "flexMode vc g4 fs14"
1377
- }, oo = { class: "txt-dark3" }, lo = { class: "flexMode vc" }, ao = { class: "txt-blue" }, no = { class: "txt-dark7" }, so = { class: "flexMode vc g4 fs14" }, ro = { class: "txt-dark3" }, io = { class: "txt-dark7" }, uo = P({
1377
+ }, lo = { class: "txt-dark3" }, ao = { class: "flexMode vc" }, no = { class: "txt-blue" }, so = { class: "txt-dark7" }, ro = { class: "flexMode vc g4 fs14" }, io = { class: "txt-dark3" }, uo = { class: "txt-dark7" }, co = P({
1378
1378
  name: "MvcTableFooter"
1379
- }), co = /* @__PURE__ */ Object.assign(uo, {
1379
+ }), po = /* @__PURE__ */ Object.assign(co, {
1380
1380
  props: {
1381
1381
  pageNum: {
1382
1382
  type: Number,
@@ -1448,8 +1448,8 @@ const Ee = { class: "fw700" }, Re = P({
1448
1448
  ];
1449
1449
  return (r, k) => {
1450
1450
  const u = N("el-option"), m = N("el-select"), S = N("el-pagination");
1451
- return p(), D("div", Kt, [
1452
- c("div", Wt, [
1451
+ return p(), D("div", Wt, [
1452
+ c("div", qt, [
1453
1453
  z(S, {
1454
1454
  ref: "pagination",
1455
1455
  background: "",
@@ -1465,14 +1465,14 @@ const Ee = { class: "fw700" }, Re = P({
1465
1465
  class: "wp100"
1466
1466
  }, {
1467
1467
  default: b(() => [
1468
- c("div", qt, [
1468
+ c("div", Zt, [
1469
1469
  s.nosummary ? Y("", !0) : (p(), L(m, {
1470
1470
  key: 0,
1471
1471
  modelValue: t(e).summaryMode,
1472
1472
  "onUpdate:modelValue": k[0] || (k[0] = (d) => t(e).summaryMode = d),
1473
1473
  placeholder: " ",
1474
- class: "w160-i",
1475
- size: "default",
1474
+ class: "w160",
1475
+ size: "normal",
1476
1476
  onChange: h
1477
1477
  }, {
1478
1478
  prefix: b(() => [
@@ -1487,23 +1487,23 @@ const Ee = { class: "fw700" }, Re = P({
1487
1487
  ]),
1488
1488
  _: 1
1489
1489
  }, 8, ["modelValue"])),
1490
- s.selectionLength ? (p(), D("div", Zt, [
1491
- c("div", Qt, I(r.$l("Selected")), 1),
1492
- c("div", Xt, [
1493
- c("span", eo, I(s.selectionLength), 1)
1490
+ s.selectionLength ? (p(), D("div", Qt, [
1491
+ c("div", Xt, I(r.$l("Selected")), 1),
1492
+ c("div", eo, [
1493
+ c("span", to, I(s.selectionLength), 1)
1494
1494
  ])
1495
1495
  ])) : Y("", !0),
1496
- t(x) ? (p(), D("div", to, [
1497
- c("div", oo, I(r.$l("Current")), 1),
1498
- c("div", lo, [
1499
- c("span", ao, I(r.$fa(s.filterTotal, 0)), 1),
1496
+ t(x) ? (p(), D("div", oo, [
1497
+ c("div", lo, I(r.$l("Current")), 1),
1498
+ c("div", ao, [
1499
+ c("span", no, I(r.$fa(s.filterTotal, 0)), 1),
1500
1500
  k[2] || (k[2] = c("span", { class: "p0-2 txt-dark3" }, "/", -1)),
1501
- c("span", no, I(r.$fa(s.rows, 0)), 1)
1501
+ c("span", so, I(r.$fa(s.rows, 0)), 1)
1502
1502
  ])
1503
1503
  ])) : Y("", !0),
1504
- c("div", so, [
1505
- c("div", ro, I(r.$l("Total")), 1),
1506
- c("div", io, I(r.$fa(s.total, 0)), 1)
1504
+ c("div", ro, [
1505
+ c("div", io, I(r.$l("Total")), 1),
1506
+ c("div", uo, I(r.$fa(s.total, 0)), 1)
1507
1507
  ])
1508
1508
  ])
1509
1509
  ]),
@@ -1513,7 +1513,7 @@ const Ee = { class: "fw700" }, Re = P({
1513
1513
  ]);
1514
1514
  };
1515
1515
  }
1516
- }), po = /* @__PURE__ */ ue(co, [["__scopeId", "data-v-1fe1d414"]]), mo = ["id"], fo = P({
1516
+ }), Ne = /* @__PURE__ */ ue(po, [["__scopeId", "data-v-1cd61412"]]), mo = ["id"], fo = P({
1517
1517
  name: "MvcTableGroupMain",
1518
1518
  inheritAttrs: !1
1519
1519
  }), go = /* @__PURE__ */ Object.assign(fo, {
@@ -1650,7 +1650,7 @@ const Ee = { class: "fw700" }, Re = P({
1650
1650
  C();
1651
1651
  }, f = (j) => {
1652
1652
  o.summaryMode = j;
1653
- }, r = ({ columns: j, data: G }) => je({ columns: j, data: G, currency: window.currency }), k = (j = {}) => {
1653
+ }, r = ({ columns: j, data: G }) => Ye({ columns: j, data: G, currency: window.currency }), k = (j = {}) => {
1654
1654
  let { v: G = e.filter } = j;
1655
1655
  G || (G = j);
1656
1656
  const E = Object.keys(G), ee = [];
@@ -1777,7 +1777,7 @@ const Ee = { class: "fw700" }, Re = P({
1777
1777
  onToggleRowSelection: $
1778
1778
  }, {
1779
1779
  default: b(() => [
1780
- z(t(Jt), {
1780
+ z(t(Kt), {
1781
1781
  "table-name": e.tableName,
1782
1782
  group: e.groupInfo
1783
1783
  }, {
@@ -1789,7 +1789,7 @@ const Ee = { class: "fw700" }, Re = P({
1789
1789
  ]),
1790
1790
  _: 3
1791
1791
  }, 8, ["data", "row-key", "height", "default-sort", "show-summary", "summary-method", "cell-class-name"])),
1792
- e.nofooter ? Y("", !0) : (p(), L(po, Z({
1792
+ e.nofooter ? Y("", !0) : (p(), L(Ne, Z({
1793
1793
  key: 0,
1794
1794
  ref: "footer"
1795
1795
  }, j.$attrs, {
@@ -1810,7 +1810,7 @@ const Ee = { class: "fw700" }, Re = P({
1810
1810
  ], 10, mo);
1811
1811
  };
1812
1812
  }
1813
- }), yo = /* @__PURE__ */ ue(go, [["__scopeId", "data-v-4ad79842"]]), ho = P({
1813
+ }), yo = /* @__PURE__ */ ue(go, [["__scopeId", "data-v-b05a08f4"]]), ho = P({
1814
1814
  name: "Table",
1815
1815
  inheritAttrs: !1
1816
1816
  }), _o = /* @__PURE__ */ Object.assign(ho, {
@@ -1894,7 +1894,7 @@ const Ee = { class: "fw700" }, Re = P({
1894
1894
  }), (l, n) => (p(), D("div", {
1895
1895
  class: K(["Table", o.tableClass])
1896
1896
  }, [
1897
- o.noheader ? Y("", !0) : (p(), L(Ht, Z({
1897
+ o.noheader ? Y("", !0) : (p(), L(Jt, Z({
1898
1898
  key: 0,
1899
1899
  ref_key: "header",
1900
1900
  ref: a
@@ -3084,7 +3084,7 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3084
3084
  return (h, x) => (p(), D("div", {
3085
3085
  class: K(["SuperCountry", o.nowrap && "nowrap"])
3086
3086
  }, [
3087
- (p(), L(Ne(t(_)), Z(h.$attrs, {
3087
+ (p(), L(Ie(t(_)), Z(h.$attrs, {
3088
3088
  "collapse-tags": t(a),
3089
3089
  "collapse-tags-tooltip": t(a)
3090
3090
  }), null, 16, ["collapse-tags", "collapse-tags-tooltip"]))
@@ -3322,7 +3322,7 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3322
3322
  const O = V.placeholder || "Status";
3323
3323
  return window.$l(O);
3324
3324
  });
3325
- Ie(() => {
3325
+ ze(() => {
3326
3326
  s.v = V.modelValue;
3327
3327
  });
3328
3328
  const x = window.$map.statusMap;
@@ -3372,16 +3372,17 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3372
3372
  };
3373
3373
  }
3374
3374
  }), Oe = {
3375
- Card: Fe,
3376
- DatePicker: He,
3377
- EChart: Ze,
3378
- Icon: tt,
3379
- Image: st,
3380
- Input: dt,
3381
- MultipleSelect: vt,
3382
- Nodata: Ct,
3383
- Page: Nt,
3375
+ Card: Ue,
3376
+ DatePicker: Je,
3377
+ EChart: Qe,
3378
+ Icon: ot,
3379
+ Image: rt,
3380
+ Input: ut,
3381
+ MultipleSelect: wt,
3382
+ Nodata: kt,
3383
+ Page: It,
3384
3384
  Table: bo,
3385
+ TableFooter: Ne,
3385
3386
  Textarea: Co,
3386
3387
  AiApp: Ao,
3387
3388
  AiOrg: jo,
@@ -3788,7 +3789,7 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3788
3789
  useCountryName: !1,
3789
3790
  // 使用国家名称
3790
3791
  widthTableHead: !0
3791
- }), { proxy: o } = se(), _ = Le();
3792
+ }), { proxy: o } = se(), _ = Ee();
3792
3793
  re(() => {
3793
3794
  x();
3794
3795
  });
@@ -3840,7 +3841,7 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3840
3841
  }, k = () => {
3841
3842
  const l = f(",", !0);
3842
3843
  let n = S.value;
3843
- e.filename ? n ? n += `_${e.filename}` : n = e.filename : n || (n = i.value), Ye({
3844
+ e.filename ? n ? n += `_${e.filename}` : n = e.filename : n || (n = i.value), Le({
3844
3845
  type: "csv",
3845
3846
  name: n,
3846
3847
  data: l
@@ -3872,7 +3873,7 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3872
3873
  placeholder: l.$l(t(S)),
3873
3874
  class: "inputGroupLeft"
3874
3875
  }, {
3875
- prefix: b(() => [...n[8] || (n[8] = [
3876
+ prefix: b(() => [...n[9] || (n[9] = [
3876
3877
  c("i", { class: "imicon im-file" }, null, -1)
3877
3878
  ])]),
3878
3879
  _: 1
@@ -3884,7 +3885,7 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3884
3885
  type: "primary",
3885
3886
  onClick: k
3886
3887
  }, {
3887
- icon: b(() => [...n[9] || (n[9] = [
3888
+ icon: b(() => [...n[10] || (n[10] = [
3888
3889
  c("i", { class: "imicon im-download1" }, null, -1)
3889
3890
  ])]),
3890
3891
  default: b(() => [
@@ -3900,7 +3901,8 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3900
3901
  z(F, null, {
3901
3902
  default: b(() => [
3902
3903
  c("div", sa, [
3903
- c("span", ra, I(t(e).downloadAll ? l.$l("Total in All Pages: ") : l.$l("Total in Current Page: ")), 1),
3904
+ c("span", ra, I(t(e).downloadAll ? l.$l("Total in All Pages") : l.$l("Total in Current Page")), 1),
3905
+ n[7] || (n[7] = c("span", { class: "pr4" }, ":", -1)),
3904
3906
  c("span", ia, I(t(y).length), 1)
3905
3907
  ]),
3906
3908
  s.params.showTotalChosen ? (p(), D("div", da, [
@@ -3935,7 +3937,7 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3935
3937
  size: "default",
3936
3938
  onClick: r
3937
3939
  }, {
3938
- icon: b(() => [...n[7] || (n[7] = [
3940
+ icon: b(() => [...n[8] || (n[8] = [
3939
3941
  c("i", { class: "imicon im-copy" }, null, -1)
3940
3942
  ])]),
3941
3943
  default: b(() => [
@@ -3986,7 +3988,7 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3986
3988
  _: 1
3987
3989
  }, 8, ["modelValue"])
3988
3990
  ]),
3989
- n[10] || (n[10] = c("div", { class: "TheEnd" }, null, -1))
3991
+ n[11] || (n[11] = c("div", { class: "TheEnd" }, null, -1))
3990
3992
  ]),
3991
3993
  _: 1
3992
3994
  });