@juzhenfe/page-model 3.9.24 → 3.9.25

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
@@ -187,8 +187,8 @@ const throttle$1 = (fn, interval = 300) => {
187
187
  }
188
188
  };
189
189
  };
190
- const RANDOM_RANGE = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_=";
191
- const RANDOM_RANGE_LENGTH = 54;
190
+ const RANDOM_RANGE = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_";
191
+ const RANDOM_RANGE_LENGTH = 53;
192
192
  const randomStr = (len = 16) => {
193
193
  return Array(len).fill(0).map((_, index2) => {
194
194
  return RANDOM_RANGE[Math.floor(Math.random() * RANDOM_RANGE_LENGTH)];
@@ -217,11 +217,11 @@ function retryFunc(fn, isCanExecute, retryTimes = 3, interval = 100) {
217
217
  });
218
218
  };
219
219
  }
220
- const _hoisted_1$q = { class: "scenes-tab" };
220
+ const _hoisted_1$s = { class: "scenes-tab" };
221
221
  const __default__$n = {
222
222
  name: "ScenesTab"
223
223
  };
224
- const _sfc_main$P = defineComponent({
224
+ const _sfc_main$R = defineComponent({
225
225
  ...__default__$n,
226
226
  setup(__props, { expose: __expose }) {
227
227
  const getValue = () => {
@@ -231,7 +231,7 @@ const _sfc_main$P = defineComponent({
231
231
  getValue
232
232
  });
233
233
  return (_ctx, _cache) => {
234
- return openBlock(), createElementBlock("div", _hoisted_1$q);
234
+ return openBlock(), createElementBlock("div", _hoisted_1$s);
235
235
  };
236
236
  }
237
237
  });
@@ -239,7 +239,7 @@ var index_vue_vue_type_style_index_0_lang$c = "";
239
239
  const __default__$m = {
240
240
  name: "NormalTab"
241
241
  };
242
- const _sfc_main$O = defineComponent({
242
+ const _sfc_main$Q = defineComponent({
243
243
  ...__default__$m,
244
244
  props: {
245
245
  panes: {},
@@ -1035,7 +1035,7 @@ var index_vue_vue_type_style_index_0_lang$b = "";
1035
1035
  const __default__$l = {
1036
1036
  name: "TopTabs"
1037
1037
  };
1038
- const _sfc_main$N = defineComponent({
1038
+ const _sfc_main$P = defineComponent({
1039
1039
  ...__default__$l,
1040
1040
  props: {
1041
1041
  tabs: {},
@@ -1056,12 +1056,12 @@ const _sfc_main$N = defineComponent({
1056
1056
  const tabComponent = computed(() => {
1057
1057
  if (props.tabs.useScene) {
1058
1058
  return {
1059
- component: _sfc_main$P,
1059
+ component: _sfc_main$R,
1060
1060
  props: props.tabs.sceneTab
1061
1061
  };
1062
1062
  } else {
1063
1063
  return {
1064
- component: _sfc_main$O,
1064
+ component: _sfc_main$Q,
1065
1065
  props: {
1066
1066
  panes: props.tabs.panes,
1067
1067
  props: props.tabs.props
@@ -1676,9 +1676,51 @@ var _export_sfc$1 = (sfc, props) => {
1676
1676
  }
1677
1677
  return target;
1678
1678
  };
1679
- const _sfc_main$M = defineComponent({
1679
+ const _sfc_main$O = defineComponent({
1680
1680
  name: "ArrowDownBold"
1681
1681
  });
1682
+ const _hoisted_1$r = {
1683
+ class: "icon",
1684
+ width: "200",
1685
+ height: "200",
1686
+ viewBox: "0 0 1024 1024",
1687
+ xmlns: "http://www.w3.org/2000/svg"
1688
+ };
1689
+ const _hoisted_2$m = /* @__PURE__ */ createElementVNode("path", {
1690
+ fill: "currentColor",
1691
+ 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"
1692
+ }, null, -1);
1693
+ const _hoisted_3$l = [
1694
+ _hoisted_2$m
1695
+ ];
1696
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
1697
+ return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$l);
1698
+ }
1699
+ var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$g]]);
1700
+ const _sfc_main$N = defineComponent({
1701
+ name: "ArrowDown"
1702
+ });
1703
+ const _hoisted_1$q = {
1704
+ class: "icon",
1705
+ width: "200",
1706
+ height: "200",
1707
+ viewBox: "0 0 1024 1024",
1708
+ xmlns: "http://www.w3.org/2000/svg"
1709
+ };
1710
+ const _hoisted_2$l = /* @__PURE__ */ createElementVNode("path", {
1711
+ fill: "currentColor",
1712
+ 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"
1713
+ }, null, -1);
1714
+ const _hoisted_3$k = [
1715
+ _hoisted_2$l
1716
+ ];
1717
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
1718
+ return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$k);
1719
+ }
1720
+ var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$f]]);
1721
+ const _sfc_main$M = defineComponent({
1722
+ name: "CaretBottom"
1723
+ });
1682
1724
  const _hoisted_1$p = {
1683
1725
  class: "icon",
1684
1726
  width: "200",
@@ -1688,7 +1730,7 @@ const _hoisted_1$p = {
1688
1730
  };
1689
1731
  const _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
1690
1732
  fill: "currentColor",
1691
- 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"
1733
+ d: "M192 384l320 384 320-384z"
1692
1734
  }, null, -1);
1693
1735
  const _hoisted_3$j = [
1694
1736
  _hoisted_2$k
@@ -1696,9 +1738,9 @@ const _hoisted_3$j = [
1696
1738
  function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
1697
1739
  return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$j);
1698
1740
  }
1699
- var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$e]]);
1741
+ var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$e]]);
1700
1742
  const _sfc_main$L = defineComponent({
1701
- name: "ArrowDown"
1743
+ name: "CaretRight"
1702
1744
  });
1703
1745
  const _hoisted_1$o = {
1704
1746
  class: "icon",
@@ -1709,7 +1751,7 @@ const _hoisted_1$o = {
1709
1751
  };
1710
1752
  const _hoisted_2$j = /* @__PURE__ */ createElementVNode("path", {
1711
1753
  fill: "currentColor",
1712
- 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"
1754
+ d: "M384 192v640l384-320.064z"
1713
1755
  }, null, -1);
1714
1756
  const _hoisted_3$i = [
1715
1757
  _hoisted_2$j
@@ -1717,9 +1759,9 @@ const _hoisted_3$i = [
1717
1759
  function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
1718
1760
  return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$i);
1719
1761
  }
1720
- var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$d]]);
1762
+ var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$d]]);
1721
1763
  const _sfc_main$K = defineComponent({
1722
- name: "CaretBottom"
1764
+ name: "CaretTop"
1723
1765
  });
