@lemon30_npm/csit-vue3 1.0.67 → 1.0.68

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/csit-vue3.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, createElementBlock as p, openBlock as n, createElementVNode as d, renderSlot as R, createCommentVNode as x, normalizeStyle as H, toDisplayString as P, ref as M, watch as Y, nextTick as O, onBeforeUnmount as M1, reactive as H1, createVNode as k, mergeProps as o1, withCtx as w, Fragment as I, renderList as J, createBlock as z, computed as N, createSlots as F1, createTextVNode as G, onMounted as k1, normalizeClass as U, withDirectives as I1, vShow as D1, useSlots as P1, onUnmounted as Y1, unref as V, useAttrs as X1, mergeDefaults as J1, normalizeProps as $1, guardReactiveProps as e5 } from "vue";
1
+ import { defineComponent as D, createElementBlock as p, openBlock as n, createElementVNode as r, renderSlot as R, createCommentVNode as x, normalizeStyle as H, toDisplayString as P, ref as M, watch as Y, nextTick as z, onBeforeUnmount as M1, reactive as H1, createVNode as k, mergeProps as o1, withCtx as w, Fragment as I, renderList as J, createBlock as V, computed as N, createSlots as F1, createTextVNode as G, onMounted as k1, normalizeClass as U, withDirectives as I1, vShow as D1, useSlots as P1, onUnmounted as Y1, unref as O, useAttrs as X1, mergeDefaults as J1, normalizeProps as $1, guardReactiveProps as e5 } from "vue";
2
2
  import * as X from "echarts/core";
3
3
  import { TitleComponent as t5, TooltipComponent as O1, LegendComponent as V1, GridComponent as C5, DataZoomComponent as o5, VisualMapComponent as a5, MarkPointComponent as l5, ToolboxComponent as s5 } from "echarts/components";
4
4
  import { PieChart as i5, BarChart as n5, MapChart as c5, ScatterChart as r5 } from "echarts/charts";
