@juzhenfe/page-model 3.16.6 → 3.17.0

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/index.es.js CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
5
5
  return value;
6
6
  };
7
7
  import { reactive, defineComponent, openBlock, createElementBlock, computed, ref, resolveComponent, normalizeClass, unref, createVNode, mergeProps, withCtx, Fragment, renderList, createBlock, createElementVNode, toDisplayString, nextTick, watch, markRaw, getCurrentInstance, resolveDynamicComponent, renderSlot, h, inject, createTextVNode, withModifiers, toRefs, onUnmounted, useSlots, toHandlers, createSlots, onMounted, createCommentVNode, render, Teleport, Transition, normalizeStyle, withDirectives, vShow, pushScopeId, popScopeId, resolveDirective, onActivated, watchEffect, normalizeProps, guardReactiveProps, provide } from "vue";
8
- import { ElMessage, ElLoading, useZIndex, ElMessageBox } from "element-plus";
8
+ import { ElMessage, ElLoading, ElMessageBox, ElIcon } from "element-plus";
9
9
  function defineConfig(config) {
10
10
  return reactive(config);
11
11
  }
@@ -212,11 +212,11 @@ const randomStr = (len = 16) => {
212
212
  return RANDOM_RANGE[Math.floor(Math.random() * RANDOM_RANGE_LENGTH)];
213
213
  }).join("");
214
214
  };
215
- const _hoisted_1$I = { class: "scenes-tab" };
215
+ const _hoisted_1$J = { class: "scenes-tab" };
216
216
  const __default__$o = {
217
217
  name: "ScenesTab"
218
218
  };
219
- const _sfc_main$17 = defineComponent({
219
+ const _sfc_main$18 = defineComponent({
220
220
  ...__default__$o,
221
221
  setup(__props, { expose: __expose }) {
222
222
  const getValue2 = () => {
@@ -226,7 +226,7 @@ const _sfc_main$17 = defineComponent({
226
226
  getValue: getValue2
227
227
  });
228
228
  return (_ctx, _cache) => {
229
- return openBlock(), createElementBlock("div", _hoisted_1$I);
229
+ return openBlock(), createElementBlock("div", _hoisted_1$J);
230
230
  };
231
231
  }
232
232
  });
@@ -234,7 +234,7 @@ var index_vue_vue_type_style_index_0_lang$c = "";
234
234
  const __default__$n = {
235
235
  name: "NormalTab"
236
236
  };
237
- const _sfc_main$16 = defineComponent({
237
+ const _sfc_main$17 = defineComponent({
238
238
  ...__default__$n,
239
239
  props: {
240
240
  panes: {},
@@ -1687,7 +1687,7 @@ var index_vue_vue_type_style_index_0_lang$b = "";
1687
1687
  const __default__$m = {
1688
1688
  name: "TopTabs"
1689
1689
  };
1690
- const _sfc_main$15 = defineComponent({
1690
+ const _sfc_main$16 = defineComponent({
1691
1691
  ...__default__$m,
1692
1692
  props: {
1693
1693
  tabs: {},
@@ -1708,12 +1708,12 @@ const _sfc_main$15 = defineComponent({
1708
1708
  const tabComponent = computed(() => {
1709
1709
  if (props.tabs.useScene) {
1710
1710
  return {
1711
- component: _sfc_main$17,
1711
+ component: _sfc_main$18,
1712
1712
  props: props.tabs.sceneTab
1713
1713
  };
1714
1714
  } else {
1715
1715
  return {
1716
- component: _sfc_main$16,
1716
+ component: _sfc_main$17,
1717
1717
  props: {
1718
1718
  panes: props.tabs.panes,
1719
1719
  props: props.tabs.props
@@ -1753,143 +1753,143 @@ var _export_sfc$1 = (sfc, props) => {
1753
1753
  }
1754
1754
  return target;
1755
1755
  };
1756
- const _sfc_main$14 = defineComponent({
1756
+ const _sfc_main$15 = defineComponent({
1757
1757
  name: "ArrowDownBold"
1758
1758
  });
1759
- const _hoisted_1$H = {
1759
+ const _hoisted_1$I = {
1760
1760
  class: "icon",
1761
1761
  width: "200",
1762
1762
  height: "200",
1763
1763
  viewBox: "0 0 1024 1024",
1764
1764
  xmlns: "http://www.w3.org/2000/svg"
1765
1765
  };
1766
- const _hoisted_2$x = /* @__PURE__ */ createElementVNode("path", {
1766
+ const _hoisted_2$y = /* @__PURE__ */ createElementVNode("path", {
1767
1767
  fill: "currentColor",
1768
1768
  d: "M104.704 338.752a64 64 0 0190.496 0l316.8 316.8 316.8-316.8a64 64 0 0190.496 90.496L557.248 791.296a64 64 0 01-90.496 0L104.704 429.248a64 64 0 010-90.496z"
1769
1769
  }, null, -1);
1770
1770
  const _hoisted_3$v = [
1771
- _hoisted_2$x
1771
+ _hoisted_2$y
1772
1772
  ];
1773
1773
  function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1774
- return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_3$v);
1774
+ return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_3$v);
1775
1775
  }
1776
- var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["render", _sfc_render$o]]);
1777
- const _sfc_main$13 = defineComponent({
1776
+ var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$15, [["render", _sfc_render$o]]);
1777
+ const _sfc_main$14 = defineComponent({
1778
1778
  name: "ArrowDown"
1779
1779
  });
1780
- const _hoisted_1$G = {
1780
+ const _hoisted_1$H = {
1781
1781
  class: "icon",
1782
1782
  width: "200",
1783
1783
  height: "200",
1784
1784
  viewBox: "0 0 1024 1024",
1785
1785
  xmlns: "http://www.w3.org/2000/svg"
1786
1786
  };
1787
- const _hoisted_2$w = /* @__PURE__ */ createElementVNode("path", {
1787
+ const _hoisted_2$x = /* @__PURE__ */ createElementVNode("path", {
1788
1788
  fill: "currentColor",
1789
1789
  d: "M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"
1790
1790
  }, null, -1);
1791
1791
  const _hoisted_3$u = [
1792
- _hoisted_2$w
1792
+ _hoisted_2$x
1793
1793
  ];
1794
1794
  function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
1795
- return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$u);
1795
+ return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_3$u);
1796
1796
  }
1797
- var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$n]]);
1798
- const _sfc_main$12 = defineComponent({
1797
+ var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["render", _sfc_render$n]]);
1798
+ const _sfc_main$13 = defineComponent({
1799
1799
  name: "CaretBottom"
1800
1800
  });
1801
- const _hoisted_1$F = {
1801
+ const _hoisted_1$G = {
1802
1802
  class: "icon",
1803
1803
  width: "200",
1804
1804
  height: "200",
1805
1805
  viewBox: "0 0 1024 1024",
1806
1806
  xmlns: "http://www.w3.org/2000/svg"
1807
1807
  };
1808
- const _hoisted_2$v = /* @__PURE__ */ createElementVNode("path", {
1808
+ const _hoisted_2$w = /* @__PURE__ */ createElementVNode("path", {
1809
1809
  fill: "currentColor",
1810
1810
  d: "M192 384l320 384 320-384z"
1811
1811
  }, null, -1);
1812
1812
  const _hoisted_3$t = [
1813
- _hoisted_2$v
1813
+ _hoisted_2$w
1814
1814
  ];
1815
1815
  function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
1816
- return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$t);
1816
+ return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$t);
1817
1817
  }
1818
- var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["render", _sfc_render$m]]);
1819
- const _sfc_main$11 = defineComponent({
1818
+ var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$m]]);
1819
+ const _sfc_main$12 = defineComponent({
1820
1820
  name: "CaretRight"
1821
1821
  });
1822
- const _hoisted_1$E = {
1822
+ const _hoisted_1$F = {
1823
1823
  class: "icon",
1824
1824
  width: "200",
1825
1825
  height: "200",
1826
1826
  viewBox: "0 0 1024 1024",
1827
1827
  xmlns: "http://www.w3.org/2000/svg"
1828
1828
  };
1829
- const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
1829
+ const _hoisted_2$v = /* @__PURE__ */ createElementVNode("path", {
1830
1830
  fill: "currentColor",
1831
1831
  d: "M384 192v640l384-320.064z"
1832
1832
  }, null, -1);
1833
1833
  const _hoisted_3$s = [
1834
- _hoisted_2$u
1834
+ _hoisted_2$v
1835
1835
  ];
1836
1836
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
1837
- return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$s);
1837
+ return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$s);
1838
1838
  }
1839
- var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["render", _sfc_render$l]]);
1840
- const _sfc_main$10 = defineComponent({
1839
+ var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["render", _sfc_render$l]]);
1840
+ const _sfc_main$11 = defineComponent({
1841
1841
  name: "CaretTop"
1842
1842
  });
1843
- const _hoisted_1$D = {
1843
+ const _hoisted_1$E = {
1844
1844
  class: "icon",
1845
1845
  width: "200",
1846
1846
  height: "200",
1847
1847
  viewBox: "0 0 1024 1024",
1848
1848
  xmlns: "http://www.w3.org/2000/svg"
1849
1849
  };
1850
- const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
1850
+ const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
1851
1851
  fill: "currentColor",
1852
1852
  d: "M512 320L192 704h639.936z"
1853
1853
  }, null, -1);
1854
1854
  const _hoisted_3$r = [
1855
- _hoisted_2$t
1855
+ _hoisted_2$u
1856
1856
  ];
1857
1857
  function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
1858
- return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$r);
1858
+ return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$r);
1859
1859
  }
1860
- var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$k]]);
1861
- const _sfc_main$$ = defineComponent({
1860
+ var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["render", _sfc_render$k]]);
1861
+ const _sfc_main$10 = defineComponent({
1862
1862
  name: "CirclePlusFilled"
1863
1863
  });
1864
- const _hoisted_1$C = {
1864
+ const _hoisted_1$D = {
1865
1865
  class: "icon",
1866
1866
  width: "200",
1867
1867
  height: "200",
1868
1868
  viewBox: "0 0 1024 1024",
1869
1869
  xmlns: "http://www.w3.org/2000/svg"
1870
1870
  };
1871
- const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
1871
+ const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
1872
1872
  fill: "currentColor",
1873
1873
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zm-38.4 409.6H326.4a38.4 38.4 0 100 76.8h147.2v147.2a38.4 38.4 0 0076.8 0V550.4h147.2a38.4 38.4 0 000-76.8H550.4V326.4a38.4 38.4 0 10-76.8 0v147.2z"
1874
1874
  }, null, -1);
1875
1875
  const _hoisted_3$q = [
1876
- _hoisted_2$s
1876
+ _hoisted_2$t
1877
1877
  ];
1878
1878
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
1879
- return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$q);
1879
+ return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$q);
1880
1880
  }
1881
- var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$j]]);
1882
- const _sfc_main$_ = defineComponent({
1881
+ var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$j]]);
1882
+ const _sfc_main$$ = defineComponent({
1883
1883
  name: "CirclePlus"
1884
1884
  });
1885
- const _hoisted_1$B = {
1885
+ const _hoisted_1$C = {
1886
1886
  class: "icon",
1887
1887
  width: "200",
1888
1888
  height: "200",
1889
1889
  viewBox: "0 0 1024 1024",
1890
1890
  xmlns: "http://www.w3.org/2000/svg"
1891
1891
  };
1892
- const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
1892
+ const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
1893
1893
  fill: "currentColor",
1894
1894
  d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
1895
1895
  }, null, -1);
@@ -1902,46 +1902,46 @@ const _hoisted_4$8 = /* @__PURE__ */ createElementVNode("path", {
1902
1902
  d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
1903
1903
  }, null, -1);
1904
1904
  const _hoisted_5$5 = [
1905
- _hoisted_2$r,
1905
+ _hoisted_2$s,
1906
1906
  _hoisted_3$p,
1907
1907
  _hoisted_4$8
1908
1908
  ];
1909
1909
  function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
1910
- return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_5$5);
1910
+ return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_5$5);
1911
1911
  }
1912
- var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$i]]);
1913
- const _sfc_main$Z = defineComponent({
1912
+ var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$i]]);
1913
+ const _sfc_main$_ = defineComponent({
1914
1914
  name: "Download"
1915
1915
  });