1724
1766
  const _hoisted_1$n = {
1725
1767
  class: "icon",
@@ -1730,7 +1772,7 @@ const _hoisted_1$n = {
1730
1772
  };
1731
1773
  const _hoisted_2$i = /* @__PURE__ */ createElementVNode("path", {
1732
1774
  fill: "currentColor",
1733
- d: "M192 384l320 384 320-384z"
1775
+ d: "M512 320L192 704h639.936z"
1734
1776
  }, null, -1);
1735
1777
  const _hoisted_3$h = [
1736
1778
  _hoisted_2$i
@@ -1738,9 +1780,9 @@ const _hoisted_3$h = [
1738
1780
  function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
1739
1781
  return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$h);
1740
1782
  }
1741
- var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$c]]);
1783
+ var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$c]]);
1742
1784
  const _sfc_main$J = defineComponent({
1743
- name: "CaretRight"
1785
+ name: "CirclePlusFilled"
1744
1786
  });
1745
1787
  const _hoisted_1$m = {
1746
1788
  class: "icon",
@@ -1751,7 +1793,7 @@ const _hoisted_1$m = {
1751
1793
  };
1752
1794
  const _hoisted_2$h = /* @__PURE__ */ createElementVNode("path", {
1753
1795
  fill: "currentColor",
1754
- d: "M384 192v640l384-320.064z"
1796
+ 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"
1755
1797
  }, null, -1);
1756
1798
  const _hoisted_3$g = [
1757
1799
  _hoisted_2$h
@@ -1759,9 +1801,9 @@ const _hoisted_3$g = [
1759
1801
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
1760
1802
  return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$g);
1761
1803
  }
1762
- var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$b]]);
1804
+ var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$b]]);
1763
1805
  const _sfc_main$I = defineComponent({
1764
- name: "CaretTop"
1806
+ name: "CirclePlus"
1765
1807
  });
1766
1808
  const _hoisted_1$l = {
1767
1809
  class: "icon",
@@ -1772,17 +1814,27 @@ const _hoisted_1$l = {
1772
1814
  };
1773
1815
  const _hoisted_2$g = /* @__PURE__ */ createElementVNode("path", {
1774
1816
  fill: "currentColor",
1775
- d: "M512 320L192 704h639.936z"
1817
+ d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
1776
1818
  }, null, -1);
1777
- const _hoisted_3$f = [
1778
- _hoisted_2$g
1819
+ const _hoisted_3$f = /* @__PURE__ */ createElementVNode("path", {
1820
+ fill: "currentColor",
1821
+ d: "M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"
1822
+ }, null, -1);
1823
+ const _hoisted_4$5 = /* @__PURE__ */ createElementVNode("path", {
1824
+ fill: "currentColor",
1825
+ d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
1826
+ }, null, -1);
1827
+ const _hoisted_5$3 = [
1828
+ _hoisted_2$g,
1829
+ _hoisted_3$f,
1830
+ _hoisted_4$5
1779
1831
  ];
1780
1832
  function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
1781
- return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$f);
1833
+ return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_5$3);
1782
1834
  }
1783
- var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$a]]);
1835
+ var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$a]]);
1784
1836
  const _sfc_main$H = defineComponent({
1785
- name: "CirclePlusFilled"
1837
+ name: "CloseBold"
1786
1838
  });
1787
1839
  const _hoisted_1$k = {
1788
1840
  class: "icon",
@@ -1793,7 +1845,7 @@ const _hoisted_1$k = {
1793
1845
  };
1794
1846
  const _hoisted_2$f = /* @__PURE__ */ createElementVNode("path", {
1795
1847
  fill: "currentColor",
1796
- 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"
1848
+ d: "M195.2 195.2a64 64 0 0190.496 0L512 421.504 738.304 195.2a64 64 0 0190.496 90.496L602.496 512 828.8 738.304a64 64 0 01-90.496 90.496L512 602.496 285.696 828.8a64 64 0 01-90.496-90.496L421.504 512 195.2 285.696a64 64 0 010-90.496z"
1797
1849
  }, null, -1);
1798
1850
  const _hoisted_3$e = [
1799
1851
  _hoisted_2$f
@@ -1801,9 +1853,9 @@ const _hoisted_3$e = [
1801
1853
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
1802
1854
  return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$e);
1803
1855
  }
1804
- var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$9]]);
1856
+ var closeBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$9]]);
1805
1857
  const _sfc_main$G = defineComponent({
1806
- name: "CirclePlus"
1858
+ name: "Filter"
1807
1859
  });
