@juzhenfe/page-model 3.16.7 → 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/components/page-model/constructor.d.ts +7 -2
- package/dist/components/page-model/type.d.ts +12 -1
- package/dist/components/table/components/context-column-summary/index.vue.d.ts +94 -0
- package/dist/components/table/type.d.ts +26 -6
- package/dist/components/table/utils/use-static-summary.d.ts +17 -1
- package/dist/components/table/utils/use-table-config-change.d.ts +2 -2
- package/dist/index.es.js +505 -290
- 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
|
@@ -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, 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$
|
|
215
|
+
const _hoisted_1$J = { class: "scenes-tab" };
|
|
216
216
|
const __default__$o = {
|
|
217
217
|
name: "ScenesTab"
|
|
218
218
|
};
|
|
219
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1711
|
+
component: _sfc_main$18,
|
|
1712
1712
|
props: props.tabs.sceneTab
|
|
1713
1713
|
};
|
|
1714
1714
|
} else {
|
|
1715
1715
|
return {
|
|
1716
|
-
component: _sfc_main$
|
|
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$
|
|
1756
|
+
const _sfc_main$15 = defineComponent({
|
|
1757
1757
|
name: "ArrowDownBold"
|
|
1758
1758
|
});
|
|
1759
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
1774
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_3$v);
|
|
1775
1775
|
}
|
|
1776
|
-
var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1777
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1795
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_3$u);
|
|
1796
1796
|
}
|
|
1797
|
-
var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1798
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1816
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$t);
|
|
1817
1817
|
}
|
|
1818
|
-
var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1819
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1837
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$s);
|
|
1838
1838
|
}
|
|
1839
|
-
var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1840
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1858
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$r);
|
|
1859
1859
|
}
|
|
1860
|
-
var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1861
|
-
const _sfc_main
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1879
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$q);
|
|
1880
1880
|
}
|
|
1881
|
-
var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main
|
|
1882
|
-
const _sfc_main
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1910
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_5$5);
|
|
1911
1911
|
}
|
|
1912
|
-
var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main
|
|
1913
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1931
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_3$o);
|
|
1932
1932
|
}
|
|
1933
|
-
var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1934
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1957
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_4$7);
|
|
1958
1958
|
}
|
|
1959
|
-
var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1960
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1978
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_3$m);
|
|
1979
1979
|
}
|
|
1980
|
-
var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1981
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1999
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$l);
|
|
2000
2000
|
}
|
|
2001
|
-
var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2002
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2020
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$k);
|
|
2021
2021
|
}
|
|
2022
|
-
var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2023
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2041
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$j);
|
|
2042
2042
|
}
|
|
2043
|
-
var infoFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2044
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2062
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$i);
|
|
2063
2063
|
}
|
|
2064
|
-
var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2065
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2083
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$h);
|
|
2084
2084
|
}
|
|
2085
|
-
var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2086
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2104
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$g);
|
|
2105
2105
|
}
|
|
2106
|
-
var operation = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2107
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2125
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$f);
|
|
2126
2126
|
}
|
|
2127
|
-
var plus = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2128
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2146
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$e);
|
|
2147
2147
|
}
|
|
2148
|
-
var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2149
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2167
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$d);
|
|
2168
2168
|
}
|
|
2169
|
-
var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2170
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2188
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$c);
|
|
2189
2189
|
}
|
|
2190
|
-
var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2191
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2214
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_4$6);
|
|
2215
2215
|
}
|
|
2216
|
-
var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2217
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2235
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$a);
|
|
2236
2236
|
}
|
|
2237
|
-
var search = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2238
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2256
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$9);
|
|
2257
2257
|
}
|
|
2258
|
-
var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2259
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2277
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$8);
|
|
2278
2278
|
}
|
|
2279
|
-
var sort = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2280
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
2295
|
+
_hoisted_2$a
|
|
2296
2296
|
];
|
|
2297
2297
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2298
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
2298
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$7);
|
|
2299
2299
|
}
|
|
2300
|
-
var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
3138
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
3139
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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
|
-
|
|
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
|
}
|
|
@@ -4316,7 +4322,7 @@ var index_vue_vue_type_style_index_0_lang$8 = "";
|
|
|
4316
4322
|
const __default__$j = {
|
|
4317
4323
|
name: "PageModelSearchForm"
|
|
4318
4324
|
};
|
|
4319
|
-
const _sfc_main$
|
|
4325
|
+
const _sfc_main$C = defineComponent({
|
|
4320
4326
|
...__default__$j,
|
|
4321
4327
|
props: {
|
|
4322
4328
|
form: {},
|
|
@@ -4470,7 +4476,7 @@ const _sfc_main$B = defineComponent({
|
|
|
4470
4476
|
style: { width: ((_a = item.style) == null ? void 0 : _a.width) || unref(searchFormItemWidth) }
|
|
4471
4477
|
}), {
|
|
4472
4478
|
default: withCtx(() => [
|
|
4473
|
-
createVNode(_sfc_main$
|
|
4479
|
+
createVNode(_sfc_main$F, {
|
|
4474
4480
|
modelValue: searchFormManager.formData[item.prop],
|
|
4475
4481
|
"onUpdate:modelValue": ($event) => searchFormManager.formData[item.prop] = $event,
|
|
4476
4482
|
renderFn: item.renderFn,
|
|
@@ -4553,7 +4559,7 @@ const _sfc_main$B = defineComponent({
|
|
|
4553
4559
|
}, [
|
|
4554
4560
|
renderSlot(_ctx.$slots, "default")
|
|
4555
4561
|
], 2),
|
|
4556
|
-
searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$
|
|
4562
|
+
searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$D, {
|
|
4557
4563
|
key: 0,
|
|
4558
4564
|
ref_key: "SearchFormFullRef",
|
|
4559
4565
|
ref: SearchFormFullRef,
|
|
@@ -5483,7 +5489,7 @@ class TableManager extends IManager {
|
|
|
5483
5489
|
this.removeCellOutClickEvent();
|
|
5484
5490
|
}
|
|
5485
5491
|
}
|
|
5486
|
-
const _sfc_main$
|
|
5492
|
+
const _sfc_main$B = defineComponent({
|
|
5487
5493
|
name: "TableCellRenderer",
|
|
5488
5494
|
props: {
|
|
5489
5495
|
renderFn: {
|
|
@@ -5521,11 +5527,11 @@ const _sfc_main$A = defineComponent({
|
|
|
5521
5527
|
};
|
|
5522
5528
|
}
|
|
5523
5529
|
});
|
|
5524
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
5530
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$c = "";
|
|
5525
5531
|
const __default__$i = {
|
|
5526
5532
|
name: "SimplePopover"
|
|
5527
5533
|
};
|
|
5528
|
-
const _sfc_main$
|
|
5534
|
+
const _sfc_main$A = defineComponent({
|
|
5529
5535
|
...__default__$i,
|
|
5530
5536
|
props: {
|
|
5531
5537
|
width: { default: 200 },
|
|
@@ -5685,7 +5691,7 @@ const _sfc_main$z = defineComponent({
|
|
|
5685
5691
|
};
|
|
5686
5692
|
}
|
|
5687
5693
|
});
|
|
5688
|
-
var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5694
|
+
var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-ac2535c6"]]);
|
|
5689
5695
|
var FilterItemTypeEnum$1 = /* @__PURE__ */ ((FilterItemTypeEnum2) => {
|
|
5690
5696
|
FilterItemTypeEnum2["\u6587\u5B57"] = "string";
|
|
5691
5697
|
FilterItemTypeEnum2["\u6570\u5B57"] = "number";
|
|
@@ -5848,10 +5854,10 @@ let noValueOptions = [
|
|
|
5848
5854
|
const updateCompareNoValueOptions = (_noValueOptions) => {
|
|
5849
5855
|
noValueOptions = _noValueOptions;
|
|
5850
5856
|
};
|
|
5851
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
5852
|
-
const _hoisted_1$
|
|
5853
|
-
const _hoisted_2$
|
|
5854
|
-
const _sfc_main$
|
|
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({
|
|
5855
5861
|
__name: "index",
|
|
5856
5862
|
props: {
|
|
5857
5863
|
tableManager: {}
|
|
@@ -6018,7 +6024,7 @@ const _sfc_main$y = defineComponent({
|
|
|
6018
6024
|
createElementVNode("div", {
|
|
6019
6025
|
class: normalizeClass(unref(createBEMName)("title"))
|
|
6020
6026
|
}, [
|
|
6021
|
-
!isShowFilter.value ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
6027
|
+
!isShowFilter.value ? (openBlock(), createElementBlock("span", _hoisted_1$h, "\u7B5B\u9009")) : (openBlock(), createBlock(_component_el_input, {
|
|
6022
6028
|
key: 1,
|
|
6023
6029
|
modelValue: filterKeywords.value,
|
|
6024
6030
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterKeywords.value = $event),
|
|
@@ -6271,7 +6277,7 @@ const _sfc_main$y = defineComponent({
|
|
|
6271
6277
|
createTextVNode("\u7B5B\u9009\u6761\u4EF6")
|
|
6272
6278
|
]),
|
|
6273
6279
|
_: 1
|
|
6274
|
-
}, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6280
|
+
}, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_2$9)),
|
|
6275
6281
|
createElementVNode("div", null, [
|
|
6276
6282
|
createVNode(_component_el_button, { onClick: handleClear }, {
|
|
6277
6283
|
default: withCtx(() => [
|
|
@@ -6316,10 +6322,10 @@ const _sfc_main$y = defineComponent({
|
|
|
6316
6322
|
};
|
|
6317
6323
|
}
|
|
6318
6324
|
});
|
|
6319
|
-
var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6325
|
+
var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-2685baf1"]]);
|
|
6320
6326
|
var index_vue_vue_type_style_index_0_lang$7 = "";
|
|
6321
|
-
const _hoisted_1$
|
|
6322
|
-
const _hoisted_2$
|
|
6327
|
+
const _hoisted_1$g = ["data-key", "title"];
|
|
6328
|
+
const _hoisted_2$8 = {
|
|
6323
6329
|
key: 0,
|
|
6324
6330
|
style: { "color": "red" }
|
|
6325
6331
|
};
|
|
@@ -6343,7 +6349,7 @@ const _hoisted_10$1 = ["onClick"];
|
|
|
6343
6349
|
const __default__$h = {
|
|
6344
6350
|
name: "TableColumn"
|
|
6345
6351
|
};
|
|
6346
|
-
const _sfc_main$
|
|
6352
|
+
const _sfc_main$y = defineComponent({
|
|
6347
6353
|
...__default__$h,
|
|
6348
6354
|
props: {
|
|
6349
6355
|
els: {},
|
|
@@ -6476,7 +6482,7 @@ const _sfc_main$x = defineComponent({
|
|
|
6476
6482
|
"data-key": column._key,
|
|
6477
6483
|
title: $header.column.label
|
|
6478
6484
|
}, [
|
|
6479
|
-
column.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
6485
|
+
column.required ? (openBlock(), createElementBlock("span", _hoisted_2$8, "*")) : createCommentVNode("", true),
|
|
6480
6486
|
column.helpText || column.icon ? (openBlock(), createBlock(_component_el_icon, {
|
|
6481
6487
|
key: 1,
|
|
6482
6488
|
title: column.helpText
|
|
@@ -6509,7 +6515,7 @@ const _sfc_main$x = defineComponent({
|
|
|
6509
6515
|
_: 1
|
|
6510
6516
|
})
|
|
6511
6517
|
], 14, _hoisted_3$6)) : createCommentVNode("", true)
|
|
6512
|
-
], 10, _hoisted_1$
|
|
6518
|
+
], 10, _hoisted_1$g)
|
|
6513
6519
|
]),
|
|
6514
6520
|
default: withCtx(({ row, $index, column: columnEl }) => [
|
|
6515
6521
|
column.children ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -6536,7 +6542,7 @@ const _sfc_main$x = defineComponent({
|
|
|
6536
6542
|
) ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
6537
6543
|
column.editData ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
6538
6544
|
createElementVNode("div", _hoisted_6$3, [
|
|
6539
|
-
createVNode(_sfc_main$
|
|
6545
|
+
createVNode(_sfc_main$F, {
|
|
6540
6546
|
modelValue: row[column.editData.prop || column.prop],
|
|
6541
6547
|
renderFn: column.editData.renderFn,
|
|
6542
6548
|
context: props.context,
|
|
@@ -6572,7 +6578,7 @@ const _sfc_main$x = defineComponent({
|
|
|
6572
6578
|
])) : createCommentVNode("", true)
|
|
6573
6579
|
], 64)) : (openBlock(), createElementBlock("div", _hoisted_8$2, "\u8BE5\u5217\u672A\u8BBE\u7F6E\u7F16\u8F91\u7EC4\u4EF6"))
|
|
6574
6580
|
])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
6575
|
-
column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$
|
|
6581
|
+
column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$B, {
|
|
6576
6582
|
key: 0,
|
|
6577
6583
|
"render-fn": column.renderFn,
|
|
6578
6584
|
context: props.context,
|
|
@@ -7577,7 +7583,7 @@ var Sortable = Sortable_min.exports;
|
|
|
7577
7583
|
const __default__$g = {
|
|
7578
7584
|
name: "DraggableList"
|
|
7579
7585
|
};
|
|
7580
|
-
const _sfc_main$
|
|
7586
|
+
const _sfc_main$x = defineComponent({
|
|
7581
7587
|
...__default__$g,
|
|
7582
7588
|
props: {
|
|
7583
7589
|
modelValue: {},
|
|
@@ -7678,7 +7684,7 @@ var setting_vue_vue_type_style_index_1_lang$2 = "";
|
|
|
7678
7684
|
const __default__$f = {
|
|
7679
7685
|
name: "SaveColumnSetting"
|
|
7680
7686
|
};
|
|
7681
|
-
const _sfc_main$
|
|
7687
|
+
const _sfc_main$w = defineComponent({
|
|
7682
7688
|
...__default__$f,
|
|
7683
7689
|
props: {
|
|
7684
7690
|
onlyShow: { type: Boolean, default: false }
|
|
@@ -7719,7 +7725,7 @@ const _sfc_main$v = defineComponent({
|
|
|
7719
7725
|
label: "\u663E\u793A"
|
|
7720
7726
|
},
|
|
7721
7727
|
{
|
|
7722
|
-
label: "\
|
|
7728
|
+
label: "\u5408\u8BA1"
|
|
7723
7729
|
},
|
|
7724
7730
|
{
|
|
7725
7731
|
label: "\u56FA\u5B9A\u5217"
|
|
@@ -7747,7 +7753,7 @@ const _sfc_main$v = defineComponent({
|
|
|
7747
7753
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
7748
7754
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
7749
7755
|
const _component_el_button = resolveComponent("el-button");
|
|
7750
|
-
return openBlock(), createBlock(_sfc_main$
|
|
7756
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
7751
7757
|
modelValue: visible.value,
|
|
7752
7758
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
7753
7759
|
title: "\u7F16\u8F91\u8868\u683C",
|
|
@@ -7796,7 +7802,7 @@ const _sfc_main$v = defineComponent({
|
|
|
7796
7802
|
createElementVNode("div", {
|
|
7797
7803
|
class: normalizeClass(unref(createBEMName)("column-table-wrap"))
|
|
7798
7804
|
}, [
|
|
7799
|
-
createVNode(_sfc_main$
|
|
7805
|
+
createVNode(_sfc_main$x, {
|
|
7800
7806
|
modelValue: innerEls.value,
|
|
7801
7807
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
7802
7808
|
"item-key": "_key"
|
|
@@ -7841,7 +7847,7 @@ const _sfc_main$v = defineComponent({
|
|
|
7841
7847
|
default: withCtx(() => [
|
|
7842
7848
|
createVNode(_component_el_radio_button, { label: 0 }, {
|
|
7843
7849
|
default: withCtx(() => [
|
|
7844
|
-
createTextVNode("\
|
|
7850
|
+
createTextVNode("\u4E0D\u5C55\u793A")
|
|
7845
7851
|
]),
|
|
7846
7852
|
_: 1
|
|
7847
7853
|
}),
|
|
@@ -7853,7 +7859,7 @@ const _sfc_main$v = defineComponent({
|
|
|
7853
7859
|
}),
|
|
7854
7860
|
createVNode(_component_el_radio_button, { label: 2 }, {
|
|
7855
7861
|
default: withCtx(() => [
|
|
7856
|
-
createTextVNode("\
|
|
7862
|
+
createTextVNode("\u603B\u6570")
|
|
7857
7863
|
]),
|
|
7858
7864
|
_: 1
|
|
7859
7865
|
})
|
|
@@ -7966,7 +7972,7 @@ var userConfig_vue_vue_type_style_index_1_lang = "";
|
|
|
7966
7972
|
const __default__$e = {
|
|
7967
7973
|
name: "SaveUserConfig"
|
|
7968
7974
|
};
|
|
7969
|
-
const _sfc_main$
|
|
7975
|
+
const _sfc_main$v = defineComponent({
|
|
7970
7976
|
...__default__$e,
|
|
7971
7977
|
emits: ["submit", "closed"],
|
|
7972
7978
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -8030,7 +8036,7 @@ const _sfc_main$u = defineComponent({
|
|
|
8030
8036
|
};
|
|
8031
8037
|
return (_ctx, _cache) => {
|
|
8032
8038
|
const _component_el_button = resolveComponent("el-button");
|
|
8033
|
-
return openBlock(), createBlock(_sfc_main$
|
|
8039
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
8034
8040
|
modelValue: visible.value,
|
|
8035
8041
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
8036
8042
|
title: "\u7F16\u8F91\u79C1\u4EBA\u914D\u7F6E",
|
|
@@ -8094,28 +8100,28 @@ const useUserConfig = () => {
|
|
|
8094
8100
|
onUserConfigClosed: onClosed
|
|
8095
8101
|
};
|
|
8096
8102
|
};
|
|
8097
|
-
const
|
|
8103
|
+
const tableUserConfigChangeEmiter = new EventEmitter();
|
|
8098
8104
|
var index_vue_vue_type_style_index_0_lang$6 = "";
|
|
8099
8105
|
var index_vue_vue_type_style_index_1_scoped_true_lang$1 = "";
|
|
8100
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
8101
|
-
const _hoisted_1$
|
|
8102
|
-
const _hoisted_2$
|
|
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", {
|
|
8103
8109
|
class: "pm-icon icon-drag-dot",
|
|
8104
8110
|
title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
|
|
8105
8111
|
}, null, -1));
|
|
8106
8112
|
const _hoisted_3$5 = ["title"];
|
|
8107
8113
|
const _hoisted_4$4 = ["title", "onClick"];
|
|
8108
8114
|
const _hoisted_5$3 = ["title", "onClick"];
|
|
8109
|
-
const _sfc_main$
|
|
8115
|
+
const _sfc_main$u = defineComponent({
|
|
8110
8116
|
__name: "index",
|
|
8111
8117
|
props: {
|
|
8112
8118
|
els: {}
|
|
8113
8119
|
},
|
|
8114
8120
|
emits: ["save-columns"],
|
|
8115
8121
|
setup(__props, { emit: __emit }) {
|
|
8122
|
+
const props = __props;
|
|
8116
8123
|
const innerEls = ref([]);
|
|
8117
8124
|
const { BEMSpace, createBEMName } = createBEMSpace("column-tools");
|
|
8118
|
-
const props = __props;
|
|
8119
8125
|
const { els } = toRefs(props);
|
|
8120
8126
|
const emit = __emit;
|
|
8121
8127
|
const isExternalChange = ref(false);
|
|
@@ -8167,7 +8173,7 @@ const _sfc_main$t = defineComponent({
|
|
|
8167
8173
|
const { userConfig, updateUserConfig } = useUserShowRowConfig(props.els);
|
|
8168
8174
|
const onSubmitConfig = (config) => {
|
|
8169
8175
|
updateUserConfig(config);
|
|
8170
|
-
|
|
8176
|
+
tableUserConfigChangeEmiter.emit("change");
|
|
8171
8177
|
};
|
|
8172
8178
|
const {
|
|
8173
8179
|
isRenderUserConfig,
|
|
@@ -8215,7 +8221,7 @@ const _sfc_main$t = defineComponent({
|
|
|
8215
8221
|
createElementVNode("div", {
|
|
8216
8222
|
class: normalizeClass(unref(createBEMName)("header"))
|
|
8217
8223
|
}, [
|
|
8218
|
-
createElementVNode("span", _hoisted_1$
|
|
8224
|
+
createElementVNode("span", _hoisted_1$f, [
|
|
8219
8225
|
createVNode(_component_el_checkbox, {
|
|
8220
8226
|
label: "\u5168\u90E8",
|
|
8221
8227
|
modelValue: isAllShow.value,
|
|
@@ -8253,7 +8259,7 @@ const _sfc_main$t = defineComponent({
|
|
|
8253
8259
|
createElementVNode("div", {
|
|
8254
8260
|
class: normalizeClass(unref(createBEMName)("list"))
|
|
8255
8261
|
}, [
|
|
8256
|
-
createVNode(_sfc_main$
|
|
8262
|
+
createVNode(_sfc_main$x, {
|
|
8257
8263
|
modelValue: innerEls.value,
|
|
8258
8264
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => innerEls.value = $event),
|
|
8259
8265
|
class: normalizeClass(unref(BEMSpace))
|
|
@@ -8268,7 +8274,7 @@ const _sfc_main$t = defineComponent({
|
|
|
8268
8274
|
"onUpdate:modelValue": ($event) => element.userConfigShow = $event,
|
|
8269
8275
|
class: normalizeClass(unref(createBEMName)("checkbox"))
|
|
8270
8276
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "class"]),
|
|
8271
|
-
_hoisted_2$
|
|
8277
|
+
_hoisted_2$7,
|
|
8272
8278
|
createElementVNode("span", {
|
|
8273
8279
|
title: element.label,
|
|
8274
8280
|
class: normalizeClass(unref(createBEMName)("item-label"))
|
|
@@ -8294,14 +8300,14 @@ const _sfc_main$t = defineComponent({
|
|
|
8294
8300
|
_: 1
|
|
8295
8301
|
}, 8, ["modelValue", "class"])
|
|
8296
8302
|
], 2),
|
|
8297
|
-
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$
|
|
8303
|
+
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$w, {
|
|
8298
8304
|
key: 0,
|
|
8299
8305
|
ref_key: "columnToolsSettingRef",
|
|
8300
8306
|
ref: columnToolsSettingRef,
|
|
8301
8307
|
onSubmit: onSubmitColumns,
|
|
8302
8308
|
onClosed: unref(onColumnToolsSettingClosed)
|
|
8303
8309
|
}, null, 8, ["onClosed"])) : createCommentVNode("", true),
|
|
8304
|
-
unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$
|
|
8310
|
+
unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$v, {
|
|
8305
8311
|
key: 1,
|
|
8306
8312
|
ref_key: "userConfigRef",
|
|
8307
8313
|
ref: userConfigRef,
|
|
@@ -8312,11 +8318,11 @@ const _sfc_main$t = defineComponent({
|
|
|
8312
8318
|
};
|
|
8313
8319
|
}
|
|
8314
8320
|
});
|
|
8315
|
-
var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8316
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
8317
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
8318
|
-
const _hoisted_1$
|
|
8319
|
-
const _hoisted_2$
|
|
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 = {
|
|
8320
8326
|
key: 0,
|
|
8321
8327
|
class: "progress-box"
|
|
8322
8328
|
};
|
|
@@ -8337,7 +8343,7 @@ const _hoisted_8$1 = {
|
|
|
8337
8343
|
class: "progress-tip-text"
|
|
8338
8344
|
};
|
|
8339
8345
|
const _hoisted_9$1 = { class: "bottom-box" };
|
|
8340
|
-
const _sfc_main$
|
|
8346
|
+
const _sfc_main$t = defineComponent({
|
|
8341
8347
|
__name: "index",
|
|
8342
8348
|
emits: ["closed"],
|
|
8343
8349
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -8480,7 +8486,7 @@ const _sfc_main$s = defineComponent({
|
|
|
8480
8486
|
data: !isGetMethod ? { ..._reqData } : {},
|
|
8481
8487
|
...axiosOpt
|
|
8482
8488
|
});
|
|
8483
|
-
let result = manager.proceessResult(reqResult);
|
|
8489
|
+
let result = await manager.proceessResult(reqResult);
|
|
8484
8490
|
let list = result.list;
|
|
8485
8491
|
let resultCount = list.length;
|
|
8486
8492
|
if (index2 === requestTimes - 1) {
|
|
@@ -8597,7 +8603,7 @@ const _sfc_main$s = defineComponent({
|
|
|
8597
8603
|
const _component_el_progress = resolveComponent("el-progress");
|
|
8598
8604
|
const _component_el_button = resolveComponent("el-button");
|
|
8599
8605
|
const _directive_loading = resolveDirective("loading");
|
|
8600
|
-
return openBlock(), createBlock(_sfc_main$
|
|
8606
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
8601
8607
|
modelValue: visible.value,
|
|
8602
8608
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => visible.value = $event),
|
|
8603
8609
|
title: "\u5BFC\u51FA\u8868\u683C\u6570\u636E",
|
|
@@ -8721,7 +8727,7 @@ const _sfc_main$s = defineComponent({
|
|
|
8721
8727
|
})) : createCommentVNode("", true),
|
|
8722
8728
|
createVNode(_component_el_form_item, { label: "\u5BFC\u51FA\u5B57\u6BB5" }, {
|
|
8723
8729
|
default: withCtx(() => [
|
|
8724
|
-
createElementVNode("div", _hoisted_1$
|
|
8730
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
8725
8731
|
createVNode(_component_el_scrollbar, { height: "100%" }, {
|
|
8726
8732
|
default: withCtx(() => [
|
|
8727
8733
|
createVNode(_component_el_tree, {
|
|
@@ -8749,7 +8755,7 @@ const _sfc_main$s = defineComponent({
|
|
|
8749
8755
|
withDirectives(createVNode(_component_el_empty, { description: "\u4F9D\u8D56\u52A0\u8F7D\u5931\u8D25" }, null, 512), [
|
|
8750
8756
|
[vShow, libLoadFail.value]
|
|
8751
8757
|
]),
|
|
8752
|
-
showProgress.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8758
|
+
showProgress.value ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
8753
8759
|
createElementVNode("div", _hoisted_3$4, [
|
|
8754
8760
|
_hoisted_4$3,
|
|
8755
8761
|
_hoisted_5$2,
|
|
@@ -8776,35 +8782,35 @@ const _sfc_main$s = defineComponent({
|
|
|
8776
8782
|
};
|
|
8777
8783
|
}
|
|
8778
8784
|
});
|
|
8779
|
-
var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8785
|
+
var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-52d46b3b"]]);
|
|
8780
8786
|
const SAVE_NAME$2 = "table-columns";
|
|
8781
8787
|
const columnsSaver$1 = new ConfigSaver(SAVE_NAME$2);
|
|
8782
8788
|
const saveTableColumns = columnsSaver$1.setContents.bind(columnsSaver$1);
|
|
8783
8789
|
const genSaveColumnName = columnsSaver$1.genScopeItemKey.bind(columnsSaver$1);
|
|
8784
8790
|
const saveColumns$1 = columnsSaver$1.saveContentItem.bind(columnsSaver$1);
|
|
8785
8791
|
const getColumns$1 = columnsSaver$1.getContentItem.bind(columnsSaver$1);
|
|
8786
|
-
const _hoisted_1$
|
|
8792
|
+
const _hoisted_1$d = { class: "el-table__empty-data" };
|
|
8787
8793
|
const __default__$d = {
|
|
8788
8794
|
name: "EmptyData"
|
|
8789
8795
|
};
|
|
8790
|
-
const _sfc_main$
|
|
8796
|
+
const _sfc_main$s = defineComponent({
|
|
8791
8797
|
...__default__$d,
|
|
8792
8798
|
props: {
|
|
8793
8799
|
text: {}
|
|
8794
8800
|
},
|
|
8795
8801
|
setup(__props) {
|
|
8796
8802
|
return (_ctx, _cache) => {
|
|
8797
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8803
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
8798
8804
|
createElementVNode("span", null, toDisplayString(_ctx.text || "\u6682\u65E0\u6570\u636E"), 1)
|
|
8799
8805
|
]);
|
|
8800
8806
|
};
|
|
8801
8807
|
}
|
|
8802
8808
|
});
|
|
8803
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
8809
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$9 = "";
|
|
8804
8810
|
const __default__$c = {
|
|
8805
8811
|
name: "SelectionsTable"
|
|
8806
8812
|
};
|
|
8807
|
-
const _sfc_main$
|
|
8813
|
+
const _sfc_main$r = defineComponent({
|
|
8808
8814
|
...__default__$c,
|
|
8809
8815
|
emits: ["closed"],
|
|
8810
8816
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -8871,7 +8877,7 @@ const _sfc_main$q = defineComponent({
|
|
|
8871
8877
|
});
|
|
8872
8878
|
return (_ctx, _cache) => {
|
|
8873
8879
|
const _component_el_button = resolveComponent("el-button");
|
|
8874
|
-
return openBlock(), createBlock(_sfc_main$
|
|
8880
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
8875
8881
|
modelValue: visible.value,
|
|
8876
8882
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
8877
8883
|
title: "\u5DF2\u9009\u6570\u636E",
|
|
@@ -8920,7 +8926,7 @@ const _sfc_main$q = defineComponent({
|
|
|
8920
8926
|
};
|
|
8921
8927
|
}
|
|
8922
8928
|
});
|
|
8923
|
-
var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8929
|
+
var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-3b4b4ed8"]]);
|
|
8924
8930
|
const useSelectionsTable = () => {
|
|
8925
8931
|
const selectionsTableRef = ref();
|
|
8926
8932
|
const isRenderSelectionsTable = ref(false);
|
|
@@ -9020,44 +9026,142 @@ function useTableEls(originTableEls, tableManager) {
|
|
|
9020
9026
|
renderEls
|
|
9021
9027
|
};
|
|
9022
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([]);
|
|
9023
9038
|
function useUserSummary(tableManager) {
|
|
9024
9039
|
var _a, _b;
|
|
9025
9040
|
if (((_a = tableManager.tableProps) == null ? void 0 : _a.summaryMethod) && !((_b = tableManager.tableProps) == null ? void 0 : _b._customSummary)) {
|
|
9026
9041
|
return false;
|
|
9027
9042
|
}
|
|
9028
9043
|
const currentRenderTableEls = tableManager.currentRenderTableEls;
|
|
9029
|
-
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);
|
|
9030
9045
|
if (isUsingSummary) {
|
|
9031
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";
|
|
9032
9048
|
tableManager.tableProps = tableManager.tableProps || {};
|
|
9033
9049
|
tableManager.tableProps.showSummary = true;
|
|
9034
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
|
+
}
|
|
9035
9088
|
tableManager.tableProps.summaryMethod = function({
|
|
9036
9089
|
columns,
|
|
9037
9090
|
data
|
|
9038
9091
|
}) {
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
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
|
+
}
|
|
9058
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
|
+
);
|
|
9059
9164
|
});
|
|
9060
|
-
return [...result];
|
|
9061
9165
|
};
|
|
9062
9166
|
setTimeout(() => {
|
|
9063
9167
|
tableManager.context.$refs.tableRef.doLayout();
|
|
@@ -9086,7 +9190,7 @@ const useExportForm = () => {
|
|
|
9086
9190
|
onExportFormClosed: onClosed
|
|
9087
9191
|
};
|
|
9088
9192
|
};
|
|
9089
|
-
const _sfc_main$
|
|
9193
|
+
const _sfc_main$q = {
|
|
9090
9194
|
props: {
|
|
9091
9195
|
isLoading: {
|
|
9092
9196
|
type: Boolean,
|
|
@@ -9147,9 +9251,9 @@ const useColumnDrag = () => {
|
|
|
9147
9251
|
}
|
|
9148
9252
|
};
|
|
9149
9253
|
};
|
|
9150
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
9151
|
-
const _hoisted_1$
|
|
9152
|
-
const _sfc_main$
|
|
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({
|
|
9153
9257
|
__name: "index",
|
|
9154
9258
|
emits: ["add", "upd", "del", "import", "custom"],
|
|
9155
9259
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -9225,7 +9329,7 @@ const _sfc_main$o = defineComponent({
|
|
|
9225
9329
|
createElementVNode("div", {
|
|
9226
9330
|
class: normalizeClass(["context-menu__item", { disabled: (_a = item.props) == null ? void 0 : _a.disabled }]),
|
|
9227
9331
|
onClick: ($event) => handleItemClick(item)
|
|
9228
|
-
}, toDisplayString(item.text), 11, _hoisted_1$
|
|
9332
|
+
}, toDisplayString(item.text), 11, _hoisted_1$c)
|
|
9229
9333
|
];
|
|
9230
9334
|
}, true)
|
|
9231
9335
|
]),
|
|
@@ -9241,7 +9345,96 @@ const _sfc_main$o = defineComponent({
|
|
|
9241
9345
|
};
|
|
9242
9346
|
}
|
|
9243
9347
|
});
|
|
9244
|
-
var ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
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"]]);
|
|
9245
9438
|
var index_vue_vue_type_style_index_0_lang$5 = "";
|
|
9246
9439
|
const __default__$b = {
|
|
9247
9440
|
name: "PageModelTable",
|
|
@@ -9286,8 +9479,7 @@ const _sfc_main$n = defineComponent({
|
|
|
9286
9479
|
tableManager.updateCurrentRenderTableEls(cloneDeep(result.renderEls));
|
|
9287
9480
|
useUserSummary(tableManager);
|
|
9288
9481
|
}
|
|
9289
|
-
|
|
9290
|
-
console.log("\u8868\u683C\u914D\u7F6E\u4FEE\u6539");
|
|
9482
|
+
tableUserConfigChangeEmiter.on("change", () => {
|
|
9291
9483
|
setTableEls();
|
|
9292
9484
|
});
|
|
9293
9485
|
watch(
|
|
@@ -9316,9 +9508,11 @@ const _sfc_main$n = defineComponent({
|
|
|
9316
9508
|
};
|
|
9317
9509
|
const onSaveColumns = async (columns) => {
|
|
9318
9510
|
const originColumns = table.value.els;
|
|
9511
|
+
let isSummaryChange = false;
|
|
9319
9512
|
const contents = columns.map((column) => {
|
|
9513
|
+
const originColumnIndex = originColumns.findIndex((a) => a.label === column.label);
|
|
9320
9514
|
const item = {
|
|
9321
|
-
index:
|
|
9515
|
+
index: originColumnIndex,
|
|
9322
9516
|
show: column.userConfigShow ? 1 : 0,
|
|
9323
9517
|
ul: column.userLabel,
|
|
9324
9518
|
w: column.width,
|
|
@@ -9328,6 +9522,10 @@ const _sfc_main$n = defineComponent({
|
|
|
9328
9522
|
if (column.showSummary != null) {
|
|
9329
9523
|
item.sum = Number(column.showSummary);
|
|
9330
9524
|
}
|
|
9525
|
+
const renderColumn = renderedTableEls.value.find((a) => a.prop === column.prop);
|
|
9526
|
+
if (column.showSummary !== renderColumn.showSummary) {
|
|
9527
|
+
isSummaryChange = true;
|
|
9528
|
+
}
|
|
9331
9529
|
return item;
|
|
9332
9530
|
});
|
|
9333
9531
|
const userSetting = PageModelManager.userSetting;
|
|
@@ -9343,6 +9541,9 @@ const _sfc_main$n = defineComponent({
|
|
|
9343
9541
|
} catch (error) {
|
|
9344
9542
|
}
|
|
9345
9543
|
setTableEls();
|
|
9544
|
+
if (isSummaryChange) {
|
|
9545
|
+
userSummaryConfigEmiter.emit("change");
|
|
9546
|
+
}
|
|
9346
9547
|
};
|
|
9347
9548
|
const clearSelection = () => {
|
|
9348
9549
|
tableManager.clearSelection();
|
|
@@ -9476,6 +9677,11 @@ const _sfc_main$n = defineComponent({
|
|
|
9476
9677
|
executeData: [row, rowIndex]
|
|
9477
9678
|
});
|
|
9478
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
|
+
};
|
|
9479
9685
|
onUnmounted(() => {
|
|
9480
9686
|
tableManager.onUnmounted();
|
|
9481
9687
|
scrollLifecycle.onUnmounted();
|
|
@@ -9492,7 +9698,8 @@ const _sfc_main$n = defineComponent({
|
|
|
9492
9698
|
showColumnToolSimplePopover,
|
|
9493
9699
|
hideColumnToolSimplePopover,
|
|
9494
9700
|
handleColumnScreen,
|
|
9495
|
-
handleColumnSort
|
|
9701
|
+
handleColumnSort,
|
|
9702
|
+
showContextColumnSummary
|
|
9496
9703
|
};
|
|
9497
9704
|
tableManager.exposeActions = exposeActions;
|
|
9498
9705
|
__expose({
|
|
@@ -9507,7 +9714,7 @@ const _sfc_main$n = defineComponent({
|
|
|
9507
9714
|
const _component_el_popconfirm = resolveComponent("el-popconfirm");
|
|
9508
9715
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
9509
9716
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
9510
|
-
createVNode(_sfc_main$
|
|
9717
|
+
createVNode(_sfc_main$q, {
|
|
9511
9718
|
class: normalizeClass([unref(createBEMName)("table")]),
|
|
9512
9719
|
isLoading: tableManager.loadingData,
|
|
9513
9720
|
directiveName: table.value.loadingDirectiveName
|
|
@@ -9531,7 +9738,7 @@ const _sfc_main$n = defineComponent({
|
|
|
9531
9738
|
unref(PageModelManager).emptyTableComponent ? (openBlock(), createBlock(resolveDynamicComponent(unref(PageModelManager).emptyTableComponent), {
|
|
9532
9739
|
key: 0,
|
|
9533
9740
|
text: (_a = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _a.emptyText
|
|
9534
|
-
}, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$
|
|
9741
|
+
}, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$s, {
|
|
9535
9742
|
key: 1,
|
|
9536
9743
|
text: (_b = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _b.emptyText
|
|
9537
9744
|
}, null, 8, ["text"]))
|
|
@@ -9601,7 +9808,7 @@ const _sfc_main$n = defineComponent({
|
|
|
9601
9808
|
_: 1
|
|
9602
9809
|
}, 16, ["width"])) : createCommentVNode("", true)
|
|
9603
9810
|
], 64)) : createCommentVNode("", true),
|
|
9604
|
-
createVNode(_sfc_main$
|
|
9811
|
+
createVNode(_sfc_main$y, {
|
|
9605
9812
|
els: renderedTableEls.value,
|
|
9606
9813
|
context: tableManager,
|
|
9607
9814
|
onColumnScreen: handleColumnScreen
|
|
@@ -9721,10 +9928,18 @@ const _sfc_main$n = defineComponent({
|
|
|
9721
9928
|
]),
|
|
9722
9929
|
_: 1
|
|
9723
9930
|
}, 512),
|
|
9724
|
-
|
|
9931
|
+
table.value.contextMenu ? (openBlock(), createBlock(ContextMenu, mergeProps({
|
|
9932
|
+
key: 3,
|
|
9725
9933
|
ref_key: "contextMenuRef",
|
|
9726
9934
|
ref: contextMenuRef
|
|
9727
|
-
}, _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)
|
|
9728
9943
|
], 64);
|
|
9729
9944
|
};
|
|
9730
9945
|
}
|
|
@@ -10402,7 +10617,7 @@ const _sfc_main$h = defineComponent({
|
|
|
10402
10617
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
10403
10618
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
10404
10619
|
const _component_el_button = resolveComponent("el-button");
|
|
10405
|
-
return openBlock(), createBlock(_sfc_main$
|
|
10620
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
10406
10621
|
modelValue: visible.value,
|
|
10407
10622
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
|
|
10408
10623
|
title: "\u8868\u5355\u914D\u7F6E",
|
|
@@ -10468,7 +10683,7 @@ const _sfc_main$h = defineComponent({
|
|
|
10468
10683
|
], 2);
|
|
10469
10684
|
}), 128))
|
|
10470
10685
|
], 2),
|
|
10471
|
-
createVNode(_sfc_main$
|
|
10686
|
+
createVNode(_sfc_main$x, {
|
|
10472
10687
|
modelValue: innerEls.value,
|
|
10473
10688
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
10474
10689
|
"item-key": "_key"
|
|
@@ -10851,7 +11066,7 @@ const _sfc_main$g = defineComponent({
|
|
|
10851
11066
|
key: 0,
|
|
10852
11067
|
class: normalizeClass(unref(createBEMName)("prefix"))
|
|
10853
11068
|
}, toDisplayString(renderDeText(item.prefix, formManager.formData)), 3)) : createCommentVNode("", true),
|
|
10854
|
-
createVNode(_sfc_main$
|
|
11069
|
+
createVNode(_sfc_main$F, {
|
|
10855
11070
|
modelValue: formManager.formData[item.prop],
|
|
10856
11071
|
renderFn: item.renderFn,
|
|
10857
11072
|
context: formManager,
|
|
@@ -10978,7 +11193,7 @@ const _sfc_main$f = defineComponent({
|
|
|
10978
11193
|
});
|
|
10979
11194
|
return (_ctx, _cache) => {
|
|
10980
11195
|
const _component_el_button = resolveComponent("el-button");
|
|
10981
|
-
return formVisible.value ? (openBlock(), createBlock(_sfc_main$
|
|
11196
|
+
return formVisible.value ? (openBlock(), createBlock(_sfc_main$E, {
|
|
10982
11197
|
key: 0,
|
|
10983
11198
|
modelValue: formVisible.value,
|
|
10984
11199
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formVisible.value = $event),
|
|
@@ -12541,7 +12756,7 @@ const _sfc_main$7 = defineComponent({
|
|
|
12541
12756
|
_: 1
|
|
12542
12757
|
})
|
|
12543
12758
|
], 2),
|
|
12544
|
-
createVNode(_sfc_main$
|
|
12759
|
+
createVNode(_sfc_main$x, {
|
|
12545
12760
|
modelValue: filterList.value,
|
|
12546
12761
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterList.value = $event),
|
|
12547
12762
|
itemKey: "prop",
|
|
@@ -12726,7 +12941,7 @@ const _sfc_main$6 = defineComponent({
|
|
|
12726
12941
|
_updateUserConfig({
|
|
12727
12942
|
...userConfigFormData.value
|
|
12728
12943
|
});
|
|
12729
|
-
|
|
12944
|
+
tableUserConfigChangeEmiter.emit("change");
|
|
12730
12945
|
};
|
|
12731
12946
|
__expose({
|
|
12732
12947
|
showPopover,
|
|
@@ -12776,7 +12991,7 @@ const _sfc_main$6 = defineComponent({
|
|
|
12776
12991
|
};
|
|
12777
12992
|
}
|
|
12778
12993
|
});
|
|
12779
|
-
var LineClampTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
12994
|
+
var LineClampTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-71d3e62f"]]);
|
|
12780
12995
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
12781
12996
|
const _hoisted_1$3 = ["data-event", "onClick"];
|
|
12782
12997
|
const __default__$4 = {
|
|
@@ -13615,7 +13830,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
13615
13830
|
key: 0,
|
|
13616
13831
|
class: normalizeClass(unref(createBEMName)("top-tabs"))
|
|
13617
13832
|
}, [
|
|
13618
|
-
hasTabs.value ? (openBlock(), createBlock(_sfc_main$
|
|
13833
|
+
hasTabs.value ? (openBlock(), createBlock(_sfc_main$16, {
|
|
13619
13834
|
key: 0,
|
|
13620
13835
|
tabs: uConfig.value.tabs,
|
|
13621
13836
|
manager,
|
|
@@ -13631,7 +13846,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
13631
13846
|
key: 1,
|
|
13632
13847
|
class: normalizeClass(unref(createBEMName)("search"))
|
|
13633
13848
|
}, [
|
|
13634
|
-
createVNode(_sfc_main$
|
|
13849
|
+
createVNode(_sfc_main$C, {
|
|
13635
13850
|
ref_key: "searchFormRef",
|
|
13636
13851
|
ref: searchFormRef,
|
|
13637
13852
|
manager
|
|
@@ -13919,7 +14134,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
13919
14134
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
13920
14135
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
13921
14136
|
const _component_el_button = resolveComponent("el-button");
|
|
13922
|
-
return openBlock(), createBlock(_sfc_main$
|
|
14137
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
13923
14138
|
modelValue: visible.value,
|
|
13924
14139
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
13925
14140
|
title: "\u7F16\u8F91\u8868\u683C",
|
|
@@ -13962,7 +14177,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
13962
14177
|
], 2);
|
|
13963
14178
|
}), 128))
|
|
13964
14179
|
], 2),
|
|
13965
|
-
createVNode(_sfc_main$
|
|
14180
|
+
createVNode(_sfc_main$x, {
|
|
13966
14181
|
modelValue: innerEls.value,
|
|
13967
14182
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
13968
14183
|
"item-key": "_key"
|
|
@@ -14126,7 +14341,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
14126
14341
|
createElementVNode("div", {
|
|
14127
14342
|
class: normalizeClass(unref(createBEMName)("list"))
|
|
14128
14343
|
}, [
|
|
14129
|
-
createVNode(_sfc_main$
|
|
14344
|
+
createVNode(_sfc_main$x, {
|
|
14130
14345
|
modelValue: innerEls.value,
|
|
14131
14346
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
14132
14347
|
class: normalizeClass(unref(BEMSpace)),
|
|
@@ -14589,7 +14804,7 @@ const _sfc_main = defineComponent({
|
|
|
14589
14804
|
}, {
|
|
14590
14805
|
default: withCtx(() => [
|
|
14591
14806
|
_ctx.alwaysShowEdit || isCurrentRowFocus($index) ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
14592
|
-
createVNode(_sfc_main$
|
|
14807
|
+
createVNode(_sfc_main$B, {
|
|
14593
14808
|
"render-fn": column.renderFn,
|
|
14594
14809
|
pure: "",
|
|
14595
14810
|
row,
|
|
@@ -14659,7 +14874,7 @@ const defineEditableTable = function(config) {
|
|
|
14659
14874
|
};
|
|
14660
14875
|
var iconfont = "";
|
|
14661
14876
|
const name = "@juzhenfe/page-model";
|
|
14662
|
-
const version = "3.
|
|
14877
|
+
const version = "3.17.0";
|
|
14663
14878
|
const types = "dist/main.d.ts";
|
|
14664
14879
|
const main = "dist/index.umd.js";
|
|
14665
14880
|
const keywords = [
|
|
@@ -14739,4 +14954,4 @@ const ModelComponent = {
|
|
|
14739
14954
|
saveTableColumns(content);
|
|
14740
14955
|
}
|
|
14741
14956
|
};
|
|
14742
|
-
export { ButtonsRenderer, _sfc_main$
|
|
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 };
|