iking-web-ui-pro 1.0.47 → 1.0.48

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as ue, createElementBlock as y, openBlock as s, createElementVNode as u, inject as De, computed as R, resolveComponent as te, normalizeStyle as ze, normalizeClass as ce, createBlock as D, Fragment as Z, withCtx as P, mergeProps as le, createTextVNode as ae, toDisplayString as X, createCommentVNode as k, ref as B, watch as re, createVNode as m, unref as T, renderList as Ae, toRef as At, reactive as nt, nextTick as st, watchEffect as ot, withDirectives as Ce, withModifiers as $e, vShow as bt, mergeModels as Ee, useModel as et, resolveDirective as tt, createSlots as kt, Transition as vt, renderSlot as ge, isVNode as xt, useCssVars as Ot, getCurrentInstance as wt } from "vue";
1
+ import { defineComponent as ue, createElementBlock as y, openBlock as s, createElementVNode as u, inject as De, computed as R, resolveComponent as te, normalizeStyle as ze, normalizeClass as ce, createBlock as D, Fragment as Z, withCtx as P, mergeProps as le, createTextVNode as ae, toDisplayString as X, createCommentVNode as k, ref as B, watch as re, createVNode as m, unref as T, renderList as ye, toRef as At, reactive as nt, nextTick as st, watchEffect as ot, withDirectives as Ce, withModifiers as $e, vShow as bt, mergeModels as Ee, useModel as et, resolveDirective as tt, createSlots as kt, Transition as vt, renderSlot as ve, isVNode as xt, useCssVars as Ot, getCurrentInstance as wt } from "vue";
2
2
  import { ElCheckbox as Le, ElCheckboxGroup as He, ElRadioGroup as Fe, ElRadio as We, ElDialog as Ct, ElInput as je, ElBreadcrumb as Bt, ElBreadcrumbItem as Pt, vLoading as Ze, ElButton as Je, ElCol as Lt, ElFormItem as it, ElCard as St, ElForm as Tt, ElRow as Ut, ElSelect as rt, ElOption as ut, ElTreeSelect as Vt, ElDatePicker as dt, ElRadioButton as It, ElInputNumber as _t } from "element-plus";
3
3
  import { ikColor as Dt, ikStore as Se, _ as se, ikEvent as $t } from "iking-utils-pro";
4
4
  import gt from "vuedraggable";