1808
1860
  const _hoisted_1$j = {
1809
1861
  class: "icon",
@@ -1814,27 +1866,17 @@ const _hoisted_1$j = {
1814
1866
  };
1815
1867
  const _hoisted_2$e = /* @__PURE__ */ createElementVNode("path", {
1816
1868
  fill: "currentColor",
1817
- d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
1818
- }, null, -1);
1819
- const _hoisted_3$d = /* @__PURE__ */ createElementVNode("path", {
1820
- fill: "currentColor",
1821
- d: "M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"
1822
- }, null, -1);
1823
- const _hoisted_4$5 = /* @__PURE__ */ createElementVNode("path", {
1824
- fill: "currentColor",
1825
- d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
1869
+ 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"
1826
1870
  }, null, -1);
1827
- const _hoisted_5$3 = [
1828
- _hoisted_2$e,
1829
- _hoisted_3$d,
1830
- _hoisted_4$5
1871
+ const _hoisted_3$d = [
1872
+ _hoisted_2$e
1831
1873
  ];
1832
1874
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
1833
- return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_5$3);
1875
+ return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$d);
1834
1876
  }
1835
- var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$8]]);
1877
+ var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$8]]);
1836
1878
  const _sfc_main$F = defineComponent({
1837
- name: "Filter"
1879
+ name: "Grid"
1838
1880
  });
1839
1881
  const _hoisted_1$i = {
1840
1882
  class: "icon",
@@ -1845,7 +1887,7 @@ const _hoisted_1$i = {
1845
1887
  };
1846
1888
  const _hoisted_2$d = /* @__PURE__ */ createElementVNode("path", {
1847
1889
  fill: "currentColor",
1848
- 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"
1890
+ d: "M640 384v256H384V384h256zm64 0h192v256H704V384zm-64 512H384V704h256v192zm64 0V704h192v192H704zm-64-768v192H384V128h256zm64 0h192v192H704V128zM320 384v256H128V384h192zm0 512H128V704h192v192zm0-768v192H128V128h192z"
1849
1891
  }, null, -1);
1850
1892
  const _hoisted_3$c = [
1851
1893
  _hoisted_2$d
@@ -1853,9 +1895,9 @@ const _hoisted_3$c = [
1853
1895
  function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
1854
1896
  return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$c);
1855
1897
  }
1856
- var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$7]]);
1898
+ var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$7]]);
1857
1899
  const _sfc_main$E = defineComponent({
1858
- name: "Grid"
1900
+ name: "Loading"
1859
1901
  });
1860
1902
  const _hoisted_1$h = {
1861
1903
  class: "icon",
@@ -1866,7 +1908,7 @@ const _hoisted_1$h = {
1866
1908
  };
1867
1909
  const _hoisted_2$c = /* @__PURE__ */ createElementVNode("path", {
1868
1910
  fill: "currentColor",
1869
- d: "M640 384v256H384V384h256zm64 0h192v256H704V384zm-64 512H384V704h256v192zm64 0V704h192v192H704zm-64-768v192H384V128h256zm64 0h192v192H704V128zM320 384v256H128V384h192zm0 512H128V704h192v192zm0-768v192H128V128h192z"
1911
+ 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"
1870
1912
  }, null, -1);
1871
1913
  const _hoisted_3$b = [
1872
1914
  _hoisted_2$c
@@ -1874,7 +1916,7 @@ const _hoisted_3$b = [
1874
1916
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
1875
1917
  return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$b);
1876
1918
  }
1877
- var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$6]]);
1919
+ var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$6]]);
1878
1920
  const _sfc_main$D = defineComponent({
1879
1921
  name: "QuestionFilled"
1880
1922
  });
@@ -6771,6 +6813,9 @@ class TableManager extends IManager {
6771
6813
  __publicField(this, "sortParams", {});
6772
6814
  __publicField(this, "randomRowKey", null);
6773
6815
  __publicField(this, "totalEls", []);
6816
+ __publicField(this, "focusCellKey");
6817
+ __publicField(this, "currentRow");
6818
+ __publicField(this, "currentColumn");
6774
6819
  __publicField(this, "radioData", null);
6775
6820
  __publicField(this, "currentRenderTableEls");
6776
6821
  __publicField(this, "innerFilters", null);
@@ -6803,8 +6848,8 @@ class TableManager extends IManager {
6803
6848
  this.tableRef = markRaw(tableRef);
6804
6849
  }
6805
6850
  }
