@juzhenfe/page-model 3.18.92 → 3.18.94
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/components/page-model/components/selectable-operate/index.vue.d.ts +6 -2
- package/dist/components/table/type.d.ts +1 -0
- package/dist/components/table-toolsbox/index.vue.d.ts +7 -0
- package/dist/index.es.js +164 -102
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -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$
|
|
215
|
+
const _hoisted_1$K = { class: "scenes-tab" };
|
|
216
216
|
const __default__$o = {
|
|
217
217
|
name: "ScenesTab"
|
|
218
218
|
};
|
|
219
|
-
const _sfc_main$
|
|
219
|
+
const _sfc_main$19 = defineComponent({
|
|
220
220
|
...__default__$o,
|
|
221
221
|
setup(__props, { expose: __expose }) {
|
|
222
222
|
const getValue2 = () => {
|
|
@@ -226,7 +226,7 @@ const _sfc_main$18 = defineComponent({
|
|
|
226
226
|
getValue: getValue2
|
|
227
227
|
});
|
|
228
228
|
return (_ctx, _cache) => {
|
|
229
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
229
|
+
return openBlock(), createElementBlock("div", _hoisted_1$K);
|
|
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$
|
|
237
|
+
const _sfc_main$18 = 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$
|
|
1690
|
+
const _sfc_main$17 = defineComponent({
|
|
1691
1691
|
...__default__$m,
|
|
1692
1692
|
props: {
|
|
1693
1693
|
tabs: {},
|
|
@@ -1708,12 +1708,12 @@ const _sfc_main$16 = defineComponent({
|
|
|
1708
1708
|
const tabComponent = computed(() => {
|
|
1709
1709
|
if (props.tabs.useScene) {
|
|
1710
1710
|
return {
|
|
1711
|
-
component: _sfc_main$
|
|
1711
|
+
component: _sfc_main$19,
|
|
1712
1712
|
props: props.tabs.sceneTab
|
|
1713
1713
|
};
|
|
1714
1714
|
} else {
|
|
1715
1715
|
return {
|
|
1716
|
-
component: _sfc_main$
|
|
1716
|
+
component: _sfc_main$18,
|
|
1717
1717
|
props: {
|
|
1718
1718
|
panes: props.tabs.panes,
|
|
1719
1719
|
props: props.tabs.props
|
|
@@ -1753,9 +1753,30 @@ var _export_sfc$1 = (sfc, props) => {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
return target;
|
|
1755
1755
|
};
|
|
1756
|
-
const _sfc_main$
|
|
1756
|
+
const _sfc_main$16 = defineComponent({
|
|
1757
1757
|
name: "ArrowDownBold"
|
|
1758
1758
|
});
|
|
1759
|
+
const _hoisted_1$J = {
|
|
1760
|
+
class: "icon",
|
|
1761
|
+
width: "200",
|
|
1762
|
+
height: "200",
|
|
1763
|
+
viewBox: "0 0 1024 1024",
|
|
1764
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1765
|
+
};
|
|
1766
|
+
const _hoisted_2$z = /* @__PURE__ */ createElementVNode("path", {
|
|
1767
|
+
fill: "currentColor",
|
|
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
|
+
}, null, -1);
|
|
1770
|
+
const _hoisted_3$w = [
|
|
1771
|
+
_hoisted_2$z
|
|
1772
|
+
];
|
|
1773
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1774
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$J, _hoisted_3$w);
|
|
1775
|
+
}
|
|
1776
|
+
var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$16, [["render", _sfc_render$p]]);
|
|
1777
|
+
const _sfc_main$15 = defineComponent({
|
|
1778
|
+
name: "ArrowDown"
|
|
1779
|
+
});
|
|
1759
1780
|
const _hoisted_1$I = {
|
|
1760
1781
|
class: "icon",
|
|
1761
1782
|
width: "200",
|
|
@@ -1765,7 +1786,7 @@ const _hoisted_1$I = {
|
|
|
1765
1786
|
};
|
|
1766
1787
|
const _hoisted_2$y = /* @__PURE__ */ createElementVNode("path", {
|
|
1767
1788
|
fill: "currentColor",
|
|
1768
|
-
d: "
|
|
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"
|
|
1769
1790
|
}, null, -1);
|
|
1770
1791
|
const _hoisted_3$v = [
|
|
1771
1792
|
_hoisted_2$y
|
|
@@ -1773,9 +1794,9 @@ const _hoisted_3$v = [
|
|
|
1773
1794
|
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1774
1795
|
return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_3$v);
|
|
1775
1796
|
}
|
|
1776
|
-
var
|
|
1797
|
+
var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$15, [["render", _sfc_render$o]]);
|
|
1777
1798
|
const _sfc_main$14 = defineComponent({
|
|
1778
|
-
name: "
|
|
1799
|
+
name: "CaretBottom"
|
|
1779
1800
|
});
|
|
1780
1801
|
const _hoisted_1$H = {
|
|
1781
1802
|
class: "icon",
|
|
@@ -1786,7 +1807,7 @@ const _hoisted_1$H = {
|
|
|
1786
1807
|
};
|
|
1787
1808
|
const _hoisted_2$x = /* @__PURE__ */ createElementVNode("path", {
|
|
1788
1809
|
fill: "currentColor",
|
|
1789
|
-
d: "
|
|
1810
|
+
d: "M192 384l320 384 320-384z"
|
|
1790
1811
|
}, null, -1);
|
|
1791
1812
|
const _hoisted_3$u = [
|
|
1792
1813
|
_hoisted_2$x
|
|
@@ -1794,9 +1815,9 @@ const _hoisted_3$u = [
|
|
|
1794
1815
|
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1795
1816
|
return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_3$u);
|
|
1796
1817
|
}
|
|
1797
|
-
var
|
|
1818
|
+
var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["render", _sfc_render$n]]);
|
|
1798
1819
|
const _sfc_main$13 = defineComponent({
|
|
1799
|
-
name: "
|
|
1820
|
+
name: "CaretRight"
|
|
1800
1821
|
});
|
|
1801
1822
|
const _hoisted_1$G = {
|
|
1802
1823
|
class: "icon",
|
|
@@ -1807,7 +1828,7 @@ const _hoisted_1$G = {
|
|
|
1807
1828
|
};
|
|
1808
1829
|
const _hoisted_2$w = /* @__PURE__ */ createElementVNode("path", {
|
|
1809
1830
|
fill: "currentColor",
|
|
1810
|
-
d: "
|
|
1831
|
+
d: "M384 192v640l384-320.064z"
|
|
1811
1832
|
}, null, -1);
|
|
1812
1833
|
const _hoisted_3$t = [
|
|
1813
1834
|
_hoisted_2$w
|
|
@@ -1815,9 +1836,9 @@ const _hoisted_3$t = [
|
|
|
1815
1836
|
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1816
1837
|
return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$t);
|
|
1817
1838
|
}
|
|
1818
|
-
var
|
|
1839
|
+
var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$m]]);
|
|
1819
1840
|
const _sfc_main$12 = defineComponent({
|
|
1820
|
-
name: "
|
|
1841
|
+
name: "CaretTop"
|
|
1821
1842
|
});
|
|
1822
1843
|
const _hoisted_1$F = {
|
|
1823
1844
|
class: "icon",
|
|
@@ -1828,7 +1849,7 @@ const _hoisted_1$F = {
|
|
|
1828
1849
|
};
|
|
1829
1850
|
const _hoisted_2$v = /* @__PURE__ */ createElementVNode("path", {
|
|
1830
1851
|
fill: "currentColor",
|
|
1831
|
-
d: "
|
|
1852
|
+
d: "M512 320L192 704h639.936z"
|
|
1832
1853
|
}, null, -1);
|
|
1833
1854
|
const _hoisted_3$s = [
|
|
1834
1855
|
_hoisted_2$v
|
|
@@ -1836,9 +1857,9 @@ const _hoisted_3$s = [
|
|
|
1836
1857
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1837
1858
|
return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$s);
|
|
1838
1859
|
}
|
|
1839
|
-
var
|
|
1860
|
+
var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["render", _sfc_render$l]]);
|
|
1840
1861
|
const _sfc_main$11 = defineComponent({
|
|
1841
|
-
name: "
|
|
1862
|
+
name: "CirclePlusFilled"
|
|
1842
1863
|
});
|
|
1843
1864
|
const _hoisted_1$E = {
|
|
1844
1865
|
class: "icon",
|
|
@@ -1849,7 +1870,7 @@ const _hoisted_1$E = {
|
|
|
1849
1870
|
};
|
|
1850
1871
|
const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
|
|
1851
1872
|
fill: "currentColor",
|
|
1852
|
-
d: "M512
|
|
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"
|
|
1853
1874
|
}, null, -1);
|
|
1854
1875
|
const _hoisted_3$r = [
|
|
1855
1876
|
_hoisted_2$u
|
|
@@ -1857,9 +1878,9 @@ const _hoisted_3$r = [
|
|
|
1857
1878
|
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1858
1879
|
return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$r);
|
|
1859
1880
|
}
|
|
1860
|
-
var
|
|
1881
|
+
var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["render", _sfc_render$k]]);
|
|
1861
1882
|
const _sfc_main$10 = defineComponent({
|
|
1862
|
-
name: "
|
|
1883
|
+
name: "CirclePlus"
|
|
1863
1884
|
});
|
|
1864
1885
|
const _hoisted_1$D = {
|
|
1865
1886
|
class: "icon",
|
|
@@ -1870,17 +1891,27 @@ const _hoisted_1$D = {
|
|
|
1870
1891
|
};
|
|
1871
1892
|
const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
|
|
1872
1893
|
fill: "currentColor",
|
|
1873
|
-
d: "
|
|
1894
|
+
d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
|
|
1895
|
+
}, null, -1);
|
|
1896
|
+
const _hoisted_3$q = /* @__PURE__ */ createElementVNode("path", {
|
|
1897
|
+
fill: "currentColor",
|
|
1898
|
+
d: "M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"
|
|
1899
|
+
}, null, -1);
|
|
1900
|
+
const _hoisted_4$8 = /* @__PURE__ */ createElementVNode("path", {
|
|
1901
|
+
fill: "currentColor",
|
|
1902
|
+
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
1874
1903
|
}, null, -1);
|
|
1875
|
-
const
|
|
1876
|
-
_hoisted_2$t
|
|
1904
|
+
const _hoisted_5$5 = [
|
|
1905
|
+
_hoisted_2$t,
|
|
1906
|
+
_hoisted_3$q,
|
|
1907
|
+
_hoisted_4$8
|
|
1877
1908
|
];
|
|
1878
1909
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1879
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$D,
|
|
1910
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_5$5);
|
|
1880
1911
|
}
|
|
1881
|
-
var
|
|
1912
|
+
var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$j]]);
|
|
1882
1913
|
const _sfc_main$$ = defineComponent({
|
|
1883
|
-
name: "
|
|
1914
|
+
name: "Download"
|
|
1884
1915
|
});
|
|
1885
1916
|
const _hoisted_1$C = {
|
|
1886
1917
|
class: "icon",
|
|
@@ -1891,27 +1922,17 @@ const _hoisted_1$C = {
|
|
|
1891
1922
|
};
|
|
1892
1923
|
const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
|
|
1893
1924
|
fill: "currentColor",
|
|
1894
|
-
d: "
|
|
1895
|
-
}, null, -1);
|
|
1896
|
-
const _hoisted_3$p = /* @__PURE__ */ createElementVNode("path", {
|
|
1897
|
-
fill: "currentColor",
|
|
1898
|
-
d: "M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"
|
|
1899
|
-
}, null, -1);
|
|
1900
|
-
const _hoisted_4$8 = /* @__PURE__ */ createElementVNode("path", {
|
|
1901
|
-
fill: "currentColor",
|
|
1902
|
-
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
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"
|
|
1903
1926
|
}, null, -1);
|
|
1904
|
-
const
|
|
1905
|
-
_hoisted_2$s
|
|
1906
|
-
_hoisted_3$p,
|
|
1907
|
-
_hoisted_4$8
|
|
1927
|
+
const _hoisted_3$p = [
|
|
1928
|
+
_hoisted_2$s
|
|
1908
1929
|
];
|
|
1909
1930
|
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1910
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$C,
|
|
1931
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$p);
|
|
1911
1932
|
}
|
|
1912
|
-
var
|
|
1933
|
+
var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$i]]);
|
|
1913
1934
|
const _sfc_main$_ = defineComponent({
|
|
1914
|
-
name: "
|
|
1935
|
+
name: "Edit"
|
|
1915
1936
|
});
|
|
1916
1937
|
const _hoisted_1$B = {
|
|
1917
1938
|
class: "icon",
|
|
@@ -1922,17 +1943,22 @@ const _hoisted_1$B = {
|
|
|
1922
1943
|
};
|
|
1923
1944
|
const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
|
|
1924
1945
|
fill: "currentColor",
|
|
1925
|
-
d: "
|
|
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"
|
|
1926
1947
|
}, null, -1);
|
|
1927
|
-
const _hoisted_3$o =
|
|
1928
|
-
|
|
1948
|
+
const _hoisted_3$o = /* @__PURE__ */ createElementVNode("path", {
|
|
1949
|
+
fill: "currentColor",
|
|
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
|
+
}, null, -1);
|
|
1952
|
+
const _hoisted_4$7 = [
|
|
1953
|
+
_hoisted_2$r,
|
|
1954
|
+
_hoisted_3$o
|
|
1929
1955
|
];
|
|
1930
1956
|
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1931
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$B,
|
|
1957
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_4$7);
|
|
1932
1958
|
}
|
|
1933
|
-
var
|
|
1959
|
+
var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$h]]);
|
|
1934
1960
|
const _sfc_main$Z = defineComponent({
|
|
1935
|
-
name: "
|
|
1961
|
+
name: "Filter"
|
|
1936
1962
|
});
|
|
1937
1963
|
const _hoisted_1$A = {
|
|
1938
1964
|
class: "icon",
|
|
@@ -1943,22 +1969,17 @@ const _hoisted_1$A = {
|
|
|
1943
1969
|
};
|
|
1944
1970
|
const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
|
|
1945
1971
|
fill: "currentColor",
|
|
1946
|
-
d: "
|
|
1947
|
-
}, null, -1);
|
|
1948
|
-
const _hoisted_3$n = /* @__PURE__ */ createElementVNode("path", {
|
|
1949
|
-
fill: "currentColor",
|
|
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"
|
|
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"
|
|
1951
1973
|
}, null, -1);
|
|
1952
|
-
const
|
|
1953
|
-
_hoisted_2$q
|
|
1954
|
-
_hoisted_3$n
|
|
1974
|
+
const _hoisted_3$n = [
|
|
1975
|
+
_hoisted_2$q
|
|
1955
1976
|
];
|
|
1956
1977
|
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1957
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$A,
|
|
1978
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$n);
|
|
1958
1979
|
}
|
|
1959
|
-
var
|
|
1980
|
+
var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$g]]);
|
|
1960
1981
|
const _sfc_main$Y = defineComponent({
|
|
1961
|
-
name: "
|
|
1982
|
+
name: "FullScreen"
|
|
1962
1983
|
});
|
|
1963
1984
|
const _hoisted_1$z = {
|
|
1964
1985
|
class: "icon",
|
|
@@ -1969,7 +1990,7 @@ const _hoisted_1$z = {
|
|
|
1969
1990
|
};
|
|
1970
1991
|
const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
|
|
1971
1992
|
fill: "currentColor",
|
|
1972
|
-
d: "
|
|
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"
|
|
1973
1994
|
}, null, -1);
|
|
1974
1995
|
const _hoisted_3$m = [
|
|
1975
1996
|
_hoisted_2$p
|
|
@@ -1977,9 +1998,9 @@ const _hoisted_3$m = [
|
|
|
1977
1998
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1978
1999
|
return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_3$m);
|
|
1979
2000
|
}
|
|
1980
|
-
var
|
|
2001
|
+
var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$f]]);
|
|
1981
2002
|
const _sfc_main$X = defineComponent({
|
|
1982
|
-
name: "
|
|
2003
|
+
name: "Grid"
|
|
1983
2004
|
});
|
|
1984
2005
|
const _hoisted_1$y = {
|
|
1985
2006
|
class: "icon",
|
|
@@ -1990,7 +2011,7 @@ const _hoisted_1$y = {
|
|
|
1990
2011
|
};
|
|
1991
2012
|
const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
|
|
1992
2013
|
fill: "currentColor",
|
|
1993
|
-
d: "
|
|
2014
|
+
d: "M640 384v256H384V384h256zm64 0h192v256H704V384zm-64 512H384V704h256v192zm64 0V704h192v192H704zm-64-768v192H384V128h256zm64 0h192v192H704V128zM320 384v256H128V384h192zm0 512H128V704h192v192zm0-768v192H128V128h192z"
|
|
1994
2015
|
}, null, -1);
|
|
1995
2016
|
const _hoisted_3$l = [
|
|
1996
2017
|
_hoisted_2$o
|
|
@@ -1998,9 +2019,9 @@ const _hoisted_3$l = [
|
|
|
1998
2019
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1999
2020
|
return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$l);
|
|
2000
2021
|
}
|
|
2001
|
-
var
|
|
2022
|
+
var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$e]]);
|
|
2002
2023
|
const _sfc_main$W = defineComponent({
|
|
2003
|
-
name: "
|
|
2024
|
+
name: "InfoFilled"
|
|
2004
2025
|
});
|
|
2005
2026
|
const _hoisted_1$x = {
|
|
2006
2027
|
class: "icon",
|
|
@@ -2011,7 +2032,7 @@ const _hoisted_1$x = {
|
|
|
2011
2032
|
};
|
|
2012
2033
|
const _hoisted_2$n = /* @__PURE__ */ createElementVNode("path", {
|
|
2013
2034
|
fill: "currentColor",
|
|
2014
|
-
d: "
|
|
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"
|
|
2015
2036
|
}, null, -1);
|
|
2016
2037
|
const _hoisted_3$k = [
|
|
2017
2038
|
_hoisted_2$n
|
|
@@ -2019,9 +2040,9 @@ const _hoisted_3$k = [
|
|
|
2019
2040
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2020
2041
|
return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$k);
|
|
2021
2042
|
}
|
|
2022
|
-
var
|
|
2043
|
+
var infoFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$d]]);
|
|
2023
2044
|
const _sfc_main$V = defineComponent({
|
|
2024
|
-
name: "
|
|
2045
|
+
name: "Loading"
|
|
2025
2046
|
});
|
|
2026
2047
|
const _hoisted_1$w = {
|
|
2027
2048
|
class: "icon",
|
|
@@ -2032,7 +2053,7 @@ const _hoisted_1$w = {
|
|
|
2032
2053
|
};
|
|
2033
2054
|
const _hoisted_2$m = /* @__PURE__ */ createElementVNode("path", {
|
|
2034
2055
|
fill: "currentColor",
|
|
2035
|
-
d: "M512
|
|
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"
|
|
2036
2057
|
}, null, -1);
|
|
2037
2058
|
const _hoisted_3$j = [
|
|
2038
2059
|
_hoisted_2$m
|
|
@@ -2040,9 +2061,9 @@ const _hoisted_3$j = [
|
|
|
2040
2061
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2041
2062
|
return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$j);
|
|
2042
2063
|
}
|
|
2043
|
-
var
|
|
2064
|
+
var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$c]]);
|
|
2044
2065
|
const _sfc_main$U = defineComponent({
|
|
2045
|
-
name: "
|
|
2066
|
+
name: "Menu"
|
|
2046
2067
|
});
|
|
2047
2068
|
const _hoisted_1$v = {
|
|
2048
2069
|
class: "icon",
|
|
@@ -2053,7 +2074,7 @@ const _hoisted_1$v = {
|
|
|
2053
2074
|
};
|
|
2054
2075
|
const _hoisted_2$l = /* @__PURE__ */ createElementVNode("path", {
|
|
2055
2076
|
fill: "currentColor",
|
|
2056
|
-
d: "
|
|
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"
|
|
2057
2078
|
}, null, -1);
|
|
2058
2079
|
const _hoisted_3$i = [
|
|
2059
2080
|
_hoisted_2$l
|
|
@@ -2061,9 +2082,9 @@ const _hoisted_3$i = [
|
|
|
2061
2082
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2062
2083
|
return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$i);
|
|
2063
2084
|
}
|
|
2064
|
-
var
|
|
2085
|
+
var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$b]]);
|
|
2065
2086
|
const _sfc_main$T = defineComponent({
|
|
2066
|
-
name: "
|
|
2087
|
+
name: "Operation"
|
|
2067
2088
|
});
|
|
2068
2089
|
const _hoisted_1$u = {
|
|
2069
2090
|
class: "icon",
|
|
@@ -2074,7 +2095,7 @@ const _hoisted_1$u = {
|
|
|
2074
2095
|
};
|
|
2075
2096
|
const _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
|
|
2076
2097
|
fill: "currentColor",
|
|
2077
|
-
d: "
|
|
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"
|
|
2078
2099
|
}, null, -1);
|
|
2079
2100
|
const _hoisted_3$h = [
|
|
2080
2101
|
_hoisted_2$k
|
|
@@ -2082,9 +2103,9 @@ const _hoisted_3$h = [
|
|
|
2082
2103
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2083
2104
|
return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$h);
|
|
2084
2105
|
}
|
|
2085
|
-
var
|
|
2106
|
+
var operation = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$a]]);
|
|
2086
2107
|
const _sfc_main$S = defineComponent({
|
|
2087
|
-
name: "
|
|
2108
|
+
name: "Plus"
|
|
2088
2109
|
});
|
|
2089
2110
|
const _hoisted_1$t = {
|
|
2090
2111
|
class: "icon",
|
|
@@ -2095,7 +2116,7 @@ const _hoisted_1$t = {
|
|
|
2095
2116
|
};
|
|
2096
2117
|
const _hoisted_2$j = /* @__PURE__ */ createElementVNode("path", {
|
|
2097
2118
|
fill: "currentColor",
|
|
2098
|
-
d: "
|
|
2119
|
+
d: "M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"
|
|
2099
2120
|
}, null, -1);
|
|
2100
2121
|
const _hoisted_3$g = [
|
|
2101
2122
|
_hoisted_2$j
|
|
@@ -2103,9 +2124,9 @@ const _hoisted_3$g = [
|
|
|
2103
2124
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2104
2125
|
return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$g);
|
|
2105
2126
|
}
|
|
2106
|
-
var
|
|
2127
|
+
var plus = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$9]]);
|
|
2107
2128
|
const _sfc_main$R = defineComponent({
|
|
2108
|
-
name: "
|
|
2129
|
+
name: "QuestionFilled"
|
|
2109
2130
|
});
|
|
2110
2131
|
const _hoisted_1$s = {
|
|
2111
2132
|
class: "icon",
|
|
@@ -2116,7 +2137,7 @@ const _hoisted_1$s = {
|
|
|
2116
2137
|
};
|
|
2117
2138
|
const _hoisted_2$i = /* @__PURE__ */ createElementVNode("path", {
|
|
2118
2139
|
fill: "currentColor",
|
|
2119
|
-
d: "
|
|
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"
|
|
2120
2141
|
}, null, -1);
|
|
2121
2142
|
const _hoisted_3$f = [
|
|
2122
2143
|
_hoisted_2$i
|
|
@@ -2124,9 +2145,9 @@ const _hoisted_3$f = [
|
|
|
2124
2145
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2125
2146
|
return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$f);
|
|
2126
2147
|
}
|
|
2127
|
-
var
|
|
2148
|
+
var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$8]]);
|
|
2128
2149
|
const _sfc_main$Q = defineComponent({
|
|
2129
|
-
name: "
|
|
2150
|
+
name: "RefreshLeft"
|
|
2130
2151
|
});
|
|
2131
2152
|
const _hoisted_1$r = {
|
|
2132
2153
|
class: "icon",
|
|
@@ -2137,7 +2158,7 @@ const _hoisted_1$r = {
|
|
|
2137
2158
|
};
|
|
2138
2159
|
const _hoisted_2$h = /* @__PURE__ */ createElementVNode("path", {
|
|
2139
2160
|
fill: "currentColor",
|
|
2140
|
-
d: "
|
|
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"
|
|
2141
2162
|
}, null, -1);
|
|
2142
2163
|
const _hoisted_3$e = [
|
|
2143
2164
|
_hoisted_2$h
|
|
@@ -2145,9 +2166,9 @@ const _hoisted_3$e = [
|
|
|
2145
2166
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2146
2167
|
return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$e);
|
|
2147
2168
|
}
|
|
2148
|
-
var
|
|
2169
|
+
var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$7]]);
|
|
2149
2170
|
const _sfc_main$P = defineComponent({
|
|
2150
|
-
name: "
|
|
2171
|
+
name: "Refresh"
|
|
2151
2172
|
});
|
|
2152
2173
|
const _hoisted_1$q = {
|
|
2153
2174
|
class: "icon",
|
|
@@ -2158,7 +2179,7 @@ const _hoisted_1$q = {
|
|
|
2158
2179
|
};
|
|
2159
2180
|
const _hoisted_2$g = /* @__PURE__ */ createElementVNode("path", {
|
|
2160
2181
|
fill: "currentColor",
|
|
2161
|
-
d: "
|
|
2182
|
+
d: "M771.776 794.88A384 384 0 01128 512h64a320 320 0 00555.712 216.448H654.72a32 32 0 110-64h149.056a32 32 0 0132 32v148.928a32 32 0 11-64 0v-50.56zM276.288 295.616h92.992a32 32 0 010 64H220.16a32 32 0 01-32-32V178.56a32 32 0 0164 0v50.56A384 384 0 01896.128 512h-64a320 320 0 00-555.776-216.384z"
|
|
2162
2183
|
}, null, -1);
|
|
2163
2184
|
const _hoisted_3$d = [
|
|
2164
2185
|
_hoisted_2$g
|
|
@@ -2166,7 +2187,7 @@ const _hoisted_3$d = [
|
|
|
2166
2187
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2167
2188
|
return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$d);
|
|
2168
2189
|
}
|
|
2169
|
-
var
|
|
2190
|
+
var refresh = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$6]]);
|
|
2170
2191
|
const _sfc_main$O = defineComponent({
|
|
2171
2192
|
name: "RemoveFilled"
|
|
2172
2193
|
});
|
|
@@ -3148,24 +3169,29 @@ const _sfc_main$G = defineComponent({
|
|
|
3148
3169
|
tableManager: {},
|
|
3149
3170
|
manager: {}
|
|
3150
3171
|
},
|
|
3151
|
-
|
|
3172
|
+
emits: ["visible-change"],
|
|
3173
|
+
setup(__props, { emit: __emit }) {
|
|
3152
3174
|
const props = __props;
|
|
3175
|
+
const emit = __emit;
|
|
3153
3176
|
const executeData = computed(() => {
|
|
3154
3177
|
var _a;
|
|
3155
3178
|
return ((_a = props.tableManager) == null ? void 0 : _a.selection) || [];
|
|
3156
3179
|
});
|
|
3180
|
+
const handleRenderCountChange = (count) => {
|
|
3181
|
+
emit("visible-change", count > 0);
|
|
3182
|
+
};
|
|
3157
3183
|
return (_ctx, _cache) => {
|
|
3158
3184
|
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
3159
3185
|
createVNode(ButtonsRenderer, mergeProps({
|
|
3160
3186
|
els: props.els,
|
|
3161
3187
|
"execute-data": [executeData.value],
|
|
3162
3188
|
context: props.manager
|
|
3163
|
-
}, _ctx.$attrs), null, 16, ["els", "execute-data", "context"])
|
|
3189
|
+
}, _ctx.$attrs, { onCountChange: handleRenderCountChange }), null, 16, ["els", "execute-data", "context"])
|
|
3164
3190
|
]);
|
|
3165
3191
|
};
|
|
3166
3192
|
}
|
|
3167
3193
|
});
|
|
3168
|
-
var SelectableOperate = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-
|
|
3194
|
+
var SelectableOperate = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4501e262"]]);
|
|
3169
3195
|
class SearchFormManager extends IManager {
|
|
3170
3196
|
constructor(form) {
|
|
3171
3197
|
super();
|
|
@@ -13031,7 +13057,7 @@ const _sfc_main$6 = defineComponent({
|
|
|
13031
13057
|
});
|
|
13032
13058
|
var LineClampTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-71d3e62f"]]);
|
|
13033
13059
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
13034
|
-
const _hoisted_1$3 = ["data-event", "onClick"];
|
|
13060
|
+
const _hoisted_1$3 = ["data-event", "disabled", "onClick"];
|
|
13035
13061
|
const __default__$4 = {
|
|
13036
13062
|
name: "TableToolsbox"
|
|
13037
13063
|
};
|
|
@@ -13047,6 +13073,10 @@ const _sfc_main$5 = defineComponent({
|
|
|
13047
13073
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
13048
13074
|
const props = __props;
|
|
13049
13075
|
const emit = __emit;
|
|
13076
|
+
const isLoading = computed(() => {
|
|
13077
|
+
var _a;
|
|
13078
|
+
return (_a = props.tableManager) == null ? void 0 : _a.loadingData;
|
|
13079
|
+
});
|
|
13050
13080
|
const innerTools = {
|
|
13051
13081
|
export: {
|
|
13052
13082
|
icon: download,
|
|
@@ -13089,6 +13119,12 @@ const _sfc_main$5 = defineComponent({
|
|
|
13089
13119
|
event: "line-clamp",
|
|
13090
13120
|
desc: "",
|
|
13091
13121
|
bg: false
|
|
13122
|
+
},
|
|
13123
|
+
refresh: {
|
|
13124
|
+
icon: refresh,
|
|
13125
|
+
text: "\u5237\u65B0",
|
|
13126
|
+
event: "refresh",
|
|
13127
|
+
desc: ""
|
|
13092
13128
|
}
|
|
13093
13129
|
};
|
|
13094
13130
|
const showToolbox = computed(() => {
|
|
@@ -13098,6 +13134,7 @@ const _sfc_main$5 = defineComponent({
|
|
|
13098
13134
|
var _a;
|
|
13099
13135
|
let desc = "";
|
|
13100
13136
|
let bg = false;
|
|
13137
|
+
let loading2 = false;
|
|
13101
13138
|
if (item.event === "show-column-tool" && tableManager) {
|
|
13102
13139
|
desc = tableManager.hiddeenFieldCount ? `(${tableManager.hiddeenFieldCount} \u9690\u85CF)` : "";
|
|
13103
13140
|
bg = tableManager.isColumnToolsVisible || tableManager.hiddeenFieldCount > 0;
|
|
@@ -13115,11 +13152,22 @@ const _sfc_main$5 = defineComponent({
|
|
|
13115
13152
|
bg = manager.isSortPopupVisible || tableManager.columnSortParamsList.length > 0;
|
|
13116
13153
|
} else if (item.event === "line-clamp" && tableManager) {
|
|
13117
13154
|
bg = manager.isLineClampPopupVisible;
|
|
13155
|
+
} else if (item.event === "refresh" && tableManager) {
|
|
13156
|
+
if (isLoading.value) {
|
|
13157
|
+
loading2 = true;
|
|
13158
|
+
if (props.mode === "button") {
|
|
13159
|
+
item.icon = null;
|
|
13160
|
+
}
|
|
13161
|
+
} else {
|
|
13162
|
+
loading2 = false;
|
|
13163
|
+
item.icon = refresh;
|
|
13164
|
+
}
|
|
13118
13165
|
}
|
|
13119
13166
|
return {
|
|
13120
13167
|
...item,
|
|
13121
13168
|
desc,
|
|
13122
|
-
bg
|
|
13169
|
+
bg,
|
|
13170
|
+
loading: loading2
|
|
13123
13171
|
};
|
|
13124
13172
|
}) : [];
|
|
13125
13173
|
const extendsTools = (props.extendsToolbox || []).filter(
|
|
@@ -13129,6 +13177,9 @@ const _sfc_main$5 = defineComponent({
|
|
|
13129
13177
|
});
|
|
13130
13178
|
const handleClickTool = (index2, e) => {
|
|
13131
13179
|
const item = showToolbox.value[index2];
|
|
13180
|
+
if (item.event === "refresh" && isLoading.value) {
|
|
13181
|
+
return;
|
|
13182
|
+
}
|
|
13132
13183
|
emit("custom-event", item.event, item, e);
|
|
13133
13184
|
};
|
|
13134
13185
|
const toolboxRef = ref(null);
|
|
@@ -13158,6 +13209,7 @@ const _sfc_main$5 = defineComponent({
|
|
|
13158
13209
|
class: "tool-item",
|
|
13159
13210
|
key: index2,
|
|
13160
13211
|
"data-event": tool.event,
|
|
13212
|
+
disabled: tool.loading,
|
|
13161
13213
|
onClick: ($event) => handleClickTool(index2, $event)
|
|
13162
13214
|
}, [
|
|
13163
13215
|
createVNode(_component_el_tooltip, {
|
|
@@ -13182,6 +13234,7 @@ const _sfc_main$5 = defineComponent({
|
|
|
13182
13234
|
text: "",
|
|
13183
13235
|
"data-event": tool.event,
|
|
13184
13236
|
bg: tool.bg,
|
|
13237
|
+
loading: tool.loading,
|
|
13185
13238
|
onClick: ($event) => handleClickTool(index2, $event)
|
|
13186
13239
|
}, {
|
|
13187
13240
|
default: withCtx(() => [
|
|
@@ -13194,13 +13247,13 @@ const _sfc_main$5 = defineComponent({
|
|
|
13194
13247
|
createElementVNode("span", null, toDisplayString(tool.text) + toDisplayString(tool.desc), 1)
|
|
13195
13248
|
]),
|
|
13196
13249
|
_: 2
|
|
13197
|
-
}, 1032, ["data-event", "bg", "onClick"]);
|
|
13250
|
+
}, 1032, ["data-event", "bg", "loading", "onClick"]);
|
|
13198
13251
|
}), 128))
|
|
13199
13252
|
], 512);
|
|
13200
13253
|
};
|
|
13201
13254
|
}
|
|
13202
13255
|
});
|
|
13203
|
-
var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
13256
|
+
var TableToolsbox = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-836e4be0"]]);
|
|
13204
13257
|
function patchConfig(config, patches) {
|
|
13205
13258
|
return patches.reduce((memoConfig, patchFn) => {
|
|
13206
13259
|
return patchFn.call(this, memoConfig);
|
|
@@ -13464,9 +13517,13 @@ const _sfc_main$4 = defineComponent({
|
|
|
13464
13517
|
const tabs = uConfig.value.tabs;
|
|
13465
13518
|
return ((_a = tabs == null ? void 0 : tabs.panes) == null ? void 0 : _a.length) || ((_b = tabs == null ? void 0 : tabs.sceneTab) == null ? void 0 : _b.url);
|
|
13466
13519
|
});
|
|
13520
|
+
const isSelectableButtonVisible = ref(true);
|
|
13521
|
+
const handleSelectableOperateVisibleChange = (visible) => {
|
|
13522
|
+
isSelectableButtonVisible.value = visible;
|
|
13523
|
+
};
|
|
13467
13524
|
const hasSelectableActions = computed(() => {
|
|
13468
13525
|
var _a, _b;
|
|
13469
|
-
return !!((_b = (_a = manager.config.table) == null ? void 0 : _a.selectableButtons) == null ? void 0 : _b.length);
|
|
13526
|
+
return !!((_b = (_a = manager.config.table) == null ? void 0 : _a.selectableButtons) == null ? void 0 : _b.length) && isSelectableButtonVisible.value;
|
|
13470
13527
|
});
|
|
13471
13528
|
const hasFilterTools = computed(() => {
|
|
13472
13529
|
var _a;
|
|
@@ -13486,6 +13543,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
13486
13543
|
return (table == null ? void 0 : table.toolboxShowMode) === "button";
|
|
13487
13544
|
});
|
|
13488
13545
|
const showSelectableButtonsArea = computed(() => {
|
|
13546
|
+
console.log("showSelectableButtonsArea", hasSelectableActions.value);
|
|
13489
13547
|
const tableConfig = manager.config.table;
|
|
13490
13548
|
return hasSelectableActions.value && (tableConfig.selectable || tableConfig.selectableButtonLiveAlone) || hasFilterTools.value || hasTableToolbox.value;
|
|
13491
13549
|
});
|
|
@@ -13791,6 +13849,9 @@ const _sfc_main$4 = defineComponent({
|
|
|
13791
13849
|
case "line-clamp":
|
|
13792
13850
|
handleShowLineClamp(item, event);
|
|
13793
13851
|
break;
|
|
13852
|
+
case "refresh":
|
|
13853
|
+
refreshTableData();
|
|
13854
|
+
break;
|
|
13794
13855
|
default:
|
|
13795
13856
|
emitCustomEvent(eventName);
|
|
13796
13857
|
break;
|
|
@@ -13871,7 +13932,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
13871
13932
|
key: 0,
|
|
13872
13933
|
class: normalizeClass(unref(createBEMName)("top-tabs"))
|
|
13873
13934
|
}, [
|
|
13874
|
-
hasTabs.value ? (openBlock(), createBlock(_sfc_main$
|
|
13935
|
+
hasTabs.value ? (openBlock(), createBlock(_sfc_main$17, {
|
|
13875
13936
|
key: 0,
|
|
13876
13937
|
tabs: uConfig.value.tabs,
|
|
13877
13938
|
manager,
|
|
@@ -13921,7 +13982,8 @@ const _sfc_main$4 = defineComponent({
|
|
|
13921
13982
|
tableManager: manager.tableManager,
|
|
13922
13983
|
manager,
|
|
13923
13984
|
onCustom: handleCustomEvent,
|
|
13924
|
-
onAdd: handleAddEvent
|
|
13985
|
+
onAdd: handleAddEvent,
|
|
13986
|
+
onVisibleChange: handleSelectableOperateVisibleChange
|
|
13925
13987
|
}, null, 8, ["els", "tableManager", "manager"])) : createCommentVNode("", true),
|
|
13926
13988
|
hasTableToolbox.value && tableToolboxPositon.value === "left" ? (openBlock(), createBlock(TableToolsbox, {
|
|
13927
13989
|
key: 1,
|
|
@@ -14956,7 +15018,7 @@ const defineEditableTable = function(config) {
|
|
|
14956
15018
|
};
|
|
14957
15019
|
var iconfont = "";
|
|
14958
15020
|
const name = "@juzhenfe/page-model";
|
|
14959
|
-
const version = "3.18.
|
|
15021
|
+
const version = "3.18.94";
|
|
14960
15022
|
const types = "dist/main.d.ts";
|
|
14961
15023
|
const main = "dist/index.umd.js";
|
|
14962
15024
|
const keywords = [
|