1916
- const _hoisted_1$A = {
1916
+ const _hoisted_1$B = {
1917
1917
  class: "icon",
1918
1918
  width: "200",
1919
1919
  height: "200",
1920
1920
  viewBox: "0 0 1024 1024",
1921
1921
  xmlns: "http://www.w3.org/2000/svg"
1922
1922
  };
1923
- const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
1923
+ const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
1924
1924
  fill: "currentColor",
1925
1925
  d: "M160 832h704a32 32 0 110 64H160a32 32 0 110-64zm384-253.696l236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64v450.304z"
1926
1926
  }, null, -1);
1927
1927
  const _hoisted_3$o = [
1928
- _hoisted_2$q
1928
+ _hoisted_2$r
1929
1929
  ];
1930
1930
  function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
1931
- return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$o);
1931
+ return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_3$o);
1932
1932
  }
1933
- var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$h]]);
1934
- const _sfc_main$Y = defineComponent({
1933
+ var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$h]]);
1934
+ const _sfc_main$Z = defineComponent({
1935
1935
  name: "Edit"
1936
1936
  });
1937
- const _hoisted_1$z = {
1937
+ const _hoisted_1$A = {
1938
1938
  class: "icon",
1939
1939
  width: "200",
1940
1940
  height: "200",
1941
1941
  viewBox: "0 0 1024 1024",
1942
1942
  xmlns: "http://www.w3.org/2000/svg"
1943
1943
  };
1944
- const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
1944
+ const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
1945
1945
  fill: "currentColor",
1946
1946
  d: "M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"
1947
1947
  }, null, -1);
@@ -1950,255 +1950,255 @@ const _hoisted_3$n = /* @__PURE__ */ createElementVNode("path", {
1950
1950
  d: "M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"
1951
1951
  }, null, -1);
1952
1952
  const _hoisted_4$7 = [
1953
- _hoisted_2$p,
1953
+ _hoisted_2$q,
1954
1954
  _hoisted_3$n
1955
1955
  ];
1956
1956
  function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
1957
- return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_4$7);
1957
+ return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_4$7);
1958
1958
  }
1959
- var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$g]]);
1960
- const _sfc_main$X = defineComponent({
1959
+ var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$g]]);
1960
+ const _sfc_main$Y = defineComponent({
1961
1961
  name: "Filter"
1962
1962
  });
1963
- const _hoisted_1$y = {
1963
+ const _hoisted_1$z = {
1964
1964
  class: "icon",
1965
1965
  width: "200",
1966
1966
  height: "200",
1967
1967
  viewBox: "0 0 1024 1024",
1968
1968
  xmlns: "http://www.w3.org/2000/svg"
1969
1969
  };
1970
- const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
1970
+ const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
1971
1971
  fill: "currentColor",
1972
1972
  d: "M384 523.392V928a32 32 0 0046.336 28.608l192-96A32 32 0 00640 832V523.392l280.768-343.104a32 32 0 10-49.536-40.576l-288 352A32 32 0 00576 512v300.224l-128 64V512a32 32 0 00-7.232-20.288L195.52 192H704a32 32 0 100-64H128a32 32 0 00-24.768 52.288L384 523.392z"
1973
1973
  }, null, -1);
1974
1974
  const _hoisted_3$m = [
1975
- _hoisted_2$o
1975
+ _hoisted_2$p
1976
1976
  ];
1977
1977
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
1978
- return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$m);
1978
+ return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_3$m);
1979
1979
  }
1980
- var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$f]]);
1981
- const _sfc_main$W = defineComponent({
1980
+ var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$f]]);
1981
+ const _sfc_main$X = defineComponent({
1982
1982
  name: "FullScreen"
1983
1983
  });
1984
- const _hoisted_1$x = {
1984
+ const _hoisted_1$y = {
1985
1985
  class: "icon",
1986
1986
  width: "200",
1987
1987
  height: "200",
1988
1988
  viewBox: "0 0 1024 1024",
1989
1989
  xmlns: "http://www.w3.org/2000/svg"
1990
1990
  };
1991
- const _hoisted_2$n = /* @__PURE__ */ createElementVNode("path", {
1991
+ const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
1992
1992
  fill: "currentColor",
1993
1993
  d: "M160 96.064l192 .192a32 32 0 010 64l-192-.192V352a32 32 0 01-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1164 0v191.936l192-.192a32 32 0 110 64l-192 .192zM864 96.064V96h64v256a32 32 0 11-64 0V160.064l-192 .192a32 32 0 110-64l192-.192zm0 831.872l-192-.192a32 32 0 010-64l192 .192V672a32 32 0 1164 0v256h-64v-.064z"
1994
1994
  }, null, -1);
1995
1995
  const _hoisted_3$l = [
1996
- _hoisted_2$n
1996
+ _hoisted_2$o
1997
1997
  ];
1998
1998
  function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
1999
- return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$l);
1999
+ return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$l);
2000
2000
  }
2001
- var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$e]]);
2002
- const _sfc_main$V = defineComponent({
2001
+ var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$e]]);
2002
+ const _sfc_main$W = defineComponent({
2003
2003
  name: "Grid"
2004
2004
  });
2005
- const _hoisted_1$w = {
2005
+ const _hoisted_1$x = {
2006
2006
  class: "icon",
2007
2007
  width: "200",
2008
2008
  height: "200",
2009
2009
  viewBox: "0 0 1024 1024",
2010
2010
  xmlns: "http://www.w3.org/2000/svg"
2011
2011
  };
2012
- const _hoisted_2$m = /* @__PURE__ */ createElementVNode("path", {
2012
+ const _hoisted_2$n = /* @__PURE__ */ createElementVNode("path", {
2013
2013
  fill: "currentColor",
2014
2014
  d: "M640 384v256H384V384h256zm64 0h192v256H704V384zm-64 512H384V704h256v192zm64 0V704h192v192H704zm-64-768v192H384V128h256zm64 0h192v192H704V128zM320 384v256H128V384h192zm0 512H128V704h192v192zm0-768v192H128V128h192z"
2015
2015
  }, null, -1);
2016
2016
  const _hoisted_3$k = [
2017
- _hoisted_2$m
2017
+ _hoisted_2$n
2018
2018
  ];
2019
2019
  function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
2020
- return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$k);
2020
+ return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$k);
2021
2021
  }
2022
- var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$d]]);
2023
- const _sfc_main$U = defineComponent({
2022
+ var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$d]]);
2023
+ const _sfc_main$V = defineComponent({
2024
2024
  name: "InfoFilled"
2025
2025
  });
2026
- const _hoisted_1$v = {
2026
+ const _hoisted_1$w = {
2027
2027
  class: "icon",
2028
2028
  width: "200",
2029
2029
  height: "200",
2030
2030
  viewBox: "0 0 1024 1024",
2031
2031
  xmlns: "http://www.w3.org/2000/svg"
2032
2032
  };
2033
- const _hoisted_2$l = /* @__PURE__ */ createElementVNode("path", {
2033
+ const _hoisted_2$m = /* @__PURE__ */ createElementVNode("path", {
2034
2034
  fill: "currentColor",
2035
2035
  d: "M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
2036
2036
  }, null, -1);
2037
2037
  const _hoisted_3$j = [
2038
- _hoisted_2$l
2038
+ _hoisted_2$m
2039
2039
  ];
2040
2040
  function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
2041
- return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$j);
2041
+ return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$j);
2042
2042
  }
2043
- var infoFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$c]]);
2044
- const _sfc_main$T = defineComponent({
2043
+ var infoFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$c]]);
2044
+ const _sfc_main$U = defineComponent({
2045
2045
  name: "Loading"
2046
2046
  });
2047
- const _hoisted_1$u = {
2047
+ const _hoisted_1$v = {
2048
2048
  class: "icon",
2049
2049
  width: "200",
2050
2050
  height: "200",
2051
2051
  viewBox: "0 0 1024 1024",
2052
2052
  xmlns: "http://www.w3.org/2000/svg"
2053
2053
  };
2054
- const _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
2054
+ const _hoisted_2$l = /* @__PURE__ */ createElementVNode("path", {
2055
2055
  fill: "currentColor",
2056
2056
  d: "M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"
2057
2057
  }, null, -1);
2058
2058
  const _hoisted_3$i = [
2059
- _hoisted_2$k
2059
+ _hoisted_2$l
2060
2060
  ];
2061
2061
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
2062
- return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$i);
2062
+ return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$i);
2063
2063
  }
2064
- var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$b]]);
2065
- const _sfc_main$S = defineComponent({
2064
+ var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$b]]);
2065
+ const _sfc_main$T = defineComponent({
2066
2066
  name: "Menu"
2067
2067
  });
2068
- const _hoisted_1$t = {
2068
+ const _hoisted_1$u = {
2069
2069
  class: "icon",
2070
2070
  width: "200",
2071
2071
  height: "200",
2072
2072
  viewBox: "0 0 1024 1024",
2073
2073
  xmlns: "http://www.w3.org/2000/svg"
2074
2074
  };
2075
- const _hoisted_2$j = /* @__PURE__ */ createElementVNode("path", {
2075
+ const _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
2076
2076
  fill: "currentColor",
2077
2077
  d: "M160 448a32 32 0 01-32-32V160.064a32 32 0 0132-32h256a32 32 0 0132 32V416a32 32 0 01-32 32H160zm448 0a32 32 0 01-32-32V160.064a32 32 0 0132-32h255.936a32 32 0 0132 32V416a32 32 0 01-32 32H608zM160 896a32 32 0 01-32-32V608a32 32 0 0132-32h256a32 32 0 0132 32v256a32 32 0 01-32 32H160zm448 0a32 32 0 01-32-32V608a32 32 0 0132-32h255.936a32 32 0 0132 32v256a32 32 0 01-32 32H608z"
2078
2078
  }, null, -1);
2079
2079
  const _hoisted_3$h = [
2080
- _hoisted_2$j
2080
+ _hoisted_2$k
2081
2081
  ];
2082
2082
  function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
2083
- return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$h);
2083
+ return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$h);
2084
2084
  }
2085
- var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$a]]);
2086
- const _sfc_main$R = defineComponent({
2085
+ var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$a]]);
2086
+ const _sfc_main$S = defineComponent({
2087
2087
  name: "Operation"
2088
2088
  });
2089
- const _hoisted_1$s = {
2089
+ const _hoisted_1$t = {
2090
2090
  class: "icon",
2091
2091
  width: "200",
2092
2092
  height: "200",
2093
2093
  viewBox: "0 0 1024 1024",
2094
2094
  xmlns: "http://www.w3.org/2000/svg"
2095
2095
  };
2096
- const _hoisted_2$i = /* @__PURE__ */ createElementVNode("path", {
2096
+ const _hoisted_2$j = /* @__PURE__ */ createElementVNode("path", {
2097
2097
  fill: "currentColor",
2098
2098
  d: "M389.44 768a96.064 96.064 0 01181.12 0H896v64H570.56a96.064 96.064 0 01-181.12 0H128v-64h261.44zm192-288a96.064 96.064 0 01181.12 0H896v64H762.56a96.064 96.064 0 01-181.12 0H128v-64h453.44zm-320-288a96.064 96.064 0 01181.12 0H896v64H442.56a96.064 96.064 0 01-181.12 0H128v-64h133.44z"
2099
2099
  }, null, -1);
2100
2100
  const _hoisted_3$g = [
2101
- _hoisted_2$i
2101
+ _hoisted_2$j
2102
2102
  ];
2103
2103
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
2104
- return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$g);
2104
+ return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$g);
2105
2105
  }
2106
- var operation = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$9]]);
2107
- const _sfc_main$Q = defineComponent({
2106
+ var operation = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$9]]);
2107
+ const _sfc_main$R = defineComponent({
2108
2108
  name: "Plus"
2109
2109
  });
2110
- const _hoisted_1$r = {
2110
+ const _hoisted_1$s = {
2111
2111
  class: "icon",
2112
2112
  width: "200",
2113
2113
  height: "200",
2114
2114
  viewBox: "0 0 1024 1024",
2115
2115
  xmlns: "http://www.w3.org/2000/svg"
2116
2116
  };
2117
- const _hoisted_2$h = /* @__PURE__ */ createElementVNode("path", {
2117
+ const _hoisted_2$i = /* @__PURE__ */ createElementVNode("path", {
2118
2118
  fill: "currentColor",
2119
2119
  d: "M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"
2120
2120
  }, null, -1);
2121
2121
  const _hoisted_3$f = [
2122
- _hoisted_2$h
2122
+ _hoisted_2$i
2123
2123
  ];
2124
2124
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
2125
- return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$f);
2125
+ return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$f);
2126
2126
  }