6806
- updateLoading(loading) {
6807
- this.loadingData = loading;
6851
+ updateLoading(loading2) {
6852
+ this.loadingData = loading2;
6808
6853
  }
6809
6854
  getReqParams() {
6810
6855
  return {
@@ -6859,15 +6904,23 @@ class TableManager extends IManager {
6859
6904
  let noRepeatSelection = Object.keys(_selectionMap).map((rowKey2) => {
6860
6905
  return selection[_selectionMap[rowKey2]];
6861
6906
  });
6862
- const { adds, dels, upds } = compareTwoList(this.currentPageSelection, noRepeatSelection, rowKey);
6907
+ const { adds, dels, upds } = compareTwoList(
6908
+ this.currentPageSelection,
6909
+ noRepeatSelection,
6910
+ rowKey
6911
+ );
6863
6912
  dels.forEach((item) => {
6864
- const delIndex = this.selection.findIndex((a) => a[rowKey] === item[rowKey]);
6913
+ const delIndex = this.selection.findIndex(
6914
+ (a) => a[rowKey] === item[rowKey]
6915
+ );
6865
6916
  if (delIndex !== -1) {
6866
6917
  this.selection.splice(delIndex, 1);
6867
6918
  }
6868
6919
  });
6869
6920
  upds.forEach((item) => {
6870
- const updIndex = this.selection.findIndex((a) => a[rowKey] === item[rowKey]);
6921
+ const updIndex = this.selection.findIndex(
6922
+ (a) => a[rowKey] === item[rowKey]
6923
+ );
6871
6924
  if (updIndex !== -1) {
6872
6925
  this.selection[updIndex] = item;
6873
6926
  }
@@ -6889,7 +6942,11 @@ class TableManager extends IManager {
6889
6942
  } else {
6890
6943
  this.tableProps = {};
6891
6944
  }
6892
- this.tableProps = merge(cloneDeep(DEFAULT_TABLE_PROPS), oldTableProps, this.tableProps);
6945
+ this.tableProps = merge(
6946
+ cloneDeep(DEFAULT_TABLE_PROPS),
6947
+ oldTableProps,
6948
+ this.tableProps
6949
+ );
6893
6950
  this.size = ((_a = this.tableProps) == null ? void 0 : _a.size) || ((_b = this.config) == null ? void 0 : _b.size) || "default";
6894
6951
  }
6895
6952
  updateEvents() {
@@ -6927,7 +6984,9 @@ class TableManager extends IManager {
6927
6984
  this.tableEvents["rowClick"] = function(row, column, event) {
6928
6985
  _rowClick == null ? void 0 : _rowClick.call(this, row, column, event);
6929
6986
  const currentPageSelection = this.currentPageSelection;
6930
- const findIndex = currentPageSelection.findIndex((item) => item === row);
6987
+ const findIndex = currentPageSelection.findIndex(
6988
+ (item) => item === row
6989
+ );
6931
6990
  const selectList = [...currentPageSelection];
6932
6991
  if (findIndex === -1) {
6933
6992
  selectList.push(row);
@@ -6955,7 +7014,11 @@ class TableManager extends IManager {
6955
7014
  _sortChange == null ? void 0 : _sortChange.call(this, sort2);
6956
7015
  const index2 = _this.sortOrders.findIndex((val) => val === sort2.order);
6957
7016
  if (index2 !== -1) {
6958
- const elItems = _this.context.JZUtils.findDataFromTree(_this.table.els, "prop", sort2.prop);
7017
+ const elItems = _this.context.JZUtils.findDataFromTree(
7018
+ _this.table.els,
7019
+ "prop",
7020
+ sort2.prop
7021
+ );
6959
7022
  if (elItems.length) {
6960
7023
  const sortValues = elItems.slice(-1)[0].sortValues;
6961
7024
  _this.sortParams = sortValues[index2] || {};
@@ -6972,7 +7035,24 @@ class TableManager extends IManager {
6972
7035
  }
6973
7036
  composeTableCellKey(columnKey, rowIndex) {
6974
7037
  const currentPage = this.currentPage;
6975
- return `${columnKey}_${currentPage}_${rowIndex}`;
7038
+ return `column-${columnKey}_${currentPage}_${rowIndex}`;
7039
+ }
7040
+ blurCell(blurRowData, blurColumn) {
7041
+ if (this.focusCellKey) {
7042
+ const cellEle = document.querySelector(`#${this.focusCellKey}`);
7043
+ cellEle.setAttribute("data-focus", "false");
7044
+ if (cellEle.getAttribute("data-edit") === "true") {
7045
+ const tableEl = this.currentRenderTableEls.find((el) => el._key === blurColumn.columnKey);
7046
+ this.restoreCellValue(blurRowData, this.focusCellKey, tableEl.editData.prop || tableEl.prop);
7047
+ }
7048
+ this.closeCellEditing(this.focusCellKey);
7049
+ }
7050
+ }
7051
+ focusCell(cell) {
7052
+ if (this.focusCellKey) {
7053
+ let focusCell = cell != null ? cell : document.querySelector(`#${this.focusCellKey}`);
7054
+ focusCell.setAttribute("data-focus", "true");
7055
+ }
6976
7056
  }
6977
7057
  patchTableEditable() {
6978
7058
  if (!this.table.editable) {
@@ -6990,27 +7070,52 @@ class TableManager extends IManager {
6990
7070
  return false;
6991
7071
  }
6992
7072
  const rowIndex = cellInnerContainer.getAttribute("data-index");
6993
- const key = this.composeTableCellKey(column.columnKey, rowIndex);
6994
- this.setCellEditing(key, column.columnKey);
6995
- this.saveRowData(key, row);
7073
+ const cellKey = this.composeTableCellKey(column.columnKey, rowIndex);
7074
+ if (this.focusCellKey !== cellKey) {
7075
+ this.blurCell(this.currentRow, this.currentColumn);
7076
+ cell.id = this.focusCellKey = cellKey;
7077
+ this.focusCell(cell);
7078
+ return false;
7079
+ }
7080
+ this.currentRow = row;
7081
+ this.currentColumn = column;
7082
+ this.setCellEditing(cellKey);
7083
+ this.saveRowData(cellKey, row);
6996
7084
  }.bind(this);
6997
7085
  }
6998
- setCellEditing(mapKey, valueKey) {
6999
- const value = this.editableOpen.get(mapKey) || {};
7000
- value[valueKey] = true;
7001
- this.editableOpen.set(mapKey, value);
7086
+ setCellEditing(cellKey) {
7087
+ this.editableOpen.set(cellKey, true);
7088
+ const cellEle = document.querySelector(`#${this.focusCellKey}`);
7089
+ cellEle.setAttribute("data-edit", "true");
7090
+ nextTick(() => {
7091
+ var _a;
7092
+ (_a = cellEle.querySelector("input")) == null ? void 0 : _a.focus();
7093
+ });
7094
+ }
7095
+ closeCellEditing(cellKey) {
7096
+ this.editableOpen.set(cellKey, false);
7097
+ const cellEle = document.querySelector(`#${this.focusCellKey}`);
7098
+ cellEle.setAttribute("data-edit", "false");
7099
+ }
7100
+ saveRowData(cellKey, data) {
7101
+ this.editableData.set(cellKey, JSON.parse(JSON.stringify(data)));
7102
+ }
7103
+ clearRowData(cellKey) {
7104
+ this.editableData.delete(cellKey);
7002
7105
  }
7003
- saveRowData(key, data) {
7004
- this.editableData.set(key, JSON.parse(JSON.stringify(data)));
7106
+ setRowUpdateLoading(cellKey, loading2) {
7107
+ this.editableOpen.set(`${cellKey}-loading`, loading2);
7005
7108
  }
7006
- closeCellEditing(mapKey, valueKey) {
7007
- const value = this.editableOpen.get(mapKey) || {};
7008
- value[valueKey] = false;
7009
- this.editableOpen.set(mapKey, value);
7109
+ restoreCellValue(row, cellKey, restoreKey) {
7110
+ const originForm = this.editableData.get(cellKey);
7111
+ row[restoreKey] = originForm[restoreKey];
7010
7112
  }
7011
7113
  updatePagination() {
7012
7114
  var _a, _b, _c, _d, _e, _f, _g, _h, _i;
7013
- this.pagination = merge(cloneDeep(DEFAULT_PAGINATION_CONFIG), (_b = (_a = this.table) == null ? void 0 : _a.pagination) != null ? _b : {});
7115
+ this.pagination = merge(
7116
+ cloneDeep(DEFAULT_PAGINATION_CONFIG),
7117
+ (_b = (_a = this.table) == null ? void 0 : _a.pagination) != null ? _b : {}
7118
+ );
7014
7119
  this.pageSize = (_f = (_d = this.pagination.pageSize) != null ? _d : (_c = this.pagination.pageSizes) == null ? void 0 : _c[0]) != null ? _f : (_e = DEFAULT_PAGINATION_CONFIG.pageSizes) == null ? void 0 : _e[0];
7015
7120
  this.pagination.pageSizes = (_i = (_h = (_g = this.table) == null ? void 0 : _g.pagination) == null ? void 0 : _h.pageSizes) != null ? _i : DEFAULT_PAGINATION_CONFIG.pageSizes;
7016
7121
  }
@@ -7093,7 +7198,9 @@ class TableManager extends IManager {
7093
7198
  }
7094
7199
  _syncRadioData() {
7095
7200
  if (this.radioData) {
7096
- const data = this.tableData.find((a) => a[this.rowKey] === this.radioData[this.rowKey]);
7201
+ const data = this.tableData.find(
7202
+ (a) => a[this.rowKey] === this.radioData[this.rowKey]
7203
+ );
7097
7204
  if (data) {
7098
7205
  this.setRadioData(data);
7099
7206
  }
@@ -7113,7 +7220,10 @@ class TableManager extends IManager {
7113
7220
  }
7114
7221
  const loadXlsxStyleResult = await JZUtils.loadResource(
7115
7222
  "xlsx.full.min.js",
7116
- ["http://cdn-static.juzhentech.com/xlsx-style@0.8.13/", "/scripts/xlsx-style/"],
7223
+ [
7224
+ "http://cdn-static.juzhentech.com/xlsx-style@0.8.13/",
7225
+ "/scripts/xlsx-style/"
7226
+ ],
7117
7227
  "js"
7118
7228
  );
7119
7229
  return loadXlsxResult && loadXlsxStyleResult;
@@ -7195,7 +7305,11 @@ class TableManager extends IManager {
7195
7305
  };
7196
7306
  var sheet = window.oXlsx.utils.aoa_to_sheet(excelData);
7197
7307
  if (typeof ((_c = this.table.xlsx) == null ? void 0 : _c.mergeFn) === "function") {
7198
- sheet["!merges"] = this.table.xlsx.mergeFn.call(this, exportData, exportEls);
7308
+ sheet["!merges"] = this.table.xlsx.mergeFn.call(
7309
+ this,
7310
+ exportData,
7311
+ exportEls
7312
+ );
7199
7313
  }
7200
7314
  Object.keys(sheet).forEach((colKey) => {
7201
7315
  if (!colKey[0].match(/\w/)) {
@@ -7339,11 +7453,15 @@ const _hoisted_3$4 = {
7339
7453
  key: 0,
7340
7454
  class: "el-table-cell_editable"
7341
7455
  };
7342
- const _hoisted_4$3 = {
7456
+ const _hoisted_4$3 = { class: "el-table-cell_editable-inputer" };
7457
+ const _hoisted_5$2 = { class: "el-table-cell_editable-buttons" };
7458
+ const _hoisted_6$2 = ["onClick"];
7459
+ const _hoisted_7$2 = ["onClick"];
7460
+ const _hoisted_8 = {
7343
7461
  key: 1,
7344
7462
  class: "empty-edit"
7345
7463
  };
7346
- const _hoisted_5$2 = { key: 0 };
7464
+ const _hoisted_9 = { key: 0 };
7347
7465
  const __default__$g = {
7348
7466
  name: "TableColumn"
7349
7467
  };
@@ -7358,8 +7476,14 @@ const _sfc_main$p = defineComponent({
7358
7476
  const tableManager = computed(() => {
7359
7477
  return props.context;
7360
7478
  });
7361
- const onSaveEditContent = async (row, mapKey, column) => {
7362
- var _a, _b;
7479
+ const onUpdateTableCellModelValue = (row, prop, value) => {
7480
+ row[prop] = value;
7481
+ };
7482
+ const onSaveEditContent = async (row, cellKey, column) => {
7483
+ var _a;
7484
+ if (tableManager.value.editableOpen.get(`${cellKey}-loading`)) {
7485
+ return;
7486
+ }
7363
7487
  const manager = tableManager.value.manager;
7364
7488
  let submitData = await manager.getSubmitFormData(row, false);
7365
7489
  if (submitData === false) {
@@ -7374,40 +7498,44 @@ const _sfc_main$p = defineComponent({
7374
7498
  }
7375
7499
  }
7376
7500
  if (submitData === false) {
7501
+ onCancelEditContent(row, cellKey, column.editData.prop || column.prop);
7377
7502
  return false;
7378
7503
  }
7379
7504
  let updateResult;
7380
- if ((_b = column.editData) == null ? void 0 : _b.api) {
7381
- let api = typeof column.editData.api === "function" ? column.editData.api.call(tableManager, submitData) : column.editData.api;
7382
- updateResult = await manager.baseUpdDataRequest(
7383
- api,
7384
- column.editData.method || tableManager.value.config.updMethod,
7385
- submitData
7386
- );
7387
- } else {
7388
- updateResult = await manager.postUpdDataRequest(submitData);
7389
- }
7390
- if (updateResult) {
7391
- props.context.closeCellEditing(mapKey, column._key);
7392
- }
7393
- };
7394
- const onCellDataChange = (isShowEditable, row, mapKey, column) => {
7395
- if (isShowEditable) {
7396
- onSaveEditContent(row, mapKey, column);
7505
+ props.context.setRowUpdateLoading(cellKey, true);
7506
+ try {
7507
+ if (column.editData.api) {
7508
+ let api = typeof column.editData.api === "function" ? column.editData.api.call(tableManager, submitData) : column.editData.api;
7509
+ updateResult = await manager.baseUpdDataRequest(
7510
+ api,
7511
+ column.editData.method || tableManager.value.config.updMethod,
7512
+ submitData
7513
+ );
7514
+ } else {
7515
+ updateResult = await manager.postUpdDataRequest(submitData);
7516
+ }
7517
+ if (updateResult) {
7518
+ props.context.closeCellEditing(cellKey);
7519
+ } else {
7520
+ onCancelEditContent(row, cellKey, column.editData.prop || column.prop);
7521
+ ElMessage.error("\u66F4\u65B0\u5931\u8D25!");
7522
+ }
7523
+ } catch (error) {
7524
+ } finally {
7525
+ props.context.setRowUpdateLoading(cellKey, false);
7397
7526
  }
7398
7527
  };
7399
- const onCancelEditContent = (row, mapKey, valueKey) => {
7400
- props.context.closeCellEditing(mapKey, valueKey);
7401
- const originForm = tableManager.value.editableData.get(mapKey);
7402
- const el = props.els.find((a) => a._key === valueKey);
7403
- if (el.prop) {
7404
- row[el.prop] = originForm[el.prop];
7528
+ const onCancelEditContent = (row, cellKey, restoreKey) => {
7529
+ if (tableManager.value.editableOpen.get(`${cellKey}-loading`)) {
7530
+ return;
7405
7531
  }
7532
+ props.context.closeCellEditing(cellKey);
7533
+ props.context.restoreCellValue(row, cellKey, restoreKey);
7534
+ props.context.clearRowData(cellKey);
7406
7535
  };
7407
7536
  return (_ctx, _cache) => {
7408
7537
  const _component_el_icon = resolveComponent("el-icon");
7409
7538
  const _component_TableColumn = resolveComponent("TableColumn");
7410
- const _component_el_button = resolveComponent("el-button");
7411
7539
  const _component_el_table_column = resolveComponent("el-table-column");
7412
7540
  return openBlock(true), createElementBlock(Fragment, null, renderList(props.els, (column, index2) => {
7413
7541
  return openBlock(), createBlock(_component_el_table_column, mergeProps({
@@ -7433,91 +7561,99 @@ const _sfc_main$p = defineComponent({
7433
7561
  }, 1032, ["title"])) : createCommentVNode("", true)
7434
7562
  ])
7435
7563
  ]),
7436
- default: withCtx(({ row, $index, column: columnEl }) => {
7437
- var _a;
7438
- return [
7439
- column.children ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
7440
- column.children ? (openBlock(), createBlock(_component_TableColumn, {
7441
- key: 0,
7442
- els: column.children,
7443
- context: props.context
7444
- }, null, 8, ["els", "context"])) : createCommentVNode("", true)
7445
- ], 64)) : (openBlock(), createElementBlock("div", {
7446
- key: 1,
7447
- "data-index": $index,
7448
- editable: column.editData ? 1 : 0,
7449
- class: normalizeClass([
7450
- "el-table-cell_inner",
7451
- column.showRowNumbers != null ? `show-${column.showRowNumbers}` : ""
7452
- ])
7453
- }, [
7454
- column.showEdit || ((_a = tableManager.value.editableOpen.get(
7455
- tableManager.value.composeTableCellKey(columnEl.columnKey, $index)
7456
- )) == null ? void 0 : _a[column._key]) ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
7457
- column.editData ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
7564
+ default: withCtx(({ row, $index, column: columnEl }) => [
7565
+ column.children ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
7566
+ column.children ? (openBlock(), createBlock(_component_TableColumn, {
7567
+ key: 0,
7568
+ els: column.children,
7569
+ context: props.context
7570
+ }, null, 8, ["els", "context"])) : createCommentVNode("", true)
7571
+ ], 64)) : (openBlock(), createElementBlock("div", {
7572
+ key: 1,
7573
+ "data-index": $index,
7574
+ editable: column.editData ? 1 : 0,
7575
+ class: normalizeClass([
7576
+ "el-table-cell_inner",
7577
+ column.showRowNumbers != null ? `show-${column.showRowNumbers}` : ""
7578
+ ])
7579
+ }, [
7580
+ column.showEdit || tableManager.value.editableOpen.get(
7581
+ tableManager.value.composeTableCellKey(columnEl.columnKey, $index)
7582
+ ) ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
7583
+ column.editData ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
7584
+ createElementVNode("div", _hoisted_4$3, [
7458
7585
  createVNode(_sfc_main$u, {
7459
7586
  modelValue: row[column.editData.prop || column.prop],
7460
- "onUpdate:modelValue": ($event) => row[column.editData.prop || column.prop] = $event,
7461
7587
  renderFn: column.editData.renderFn,
7462
7588
  context: props.context,
7463
7589
  options: column.editData,
7464
7590
  model: row,
7465
- onChange: ($event) => onCellDataChange(
7466
- column.showEdit,
7591
+ "onUpdate:modelValue": ($event) => onUpdateTableCellModelValue(
7467
7592
  row,
7468
- tableManager.value.composeTableCellKey(columnEl.columnKey, $index),
7469
- column
7593
+ column.editData.prop || column.prop,
7594
+ $event
7470
7595
  )
7471
- }, null, 8, ["modelValue", "onUpdate:modelValue", "renderFn", "context", "options", "model", "onChange"]),
7472
- !column.showEdit ? (openBlock(), createBlock(_component_el_button, {
7596
+ }, null, 8, ["modelValue", "renderFn", "context", "options", "model", "onUpdate:modelValue"])
7597
+ ]),
7598
+ createElementVNode("div", _hoisted_5$2, [
7599
+ !column.showEdit ? (openBlock(), createElementBlock("span", {
7473
7600
  key: 0,
7474
- size: "small",
7475
- link: "",
7476
- type: "primary",
7477
- style: { "margin-left": "10px" },
7601
+ class: "el-table-cell_editable-button btn-save",
7602
+ title: "\u4FDD\u5B58",
7478
7603
  onClick: ($event) => onSaveEditContent(
7479
7604
  row,
7480
7605
  tableManager.value.composeTableCellKey(columnEl.columnKey, $index),
7481
7606
  column
7482
7607
  )
7483
- }, {
7484
- default: withCtx(() => [
7485
- createTextVNode(" \u4FDD\u5B58 ")
7486
- ]),
7487
- _: 2
7488
- }, 1032, ["onClick"])) : createCommentVNode("", true)
7489
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_4$3, "\u8BE5\u5217\u672A\u8BBE\u7F6E\u7F16\u8F91\u7EC4\u4EF6")),
7490
- !column.showEdit ? (openBlock(), createBlock(_component_el_button, {
7491
- key: 2,
7492
- size: "small",
7493
- link: "",
7494
- type: "primary",
7495
- onClick: ($event) => onCancelEditContent(
7496
- row,
7497
- tableManager.value.composeTableCellKey(columnEl.columnKey, $index),
7498
- column._key
7499
- )
7500
- }, {
7501
- default: withCtx(() => [
7502
- createTextVNode(" \u53D6\u6D88 ")
7503
- ]),
7504
- _: 2
7505
- }, 1032, ["onClick"])) : createCommentVNode("", true)
7506
- ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
7507
- column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$q, {
7508
- key: 0,
7509
- "render-fn": column.renderFn,
7510
- context: props.context,
7511
- pure: "",
7512
- row,
7513
- index: $index
7514
- }, null, 8, ["render-fn", "context", "row", "index"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
7515
- column.prop ? (openBlock(), createElementBlock("span", _hoisted_5$2, toDisplayString(row[column.prop]), 1)) : createCommentVNode("", true)
7516
- ], 64))
7608
+ }, [
7609
+ createVNode(_component_el_icon, null, {
7610
+ default: withCtx(() => [
7611
+ tableManager.value.editableOpen.get(
7612
+ `${tableManager.value.composeTableCellKey(
7613
+ columnEl.columnKey,
7614
+ $index
7615
+ )}-loading`
7616
+ ) ? (openBlock(), createBlock(unref(loading), {
7617
+ key: 0,
7618
+ class: "el-table-cell_editable-icon-loading"
7619
+ })) : (openBlock(), createBlock(unref(select), { key: 1 }))
7620
+ ]),
7621
+ _: 2
7622
+ }, 1024)
7623
+ ], 8, _hoisted_6$2)) : createCommentVNode("", true),
7624
+ !column.showEdit ? (openBlock(), createElementBlock("span", {
7625
+ key: 1,
7626
+ class: "el-table-cell_editable-button btn-cancel",
7627
+ title: "\u4FDD\u5B58",
7628
+ onClick: ($event) => onCancelEditContent(
7629
+ row,
7630
+ tableManager.value.composeTableCellKey(columnEl.columnKey, $index),
7631
+ column.editData.prop || column.prop
7632
+ )
7633
+ }, [
7634
+ createVNode(_component_el_icon, null, {
7635
+ default: withCtx(() => [
7636
+ createVNode(unref(closeBold))
7637
+ ]),
7638
+ _: 1
7639
+ })
7640
+ ], 8, _hoisted_7$2)) : createCommentVNode("", true)
7641
+ ])
7642
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_8, "\u8BE5\u5217\u672A\u8BBE\u7F6E\u7F16\u8F91\u7EC4\u4EF6"))
7643
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
7644
+ column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$q, {
7645
+ key: 0,
7646
+ "render-fn": column.renderFn,
7647
+ context: props.context,
7648
+ pure: "",
7649
+ row,
7650
+ index: $index
7651
+ }, null, 8, ["render-fn", "context", "row", "index"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
7652
+ column.prop ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(row[column.prop]), 1)) : createCommentVNode("", true)
7517
7653
  ], 64))
7518
- ], 10, _hoisted_2$5))
7519
- ];
7520
- }),
7654
+ ], 64))
7655
+ ], 10, _hoisted_2$5))
7656
+ ]),
7521
7657
  _: 2
7522
7658
  }, 1040, ["label", "prop", "width", "min-width", "fixed", "column-key"]);
7523
7659
  }), 128);
@@ -11312,8 +11448,8 @@ class FormManager extends IManager {
11312
11448
  updateFormRef(formRef) {
11313
11449
  this.formRef = markRaw(formRef);
11314
11450
  }
11315
- updateSubmitLoading(loading) {
11316
- this.submitLoading = loading;
11451
+ updateSubmitLoading(loading2) {
11452
+ this.submitLoading = loading2;
11317
11453
  }
11318
11454
  updateReflections(reflections) {
11319
11455
  this.updateReflectionsData(reflections);
@@ -12441,7 +12577,7 @@ const _sfc_main$9 = defineComponent({
12441
12577
  }
12442
12578
  }
12443
12579
  });
12444
- const loading = computed(() => {
12580
+ const loading2 = computed(() => {
12445
12581
  var _a;
12446
12582
  return (_a = props.formManager) == null ? void 0 : _a.submitLoading;
12447
12583
  });
@@ -12467,7 +12603,7 @@ const _sfc_main$9 = defineComponent({
12467
12603
  createVNode(_component_el_button, {
12468
12604
  style: { "width": "80px" },
12469
12605
  type: "primary",
12470
- loading: loading.value,
12606
+ loading: loading2.value,
12471
12607
  onClick: submit
12472
12608
  }, {
12473
12609
  default: withCtx(() => [
@@ -12544,7 +12680,7 @@ const _sfc_main$8 = defineComponent({
12544
12680
  }
12545
12681
  }
12546
12682
  });
12547
- const loading = computed(() => {
12683
+ const loading2 = computed(() => {
12548
12684
  var _a;
12549
12685
  return (_a = props.formManager) == null ? void 0 : _a.submitLoading;
12550
12686
  });
@@ -12591,7 +12727,7 @@ const _sfc_main$8 = defineComponent({
12591
12727
  createVNode(_component_el_button, {
12592
12728
  style: { "width": "80px" },
12593
12729
  type: "primary",
12594
- loading: loading.value,
12730
+ loading: loading2.value,
12595
12731
  onClick: submit
12596
12732
  }, {
12597
12733
  default: withCtx(() => [
@@ -13743,7 +13879,7 @@ const _sfc_main$4 = defineComponent({
13743
13879
  key: 0,
13744
13880
  class: normalizeClass(unref(createBEMName)("top-tabs"))
13745
13881
  }, [
13746
- hasTabs.value ? (openBlock(), createBlock(_sfc_main$N, {
13882
+ hasTabs.value ? (openBlock(), createBlock(_sfc_main$P, {
13747
13883
  key: 0,
13748
13884
  tabs: uConfig.value.tabs,
13749
13885
  manager,
@@ -14722,7 +14858,7 @@ const defineEditableTable = function(config) {
14722
14858
  return reactive(config);
14723
14859
  };
14724
14860
  const name = "@juzhenfe/page-model";
14725
- const version = "3.9.24";
14861
+ const version = "3.9.25";
14726
14862
  const types = "dist/main.d.ts";
14727
14863
  const main = "dist/index.umd.js";
14728
14864
  const keywords = [