@@ -22,14 +22,14 @@ const v5 = { class: "CiBlueLineTitle" }, Z5 = { class: "BlueLineTitle-left" }, x
22
22
  setup(e) {
23
23
  const C = e;
24
24
  return (t, o) => (n(), p("div", v5, [
25
- d("div", Z5, [
26
- d("div", x5, [
27
- d("div", {
25
+ r("div", Z5, [
26
+ r("div", x5, [
27
+ r("div", {
28
28
  class: "line-area",
29
29
  style: H({ backgroundColor: t.color })
30
30
  }, null, 4),
31
31
  t.$slots.default ? x("", !0) : (n(), p("span", w5, P(C.title), 1)),
32
- d("div", L5, [
32
+ r("div", L5, [
33
33
  R(t.$slots, "default", {}, void 0, !0)
34
34
  ])
35
35
  ]),
@@ -62,7 +62,7 @@ const b5 = ["xlink:href", "fill"], R5 = {
62
62
  return (C, t) => (n(), p("svg", {
63
63
  style: H({ width: C.width, height: C.height })
64
64
  }, [
65
- d("use", {
65
+ r("use", {
66
66
  "xlink:href": C.prefix + C.name,
67
67
  fill: C.color
68
68
  }, null, 8, b5)
@@ -132,7 +132,7 @@ const I5 = {
132
132
  return Y(
133
133
  () => o.option,
134
134
  () => {
135
- O(() => {
135
+ z(() => {
136
136
  typeof window > "u" || l();
137
137
  });
138
138
  },
@@ -186,7 +186,7 @@ const G5 = {
186
186
  return Y(
187
187
  () => o.option,
188
188
  (a, i) => {
189
- O(() => {
189
+ z(() => {
190
190
  l();
191
191
  });
192
192
  },
@@ -1415,27 +1415,27 @@ const V5 = {
1415
1415
  ]), X.registerMap("china", V5);
1416
1416
  const t = M(null);
1417
1417
  let o = null, l = H1(z5);
1418
- const a = e, i = () => (x1.forEach((r) => {
1418
+ const a = e, i = () => (x1.forEach((d) => {
1419
1419
  const m = a.ChinaMapData.find(
1420
- (u) => u[a.props.name] === r.name
1420
+ (u) => u[a.props.name] === d.name
1421
1421
  );
1422
- m ? r.value = m[a.props.value] : r.value = void 0;
1423
- }), x1), f = () => {
1424
- const r = a.ChinaMapData.find((m) => m[a.props.name] === "南海诸岛");
1425
- r ? r.label = { ...r.label, offset: a.nanhaizhudaoLabelOffset } : a.ChinaMapData.push(w1[0]);
1422
+ m ? d.value = m[a.props.value] : d.value = void 0;
1423
+ }), x1), g = () => {
1424
+ const d = a.ChinaMapData.find((m) => m[a.props.name] === "南海诸岛");
1425
+ d ? d.label = { ...d.label, offset: a.nanhaizhudaoLabelOffset } : a.ChinaMapData.push(w1[0]);
1426
1426
  };
1427
1427
  Y(
1428
1428
  () => a.fragmentOption,
1429
- (r, m) => {
1430
- Object.assign(l, a.fragmentOption), O(() => {
1429
+ (d, m) => {
1430
+ Object.assign(l, a.fragmentOption), z(() => {
1431
1431
  c();
1432
1432
  });
1433
1433
  },
1434
1434
  { deep: !0, immediate: !0 }
1435
1435
  ), Y(
1436
1436
  () => a.ChinaMapData,
1437
- (r, m) => {
1438
- f(), l.series[0].data = a.ChinaMapData, a.showSpecialMarkPoint ? l.series[0].markPoint.data = i() : l.series[0].markPoint.data = [], O(() => {
1437
+ (d, m) => {
1438
+ g(), l.series[0].data = a.ChinaMapData, a.showSpecialMarkPoint ? l.series[0].markPoint.data = i() : l.series[0].markPoint.data = [], z(() => {
1439
1439
  c();
1440
1440
  });
1441
1441
  }
@@ -1451,7 +1451,7 @@ const V5 = {
1451
1451
  }
1452
1452
  return M1(() => {
1453
1453
  o && o.dispose();
1454
- }), C({ OriginSpecialAreaMarkPoint: x1 }), (r, m) => (n(), p("div", {
1454
+ }), C({ OriginSpecialAreaMarkPoint: x1 }), (d, m) => (n(), p("div", {
1455
1455
  id: "CiEchartChinaMap",
1456
1456
  ref_key: "chartRef",
1457
1457
  ref: t
@@ -1529,11 +1529,11 @@ const q5 = [
1529
1529
  const u = o.shortcuts.filter((v) => v.text === m)[0];
1530
1530
  let Q;
1531
1531
  typeof u.value == "function" ? Q = u.value() : Q = u.value, l.value = Q, t("update:date-picker-value", Q), t("date-shortcuts-change", m);
1532
- }, f = (m) => {
1532
+ }, g = (m) => {
1533
1533
  a.value = "", t("change", m || []);
1534
1534
  }, c = (m) => {
1535
1535
  l.value = m, t("update:date-picker-value", m);
1536
- }, r = (m) => {
1536
+ }, d = (m) => {
1537
1537
  a.value = m, t("update:date-shortcuts-value", m);
1538
1538
  };
1539
1539
  return Y(
@@ -1553,16 +1553,16 @@ const q5 = [
1553
1553
  "range-separator": m.rangeSeparator,
1554
1554
  "start-placeholder": m.startPlaceholder,
1555
1555
  "end-placeholder": m.endPlaceholder,
1556
- onChange: f
1556
+ onChange: g
1557
1557
  }), null, 16, ["modelValue", "shortcuts", "type", "range-separator", "start-placeholder", "end-placeholder"]),
1558
- d("div", K5, [
1558
+ r("div", K5, [
1559
1559
  k(L, {
1560
1560
  modelValue: a.value,
1561
- "onUpdate:modelValue": r,
1561
+ "onUpdate:modelValue": d,
1562
1562
  size: "small"
1563
1563
  }, {
1564
1564
  default: w(() => [
1565
- (n(!0), p(I, null, J(m.shortcuts, (E) => (n(), z(v, {
1565
+ (n(!0), p(I, null, J(m.shortcuts, (E) => (n(), V(v, {
1566
1566
  label: E.text,
1567
1567
  value: E.text,
1568
1568
  key: E.text
@@ -1591,8 +1591,8 @@ const J5 = { class: "CiTimelineList" }, $5 = { class: "TimelineList-content" },
1591
1591
  height: t
1592
1592
  });
1593
1593
  return (l, a) => (n(), p("div", J5, [
1594
- d("div", $5, [
1595
- d("div", {
1594
+ r("div", $5, [
1595
+ r("div", {
1596
1596
  class: "link-line",
1597
1597
  style: H(o.value)
1598
1598
  }, null, 4),
@@ -1600,21 +1600,21 @@ const J5 = { class: "CiTimelineList" }, $5 = { class: "TimelineList-content" },
1600
1600
  class: "time-line-item",
1601
1601
  key: i.id
1602
1602
  }, [
1603
- d("div", e2, [
1604
- a[0] || (a[0] = d("div", { class: "item-left-round" }, [
1605
- d("div", { class: "round-one" }),
1606
- d("div", { class: "round-two" }),
1607
- d("div", { class: "round-three" })
1603
+ r("div", e2, [
1604
+ a[0] || (a[0] = r("div", { class: "item-left-round" }, [
1605
+ r("div", { class: "round-one" }),
1606
+ r("div", { class: "round-two" }),
1607
+ r("div", { class: "round-three" })
1608
1608
  ], -1)),
1609
- d("div", t2, [
1610
- d("span", {
1609
+ r("div", t2, [
1610
+ r("span", {
1611
1611
  class: "span-title",
1612
1612
  title: i.title
1613
1613
  }, P(i.title), 9, C2)
1614
1614
  ])
1615
1615
  ]),
1616
- d("div", o2, [
1617
- d("div", a2, P(i.time), 1),
1616
+ r("div", o2, [
1617
+ r("div", a2, P(i.time), 1),
1618
1618
  R(l.$slots, "slot-right", { row: i }, void 0, !0)
1619
1619
  ])
1620
1620
  ]))), 128))
@@ -1637,7 +1637,7 @@ const n2 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AA
1637
1637
  class: "CiNoDataStatus",
1638
1638
  style: H({ height: C.height })
1639
1639
  }, t[0] || (t[0] = [
1640
- d("img", {
1640
+ r("img", {
1641
1641
  id: "no-data-image",
1642
1642
  src: n2,
1643
1643
  alt: ""
@@ -1732,9 +1732,9 @@ const d2 = { class: "ci-choose-all-btn__wrapper" }, p2 = {
1732
1732
  immediate: !0
1733
1733
  }
1734
1734
  );
1735
- const i = N(() => t.showRange.length !== 0 ? l.value.filter((u) => t.showRange.includes(u.value)) : l.value), f = N(() => !t.startChooseAll), c = N(() => t.noShowRange.length !== 0 ? i.value.filter((u) => !t.noShowRange.includes(u.value)) : i.value), r = C, m = (u) => {
1735
+ const i = N(() => t.showRange.length !== 0 ? l.value.filter((u) => t.showRange.includes(u.value)) : l.value), g = N(() => !t.startChooseAll), c = N(() => t.noShowRange.length !== 0 ? i.value.filter((u) => !t.noShowRange.includes(u.value)) : i.value), d = C, m = (u) => {
1736
1736
  const Q = u ? c.value.filter((v) => !v.disabled).map((v) => v.value) : [];
1737
- r("update:model-value", Q);
1737
+ d("update:model-value", Q);
1738
1738
  };
1739
1739
  return (u, Q) => {
1740
1740
  const v = v1, L = b1, E = j1, A = U1;
@@ -1745,7 +1745,7 @@ const d2 = { class: "ci-choose-all-btn__wrapper" }, p2 = {
1745
1745
  }, [
1746
1746
  k(A, o1({
1747
1747
  class: { "csit-UI-el-select-max-collapse-tags-1": u.maxCollapseTags === 1 },
1748
- clearable: f.value,
1748
+ clearable: g.value,
1749
1749
  filterable: u.filterable,
1750
1750
  "collapse-tags": u.collapseTags,
1751
1751
  "collapse-tags-tooltip": u.collapseTagsTooltip,
@@ -1758,7 +1758,7 @@ const d2 = { class: "ci-choose-all-btn__wrapper" }, p2 = {
1758
1758
  "popper-class": "CiDictionarySelect_el-select-popper"
1759
1759
  }), F1({
1760
1760
  default: w(() => [
1761
- (n(!0), p(I, null, J(c.value, (F) => (n(), z(E, {
1761
+ (n(!0), p(I, null, J(c.value, (F) => (n(), V(E, {
1762
1762
  key: F.value,
1763
1763
  label: F.label,
1764
1764
  value: F.value,
@@ -1770,7 +1770,7 @@ const d2 = { class: "ci-choose-all-btn__wrapper" }, p2 = {
1770
1770
  u.multiple && u.startChooseAll ? {
1771
1771
  name: "header",
1772
1772
  fn: w(() => [
1773
- d("div", d2, [
1773
+ r("div", d2, [
1774
1774
  k(v, {
1775
1775
  link: "",
1776
1776
  type: "primary",
@@ -1819,10 +1819,10 @@ const g2 = { class: "CiCommonListLayout" }, m2 = { class: "is-ing-skeleton-loadi
1819
1819
  slotTableSkeletonLoading: { type: Boolean, default: !1 }
1820
1820
  },
1821
1821
  setup(e) {
1822
- const C = M(null), t = M(null), o = M(null), l = M(null), a = M(null), i = M(!1), f = M(!1), c = M(0), r = M(0), m = M(0), u = M(0), Q = M(0), v = () => {
1823
- O(() => {
1822
+ const C = M(null), t = M(null), o = M(null), l = M(null), a = M(null), i = M(!1), g = M(!1), c = M(0), d = M(0), m = M(0), u = M(0), Q = M(0), v = () => {
1823
+ z(() => {
1824
1824
  var _, B, b, y, Z;
1825
- c.value = ((B = (_ = l.value) == null ? void 0 : _.parentElement) == null ? void 0 : B.offsetHeight) || window.innerHeight, r.value = ((b = C.value) == null ? void 0 : b.offsetHeight) || 0, m.value = ((y = t.value) == null ? void 0 : y.offsetHeight) || 0, u.value = ((Z = o.value) == null ? void 0 : Z.offsetHeight) || 0, Q.value = c.value - (r.value + m.value + u.value + 40);
1825
+ c.value = ((B = (_ = l.value) == null ? void 0 : _.parentElement) == null ? void 0 : B.offsetHeight) || window.innerHeight, d.value = ((b = C.value) == null ? void 0 : b.offsetHeight) || 0, m.value = ((y = t.value) == null ? void 0 : y.offsetHeight) || 0, u.value = ((Z = o.value) == null ? void 0 : Z.offsetHeight) || 0, Q.value = c.value - (d.value + m.value + u.value + 40);
1826
1826
  });
1827
1827
  }, L = () => {
1828
1828
  t.value && (a.value = new ResizeObserver(() => {
@@ -1831,25 +1831,19 @@ const g2 = { class: "CiCommonListLayout" }, m2 = { class: "is-ing-skeleton-loadi
1831
1831
  }, E = () => {
1832
1832
  if (t.value) {
1833
1833
  const _ = Array.from(t.value.children);
1834
- console.log("查询区域所有一级子元素:", _), i.value = _.some(
1834
+ i.value = _.some(
1835
1835
  (B) => B.classList.contains("CiCommonListQuery")
1836
- ), console.log(
1837
- "查询区域所有一级子元素内是否包含类名 CiCommonListQuery:",
1838
- i.value
1839
1836
  );
1840
1837
  }
1841
1838
  }, A = () => {
1842
1839
  var _;
1843
1840
  if (t.value) {
1844
1841
  const B = Array.from(t.value.children), b = B[B.length - 1];
1845
- f.value = b ? (_ = b == null ? void 0 : b.classList) == null ? void 0 : _.contains("CiCommonListQuery") : !1, console.log(
1846
- "查询区域最后一个一级子元素是否是 CiCommonListQuery 组件:",
1847
- f.value
1848
- );
1842
+ g.value = b ? (_ = b == null ? void 0 : b.classList) == null ? void 0 : _.contains("CiCommonListQuery") : !1;
1849
1843
  }
1850
1844
  }, F = N(() => Q.value <= 0 ? 0 : Math.ceil(Q.value / 84));
1851
1845
  return k1(() => {
1852
- v(), window.addEventListener("resize", v), L(), O(() => {
1846
+ v(), window.addEventListener("resize", v), L(), z(() => {
1853
1847
  E(), A();
1854
1848
  });
1855
1849
  }), M1(() => {
@@ -1870,22 +1864,22 @@ const g2 = { class: "CiCommonListLayout" }, m2 = { class: "is-ing-skeleton-loadi
1870
1864
  key: 1,
1871
1865
  ref_key: "queryRef",
1872
1866
  ref: t,
1873
- class: U(["area-query", { hasLastComponentIsCommonListQuery: f.value }])
1867
+ class: U(["area-query", { hasLastComponentIsCommonListQuery: g.value }])
1874
1868
  }, [
1875
1869
  R(_.$slots, "query", {}, void 0, !0)
1876
1870
  ], 2)) : x("", !0),
1877
- d("div", {
1871
+ r("div", {
1878
1872
  class: U(["area-table", { "is-slot-table-skeleton": _.slotTableSkeleton }]),
1879
1873
  ref_key: "tableRef",
1880
1874
  ref: l
1881
1875
  }, [
1882
- I1(d("div", m2, [
1876
+ I1(r("div", m2, [
1883
1877
  k(y, {
1884
1878
  animated: "",
1885
1879
  loading: _.slotTableSkeletonLoading
1886
1880
  }, {
1887
1881
  template: w(() => [
1888
- (n(!0), p(I, null, J(F.value, (j) => (n(), z(b, {
1882
+ (n(!0), p(I, null, J(F.value, (j) => (n(), V(b, {
1889
1883
  key: j,
1890
1884
  variant: "rect"
1891
1885
  }))), 128))
@@ -1895,7 +1889,7 @@ const g2 = { class: "CiCommonListLayout" }, m2 = { class: "is-ing-skeleton-loadi
1895
1889
  ], 512), [
1896
1890
  [D1, _.slotTableSkeleton && _.slotTableSkeletonLoading]
1897
1891
  ]),
1898
- I1(d("div", y2, [
1892
+ I1(r("div", y2, [
1899
1893
  R(_.$slots, "table", { tableHeight: Q.value }, () => [
1900
1894
  k(Z)
1901
1895
  ], !0)
@@ -1914,7 +1908,7 @@ const g2 = { class: "CiCommonListLayout" }, m2 = { class: "is-ing-skeleton-loadi
1914
1908
  ]);
1915
1909
  };
1916
1910
  }
1917
- }), _2 = /* @__PURE__ */ S(Q2, [["__scopeId", "data-v-5c7763cd"]]), f1 = _2;
1911
+ }), _2 = /* @__PURE__ */ S(Q2, [["__scopeId", "data-v-9a0ff452"]]), f1 = _2;
1918
1912
  f1.install = (e) => {
1919
1913
  e.component(f1.name, f1);
1920
1914
  };
@@ -1934,13 +1928,13 @@ const M2 = { class: "query-actions" }, v2 = {
1934
1928
  },
1935
1929
  emits: ["search", "reset", "on-enter"],
1936
1930
  setup(e, { emit: C }) {
1937
- const t = C, o = e, l = P1(), a = M(o.expanded), i = M(null), f = M(0), c = M(0), r = !!l.hiddenConditions, m = M(!1), u = M(null), Q = N(() => o.orderliness && o.labelWidth === "auto" ? "80px" : o.labelWidth), v = N(() => {
1931
+ const t = C, o = e, l = P1(), a = M(o.expanded), i = M(null), g = M(0), c = M(0), d = !!l.hiddenConditions, m = M(!1), u = M(null), Q = N(() => o.orderliness && o.labelWidth === "auto" ? "80px" : o.labelWidth), v = N(() => {
1938
1932
  const y = Q.value;
1939
1933
  return typeof y == "number" ? `${y}px` : typeof y == "string" ? /^\d+$/.test(y) ? `${y}px` : y : "auto";
1940
1934
  }), L = N(() => o.labelPosition || "right"), E = async () => {
1941
- if (await O(), !i.value) return;
1935
+ if (await z(), !i.value) return;
1942
1936
  const y = i.value, Z = a.value;
1943
- a.value = !0, await O(), y.offsetHeight, c.value = y.scrollHeight, c.value < 46 && (c.value = 46), a.value = !1, await O(), y.offsetHeight, f.value = y.scrollHeight, f.value < 46 && (f.value = 46), a.value = Z, await O(), y.style.transition = "123", y.style.setProperty("--collapsed-height", `${f.value}px`), y.style.setProperty("--expanded-height", `${c.value}px`), console.log("收起高度:", f.value, "展开高度:", c.value);
1937
+ a.value = !0, await z(), y.offsetHeight, c.value = y.scrollHeight, c.value < 46 && (c.value = 46), a.value = !1, await z(), y.offsetHeight, g.value = y.scrollHeight, g.value < 46 && (g.value = 46), a.value = Z, await z(), y.style.transition = "123", y.style.setProperty("--collapsed-height", `${g.value}px`), y.style.setProperty("--expanded-height", `${c.value}px`);
1944
1938
  }, A = async () => {
1945
1939
  a.value = !a.value;
1946
1940
  }, F = () => {
@@ -1966,23 +1960,23 @@ const M2 = { class: "query-actions" }, v2 = {
1966
1960
  onMouseenter: F,
1967
1961
  onMouseleave: _
1968
1962
  }, [
1969
- d("div", {
1963
+ r("div", {
1970
1964
  class: U(["query-conditions", { "is-expanded": a.value, "is-collapsed": !a.value, "is-animation": y.animation }]),
1971
1965
  ref_key: "queryConditions",
1972
1966
  ref: i,
1973
1967
  style: H({
1974
- minHeight: a.value ? `${c.value}px` : `${f.value}px`,
1968
+ minHeight: a.value ? `${c.value}px` : `${g.value}px`,
1975
1969
  "--label-width": v.value,
1976
1970
  "--label-position": L.value
1977
1971
  })
1978
1972
  }, [
1979
1973
  R(y.$slots, "showConditions", {}, void 0, !0),
1980
1974
  a.value ? R(y.$slots, "hiddenConditions", { key: 0 }, void 0, !0) : x("", !0),
1981
- d("div", M2, [
1975
+ r("div", M2, [
1982
1976
  o.showBtnIcon ? (n(), p(I, { key: 0 }, [
1983
1977
  k(j, {
1984
1978
  type: "primary",
1985
- icon: V(_5),
1979
+ icon: O(_5),
1986
1980
  onClick: Z[0] || (Z[0] = ($) => t("search"))
1987
1981
  }, {
1988
1982
  default: w(() => Z[4] || (Z[4] = [
@@ -1992,7 +1986,7 @@ const M2 = { class: "query-actions" }, v2 = {
1992
1986
  __: [4]
1993
1987
  }, 8, ["icon"]),
1994
1988
  k(j, {
1995
- icon: V(M5),
1989
+ icon: O(M5),
1996
1990
  onClick: Z[1] || (Z[1] = ($) => t("reset"))
1997
1991
  }, {
1998
1992
  default: w(() => Z[5] || (Z[5] = [
@@ -2022,28 +2016,28 @@ const M2 = { class: "query-actions" }, v2 = {
2022
2016
  __: [7]
2023
2017
  })
2024
2018
  ], 64)),
2025
- r ? (n(), p(I, { key: 2 }, [
2026
- a.value ? (n(), z(j, {
2019
+ d ? (n(), p(I, { key: 2 }, [
2020
+ a.value ? (n(), V(j, {
2027
2021
  key: 1,
2028
2022
  type: "primary",
2029
2023
  link: "",
2030
2024
  onClick: A
2031
2025
  }, {
2032
2026
  default: w(() => Z[9] || (Z[9] = [
2033
- d("span", null, "收起查询", -1),
2034
- d("div", { class: "up-triangle" }, null, -1)
2027
+ r("span", null, "收起查询", -1),
2028
+ r("div", { class: "up-triangle" }, null, -1)
2035
2029
  ])),
2036
2030
  _: 1,
2037
2031
  __: [9]
2038
- })) : (n(), z(j, {
2032
+ })) : (n(), V(j, {
2039
2033
  key: 0,
2040
2034
  type: "primary",
2041
2035
  link: "",
2042
2036
  onClick: A
2043
2037
  }, {
2044
2038
  default: w(() => Z[8] || (Z[8] = [
2045
- d("span", null, "展开查询", -1),
2046
- d("div", { class: "down-triangle" }, null, -1)
2039
+ r("span", null, "展开查询", -1),
2040
+ r("div", { class: "down-triangle" }, null, -1)
2047
2041
  ])),
2048
2042
  _: 1,
2049
2043
  __: [8]
@@ -2054,7 +2048,7 @@ const M2 = { class: "query-actions" }, v2 = {
2054
2048
  ], 34);
2055
2049
  };
2056
2050
  }
2057
- }), x2 = /* @__PURE__ */ S(Z2, [["__scopeId", "data-v-80b75fa5"]]), u1 = x2;
2051
+ }), x2 = /* @__PURE__ */ S(Z2, [["__scopeId", "data-v-f2f50a14"]]), u1 = x2;
2058
2052
  u1.install = (e) => {
2059
2053
  e.component(u1.name, u1);
2060
2054
  };
@@ -2078,7 +2072,7 @@ const w2 = { class: "conditions-item__label" }, L2 = {
2078
2072
  class: "conditions-item CiCommonListQueryItem",
2079
2073
  style: H(t.value)
2080
2074
  }, [
2081
- d("span", w2, P(C.label), 1),
2075
+ r("span", w2, P(C.label), 1),
2082
2076
  R(l.$slots, "default", {}, void 0, !0)
2083
2077
  ], 4));
2084
2078
  }
@@ -2107,7 +2101,7 @@ const B2 = { class: "CiCommonListPagination" }, b2 = {
2107
2101
  "page-sizes": t.pageSizes,
2108
2102
  background: t.background,
2109
2103
  layout: t.layout
2110
- }, V(C)), null, 16, ["page-sizes", "background", "layout"])
2104
+ }, O(C)), null, 16, ["page-sizes", "background", "layout"])
2111
2105
  ]);
2112
2106
  };
2113
2107
  }
@@ -2136,12 +2130,12 @@ const I2 = {
2136
2130
  emits: ["update:startDateValue", "update:endDateValue"],
2137
2131
  setup(e, { emit: C }) {
2138
2132
  const t = C, o = e, l = (i) => o.endDateValue ? i.getTime() > new Date(o.endDateValue).getTime() : !1, a = (i) => {
2139
- const f = o.startDateValue ? i.getTime() < new Date(o.startDateValue).getTime() - 864e5 : !1, c = /* @__PURE__ */ new Date();
2133
+ const g = o.startDateValue ? i.getTime() < new Date(o.startDateValue).getTime() - 864e5 : !1, c = /* @__PURE__ */ new Date();
2140
2134
  c.setHours(0, 0, 0, 0);
2141
- const r = o.requireEndDateBeforeToday ? i.getTime() > c.getTime() : !1;
2142
- return f || r;
2135
+ const d = o.requireEndDateBeforeToday ? i.getTime() > c.getTime() : !1;
2136
+ return g || d;
2143
2137
  };
2144
- return (i, f) => {
2138
+ return (i, g) => {
2145
2139
  const c = z1;
2146
2140
  return n(), p("div", {
2147
2141
  class: U(["CiCommonListStartEndDatepicker", { "is-orderliness": o.orderliness }])
@@ -2152,7 +2146,7 @@ const I2 = {
2152
2146
  type: "date",
2153
2147
  placeholder: i.startPlaceholder,
2154
2148
  "model-value": i.startDateValue,
2155
- "onUpdate:modelValue": f[0] || (f[0] = (r) => t("update:startDateValue", r)),
2149
+ "onUpdate:modelValue": g[0] || (g[0] = (d) => t("update:startDateValue", d)),
2156
2150
  "disabled-date": l,
2157
2151
  "popper-class": i.startPopperClass,
2158
2152
  disabled: i.startDisabled
@@ -2163,7 +2157,7 @@ const I2 = {
2163
2157
  type: "date",
2164
2158
  placeholder: i.endPlaceholder,
2165
2159
  "model-value": i.endDateValue,
2166
- "onUpdate:modelValue": f[1] || (f[1] = (r) => t("update:endDateValue", r)),
2160
+ "onUpdate:modelValue": g[1] || (g[1] = (d) => t("update:endDateValue", d)),
2167
2161
  "disabled-date": a,
2168
2162
  "popper-class": i.endPopperClass,
2169
2163
  disabled: i.endDisabled
@@ -2219,36 +2213,36 @@ const A2 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
2219
2213
  class: "CiPageHeader",
2220
2214
  style: H({ backgroundColor: a.backgroundColor })
2221
2215
  }, [
2222
- d("div", N2, [
2223
- d("img", {
2216
+ r("div", N2, [
2217
+ r("img", {
2224
2218
  class: "btn-back",
2225
2219
  onClick: l,
2226
2220
  src: A2,
2227
2221
  alt: "返回按钮"
2228
2222
  }),
2229
- d("span", {
2223
+ r("span", {
2230
2224
  class: "ci-page-header__btn-back-text",
2231
2225
  onClick: l
2232
2226
  }, "返回"),
2233
2227
  a.isShowTitle ? (n(), p("div", P2)) : x("", !0),
2234
2228
  a.isShowTitle ? (n(), p("span", O2, P(a.title), 1)) : x("", !0),
2235
- d("div", {
2229
+ r("div", {
2236
2230
  class: U(["content-left-slot", { "is-show-title": !a.isShowTitle }])
2237
2231
  }, [
2238
2232
  R(a.$slots, "left", {}, void 0, !0)
2239
2233
  ], 2)
2240
2234
  ]),
2241
- d("div", V2, [
2242
- d("div", z2, [
2235
+ r("div", V2, [
2236
+ r("div", z2, [
2243
2237
  R(a.$slots, "right", {}, void 0, !0)
2244
2238
  ]),
2245
2239
  a.isShowClose ? (n(), p("div", U2, [
2246
2240
  a.$slots.right ? (n(), p("div", j2)) : x("", !0),
2247
- d("span", {
2241
+ r("span", {
2248
2242
  class: "ci-page-header__close-text",
2249
2243
  onClick: l
2250
2244
  }, "关闭"),
2251
- d("img", {
2245
+ r("img", {
2252
2246
  class: "close-back",
2253
2247
  onClick: l,
2254
2248
  src: G2,
@@ -2279,10 +2273,10 @@ function q1(e) {
2279
2273
  currentFileName: l,
2280
2274
  // 当前文件名
2281
2275
  customHttpRequest: async (i) => {
2282
- const { file: f, onSuccess: c, onError: r, onProgress: m, action: u, headers: Q, data: v } = i;
2283
- C.value = !0, t.value = 0, l.value = f.name;
2276
+ const { file: g, onSuccess: c, onError: d, onProgress: m, action: u, headers: Q, data: v } = i;
2277
+ C.value = !0, t.value = 0, l.value = g.name;
2284
2278
  const L = new FormData();
2285
- L.append("file", f), J2(L, v);
2279
+ L.append("file", g), J2(L, v);
2286
2280
  try {
2287
2281
  const A = await (e || R1)({
2288
2282
  url: u,
@@ -2311,7 +2305,7 @@ function q1(e) {
2311
2305
  });
2312
2306
  c == null || c(A.headers ? A.data : A);
2313
2307
  } catch (E) {
2314
- r == null || r(E);
2308
+ d == null || d(E);
2315
2309
  } finally {
2316
2310
  C.value = !1, l.value = "";
2317
2311
  }
@@ -2334,15 +2328,15 @@ function $2(e, C, t) {
2334
2328
  action: t.action,
2335
2329
  // 上传接口地址(从 props 中传入)
2336
2330
  // 上传进度回调:实时更新进度条 + 状态
2337
- onProgress: (f) => {
2338
- a.status = "uploading", a.percentage = Math.round(f.loaded / f.total * 100);
2331
+ onProgress: (g) => {
2332
+ a.status = "uploading", a.percentage = Math.round(g.loaded / g.total * 100);
2339
2333
  },
2340
2334
  // 上传成功回调:设置状态为成功,补全 response,并通知父组件更新
2341
- onSuccess: (f) => {
2342
- a.status = "success", a.response = f, a.percentage = 100, C("update:fileList", [...e.value]), C("onSuccess", a, e.value), C1.success("重新上传文件成功");
2335
+ onSuccess: (g) => {
2336
+ a.status = "success", a.response = g, a.percentage = 100, C("update:fileList", [...e.value]), C("onSuccess", a, e.value), C1.success("重新上传文件成功");
2343
2337
  },
2344
2338
  // 上传失败回调:标记为失败状态,重置进度为 0,并更新 UI
2345
- onError: (f) => {
2339
+ onError: (g) => {
2346
2340
  a.status = "fail", a.percentage = 0, C("update:fileList", [...e.value]), C("onError", a, e.value), C1.error("重新上传文件失败");
2347
2341
  },
2348
2342
  // 默认 POST 请求
@@ -2385,8 +2379,8 @@ async function e0(e, C = "This is a default download file url", t, o, l) {
2385
2379
  t == null || t(v);
2386
2380
  }
2387
2381
  }
2388
- }), f = i.data, c = i.headers["content-disposition"], r = c ? decodeURIComponent(c.split("fileName=")[1].replace(/"/g, "")) : "没有提供文件名,使用默认的文件名", m = window.URL.createObjectURL(f), u = document.createElement("a");
2389
- u.href = m, u.setAttribute("download", r), document.body.appendChild(u), u.click(), document.body.removeChild(u), window.URL.revokeObjectURL(m);
2382
+ }), g = i.data, c = i.headers["content-disposition"], d = c ? decodeURIComponent(c.split("fileName=")[1].replace(/"/g, "")) : "没有提供文件名,使用默认的文件名", m = window.URL.createObjectURL(g), u = document.createElement("a");
2383
+ u.href = m, u.setAttribute("download", d), document.body.appendChild(u), u.click(), document.body.removeChild(u), window.URL.revokeObjectURL(m);
2390
2384
  } catch (a) {
2391
2385
  console.error("Axios-POST: 下载文件时出错:", a), o == null || o(a), C1.error("下载文件失败,请稍后重试");
2392
2386
  }
@@ -2462,13 +2456,13 @@ function M0(e, C, t) {
2462
2456
  return `注:文件大小 <= ${o(e.maxSize)},最大上传数量1个,类型为${e.accept.replace(/,/g, ",")}`;
2463
2457
  if (e.minSize !== 0)
2464
2458
  return `注:${o(e.minSize)} <= 文件大小 <= ${o(e.maxSize)},最大上传数量1个,类型为${e.accept.replace(/,/g, ",")}`;
2465
- }), f = N(() => Object.keys(C).filter((c) => c !== "tip"));
2459
+ }), g = N(() => Object.keys(C).filter((c) => c !== "tip"));
2466
2460
  return {
2467
2461
  hasRealDefaultSlot: l,
2468
2462
  finalBeforeUpload: a,
2469
2463
  // maxSizeInMB,
2470
2464
  defaultTipSlotTextInfo: i,
2471
- otherSlots: f
2465
+ otherSlots: g
2472
2466
  };
2473
2467
  }
2474
2468
  const v0 = {
@@ -2543,8 +2537,8 @@ const v0 = {
2543
2537
  };
2544
2538
  function Z0(e, C) {
2545
2539
  const { rawFile: t, fileList: o, emit: l, internalRemoveFlag: a } = C;
2546
- return C1.error(e), a.value = !0, O(() => {
2547
- const i = o.filter((f) => f.uid !== t.uid);
2540
+ return C1.error(e), a.value = !0, z(() => {
2541
+ const i = o.filter((g) => g.uid !== t.uid);
2548
2542
  l("update:fileList", i), a.value = !1;
2549
2543
  }), !1;
2550
2544
  }
@@ -2555,13 +2549,13 @@ const x0 = (e) => {
2555
2549
  return C.some((i) => o === i || l.endsWith(i)) ? !0 : "不支持上传该类型文件";
2556
2550
  };
2557
2551
  }, w0 = (e, C) => (t) => {
2558
- const o = t.name || "", l = o.lastIndexOf("."), i = (l > 0 ? o.slice(0, l) : o).length, f = C, c = e;
2559
- if (f > 0 && c > 0) {
2560
- if (i > f || i < c)
2561
- return `文件名长度需在 ${c} 到 ${f} 个字符之间`;
2562
- } else if (f > 0) {
2563
- if (i > f)
2564
- return `文件名长度不能超过 ${f} 个字符`;
2552
+ const o = t.name || "", l = o.lastIndexOf("."), i = (l > 0 ? o.slice(0, l) : o).length, g = C, c = e;
2553
+ if (g > 0 && c > 0) {
2554
+ if (i > g || i < c)
2555
+ return `文件名长度需在 ${c} 到 ${g} 个字符之间`;
2556
+ } else if (g > 0) {
2557
+ if (i > g)
2558
+ return `文件名长度不能超过 ${g} 个字符`;
2565
2559
  } else if (c > 0 && i < c)
2566
2560
  return `文件名长度不能小于 ${c} 个字符`;
2567
2561
  return !0;
@@ -2585,12 +2579,7 @@ const x0 = (e) => {
2585
2579
  closeOnPressEscape: !1
2586
2580
  });
2587
2581
  function b0(e) {
2588
- const { rawFile: C, fileList: t, emit: o, internalRemoveFlag: l } = e;
2589
- l.value = !0;
2590
- const a = t.filter((i) => i.uid !== C.uid);
2591
- return o("update:fileList", a), O(() => {
2592
- l.value = !1;
2593
- }), !1;
2582
+ return e.value = !0, !1;
2594
2583
  }
2595
2584
  const R0 = { class: "CiUpload" }, E0 = {
2596
2585
  key: 0,
@@ -2653,23 +2642,23 @@ const R0 = { class: "CiUpload" }, E0 = {
2653
2642
  }, v0),
2654
2643
  emits: ["update:fileList", "onSuccess", "onRemove", "onChange", "onError", "onCustomDownload"],
2655
2644
  setup(e, { expose: C, emit: t }) {
2656
- const { formatFileSize: o } = Z1(), l = P1(), a = M(), i = M(!1), f = M([]), { checkUploadStatus: c } = _0(f), r = e, { customHttpRequest: m } = q1(r.axiosInstance), u = t;
2645
+ const { formatFileSize: o } = Z1(), l = P1(), a = M(), i = M(!1), g = M([]), { checkUploadStatus: c } = _0(g), d = e, { customHttpRequest: m } = q1(d.axiosInstance), u = t;
2657
2646
  C({
2658
2647
  checkUploadStatus: c
2659
2648
  });
2660
- const { retryUpload: Q } = $2(f, u, r);
2649
+ const { retryUpload: Q } = $2(g, u, d);
2661
2650
  Y(
2662
- () => r.fileList,
2651
+ () => d.fileList,
2663
2652
  (s) => {
2664
- f.value = s.map((g) => ({ ...g }));
2653
+ g.value = s.map((f) => ({ ...f }));
2665
2654
  },
2666
2655
  { immediate: !0 }
2667
2656
  );
2668
2657
  const v = (s) => {
2669
- var g;
2670
- (g = a.value) == null || g.handleRemove(s);
2658
+ var f;
2659
+ i.value = !1, (f = a.value) == null || f.handleRemove(s);
2671
2660
  }, L = (s) => {
2672
- if (r.customDownload) {
2661
+ if (d.customDownload) {
2673
2662
  u("onCustomDownload", s);
2674
2663
  return;
2675
2664
  }
@@ -2678,40 +2667,35 @@ const R0 = { class: "CiUpload" }, E0 = {
2678
2667
  fileKey: s.fileKey || "当前此条数据没有fileKey字段",
2679
2668
  fileName: s.fileName || "当前此条数据没有fileName字段"
2680
2669
  },
2681
- r.downloadUrl,
2682
- (g) => {
2683
- s.downloadPercentage = g, g === 100 && (s.status = "success");
2670
+ d.downloadUrl,
2671
+ (f) => {
2672
+ s.downloadPercentage = f, f === 100 && (s.status = "success");
2684
2673
  },
2685
- (g) => {
2674
+ (f) => {
2686
2675
  s.status = "success";
2687
2676
  },
2688
- r.axiosInstance
2677
+ d.axiosInstance
2689
2678
  );
2690
2679
  }, E = async (s) => {
2691
- if (r.confirmBeforeUpload)
2680
+ if (d.confirmBeforeUpload)
2692
2681
  try {
2693
- await B0(r.confirmBeforeUploadText);
2682
+ await B0(d.confirmBeforeUploadText);
2694
2683
  } catch {
2695
- return b0({
2696
- rawFile: s,
2697
- fileList: r.fileList,
2698
- emit: u,
2699
- internalRemoveFlag: i
2700
- });
2684
+ return b0(i);
2701
2685
  }
2702
- const g = k0(r);
2703
- for (const T of g) {
2686
+ const f = k0(d);
2687
+ for (const T of f) {
2704
2688
  const q = T(s);
2705
2689
  if (q !== !0)
2706
2690
  return Z0(q, {
2707
2691
  rawFile: s,
2708
- fileList: r.fileList,
2692
+ fileList: d.fileList,
2709
2693
  emit: u,
2710
2694
  internalRemoveFlag: i
2711
2695
  });
2712
2696
  }
2713
2697
  return !0;
2714
- }, A = (s, g) => i.value ? !0 : E1.confirm(
2698
+ }, A = (s, f) => i.value ? !0 : E1.confirm(
2715
2699
  `确定删除 ${s.fileName || s.name} 文件?`,
2716
2700
  "温馨提示",
2717
2701
  {
@@ -2724,26 +2708,26 @@ const R0 = { class: "CiUpload" }, E0 = {
2724
2708
  // 用户点击“确定”按钮,允许删除
2725
2709
  () => !1
2726
2710
  // 用户点击“取消”按钮,取消删除
2727
- ), F = (s, g) => {
2728
- C1.error(`文件数量超出限制,最大文件数量为${r.limit}个`);
2729
- }, _ = (s, g, T) => {
2730
- g.status = "fail", g.percentage = 0, O(() => {
2731
- u("update:fileList", [...T, g]), u("onError", g, T);
2711
+ ), F = (s, f) => {
2712
+ C1.error(`文件数量超出限制,最大文件数量为${d.limit}个`);
2713
+ }, _ = (s, f, T) => {
2714
+ f.status = "fail", f.percentage = 0, z(() => {
2715
+ u("update:fileList", [...T, f]), u("onError", f, T);
2732
2716
  });
2733
- }, B = (s, g, T) => {
2717
+ }, B = (s, f, T) => {
2734
2718
  var W, e1, t1;
2735
2719
  if (!s) return;
2736
- const q = T.find((h) => h.uid === g.uid);
2737
- q && (q.fileName = ((W = s == null ? void 0 : s.data) == null ? void 0 : W.fileName) || g.name, q.fileKey = ((e1 = s == null ? void 0 : s.data) == null ? void 0 : e1.fileKey) || "当前接口没有返回fileKey字段", q.fileSize = ((t1 = s == null ? void 0 : s.data) == null ? void 0 : t1.fileSize) || g.size), u("update:fileList", T), u("onSuccess", g, T);
2738
- }, b = (s, g) => {
2739
- s.status === "success" && !s.response || (u("update:fileList", g), u("onChange", s, g));
2740
- }, y = (s, g) => {
2741
- u("update:fileList", g), u("onRemove", s, g);
2742
- }, { hasRealDefaultSlot: Z, finalBeforeUpload: j, defaultTipSlotTextInfo: $, otherSlots: W1 } = M0(r, l, E);
2743
- return (s, g) => {
2720
+ const q = T.find((h) => h.uid === f.uid);
2721
+ q && (q.fileName = ((W = s == null ? void 0 : s.data) == null ? void 0 : W.fileName) || f.name, q.fileKey = ((e1 = s == null ? void 0 : s.data) == null ? void 0 : e1.fileKey) || "当前接口没有返回fileKey字段", q.fileSize = ((t1 = s == null ? void 0 : s.data) == null ? void 0 : t1.fileSize) || f.size), u("update:fileList", T), u("onSuccess", f, T);
2722
+ }, b = (s, f) => {
2723
+ s.status === "success" && !s.response || (u("update:fileList", f), u("onChange", s, f));
2724
+ }, y = (s, f) => {
2725
+ u("update:fileList", f), u("onRemove", s, f);
2726
+ }, { hasRealDefaultSlot: Z, finalBeforeUpload: j, defaultTipSlotTextInfo: $, otherSlots: W1 } = M0(d, l, E);
2727
+ return (s, f) => {
2744
2728
  const T = v1, q = y5, W = h5, e1 = Q5, t1 = b1;
2745
2729
  return n(), p("div", R0, [
2746
- s.readonly ? x("", !0) : (n(), z(q, o1({
2730
+ s.readonly ? x("", !0) : (n(), V(q, o1({
2747
2731
  key: 0,
2748
2732
  class: ["ci-el-upload-component", { "is-disabled": s.disabled }],
2749
2733
  ref_key: "uploadRef",
@@ -2751,69 +2735,69 @@ const R0 = { class: "CiUpload" }, E0 = {
2751
2735
  action: s.action,
2752
2736
  data: s.data,
2753
2737
  headers: s.headers,
2754
- "file-list": f.value,
2738
+ "file-list": g.value,
2755
2739
  accept: s.accept,
2756
2740
  limit: s.limit,
2757
2741
  multiple: s.multiple,
2758
2742
  drag: s.drag,
2759
2743
  disabled: s.disabled,
2760
- "before-upload": V(j),
2744
+ "before-upload": O(j),
2761
2745
  "before-remove": A,
2762
2746
  "on-success": B,
2763
2747
  "on-change": b,
2764
2748
  "on-remove": y,
2765
2749
  "on-exceed": F,
2766
2750
  "on-error": _,
2767
- "http-request": V(m),
2751
+ "http-request": O(m),
2768
2752
  "show-file-list": !1
2769
2753
  }, s.$attrs), F1({
2770
2754
  default: w(() => [
2771
- V(Z) ? R(s.$slots, "default", { key: 0 }, void 0, !0) : (n(), p(I, { key: 1 }, [
2755
+ O(Z) ? R(s.$slots, "default", { key: 0 }, void 0, !0) : (n(), p(I, { key: 1 }, [
2772
2756
  s.drag ? (n(), p(I, { key: 0 }, [
2773
- g[0] || (g[0] = d("img", {
2757
+ f[0] || (f[0] = r("img", {
2774
2758
  class: "upload-btn-icon",
2775
2759
  src: S1,
2776
2760
  alt: ""
2777
2761
  }, null, -1)),
2778
- g[1] || (g[1] = d("img", {
2762
+ f[1] || (f[1] = r("img", {
2779
2763
  class: "upload-btn-icon-hover",
2780
2764
  src: A1,
2781
2765
  alt: ""
2782
2766
  }, null, -1)),
2783
- g[2] || (g[2] = d("img", {
2767
+ f[2] || (f[2] = r("img", {
2784
2768
  class: "upload-btn-icon-disabled",
2785
2769
  src: G1,
2786
2770
  alt: ""
2787
2771
  }, null, -1)),
2788
- g[3] || (g[3] = d("div", { class: "drag-text-info" }, [
2789
- d("span", { class: "drag-text-info-click" }, "点击上传"),
2790
- d("span", { class: "drag-text-info-black" }, "或将文件拖拽到这里上传")
2772
+ f[3] || (f[3] = r("div", { class: "drag-text-info" }, [
2773
+ r("span", { class: "drag-text-info-click" }, "点击上传"),
2774
+ r("span", { class: "drag-text-info-black" }, "或将文件拖拽到这里上传")
2791
2775
  ], -1)),
2792
2776
  s.$slots.tip ? (n(), p("div", E0, [
2793
2777
  R(s.$slots, "tip", {}, void 0, !0)
2794
- ])) : (n(), p("div", I0, P(V($)), 1))
2795
- ], 64)) : (n(), z(T, {
2778
+ ])) : (n(), p("div", I0, P(O($)), 1))
2779
+ ], 64)) : (n(), V(T, {
2796
2780
  key: 1,
2797
2781
  class: "upload-btn",
2798
2782
  disabled: s.disabled
2799
2783
  }, {
2800
2784
  default: w(() => [
2801
- g[4] || (g[4] = d("img", {
2785
+ f[4] || (f[4] = r("img", {
2802
2786
  class: "upload-btn-icon",
2803
2787
  src: S1,
2804
2788
  alt: ""
2805
2789
  }, null, -1)),
2806
- g[5] || (g[5] = d("img", {
2790
+ f[5] || (f[5] = r("img", {
2807
2791
  class: "upload-btn-icon-hover",
2808
2792
  src: A1,
2809
2793
  alt: ""
2810
2794
  }, null, -1)),
2811
- g[6] || (g[6] = d("img", {
2795
+ f[6] || (f[6] = r("img", {
2812
2796
  class: "upload-btn-icon-disabled",
2813
2797
  src: G1,
2814
2798
  alt: ""
2815
2799
  }, null, -1)),
2816
- d("span", D0, P(s.uploadBtnText), 1)
2800
+ r("span", D0, P(s.uploadBtnText), 1)
2817
2801
  ]),
2818
2802
  _: 1,
2819
2803
  __: [4, 5, 6]
@@ -2827,33 +2811,33 @@ const R0 = { class: "CiUpload" }, E0 = {
2827
2811
  fn: w(() => [
2828
2812
  s.$slots.tip ? (n(), p("div", S0, [
2829
2813
  R(s.$slots, "tip", {}, void 0, !0)
2830
- ])) : (n(), p("div", A0, P(V($)), 1))
2814
+ ])) : (n(), p("div", A0, P(O($)), 1))
2831
2815
  ]),
2832
2816
  key: "0"
2833
2817
  },
2834
- J(V(W1), (h, K) => ({
2818
+ J(O(W1), (h, K) => ({
2835
2819
  name: K,
2836
2820
  fn: w((K1) => [
2837
2821
  R(s.$slots, K, $1(e5(K1 || {})), void 0, !0)
2838
2822
  ])
2839
2823
  }))
2840
2824
  ]), 1040, ["class", "action", "data", "headers", "file-list", "accept", "limit", "multiple", "drag", "disabled", "before-upload", "http-request"])),
2841
- f.value.length ? (n(), p("div", {
2825
+ g.value.length ? (n(), p("div", {
2842
2826
  key: 1,
2843
2827
  class: U(["custom-file-list-default", { "is-readonly": s.readonly }])
2844
2828
  }, [
2845
- (n(!0), p(I, null, J(f.value, (h) => (n(), p("div", {
2829
+ (n(!0), p(I, null, J(g.value, (h) => (n(), p("div", {
2846
2830
  class: "file-item-wrapper",
2847
2831
  key: h.uid
2848
2832
  }, [
2849
- d("div", G0, [
2850
- d("div", N0, [
2833
+ r("div", G0, [
2834
+ r("div", N0, [
2851
2835
  s.showFileExtIcon ? (n(), p("img", {
2852
2836
  key: 0,
2853
2837
  class: "file-icon",
2854
- src: V(Q0)(h.fileName || h.name)
2838
+ src: O(Q0)(h.fileName || h.name)
2855
2839
  }, null, 8, P0)) : x("", !0),
2856
- s.showFileNameEllipsisTooltip ? (n(), z(e1, {
2840
+ s.showFileNameEllipsisTooltip ? (n(), V(e1, {
2857
2841
  key: 2,
2858
2842
  effect: "dark",
2859
2843
  content: h.fileName || h.name,
@@ -2872,7 +2856,7 @@ const R0 = { class: "CiUpload" }, E0 = {
2872
2856
  }, 1032, ["class", "disabled", "onClick"])
2873
2857
  ]),
2874
2858
  _: 2
2875
- }, 1032, ["content"])) : (n(), z(W, {
2859
+ }, 1032, ["content"])) : (n(), V(W, {
2876
2860
  key: 1,
2877
2861
  class: "top-left file-name",
2878
2862
  disabled: h.status === "downloading" || h.status === "uploading",
@@ -2884,15 +2868,15 @@ const R0 = { class: "CiUpload" }, E0 = {
2884
2868
  _: 2
2885
2869
  }, 1032, ["disabled", "onClick"]))
2886
2870
  ]),
2887
- d("div", O0, [
2888
- s.showFileSize ? (n(), p("span", V0, P(V(o)(h.fileSize || h.size)), 1)) : x("", !0),
2871
+ r("div", O0, [
2872
+ s.showFileSize ? (n(), p("span", V0, P(O(o)(h.fileSize || h.size)), 1)) : x("", !0),
2889
2873
  h.status !== "fail" ? (n(), p("div", z0, [
2890
2874
  h.status !== "uploading" ? (n(), p(I, { key: 0 }, [
2891
2875
  s.showPreviewBtn ? (n(), p(I, { key: 0 }, [
2892
2876
  k(W, {
2893
2877
  onClick: (K) => v(h)
2894
2878
  }, {
2895
- default: w(() => g[7] || (g[7] = [
2879
+ default: w(() => f[7] || (f[7] = [
2896
2880
  G(" 在线预览 ")
2897
2881
  ])),
2898
2882
  _: 2,
@@ -2910,16 +2894,16 @@ const R0 = { class: "CiUpload" }, E0 = {
2910
2894
  ]),
2911
2895
  _: 2
2912
2896
  }, 1032, ["disabled", "onClick"]),
2913
- s.showDeleteBtn && !s.readonly ? (n(), z(t1, {
2897
+ s.showDeleteBtn && !s.readonly ? (n(), V(t1, {
2914
2898
  key: 0,
2915
2899
  direction: "vertical"
2916
2900
  })) : x("", !0)
2917
2901
  ], 64)) : x("", !0),
2918
- s.showDeleteBtn && !s.readonly ? (n(), z(W, {
2902
+ s.showDeleteBtn && !s.readonly ? (n(), V(W, {
2919
2903
  key: 2,
2920
2904
  onClick: (K) => v(h)
2921
2905
  }, {
2922
- default: w(() => g[8] || (g[8] = [
2906
+ default: w(() => f[8] || (f[8] = [
2923
2907
  G("删除")
2924
2908
  ])),
2925
2909
  _: 2,
@@ -2927,23 +2911,23 @@ const R0 = { class: "CiUpload" }, E0 = {
2927
2911
  }, 1032, ["onClick"])) : x("", !0)
2928
2912
  ], 64)) : x("", !0)
2929
2913
  ])) : x("", !0),
2930
- d("div", U0, [
2914
+ r("div", U0, [
2931
2915
  h.status === "uploading" ? (n(), p("div", {
2932
2916
  key: 0,
2933
2917
  class: U(h.status)
2934
2918
  }, [
2935
- g[9] || (g[9] = d("img", {
2919
+ f[9] || (f[9] = r("img", {
2936
2920
  class: "uploading-icon",
2937
2921
  src: K2
2938
2922
  }, null, -1)),
2939
- d("span", j0, P(h.percentage) + "%", 1)
2923
+ r("span", j0, P(h.percentage) + "%", 1)
2940
2924
  ], 2)) : x("", !0),
2941
2925
  s.readonly ? x("", !0) : (n(), p(I, { key: 1 }, [
2942
2926
  h.status === "success" || h.status === "downloading" ? (n(), p("span", {
2943
2927
  key: 0,
2944
2928
  class: U(h.status)
2945
- }, g[10] || (g[10] = [
2946
- d("img", {
2929
+ }, f[10] || (f[10] = [
2930
+ r("img", {
2947
2931
  class: "success-icon",
2948
2932
  src: H2
2949
2933
  }, null, -1)
@@ -2956,7 +2940,7 @@ const R0 = { class: "CiUpload" }, E0 = {
2956
2940
  k(W, {
2957
2941
  onClick: (K) => v(h)
2958
2942
  }, {
2959
- default: w(() => g[11] || (g[11] = [
2943
+ default: w(() => f[11] || (f[11] = [
2960
2944
  G(" 删除 ")
2961
2945
  ])),
2962
2946
  _: 2,
@@ -2968,15 +2952,15 @@ const R0 = { class: "CiUpload" }, E0 = {
2968
2952
  placement: "bottom"
2969
2953
  }, {
2970
2954
  default: w(() => [
2971
- d("img", {
2955
+ r("img", {
2972
2956
  class: "retry-icon",
2973
2957
  src: Y2,
2974
- onClick: (K) => V(Q)(h)
2958
+ onClick: (K) => O(Q)(h)
2975
2959
  }, null, 8, T0)
2976
2960
  ]),
2977
2961
  _: 2
2978
2962
  }, 1024),
2979
- g[12] || (g[12] = d("img", {
2963
+ f[12] || (f[12] = r("img", {
2980
2964
  class: "fail-icon",
2981
2965
  src: X2
2982
2966
  }, null, -1))
@@ -2986,7 +2970,7 @@ const R0 = { class: "CiUpload" }, E0 = {
2986
2970
  ]),
2987
2971
  s.showUploadProgress ? (n(), p(I, { key: 0 }, [
2988
2972
  h.status === "uploading" ? (n(), p("div", q0, [
2989
- d("div", {
2973
+ r("div", {
2990
2974
  class: "file-progress-inner",
2991
2975
  style: H({ width: (h.percentage || 0) + "%" })
2992
2976
  }, null, 4)
@@ -2994,7 +2978,7 @@ const R0 = { class: "CiUpload" }, E0 = {
2994
2978
  ], 64)) : x("", !0),
2995
2979
  s.showDownloadProgress ? (n(), p(I, { key: 1 }, [
2996
2980
  h.status === "downloading" ? (n(), p("div", W0, [
2997
- d("div", {
2981
+ r("div", {
2998
2982
  class: "file-progress-inner",
2999
2983
  style: H({ width: (h.downloadPercentage || 0) + "%" })
3000
2984
  }, null, 4)
@@ -3005,7 +2989,7 @@ const R0 = { class: "CiUpload" }, E0 = {
3005
2989
  ]);
3006
2990
  };
3007
2991
  }
3008
- }), Y0 = /* @__PURE__ */ S(H0, [["__scopeId", "data-v-bebf0598"]]), Q1 = Y0;
2992
+ }), Y0 = /* @__PURE__ */ S(H0, [["__scopeId", "data-v-5f67aa6b"]]), Q1 = Y0;
3009
2993
  Q1.install = (e) => {
3010
2994
  e.component(Q1.name, Q1);
3011
2995
  };
@@ -3036,14 +3020,14 @@ const X0 = { class: "ci-choose-all-btn__wrapper" }, J0 = {
3036
3020
  set: (c) => l("update:model-value", c)
3037
3021
  }), i = {
3038
3022
  width: o.selectWidth
3039
- }, f = (c) => {
3023
+ }, g = (c) => {
3040
3024
  if (c) {
3041
- const r = o.options.filter((m) => !m[o.selectDisabled]).map((m) => m[o.selectValue]);
3042
- l("update:model-value", r), l("select-all", r);
3025
+ const d = o.options.filter((m) => !m[o.selectDisabled]).map((m) => m[o.selectValue]);
3026
+ l("update:model-value", d), l("select-all", d);
3043
3027
  } else
3044
3028
  l("update:model-value", []), l("clear-all", []);
3045
3029
  };
3046
- return (c, r) => {
3030
+ return (c, d) => {
3047
3031
  const m = v1, u = b1, Q = j1, v = U1;
3048
3032
  return n(), p("div", {
3049
3033
  class: "CiChooseAllSelect",
@@ -3053,7 +3037,7 @@ const X0 = { class: "ci-choose-all-btn__wrapper" }, J0 = {
3053
3037
  k(v, o1({
3054
3038
  class: { "csit-UI-el-select-max-collapse-tags-1": c.maxCollapseTags === 1 },
3055
3039
  modelValue: a.value,
3056
- "onUpdate:modelValue": r[2] || (r[2] = (L) => a.value = L)
3040
+ "onUpdate:modelValue": d[2] || (d[2] = (L) => a.value = L)
3057
3041
  }, c.$attrs, {
3058
3042
  clearable: c.clearable,
3059
3043
  filterable: c.filterable,
@@ -3068,7 +3052,7 @@ const X0 = { class: "ci-choose-all-btn__wrapper" }, J0 = {
3068
3052
  }), F1({
3069
3053
  default: w(() => [
3070
3054
  R(c.$slots, "default", {}, () => [
3071
- (n(!0), p(I, null, J(c.options, (L) => (n(), z(Q, {
3055
+ (n(!0), p(I, null, J(c.options, (L) => (n(), V(Q, {
3072
3056
  key: L[c.selectValue],
3073
3057
  label: L[c.selectLabel],
3074
3058
  value: L[c.selectValue],
@@ -3081,13 +3065,13 @@ const X0 = { class: "ci-choose-all-btn__wrapper" }, J0 = {
3081
3065
  c.multiple ? {
3082
3066
  name: "header",
3083
3067
  fn: w(() => [
3084
- d("div", X0, [
3068
+ r("div", X0, [
3085
3069
  k(m, {
3086
3070
  link: "",
3087
3071
  type: "primary",
3088
- onClick: r[0] || (r[0] = (L) => f(!0))
3072
+ onClick: d[0] || (d[0] = (L) => g(!0))
3089
3073
  }, {
3090
- default: w(() => r[3] || (r[3] = [
3074
+ default: w(() => d[3] || (d[3] = [
3091
3075
  G("全选")
3092
3076
  ])),
3093
3077
  _: 1,
@@ -3100,9 +3084,9 @@ const X0 = { class: "ci-choose-all-btn__wrapper" }, J0 = {
3100
3084
  k(m, {
3101
3085
  link: "",
3102
3086
  type: "primary",
3103
- onClick: r[1] || (r[1] = (L) => f(!1))
3087
+ onClick: d[1] || (d[1] = (L) => g(!1))
3104
3088
  }, {
3105
- default: w(() => r[4] || (r[4] = [
3089
+ default: w(() => d[4] || (d[4] = [
3106
3090
  G("清除全部")
3107
3091
  ])),
3108
3092
  _: 1,