@@ -693,7 +693,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
693
693
  (s(!0), y(
694
694
  Z,
695
695
  null,
696
- Ae(i.list, (g) => {
696
+ ye(i.list, (g) => {
697
697
  var W;
698
698
  return s(), y("li", {
699
699
  key: g[e.fixPropOpt.id]
@@ -802,7 +802,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
802
802
  (s(!0), y(
803
803
  Z,
804
804
  null,
805
- Ae(i.list, (g) => {
805
+ ye(i.list, (g) => {
806
806
  var W;
807
807
  return s(), y("li", {
808
808
  class: "w-full",
@@ -1004,7 +1004,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1004
1004
  (s(!0), y(
1005
1005
  Z,
1006
1006
  null,
1007
- Ae(a.list, (d) => (s(), y("li", {
1007
+ ye(a.list, (d) => (s(), y("li", {
1008
1008
  key: d[e.fixPropOpt.id]
1009
1009
  }, [
1010
1010
  a.chooseType.includes(d[e.fixPropOpt.type].toLowerCase()) ? (s(), D(T(Le), {
@@ -1072,7 +1072,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1072
1072
  (s(!0), y(
1073
1073
  Z,
1074
1074
  null,
1075
- Ae(a.list, (d) => (s(), y("li", {
1075
+ ye(a.list, (d) => (s(), y("li", {
1076
1076
  class: "w-full",
1077
1077
  key: d[e.fixPropOpt.id]
1078
1078
  }, [
@@ -1236,7 +1236,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1236
1236
  (s(!0), y(
1237
1237
  Z,
1238
1238
  null,
1239
- Ae(a.list, (d) => (s(), y("li", {
1239
+ ye(a.list, (d) => (s(), y("li", {
1240
1240
  key: d[a.fixPropOpt.id]
1241
1241
  }, [
1242
1242
  a.chooseType.includes(d[e.fixPropOpt.type].toLowerCase()) ? (s(), D(T(Le), {
@@ -1299,7 +1299,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1299
1299
  (s(!0), y(
1300
1300
  Z,
1301
1301
  null,
1302
- Ae(a.list, (d) => (s(), y("li", {
1302
+ ye(a.list, (d) => (s(), y("li", {
1303
1303
  class: "w-full",
1304
1304
  key: d[a.fixPropOpt.id]
1305
1305
  }, [
@@ -1578,10 +1578,10 @@ const Oa = {
1578
1578
  (e = Se.local.getItem("tenant")) == null || e.code;
1579
1579
  }, Ba = (l, c) => {
1580
1580
  const e = B([]), t = async (h, O) => {
1581
- var V, S, j;
1581
+ var U, L, j;
1582
1582
  const { url: v, methods: F, headers: x, param: C } = l.value || {}, A = {
1583
1583
  // 额外参数
1584
- rootDepartmentId: ((V = Se.local.getItem("now_shop")) == null ? void 0 : V.storeId) || "",
1584
+ rootDepartmentId: ((U = Se.local.getItem("now_shop")) == null ? void 0 : U.storeId) || "",
1585
1585
  parentDepartmentId: h || "",
1586
1586
  name: O || "",
1587
1587
  rootDepartmentOnly: c.rootDepartmentOnly,
@@ -1614,14 +1614,14 @@ const Oa = {
1614
1614
  users: $,
1615
1615
  rootOrganization: f,
1616
1616
  rootDepartment: ne
1617
- } = w, U = f || ne;
1617
+ } = w, V = f || ne;
1618
1618
  return e.value.length === 0 && (e.value[0] = c.org ? {
1619
1619
  ...c.org,
1620
1620
  id: c.elementId,
1621
- elementType: (j = (S = c.org) == null ? void 0 : S.elementType) == null ? void 0 : j.toLocaleUpperCase()
1621
+ elementType: (j = (L = c.org) == null ? void 0 : L.elementType) == null ? void 0 : j.toLocaleUpperCase()
1622
1622
  } : {
1623
- ...U,
1624
- id: U.elementId
1623
+ ...V,
1624
+ id: V.elementId
1625
1625
  }), {
1626
1626
  groupList: se.cloneDeep(d),
1627
1627
  roleList: se.cloneDeep(g),
@@ -1650,7 +1650,7 @@ const Oa = {
1650
1650
  re(
1651
1651
  () => t.api,
1652
1652
  () => {
1653
- t.show && V("");
1653
+ t.show && U("");
1654
1654
  }
1655
1655
  );
1656
1656
  const o = R(() => ({
@@ -1668,16 +1668,16 @@ const Oa = {
1668
1668
  })), i = B([]), w = Ba(At(t, "api"), t), d = w.handData, g = w.bannerList;
1669
1669
  t.immediate && d(h.value, b.value);
1670
1670
  const W = (n) => (n.forEach((p) => {
1671
- var L, G;
1672
- p.disabled = ((G = (L = t.modelValue) == null ? void 0 : L.find(
1673
- (he) => he[o.value.id] === p[o.value.id]
1671
+ var S, G;
1672
+ p.disabled = ((G = (S = t.modelValue) == null ? void 0 : S.find(
1673
+ (be) => be[o.value.id] === p[o.value.id]
1674
1674
  )) == null ? void 0 : G.disabled) || !1;
1675
1675
  }), n), $ = async () => {
1676
- var n, p, L, G, he, q, _e, Ke;
1676
+ var n, p, S, G, be, q, _e, Ke;
1677
1677
  C.value = !0;
1678
1678
  try {
1679
- if ((n = t.groupList) != null && n.length || (p = t.userList) != null && p.length || (L = t.roleList) != null && L.length || (G = t.postList) != null && G.length) {
1680
- O.value = (he = t.userList) == null ? void 0 : he.filter(
1679
+ if ((n = t.groupList) != null && n.length || (p = t.userList) != null && p.length || (S = t.roleList) != null && S.length || (G = t.postList) != null && G.length) {
1680
+ O.value = (be = t.userList) == null ? void 0 : be.filter(
1681
1681
  (ke) => ke[o.value.name].includes(b.value)
1682
1682
  ), v.value = (q = t.groupList) == null ? void 0 : q.filter(
1683
1683
  (ke) => ke[o.value.name].includes(b.value)
@@ -1716,18 +1716,18 @@ const Oa = {
1716
1716
  // 半选状态
1717
1717
  checkAll: 0
1718
1718
  // 全选状态(0: 未选, 1: 全选)
1719
- }), U = (n) => f.group.has(n) || f.user.has(n) || f.role.has(n) || f.post.has(n), V = $t.debounce($, 300), S = R(() => {
1720
- const n = Array.from(f.group.values()), p = Array.from(f.role.values()), L = Array.from(f.user.values()), G = Array.from(f.post.values());
1721
- return i.value = [...p, ...G, ...L, ...n], {
1722
- list: [...p, ...L, ...G, ...n],
1719
+ }), V = (n) => f.group.has(n) || f.user.has(n) || f.role.has(n) || f.post.has(n), U = $t.debounce($, 300), L = R(() => {
1720
+ const n = Array.from(f.group.values()), p = Array.from(f.role.values()), S = Array.from(f.user.values()), G = Array.from(f.post.values());
1721
+ return i.value = [...p, ...G, ...S, ...n], {
1722
+ list: [...p, ...S, ...G, ...n],
1723
1723
  // 所有选中项
1724
1724
  role: {
1725
1725
  list: p,
1726
1726
  len: p.length
1727
1727
  },
1728
1728
  user: {
1729
- list: L,
1730
- len: L.length
1729
+ list: S,
1730
+ len: S.length
1731
1731
  },
1732
1732
  post: {
1733
1733
  list: G,
@@ -1739,7 +1739,7 @@ const Oa = {
1739
1739
  }
1740
1740
  };
1741
1741
  }), j = R(() => {
1742
- const n = t.chooseType.map((L) => L.toLocaleLowerCase());
1742
+ const n = t.chooseType.map((S) => S.toLocaleLowerCase());
1743
1743
  let p = [...n];
1744
1744
  return n.includes("dep") && (p = [...p, "dept"]), n.includes("dep_user") && (p = [...p, "user"]), p;
1745
1745
  }), z = B([]), ie = (n) => {
@@ -1747,8 +1747,8 @@ const Oa = {
1747
1747
  p.readonly = p == null ? void 0 : p.disabled;
1748
1748
  });
1749
1749
  }, M = e, J = B(!1), ee = (n = !1) => {
1750
- var L;
1751
- const p = (L = t == null ? void 0 : t.userList) != null && L.length ? se.cloneDeep([...t == null ? void 0 : t.userList, ...t == null ? void 0 : t.groupList]) : [...v.value, ...O.value];
1750
+ var S;
1751
+ const p = (S = t == null ? void 0 : t.userList) != null && S.length ? se.cloneDeep([...t == null ? void 0 : t.userList, ...t == null ? void 0 : t.groupList]) : [...v.value, ...O.value];
1752
1752
  return !n && ie(p), p;
1753
1753
  };
1754
1754
  re(
@@ -1757,15 +1757,17 @@ const Oa = {
1757
1757
  var p;
1758
1758
  if (J.value = n, n) {
1759
1759
  h.value = ((p = t.org) == null ? void 0 : p.elementId) || t.orgPid, !t.userList.length && !t.groupList.length && !t.roleList.length && !t.postList.length ? await $() : (O.value = t.userList, v.value = t.groupList, F.value = t.roleList, x.value = t.postList), f.trans = [], ne.checkAll = 0, ne.indeterminate = !1;
1760
- const L = ee(!0);
1761
- for (const he of L)
1762
- U(he[o.value.id]) && f.trans.push(he[o.value.id]);
1763
- const G = L.length === f.trans.length;
1764
- ne.indeterminate = !!(L.length && !G), ne.checkAll = Number(L.length && G), st(() => {
1765
- var he;
1766
- (he = t.modelValue) != null && he.length ? t.modelValue.forEach((q) => {
1767
- me(q), t.multiple ? f.trans.push(q[o.value.id]) : f.single = q[o.value.id];
1768
- }) : N();
1760
+ const S = ee(!0);
1761
+ st(() => {
1762
+ var G;
1763
+ if ((G = t.modelValue) != null && G.length) {
1764
+ t.modelValue.forEach((q) => {
1765
+ ge(q), t.multiple ? f.trans.push(q[o.value.id]) : f.single = q[o.value.id];
1766
+ });
1767
+ const be = S.length === f.trans.length;
1768
+ ne.indeterminate = !!(S.length && !be), ne.checkAll = Number(S.length && be);
1769
+ } else
1770
+ N();
1769
1771
  });
1770
1772
  } else
1771
1773
  N();
@@ -1778,7 +1780,7 @@ const Oa = {
1778
1780
  () => t.modelValue,
1779
1781
  (n) => {
1780
1782
  n != null && n.length ? n.forEach((p) => {
1781
- me(p), t.multiple ? f.trans.push(p[o.value.id]) : f.single = p[o.value.id];
1783
+ ge(p), t.multiple ? f.trans.push(p[o.value.id]) : f.single = p[o.value.id];
1782
1784
  }) : N();
1783
1785
  }
1784
1786
  );
@@ -1786,10 +1788,10 @@ const Oa = {
1786
1788
  var p;
1787
1789
  if (t.debug && console.log("删除项:", n), !!n) {
1788
1790
  if (f.single = "", n[o.value.id]) {
1789
- const L = (p = f.trans) == null ? void 0 : p.findIndex(
1791
+ const S = (p = f.trans) == null ? void 0 : p.findIndex(
1790
1792
  (G) => G === n[o.value.id]
1791
1793
  );
1792
- L !== -1 && f.trans.splice(L, 1);
1794
+ S !== -1 && f.trans.splice(S, 1);
1793
1795
  }
1794
1796
  switch (n[o.value.type]) {
1795
1797
  case a.value.user:
@@ -1827,8 +1829,8 @@ const Oa = {
1827
1829
  break;
1828
1830
  }
1829
1831
  });
1830
- }, me = (n) => {
1831
- if (!U(n[o.value.id])) {
1832
+ }, ge = (n) => {
1833
+ if (!V(n[o.value.id])) {
1832
1834
  const p = {
1833
1835
  ...n
1834
1836
  // readonly: item.disabled // 保留原有的禁用状态
@@ -1858,10 +1860,10 @@ const Oa = {
1858
1860
  });
1859
1861
  else {
1860
1862
  const p = z.value.filter(
1861
- (L) => n.includes(L[o.value.id])
1863
+ (S) => n.includes(S[o.value.id])
1862
1864
  );
1863
- for (const L of p)
1864
- L.disabled = Xe(L), me(L);
1865
+ for (const S of p)
1866
+ S.disabled = Xe(S), ge(S);
1865
1867
  }
1866
1868
  },
1867
1869
  { deep: !0 }
@@ -1870,9 +1872,9 @@ const Oa = {
1870
1872
  (n) => {
1871
1873
  var p;
1872
1874
  if (n) {
1873
- const L = (p = z.value) == null ? void 0 : p.find((G) => G[o.value.id] === n);
1874
- L && (f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [], st(() => {
1875
- me(L);
1875
+ const S = (p = z.value) == null ? void 0 : p.find((G) => G[o.value.id] === n);
1876
+ S && (f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [], st(() => {
1877
+ ge(S);
1876
1878
  }));
1877
1879
  }
1878
1880
  }
@@ -1888,19 +1890,19 @@ const Oa = {
1888
1890
  ), K = B(t.tabs[0]), Y = B(t.tabs[0]);
1889
1891
  ot(() => (Y.value = I.value ? t.tabs[1] : H.value ? t.tabs[2] : K.value, Y.value));
1890
1892
  const N = () => {
1891
- f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [], ye.value = [], Ie.value = [], K.value = t.tabs[0], Y.value = t.tabs[0], b.value = "", h.value = t.orgPid, g.value.splice(1, g.value.length), f.single = "", i.value = [];
1893
+ f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [], me.value = [], Ie.value = [], K.value = t.tabs[0], Y.value = t.tabs[0], b.value = "", h.value = t.orgPid, g.value.splice(1, g.value.length), f.single = "", i.value = [];
1892
1894
  }, Q = () => {
1893
1895
  var n;
1894
1896
  M(
1895
1897
  "ok",
1896
1898
  se.cloneDeep({
1897
1899
  // 所有选项、部门、人员、角色分别列出
1898
- ...S.value,
1900
+ ...L.value,
1899
1901
  // 排序后的列表
1900
1902
  sort: i.value
1901
1903
  })
1902
- ), M("update:modelValue", se.cloneDeep(((n = S.value) == null ? void 0 : n.list) || [])), M("update:show", !1), N();
1903
- }, be = () => {
1904
+ ), M("update:modelValue", se.cloneDeep(((n = L.value) == null ? void 0 : n.list) || [])), M("update:show", !1), N();
1905
+ }, Ae = () => {
1904
1906
  M("update:show", !1), N();
1905
1907
  };
1906
1908
  c({
@@ -1922,56 +1924,56 @@ const Oa = {
1922
1924
  () => `${typeof t.height == "string" ? Number.parseInt(t.height) : t.height}px`
1923
1925
  ), Be = () => {
1924
1926
  t.multiple || (f.post.clear(), f.role.clear(), f.user.clear(), f.group.clear(), f.single = "");
1925
- }, we = R(() => S.value.groups.list.concat(S.value.user.list)), ve = (n, p) => {
1927
+ }, we = R(() => L.value.groups.list.concat(L.value.user.list)), he = (n, p) => {
1926
1928
  t.multiple || (f.single = "");
1927
- const L = t.multiple ? n : [n];
1928
- if (!L.length) {
1929
+ const S = t.multiple ? n : [n];
1930
+ if (!S.length) {
1929
1931
  f.group.clear(), f.user.clear();
1930
1932
  return;
1931
1933
  }
1932
1934
  Be(), p.forEach((G) => {
1933
- L != null && L.includes(G[o.value.id]) ? me(G) : fe(G);
1935
+ S != null && S.includes(G[o.value.id]) ? ge(G) : fe(G);
1934
1936
  });
1935
- }, ye = B([]), qe = (n, p) => {
1937
+ }, me = B([]), qe = (n, p) => {
1936
1938
  t.multiple || (f.single = "");
1937
- const L = t.multiple ? n : [n];
1938
- if (!L.length) {
1939
+ const S = t.multiple ? n : [n];
1940
+ if (!S.length) {
1939
1941
  f.role.clear();
1940
1942
  return;
1941
1943
  }
1942
1944
  Be(), p.forEach((G) => {
1943
- L != null && L.includes(G[o.value.id]) ? me(G) : fe(G);
1945
+ S != null && S.includes(G[o.value.id]) ? ge(G) : fe(G);
1944
1946
  });
1945
1947
  };
1946
1948
  re(
1947
- () => S.value.role.len,
1949
+ () => L.value.role.len,
1948
1950
  (n) => {
1949
- ye.value = se.cloneDeep(S.value.role.list);
1951
+ me.value = se.cloneDeep(L.value.role.list);
1950
1952
  }
1951
1953
  );
1952
1954
  const Ie = B([]), yt = (n, p) => {
1953
1955
  t.multiple || (f.single = "");
1954
- const L = t.multiple ? n : [n];
1955
- if (!L.length) {
1956
+ const S = t.multiple ? n : [n];
1957
+ if (!S.length) {
1956
1958
  f.post.clear();
1957
1959
  return;
1958
1960
  }
1959
1961
  Be(), p.forEach((G) => {
1960
- L != null && L.includes(G[o.value.id]) ? me(G) : fe(G);
1962
+ S != null && S.includes(G[o.value.id]) ? ge(G) : fe(G);
1961
1963
  });
1962
1964
  };
1963
1965
  return re(
1964
- () => S.value.post.len,
1966
+ () => L.value.post.len,
1965
1967
  (n) => {
1966
- Ie.value = se.cloneDeep(S.value.post.list);
1968
+ Ie.value = se.cloneDeep(L.value.post.list);
1967
1969
  }
1968
1970
  ), re(
1969
1971
  () => b.value,
1970
1972
  (n) => {
1971
- V("");
1973
+ U("");
1972
1974
  }
1973
1975
  ), (n, p) => {
1974
- const L = te("el-tab-pane"), G = te("el-tabs"), he = te("el-scrollbar");
1976
+ const S = te("el-tab-pane"), G = te("el-tabs"), be = te("el-scrollbar");
1975
1977
  return s(), y(
1976
1978
  Z,
1977
1979
  null,
@@ -1990,13 +1992,13 @@ const Oa = {
1990
1992
  width: typeof n.width == "string" ? n.width : `${n.width}%`,
1991
1993
  class: "p_p_picker-dialog",
1992
1994
  "modal-class": "p_p_picker-dialog-modal-user",
1993
- onClose: be
1995
+ onClose: Ae
1994
1996
  }, {
1995
1997
  footer: P(() => [
1996
1998
  u("span", _a, [
1997
1999
  k(" 取消按钮 "),
1998
2000
  m(T(Je), {
1999
- onClick: $e(be, ["stop"])
2001
+ onClick: $e(Ae, ["stop"])
2000
2002
  }, {
2001
2003
  default: P(() => [...p[7] || (p[7] = [
2002
2004
  ae(
@@ -2056,7 +2058,7 @@ const Oa = {
2056
2058
  (s(!0), y(
2057
2059
  Z,
2058
2060
  null,
2059
- Ae(Ue.value, (q) => (s(), D(L, {
2061
+ ye(Ue.value, (q) => (s(), D(S, {
2060
2062
  label: q.label,
2061
2063
  name: q.name,
2062
2064
  key: q.label
@@ -2084,7 +2086,7 @@ const Oa = {
2084
2086
  (s(!0), y(
2085
2087
  Z,
2086
2088
  null,
2087
- Ae(T(g), (q, _e) => (s(), D(T(Pt), {
2089
+ ye(T(g), (q, _e) => (s(), D(T(Pt), {
2088
2090
  key: q[o.value.id],
2089
2091
  onClick: $e((Ke) => _(q, _e), ["stop"])
2090
2092
  }, {
@@ -2125,7 +2127,7 @@ const Oa = {
2125
2127
  children: t.children && !b.value,
2126
2128
  "choose-type": j.value,
2127
2129
  onHandChild: r,
2128
- onChange: ve
2130
+ onChange: he
2129
2131
  }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
2130
2132
  [T(Ze), C.value]
2131
2133
  ]) : Y.value === T(Me).role ? (s(), y(
@@ -2139,7 +2141,7 @@ const Oa = {
2139
2141
  list: F.value,
2140
2142
  max: n.max,
2141
2143
  multiple: n.multiple,
2142
- "hand-list": ye.value,
2144
+ "hand-list": me.value,
2143
2145
  imageBaseUrl: t.imageBaseUrl,
2144
2146
  emptyText: t.emptyText,
2145
2147
  "choose-type": j.value,
@@ -2212,7 +2214,7 @@ const Oa = {
2212
2214
  /* STABLE */
2213
2215
  })
2214
2216
  ]),
2215
- m(he, null, {
2217
+ m(be, null, {
2216
2218
  default: P(() => [
2217
2219
  k(" 已选项目列表 "),
2218
2220
  m(T(gt), {
@@ -2341,12 +2343,12 @@ const Oa = {
2341
2343
  emits: /* @__PURE__ */ Ee(["sort"], ["update:modelValue"]),
2342
2344
  setup(l, { emit: c }) {
2343
2345
  const e = l, t = c, b = et(l, "modelValue"), { t: h, dialog: O, path: v, user: F } = e.config, x = R(() => `${F == null ? void 0 : F.id}_${v}${e.tab !== "" ? `_${e.tab}` : ""}`), C = B([]), A = B([]), o = B([]), a = /* @__PURE__ */ new Map(), i = B(!1), w = R(() => {
2344
- const V = A.value.length && A.value.length !== e.list.length;
2345
- return !V && A.value.length && (i.value = !0), !!V;
2346
- }), d = (V) => {
2346
+ const U = A.value.length && A.value.length !== e.list.length;
2347
+ return !U && A.value.length && (i.value = !0), !!U;
2348
+ }), d = (U) => {
2347
2349
  var j;
2348
- const S = se.cloneDeep(o.value);
2349
- S == null || S.forEach((z) => {
2350
+ const L = se.cloneDeep(o.value);
2351
+ L == null || L.forEach((z) => {
2350
2352
  var ie;
2351
2353
  if (!A.value.length)
2352
2354
  o.value = [];
@@ -2360,22 +2362,22 @@ const Oa = {
2360
2362
  const J = a.get(z);
2361
2363
  J && (J.show = !0, o.value.push(J));
2362
2364
  }
2363
- }), (j = o.value) != null && j.length || (o.value = se.cloneDeep(e.list)), V === !0 && (t("sort", se.cloneDeep(o.value)), b.value = se.cloneDeep(o.value));
2364
- }, g = (V) => {
2365
- if (V)
2366
- A.value = e.list.map((S) => S.key);
2365
+ }), (j = o.value) != null && j.length || (o.value = se.cloneDeep(e.list)), U === !0 && (t("sort", se.cloneDeep(o.value)), b.value = se.cloneDeep(o.value));
2366
+ }, g = (U) => {
2367
+ if (U)
2368
+ A.value = e.list.map((L) => L.key);
2367
2369
  else {
2368
- const S = e.list.find((j) => !j.key || j.label === "操作");
2369
- A.value = S ? [S.key] : [];
2370
+ const L = e.list.find((j) => !j.key || j.label === "操作");
2371
+ A.value = L ? [L.key] : [];
2370
2372
  }
2371
2373
  d();
2372
2374
  }, W = () => {
2373
- const V = Se.local.getItem(x.value);
2375
+ const U = Se.local.getItem(x.value);
2374
2376
  try {
2375
- const S = se.cloneDeep(e == null ? void 0 : e.list);
2376
- if ((!V || !(V != null && V.length)) && Se.local.setItem(
2377
+ const L = se.cloneDeep(e == null ? void 0 : e.list);
2378
+ if ((!U || !(U != null && U.length)) && Se.local.setItem(
2377
2379
  x.value,
2378
- S.map(({ show: j, type: z, key: ie, label: M, width: J, minWidth: ee, align: fe }) => ({
2380
+ L.map(({ show: j, type: z, key: ie, label: M, width: J, minWidth: ee, align: fe }) => ({
2379
2381
  show: j,
2380
2382
  key: ie,
2381
2383
  type: z,
@@ -2385,20 +2387,20 @@ const Oa = {
2385
2387
  align: fe
2386
2388
  }))
2387
2389
  ), C.value = [
2388
- ...(S == null ? void 0 : S.map((j) => (a.set(j.key, j), {
2390
+ ...(L == null ? void 0 : L.map((j) => (a.set(j.key, j), {
2389
2391
  ...j,
2390
2392
  show: j.show || !1
2391
2393
  }))) || []
2392
- ], V) {
2393
- const j = V.filter((z) => z.show).map((z) => z.key);
2394
+ ], U) {
2395
+ const j = U.filter((z) => z.show).map((z) => z.key);
2394
2396
  A.value = [...j];
2395
2397
  } else {
2396
2398
  const j = C.value.filter((z) => z.show);
2397
2399
  A.value = j.map((z) => z.key);
2398
2400
  }
2399
2401
  d(!0);
2400
- } catch (S) {
2401
- console.info("error: ", S);
2402
+ } catch (L) {
2403
+ console.info("error: ", L);
2402
2404
  }
2403
2405
  };
2404
2406
  W(), re(() => e.list, () => {
@@ -2406,14 +2408,14 @@ const Oa = {
2406
2408
  }, { deep: !0 });
2407
2409
  const $ = B(!1), f = () => {
2408
2410
  $.value = !0;
2409
- }, ne = (V) => {
2410
- o.value = V;
2411
- }, U = () => {
2411
+ }, ne = (U) => {
2412
+ o.value = U;
2413
+ }, V = () => {
2412
2414
  $.value = !1, Se.local.setItem(
2413
2415
  x.value,
2414
- o.value.map(({ show: V, key: S, label: j, value: z, width: ie, minWidth: M, align: J }) => ({
2415
- show: V,
2416
- key: S,
2416
+ o.value.map(({ show: U, key: L, label: j, value: z, width: ie, minWidth: M, align: J }) => ({
2417
+ show: U,
2418
+ key: L,
2417
2419
  label: j,
2418
2420
  value: z,
2419
2421
  width: ie,
@@ -2422,20 +2424,20 @@ const Oa = {
2422
2424
  }))
2423
2425
  ), t("sort", se.cloneDeep(o.value)), b.value = se.cloneDeep(o.value);
2424
2426
  };
2425
- return (V, S) => {
2427
+ return (U, L) => {
2426
2428
  const j = te("el-button"), z = te("el-checkbox"), ie = te("el-checkbox-group"), M = te("el-dialog"), J = tt("role");
2427
2429
  return s(), y(
2428
2430
  Z,
2429
2431
  null,
2430
2432
  [
2431
- l.btnType === "button" ? Ce((s(), D(j, le({ key: 0 }, V.$attrs, {
2433
+ l.btnType === "button" ? Ce((s(), D(j, le({ key: 0 }, U.$attrs, {
2432
2434
  circle: l.circle,
2433
2435
  type: l.type,
2434
2436
  style: { minWidth: l.circle ? "40px" : "", minHeight: l.circle ? "40px" : "" },
2435
2437
  onClick: f
2436
2438
  }), kt({
2437
2439
  icon: P(() => [
2438
- S[4] || (S[4] = u(
2440
+ L[4] || (L[4] = u(
2439
2441
  "i",
2440
2442
  { class: "ik ik-shezhi" },
2441
2443
  null,
@@ -2459,7 +2461,7 @@ const Oa = {
2459
2461
  key: "0"
2460
2462
  }
2461
2463
  ]), 1040, ["circle", "type", "style"])), [
2462
- [J, V.$props.role]
2464
+ [J, U.$props.role]
2463
2465
  ]) : k("v-if", !0),
2464
2466
  l.btnType === "icon" ? Ce((s(), D(
2465
2467
  T(Oe),
@@ -2468,16 +2470,16 @@ const Oa = {
2468
2470
  name: "iksvg_shezhi-daohang",
2469
2471
  "show-bg": "",
2470
2472
  size: "default"
2471
- }, V.$attrs, { onClick: f }),
2473
+ }, U.$attrs, { onClick: f }),
2472
2474
  null,
2473
2475
  16
2474
2476
  /* FULL_PROPS */
2475
2477
  )), [
2476
- [J, V.$props.role]
2478
+ [J, U.$props.role]
2477
2479
  ]) : k("v-if", !0),
2478
2480
  m(M, {
2479
2481
  modelValue: $.value,
2480
- "onUpdate:modelValue": S[3] || (S[3] = (ee) => $.value = ee),
2482
+ "onUpdate:modelValue": L[3] || (L[3] = (ee) => $.value = ee),
2481
2483
  draggable: "",
2482
2484
  width: l.inline ? T(O).l : T(O).sl,
2483
2485
  "close-on-click-modal": !1,
@@ -2489,7 +2491,7 @@ const Oa = {
2489
2491
  footer: P(() => [
2490
2492
  u("div", Ea, [
2491
2493
  m(j, {
2492
- onClick: S[2] || (S[2] = (ee) => $.value = !1)
2494
+ onClick: L[2] || (L[2] = (ee) => $.value = !1)
2493
2495
  }, {
2494
2496
  default: P(() => [
2495
2497
  ae(
@@ -2505,7 +2507,7 @@ const Oa = {
2505
2507
  m(j, {
2506
2508
  type: "primary",
2507
2509
  disabled: o.value.length < 2,
2508
- onClick: U
2510
+ onClick: V
2509
2511
  }, {
2510
2512
  default: P(() => [
2511
2513
  ae(
@@ -2534,12 +2536,12 @@ const Oa = {
2534
2536
  [
2535
2537
  m(z, {
2536
2538
  modelValue: i.value,
2537
- "onUpdate:modelValue": S[0] || (S[0] = (ee) => i.value = ee),
2539
+ "onUpdate:modelValue": L[0] || (L[0] = (ee) => i.value = ee),
2538
2540
  class: "single-line",
2539
2541
  indeterminate: w.value,
2540
2542
  onChange: g
2541
2543
  }, {
2542
- default: P(() => [...S[5] || (S[5] = [
2544
+ default: P(() => [...L[5] || (L[5] = [
2543
2545
  ae(
2544
2546
  " 全选 ",
2545
2547
  -1
@@ -2551,14 +2553,14 @@ const Oa = {
2551
2553
  }, 8, ["modelValue", "indeterminate"]),
2552
2554
  m(ie, {
2553
2555
  modelValue: A.value,
2554
- "onUpdate:modelValue": S[1] || (S[1] = (ee) => A.value = ee),
2556
+ "onUpdate:modelValue": L[1] || (L[1] = (ee) => A.value = ee),
2555
2557
  onChange: d
2556
2558
  }, {
2557
2559
  default: P(() => [
2558
2560
  (s(!0), y(
2559
2561
  Z,
2560
2562
  null,
2561
- Ae(C.value, (ee) => (s(), D(z, {
2563
+ ye(C.value, (ee) => (s(), D(z, {
2562
2564
  key: ee.key,
2563
2565
  disabled: !ee.key,
2564
2566
  label: ee.key
@@ -2816,7 +2818,7 @@ const Oa = {
2816
2818
  },
2817
2819
  {
2818
2820
  default: P(() => [
2819
- x.$slots.item ? ge(x.$slots, "item", {
2821
+ x.$slots.item ? ve(x.$slots, "item", {
2820
2822
  key: 0,
2821
2823
  item: o
2822
2824
  }, void 0, !0) : (s(), y(
@@ -2837,7 +2839,7 @@ const Oa = {
2837
2839
  ]),
2838
2840
  _: 1
2839
2841
  /* STABLE */
2840
- })) : ge(x.$slots, "icon", { key: 1 }, void 0, !0),
2842
+ })) : ve(x.$slots, "icon", { key: 1 }, void 0, !0),
2841
2843
  ae(
2842
2844
  " " + X(o.label),
2843
2845
  1
@@ -2979,7 +2981,7 @@ const Ga = /* @__PURE__ */ ue({
2979
2981
  formProp: Q = {}
2980
2982
  }) => m(_t, le({
2981
2983
  modelValue: v.value[r],
2982
- "onUpdate:modelValue": (be) => v.value[r] = be,
2984
+ "onUpdate:modelValue": (Ae) => v.value[r] = Ae,
2983
2985
  clearable: !0,
2984
2986
  max: _,
2985
2987
  min: I,
@@ -3065,7 +3067,7 @@ const Ga = /* @__PURE__ */ ue({
3065
3067
  onChange: () => a()
3066
3068
  }, _, {
3067
3069
  placeholder: (_ == null ? void 0 : _.placeholder) || I || `请选择${E}时间`
3068
- }), null), U = ({
3070
+ }), null), V = ({
3069
3071
  key: r,
3070
3072
  disabled: E,
3071
3073
  editable: _ = !0,
@@ -3075,46 +3077,46 @@ const Ga = /* @__PURE__ */ ue({
3075
3077
  format: Y,
3076
3078
  placeholder: N = "请选择日期",
3077
3079
  popperclass: Q,
3078
- rangeSeparator: be = "-",
3080
+ rangeSeparator: Ae = "-",
3079
3081
  defaultValue: Te,
3080
3082
  defaultTime: Ue,
3081
3083
  valueFormat: Ve,
3082
3084
  disabledDate: Be = () => !1,
3083
3085
  formProp: we = {}
3084
3086
  }) => {
3085
- let ve = Y;
3086
- if (ve)
3087
+ let he = Y;
3088
+ if (he)
3087
3089
  switch (K) {
3088
3090
  case Pe.date:
3089
3091
  case Pe.dates:
3090
- ve = "YYYY-MM-DD";
3092
+ he = "YYYY-MM-DD";
3091
3093
  break;
3092
3094
  case Pe.year:
3093
- ve = "YYYY";
3095
+ he = "YYYY";
3094
3096
  break;
3095
3097
  case Pe.month:
3096
- ve = "YYYY-MM";
3098
+ he = "YYYY-MM";
3097
3099
  break;
3098
3100
  case Pe.week:
3099
- ve = "YYYY-MM-DD";
3101
+ he = "YYYY-MM-DD";
3100
3102
  break;
3101
3103
  // case EDateType.dates:
3102
3104
  // _format = "YYYY";
3103
3105
  // break;
3104
3106
  default:
3105
- ve = "";
3107
+ he = "";
3106
3108
  }
3107
3109
  return m(dt, le({
3108
3110
  modelValue: v.value[r],
3109
- "onUpdate:modelValue": (ye) => v.value[r] = ye,
3111
+ "onUpdate:modelValue": (me) => v.value[r] = me,
3110
3112
  onChange: () => a(),
3111
3113
  disabled: E,
3112
3114
  type: K,
3113
3115
  editable: _,
3114
3116
  startPlaceholder: I,
3115
3117
  endPlaceholder: H,
3116
- rangeSeparator: be,
3117
- format: ve,
3118
+ rangeSeparator: Ae,
3119
+ format: he,
3118
3120
  popperClass: Q,
3119
3121
  defaultValue: Te,
3120
3122
  defaultTime: Ue,
@@ -3123,7 +3125,7 @@ const Ga = /* @__PURE__ */ ue({
3123
3125
  }, we, {
3124
3126
  placeholder: (we == null ? void 0 : we.placeholder) || N || "请选择日期"
3125
3127
  }), null);
3126
- }, V = ({
3128
+ }, U = ({
3127
3129
  key: r,
3128
3130
  options: E,
3129
3131
  multiple: _ = !1,
@@ -3133,14 +3135,14 @@ const Ga = /* @__PURE__ */ ue({
3133
3135
  highlightCurrent: Y = !0,
3134
3136
  defaultExpandAll: N = !1,
3135
3137
  expandOnClickNode: Q = !1,
3136
- placeholder: be = "全部",
3138
+ placeholder: Ae = "全部",
3137
3139
  checkOnClickNode: Te = !1,
3138
3140
  showCheckbox: Ue = !1,
3139
3141
  checkStrictly: Ve = !0,
3140
3142
  defaultCheckedKeys: Be = [],
3141
3143
  currentNodeKey: we = "",
3142
- accordion: ve = !1,
3143
- formProp: ye = {},
3144
+ accordion: he = !1,
3145
+ formProp: me = {},
3144
3146
  label: qe
3145
3147
  }) => m(Vt, le({
3146
3148
  modelValue: v.value[r],
@@ -3150,7 +3152,7 @@ const Ga = /* @__PURE__ */ ue({
3150
3152
  clearable: !0,
3151
3153
  multiple: _,
3152
3154
  props: K,
3153
- placeholder: be,
3155
+ placeholder: Ae,
3154
3156
  filterable: I,
3155
3157
  nodeKey: H,
3156
3158
  highlightCurrent: Y,
@@ -3161,10 +3163,10 @@ const Ga = /* @__PURE__ */ ue({
3161
3163
  checkStrictly: Ve,
3162
3164
  defaultCheckedKeys: Be,
3163
3165
  currentNodeKey: we,
3164
- accordion: ve
3165
- }, ye, {
3166
- placeholder: (ye == null ? void 0 : ye.placeholder) || be || `请选择${qe || ""}`
3167
- }), null), S = ({
3166
+ accordion: he
3167
+ }, me, {
3168
+ placeholder: (me == null ? void 0 : me.placeholder) || Ae || `请选择${qe || ""}`
3169
+ }), null), L = ({
3168
3170
  key: r,
3169
3171
  selectKey: E,
3170
3172
  placeholder: _,
@@ -3222,7 +3224,7 @@ const Ga = /* @__PURE__ */ ue({
3222
3224
  onClick: () => Ne(r),
3223
3225
  onClear: () => Ge(),
3224
3226
  placeholder: (N == null ? void 0 : N.placeholder) || E || `点击选择${label || "人员"}`
3225
- }), null), me = (r) => {
3227
+ }), null), ge = (r) => {
3226
3228
  switch (r.type) {
3227
3229
  case "":
3228
3230
  case void 0:
@@ -3244,16 +3246,16 @@ const Ga = /* @__PURE__ */ ue({
3244
3246
  return $(r);
3245
3247
  case xe.date:
3246
3248
  case "el-date-picker":
3247
- return U(r);
3249
+ return V(r);
3248
3250
  case "el-time-select":
3249
3251
  return ne(r);
3250
3252
  case xe.treeselect:
3251
3253
  case "el-tree-select":
3252
- return V(r);
3254
+ return U(r);
3253
3255
  case xe.choosePerson:
3254
3256
  return Qe(r);
3255
3257
  case "select-input":
3256
- return S(r);
3258
+ return L(r);
3257
3259
  default:
3258
3260
  return m(Z, null, null);
3259
3261
  }
@@ -3285,7 +3287,7 @@ const Ga = /* @__PURE__ */ ue({
3285
3287
  }, [m(it, {
3286
3288
  label: I.type === "select-input" ? "" : I.label,
3287
3289
  prop: I.key
3288
- }, ht(K = me(I)) ? K : {
3290
+ }, ht(K = ge(I)) ? K : {
3289
3291
  default: () => [K]
3290
3292
  }), m(Oe, {
3291
3293
  name: "icon-sousuo1",
@@ -3307,7 +3309,7 @@ const Ga = /* @__PURE__ */ ue({
3307
3309
  ) : m(it, {
3308
3310
  label: I.type === "select-input" ? "" : I.label,
3309
3311
  prop: I.key
3310
- }, ht(Y = me(I)) ? Y : {
3312
+ }, ht(Y = ge(I)) ? Y : {
3311
3313
  default: () => [Y]
3312
3314
  })]
3313
3315
  }));
@@ -3463,12 +3465,12 @@ const Ga = /* @__PURE__ */ ue({
3463
3465
  1
3464
3466
  /* TEXT */
3465
3467
  ),
3466
- ge(x.$slots, "headerLeft", {}, void 0, !0)
3468
+ ve(x.$slots, "headerLeft", {}, void 0, !0)
3467
3469
  ]),
3468
3470
  k(" 默认按钮 "),
3469
3471
  u("div", Xa, [
3470
3472
  k(" 右侧操作或自定义内容 "),
3471
- ge(x.$slots, "headerRight", {}, void 0, !0),
3473
+ ve(x.$slots, "headerRight", {}, void 0, !0),
3472
3474
  l.exportBtn ? (s(), D(T(Oe), {
3473
3475
  key: 0,
3474
3476
  name: "iksvg_xiazai",
@@ -3771,7 +3773,7 @@ const Ga = /* @__PURE__ */ ue({
3771
3773
  null,
3772
3774
  [
3773
3775
  k(" 自定义表格 "),
3774
- (W = a.$slots) != null && W.table ? ge(a.$slots, "table", { key: 0 }, void 0, !0) : (s(), y(
3776
+ (W = a.$slots) != null && W.table ? ve(a.$slots, "table", { key: 0 }, void 0, !0) : (s(), y(
3775
3777
  Z,
3776
3778
  { key: 1 },
3777
3779
  [
@@ -3800,7 +3802,7 @@ const Ga = /* @__PURE__ */ ue({
3800
3802
  width: 60,
3801
3803
  align: "center"
3802
3804
  })) : k("v-if", !0),
3803
- ge(a.$slots, "default", {}, void 0, !0)
3805
+ ve(a.$slots, "default", {}, void 0, !0)
3804
3806
  ]),
3805
3807
  _: 3
3806
3808
  /* FORWARDED */
@@ -3843,33 +3845,33 @@ const Ga = /* @__PURE__ */ ue({
3843
3845
  emits: /* @__PURE__ */ Ee(["selection-change", "delete", "download", "addFunction"], ["update:modelValue"]),
3844
3846
  setup(l, { expose: c, emit: e }) {
3845
3847
  const t = l, b = e, h = et(l, "modelValue"), O = () => {
3846
- var U;
3847
- (U = h == null ? void 0 : h.value) != null && U.page && (h.value = {
3848
+ var V;
3849
+ (V = h == null ? void 0 : h.value) != null && V.page && (h.value = {
3848
3850
  page: 1,
3849
3851
  rows: 15
3850
3852
  });
3851
3853
  };
3852
3854
  O();
3853
- const v = (U) => {
3855
+ const v = (V) => {
3854
3856
  h.value = {
3855
3857
  ...h.value,
3856
- ...U
3858
+ ...V
3857
3859
  };
3858
- }, F = (U) => {
3859
- var S;
3860
+ }, F = (V) => {
3861
+ var L;
3860
3862
  O();
3861
- const V = (U == null ? void 0 : U.type) === "click" ? {} : U;
3863
+ const U = (V == null ? void 0 : V.type) === "click" ? {} : V;
3862
3864
  h.value = {
3863
3865
  ...h.value,
3864
- ...V
3865
- }, (S = t == null ? void 0 : t.search) == null || S.call(t, {
3866
+ ...U
3867
+ }, (L = t == null ? void 0 : t.search) == null || L.call(t, {
3866
3868
  ...h.value
3867
3869
  });
3868
- }, x = B([]), C = (U) => {
3869
- x.value = U, b("selection-change", U);
3870
- }, A = R(() => x.value.length || t.chooseLen), o = B(t.fields), a = R(() => "light"), i = B(), w = B(), d = B(), g = B(!1), W = B(void 0), $ = B(t.title || ""), f = (U) => {
3871
- W.value = U ? { ...U } : null, t.title ? t.title.includes("新增") || t.title.includes("修改") ? $.value = U ? t.title.replace(/新增/g, "修改") : t.title.replace(/修改/g, "新增") : $.value = U ? `修改${t.title}` : `新增${t.title}` : $.value = U ? "修改" : "新增", g.value = !0;
3872
- }, ne = R(() => t.fields.find((U) => U.isEdit));
3870
+ }, x = B([]), C = (V) => {
3871
+ x.value = V, b("selection-change", V);
3872
+ }, A = R(() => x.value.length || t.chooseLen), o = B(t.fields), a = R(() => "light"), i = B(), w = B(), d = B(), g = B(!1), W = B(void 0), $ = B(t.title || ""), f = (V) => {
3873
+ W.value = V ? { ...V } : null, t.title ? t.title.includes("新增") || t.title.includes("修改") ? $.value = V ? t.title.replace(/新增/g, "修改") : t.title.replace(/修改/g, "新增") : $.value = V ? `修改${t.title}` : `新增${t.title}` : $.value = V ? "修改" : "新增", g.value = !0;
3874
+ }, ne = R(() => t.fields.find((V) => V.isEdit));
3873
3875
  return c({
3874
3876
  table: i,
3875
3877
  header: w,
@@ -3878,8 +3880,8 @@ const Ga = /* @__PURE__ */ ue({
3878
3880
  pageData: h,
3879
3881
  dialog: d,
3880
3882
  handAdd: f
3881
- }), (U, V) => {
3882
- const S = te("el-button"), j = te("IkNumberDuration"), z = te("el-table-column"), ie = tt("role");
3883
+ }), (V, U) => {
3884
+ const L = te("el-button"), j = te("IkNumberDuration"), z = te("el-table-column"), ie = tt("role");
3883
3885
  return s(), y(
3884
3886
  Z,
3885
3887
  null,
@@ -3888,24 +3890,24 @@ const Ga = /* @__PURE__ */ ue({
3888
3890
  m(Ka, le({
3889
3891
  ref_key: "refHeader",
3890
3892
  ref: w
3891
- }, { ...U.$attrs, ...t }, {
3893
+ }, { ...V.$attrs, ...t }, {
3892
3894
  modelValue: o.value,
3893
- "onUpdate:modelValue": V[1] || (V[1] = (M) => o.value = M),
3894
- loading: U.loading,
3895
+ "onUpdate:modelValue": U[1] || (U[1] = (M) => o.value = M),
3896
+ loading: V.loading,
3895
3897
  search: F,
3896
- "tab-id": U.tabId
3898
+ "tab-id": V.tabId
3897
3899
  }), {
3898
3900
  headerLeft: P(() => [
3899
- ge(U.$slots, "headerLeft", {}, void 0, !0)
3901
+ ve(V.$slots, "headerLeft", {}, void 0, !0)
3900
3902
  ]),
3901
3903
  headerRight: P(() => [
3902
- ge(U.$slots, "headerRight", {}, () => [
3903
- ne.value ? Ce((s(), D(S, {
3904
+ ve(V.$slots, "headerRight", {}, () => [
3905
+ ne.value ? Ce((s(), D(L, {
3904
3906
  key: 0,
3905
3907
  type: "primary",
3906
- onClick: V[0] || (V[0] = (M) => f(null))
3908
+ onClick: U[0] || (U[0] = (M) => f(null))
3907
3909
  }, {
3908
- default: P(() => [...V[4] || (V[4] = [
3910
+ default: P(() => [...U[4] || (U[4] = [
3909
3911
  ae(
3910
3912
  " 新增 ",
3911
3913
  -1
@@ -3915,7 +3917,7 @@ const Ga = /* @__PURE__ */ ue({
3915
3917
  _: 1
3916
3918
  /* STABLE */
3917
3919
  })), [
3918
- [ie, U.role]
3920
+ [ie, V.role]
3919
3921
  ]) : k("v-if", !0)
3920
3922
  ], !0)
3921
3923
  ]),
@@ -3923,7 +3925,7 @@ const Ga = /* @__PURE__ */ ue({
3923
3925
  /* FORWARDED */
3924
3926
  }, 16, ["modelValue", "loading", "tab-id"]),
3925
3927
  k(" 选中表格项 "),
3926
- U.selection ? (s(), y(
3928
+ V.selection ? (s(), y(
3927
3929
  "div",
3928
3930
  {
3929
3931
  key: 0,
@@ -3931,7 +3933,7 @@ const Ga = /* @__PURE__ */ ue({
3931
3933
  },
3932
3934
  [
3933
3935
  u("p", nn, [
3934
- V[5] || (V[5] = ae(
3936
+ U[5] || (U[5] = ae(
3935
3937
  " 已选 ",
3936
3938
  -1
3937
3939
  /* CACHED */
@@ -3939,14 +3941,14 @@ const Ga = /* @__PURE__ */ ue({
3939
3941
  u("span", null, [
3940
3942
  m(j, { value: A.value }, null, 8, ["value"])
3941
3943
  ]),
3942
- V[6] || (V[6] = ae(
3944
+ U[6] || (U[6] = ae(
3943
3945
  " 条 ",
3944
3946
  -1
3945
3947
  /* CACHED */
3946
3948
  ))
3947
3949
  ]),
3948
3950
  u("div", sn, [
3949
- U.$slots.selectionRight ? ge(U.$slots, "selectionRight", { key: 1 }, void 0, !0) : (s(), y(
3951
+ V.$slots.selectionRight ? ve(V.$slots, "selectionRight", { key: 1 }, void 0, !0) : (s(), y(
3950
3952
  Z,
3951
3953
  { key: 0 },
3952
3954
  [
@@ -3954,13 +3956,13 @@ const Ga = /* @__PURE__ */ ue({
3954
3956
  name: "icon-shanchu",
3955
3957
  "show-bg": "",
3956
3958
  size: "default",
3957
- onClick: V[2] || (V[2] = (M) => U.$emit("delete", x.value))
3959
+ onClick: U[2] || (U[2] = (M) => V.$emit("delete", x.value))
3958
3960
  }),
3959
3961
  m(T(Oe), {
3960
3962
  ize: "default",
3961
3963
  name: "icon-xiazai",
3962
3964
  "show-bg": "",
3963
- onClick: V[3] || (V[3] = (M) => U.$emit("download", x.value))
3965
+ onClick: U[3] || (U[3] = (M) => V.$emit("download", x.value))
3964
3966
  })
3965
3967
  ],
3966
3968
  64
@@ -3972,12 +3974,12 @@ const Ga = /* @__PURE__ */ ue({
3972
3974
  /* CLASS */
3973
3975
  )) : k("v-if", !0),
3974
3976
  k(" 自定义表格 "),
3975
- ge(U.$slots, "table", {}, () => [
3977
+ ve(V.$slots, "table", {}, () => [
3976
3978
  m(an, le({
3977
3979
  ref_key: "refTable",
3978
3980
  ref: i,
3979
3981
  page: h.value
3980
- }, { ...U.$attrs, ...t }, {
3982
+ }, { ...V.$attrs, ...t }, {
3981
3983
  onPageChange: v,
3982
3984
  onSelectionChange: C
3983
3985
  }), {
@@ -3985,7 +3987,7 @@ const Ga = /* @__PURE__ */ ue({
3985
3987
  (s(!0), y(
3986
3988
  Z,
3987
3989
  null,
3988
- Ae(o.value, (M) => (s(), y(
3990
+ ye(o.value, (M) => (s(), y(
3989
3991
  Z,
3990
3992
  {
3991
3993
  key: M.key
@@ -4003,9 +4005,9 @@ const Ga = /* @__PURE__ */ ue({
4003
4005
  "show-overflow-tooltip": {
4004
4006
  effect: a.value ?? "light"
4005
4007
  }
4006
- }, { ref_for: !0 }, { ...M, ...U.$attrs, ...t }), {
4008
+ }, { ref_for: !0 }, { ...M, ...V.$attrs, ...t }), {
4007
4009
  default: P((J) => [
4008
- ge(U.$slots, M.tableSlot, { data: J }, void 0, !0)
4010
+ ve(V.$slots, M.tableSlot, { data: J }, void 0, !0)
4009
4011
  ]),
4010
4012
  _: 2
4011
4013
  /* DYNAMIC */
@@ -4019,7 +4021,7 @@ const Ga = /* @__PURE__ */ ue({
4019
4021
  effect: a.value ?? "light"
4020
4022
  },
4021
4023
  "show-arrow": !1
4022
- }, { ref_for: !0 }, { ...M, ...U.$attrs, ...t }), null, 16, ["prop", "width", "min-width", "align", "show-overflow-tooltip"]))
4024
+ }, { ref_for: !0 }, { ...M, ...V.$attrs, ...t }), null, 16, ["prop", "width", "min-width", "align", "show-overflow-tooltip"]))
4023
4025
  ],
4024
4026
  64
4025
4027
  /* STABLE_FRAGMENT */