2127
- var plus = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$8]]);
2128
- const _sfc_main$P = defineComponent({
2127
+ var plus = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$8]]);
2128
+ const _sfc_main$Q = defineComponent({
2129
2129
  name: "QuestionFilled"
2130
2130
  });
2131
- const _hoisted_1$q = {
2131
+ const _hoisted_1$r = {
2132
2132
  class: "icon",
2133
2133
  width: "200",
2134
2134
  height: "200",
2135
2135
  viewBox: "0 0 1024 1024",
2136
2136
  xmlns: "http://www.w3.org/2000/svg"
2137
2137
  };
2138
- const _hoisted_2$g = /* @__PURE__ */ createElementVNode("path", {
2138
+ const _hoisted_2$h = /* @__PURE__ */ createElementVNode("path", {
2139
2139
  fill: "currentColor",
2140
2140
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zm23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 00-38.72 14.784 49.408 49.408 0 00-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 00523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0016.192-38.72 51.968 51.968 0 00-15.488-38.016 55.936 55.936 0 00-39.424-14.784z"
2141
2141
  }, null, -1);
2142
2142
  const _hoisted_3$e = [
2143
- _hoisted_2$g
2143
+ _hoisted_2$h
2144
2144
  ];
2145
2145
  function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
2146
- return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$e);
2146
+ return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$e);
2147
2147
  }
2148
- var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$7]]);
2149
- const _sfc_main$O = defineComponent({
2148
+ var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$7]]);
2149
+ const _sfc_main$P = defineComponent({
2150
2150
  name: "RefreshLeft"
2151
2151
  });
2152
- const _hoisted_1$p = {
2152
+ const _hoisted_1$q = {
2153
2153
  class: "icon",
2154
2154
  width: "200",
2155
2155
  height: "200",
2156
2156
  viewBox: "0 0 1024 1024",
2157
2157
  xmlns: "http://www.w3.org/2000/svg"
2158
2158
  };
2159
- const _hoisted_2$f = /* @__PURE__ */ createElementVNode("path", {
2159
+ const _hoisted_2$g = /* @__PURE__ */ createElementVNode("path", {
2160
2160
  fill: "currentColor",
2161
2161
  d: "M289.088 296.704h92.992a32 32 0 010 64H232.96a32 32 0 01-32-32V179.712a32 32 0 0164 0v50.56a384 384 0 01643.84 282.88 384 384 0 01-383.936 384 384 384 0 01-384-384h64a320 320 0 10640 0 320 320 0 00-555.712-216.448z"
2162
2162
  }, null, -1);
2163
2163
  const _hoisted_3$d = [
2164
- _hoisted_2$f
2164
+ _hoisted_2$g
2165
2165
  ];
2166
2166
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
2167
- return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$d);
2167
+ return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$d);
2168
2168
  }
2169
- var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$6]]);
2170
- const _sfc_main$N = defineComponent({
2169
+ var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$6]]);
2170
+ const _sfc_main$O = defineComponent({
2171
2171
  name: "RemoveFilled"
2172
2172
  });
2173
- const _hoisted_1$o = {
2173
+ const _hoisted_1$p = {
2174
2174
  class: "icon",
2175
2175
  width: "200",
2176
2176
  height: "200",
2177
2177
  viewBox: "0 0 1024 1024",
2178
2178
  xmlns: "http://www.w3.org/2000/svg"
2179
2179
  };
2180
- const _hoisted_2$e = /* @__PURE__ */ createElementVNode("path", {
2180
+ const _hoisted_2$f = /* @__PURE__ */ createElementVNode("path", {
2181
2181
  fill: "currentColor",
2182
2182
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zM288 512a38.4 38.4 0 0038.4 38.4h371.2a38.4 38.4 0 000-76.8H326.4A38.4 38.4 0 00288 512z"
2183
2183
  }, null, -1);
2184
2184
  const _hoisted_3$c = [
2185
- _hoisted_2$e
2185
+ _hoisted_2$f
2186
2186
  ];
2187
2187
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
2188
- return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$c);
2188
+ return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$c);
2189
2189
  }
2190
- var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$5]]);
2191
- const _sfc_main$M = defineComponent({
2190
+ var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$5]]);
2191
+ const _sfc_main$N = defineComponent({
2192
2192
  name: "Remove"
2193
2193
  });
2194
- const _hoisted_1$n = {
2194
+ const _hoisted_1$o = {
2195
2195
  class: "icon",
2196
2196
  width: "200",
2197
2197
  height: "200",
2198
2198
  viewBox: "0 0 1024 1024",
2199
2199
  xmlns: "http://www.w3.org/2000/svg"
2200
2200
  };
2201
- const _hoisted_2$d = /* @__PURE__ */ createElementVNode("path", {
2201
+ const _hoisted_2$e = /* @__PURE__ */ createElementVNode("path", {
2202
2202
  fill: "currentColor",
2203
2203
  d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
2204
2204
  }, null, -1);
@@ -2207,102 +2207,102 @@ const _hoisted_3$b = /* @__PURE__ */ createElementVNode("path", {
2207
2207
  d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
2208
2208
  }, null, -1);
2209
2209
  const _hoisted_4$6 = [
2210
- _hoisted_2$d,
2210
+ _hoisted_2$e,
2211
2211
  _hoisted_3$b
2212
2212
  ];
2213
2213
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
2214
- return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_4$6);
2214
+ return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_4$6);
2215
2215
  }
2216
- var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$4]]);
2217
- const _sfc_main$L = defineComponent({
2216
+ var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$4]]);
2217
+ const _sfc_main$M = defineComponent({
2218
2218
  name: "Search"
2219
2219
  });
2220
- const _hoisted_1$m = {
2220
+ const _hoisted_1$n = {
2221
2221
  class: "icon",
2222
2222
  width: "200",
2223
2223
  height: "200",
2224
2224
  viewBox: "0 0 1024 1024",
2225
2225
  xmlns: "http://www.w3.org/2000/svg"
2226
2226
  };
2227
- const _hoisted_2$c = /* @__PURE__ */ createElementVNode("path", {
2227
+ const _hoisted_2$d = /* @__PURE__ */ createElementVNode("path", {
2228
2228
  fill: "currentColor",
2229
2229
  d: "M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704z"
2230
2230
  }, null, -1);
2231
2231
  const _hoisted_3$a = [
2232
- _hoisted_2$c
2232
+ _hoisted_2$d
2233
2233
  ];
2234
2234
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
2235
- return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$a);
2235
+ return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$a);
2236
2236
  }
2237
- var search = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$3]]);
2238
- const _sfc_main$K = defineComponent({
2237
+ var search = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$3]]);
2238
+ const _sfc_main$L = defineComponent({
2239
2239
  name: "Select"
2240
2240
  });
2241
- const _hoisted_1$l = {
2241
+ const _hoisted_1$m = {
2242
2242
  class: "icon",
2243
2243
  width: "200",
2244
2244
  height: "200",
2245
2245
  viewBox: "0 0 1024 1024",
2246
2246
  xmlns: "http://www.w3.org/2000/svg"
2247
2247
  };
2248
- const _hoisted_2$b = /* @__PURE__ */ createElementVNode("path", {
2248
+ const _hoisted_2$c = /* @__PURE__ */ createElementVNode("path", {
2249
2249
  fill: "currentColor",
2250
2250
  d: "M77.248 415.04a64 64 0 0190.496 0l226.304 226.304L846.528 188.8a64 64 0 1190.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 010-90.496z"
2251
2251
  }, null, -1);
2252
2252
  const _hoisted_3$9 = [
2253
- _hoisted_2$b
2253
+ _hoisted_2$c
2254
2254
  ];
2255
2255
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
2256
- return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$9);
2256
+ return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$9);
2257
2257
  }
2258
- var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$2]]);
2259
- const _sfc_main$J = defineComponent({
2258
+ var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$2]]);
2259
+ const _sfc_main$K = defineComponent({
2260
2260
  name: "Sort"
2261
2261
  });
2262
- const _hoisted_1$k = {
2262
+ const _hoisted_1$l = {
2263
2263
  class: "icon",
2264
2264
  width: "200",
2265
2265
  height: "200",
2266
2266
  viewBox: "0 0 1024 1024",
2267
2267
  xmlns: "http://www.w3.org/2000/svg"
2268
2268
  };
2269
- const _hoisted_2$a = /* @__PURE__ */ createElementVNode("path", {
2269
+ const _hoisted_2$b = /* @__PURE__ */ createElementVNode("path", {
2270
2270
  fill: "currentColor",
2271
2271
  d: "M384 96a32 32 0 0164 0v786.752a32 32 0 01-54.592 22.656L95.936 608a32 32 0 010-45.312h.128a32 32 0 0145.184 0L384 805.632V96zm192 45.248a32 32 0 0154.592-22.592L928.064 416a32 32 0 010 45.312h-.128a32 32 0 01-45.184 0L640 218.496V928a32 32 0 11-64 0V141.248z"
2272
2272
  }, null, -1);
2273
2273
  const _hoisted_3$8 = [
2274
- _hoisted_2$a
2274
+ _hoisted_2$b
2275
2275
  ];
2276
2276
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
2277
- return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$8);
2277
+ return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$8);
2278
2278
  }
2279
- var sort = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$1]]);
2280
- const _sfc_main$I = defineComponent({
2279
+ var sort = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$1]]);
2280
+ const _sfc_main$J = defineComponent({
2281
2281
  name: "Tools"
2282
2282
  });
2283
- const _hoisted_1$j = {
2283
+ const _hoisted_1$k = {
2284
2284
  class: "icon",
2285
2285
  width: "200",
2286
2286
  height: "200",
2287
2287
  viewBox: "0 0 1024 1024",
2288
2288
  xmlns: "http://www.w3.org/2000/svg"
2289
2289
  };
2290
- const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("path", {
2290
+ const _hoisted_2$a = /* @__PURE__ */ createElementVNode("path", {
2291
2291
  fill: "currentColor",
2292
2292
  d: "M764.416 254.72a351.68 351.68 0 0186.336 149.184H960v192.064H850.752a351.68 351.68 0 01-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 01-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 01-86.336-149.312H64v-192h109.248a351.68 351.68 0 0186.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 01172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 10-384 0 192 192 0 00384 0z"
2293
2293
  }, null, -1);
2294
2294
  const _hoisted_3$7 = [
2295
- _hoisted_2$9
2295
+ _hoisted_2$a
2296
2296
  ];
2297
2297
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2298
- return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$7);
2298
+ return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$7);
2299
2299
  }
2300
- var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render]]);
2300
+ var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render]]);
2301
2301
  const formManagerProvideKey = Symbol("form-manager");
2302
2302
  const registerPropertyProvideKey = Symbol("registerProperty");
2303
2303
  const isOpenAuthButtonProvideKey = Symbol("isOpenAuthButton");
2304
2304
  const authButtonsProvideKey = Symbol("authButtons");
