@juzhenfe/page-model 3.16.7 → 3.17.1
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/column-filter-tools/index.vue.d.ts +2 -0
- package/dist/components/column-sort-tools/index.vue.d.ts +2 -0
- package/dist/components/line-clamp-tools/index.vue.d.ts +2 -0
- package/dist/components/page-model/constructor.d.ts +7 -2
- package/dist/components/page-model/type.d.ts +12 -1
- package/dist/components/simple-popover/index.vue.d.ts +2 -0
- package/dist/components/table/components/context-column-summary/index.vue.d.ts +102 -0
- package/dist/components/table/components/context-menu/index.vue.d.ts +14 -6
- package/dist/components/table/components/table-column/index.vue.d.ts +2 -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 +533 -321
- 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
|
@@ -4,8 +4,8 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
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,
|
|
8
|
-
import { ElMessage, ElLoading, ElMessageBox } from "element-plus";
|
|
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, normalizeStyle, withDirectives, vShow, pushScopeId, popScopeId, resolveDirective, Transition, onActivated, watchEffect, normalizeProps, guardReactiveProps, provide } from "vue";
|
|
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 },
|
|
@@ -5538,6 +5544,19 @@ const _sfc_main$z = defineComponent({
|
|
|
5538
5544
|
const props = __props;
|
|
5539
5545
|
const emit = __emit;
|
|
5540
5546
|
const visible = ref(false);
|
|
5547
|
+
const isShow = ref(false);
|
|
5548
|
+
const _debounceUpdateShow = debounce(() => {
|
|
5549
|
+
isShow.value = visible.value;
|
|
5550
|
+
}, 100);
|
|
5551
|
+
watch(
|
|
5552
|
+
visible,
|
|
5553
|
+
(newVal) => {
|
|
5554
|
+
_debounceUpdateShow();
|
|
5555
|
+
},
|
|
5556
|
+
{
|
|
5557
|
+
immediate: true
|
|
5558
|
+
}
|
|
5559
|
+
);
|
|
5541
5560
|
let currentTriggerElement = null;
|
|
5542
5561
|
const popoverRectInfo = ref({});
|
|
5543
5562
|
const getPopoverTriggerElementRectInfo = (element) => {
|
|
@@ -5665,27 +5684,22 @@ const _sfc_main$z = defineComponent({
|
|
|
5665
5684
|
});
|
|
5666
5685
|
return (_ctx, _cache) => {
|
|
5667
5686
|
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5680
|
-
], 6)) : createCommentVNode("", true)
|
|
5681
|
-
]),
|
|
5682
|
-
_: 3
|
|
5683
|
-
})
|
|
5687
|
+
visible.value && popoverStyle.value ? (openBlock(), createElementBlock("div", {
|
|
5688
|
+
key: 0,
|
|
5689
|
+
ref_key: "popoverRef",
|
|
5690
|
+
ref: popoverRef,
|
|
5691
|
+
class: normalizeClass([unref(BEMSpace), { show: isShow.value }]),
|
|
5692
|
+
style: normalizeStyle({
|
|
5693
|
+
...popoverStyle.value
|
|
5694
|
+
})
|
|
5695
|
+
}, [
|
|
5696
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5697
|
+
], 6)) : createCommentVNode("", true)
|
|
5684
5698
|
]);
|
|
5685
5699
|
};
|
|
5686
5700
|
}
|
|
5687
5701
|
});
|
|
5688
|
-
var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5702
|
+
var SimplePopover = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-9439d2c2"]]);
|
|
5689
5703
|
var FilterItemTypeEnum$1 = /* @__PURE__ */ ((FilterItemTypeEnum2) => {
|
|
5690
5704
|
FilterItemTypeEnum2["\u6587\u5B57"] = "string";
|
|
5691
5705
|
FilterItemTypeEnum2["\u6570\u5B57"] = "number";
|
|
@@ -5848,10 +5862,10 @@ let noValueOptions = [
|
|
|
5848
5862
|
const updateCompareNoValueOptions = (_noValueOptions) => {
|
|
5849
5863
|
noValueOptions = _noValueOptions;
|
|
5850
5864
|
};
|
|
5851
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
5852
|
-
const _hoisted_1$
|
|
5853
|
-
const _hoisted_2$
|
|
5854
|
-
const _sfc_main$
|
|
5865
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$b = "";
|
|
5866
|
+
const _hoisted_1$h = { key: 0 };
|
|
5867
|
+
const _hoisted_2$9 = { key: 1 };
|
|
5868
|
+
const _sfc_main$z = defineComponent({
|
|
5855
5869
|
__name: "index",
|
|
5856
5870
|
props: {
|
|
5857
5871
|
tableManager: {}
|
|
@@ -6018,7 +6032,7 @@ const _sfc_main$y = defineComponent({
|
|
|
6018
6032
|
createElementVNode("div", {
|
|
6019
6033
|
class: normalizeClass(unref(createBEMName)("title"))
|
|
6020
6034
|
}, [
|
|
6021
|
-
!isShowFilter.value ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
6035
|
+
!isShowFilter.value ? (openBlock(), createElementBlock("span", _hoisted_1$h, "\u7B5B\u9009")) : (openBlock(), createBlock(_component_el_input, {
|
|
6022
6036
|
key: 1,
|
|
6023
6037
|
modelValue: filterKeywords.value,
|
|
6024
6038
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterKeywords.value = $event),
|
|
@@ -6271,7 +6285,7 @@ const _sfc_main$y = defineComponent({
|
|
|
6271
6285
|
createTextVNode("\u7B5B\u9009\u6761\u4EF6")
|
|
6272
6286
|
]),
|
|
6273
6287
|
_: 1
|
|
6274
|
-
}, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6288
|
+
}, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_2$9)),
|
|
6275
6289
|
createElementVNode("div", null, [
|
|
6276
6290
|
createVNode(_component_el_button, { onClick: handleClear }, {
|
|
6277
6291
|
default: withCtx(() => [
|
|
@@ -6316,10 +6330,10 @@ const _sfc_main$y = defineComponent({
|
|
|
6316
6330
|
};
|
|
6317
6331
|
}
|
|
6318
6332
|
});
|
|
6319
|
-
var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6333
|
+
var FilterZone$1 = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-2685baf1"]]);
|
|
6320
6334
|
var index_vue_vue_type_style_index_0_lang$7 = "";
|
|
6321
|
-
const _hoisted_1$
|
|
6322
|
-
const _hoisted_2$
|
|
6335
|
+
const _hoisted_1$g = ["data-key", "title"];
|
|
6336
|
+
const _hoisted_2$8 = {
|
|
6323
6337
|
key: 0,
|
|
6324
6338
|
style: { "color": "red" }
|
|
6325
6339
|
};
|
|
@@ -6343,7 +6357,7 @@ const _hoisted_10$1 = ["onClick"];
|
|
|
6343
6357
|
const __default__$h = {
|
|
6344
6358
|
name: "TableColumn"
|
|
6345
6359
|
};
|
|
6346
|
-
const _sfc_main$
|
|
6360
|
+
const _sfc_main$y = defineComponent({
|
|
6347
6361
|
...__default__$h,
|
|
6348
6362
|
props: {
|
|
6349
6363
|
els: {},
|
|
@@ -6476,7 +6490,7 @@ const _sfc_main$x = defineComponent({
|
|
|
6476
6490
|
"data-key": column._key,
|
|
6477
6491
|
title: $header.column.label
|
|
6478
6492
|
}, [
|
|
6479
|
-
column.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
6493
|
+
column.required ? (openBlock(), createElementBlock("span", _hoisted_2$8, "*")) : createCommentVNode("", true),
|
|
6480
6494
|
column.helpText || column.icon ? (openBlock(), createBlock(_component_el_icon, {
|
|
6481
6495
|
key: 1,
|
|
6482
6496
|
title: column.helpText
|
|
@@ -6509,7 +6523,7 @@ const _sfc_main$x = defineComponent({
|
|
|
6509
6523
|
_: 1
|
|
6510
6524
|
})
|
|
6511
6525
|
], 14, _hoisted_3$6)) : createCommentVNode("", true)
|
|
6512
|
-
], 10, _hoisted_1$
|
|
6526
|
+
], 10, _hoisted_1$g)
|
|
6513
6527
|
]),
|
|
6514
6528
|
default: withCtx(({ row, $index, column: columnEl }) => [
|
|
6515
6529
|
column.children ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -6536,7 +6550,7 @@ const _sfc_main$x = defineComponent({
|
|
|
6536
6550
|
) ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
6537
6551
|
column.editData ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
6538
6552
|
createElementVNode("div", _hoisted_6$3, [
|
|
6539
|
-
createVNode(_sfc_main$
|
|
6553
|
+
createVNode(_sfc_main$F, {
|
|
6540
6554
|
modelValue: row[column.editData.prop || column.prop],
|
|
6541
6555
|
renderFn: column.editData.renderFn,
|
|
6542
6556
|
context: props.context,
|
|
@@ -6572,7 +6586,7 @@ const _sfc_main$x = defineComponent({
|
|
|
6572
6586
|
])) : createCommentVNode("", true)
|
|
6573
6587
|
], 64)) : (openBlock(), createElementBlock("div", _hoisted_8$2, "\u8BE5\u5217\u672A\u8BBE\u7F6E\u7F16\u8F91\u7EC4\u4EF6"))
|
|
6574
6588
|
])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
6575
|
-
column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$
|
|
6589
|
+
column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$B, {
|
|
6576
6590
|
key: 0,
|
|
6577
6591
|
"render-fn": column.renderFn,
|
|
6578
6592
|
context: props.context,
|
|
@@ -7577,7 +7591,7 @@ var Sortable = Sortable_min.exports;
|
|
|
7577
7591
|
const __default__$g = {
|
|
7578
7592
|
name: "DraggableList"
|
|
7579
7593
|
};
|
|
7580
|
-
const _sfc_main$
|
|
7594
|
+
const _sfc_main$x = defineComponent({
|
|
7581
7595
|
...__default__$g,
|
|
7582
7596
|
props: {
|
|
7583
7597
|
modelValue: {},
|
|
@@ -7678,7 +7692,7 @@ var setting_vue_vue_type_style_index_1_lang$2 = "";
|
|
|
7678
7692
|
const __default__$f = {
|
|
7679
7693
|
name: "SaveColumnSetting"
|
|
7680
7694
|
};
|
|
7681
|
-
const _sfc_main$
|
|
7695
|
+
const _sfc_main$w = defineComponent({
|
|
7682
7696
|
...__default__$f,
|
|
7683
7697
|
props: {
|
|
7684
7698
|
onlyShow: { type: Boolean, default: false }
|
|
@@ -7719,7 +7733,7 @@ const _sfc_main$v = defineComponent({
|
|
|
7719
7733
|
label: "\u663E\u793A"
|
|
7720
7734
|
},
|
|
7721
7735
|
{
|
|
7722
|
-
label: "\
|
|
7736
|
+
label: "\u5408\u8BA1"
|
|
7723
7737
|
},
|
|
7724
7738
|
{
|
|
7725
7739
|
label: "\u56FA\u5B9A\u5217"
|
|
@@ -7747,7 +7761,7 @@ const _sfc_main$v = defineComponent({
|
|
|
7747
7761
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
7748
7762
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
7749
7763
|
const _component_el_button = resolveComponent("el-button");
|
|
7750
|
-
return openBlock(), createBlock(_sfc_main$
|
|
7764
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
7751
7765
|
modelValue: visible.value,
|
|
7752
7766
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
7753
7767
|
title: "\u7F16\u8F91\u8868\u683C",
|
|
@@ -7796,7 +7810,7 @@ const _sfc_main$v = defineComponent({
|
|
|
7796
7810
|
createElementVNode("div", {
|
|
7797
7811
|
class: normalizeClass(unref(createBEMName)("column-table-wrap"))
|
|
7798
7812
|
}, [
|
|
7799
|
-
createVNode(_sfc_main$
|
|
7813
|
+
createVNode(_sfc_main$x, {
|
|
7800
7814
|
modelValue: innerEls.value,
|
|
7801
7815
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
7802
7816
|
"item-key": "_key"
|
|
@@ -7841,7 +7855,7 @@ const _sfc_main$v = defineComponent({
|
|
|
7841
7855
|
default: withCtx(() => [
|
|
7842
7856
|
createVNode(_component_el_radio_button, { label: 0 }, {
|
|
7843
7857
|
default: withCtx(() => [
|
|
7844
|
-
createTextVNode("\
|
|
7858
|
+
createTextVNode("\u4E0D\u5C55\u793A")
|
|
7845
7859
|
]),
|
|
7846
7860
|
_: 1
|
|
7847
7861
|
}),
|
|
@@ -7853,7 +7867,7 @@ const _sfc_main$v = defineComponent({
|
|
|
7853
7867
|
}),
|
|
7854
7868
|
createVNode(_component_el_radio_button, { label: 2 }, {
|
|
7855
7869
|
default: withCtx(() => [
|
|
7856
|
-
createTextVNode("\
|
|
7870
|
+
createTextVNode("\u603B\u6570")
|
|
7857
7871
|
]),
|
|
7858
7872
|
_: 1
|
|
7859
7873
|
})
|
|
@@ -7966,7 +7980,7 @@ var userConfig_vue_vue_type_style_index_1_lang = "";
|
|
|
7966
7980
|
const __default__$e = {
|
|
7967
7981
|
name: "SaveUserConfig"
|
|
7968
7982
|
};
|
|
7969
|
-
const _sfc_main$
|
|
7983
|
+
const _sfc_main$v = defineComponent({
|
|
7970
7984
|
...__default__$e,
|
|
7971
7985
|
emits: ["submit", "closed"],
|
|
7972
7986
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -8030,7 +8044,7 @@ const _sfc_main$u = defineComponent({
|
|
|
8030
8044
|
};
|
|
8031
8045
|
return (_ctx, _cache) => {
|
|
8032
8046
|
const _component_el_button = resolveComponent("el-button");
|
|
8033
|
-
return openBlock(), createBlock(_sfc_main$
|
|
8047
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
8034
8048
|
modelValue: visible.value,
|
|
8035
8049
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
8036
8050
|
title: "\u7F16\u8F91\u79C1\u4EBA\u914D\u7F6E",
|
|
@@ -8094,28 +8108,28 @@ const useUserConfig = () => {
|
|
|
8094
8108
|
onUserConfigClosed: onClosed
|
|
8095
8109
|
};
|
|
8096
8110
|
};
|
|
8097
|
-
const
|
|
8111
|
+
const tableUserConfigChangeEmiter = new EventEmitter();
|
|
8098
8112
|
var index_vue_vue_type_style_index_0_lang$6 = "";
|
|
8099
8113
|
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$
|
|
8114
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-5d0b7bda"), n = n(), popScopeId(), n);
|
|
8115
|
+
const _hoisted_1$f = { title: "\u5168\u9009/\u53D6\u6D88" };
|
|
8116
|
+
const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", {
|
|
8103
8117
|
class: "pm-icon icon-drag-dot",
|
|
8104
8118
|
title: "\u62D6\u52A8\u8C03\u6574\u663E\u793A\u987A\u5E8F"
|
|
8105
8119
|
}, null, -1));
|
|
8106
8120
|
const _hoisted_3$5 = ["title"];
|
|
8107
8121
|
const _hoisted_4$4 = ["title", "onClick"];
|
|
8108
8122
|
const _hoisted_5$3 = ["title", "onClick"];
|
|
8109
|
-
const _sfc_main$
|
|
8123
|
+
const _sfc_main$u = defineComponent({
|
|
8110
8124
|
__name: "index",
|
|
8111
8125
|
props: {
|
|
8112
8126
|
els: {}
|
|
8113
8127
|
},
|
|
8114
8128
|
emits: ["save-columns"],
|
|
8115
8129
|
setup(__props, { emit: __emit }) {
|
|
8130
|
+
const props = __props;
|
|
8116
8131
|
const innerEls = ref([]);
|
|
8117
8132
|
const { BEMSpace, createBEMName } = createBEMSpace("column-tools");
|
|
8118
|
-
const props = __props;
|
|
8119
8133
|
const { els } = toRefs(props);
|
|
8120
8134
|
const emit = __emit;
|
|
8121
8135
|
const isExternalChange = ref(false);
|
|
@@ -8167,7 +8181,7 @@ const _sfc_main$t = defineComponent({
|
|
|
8167
8181
|
const { userConfig, updateUserConfig } = useUserShowRowConfig(props.els);
|
|
8168
8182
|
const onSubmitConfig = (config) => {
|
|
8169
8183
|
updateUserConfig(config);
|
|
8170
|
-
|
|
8184
|
+
tableUserConfigChangeEmiter.emit("change");
|
|
8171
8185
|
};
|
|
8172
8186
|
const {
|
|
8173
8187
|
isRenderUserConfig,
|
|
@@ -8215,7 +8229,7 @@ const _sfc_main$t = defineComponent({
|
|
|
8215
8229
|
createElementVNode("div", {
|
|
8216
8230
|
class: normalizeClass(unref(createBEMName)("header"))
|
|
8217
8231
|
}, [
|
|
8218
|
-
createElementVNode("span", _hoisted_1$
|
|
8232
|
+
createElementVNode("span", _hoisted_1$f, [
|
|
8219
8233
|
createVNode(_component_el_checkbox, {
|
|
8220
8234
|
label: "\u5168\u90E8",
|
|
8221
8235
|
modelValue: isAllShow.value,
|
|
@@ -8253,7 +8267,7 @@ const _sfc_main$t = defineComponent({
|
|
|
8253
8267
|
createElementVNode("div", {
|
|
8254
8268
|
class: normalizeClass(unref(createBEMName)("list"))
|
|
8255
8269
|
}, [
|
|
8256
|
-
createVNode(_sfc_main$
|
|
8270
|
+
createVNode(_sfc_main$x, {
|
|
8257
8271
|
modelValue: innerEls.value,
|
|
8258
8272
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => innerEls.value = $event),
|
|
8259
8273
|
class: normalizeClass(unref(BEMSpace))
|
|
@@ -8268,7 +8282,7 @@ const _sfc_main$t = defineComponent({
|
|
|
8268
8282
|
"onUpdate:modelValue": ($event) => element.userConfigShow = $event,
|
|
8269
8283
|
class: normalizeClass(unref(createBEMName)("checkbox"))
|
|
8270
8284
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "class"]),
|
|
8271
|
-
_hoisted_2$
|
|
8285
|
+
_hoisted_2$7,
|
|
8272
8286
|
createElementVNode("span", {
|
|
8273
8287
|
title: element.label,
|
|
8274
8288
|
class: normalizeClass(unref(createBEMName)("item-label"))
|
|
@@ -8294,14 +8308,14 @@ const _sfc_main$t = defineComponent({
|
|
|
8294
8308
|
_: 1
|
|
8295
8309
|
}, 8, ["modelValue", "class"])
|
|
8296
8310
|
], 2),
|
|
8297
|
-
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$
|
|
8311
|
+
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$w, {
|
|
8298
8312
|
key: 0,
|
|
8299
8313
|
ref_key: "columnToolsSettingRef",
|
|
8300
8314
|
ref: columnToolsSettingRef,
|
|
8301
8315
|
onSubmit: onSubmitColumns,
|
|
8302
8316
|
onClosed: unref(onColumnToolsSettingClosed)
|
|
8303
8317
|
}, null, 8, ["onClosed"])) : createCommentVNode("", true),
|
|
8304
|
-
unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$
|
|
8318
|
+
unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$v, {
|
|
8305
8319
|
key: 1,
|
|
8306
8320
|
ref_key: "userConfigRef",
|
|
8307
8321
|
ref: userConfigRef,
|
|
@@ -8312,11 +8326,11 @@ const _sfc_main$t = defineComponent({
|
|
|
8312
8326
|
};
|
|
8313
8327
|
}
|
|
8314
8328
|
});
|
|
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$
|
|
8329
|
+
var ColumnTools$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-5d0b7bda"]]);
|
|
8330
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$a = "";
|
|
8331
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-52d46b3b"), n = n(), popScopeId(), n);
|
|
8332
|
+
const _hoisted_1$e = { class: "export-columns" };
|
|
8333
|
+
const _hoisted_2$6 = {
|
|
8320
8334
|
key: 0,
|
|
8321
8335
|
class: "progress-box"
|
|
8322
8336
|
};
|
|
@@ -8337,7 +8351,7 @@ const _hoisted_8$1 = {
|
|
|
8337
8351
|
class: "progress-tip-text"
|
|
8338
8352
|
};
|
|
8339
8353
|
const _hoisted_9$1 = { class: "bottom-box" };
|
|
8340
|
-
const _sfc_main$
|
|
8354
|
+
const _sfc_main$t = defineComponent({
|
|
8341
8355
|
__name: "index",
|
|
8342
8356
|
emits: ["closed"],
|
|
8343
8357
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -8480,7 +8494,7 @@ const _sfc_main$s = defineComponent({
|
|
|
8480
8494
|
data: !isGetMethod ? { ..._reqData } : {},
|
|
8481
8495
|
...axiosOpt
|
|
8482
8496
|
});
|
|
8483
|
-
let result = manager.proceessResult(reqResult);
|
|
8497
|
+
let result = await manager.proceessResult(reqResult);
|
|
8484
8498
|
let list = result.list;
|
|
8485
8499
|
let resultCount = list.length;
|
|
8486
8500
|
if (index2 === requestTimes - 1) {
|
|
@@ -8597,7 +8611,7 @@ const _sfc_main$s = defineComponent({
|
|
|
8597
8611
|
const _component_el_progress = resolveComponent("el-progress");
|
|
8598
8612
|
const _component_el_button = resolveComponent("el-button");
|
|
8599
8613
|
const _directive_loading = resolveDirective("loading");
|
|
8600
|
-
return openBlock(), createBlock(_sfc_main$
|
|
8614
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
8601
8615
|
modelValue: visible.value,
|
|
8602
8616
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => visible.value = $event),
|
|
8603
8617
|
title: "\u5BFC\u51FA\u8868\u683C\u6570\u636E",
|
|
@@ -8721,7 +8735,7 @@ const _sfc_main$s = defineComponent({
|
|
|
8721
8735
|
})) : createCommentVNode("", true),
|
|
8722
8736
|
createVNode(_component_el_form_item, { label: "\u5BFC\u51FA\u5B57\u6BB5" }, {
|
|
8723
8737
|
default: withCtx(() => [
|
|
8724
|
-
createElementVNode("div", _hoisted_1$
|
|
8738
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
8725
8739
|
createVNode(_component_el_scrollbar, { height: "100%" }, {
|
|
8726
8740
|
default: withCtx(() => [
|
|
8727
8741
|
createVNode(_component_el_tree, {
|
|
@@ -8749,7 +8763,7 @@ const _sfc_main$s = defineComponent({
|
|
|
8749
8763
|
withDirectives(createVNode(_component_el_empty, { description: "\u4F9D\u8D56\u52A0\u8F7D\u5931\u8D25" }, null, 512), [
|
|
8750
8764
|
[vShow, libLoadFail.value]
|
|
8751
8765
|
]),
|
|
8752
|
-
showProgress.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8766
|
+
showProgress.value ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
8753
8767
|
createElementVNode("div", _hoisted_3$4, [
|
|
8754
8768
|
_hoisted_4$3,
|
|
8755
8769
|
_hoisted_5$2,
|
|
@@ -8776,35 +8790,35 @@ const _sfc_main$s = defineComponent({
|
|
|
8776
8790
|
};
|
|
8777
8791
|
}
|
|
8778
8792
|
});
|
|
8779
|
-
var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8793
|
+
var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-52d46b3b"]]);
|
|
8780
8794
|
const SAVE_NAME$2 = "table-columns";
|
|
8781
8795
|
const columnsSaver$1 = new ConfigSaver(SAVE_NAME$2);
|
|
8782
8796
|
const saveTableColumns = columnsSaver$1.setContents.bind(columnsSaver$1);
|
|
8783
8797
|
const genSaveColumnName = columnsSaver$1.genScopeItemKey.bind(columnsSaver$1);
|
|
8784
8798
|
const saveColumns$1 = columnsSaver$1.saveContentItem.bind(columnsSaver$1);
|
|
8785
8799
|
const getColumns$1 = columnsSaver$1.getContentItem.bind(columnsSaver$1);
|
|
8786
|
-
const _hoisted_1$
|
|
8800
|
+
const _hoisted_1$d = { class: "el-table__empty-data" };
|
|
8787
8801
|
const __default__$d = {
|
|
8788
8802
|
name: "EmptyData"
|
|
8789
8803
|
};
|
|
8790
|
-
const _sfc_main$
|
|
8804
|
+
const _sfc_main$s = defineComponent({
|
|
8791
8805
|
...__default__$d,
|
|
8792
8806
|
props: {
|
|
8793
8807
|
text: {}
|
|
8794
8808
|
},
|
|
8795
8809
|
setup(__props) {
|
|
8796
8810
|
return (_ctx, _cache) => {
|
|
8797
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8811
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
8798
8812
|
createElementVNode("span", null, toDisplayString(_ctx.text || "\u6682\u65E0\u6570\u636E"), 1)
|
|
8799
8813
|
]);
|
|
8800
8814
|
};
|
|
8801
8815
|
}
|
|
8802
8816
|
});
|
|
8803
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
8817
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$9 = "";
|
|
8804
8818
|
const __default__$c = {
|
|
8805
8819
|
name: "SelectionsTable"
|
|
8806
8820
|
};
|
|
8807
|
-
const _sfc_main$
|
|
8821
|
+
const _sfc_main$r = defineComponent({
|
|
8808
8822
|
...__default__$c,
|
|
8809
8823
|
emits: ["closed"],
|
|
8810
8824
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -8871,7 +8885,7 @@ const _sfc_main$q = defineComponent({
|
|
|
8871
8885
|
});
|
|
8872
8886
|
return (_ctx, _cache) => {
|
|
8873
8887
|
const _component_el_button = resolveComponent("el-button");
|
|
8874
|
-
return openBlock(), createBlock(_sfc_main$
|
|
8888
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
8875
8889
|
modelValue: visible.value,
|
|
8876
8890
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
8877
8891
|
title: "\u5DF2\u9009\u6570\u636E",
|
|
@@ -8920,7 +8934,7 @@ const _sfc_main$q = defineComponent({
|
|
|
8920
8934
|
};
|
|
8921
8935
|
}
|
|
8922
8936
|
});
|
|
8923
|
-
var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8937
|
+
var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-3b4b4ed8"]]);
|
|
8924
8938
|
const useSelectionsTable = () => {
|
|
8925
8939
|
const selectionsTableRef = ref();
|
|
8926
8940
|
const isRenderSelectionsTable = ref(false);
|
|
@@ -9020,44 +9034,142 @@ function useTableEls(originTableEls, tableManager) {
|
|
|
9020
9034
|
renderEls
|
|
9021
9035
|
};
|
|
9022
9036
|
}
|
|
9037
|
+
const userSummaryConfigEmiter = new EventEmitter();
|
|
9038
|
+
var SummaryTypeEnum = /* @__PURE__ */ ((SummaryTypeEnum2) => {
|
|
9039
|
+
SummaryTypeEnum2[SummaryTypeEnum2["\u4E0D\u5C55\u793A"] = 0] = "\u4E0D\u5C55\u793A";
|
|
9040
|
+
SummaryTypeEnum2[SummaryTypeEnum2["\u6C42\u548C"] = 1] = "\u6C42\u548C";
|
|
9041
|
+
SummaryTypeEnum2[SummaryTypeEnum2["\u603B\u6570"] = 2] = "\u603B\u6570";
|
|
9042
|
+
return SummaryTypeEnum2;
|
|
9043
|
+
})(SummaryTypeEnum || {});
|
|
9044
|
+
let isHijacked = false;
|
|
9045
|
+
let summaryResult = reactive([]);
|
|
9023
9046
|
function useUserSummary(tableManager) {
|
|
9024
9047
|
var _a, _b;
|
|
9025
9048
|
if (((_a = tableManager.tableProps) == null ? void 0 : _a.summaryMethod) && !((_b = tableManager.tableProps) == null ? void 0 : _b._customSummary)) {
|
|
9026
9049
|
return false;
|
|
9027
9050
|
}
|
|
9028
9051
|
const currentRenderTableEls = tableManager.currentRenderTableEls;
|
|
9029
|
-
const isUsingSummary = currentRenderTableEls.filter((a) => a.prop).some((a) => a.showSummary);
|
|
9052
|
+
const isUsingSummary = tableManager.table.showSummary || currentRenderTableEls.filter((a) => a.prop).some((a) => a.showSummary != null);
|
|
9030
9053
|
if (isUsingSummary) {
|
|
9031
9054
|
const summaryEls = currentRenderTableEls.filter((a) => a.showSummary != null && a.showSummary !== "").filter((a) => a.prop);
|
|
9055
|
+
const isServerSummary = tableManager.table.useServerSummary && typeof tableManager.table.serverSummaryFn === "function";
|
|
9032
9056
|
tableManager.tableProps = tableManager.tableProps || {};
|
|
9033
9057
|
tableManager.tableProps.showSummary = true;
|
|
9034
9058
|
tableManager.tableProps._customSummary = true;
|
|
9059
|
+
let currentTableColumns = [];
|
|
9060
|
+
const config = tableManager.manager.config;
|
|
9061
|
+
let lastSummaryColumns = {};
|
|
9062
|
+
const getSummaryData = debounce(async () => {
|
|
9063
|
+
const summaryColumns = tableManager.currentRenderTableEls.filter((a) => a.showSummary != null && a.showSummary !== "").filter((a) => a.prop).map((a) => {
|
|
9064
|
+
return {
|
|
9065
|
+
prop: a.prop,
|
|
9066
|
+
showSummary: a.showSummary
|
|
9067
|
+
};
|
|
9068
|
+
});
|
|
9069
|
+
const reqResult = tableManager.table.serverSummaryFn.call(
|
|
9070
|
+
tableManager,
|
|
9071
|
+
summaryColumns,
|
|
9072
|
+
cloneDeep(lastSummaryColumns),
|
|
9073
|
+
currentTableColumns
|
|
9074
|
+
);
|
|
9075
|
+
const _result = await reqResult;
|
|
9076
|
+
_result.forEach((item, index2) => {
|
|
9077
|
+
summaryResult[index2] = item;
|
|
9078
|
+
});
|
|
9079
|
+
}, 300);
|
|
9080
|
+
if (isServerSummary) {
|
|
9081
|
+
if (!isHijacked) {
|
|
9082
|
+
let _beforeGetRequest = config.beforeGetRequest;
|
|
9083
|
+
config.beforeGetRequest = async function(reqParams) {
|
|
9084
|
+
if (typeof _beforeGetRequest === "function") {
|
|
9085
|
+
_beforeGetRequest.call(tableManager.manager, reqParams);
|
|
9086
|
+
}
|
|
9087
|
+
lastSummaryColumns = reqParams;
|
|
9088
|
+
getSummaryData();
|
|
9089
|
+
};
|
|
9090
|
+
userSummaryConfigEmiter.on("change", () => {
|
|
9091
|
+
getSummaryData();
|
|
9092
|
+
});
|
|
9093
|
+
isHijacked = true;
|
|
9094
|
+
}
|
|
9095
|
+
}
|
|
9035
9096
|
tableManager.tableProps.summaryMethod = function({
|
|
9036
9097
|
columns,
|
|
9037
9098
|
data
|
|
9038
9099
|
}) {
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9100
|
+
if (!columns.length) {
|
|
9101
|
+
return summaryResult;
|
|
9102
|
+
}
|
|
9103
|
+
if (isServerSummary) {
|
|
9104
|
+
currentTableColumns = columns;
|
|
9105
|
+
} else {
|
|
9106
|
+
const _result = columns.map((column) => {
|
|
9107
|
+
if (!column.property) {
|
|
9108
|
+
return void 0;
|
|
9109
|
+
}
|
|
9110
|
+
const item = summaryEls.find((a) => a.prop === column.property);
|
|
9111
|
+
if (!item) {
|
|
9112
|
+
return void 0;
|
|
9113
|
+
}
|
|
9114
|
+
if (typeof tableManager.table.summaryItemFn === "function") {
|
|
9115
|
+
const result = tableManager.table.summaryItemFn.call(
|
|
9116
|
+
this,
|
|
9117
|
+
data,
|
|
9118
|
+
column.property,
|
|
9119
|
+
item.showSummary
|
|
9120
|
+
);
|
|
9121
|
+
return result;
|
|
9122
|
+
}
|
|
9123
|
+
if (item.showSummary === 1) {
|
|
9124
|
+
const result = data.reduce((memo, item2) => {
|
|
9125
|
+
return memo += Number(item2[column.property]) || 0;
|
|
9126
|
+
}, 0);
|
|
9127
|
+
return typeof tableManager.table.summaryProcessFn === "function" ? tableManager.table.summaryProcessFn.call(this, result) : result.toFixed(2);
|
|
9128
|
+
} else if (item.showSummary === 2) {
|
|
9129
|
+
const result = data.length;
|
|
9130
|
+
return `${result}`;
|
|
9131
|
+
}
|
|
9132
|
+
});
|
|
9133
|
+
_result.forEach((item, index2) => {
|
|
9134
|
+
summaryResult[index2] = item;
|
|
9135
|
+
});
|
|
9136
|
+
}
|
|
9137
|
+
return columns.map((column, index2) => {
|
|
9138
|
+
const tableEl = summaryEls.find((a) => a.prop === column.property);
|
|
9139
|
+
let hasSummary = false;
|
|
9140
|
+
let prefix = "";
|
|
9141
|
+
if (tableEl) {
|
|
9142
|
+
hasSummary = !!tableEl.showSummary;
|
|
9143
|
+
if (hasSummary) {
|
|
9144
|
+
prefix = SummaryTypeEnum[tableEl.showSummary] + "\uFF1A";
|
|
9145
|
+
}
|
|
9058
9146
|
}
|
|
9147
|
+
const val = summaryResult[index2] || "";
|
|
9148
|
+
return h(
|
|
9149
|
+
"div",
|
|
9150
|
+
{
|
|
9151
|
+
className: `pm-summary-cell ${column.property ? "pm-summary-cell-has-prop" : ""}`,
|
|
9152
|
+
onClick: column.property ? (event) => {
|
|
9153
|
+
tableManager.exposeActions.showContextColumnSummary(
|
|
9154
|
+
event,
|
|
9155
|
+
column.property
|
|
9156
|
+
);
|
|
9157
|
+
} : null
|
|
9158
|
+
},
|
|
9159
|
+
[
|
|
9160
|
+
h(
|
|
9161
|
+
"div",
|
|
9162
|
+
{
|
|
9163
|
+
class: `summary-cell-text ${hasSummary ? "show-summary" : ""}`
|
|
9164
|
+
},
|
|
9165
|
+
[
|
|
9166
|
+
hasSummary ? `${prefix}${val}` : "\u7EDF\u8BA1",
|
|
9167
|
+
h(ElIcon, () => h(arrowDown))
|
|
9168
|
+
]
|
|
9169
|
+
)
|
|
9170
|
+
]
|
|
9171
|
+
);
|
|
9059
9172
|
});
|
|
9060
|
-
return [...result];
|
|
9061
9173
|
};
|
|
9062
9174
|
setTimeout(() => {
|
|
9063
9175
|
tableManager.context.$refs.tableRef.doLayout();
|
|
@@ -9086,7 +9198,7 @@ const useExportForm = () => {
|
|
|
9086
9198
|
onExportFormClosed: onClosed
|
|
9087
9199
|
};
|
|
9088
9200
|
};
|
|
9089
|
-
const _sfc_main$
|
|
9201
|
+
const _sfc_main$q = {
|
|
9090
9202
|
props: {
|
|
9091
9203
|
isLoading: {
|
|
9092
9204
|
type: Boolean,
|
|
@@ -9147,9 +9259,9 @@ const useColumnDrag = () => {
|
|
|
9147
9259
|
}
|
|
9148
9260
|
};
|
|
9149
9261
|
};
|
|
9150
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
9151
|
-
const _hoisted_1$
|
|
9152
|
-
const _sfc_main$
|
|
9262
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$8 = "";
|
|
9263
|
+
const _hoisted_1$c = ["onClick"];
|
|
9264
|
+
const _sfc_main$p = defineComponent({
|
|
9153
9265
|
__name: "index",
|
|
9154
9266
|
emits: ["add", "upd", "del", "import", "custom"],
|
|
9155
9267
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -9225,7 +9337,7 @@ const _sfc_main$o = defineComponent({
|
|
|
9225
9337
|
createElementVNode("div", {
|
|
9226
9338
|
class: normalizeClass(["context-menu__item", { disabled: (_a = item.props) == null ? void 0 : _a.disabled }]),
|
|
9227
9339
|
onClick: ($event) => handleItemClick(item)
|
|
9228
|
-
}, toDisplayString(item.text), 11, _hoisted_1$
|
|
9340
|
+
}, toDisplayString(item.text), 11, _hoisted_1$c)
|
|
9229
9341
|
];
|
|
9230
9342
|
}, true)
|
|
9231
9343
|
]),
|
|
@@ -9241,7 +9353,96 @@ const _sfc_main$o = defineComponent({
|
|
|
9241
9353
|
};
|
|
9242
9354
|
}
|
|
9243
9355
|
});
|
|
9244
|
-
var ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9356
|
+
var ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-9222a038"]]);
|
|
9357
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
|
|
9358
|
+
const _hoisted_1$b = { class: "context-menu" };
|
|
9359
|
+
const _hoisted_2$5 = ["onClick"];
|
|
9360
|
+
const _sfc_main$o = defineComponent({
|
|
9361
|
+
__name: "index",
|
|
9362
|
+
props: {
|
|
9363
|
+
els: {}
|
|
9364
|
+
},
|
|
9365
|
+
emits: ["save-columns"],
|
|
9366
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
9367
|
+
const props = __props;
|
|
9368
|
+
const emit = __emit;
|
|
9369
|
+
const simplePopoverRef = ref();
|
|
9370
|
+
const currentColumnProp = ref("");
|
|
9371
|
+
const currentColumnConfig = ref();
|
|
9372
|
+
const options = [
|
|
9373
|
+
{
|
|
9374
|
+
label: "\u4E0D\u5C55\u793A",
|
|
9375
|
+
value: SummaryTypeEnum.\u4E0D\u5C55\u793A
|
|
9376
|
+
},
|
|
9377
|
+
{
|
|
9378
|
+
label: "\u603B\u6570",
|
|
9379
|
+
value: SummaryTypeEnum.\u603B\u6570
|
|
9380
|
+
},
|
|
9381
|
+
{
|
|
9382
|
+
label: "\u6C42\u548C",
|
|
9383
|
+
value: SummaryTypeEnum.\u6C42\u548C
|
|
9384
|
+
}
|
|
9385
|
+
];
|
|
9386
|
+
const show = (event, columnProp) => {
|
|
9387
|
+
var _a;
|
|
9388
|
+
const rect = new DOMRect(event.clientX, event.clientY, 0, 0);
|
|
9389
|
+
(_a = simplePopoverRef.value) == null ? void 0 : _a.show(rect);
|
|
9390
|
+
currentColumnProp.value = columnProp;
|
|
9391
|
+
currentColumnConfig.value = props.els.find((a) => a.prop === columnProp);
|
|
9392
|
+
};
|
|
9393
|
+
const hide = () => {
|
|
9394
|
+
var _a;
|
|
9395
|
+
(_a = simplePopoverRef.value) == null ? void 0 : _a.hide();
|
|
9396
|
+
};
|
|
9397
|
+
const handleItemClick = (summaryType) => {
|
|
9398
|
+
const els = cloneDeep(props.els).map((a) => {
|
|
9399
|
+
a.userConfigShow = a.userConfigShow === false ? false : true;
|
|
9400
|
+
return a;
|
|
9401
|
+
});
|
|
9402
|
+
const el = els.find((a) => a.prop === currentColumnProp.value);
|
|
9403
|
+
el.showSummary = summaryType;
|
|
9404
|
+
emit("save-columns", els);
|
|
9405
|
+
hide();
|
|
9406
|
+
};
|
|
9407
|
+
__expose({
|
|
9408
|
+
show,
|
|
9409
|
+
hide
|
|
9410
|
+
});
|
|
9411
|
+
return (_ctx, _cache) => {
|
|
9412
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
9413
|
+
return openBlock(), createBlock(SimplePopover, {
|
|
9414
|
+
ref_key: "simplePopoverRef",
|
|
9415
|
+
ref: simplePopoverRef,
|
|
9416
|
+
width: 150
|
|
9417
|
+
}, {
|
|
9418
|
+
default: withCtx(() => [
|
|
9419
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
9420
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(options, (item) => {
|
|
9421
|
+
return createElementVNode("div", {
|
|
9422
|
+
key: item.value,
|
|
9423
|
+
class: "context-menu__item",
|
|
9424
|
+
onClick: ($event) => handleItemClick(item.value)
|
|
9425
|
+
}, [
|
|
9426
|
+
item.value === currentColumnConfig.value.showSummary ? (openBlock(), createBlock(_component_el_icon, {
|
|
9427
|
+
key: 0,
|
|
9428
|
+
class: "context-menu__select-icon"
|
|
9429
|
+
}, {
|
|
9430
|
+
default: withCtx(() => [
|
|
9431
|
+
createVNode(unref(select))
|
|
9432
|
+
]),
|
|
9433
|
+
_: 1
|
|
9434
|
+
})) : createCommentVNode("", true),
|
|
9435
|
+
createElementVNode("span", null, toDisplayString(item.label), 1)
|
|
9436
|
+
], 8, _hoisted_2$5);
|
|
9437
|
+
}), 64))
|
|
9438
|
+
])
|
|
9439
|
+
]),
|
|
9440
|
+
_: 1
|
|
9441
|
+
}, 512);
|
|
9442
|
+
};
|
|
9443
|
+
}
|
|
9444
|
+
});
|
|
9445
|
+
var ContextColumnSummary = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-4af18db5"]]);
|
|
9245
9446
|
var index_vue_vue_type_style_index_0_lang$5 = "";
|
|
9246
9447
|
const __default__$b = {
|
|
9247
9448
|
name: "PageModelTable",
|
|
@@ -9286,8 +9487,7 @@ const _sfc_main$n = defineComponent({
|
|
|
9286
9487
|
tableManager.updateCurrentRenderTableEls(cloneDeep(result.renderEls));
|
|
9287
9488
|
useUserSummary(tableManager);
|
|
9288
9489
|
}
|
|
9289
|
-
|
|
9290
|
-
console.log("\u8868\u683C\u914D\u7F6E\u4FEE\u6539");
|
|
9490
|
+
tableUserConfigChangeEmiter.on("change", () => {
|
|
9291
9491
|
setTableEls();
|
|
9292
9492
|
});
|
|
9293
9493
|
watch(
|
|
@@ -9316,9 +9516,11 @@ const _sfc_main$n = defineComponent({
|
|
|
9316
9516
|
};
|
|
9317
9517
|
const onSaveColumns = async (columns) => {
|
|
9318
9518
|
const originColumns = table.value.els;
|
|
9519
|
+
let isSummaryChange = false;
|
|
9319
9520
|
const contents = columns.map((column) => {
|
|
9521
|
+
const originColumnIndex = originColumns.findIndex((a) => a.label === column.label);
|
|
9320
9522
|
const item = {
|
|
9321
|
-
index:
|
|
9523
|
+
index: originColumnIndex,
|
|
9322
9524
|
show: column.userConfigShow ? 1 : 0,
|
|
9323
9525
|
ul: column.userLabel,
|
|
9324
9526
|
w: column.width,
|
|
@@ -9328,6 +9530,10 @@ const _sfc_main$n = defineComponent({
|
|
|
9328
9530
|
if (column.showSummary != null) {
|
|
9329
9531
|
item.sum = Number(column.showSummary);
|
|
9330
9532
|
}
|
|
9533
|
+
const renderColumn = renderedTableEls.value.find((a) => a.prop === column.prop);
|
|
9534
|
+
if (column.showSummary !== renderColumn.showSummary) {
|
|
9535
|
+
isSummaryChange = true;
|
|
9536
|
+
}
|
|
9331
9537
|
return item;
|
|
9332
9538
|
});
|
|
9333
9539
|
const userSetting = PageModelManager.userSetting;
|
|
@@ -9343,6 +9549,9 @@ const _sfc_main$n = defineComponent({
|
|
|
9343
9549
|
} catch (error) {
|
|
9344
9550
|
}
|
|
9345
9551
|
setTableEls();
|
|
9552
|
+
if (isSummaryChange) {
|
|
9553
|
+
userSummaryConfigEmiter.emit("change");
|
|
9554
|
+
}
|
|
9346
9555
|
};
|
|
9347
9556
|
const clearSelection = () => {
|
|
9348
9557
|
tableManager.clearSelection();
|
|
@@ -9476,6 +9685,11 @@ const _sfc_main$n = defineComponent({
|
|
|
9476
9685
|
executeData: [row, rowIndex]
|
|
9477
9686
|
});
|
|
9478
9687
|
};
|
|
9688
|
+
const contextColumnSummaryRef = ref();
|
|
9689
|
+
const showContextColumnSummary = (event, columnProp) => {
|
|
9690
|
+
var _a;
|
|
9691
|
+
(_a = contextColumnSummaryRef.value) == null ? void 0 : _a.show(event, columnProp);
|
|
9692
|
+
};
|
|
9479
9693
|
onUnmounted(() => {
|
|
9480
9694
|
tableManager.onUnmounted();
|
|
9481
9695
|
scrollLifecycle.onUnmounted();
|
|
@@ -9492,7 +9706,8 @@ const _sfc_main$n = defineComponent({
|
|
|
9492
9706
|
showColumnToolSimplePopover,
|
|
9493
9707
|
hideColumnToolSimplePopover,
|
|
9494
9708
|
handleColumnScreen,
|
|
9495
|
-
handleColumnSort
|
|
9709
|
+
handleColumnSort,
|
|
9710
|
+
showContextColumnSummary
|
|
9496
9711
|
};
|
|
9497
9712
|
tableManager.exposeActions = exposeActions;
|
|
9498
9713
|
__expose({
|
|
@@ -9507,7 +9722,7 @@ const _sfc_main$n = defineComponent({
|
|
|
9507
9722
|
const _component_el_popconfirm = resolveComponent("el-popconfirm");
|
|
9508
9723
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
9509
9724
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
9510
|
-
createVNode(_sfc_main$
|
|
9725
|
+
createVNode(_sfc_main$q, {
|
|
9511
9726
|
class: normalizeClass([unref(createBEMName)("table")]),
|
|
9512
9727
|
isLoading: tableManager.loadingData,
|
|
9513
9728
|
directiveName: table.value.loadingDirectiveName
|
|
@@ -9531,7 +9746,7 @@ const _sfc_main$n = defineComponent({
|
|
|
9531
9746
|
unref(PageModelManager).emptyTableComponent ? (openBlock(), createBlock(resolveDynamicComponent(unref(PageModelManager).emptyTableComponent), {
|
|
9532
9747
|
key: 0,
|
|
9533
9748
|
text: (_a = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _a.emptyText
|
|
9534
|
-
}, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$
|
|
9749
|
+
}, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$s, {
|
|
9535
9750
|
key: 1,
|
|
9536
9751
|
text: (_b = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _b.emptyText
|
|
9537
9752
|
}, null, 8, ["text"]))
|
|
@@ -9601,7 +9816,7 @@ const _sfc_main$n = defineComponent({
|
|
|
9601
9816
|
_: 1
|
|
9602
9817
|
}, 16, ["width"])) : createCommentVNode("", true)
|
|
9603
9818
|
], 64)) : createCommentVNode("", true),
|
|
9604
|
-
createVNode(_sfc_main$
|
|
9819
|
+
createVNode(_sfc_main$y, {
|
|
9605
9820
|
els: renderedTableEls.value,
|
|
9606
9821
|
context: tableManager,
|
|
9607
9822
|
onColumnScreen: handleColumnScreen
|
|
@@ -9721,10 +9936,18 @@ const _sfc_main$n = defineComponent({
|
|
|
9721
9936
|
]),
|
|
9722
9937
|
_: 1
|
|
9723
9938
|
}, 512),
|
|
9724
|
-
|
|
9939
|
+
table.value.contextMenu ? (openBlock(), createBlock(ContextMenu, mergeProps({
|
|
9940
|
+
key: 3,
|
|
9725
9941
|
ref_key: "contextMenuRef",
|
|
9726
9942
|
ref: contextMenuRef
|
|
9727
|
-
}, _ctx.$attrs), null, 16)
|
|
9943
|
+
}, _ctx.$attrs), null, 16)) : createCommentVNode("", true),
|
|
9944
|
+
tableManager.tableProps.showSummary ? (openBlock(), createBlock(ContextColumnSummary, {
|
|
9945
|
+
key: 4,
|
|
9946
|
+
ref_key: "contextColumnSummaryRef",
|
|
9947
|
+
ref: contextColumnSummaryRef,
|
|
9948
|
+
els: renderedTableEls.value,
|
|
9949
|
+
onSaveColumns
|
|
9950
|
+
}, null, 8, ["els"])) : createCommentVNode("", true)
|
|
9728
9951
|
], 64);
|
|
9729
9952
|
};
|
|
9730
9953
|
}
|
|
@@ -10402,7 +10625,7 @@ const _sfc_main$h = defineComponent({
|
|
|
10402
10625
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
10403
10626
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
10404
10627
|
const _component_el_button = resolveComponent("el-button");
|
|
10405
|
-
return openBlock(), createBlock(_sfc_main$
|
|
10628
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
10406
10629
|
modelValue: visible.value,
|
|
10407
10630
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
|
|
10408
10631
|
title: "\u8868\u5355\u914D\u7F6E",
|
|
@@ -10468,7 +10691,7 @@ const _sfc_main$h = defineComponent({
|
|
|
10468
10691
|
], 2);
|
|
10469
10692
|
}), 128))
|
|
10470
10693
|
], 2),
|
|
10471
|
-
createVNode(_sfc_main$
|
|
10694
|
+
createVNode(_sfc_main$x, {
|
|
10472
10695
|
modelValue: innerEls.value,
|
|
10473
10696
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
10474
10697
|
"item-key": "_key"
|
|
@@ -10851,7 +11074,7 @@ const _sfc_main$g = defineComponent({
|
|
|
10851
11074
|
key: 0,
|
|
10852
11075
|
class: normalizeClass(unref(createBEMName)("prefix"))
|
|
10853
11076
|
}, toDisplayString(renderDeText(item.prefix, formManager.formData)), 3)) : createCommentVNode("", true),
|
|
10854
|
-
createVNode(_sfc_main$
|
|
11077
|
+
createVNode(_sfc_main$F, {
|
|
10855
11078
|
modelValue: formManager.formData[item.prop],
|
|
10856
11079
|
renderFn: item.renderFn,
|
|
10857
11080
|
context: formManager,
|
|
@@ -10978,7 +11201,7 @@ const _sfc_main$f = defineComponent({
|
|
|
10978
11201
|
});
|
|
10979
11202
|
return (_ctx, _cache) => {
|
|
10980
11203
|
const _component_el_button = resolveComponent("el-button");
|
|
10981
|
-
return formVisible.value ? (openBlock(), createBlock(_sfc_main$
|
|
11204
|
+
return formVisible.value ? (openBlock(), createBlock(_sfc_main$E, {
|
|
10982
11205
|
key: 0,
|
|
10983
11206
|
modelValue: formVisible.value,
|
|
10984
11207
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formVisible.value = $event),
|
|
@@ -12541,7 +12764,7 @@ const _sfc_main$7 = defineComponent({
|
|
|
12541
12764
|
_: 1
|
|
12542
12765
|
})
|
|
12543
12766
|
], 2),
|
|
12544
|
-
createVNode(_sfc_main$
|
|
12767
|
+
createVNode(_sfc_main$x, {
|
|
12545
12768
|
modelValue: filterList.value,
|
|
12546
12769
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterList.value = $event),
|
|
12547
12770
|
itemKey: "prop",
|
|
@@ -12726,7 +12949,7 @@ const _sfc_main$6 = defineComponent({
|
|
|
12726
12949
|
_updateUserConfig({
|
|
12727
12950
|
...userConfigFormData.value
|
|
12728
12951
|
});
|
|
12729
|
-
|
|
12952
|
+
tableUserConfigChangeEmiter.emit("change");
|
|
12730
12953
|
};
|
|
12731
12954
|
__expose({
|
|
12732
12955
|
showPopover,
|
|
@@ -12776,7 +12999,7 @@ const _sfc_main$6 = defineComponent({
|
|
|
12776
12999
|
};
|
|
12777
13000
|
}
|
|
12778
13001
|
});
|
|
12779
|
-
var LineClampTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
13002
|
+
var LineClampTools = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-71d3e62f"]]);
|
|
12780
13003
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
12781
13004
|
const _hoisted_1$3 = ["data-event", "onClick"];
|
|
12782
13005
|
const __default__$4 = {
|
|
@@ -13018,7 +13241,7 @@ const patchSelectable = (config) => {
|
|
|
13018
13241
|
return config;
|
|
13019
13242
|
};
|
|
13020
13243
|
const patchConfigSize = (config) => {
|
|
13021
|
-
var _a, _b, _c, _d
|
|
13244
|
+
var _a, _b, _c, _d;
|
|
13022
13245
|
const settedSize = config.size;
|
|
13023
13246
|
if (settedSize) {
|
|
13024
13247
|
try {
|
|
@@ -13033,18 +13256,7 @@ const patchConfigSize = (config) => {
|
|
|
13033
13256
|
} catch (error) {
|
|
13034
13257
|
}
|
|
13035
13258
|
try {
|
|
13036
|
-
if ((_b = config.
|
|
13037
|
-
config.action.els.forEach((el) => {
|
|
13038
|
-
if (!el.props) {
|
|
13039
|
-
el.props = {};
|
|
13040
|
-
}
|
|
13041
|
-
el.props.size = settedSize;
|
|
13042
|
-
});
|
|
13043
|
-
}
|
|
13044
|
-
} catch (error) {
|
|
13045
|
-
}
|
|
13046
|
-
try {
|
|
13047
|
-
if ((_d = (_c = config.table) == null ? void 0 : _c.operate) == null ? void 0 : _d.els) {
|
|
13259
|
+
if ((_c = (_b = config.table) == null ? void 0 : _b.operate) == null ? void 0 : _c.els) {
|
|
13048
13260
|
config.table.operate.els.forEach((el) => {
|
|
13049
13261
|
if (!el.props) {
|
|
13050
13262
|
el.props = {};
|
|
@@ -13055,7 +13267,7 @@ const patchConfigSize = (config) => {
|
|
|
13055
13267
|
} catch (error) {
|
|
13056
13268
|
}
|
|
13057
13269
|
try {
|
|
13058
|
-
if ((
|
|
13270
|
+
if ((_d = config.form) == null ? void 0 : _d.els) {
|
|
13059
13271
|
config.form.els.forEach((el) => {
|
|
13060
13272
|
if (!el.props) {
|
|
13061
13273
|
el.props = {};
|
|
@@ -13615,7 +13827,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
13615
13827
|
key: 0,
|
|
13616
13828
|
class: normalizeClass(unref(createBEMName)("top-tabs"))
|
|
13617
13829
|
}, [
|
|
13618
|
-
hasTabs.value ? (openBlock(), createBlock(_sfc_main$
|
|
13830
|
+
hasTabs.value ? (openBlock(), createBlock(_sfc_main$16, {
|
|
13619
13831
|
key: 0,
|
|
13620
13832
|
tabs: uConfig.value.tabs,
|
|
13621
13833
|
manager,
|
|
@@ -13631,7 +13843,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
13631
13843
|
key: 1,
|
|
13632
13844
|
class: normalizeClass(unref(createBEMName)("search"))
|
|
13633
13845
|
}, [
|
|
13634
|
-
createVNode(_sfc_main$
|
|
13846
|
+
createVNode(_sfc_main$C, {
|
|
13635
13847
|
ref_key: "searchFormRef",
|
|
13636
13848
|
ref: searchFormRef,
|
|
13637
13849
|
manager
|
|
@@ -13919,7 +14131,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
13919
14131
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
13920
14132
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
13921
14133
|
const _component_el_button = resolveComponent("el-button");
|
|
13922
|
-
return openBlock(), createBlock(_sfc_main$
|
|
14134
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
13923
14135
|
modelValue: visible.value,
|
|
13924
14136
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
13925
14137
|
title: "\u7F16\u8F91\u8868\u683C",
|
|
@@ -13962,7 +14174,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
13962
14174
|
], 2);
|
|
13963
14175
|
}), 128))
|
|
13964
14176
|
], 2),
|
|
13965
|
-
createVNode(_sfc_main$
|
|
14177
|
+
createVNode(_sfc_main$x, {
|
|
13966
14178
|
modelValue: innerEls.value,
|
|
13967
14179
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
13968
14180
|
"item-key": "_key"
|
|
@@ -14126,7 +14338,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
14126
14338
|
createElementVNode("div", {
|
|
14127
14339
|
class: normalizeClass(unref(createBEMName)("list"))
|
|
14128
14340
|
}, [
|
|
14129
|
-
createVNode(_sfc_main$
|
|
14341
|
+
createVNode(_sfc_main$x, {
|
|
14130
14342
|
modelValue: innerEls.value,
|
|
14131
14343
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
14132
14344
|
class: normalizeClass(unref(BEMSpace)),
|
|
@@ -14589,7 +14801,7 @@ const _sfc_main = defineComponent({
|
|
|
14589
14801
|
}, {
|
|
14590
14802
|
default: withCtx(() => [
|
|
14591
14803
|
_ctx.alwaysShowEdit || isCurrentRowFocus($index) ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
14592
|
-
createVNode(_sfc_main$
|
|
14804
|
+
createVNode(_sfc_main$B, {
|
|
14593
14805
|
"render-fn": column.renderFn,
|
|
14594
14806
|
pure: "",
|
|
14595
14807
|
row,
|
|
@@ -14659,7 +14871,7 @@ const defineEditableTable = function(config) {
|
|
|
14659
14871
|
};
|
|
14660
14872
|
var iconfont = "";
|
|
14661
14873
|
const name = "@juzhenfe/page-model";
|
|
14662
|
-
const version = "3.
|
|
14874
|
+
const version = "3.17.0";
|
|
14663
14875
|
const types = "dist/main.d.ts";
|
|
14664
14876
|
const main = "dist/index.umd.js";
|
|
14665
14877
|
const keywords = [
|
|
@@ -14739,4 +14951,4 @@ const ModelComponent = {
|
|
|
14739
14951
|
saveTableColumns(content);
|
|
14740
14952
|
}
|
|
14741
14953
|
};
|
|
14742
|
-
export { ButtonsRenderer, _sfc_main$
|
|
14954
|
+
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 };
|