2305
- const _sfc_main$H = {
2305
+ const _sfc_main$I = {
2306
2306
  name: "ButtonItemRender",
2307
2307
  props: {
2308
2308
  text: {
@@ -2965,7 +2965,7 @@ eventChain.setChain(addButtonHandler).setChain(updButtonHandler).setChain(delBut
2965
2965
  const execButtonClickEvent = (button, emit, executeData = [], context) => {
2966
2966
  eventChain.passRequest(button, emit, executeData, context);
2967
2967
  };
2968
- var index_vue_vue_type_style_index_0_scoped_true_lang$d = "";
2968
+ var index_vue_vue_type_style_index_0_scoped_true_lang$e = "";
2969
2969
  var _export_sfc = (sfc, props) => {
2970
2970
  const target = sfc.__vccOpts || sfc;
2971
2971
  for (const [key, val] of props) {
@@ -2976,7 +2976,7 @@ var _export_sfc = (sfc, props) => {
2976
2976
  const __default__$l = {
2977
2977
  name: "ButtonRenderer"
2978
2978
  };
2979
- const _sfc_main$G = defineComponent({
2979
+ const _sfc_main$H = defineComponent({
2980
2980
  ...__default__$l,
2981
2981
  props: {
2982
2982
  els: {},
@@ -3080,7 +3080,7 @@ const _sfc_main$G = defineComponent({
3080
3080
  onClick: withModifiers(($event) => handleButtonClick(index2), ["stop"])
3081
3081
  }), {
3082
3082
  default: withCtx(() => [
3083
- createVNode(_sfc_main$H, {
3083
+ createVNode(_sfc_main$I, {
3084
3084
  context: _ctx.context,
3085
3085
  "render-fn": button.renderFn,
3086
3086
  text: button.text
@@ -3104,7 +3104,7 @@ const _sfc_main$G = defineComponent({
3104
3104
  default: withCtx(() => {
3105
3105
  var _a2;
3106
3106
  return [
3107
- button.renderFn ? (openBlock(), createBlock(_sfc_main$H, {
3107
+ button.renderFn ? (openBlock(), createBlock(_sfc_main$I, {
3108
3108
  key: 0,
3109
3109
  context: _ctx.context,
3110
3110
  "render-fn": button.renderFn,
@@ -3134,14 +3134,14 @@ const _sfc_main$G = defineComponent({
3134
3134
  };
3135
3135
  }
3136
3136
  });
3137
- var ButtonsRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-7e05c338"]]);
3138
- var index_vue_vue_type_style_index_0_scoped_true_lang$c = "";
3139
- const _hoisted_1$i = { class: "selectable-operate" };
3137
+ var ButtonsRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-7e05c338"]]);
3138
+ var index_vue_vue_type_style_index_0_scoped_true_lang$d = "";
3139
+ const _hoisted_1$j = { class: "selectable-operate" };
3140
3140
  const __default__$k = {
3141
3141
  name: "SelectableOpearte",
3142
3142
  inheritAttrs: false
3143
3143
  };
3144
- const _sfc_main$F = defineComponent({
3144
+ const _sfc_main$G = defineComponent({
3145
3145
  ...__default__$k,
3146
3146
  props: {
3147
3147
  els: {},
@@ -3155,7 +3155,7 @@ const _sfc_main$F = defineComponent({
3155
3155
  return ((_a = props.tableManager) == null ? void 0 : _a.selection) || [];
3156
3156
  });
3157
3157
  return (_ctx, _cache) => {
3158
- return openBlock(), createElementBlock("div", _hoisted_1$i, [
3158
+ return openBlock(), createElementBlock("div", _hoisted_1$j, [
3159
3159
  createVNode(ButtonsRenderer, mergeProps({
3160
3160
  els: props.els,
3161
3161
  "execute-data": [executeData.value],
@@ -3165,7 +3165,7 @@ const _sfc_main$F = defineComponent({
3165
3165
  };
3166
3166
  }
3167
3167
  });
3168
- var SelectableOperate = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-4e4544c2"]]);
3168
+ var SelectableOperate = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4e4544c2"]]);
3169
3169
  class SearchFormManager extends IManager {
3170
3170
  constructor(form) {
3171
3171
  super();
@@ -3233,7 +3233,7 @@ class SearchFormManager extends IManager {
3233
3233
  this.manager = manager;
3234
3234
  }
3235
3235
  }
3236
- const _sfc_main$E = defineComponent({
3236
+ const _sfc_main$F = defineComponent({
3237
3237
  name: "FormItemRenderer",
3238
3238
  props: {
3239
3239
  modelValue: null,
@@ -3452,10 +3452,10 @@ const useMove = (callback) => {
3452
3452
  return { destroy, bind };
3453
3453
  };
3454
3454
  var index_vue_vue_type_style_index_0_lang$a = "";
3455
- const _hoisted_1$h = { class: "el-dialog__title" };
3455
+ const _hoisted_1$i = { class: "el-dialog__title" };
3456
3456
  const MIN_WIDTH = 300;
3457
3457
  const MIN_HEIGHT = 160;
3458
- const _sfc_main$D = defineComponent({
3458
+ const _sfc_main$E = defineComponent({
3459
3459
  __name: "index",
3460
3460
  props: {
3461
3461
  modelValue: { type: Boolean },
@@ -3524,7 +3524,7 @@ const _sfc_main$D = defineComponent({
3524
3524
  class: `${unref(BEMSpace)} ${props.customClass}`
3525
3525
  }, props.dialogProps || {}, toHandlers(props.dialogEvents || {}), { "onUpdate:modelValue": onUpdateModelValue }), createSlots({
3526
3526
  header: withCtx(() => [
3527
- createElementVNode("span", _hoisted_1$h, toDisplayString(_ctx.title), 1)
3527
+ createElementVNode("span", _hoisted_1$i, toDisplayString(_ctx.title), 1)
3528
3528
  ]),
3529
3529
  default: withCtx(() => [
3530
3530
  renderSlot(_ctx.$slots, "default"),
@@ -3548,7 +3548,7 @@ const _sfc_main$D = defineComponent({
3548
3548
  }
3549
3549
  });
3550
3550
  var index_vue_vue_type_style_index_0_lang$9 = "";
3551
- const _sfc_main$C = defineComponent({
3551
+ const _sfc_main$D = defineComponent({
3552
3552
  __name: "index",
3553
3553
  emits: ["filter"],
3554
3554
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -3583,7 +3583,7 @@ const _sfc_main$C = defineComponent({
3583
3583
  const _component_el_form_item = resolveComponent("el-form-item");
3584
3584
  const _component_el_form = resolveComponent("el-form");
3585
3585
  const _component_el_button = resolveComponent("el-button");
3586
- return openBlock(), createBlock(_sfc_main$D, {
3586
+ return openBlock(), createBlock(_sfc_main$E, {
3587
3587
  modelValue: isShow.value,
3588
3588
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isShow.value = $event),
3589
3589
  title: "\u7B5B\u9009\u6761\u4EF6",
@@ -3629,7 +3629,7 @@ const _sfc_main$C = defineComponent({
3629
3629
  prop: item.prop
3630
3630
  }), {
3631
3631
  default: withCtx(() => [
3632
- createVNode(_sfc_main$E, {
3632
+ createVNode(_sfc_main$F, {
3633
3633
  modelValue: formData.value[item.prop],
3634
3634
  "onUpdate:modelValue": ($event) => formData.value[item.prop] = $event,
3635
3635
  renderFn: item.renderFn,
@@ -3890,11 +3890,14 @@ const _PageModelManager = class extends Reflections {
3890
3890
  }
3891
3891
  reqData = result;
3892
3892
  }
3893
+ if (typeof config.beforeGetRequest === "function") {
3894
+ config.beforeGetRequest.call(this, reqData);
3895
+ }
3893
3896
  let reqResult = await _PageModelManager.request[method](
3894
3897
  config.getUrl,
3895
3898
  reqData
3896
3899
  );
3897
- let { total, list } = this.proceessResult(reqResult);
3900
+ let { total, list } = await this.proceessResult(reqResult);
3898
3901
  if (config.treeProps) {
3899
3902
  list = this.treeResult(list);
3900
3903
  }
@@ -3911,12 +3914,15 @@ const _PageModelManager = class extends Reflections {
3911
3914
  this.tableManager.updateLoading(this.loadingData = false);
3912
3915
  }
3913
3916
  }
3914
- proceessResult(reqResult) {
3917
+ async proceessResult(reqResult) {
3915
3918
  const config = this.config;
3916
3919
  let total = 0;
3917
3920
  let list = reqResult;
3918
3921
  if (config.getReqResultProcessFn) {
3919
- const processedResult = config.getReqResultProcessFn.call(this, reqResult);
3922
+ let processedResult = config.getReqResultProcessFn.call(this, reqResult);
3923
+ if (processedResult instanceof Promise) {
3924
+ processedResult = await processedResult;
3925
+ }
3920
3926
  total = processedResult.total;
3921
3927
  list = processedResult.list;
3922
3928
  }
@@ -4199,6 +4205,7 @@ const _PageModelManager = class extends Reflections {
4199
4205
  };
4200
4206
  let PageModelManager = _PageModelManager;
4201
4207
  __publicField(PageModelManager, "_app");
4208
+ __publicField(PageModelManager, "installOption");
4202
4209
  __publicField(PageModelManager, "defaultConfig", getPageModelDefaultConfig());
4203
4210
  __publicField(PageModelManager, "request");
4204
4211
  __publicField(PageModelManager, "errorHandler", defaultErrorHandler);
@@ -4315,7 +4322,7 @@ var index_vue_vue_type_style_index_0_lang$8 = "";
4315
4322
  const __default__$j = {
4316
4323
  name: "PageModelSearchForm"
4317
4324
  };
4318
- const _sfc_main$B = defineComponent({
4325
+ const _sfc_main$C = defineComponent({
4319
4326
  ...__default__$j,
4320
4327
  props: {
4321
4328
  form: {},
@@ -4469,7 +4476,7 @@ const _sfc_main$B = defineComponent({
4469
4476
  style: { width: ((_a = item.style) == null ? void 0 : _a.width) || unref(searchFormItemWidth) }
4470
4477
  }), {
4471
4478
  default: withCtx(() => [
4472
- createVNode(_sfc_main$E, {
4479
+ createVNode(_sfc_main$F, {
4473
4480
  modelValue: searchFormManager.formData[item.prop],
4474
4481
  "onUpdate:modelValue": ($event) => searchFormManager.formData[item.prop] = $event,
4475
4482
  renderFn: item.renderFn,
@@ -4552,7 +4559,7 @@ const _sfc_main$B = defineComponent({
4552
4559
  }, [
4553
4560
  renderSlot(_ctx.$slots, "default")
4554
4561
  ], 2),
4555
- searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$C, {
4562
+ searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$D, {
4556
4563
  key: 0,
4557
4564
  ref_key: "SearchFormFullRef",
4558
4565
  ref: SearchFormFullRef,
@@ -5482,7 +5489,7 @@ class TableManager extends IManager {
5482
5489
  this.removeCellOutClickEvent();
5483
5490
  }
5484
5491
  }
5485
- const _sfc_main$A = defineComponent({
5492
+ const _sfc_main$B = defineComponent({
5486
5493
  name: "TableCellRenderer",
5487
5494
  props: {
5488
5495
  renderFn: {
@@ -5520,11 +5527,11 @@ const _sfc_main$A = defineComponent({
5520
5527
  };
5521
5528
  }
5522
5529
  });
5523
- var index_vue_vue_type_style_index_0_scoped_true_lang$b = "";
5530
+ var index_vue_vue_type_style_index_0_scoped_true_lang$c = "";
5524
5531
  const __default__$i = {
5525
5532
  name: "SimplePopover"
5526
5533
  };
5527
- const _sfc_main$z = defineComponent({
5534
+ const _sfc_main$A = defineComponent({
5528
5535
  ...__default__$i,
5529
5536
  props: {
5530
5537
  width: { default: 200 },
@@ -5624,8 +5631,16 @@ const _sfc_main$z = defineComponent({
5624
5631
  visible.value = false;
5625
5632
  emit("closed");
5626
5633
  };
5634
+ const getZIndex = () => {
5635
+ if (props.zIndex != null) {
5636
+ return props.zIndex;
5637
+ }
5638
+ if (PageModelManager.installOption.getZIndex) {
5639
+ return PageModelManager.installOption.getZIndex();
5640
+ }
5641
+ return 3e3;
5642
+ };
5627
5643
  const show = (element) => {
5628
- const { nextZIndex } = useZIndex();
5629
5644
  if (element instanceof DOMRect) {
5630
5645
  currentTriggerElement = null;
5631
5646
  popoverRectInfo.value = element;
@@ -5645,8 +5660,7 @@ const _sfc_main$z = defineComponent({
5645
5660
  }
5646
5661
  visible.value = true;
5647
5662
  setTimeout(() => {
5648
- var _a;
5649
- popoverRef.value.style.zIndex = (_a = props.zIndex) != null ? _a : nextZIndex();
5663
+ popoverRef.value.style.zIndex = getZIndex().toString();
5650
5664
  getPopoverElementRect();
5651
5665
  bindEvent();
5652
5666
  }, 0);
@@ -5677,7 +5691,7 @@ const _sfc_main$z = defineComponent({
5677
5691
  };
5678
5692
  }
5679
5693
  });
5680
- var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-3e2ba5be"]]);
5694
+ var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-ac2535c6"]]);
5681
5695
  var FilterItemTypeEnum$1 = /* @__PURE__ */ ((FilterItemTypeEnum2) => {
5682
5696
  FilterItemTypeEnum2["\u6587\u5B57"] = "string";
5683
5697
  FilterItemTypeEnum2["\u6570\u5B57"] = "number";
@@ -5840,10 +5854,10 @@ let noValueOptions = [
5840
5854
  const updateCompareNoValueOptions = (_noValueOptions) => {
5841
5855
  noValueOptions = _noValueOptions;
5842
5856
  };
5843
- var index_vue_vue_type_style_index_0_scoped_true_lang$a = "";
5844
- const _hoisted_1$g = { key: 0 };
5845
- const _hoisted_2$8 = { key: 1 };
5846
- const _sfc_main$y = defineComponent({
5857
+ var index_vue_vue_type_style_index_0_scoped_true_lang$b = "";
5858
+ const _hoisted_1$h = { key: 0 };
5859
+ const _hoisted_2$9 = { key: 1 };
5860
+ const _sfc_main$z = defineComponent({
5847
5861
  __name: "index",
5848
5862
  props: {
5849
5863
  tableManager: {}
@@ -6010,7 +6024,7 @@ const _sfc_main$y = defineComponent({
6010
6024
  createElementVNode("div", {
6011
6025
  class: normalizeClass(unref(createBEMName)("title"))
6012
6026
  }, [
6013
- !isShowFilter.value ? (openBlock(), createElementBlock("span", _hoisted_1$g, "\u7B5B\u9009")) : (openBlock(), createBlock(_component_el_input, {
6027
+ !isShowFilter.value ? (openBlock(), createElementBlock("span", _hoisted_1$h, "\u7B5B\u9009")) : (openBlock(), createBlock(_component_el_input, {
6014
6028
  key: 1,
6015
6029
  modelValue: filterKeywords.value,
6016
6030
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterKeywords.value = $event),
@@ -6263,7 +6277,7 @@ const _sfc_main$y = defineComponent({
6263
6277
  createTextVNode("\u7B5B\u9009\u6761\u4EF6")
6264
6278
  ]),
6265
6279
  _: 1
6266
- }, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_2$8)),
6280
+ }, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_2$9)),
6267
6281
  createElementVNode("div", null, [
6268
6282
  createVNode(_component_el_button, { onClick: handleClear }, {
6269
6283
  default: withCtx(() => [
@@ -6308,10 +6322,10 @@ const _sfc_main$y = defineComponent({
6308
6322
  };
6309
6323
  }
6310
6324
  });
6311
- var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-2685baf1"]]);
6325
+ var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-2685baf1"]]);
6312
6326
  var index_vue_vue_type_style_index_0_lang$7 = "";
6313
- const _hoisted_1$f = ["data-key", "title"];
6314
- const _hoisted_2$7 = {
6327
+ const _hoisted_1$g = ["data-key", "title"];
6328
+ const _hoisted_2$8 = {
6315
6329
  key: 0,
6316
6330
  style: { "color": "red" }
6317
6331
  };
@@ -6335,7 +6349,7 @@ const _hoisted_10$1 = ["onClick"];
6335
6349
  const __default__$h = {
6336
6350
  name: "TableColumn"
6337
6351
  };
6338
- const _sfc_main$x = defineComponent({
6352
+ const _sfc_main$y = defineComponent({
6339
6353
  ...__default__$h,
6340
6354
  props: {
6341
6355
  els: {},
@@ -6468,7 +6482,7 @@ const _sfc_main$x = defineComponent({
6468
6482
  "data-key": column._key,
6469
6483
  title: $header.column.label
6470
6484
  }, [
6471
- column.required ? (openBlock(), createElementBlock("span", _hoisted_2$7, "*")) : createCommentVNode("", true),
6485
+ column.required ? (openBlock(), createElementBlock("span", _hoisted_2$8, "*")) : createCommentVNode("", true),
6472
6486
  column.helpText || column.icon ? (openBlock(), createBlock(_component_el_icon, {
6473
6487
  key: 1,
6474
6488
  title: column.helpText
@@ -6501,7 +6515,7 @@ const _sfc_main$x = defineComponent({
6501
6515
  _: 1
6502
6516
  })
6503
6517
  ], 14, _hoisted_3$6)) : createCommentVNode("", true)
6504
- ], 10, _hoisted_1$f)
6518
+ ], 10, _hoisted_1$g)
6505
6519
  ]),
6506
6520
  default: withCtx(({ row, $index, column: columnEl }) => [
6507
6521
  column.children ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -6528,7 +6542,7 @@ const _sfc_main$x = defineComponent({
6528
6542
  ) ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
6529
6543
  column.editData ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
6530
6544
  createElementVNode("div", _hoisted_6$3, [
6531
- createVNode(_sfc_main$E, {
6545
+ createVNode(_sfc_main$F, {
6532
6546
  modelValue: row[column.editData.prop || column.prop],
6533
6547
  renderFn: column.editData.renderFn,
6534
6548
  context: props.context,
@@ -6564,7 +6578,7 @@ const _sfc_main$x = defineComponent({
6564
6578
  ])) : createCommentVNode("", true)
6565
6579
  ], 64)) : (openBlock(), createElementBlock("div", _hoisted_8$2, "\u8BE5\u5217\u672A\u8BBE\u7F6E\u7F16\u8F91\u7EC4\u4EF6"))
6566
6580
  ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
6567
- column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$A, {
6581
+ column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$B, {
6568
6582
  key: 0,
6569
6583
  "render-fn": column.renderFn,
6570
6584
  context: props.context,
@@ -7569,7 +7583,7 @@ var Sortable = Sortable_min.exports;
7569
7583
  const __default__$g = {
7570
7584
  name: "DraggableList"
7571
7585
  };
7572
- const _sfc_main$w = defineComponent({
7586
+ const _sfc_main$x = defineComponent({
7573
7587
  ...__default__$g,
7574
7588
  props: {
7575
7589
  modelValue: {},
@@ -7670,7 +7684,7 @@ var setting_vue_vue_type_style_index_1_lang$2 = "";
7670
7684
  const __default__$f = {
7671
7685
  name: "SaveColumnSetting"
7672
7686
  };
7673
- const _sfc_main$v = defineComponent({
7687
+ const _sfc_main$w = defineComponent({
7674
7688
  ...__default__$f,
7675
7689
  props: {
7676
7690
  onlyShow: { type: Boolean, default: false }
@@ -7711,7 +7725,7 @@ const _sfc_main$v = defineComponent({
7711
7725
  label: "\u663E\u793A"
7712
7726
  },
7713
7727
  {
7714
- label: "\u6C47\u603B"
7728
+ label: "\u5408\u8BA1"
7715
7729
  },
7716
7730
  {
7717
7731
  label: "\u56FA\u5B9A\u5217"
@@ -7739,7 +7753,7 @@ const _sfc_main$v = defineComponent({
7739
7753
  const _component_el_radio_button = resolveComponent("el-radio-button");
7740
7754
  const _component_el_radio_group = resolveComponent("el-radio-group");
7741
7755
  const _component_el_button = resolveComponent("el-button");
7742
- return openBlock(), createBlock(_sfc_main$D, {
7756
+ return openBlock(), createBlock(_sfc_main$E, {
7743
7757
  modelValue: visible.value,
7744
7758
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
7745
7759
  title: "\u7F16\u8F91\u8868\u683C",
@@ -7788,7 +7802,7 @@ const _sfc_main$v = defineComponent({
7788
7802
  createElementVNode("div", {
7789
7803
  class: normalizeClass(unref(createBEMName)("column-table-wrap"))
7790
7804
  }, [
7791
- createVNode(_sfc_main$w, {
7805
+ createVNode(_sfc_main$x, {
7792
7806
  modelValue: innerEls.value,
7793
7807
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
7794
7808
  "item-key": "_key"
@@ -7833,7 +7847,7 @@ const _sfc_main$v = defineComponent({
7833
7847
  default: withCtx(() => [
7834
7848
  createVNode(_component_el_radio_button, { label: 0 }, {
7835
7849
  default: withCtx(() => [
7836
- createTextVNode("\u65E0")
7850
+ createTextVNode("\u4E0D\u5C55\u793A")
7837
7851
  ]),
7838
7852
  _: 1
7839
7853
  }),
@@ -7845,7 +7859,7 @@ const _sfc_main$v = defineComponent({
7845
7859
  }),
7846
7860
  createVNode(_component_el_radio_button, { label: 2 }, {
7847
7861
  default: withCtx(() => [
7848
- createTextVNode("\u8BA1\u6570")
7862
+ createTextVNode("\u603B\u6570")
7849
7863
  ]),
7850
7864
  _: 1
7851
7865
  })
@@ -7958,7 +7972,7 @@ var userConfig_vue_vue_type_style_index_1_lang = "";
7958
7972
  const __default__$e = {
7959
7973
  name: "SaveUserConfig"
7960
7974
  };
7961
- const _sfc_main$u = defineComponent({
7975
+ const _sfc_main$v = defineComponent({
7962
7976
  ...__default__$e,
7963
7977
  emits: ["submit", "closed"],
7964
7978
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -8022,7 +8036,7 @@ const _sfc_main$u = defineComponent({
8022
8036
  };
8023
8037
  return (_ctx, _cache) => {
8024
8038
  const _component_el_button = resolveComponent("el-button");
8025
- return openBlock(), createBlock(_sfc_main$D, {
8039
+ return openBlock(), createBlock(_sfc_main$E, {
8026
8040
  modelValue: visible.value,
8027
8041
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
8028
8042
  title: "\u7F16\u8F91\u79C1\u4EBA\u914D\u7F6E",
@@ -8086,28 +8100,28 @@ const useUserConfig = () => {
8086
8100
  onUserConfigClosed: onClosed
8087
8101
  };
8088
8102
  };
8089
- const tableChangeEmiter = new EventEmitter();
8103
+ const tableUserConfigChangeEmiter = new EventEmitter();
8090
8104
  var index_vue_vue_type_style_index_0_lang$6 = "";
8091
8105
  var index_vue_vue_type_style_index_1_scoped_true_lang$1 = "";
8092
- const _withScopeId$3 = (n) => (pushScopeId("data-v-5b551558"), n = n(), popScopeId(), n);
8093
- const _hoisted_1$e = { title: "\u5168\u9009/\u53D6\u6D88" };
8094
- const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", {
8106
+ const _withScopeId$3 = (n) => (pushScopeId("data-v-5d0b7bda"), n = n(), popScopeId(), n);
8107
+ const _hoisted_1$f = { title: "\u5168\u9009/\u53D6\u6D88" };
8108
+ const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", {
8095
8109
  class: "pm-icon icon-drag-dot",
8096
8110
  title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
8097
8111
  }, null, -1));
8098
8112
  const _hoisted_3$5 = ["title"];
8099
8113
  const _hoisted_4$4 = ["title", "onClick"];
8100
8114
  const _hoisted_5$3 = ["title", "onClick"];
8101
- const _sfc_main$t = defineComponent({
8115
+ const _sfc_main$u = defineComponent({
8102
8116
  __name: "index",
8103
8117
  props: {
8104
8118
  els: {}
8105
8119
  },
8106
8120
  emits: ["save-columns"],
8107
8121
  setup(__props, { emit: __emit }) {
8122
+ const props = __props;
8108
8123
  const innerEls = ref([]);
8109
8124
  const { BEMSpace, createBEMName } = createBEMSpace("column-tools");
8110
- const props = __props;
8111
8125
  const { els } = toRefs(props);
8112
8126
  const emit = __emit;
8113
8127
  const isExternalChange = ref(false);
@@ -8159,7 +8173,7 @@ const _sfc_main$t = defineComponent({
8159
8173
  const { userConfig, updateUserConfig } = useUserShowRowConfig(props.els);
8160
8174
  const onSubmitConfig = (config) => {
8161
8175
  updateUserConfig(config);
8162
- tableChangeEmiter.emit("change");
8176
+ tableUserConfigChangeEmiter.emit("change");
8163
8177
  };
8164
8178
  const {
8165
8179
  isRenderUserConfig,
@@ -8207,7 +8221,7 @@ const _sfc_main$t = defineComponent({
8207
8221
  createElementVNode("div", {
8208
8222
  class: normalizeClass(unref(createBEMName)("header"))
8209
8223
  }, [
8210
- createElementVNode("span", _hoisted_1$e, [
8224
+ createElementVNode("span", _hoisted_1$f, [
8211
8225
  createVNode(_component_el_checkbox, {
8212
8226
  label: "\u5168\u90E8",
8213
8227
  modelValue: isAllShow.value,
@@ -8245,7 +8259,7 @@ const _sfc_main$t = defineComponent({
8245
8259
  createElementVNode("div", {
8246
8260
  class: normalizeClass(unref(createBEMName)("list"))
8247
8261
  }, [
8248
- createVNode(_sfc_main$w, {
8262
+ createVNode(_sfc_main$x, {
8249
8263
  modelValue: innerEls.value,
8250
8264
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => innerEls.value = $event),
8251
8265
  class: normalizeClass(unref(BEMSpace))
@@ -8260,7 +8274,7 @@ const _sfc_main$t = defineComponent({
8260
8274
  "onUpdate:modelValue": ($event) => element.userConfigShow = $event,
8261
8275
  class: normalizeClass(unref(createBEMName)("checkbox"))
8262
8276
  }, null, 8, ["modelValue", "onUpdate:modelValue", "class"]),
8263
- _hoisted_2$6,
8277
+ _hoisted_2$7,
8264
8278
  createElementVNode("span", {
8265
8279
  title: element.label,
8266
8280
  class: normalizeClass(unref(createBEMName)("item-label"))
@@ -8286,14 +8300,14 @@ const _sfc_main$t = defineComponent({
8286
8300
  _: 1
8287
8301
  }, 8, ["modelValue", "class"])
8288
8302
  ], 2),
8289
- unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$v, {
8303
+ unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$w, {
8290
8304
  key: 0,
8291
8305
  ref_key: "columnToolsSettingRef",
8292
8306
  ref: columnToolsSettingRef,
8293
8307
  onSubmit: onSubmitColumns,
8294
8308
  onClosed: unref(onColumnToolsSettingClosed)
8295
8309
  }, null, 8, ["onClosed"])) : createCommentVNode("", true),
8296
- unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$u, {
8310
+ unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$v, {
8297
8311
  key: 1,
8298
8312
  ref_key: "userConfigRef",
8299
8313
  ref: userConfigRef,
@@ -8304,11 +8318,11 @@ const _sfc_main$t = defineComponent({
8304
8318
  };
8305
8319
  }
8306
8320
  });
8307
- var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-5b551558"]]);
8308
- var index_vue_vue_type_style_index_0_scoped_true_lang$9 = "";
8309
- const _withScopeId$2 = (n) => (pushScopeId("data-v-51c518c5"), n = n(), popScopeId(), n);
8310
- const _hoisted_1$d = { class: "export-columns" };
8311
- const _hoisted_2$5 = {
8321
+ var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-5d0b7bda"]]);
8322
+ var index_vue_vue_type_style_index_0_scoped_true_lang$a = "";
8323
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-52d46b3b"), n = n(), popScopeId(), n);
8324
+ const _hoisted_1$e = { class: "export-columns" };
8325
+ const _hoisted_2$6 = {
8312
8326
  key: 0,
8313
8327
  class: "progress-box"
8314
8328
  };
@@ -8329,7 +8343,7 @@ const _hoisted_8$1 = {
8329
8343
  class: "progress-tip-text"
8330
8344
  };
8331
8345
  const _hoisted_9$1 = { class: "bottom-box" };
8332
- const _sfc_main$s = defineComponent({
8346
+ const _sfc_main$t = defineComponent({
8333
8347
  __name: "index",
8334
8348
  emits: ["closed"],
8335
8349
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -8472,7 +8486,7 @@ const _sfc_main$s = defineComponent({
8472
8486
  data: !isGetMethod ? { ..._reqData } : {},
8473
8487
  ...axiosOpt
8474
8488
  });
8475
- let result = manager.proceessResult(reqResult);
8489
+ let result = await manager.proceessResult(reqResult);
8476
8490
  let list = result.list;
8477
8491
  let resultCount = list.length;
8478
8492
  if (index2 === requestTimes - 1) {
@@ -8589,7 +8603,7 @@ const _sfc_main$s = defineComponent({
8589
8603
  const _component_el_progress = resolveComponent("el-progress");
8590
8604
  const _component_el_button = resolveComponent("el-button");
8591
8605
  const _directive_loading = resolveDirective("loading");
8592
- return openBlock(), createBlock(_sfc_main$D, {
8606
+ return openBlock(), createBlock(_sfc_main$E, {
8593
8607
  modelValue: visible.value,
8594
8608
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => visible.value = $event),
8595
8609
  title: "\u5BFC\u51FA\u8868\u683C\u6570\u636E",
@@ -8713,7 +8727,7 @@ const _sfc_main$s = defineComponent({
8713
8727
  })) : createCommentVNode("", true),
8714
8728
  createVNode(_component_el_form_item, { label: "\u5BFC\u51FA\u5B57\u6BB5" }, {
8715
8729
  default: withCtx(() => [
8716
- createElementVNode("div", _hoisted_1$d, [
8730
+ createElementVNode("div", _hoisted_1$e, [
8717
8731
  createVNode(_component_el_scrollbar, { height: "100%" }, {
8718
8732
  default: withCtx(() => [
8719
8733
  createVNode(_component_el_tree, {
@@ -8741,7 +8755,7 @@ const _sfc_main$s = defineComponent({
8741
8755
  withDirectives(createVNode(_component_el_empty, { description: "\u4F9D\u8D56\u52A0\u8F7D\u5931\u8D25" }, null, 512), [
8742
8756
  [vShow, libLoadFail.value]
8743
8757
  ]),
8744
- showProgress.value ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
8758
+ showProgress.value ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
8745
8759
  createElementVNode("div", _hoisted_3$4, [
8746
8760
  _hoisted_4$3,
8747
8761
  _hoisted_5$2,
@@ -8768,35 +8782,35 @@ const _sfc_main$s = defineComponent({
8768
8782
  };
8769
8783
  }
8770
8784
  });
8771
- var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-51c518c5"]]);
8785
+ var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-52d46b3b"]]);
8772
8786
  const SAVE_NAME$2 = "table-columns";
8773
8787
  const columnsSaver$1 = new ConfigSaver(SAVE_NAME$2);
8774
8788
  const saveTableColumns = columnsSaver$1.setContents.bind(columnsSaver$1);
8775
8789
  const genSaveColumnName = columnsSaver$1.genScopeItemKey.bind(columnsSaver$1);
8776
8790
  const saveColumns$1 = columnsSaver$1.saveContentItem.bind(columnsSaver$1);
8777
8791
  const getColumns$1 = columnsSaver$1.getContentItem.bind(columnsSaver$1);
8778
- const _hoisted_1$c = { class: "el-table__empty-data" };
8792
+ const _hoisted_1$d = { class: "el-table__empty-data" };
8779
8793
  const __default__$d = {
8780
8794
  name: "EmptyData"
8781
8795
  };
8782
- const _sfc_main$r = defineComponent({
8796
+ const _sfc_main$s = defineComponent({
8783
8797
  ...__default__$d,
8784
8798
  props: {
8785
8799
  text: {}
8786
8800
  },
8787
8801
  setup(__props) {
8788
8802
  return (_ctx, _cache) => {
8789
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
8803
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [
8790
8804
  createElementVNode("span", null, toDisplayString(_ctx.text || "\u6682\u65E0\u6570\u636E"), 1)
8791
8805
  ]);
8792
8806
  };
8793
8807
  }
8794
8808
  });
8795
- var index_vue_vue_type_style_index_0_scoped_true_lang$8 = "";
8809
+ var index_vue_vue_type_style_index_0_scoped_true_lang$9 = "";
8796
8810
  const __default__$c = {
8797
8811
  name: "SelectionsTable"
8798
8812
  };
8799
- const _sfc_main$q = defineComponent({
8813
+ const _sfc_main$r = defineComponent({
8800
8814
  ...__default__$c,
8801
8815
  emits: ["closed"],
8802
8816
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -8863,7 +8877,7 @@ const _sfc_main$q = defineComponent({
8863
8877
  });
8864
8878
  return (_ctx, _cache) => {
8865
8879
  const _component_el_button = resolveComponent("el-button");
8866
- return openBlock(), createBlock(_sfc_main$D, {
8880
+ return openBlock(), createBlock(_sfc_main$E, {
8867
8881
  modelValue: visible.value,
8868
8882
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
8869
8883
  title: "\u5DF2\u9009\u6570\u636E",
@@ -8912,7 +8926,7 @@ const _sfc_main$q = defineComponent({
8912
8926
  };
8913
8927
  }
8914
8928
  });
8915
- var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-3b4b4ed8"]]);
8929
+ var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-3b4b4ed8"]]);
8916
8930
  const useSelectionsTable = () => {
8917
8931
  const selectionsTableRef = ref();
8918
8932
  const isRenderSelectionsTable = ref(false);
@@ -9012,44 +9026,142 @@ function useTableEls(originTableEls, tableManager) {
9012
9026
  renderEls
9013
9027
  };
9014
9028
  }
9029
+ const userSummaryConfigEmiter = new EventEmitter();
9030
+ var SummaryTypeEnum = /* @__PURE__ */ ((SummaryTypeEnum2) => {
9031
+ SummaryTypeEnum2[SummaryTypeEnum2["\u4E0D\u5C55\u793A"] = 0] = "\u4E0D\u5C55\u793A";
9032
+ SummaryTypeEnum2[SummaryTypeEnum2["\u6C42\u548C"] = 1] = "\u6C42\u548C";
9033
+ SummaryTypeEnum2[SummaryTypeEnum2["\u603B\u6570"] = 2] = "\u603B\u6570";
9034
+ return SummaryTypeEnum2;
9035
+ })(SummaryTypeEnum || {});
9036
+ let isHijacked = false;
9037
+ let summaryResult = reactive([]);
9015
9038
  function useUserSummary(tableManager) {
9016
9039
  var _a, _b;
9017
9040
  if (((_a = tableManager.tableProps) == null ? void 0 : _a.summaryMethod) && !((_b = tableManager.tableProps) == null ? void 0 : _b._customSummary)) {
9018
9041
  return false;
9019
9042
  }
9020
9043
  const currentRenderTableEls = tableManager.currentRenderTableEls;
9021
- const isUsingSummary = currentRenderTableEls.filter((a) => a.prop).some((a) => a.showSummary);
9044
+ const isUsingSummary = tableManager.table.showSummary || currentRenderTableEls.filter((a) => a.prop).some((a) => a.showSummary != null);
9022
9045
  if (isUsingSummary) {
9023
9046
  const summaryEls = currentRenderTableEls.filter((a) => a.showSummary != null && a.showSummary !== "").filter((a) => a.prop);
9047
+ const isServerSummary = tableManager.table.useServerSummary && typeof tableManager.table.serverSummaryFn === "function";
9024
9048
  tableManager.tableProps = tableManager.tableProps || {};
9025
9049
  tableManager.tableProps.showSummary = true;
9026
9050
  tableManager.tableProps._customSummary = true;
9051
+ let currentTableColumns = [];
9052
+ const config = tableManager.manager.config;
9053
+ let lastSummaryColumns = {};
9054
+ const getSummaryData = debounce(async () => {
9055
+ const summaryColumns = tableManager.currentRenderTableEls.filter((a) => a.showSummary != null && a.showSummary !== "").filter((a) => a.prop).map((a) => {
9056
+ return {
9057
+ prop: a.prop,
9058
+ showSummary: a.showSummary
9059
+ };
9060
+ });
9061
+ const reqResult = tableManager.table.serverSummaryFn.call(
9062
+ tableManager,
9063
+ summaryColumns,
9064
+ cloneDeep(lastSummaryColumns),
9065
+ currentTableColumns
9066
+ );
9067
+ const _result = await reqResult;
9068
+ _result.forEach((item, index2) => {
9069
+ summaryResult[index2] = item;
9070
+ });
9071
+ }, 300);
9072
+ if (isServerSummary) {
9073
+ if (!isHijacked) {
9074
+ let _beforeGetRequest = config.beforeGetRequest;
9075
+ config.beforeGetRequest = async function(reqParams) {
9076
+ if (typeof _beforeGetRequest === "function") {
9077
+ _beforeGetRequest.call(tableManager.manager, reqParams);
9078
+ }
9079
+ lastSummaryColumns = reqParams;
9080
+ getSummaryData();
9081
+ };
9082
+ userSummaryConfigEmiter.on("change", () => {
9083
+ getSummaryData();
9084
+ });
9085
+ isHijacked = true;
9086
+ }
9087
+ }
9027
9088
  tableManager.tableProps.summaryMethod = function({
9028
9089
  columns,
9029
9090
  data
9030
9091
  }) {
9031
- const result = columns.map((column) => {
9032
- if (!column.property) {
9033
- return void 0;
9034
- }
9035
- const item = summaryEls.find((a) => a.prop === column.property);
9036
- if (!item) {
9037
- return void 0;
9038
- }
9039
- if (typeof tableManager.table.summaryItemFn === "function") {
9040
- const result2 = tableManager.table.summaryItemFn.call(this, data, column.property, item.showSummary);
9041
- return result2;
9042
- }
9043
- if (item.showSummary === 1) {
9044
- const result2 = data.reduce((memo, item2) => {
9045
- return memo += Number(item2[column.property]) || 0;
9046
- }, 0);
9047
- return typeof tableManager.table.summaryProcessFn === "function" ? tableManager.table.summaryProcessFn.call(this, result2) : result2.toFixed(2);
9048
- } else if (item.showSummary === 2) {
9049
- return data.length;
9092
+ if (!columns.length) {
9093
+ return summaryResult;
9094
+ }
9095
+ if (isServerSummary) {
9096
+ currentTableColumns = columns;
9097
+ } else {
9098
+ const _result = columns.map((column) => {
9099
+ if (!column.property) {
9100
+ return void 0;
9101
+ }
9102
+ const item = summaryEls.find((a) => a.prop === column.property);
9103
+ if (!item) {
9104
+ return void 0;
9105
+ }
9106
+ if (typeof tableManager.table.summaryItemFn === "function") {
9107
+ const result = tableManager.table.summaryItemFn.call(
9108
+ this,
9109
+ data,
9110
+ column.property,
9111
+ item.showSummary
9112
+ );
9113
+ return result;
9114
+ }
9115
+ if (item.showSummary === 1) {
9116
+ const result = data.reduce((memo, item2) => {
9117
+ return memo += Number(item2[column.property]) || 0;
9118
+ }, 0);
9119
+ return typeof tableManager.table.summaryProcessFn === "function" ? tableManager.table.summaryProcessFn.call(this, result) : result.toFixed(2);
9120
+ } else if (item.showSummary === 2) {
9121
+ const result = data.length;
9122
+ return `${result}`;
9123
+ }
9124
+ });
9125
+ _result.forEach((item, index2) => {
9126
+ summaryResult[index2] = item;
9127
+ });
9128
+ }
9129
+ return columns.map((column, index2) => {
9130
+ const tableEl = summaryEls.find((a) => a.prop === column.property);
9131
+ let hasSummary = false;
9132
+ let prefix = "";
9133
+ if (tableEl) {
9134
+ hasSummary = !!tableEl.showSummary;
9135
+ if (hasSummary) {
9136
+ prefix = SummaryTypeEnum[tableEl.showSummary] + "\uFF1A";
9137
+ }
9050
9138
  }
9139
+ const val = summaryResult[index2] || "";
9140
+ return h(
9141
+ "div",
9142
+ {
9143
+ className: `pm-summary-cell ${column.property ? "pm-summary-cell-has-prop" : ""}`,
9144
+ onClick: column.property ? (event) => {
9145
+ tableManager.exposeActions.showContextColumnSummary(
9146
+ event,
9147
+ column.property
9148
+ );
9149
+ } : null
9150
+ },
9151
+ [
9152
+ h(
9153
+ "div",
9154
+ {
9155
+ class: `summary-cell-text ${hasSummary ? "show-summary" : ""}`
9156
+ },
9157
+ [
9158
+ hasSummary ? `${prefix}${val}` : "\u7EDF\u8BA1",
9159
+ h(ElIcon, () => h(arrowDown))
9160
+ ]
9161
+ )
9162
+ ]
9163
+ );
9051
9164
  });
9052
- return [...result];
9053
9165
  };
9054
9166
  setTimeout(() => {
9055
9167
  tableManager.context.$refs.tableRef.doLayout();
@@ -9078,7 +9190,7 @@ const useExportForm = () => {
9078
9190
  onExportFormClosed: onClosed
9079
9191
  };
9080
9192
  };
9081
- const _sfc_main$p = {
9193
+ const _sfc_main$q = {
9082
9194
  props: {
9083
9195
  isLoading: {
9084
9196
  type: Boolean,
@@ -9139,9 +9251,9 @@ const useColumnDrag = () => {
9139
9251
  }
9140
9252
  };
9141
9253
  };
9142
- var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
9143
- const _hoisted_1$b = ["onClick"];
9144
- const _sfc_main$o = defineComponent({
9254
+ var index_vue_vue_type_style_index_0_scoped_true_lang$8 = "";
9255
+ const _hoisted_1$c = ["onClick"];
9256
+ const _sfc_main$p = defineComponent({
9145
9257
  __name: "index",
9146
9258
  emits: ["add", "upd", "del", "import", "custom"],
9147
9259
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -9217,7 +9329,7 @@ const _sfc_main$o = defineComponent({
9217
9329
  createElementVNode("div", {
9218
9330
  class: normalizeClass(["context-menu__item", { disabled: (_a = item.props) == null ? void 0 : _a.disabled }]),
9219
9331
  onClick: ($event) => handleItemClick(item)
9220
- }, toDisplayString(item.text), 11, _hoisted_1$b)
9332
+ }, toDisplayString(item.text), 11, _hoisted_1$c)
9221
9333
  ];
9222
9334
  }, true)
9223
9335
  ]),
@@ -9233,7 +9345,96 @@ const _sfc_main$o = defineComponent({
9233
9345
  };
9234
9346
  }
9235
9347
  });
9236
- var ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-9222a038"]]);
9348
+ var ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-9222a038"]]);
9349
+ var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
9350
+ const _hoisted_1$b = { class: "context-menu" };
9351
+ const _hoisted_2$5 = ["onClick"];
9352
+ const _sfc_main$o = defineComponent({
9353
+ __name: "index",
9354
+ props: {
9355
+ els: {}
9356
+ },
9357
+ emits: ["save-columns"],
9358
+ setup(__props, { expose: __expose, emit: __emit }) {
9359
+ const props = __props;
9360
+ const emit = __emit;
9361
+ const simplePopoverRef = ref();
9362
+ const currentColumnProp = ref("");
9363
+ const currentColumnConfig = ref();
9364
+ const options = [
9365
+ {
9366
+ label: "\u4E0D\u5C55\u793A",
9367
+ value: SummaryTypeEnum.\u4E0D\u5C55\u793A
9368
+ },
9369
+ {
9370
+ label: "\u603B\u6570",
9371
+ value: SummaryTypeEnum.\u603B\u6570
9372
+ },
9373
+ {
9374
+ label: "\u6C42\u548C",
9375
+ value: SummaryTypeEnum.\u6C42\u548C
9376
+ }
9377
+ ];
9378
+ const show = (event, columnProp) => {
9379
+ var _a;
9380
+ const rect = new DOMRect(event.clientX, event.clientY, 0, 0);
9381
+ (_a = simplePopoverRef.value) == null ? void 0 : _a.show(rect);
9382
+ currentColumnProp.value = columnProp;
9383
+ currentColumnConfig.value = props.els.find((a) => a.prop === columnProp);
9384
+ };
9385
+ const hide = () => {
9386
+ var _a;
9387
+ (_a = simplePopoverRef.value) == null ? void 0 : _a.hide();
9388
+ };
9389
+ const handleItemClick = (summaryType) => {
9390
+ const els = cloneDeep(props.els).map((a) => {
9391
+ a.userConfigShow = a.userConfigShow === false ? false : true;
9392
+ return a;
9393
+ });
9394
+ const el = els.find((a) => a.prop === currentColumnProp.value);
9395
+ el.showSummary = summaryType;
9396
+ emit("save-columns", els);
9397
+ hide();
9398
+ };
9399
+ __expose({
9400
+ show,
9401
+ hide
9402
+ });
9403
+ return (_ctx, _cache) => {
9404
+ const _component_el_icon = resolveComponent("el-icon");
9405
+ return openBlock(), createBlock(SimplePopover, {
9406
+ ref_key: "simplePopoverRef",
9407
+ ref: simplePopoverRef,
9408
+ width: 150
9409
+ }, {
9410
+ default: withCtx(() => [
9411
+ createElementVNode("div", _hoisted_1$b, [
9412
+ (openBlock(), createElementBlock(Fragment, null, renderList(options, (item) => {
9413
+ return createElementVNode("div", {
9414
+ key: item.value,
9415
+ class: "context-menu__item",
9416
+ onClick: ($event) => handleItemClick(item.value)
9417
+ }, [
9418
+ item.value === currentColumnConfig.value.showSummary ? (openBlock(), createBlock(_component_el_icon, {
9419
+ key: 0,
9420
+ class: "context-menu__select-icon"
9421
+ }, {
9422
+ default: withCtx(() => [
9423
+ createVNode(unref(select))
9424
+ ]),
9425
+ _: 1
9426
+ })) : createCommentVNode("", true),
9427
+ createElementVNode("span", null, toDisplayString(item.label), 1)
9428
+ ], 8, _hoisted_2$5);
9429
+ }), 64))
9430
+ ])
9431
+ ]),
9432
+ _: 1
9433
+ }, 512);
9434
+ };
9435
+ }
9436
+ });
9437
+ var ContextColumnSummary = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-4af18db5"]]);
9237
9438
  var index_vue_vue_type_style_index_0_lang$5 = "";
9238
9439
  const __default__$b = {
9239
9440
  name: "PageModelTable",
@@ -9278,8 +9479,7 @@ const _sfc_main$n = defineComponent({
9278
9479
  tableManager.updateCurrentRenderTableEls(cloneDeep(result.renderEls));
9279
9480
  useUserSummary(tableManager);
9280
9481
  }
9281
- tableChangeEmiter.on("change", () => {
9282
- console.log("\u8868\u683C\u914D\u7F6E\u4FEE\u6539");
9482
+ tableUserConfigChangeEmiter.on("change", () => {
9283
9483
  setTableEls();
9284
9484
  });
9285
9485
  watch(
@@ -9308,9 +9508,11 @@ const _sfc_main$n = defineComponent({
9308
9508
  };
9309
9509
  const onSaveColumns = async (columns) => {
9310
9510
  const originColumns = table.value.els;
9511
+ let isSummaryChange = false;
9311
9512
  const contents = columns.map((column) => {
9513
+ const originColumnIndex = originColumns.findIndex((a) => a.label === column.label);
9312
9514
  const item = {
9313
- index: originColumns.findIndex((a) => a.label === column.label),
9515
+ index: originColumnIndex,
9314
9516
  show: column.userConfigShow ? 1 : 0,
9315
9517
  ul: column.userLabel,
9316
9518
  w: column.width,
@@ -9320,6 +9522,10 @@ const _sfc_main$n = defineComponent({
9320
9522
  if (column.showSummary != null) {
9321
9523
  item.sum = Number(column.showSummary);
9322
9524
  }
9525
+ const renderColumn = renderedTableEls.value.find((a) => a.prop === column.prop);
9526
+ if (column.showSummary !== renderColumn.showSummary) {
9527
+ isSummaryChange = true;
9528
+ }
9323
9529
  return item;
9324
9530
  });
9325
9531
  const userSetting = PageModelManager.userSetting;
@@ -9335,6 +9541,9 @@ const _sfc_main$n = defineComponent({
9335
9541
  } catch (error) {
9336
9542
  }
9337
9543
  setTableEls();
9544
+ if (isSummaryChange) {
9545
+ userSummaryConfigEmiter.emit("change");
9546
+ }
9338
9547
  };
9339
9548
  const clearSelection = () => {
9340
9549
  tableManager.clearSelection();
@@ -9468,6 +9677,11 @@ const _sfc_main$n = defineComponent({
9468
9677
  executeData: [row, rowIndex]
9469
9678
  });
9470
9679
  };
9680
+ const contextColumnSummaryRef = ref();
9681
+ const showContextColumnSummary = (event, columnProp) => {
9682
+ var _a;
9683
+ (_a = contextColumnSummaryRef.value) == null ? void 0 : _a.show(event, columnProp);
9684
+ };
9471
9685
  onUnmounted(() => {
9472
9686
  tableManager.onUnmounted();
9473
9687
  scrollLifecycle.onUnmounted();
@@ -9484,7 +9698,8 @@ const _sfc_main$n = defineComponent({
9484
9698
  showColumnToolSimplePopover,
9485
9699
  hideColumnToolSimplePopover,
9486
9700
  handleColumnScreen,
9487
- handleColumnSort
9701
+ handleColumnSort,
9702
+ showContextColumnSummary
9488
9703
  };
9489
9704
  tableManager.exposeActions = exposeActions;
9490
9705
  __expose({
@@ -9499,7 +9714,7 @@ const _sfc_main$n = defineComponent({
9499
9714
  const _component_el_popconfirm = resolveComponent("el-popconfirm");
9500
9715
  const _component_el_pagination = resolveComponent("el-pagination");
9501
9716
  return openBlock(), createElementBlock(Fragment, null, [
9502
- createVNode(_sfc_main$p, {
9717
+ createVNode(_sfc_main$q, {
9503
9718
  class: normalizeClass([unref(createBEMName)("table")]),
9504
9719
  isLoading: tableManager.loadingData,
9505
9720
  directiveName: table.value.loadingDirectiveName
@@ -9523,7 +9738,7 @@ const _sfc_main$n = defineComponent({
9523
9738
  unref(PageModelManager).emptyTableComponent ? (openBlock(), createBlock(resolveDynamicComponent(unref(PageModelManager).emptyTableComponent), {
9524
9739
  key: 0,
9525
9740
  text: (_a = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _a.emptyText
9526
- }, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$r, {
9741
+ }, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$s, {
9527
9742
  key: 1,
9528
9743
  text: (_b = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _b.emptyText
9529
9744
  }, null, 8, ["text"]))
@@ -9593,7 +9808,7 @@ const _sfc_main$n = defineComponent({
9593
9808
  _: 1
9594
9809
  }, 16, ["width"])) : createCommentVNode("", true)
9595
9810
  ], 64)) : createCommentVNode("", true),
9596
- createVNode(_sfc_main$x, {
9811
+ createVNode(_sfc_main$y, {
9597
9812
  els: renderedTableEls.value,
9598
9813
  context: tableManager,
9599
9814
  onColumnScreen: handleColumnScreen
@@ -9713,10 +9928,18 @@ const _sfc_main$n = defineComponent({
9713
9928
  ]),
9714
9929
  _: 1
9715
9930
  }, 512),
9716
- createVNode(ContextMenu, mergeProps({
9931
+ table.value.contextMenu ? (openBlock(), createBlock(ContextMenu, mergeProps({
9932
+ key: 3,
9717
9933
  ref_key: "contextMenuRef",
9718
9934
  ref: contextMenuRef
9719
- }, _ctx.$attrs), null, 16)
9935
+ }, _ctx.$attrs), null, 16)) : createCommentVNode("", true),
9936
+ tableManager.tableProps.showSummary ? (openBlock(), createBlock(ContextColumnSummary, {
9937
+ key: 4,
9938
+ ref_key: "contextColumnSummaryRef",
9939
+ ref: contextColumnSummaryRef,
9940
+ els: renderedTableEls.value,
9941
+ onSaveColumns
9942
+ }, null, 8, ["els"])) : createCommentVNode("", true)
9720
9943
  ], 64);
9721
9944
  };
9722
9945
  }
@@ -10394,7 +10617,7 @@ const _sfc_main$h = defineComponent({
10394
10617
  const _component_el_tab_pane = resolveComponent("el-tab-pane");
10395
10618
  const _component_el_tabs = resolveComponent("el-tabs");
10396
10619
  const _component_el_button = resolveComponent("el-button");
10397
- return openBlock(), createBlock(_sfc_main$D, {
10620
+ return openBlock(), createBlock(_sfc_main$E, {
10398
10621
  modelValue: visible.value,
10399
10622
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
10400
10623
  title: "\u8868\u5355\u914D\u7F6E",
@@ -10460,7 +10683,7 @@ const _sfc_main$h = defineComponent({
10460
10683
  ], 2);
10461
10684
  }), 128))
10462
10685
  ], 2),
10463
- createVNode(_sfc_main$w, {
10686
+ createVNode(_sfc_main$x, {
10464
10687
  modelValue: innerEls.value,
10465
10688
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
10466
10689
  "item-key": "_key"
@@ -10843,7 +11066,7 @@ const _sfc_main$g = defineComponent({
10843
11066
  key: 0,
10844
11067
  class: normalizeClass(unref(createBEMName)("prefix"))
10845
11068
  }, toDisplayString(renderDeText(item.prefix, formManager.formData)), 3)) : createCommentVNode("", true),
10846
- createVNode(_sfc_main$E, {
11069
+ createVNode(_sfc_main$F, {
10847
11070
  modelValue: formManager.formData[item.prop],
10848
11071
  renderFn: item.renderFn,
10849
11072
  context: formManager,
@@ -10970,7 +11193,7 @@ const _sfc_main$f = defineComponent({
10970
11193
  });
10971
11194
  return (_ctx, _cache) => {
10972
11195
  const _component_el_button = resolveComponent("el-button");
10973
- return formVisible.value ? (openBlock(), createBlock(_sfc_main$D, {
11196
+ return formVisible.value ? (openBlock(), createBlock(_sfc_main$E, {
10974
11197
  key: 0,
10975
11198
  modelValue: formVisible.value,
10976
11199
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formVisible.value = $event),
@@ -12533,7 +12756,7 @@ const _sfc_main$7 = defineComponent({
12533
12756
  _: 1
12534
12757
  })
12535
12758
  ], 2),
12536
- createVNode(_sfc_main$w, {
12759
+ createVNode(_sfc_main$x, {
12537
12760
  modelValue: filterList.value,
12538
12761
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterList.value = $event),
12539
12762
  itemKey: "prop",
@@ -12718,7 +12941,7 @@ const _sfc_main$6 = defineComponent({
12718
12941
  _updateUserConfig({
12719
12942
  ...userConfigFormData.value
12720
12943
  });
12721
- tableChangeEmiter.emit("change");
12944
+ tableUserConfigChangeEmiter.emit("change");
12722
12945
  };
12723
12946
  __expose({
12724
12947
  showPopover,
@@ -12768,7 +12991,7 @@ const _sfc_main$6 = defineComponent({
12768
12991
  };
12769
12992
  }
12770
12993
  });
12771
- var LineClampTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-aab76f56"]]);
12994
+ var LineClampTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-71d3e62f"]]);
12772
12995
  var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
12773
12996
  const _hoisted_1$3 = ["data-event", "onClick"];
12774
12997
  const __default__$4 = {
@@ -13607,7 +13830,7 @@ const _sfc_main$4 = defineComponent({
13607
13830
  key: 0,
13608
13831
  class: normalizeClass(unref(createBEMName)("top-tabs"))
13609
13832
  }, [
13610
- hasTabs.value ? (openBlock(), createBlock(_sfc_main$15, {
13833
+ hasTabs.value ? (openBlock(), createBlock(_sfc_main$16, {
13611
13834
  key: 0,
13612
13835
  tabs: uConfig.value.tabs,
13613
13836
  manager,
@@ -13623,7 +13846,7 @@ const _sfc_main$4 = defineComponent({
13623
13846
  key: 1,
13624
13847
  class: normalizeClass(unref(createBEMName)("search"))
13625
13848
  }, [
13626
- createVNode(_sfc_main$B, {
13849
+ createVNode(_sfc_main$C, {
13627
13850
  ref_key: "searchFormRef",
13628
13851
  ref: searchFormRef,
13629
13852
  manager
@@ -13782,6 +14005,7 @@ var PageModel = {
13782
14005
  }
13783
14006
  app.component("PageModel", PageModel$1);
13784
14007
  PageModelManager._app = app;
14008
+ PageModelManager.installOption = options;
13785
14009
  if (options.config) {
13786
14010
  PageModelManager.setDefaultConfig(options.config);
13787
14011
  }
@@ -13910,7 +14134,7 @@ const _sfc_main$2 = defineComponent({
13910
14134
  const _component_el_radio_button = resolveComponent("el-radio-button");
13911
14135
  const _component_el_radio_group = resolveComponent("el-radio-group");
13912
14136
  const _component_el_button = resolveComponent("el-button");
13913
- return openBlock(), createBlock(_sfc_main$D, {
14137
+ return openBlock(), createBlock(_sfc_main$E, {
13914
14138
  modelValue: visible.value,
13915
14139
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
13916
14140
  title: "\u7F16\u8F91\u8868\u683C",
@@ -13953,7 +14177,7 @@ const _sfc_main$2 = defineComponent({
13953
14177
  ], 2);
13954
14178
  }), 128))
13955
14179
  ], 2),
13956
- createVNode(_sfc_main$w, {
14180
+ createVNode(_sfc_main$x, {
13957
14181
  modelValue: innerEls.value,
13958
14182
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
13959
14183
  "item-key": "_key"
@@ -14117,7 +14341,7 @@ const _sfc_main$1 = defineComponent({
14117
14341
  createElementVNode("div", {
14118
14342
  class: normalizeClass(unref(createBEMName)("list"))
14119
14343
  }, [
14120
- createVNode(_sfc_main$w, {
14344
+ createVNode(_sfc_main$x, {
14121
14345
  modelValue: innerEls.value,
14122
14346
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
14123
14347
  class: normalizeClass(unref(BEMSpace)),
@@ -14580,7 +14804,7 @@ const _sfc_main = defineComponent({
14580
14804
  }, {
14581
14805
  default: withCtx(() => [
14582
14806
  _ctx.alwaysShowEdit || isCurrentRowFocus($index) ? (openBlock(), createElementBlock("div", _hoisted_5, [
14583
- createVNode(_sfc_main$A, {
14807
+ createVNode(_sfc_main$B, {
14584
14808
  "render-fn": column.renderFn,
14585
14809
  pure: "",
14586
14810
  row,
@@ -14650,7 +14874,7 @@ const defineEditableTable = function(config) {
14650
14874
  };
14651
14875
  var iconfont = "";
14652
14876
  const name = "@juzhenfe/page-model";
14653
- const version = "3.16.6";
14877
+ const version = "3.17.0";
14654
14878
  const types = "dist/main.d.ts";
14655
14879
  const main = "dist/index.umd.js";
14656
14880
  const keywords = [
@@ -14730,4 +14954,4 @@ const ModelComponent = {
14730
14954
  saveTableColumns(content);
14731
14955
  }
14732
14956
  };
14733
- export { ButtonsRenderer, _sfc_main$w as DraggableList, index as EditableTable, FilterItemTypeEnum$1 as FilterItemTypeEnum, FilterMatchModeEnum$1 as FilterMatchModeEnum, _sfc_main$D as FormDialog, _sfc_main$d as FormDrawer, PageModelForm, SimplePopover, _sfc_main$A as TableCellRenderer, _sfc_main$v as TableColumnSetting, columnTools, ModelComponent as default, defineConfig, defineEditableTable, defineForm, updateCompareNoValueOptions, updateCompareOptions };
14957
+ export { ButtonsRenderer, _sfc_main$x as DraggableList, index as EditableTable, FilterItemTypeEnum$1 as FilterItemTypeEnum, FilterMatchModeEnum$1 as FilterMatchModeEnum, _sfc_main$E as FormDialog, _sfc_main$d as FormDrawer, PageModelForm, SimplePopover, _sfc_main$B as TableCellRenderer, _sfc_main$w as TableColumnSetting, columnTools, ModelComponent as default, defineConfig, defineEditableTable, defineForm, updateCompareNoValueOptions, updateCompareOptions };