@juzhenfe/page-model 3.9.41 → 3.9.42
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/form/type.d.ts +5 -3
- package/dist/components/form-container/components/drawer-mode/index.vue.d.ts +116 -0
- package/dist/components/form-drawer/index.vue.d.ts +78 -0
- package/dist/index.es.js +344 -178
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -3
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -217,11 +217,11 @@ function retryFunc(fn, isCanExecute, retryTimes = 3, interval = 100) {
|
|
|
217
217
|
});
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
|
-
const _hoisted_1$
|
|
220
|
+
const _hoisted_1$t = { class: "scenes-tab" };
|
|
221
221
|
const __default__$n = {
|
|
222
222
|
name: "ScenesTab"
|
|
223
223
|
};
|
|
224
|
-
const _sfc_main$
|
|
224
|
+
const _sfc_main$T = defineComponent({
|
|
225
225
|
...__default__$n,
|
|
226
226
|
setup(__props, { expose: __expose }) {
|
|
227
227
|
const getValue = () => {
|
|
@@ -231,15 +231,15 @@ const _sfc_main$R = defineComponent({
|
|
|
231
231
|
getValue
|
|
232
232
|
});
|
|
233
233
|
return (_ctx, _cache) => {
|
|
234
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
234
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t);
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
});
|
|
238
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
238
|
+
var index_vue_vue_type_style_index_0_lang$d = "";
|
|
239
239
|
const __default__$m = {
|
|
240
240
|
name: "NormalTab"
|
|
241
241
|
};
|
|
242
|
-
const _sfc_main$
|
|
242
|
+
const _sfc_main$S = defineComponent({
|
|
243
243
|
...__default__$m,
|
|
244
244
|
props: {
|
|
245
245
|
panes: {},
|
|
@@ -1033,11 +1033,11 @@ class TopTabsManager extends IManager {
|
|
|
1033
1033
|
this.context = markRaw(context);
|
|
1034
1034
|
}
|
|
1035
1035
|
}
|
|
1036
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
1036
|
+
var index_vue_vue_type_style_index_0_lang$c = "";
|
|
1037
1037
|
const __default__$l = {
|
|
1038
1038
|
name: "TopTabs"
|
|
1039
1039
|
};
|
|
1040
|
-
const _sfc_main$
|
|
1040
|
+
const _sfc_main$R = defineComponent({
|
|
1041
1041
|
...__default__$l,
|
|
1042
1042
|
props: {
|
|
1043
1043
|
tabs: {},
|
|
@@ -1058,12 +1058,12 @@ const _sfc_main$P = defineComponent({
|
|
|
1058
1058
|
const tabComponent = computed(() => {
|
|
1059
1059
|
if (props.tabs.useScene) {
|
|
1060
1060
|
return {
|
|
1061
|
-
component: _sfc_main$
|
|
1061
|
+
component: _sfc_main$T,
|
|
1062
1062
|
props: props.tabs.sceneTab
|
|
1063
1063
|
};
|
|
1064
1064
|
} else {
|
|
1065
1065
|
return {
|
|
1066
|
-
component: _sfc_main$
|
|
1066
|
+
component: _sfc_main$S,
|
|
1067
1067
|
props: {
|
|
1068
1068
|
panes: props.tabs.panes,
|
|
1069
1069
|
props: props.tabs.props
|
|
@@ -1683,10 +1683,10 @@ var _export_sfc$1 = (sfc, props) => {
|
|
|
1683
1683
|
}
|
|
1684
1684
|
return target;
|
|
1685
1685
|
};
|
|
1686
|
-
const _sfc_main$
|
|
1686
|
+
const _sfc_main$Q = defineComponent({
|
|
1687
1687
|
name: "ArrowDownBold"
|
|
1688
1688
|
});
|
|
1689
|
-
const _hoisted_1$
|
|
1689
|
+
const _hoisted_1$s = {
|
|
1690
1690
|
class: "icon",
|
|
1691
1691
|
width: "200",
|
|
1692
1692
|
height: "200",
|
|
@@ -1701,13 +1701,13 @@ const _hoisted_3$l = [
|
|
|
1701
1701
|
_hoisted_2$m
|
|
1702
1702
|
];
|
|
1703
1703
|
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1704
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1704
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$l);
|
|
1705
1705
|
}
|
|
1706
|
-
var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1707
|
-
const _sfc_main$
|
|
1706
|
+
var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$g]]);
|
|
1707
|
+
const _sfc_main$P = defineComponent({
|
|
1708
1708
|
name: "ArrowDown"
|
|
1709
1709
|
});
|
|
1710
|
-
const _hoisted_1$
|
|
1710
|
+
const _hoisted_1$r = {
|
|
1711
1711
|
class: "icon",
|
|
1712
1712
|
width: "200",
|
|
1713
1713
|
height: "200",
|
|
@@ -1722,13 +1722,13 @@ const _hoisted_3$k = [
|
|
|
1722
1722
|
_hoisted_2$l
|
|
1723
1723
|
];
|
|
1724
1724
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1725
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1725
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$k);
|
|
1726
1726
|
}
|
|
1727
|
-
var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1728
|
-
const _sfc_main$
|
|
1727
|
+
var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$f]]);
|
|
1728
|
+
const _sfc_main$O = defineComponent({
|
|
1729
1729
|
name: "CaretBottom"
|
|
1730
1730
|
});
|
|
1731
|
-
const _hoisted_1$
|
|
1731
|
+
const _hoisted_1$q = {
|
|
1732
1732
|
class: "icon",
|
|
1733
1733
|
width: "200",
|
|
1734
1734
|
height: "200",
|
|
@@ -1743,13 +1743,13 @@ const _hoisted_3$j = [
|
|
|
1743
1743
|
_hoisted_2$k
|
|
1744
1744
|
];
|
|
1745
1745
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1746
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1746
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$j);
|
|
1747
1747
|
}
|
|
1748
|
-
var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1749
|
-
const _sfc_main$
|
|
1748
|
+
var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$e]]);
|
|
1749
|
+
const _sfc_main$N = defineComponent({
|
|
1750
1750
|
name: "CaretRight"
|
|
1751
1751
|
});
|
|
1752
|
-
const _hoisted_1$
|
|
1752
|
+
const _hoisted_1$p = {
|
|
1753
1753
|
class: "icon",
|
|
1754
1754
|
width: "200",
|
|
1755
1755
|
height: "200",
|
|
@@ -1764,13 +1764,13 @@ const _hoisted_3$i = [
|
|
|
1764
1764
|
_hoisted_2$j
|
|
1765
1765
|
];
|
|
1766
1766
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1767
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1767
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$i);
|
|
1768
1768
|
}
|
|
1769
|
-
var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1770
|
-
const _sfc_main$
|
|
1769
|
+
var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$d]]);
|
|
1770
|
+
const _sfc_main$M = defineComponent({
|
|
1771
1771
|
name: "CaretTop"
|
|
1772
1772
|
});
|
|
1773
|
-
const _hoisted_1$
|
|
1773
|
+
const _hoisted_1$o = {
|
|
1774
1774
|
class: "icon",
|
|
1775
1775
|
width: "200",
|
|
1776
1776
|
height: "200",
|
|
@@ -1785,13 +1785,13 @@ const _hoisted_3$h = [
|
|
|
1785
1785
|
_hoisted_2$i
|
|
1786
1786
|
];
|
|
1787
1787
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1788
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1788
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$h);
|
|
1789
1789
|
}
|
|
1790
|
-
var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1791
|
-
const _sfc_main$
|
|
1790
|
+
var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$c]]);
|
|
1791
|
+
const _sfc_main$L = defineComponent({
|
|
1792
1792
|
name: "CirclePlusFilled"
|
|
1793
1793
|
});
|
|
1794
|
-
const _hoisted_1$
|
|
1794
|
+
const _hoisted_1$n = {
|
|
1795
1795
|
class: "icon",
|
|
1796
1796
|
width: "200",
|
|
1797
1797
|
height: "200",
|
|
@@ -1806,13 +1806,13 @@ const _hoisted_3$g = [
|
|
|
1806
1806
|
_hoisted_2$h
|
|
1807
1807
|
];
|
|
1808
1808
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1809
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1809
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$g);
|
|
1810
1810
|
}
|
|
1811
|
-
var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1812
|
-
const _sfc_main$
|
|
1811
|
+
var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$b]]);
|
|
1812
|
+
const _sfc_main$K = defineComponent({
|
|
1813
1813
|
name: "CirclePlus"
|
|
1814
1814
|
});
|
|
1815
|
-
const _hoisted_1$
|
|
1815
|
+
const _hoisted_1$m = {
|
|
1816
1816
|
class: "icon",
|
|
1817
1817
|
width: "200",
|
|
1818
1818
|
height: "200",
|
|
@@ -1837,13 +1837,13 @@ const _hoisted_5$3 = [
|
|
|
1837
1837
|
_hoisted_4$6
|
|
1838
1838
|
];
|
|
1839
1839
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1840
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1840
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_5$3);
|
|
1841
1841
|
}
|
|
1842
|
-
var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1843
|
-
const _sfc_main$
|
|
1842
|
+
var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$a]]);
|
|
1843
|
+
const _sfc_main$J = defineComponent({
|
|
1844
1844
|
name: "Edit"
|
|
1845
1845
|
});
|
|
1846
|
-
const _hoisted_1$
|
|
1846
|
+
const _hoisted_1$l = {
|
|
1847
1847
|
class: "icon",
|
|
1848
1848
|
width: "200",
|
|
1849
1849
|
height: "200",
|
|
@@ -1863,13 +1863,13 @@ const _hoisted_4$5 = [
|
|
|
1863
1863
|
_hoisted_3$e
|
|
1864
1864
|
];
|
|
1865
1865
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1866
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1866
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_4$5);
|
|
1867
1867
|
}
|
|
1868
|
-
var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1869
|
-
const _sfc_main$
|
|
1868
|
+
var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$9]]);
|
|
1869
|
+
const _sfc_main$I = defineComponent({
|
|
1870
1870
|
name: "Filter"
|
|
1871
1871
|
});
|
|
1872
|
-
const _hoisted_1$
|
|
1872
|
+
const _hoisted_1$k = {
|
|
1873
1873
|
class: "icon",
|
|
1874
1874
|
width: "200",
|
|
1875
1875
|
height: "200",
|
|
@@ -1884,13 +1884,13 @@ const _hoisted_3$d = [
|
|
|
1884
1884
|
_hoisted_2$e
|
|
1885
1885
|
];
|
|
1886
1886
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1887
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1887
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$d);
|
|
1888
1888
|
}
|
|
1889
|
-
var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1890
|
-
const _sfc_main$
|
|
1889
|
+
var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$8]]);
|
|
1890
|
+
const _sfc_main$H = defineComponent({
|
|
1891
1891
|
name: "Grid"
|
|
1892
1892
|
});
|
|
1893
|
-
const _hoisted_1$
|
|
1893
|
+
const _hoisted_1$j = {
|
|
1894
1894
|
class: "icon",
|
|
1895
1895
|
width: "200",
|
|
1896
1896
|
height: "200",
|
|
@@ -1905,13 +1905,13 @@ const _hoisted_3$c = [
|
|
|
1905
1905
|
_hoisted_2$d
|
|
1906
1906
|
];
|
|
1907
1907
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1908
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1908
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$c);
|
|
1909
1909
|
}
|
|
1910
|
-
var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1911
|
-
const _sfc_main$
|
|
1910
|
+
var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$7]]);
|
|
1911
|
+
const _sfc_main$G = defineComponent({
|
|
1912
1912
|
name: "Loading"
|
|
1913
1913
|
});
|
|
1914
|
-
const _hoisted_1$
|
|
1914
|
+
const _hoisted_1$i = {
|
|
1915
1915
|
class: "icon",
|
|
1916
1916
|
width: "200",
|
|
1917
1917
|
height: "200",
|
|
@@ -1926,13 +1926,13 @@ const _hoisted_3$b = [
|
|
|
1926
1926
|
_hoisted_2$c
|
|
1927
1927
|
];
|
|
1928
1928
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1929
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1929
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$b);
|
|
1930
1930
|
}
|
|
1931
|
-
var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1932
|
-
const _sfc_main$
|
|
1931
|
+
var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$6]]);
|
|
1932
|
+
const _sfc_main$F = defineComponent({
|
|
1933
1933
|
name: "QuestionFilled"
|
|
1934
1934
|
});
|
|
1935
|
-
const _hoisted_1$
|
|
1935
|
+
const _hoisted_1$h = {
|
|
1936
1936
|
class: "icon",
|
|
1937
1937
|
width: "200",
|
|
1938
1938
|
height: "200",
|
|
@@ -1947,13 +1947,13 @@ const _hoisted_3$a = [
|
|
|
1947
1947
|
_hoisted_2$b
|
|
1948
1948
|
];
|
|
1949
1949
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1950
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1950
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$a);
|
|
1951
1951
|
}
|
|
1952
|
-
var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1953
|
-
const _sfc_main$
|
|
1952
|
+
var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$5]]);
|
|
1953
|
+
const _sfc_main$E = defineComponent({
|
|
1954
1954
|
name: "RefreshLeft"
|
|
1955
1955
|
});
|
|
1956
|
-
const _hoisted_1$
|
|
1956
|
+
const _hoisted_1$g = {
|
|
1957
1957
|
class: "icon",
|
|
1958
1958
|
width: "200",
|
|
1959
1959
|
height: "200",
|
|
@@ -1968,13 +1968,13 @@ const _hoisted_3$9 = [
|
|
|
1968
1968
|
_hoisted_2$a
|
|
1969
1969
|
];
|
|
1970
1970
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1971
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1971
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$g, _hoisted_3$9);
|
|
1972
1972
|
}
|
|
1973
|
-
var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1974
|
-
const _sfc_main$
|
|
1973
|
+
var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$4]]);
|
|
1974
|
+
const _sfc_main$D = defineComponent({
|
|
1975
1975
|
name: "RemoveFilled"
|
|
1976
1976
|
});
|
|
1977
|
-
const _hoisted_1$
|
|
1977
|
+
const _hoisted_1$f = {
|
|
1978
1978
|
class: "icon",
|
|
1979
1979
|
width: "200",
|
|
1980
1980
|
height: "200",
|
|
@@ -1989,13 +1989,13 @@ const _hoisted_3$8 = [
|
|
|
1989
1989
|
_hoisted_2$9
|
|
1990
1990
|
];
|
|
1991
1991
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1992
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1992
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$f, _hoisted_3$8);
|
|
1993
1993
|
}
|
|
1994
|
-
var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1995
|
-
const _sfc_main$
|
|
1994
|
+
var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["render", _sfc_render$3]]);
|
|
1995
|
+
const _sfc_main$C = defineComponent({
|
|
1996
1996
|
name: "Remove"
|
|
1997
1997
|
});
|
|
1998
|
-
const _hoisted_1$
|
|
1998
|
+
const _hoisted_1$e = {
|
|
1999
1999
|
class: "icon",
|
|
2000
2000
|
width: "200",
|
|
2001
2001
|
height: "200",
|
|
@@ -2015,13 +2015,13 @@ const _hoisted_4$4 = [
|
|
|
2015
2015
|
_hoisted_3$7
|
|
2016
2016
|
];
|
|
2017
2017
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2018
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
2018
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$e, _hoisted_4$4);
|
|
2019
2019
|
}
|
|
2020
|
-
var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2021
|
-
const _sfc_main$
|
|
2020
|
+
var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$2]]);
|
|
2021
|
+
const _sfc_main$B = defineComponent({
|
|
2022
2022
|
name: "Select"
|
|
2023
2023
|
});
|
|
2024
|
-
const _hoisted_1$
|
|
2024
|
+
const _hoisted_1$d = {
|
|
2025
2025
|
class: "icon",
|
|
2026
2026
|
width: "200",
|
|
2027
2027
|
height: "200",
|
|
@@ -2036,13 +2036,13 @@ const _hoisted_3$6 = [
|
|
|
2036
2036
|
_hoisted_2$7
|
|
2037
2037
|
];
|
|
2038
2038
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2039
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
2039
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$d, _hoisted_3$6);
|
|
2040
2040
|
}
|
|
2041
|
-
var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2042
|
-
const _sfc_main$
|
|
2041
|
+
var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["render", _sfc_render$1]]);
|
|
2042
|
+
const _sfc_main$A = defineComponent({
|
|
2043
2043
|
name: "Tools"
|
|
2044
2044
|
});
|
|
2045
|
-
const _hoisted_1$
|
|
2045
|
+
const _hoisted_1$c = {
|
|
2046
2046
|
class: "icon",
|
|
2047
2047
|
width: "200",
|
|
2048
2048
|
height: "200",
|
|
@@ -2057,14 +2057,14 @@ const _hoisted_3$5 = [
|
|
|
2057
2057
|
_hoisted_2$6
|
|
2058
2058
|
];
|
|
2059
2059
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2060
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
2060
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$c, _hoisted_3$5);
|
|
2061
2061
|
}
|
|
2062
|
-
var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2063
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
2062
|
+
var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["render", _sfc_render]]);
|
|
2063
|
+
var index_vue_vue_type_style_index_0_lang$b = "";
|
|
2064
2064
|
const __default__$k = {
|
|
2065
2065
|
name: "ButtonRenderer"
|
|
2066
2066
|
};
|
|
2067
|
-
const _sfc_main$
|
|
2067
|
+
const _sfc_main$z = defineComponent({
|
|
2068
2068
|
...__default__$k,
|
|
2069
2069
|
props: {
|
|
2070
2070
|
els: {},
|
|
@@ -2240,7 +2240,7 @@ const __default__$j = {
|
|
|
2240
2240
|
name: "SelectableOpearte",
|
|
2241
2241
|
inheritAttrs: false
|
|
2242
2242
|
};
|
|
2243
|
-
const _sfc_main$
|
|
2243
|
+
const _sfc_main$y = defineComponent({
|
|
2244
2244
|
...__default__$j,
|
|
2245
2245
|
props: {
|
|
2246
2246
|
els: {},
|
|
@@ -2254,7 +2254,7 @@ const _sfc_main$w = defineComponent({
|
|
|
2254
2254
|
return ((_a = props.tableManager) == null ? void 0 : _a.selection) || [];
|
|
2255
2255
|
});
|
|
2256
2256
|
return (_ctx, _cache) => {
|
|
2257
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2257
|
+
return openBlock(), createBlock(_sfc_main$z, mergeProps({
|
|
2258
2258
|
els: props.els,
|
|
2259
2259
|
"execute-data": [executeData.value],
|
|
2260
2260
|
context: props.manager
|
|
@@ -2266,7 +2266,7 @@ const __default__$i = {
|
|
|
2266
2266
|
name: "ActionTools",
|
|
2267
2267
|
inheritAttrs: false
|
|
2268
2268
|
};
|
|
2269
|
-
const _sfc_main$
|
|
2269
|
+
const _sfc_main$x = defineComponent({
|
|
2270
2270
|
...__default__$i,
|
|
2271
2271
|
props: {
|
|
2272
2272
|
action: {},
|
|
@@ -2276,7 +2276,7 @@ const _sfc_main$v = defineComponent({
|
|
|
2276
2276
|
const props = __props;
|
|
2277
2277
|
return (_ctx, _cache) => {
|
|
2278
2278
|
return openBlock(), createElementBlock("div", null, [
|
|
2279
|
-
createVNode(_sfc_main$
|
|
2279
|
+
createVNode(_sfc_main$z, mergeProps({
|
|
2280
2280
|
els: props.action.els,
|
|
2281
2281
|
context: props.manager
|
|
2282
2282
|
}, _ctx.$attrs), null, 16, ["els", "context"])
|
|
@@ -2351,7 +2351,7 @@ class SearchFormManager extends IManager {
|
|
|
2351
2351
|
this.manager = manager;
|
|
2352
2352
|
}
|
|
2353
2353
|
}
|
|
2354
|
-
const _sfc_main$
|
|
2354
|
+
const _sfc_main$w = defineComponent({
|
|
2355
2355
|
name: "FormItemRenderer",
|
|
2356
2356
|
props: {
|
|
2357
2357
|
modelValue: null,
|
|
@@ -5016,11 +5016,11 @@ var interact_min = { exports: {} };
|
|
|
5016
5016
|
});
|
|
5017
5017
|
})(interact_min);
|
|
5018
5018
|
var interactjs = interact_min.exports;
|
|
5019
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
5020
|
-
const _hoisted_1$
|
|
5019
|
+
var index_vue_vue_type_style_index_0_lang$a = "";
|
|
5020
|
+
const _hoisted_1$b = { class: "el-dialog__title" };
|
|
5021
5021
|
const MIN_WIDTH = 300;
|
|
5022
5022
|
const MIN_HEIGHT = 160;
|
|
5023
|
-
const _sfc_main$
|
|
5023
|
+
const _sfc_main$v = defineComponent({
|
|
5024
5024
|
__name: "index",
|
|
5025
5025
|
props: {
|
|
5026
5026
|
modelValue: { type: Boolean },
|
|
@@ -5110,7 +5110,7 @@ const _sfc_main$t = defineComponent({
|
|
|
5110
5110
|
class: `${unref(BEMSpace)} ${props.customClass}`
|
|
5111
5111
|
}, props.dialogProps || {}, toHandlers(props.dialogEvents || {}), { "onUpdate:modelValue": onUpdateModelValue }), {
|
|
5112
5112
|
header: withCtx(() => [
|
|
5113
|
-
createElementVNode("span", _hoisted_1$
|
|
5113
|
+
createElementVNode("span", _hoisted_1$b, toDisplayString(_ctx.title), 1)
|
|
5114
5114
|
]),
|
|
5115
5115
|
footer: withCtx(() => [
|
|
5116
5116
|
renderSlot(_ctx.$slots, "bottom"),
|
|
@@ -5126,8 +5126,8 @@ const _sfc_main$t = defineComponent({
|
|
|
5126
5126
|
};
|
|
5127
5127
|
}
|
|
5128
5128
|
});
|
|
5129
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
5130
|
-
const _sfc_main$
|
|
5129
|
+
var index_vue_vue_type_style_index_0_lang$9 = "";
|
|
5130
|
+
const _sfc_main$u = defineComponent({
|
|
5131
5131
|
__name: "index",
|
|
5132
5132
|
emits: ["filter"],
|
|
5133
5133
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -5162,7 +5162,7 @@ const _sfc_main$s = defineComponent({
|
|
|
5162
5162
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
5163
5163
|
const _component_el_form = resolveComponent("el-form");
|
|
5164
5164
|
const _component_el_button = resolveComponent("el-button");
|
|
5165
|
-
return openBlock(), createBlock(_sfc_main$
|
|
5165
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
5166
5166
|
modelValue: isShow.value,
|
|
5167
5167
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isShow.value = $event),
|
|
5168
5168
|
title: "\u7B5B\u9009\u6761\u4EF6",
|
|
@@ -5205,7 +5205,7 @@ const _sfc_main$s = defineComponent({
|
|
|
5205
5205
|
prop: item.prop
|
|
5206
5206
|
}), {
|
|
5207
5207
|
default: withCtx(() => [
|
|
5208
|
-
createVNode(_sfc_main$
|
|
5208
|
+
createVNode(_sfc_main$w, {
|
|
5209
5209
|
modelValue: formData.value[item.prop],
|
|
5210
5210
|
"onUpdate:modelValue": ($event) => formData.value[item.prop] = $event,
|
|
5211
5211
|
renderFn: item.renderFn,
|
|
@@ -6538,11 +6538,11 @@ const useDetectItemWidth = function(searchFormRef, totalShowFormEls) {
|
|
|
6538
6538
|
doSearchFormLayout: calcShowCount
|
|
6539
6539
|
};
|
|
6540
6540
|
};
|
|
6541
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
6541
|
+
var index_vue_vue_type_style_index_0_lang$8 = "";
|
|
6542
6542
|
const __default__$h = {
|
|
6543
6543
|
name: "PageModelSearchForm"
|
|
6544
6544
|
};
|
|
6545
|
-
const _sfc_main$
|
|
6545
|
+
const _sfc_main$t = defineComponent({
|
|
6546
6546
|
...__default__$h,
|
|
6547
6547
|
props: {
|
|
6548
6548
|
form: {},
|
|
@@ -6694,7 +6694,7 @@ const _sfc_main$r = defineComponent({
|
|
|
6694
6694
|
style: { width: ((_a2 = item.style) == null ? void 0 : _a2.width) || unref(searchFormItemWidth) }
|
|
6695
6695
|
}), {
|
|
6696
6696
|
default: withCtx(() => [
|
|
6697
|
-
createVNode(_sfc_main$
|
|
6697
|
+
createVNode(_sfc_main$w, {
|
|
6698
6698
|
modelValue: searchFormManager.formData[item.prop],
|
|
6699
6699
|
"onUpdate:modelValue": ($event) => searchFormManager.formData[item.prop] = $event,
|
|
6700
6700
|
renderFn: item.renderFn,
|
|
@@ -6779,7 +6779,7 @@ const _sfc_main$r = defineComponent({
|
|
|
6779
6779
|
}, [
|
|
6780
6780
|
renderSlot(_ctx.$slots, "default")
|
|
6781
6781
|
], 2),
|
|
6782
|
-
searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$
|
|
6782
|
+
searchFormManager.expandMode === "dialog" && showFormEls.value.length && unref(showMoreButton) ? (openBlock(), createBlock(_sfc_main$u, {
|
|
6783
6783
|
key: 3,
|
|
6784
6784
|
ref_key: "SearchFormFullRef",
|
|
6785
6785
|
ref: SearchFormFullRef,
|
|
@@ -7481,7 +7481,7 @@ class TableManager extends IManager {
|
|
|
7481
7481
|
this.removeCellOutClickEvent();
|
|
7482
7482
|
}
|
|
7483
7483
|
}
|
|
7484
|
-
const _sfc_main$
|
|
7484
|
+
const _sfc_main$s = defineComponent({
|
|
7485
7485
|
name: "TableCellRenderer",
|
|
7486
7486
|
props: {
|
|
7487
7487
|
renderFn: {
|
|
@@ -7519,8 +7519,8 @@ const _sfc_main$q = defineComponent({
|
|
|
7519
7519
|
};
|
|
7520
7520
|
}
|
|
7521
7521
|
});
|
|
7522
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
7523
|
-
const _hoisted_1$
|
|
7522
|
+
var index_vue_vue_type_style_index_0_lang$7 = "";
|
|
7523
|
+
const _hoisted_1$a = { class: "el-table__header-cell" };
|
|
7524
7524
|
const _hoisted_2$5 = ["data-index", "editable", "cell-key"];
|
|
7525
7525
|
const _hoisted_3$4 = {
|
|
7526
7526
|
key: 0,
|
|
@@ -7540,7 +7540,7 @@ const _hoisted_8 = ["onClick"];
|
|
|
7540
7540
|
const __default__$g = {
|
|
7541
7541
|
name: "TableColumn"
|
|
7542
7542
|
};
|
|
7543
|
-
const _sfc_main$
|
|
7543
|
+
const _sfc_main$r = defineComponent({
|
|
7544
7544
|
...__default__$g,
|
|
7545
7545
|
props: {
|
|
7546
7546
|
els: {},
|
|
@@ -7639,7 +7639,7 @@ const _sfc_main$p = defineComponent({
|
|
|
7639
7639
|
"column-key": column._key
|
|
7640
7640
|
}, column.props), {
|
|
7641
7641
|
header: withCtx(($header) => [
|
|
7642
|
-
createElementVNode("div", _hoisted_1$
|
|
7642
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
7643
7643
|
column.helpText || column.icon ? (openBlock(), createBlock(_component_el_icon, {
|
|
7644
7644
|
key: 0,
|
|
7645
7645
|
title: column.helpText
|
|
@@ -7677,7 +7677,7 @@ const _sfc_main$p = defineComponent({
|
|
|
7677
7677
|
) ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
|
|
7678
7678
|
column.editData ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
7679
7679
|
createElementVNode("div", _hoisted_4$3, [
|
|
7680
|
-
createVNode(_sfc_main$
|
|
7680
|
+
createVNode(_sfc_main$w, {
|
|
7681
7681
|
modelValue: row[column.editData.prop || column.prop],
|
|
7682
7682
|
renderFn: column.editData.renderFn,
|
|
7683
7683
|
context: props.context,
|
|
@@ -7713,7 +7713,7 @@ const _sfc_main$p = defineComponent({
|
|
|
7713
7713
|
])) : createCommentVNode("", true)
|
|
7714
7714
|
], 64)) : (openBlock(), createElementBlock("div", _hoisted_6$2, "\u8BE5\u5217\u672A\u8BBE\u7F6E\u7F16\u8F91\u7EC4\u4EF6"))
|
|
7715
7715
|
])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
7716
|
-
column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$
|
|
7716
|
+
column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$s, {
|
|
7717
7717
|
key: 0,
|
|
7718
7718
|
"render-fn": column.renderFn,
|
|
7719
7719
|
context: props.context,
|
|
@@ -9733,7 +9733,7 @@ _extends(Remove, {
|
|
|
9733
9733
|
const __default__$f = {
|
|
9734
9734
|
name: "DraggableList"
|
|
9735
9735
|
};
|
|
9736
|
-
const _sfc_main$
|
|
9736
|
+
const _sfc_main$q = defineComponent({
|
|
9737
9737
|
...__default__$f,
|
|
9738
9738
|
props: {
|
|
9739
9739
|
modelValue: {},
|
|
@@ -9821,7 +9821,7 @@ var setting_vue_vue_type_style_index_1_lang$2 = "";
|
|
|
9821
9821
|
const __default__$e = {
|
|
9822
9822
|
name: "SaveColumnSetting"
|
|
9823
9823
|
};
|
|
9824
|
-
const _sfc_main$
|
|
9824
|
+
const _sfc_main$p = defineComponent({
|
|
9825
9825
|
...__default__$e,
|
|
9826
9826
|
props: {
|
|
9827
9827
|
onlyShow: { type: Boolean, default: false }
|
|
@@ -9897,7 +9897,7 @@ const _sfc_main$n = defineComponent({
|
|
|
9897
9897
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
9898
9898
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
9899
9899
|
const _component_el_button = resolveComponent("el-button");
|
|
9900
|
-
return openBlock(), createBlock(_sfc_main$
|
|
9900
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
9901
9901
|
modelValue: visible.value,
|
|
9902
9902
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
9903
9903
|
title: "\u7F16\u8F91\u8868\u683C",
|
|
@@ -9947,7 +9947,7 @@ const _sfc_main$n = defineComponent({
|
|
|
9947
9947
|
createElementVNode("div", {
|
|
9948
9948
|
class: normalizeClass(unref(createBEMName)("column-table-wrap"))
|
|
9949
9949
|
}, [
|
|
9950
|
-
createVNode(_sfc_main$
|
|
9950
|
+
createVNode(_sfc_main$q, {
|
|
9951
9951
|
modelValue: innerEls.value,
|
|
9952
9952
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
9953
9953
|
"item-key": "_key"
|
|
@@ -10213,7 +10213,7 @@ var userConfig_vue_vue_type_style_index_1_lang = "";
|
|
|
10213
10213
|
const __default__$d = {
|
|
10214
10214
|
name: "SaveUserConfig"
|
|
10215
10215
|
};
|
|
10216
|
-
const _sfc_main$
|
|
10216
|
+
const _sfc_main$o = defineComponent({
|
|
10217
10217
|
...__default__$d,
|
|
10218
10218
|
emits: ["submit", "closed"],
|
|
10219
10219
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -10277,7 +10277,7 @@ const _sfc_main$m = defineComponent({
|
|
|
10277
10277
|
};
|
|
10278
10278
|
return (_ctx, _cache) => {
|
|
10279
10279
|
const _component_el_button = resolveComponent("el-button");
|
|
10280
|
-
return openBlock(), createBlock(_sfc_main$
|
|
10280
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
10281
10281
|
modelValue: visible.value,
|
|
10282
10282
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
10283
10283
|
title: "\u7F16\u8F91\u79C1\u4EBA\u914D\u7F6E",
|
|
@@ -10342,12 +10342,12 @@ const useUserConfig = () => {
|
|
|
10342
10342
|
onUserConfigClosed: onClosed
|
|
10343
10343
|
};
|
|
10344
10344
|
};
|
|
10345
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
10345
|
+
var index_vue_vue_type_style_index_0_lang$6 = "";
|
|
10346
10346
|
var index_vue_vue_type_style_index_1_lang$1 = "";
|
|
10347
|
-
const _hoisted_1$
|
|
10347
|
+
const _hoisted_1$9 = /* @__PURE__ */ createElementVNode("span", null, "\u62D6\u52A8\u8C03\u6574\u8868\u5934\u663E\u793A\u987A\u5E8F", -1);
|
|
10348
10348
|
const _hoisted_2$4 = /* @__PURE__ */ createElementVNode("span", null, "\u663E\u793A\u884C\u6570", -1);
|
|
10349
10349
|
const _hoisted_3$3 = ["value", "onClick"];
|
|
10350
|
-
const _sfc_main$
|
|
10350
|
+
const _sfc_main$n = defineComponent({
|
|
10351
10351
|
__name: "index",
|
|
10352
10352
|
props: {
|
|
10353
10353
|
els: {}
|
|
@@ -10417,7 +10417,7 @@ const _sfc_main$l = defineComponent({
|
|
|
10417
10417
|
createElementVNode("div", {
|
|
10418
10418
|
class: normalizeClass(unref(createBEMName)("header"))
|
|
10419
10419
|
}, [
|
|
10420
|
-
_hoisted_1$
|
|
10420
|
+
_hoisted_1$9,
|
|
10421
10421
|
createElementVNode("div", {
|
|
10422
10422
|
class: normalizeClass(unref(createBEMName)("icon-wrap"))
|
|
10423
10423
|
}, [
|
|
@@ -10448,7 +10448,7 @@ const _sfc_main$l = defineComponent({
|
|
|
10448
10448
|
createElementVNode("div", {
|
|
10449
10449
|
class: normalizeClass(unref(createBEMName)("list"))
|
|
10450
10450
|
}, [
|
|
10451
|
-
createVNode(_sfc_main$
|
|
10451
|
+
createVNode(_sfc_main$q, {
|
|
10452
10452
|
modelValue: innerEls.value,
|
|
10453
10453
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
10454
10454
|
class: normalizeClass(unref(BEMSpace)),
|
|
@@ -10511,14 +10511,14 @@ const _sfc_main$l = defineComponent({
|
|
|
10511
10511
|
_: 1
|
|
10512
10512
|
})
|
|
10513
10513
|
], 2),
|
|
10514
|
-
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$
|
|
10514
|
+
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$p, {
|
|
10515
10515
|
key: 0,
|
|
10516
10516
|
ref_key: "columnToolsSettingRef",
|
|
10517
10517
|
ref: columnToolsSettingRef,
|
|
10518
10518
|
onSubmit: onSubmitColumns,
|
|
10519
10519
|
onClosed: unref(onColumnToolsSettingClosed)
|
|
10520
10520
|
}, null, 8, ["onClosed"])) : createCommentVNode("", true),
|
|
10521
|
-
unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$
|
|
10521
|
+
unref(isRenderUserConfig) ? (openBlock(), createBlock(_sfc_main$o, {
|
|
10522
10522
|
key: 1,
|
|
10523
10523
|
ref_key: "userConfigRef",
|
|
10524
10524
|
ref: userConfigRef,
|
|
@@ -10538,14 +10538,14 @@ var _export_sfc = (sfc, props) => {
|
|
|
10538
10538
|
return target;
|
|
10539
10539
|
};
|
|
10540
10540
|
const _withScopeId = (n) => (pushScopeId("data-v-3858fcba"), n = n(), popScopeId(), n);
|
|
10541
|
-
const _hoisted_1$
|
|
10541
|
+
const _hoisted_1$8 = { key: 0 };
|
|
10542
10542
|
const _hoisted_2$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u4ECE\u7B2C", -1));
|
|
10543
10543
|
const _hoisted_3$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u9875\u5F00\u59CB\u5BFC\u51FA\uFF0C\u6BCF\u9875", -1));
|
|
10544
10544
|
const _hoisted_4$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "export-wrod" }, "\u6761\u6570\u636E", -1));
|
|
10545
10545
|
const _hoisted_5$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
|
|
10546
10546
|
const _hoisted_6$1 = { class: "export-columns" };
|
|
10547
10547
|
const _hoisted_7$1 = { class: "bottom-box" };
|
|
10548
|
-
const _sfc_main$
|
|
10548
|
+
const _sfc_main$m = defineComponent({
|
|
10549
10549
|
__name: "index",
|
|
10550
10550
|
emits: ["closed"],
|
|
10551
10551
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -10684,7 +10684,7 @@ const _sfc_main$k = defineComponent({
|
|
|
10684
10684
|
const _component_el_empty = resolveComponent("el-empty");
|
|
10685
10685
|
const _component_el_button = resolveComponent("el-button");
|
|
10686
10686
|
const _directive_loading = resolveDirective("loading");
|
|
10687
|
-
return openBlock(), createBlock(_sfc_main$
|
|
10687
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
10688
10688
|
modelValue: visible.value,
|
|
10689
10689
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => visible.value = $event),
|
|
10690
10690
|
title: "\u5BFC\u51FA\u8868\u683C\u6570\u636E",
|
|
@@ -10766,7 +10766,7 @@ const _sfc_main$k = defineComponent({
|
|
|
10766
10766
|
]),
|
|
10767
10767
|
_: 1
|
|
10768
10768
|
}, 8, ["modelValue"]),
|
|
10769
|
-
formData.fromApi ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10769
|
+
formData.fromApi ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
10770
10770
|
_hoisted_2$3,
|
|
10771
10771
|
createVNode(_component_el_input_number, {
|
|
10772
10772
|
modelValue: formData.pageIndex,
|
|
@@ -10823,25 +10823,25 @@ const _sfc_main$k = defineComponent({
|
|
|
10823
10823
|
};
|
|
10824
10824
|
}
|
|
10825
10825
|
});
|
|
10826
|
-
var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10826
|
+
var ExportForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-3858fcba"]]);
|
|
10827
10827
|
const SAVE_NAME$2 = "table-columns";
|
|
10828
10828
|
const columnsSaver$1 = new ConfigSaver(SAVE_NAME$2);
|
|
10829
10829
|
const saveTableColumns = columnsSaver$1.setContents.bind(columnsSaver$1);
|
|
10830
10830
|
const genSaveColumnName = columnsSaver$1.genScopeItemKey.bind(columnsSaver$1);
|
|
10831
10831
|
const saveColumns$1 = columnsSaver$1.saveContentItem.bind(columnsSaver$1);
|
|
10832
10832
|
const getColumns$1 = columnsSaver$1.getContentItem.bind(columnsSaver$1);
|
|
10833
|
-
const _hoisted_1$
|
|
10833
|
+
const _hoisted_1$7 = { class: "el-table__empty-data" };
|
|
10834
10834
|
const __default__$c = {
|
|
10835
10835
|
name: "EmptyData"
|
|
10836
10836
|
};
|
|
10837
|
-
const _sfc_main$
|
|
10837
|
+
const _sfc_main$l = defineComponent({
|
|
10838
10838
|
...__default__$c,
|
|
10839
10839
|
props: {
|
|
10840
10840
|
text: {}
|
|
10841
10841
|
},
|
|
10842
10842
|
setup(__props) {
|
|
10843
10843
|
return (_ctx, _cache) => {
|
|
10844
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10844
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
10845
10845
|
createElementVNode("span", null, toDisplayString(_ctx.text || "\u6682\u65E0\u6570\u636E"), 1)
|
|
10846
10846
|
]);
|
|
10847
10847
|
};
|
|
@@ -10851,7 +10851,7 @@ var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
|
10851
10851
|
const __default__$b = {
|
|
10852
10852
|
name: "SelectionsTable"
|
|
10853
10853
|
};
|
|
10854
|
-
const _sfc_main$
|
|
10854
|
+
const _sfc_main$k = defineComponent({
|
|
10855
10855
|
...__default__$b,
|
|
10856
10856
|
emits: ["closed"],
|
|
10857
10857
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -10919,7 +10919,7 @@ const _sfc_main$i = defineComponent({
|
|
|
10919
10919
|
});
|
|
10920
10920
|
return (_ctx, _cache) => {
|
|
10921
10921
|
const _component_el_button = resolveComponent("el-button");
|
|
10922
|
-
return openBlock(), createBlock(_sfc_main$
|
|
10922
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
10923
10923
|
modelValue: visible.value,
|
|
10924
10924
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
10925
10925
|
title: "\u5DF2\u9009\u6570\u636E",
|
|
@@ -10967,7 +10967,7 @@ const _sfc_main$i = defineComponent({
|
|
|
10967
10967
|
};
|
|
10968
10968
|
}
|
|
10969
10969
|
});
|
|
10970
|
-
var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10970
|
+
var SelectionsTable = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-7089aa9e"]]);
|
|
10971
10971
|
const useSelectionsTable = () => {
|
|
10972
10972
|
const selectionsTableRef = ref();
|
|
10973
10973
|
const isRenderSelectionsTable = ref(false);
|
|
@@ -11129,12 +11129,12 @@ const useExportForm = () => {
|
|
|
11129
11129
|
onExportFormClosed: onClosed
|
|
11130
11130
|
};
|
|
11131
11131
|
};
|
|
11132
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
11132
|
+
var index_vue_vue_type_style_index_0_lang$5 = "";
|
|
11133
11133
|
const __default__$a = {
|
|
11134
11134
|
name: "PageModelTable",
|
|
11135
11135
|
inheritAttrs: false
|
|
11136
11136
|
};
|
|
11137
|
-
const _sfc_main$
|
|
11137
|
+
const _sfc_main$j = defineComponent({
|
|
11138
11138
|
...__default__$a,
|
|
11139
11139
|
props: {
|
|
11140
11140
|
table: {},
|
|
@@ -11315,7 +11315,7 @@ const _sfc_main$h = defineComponent({
|
|
|
11315
11315
|
unref(PageModelManager).emptyTableComponent ? (openBlock(), createBlock(resolveDynamicComponent(unref(PageModelManager).emptyTableComponent), {
|
|
11316
11316
|
key: 0,
|
|
11317
11317
|
text: (_a = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _a.emptyText
|
|
11318
|
-
}, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$
|
|
11318
|
+
}, null, 8, ["text"])) : (openBlock(), createBlock(_sfc_main$l, {
|
|
11319
11319
|
key: 1,
|
|
11320
11320
|
text: (_b = tableManager == null ? void 0 : tableManager.tableProps) == null ? void 0 : _b.emptyText
|
|
11321
11321
|
}, null, 8, ["text"]))
|
|
@@ -11376,7 +11376,7 @@ const _sfc_main$h = defineComponent({
|
|
|
11376
11376
|
width: table.value.operate.width
|
|
11377
11377
|
}, table.value.operate.props), {
|
|
11378
11378
|
default: withCtx(({ row, $index }) => [
|
|
11379
|
-
table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$
|
|
11379
|
+
table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$z, mergeProps({
|
|
11380
11380
|
key: 1,
|
|
11381
11381
|
els: table.value.operate.els,
|
|
11382
11382
|
context: tableManager,
|
|
@@ -11386,7 +11386,7 @@ const _sfc_main$h = defineComponent({
|
|
|
11386
11386
|
_: 1
|
|
11387
11387
|
}, 16, ["width"])) : createCommentVNode("", true)
|
|
11388
11388
|
], 64)) : createCommentVNode("", true),
|
|
11389
|
-
createVNode(_sfc_main$
|
|
11389
|
+
createVNode(_sfc_main$r, {
|
|
11390
11390
|
els: renderedTableEls.value,
|
|
11391
11391
|
context: tableManager
|
|
11392
11392
|
}, null, 8, ["els", "context"]),
|
|
@@ -11397,7 +11397,7 @@ const _sfc_main$h = defineComponent({
|
|
|
11397
11397
|
width: table.value.operate.width
|
|
11398
11398
|
}, table.value.operate.props), {
|
|
11399
11399
|
default: withCtx(({ row, $index }) => [
|
|
11400
|
-
table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$
|
|
11400
|
+
table.value.filterable && $index === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [], 64)) : (openBlock(), createBlock(_sfc_main$z, mergeProps({
|
|
11401
11401
|
key: 1,
|
|
11402
11402
|
els: table.value.operate.els,
|
|
11403
11403
|
context: tableManager,
|
|
@@ -11430,7 +11430,7 @@ const _sfc_main$h = defineComponent({
|
|
|
11430
11430
|
}, 8, ["class"])
|
|
11431
11431
|
]),
|
|
11432
11432
|
default: withCtx(() => [
|
|
11433
|
-
createVNode(_sfc_main$
|
|
11433
|
+
createVNode(_sfc_main$n, {
|
|
11434
11434
|
els: filteredUserEls.value,
|
|
11435
11435
|
onSaveColumns,
|
|
11436
11436
|
onExport: showExport
|
|
@@ -11641,12 +11641,12 @@ class FormManager extends IManager {
|
|
|
11641
11641
|
}
|
|
11642
11642
|
}
|
|
11643
11643
|
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
11644
|
-
const _hoisted_1$
|
|
11644
|
+
const _hoisted_1$6 = ["onClick"];
|
|
11645
11645
|
const _hoisted_2$2 = { class: "section-item__title-text" };
|
|
11646
11646
|
const __default__$9 = {
|
|
11647
11647
|
name: "SectionTitleEl"
|
|
11648
11648
|
};
|
|
11649
|
-
const _sfc_main$
|
|
11649
|
+
const _sfc_main$i = defineComponent({
|
|
11650
11650
|
...__default__$9,
|
|
11651
11651
|
props: {
|
|
11652
11652
|
els: {},
|
|
@@ -11743,7 +11743,7 @@ const _sfc_main$g = defineComponent({
|
|
|
11743
11743
|
]),
|
|
11744
11744
|
_: 2
|
|
11745
11745
|
}, 1024)) : createCommentVNode("", true)
|
|
11746
|
-
], 8, _hoisted_1$
|
|
11746
|
+
], 8, _hoisted_1$6),
|
|
11747
11747
|
createElementVNode("div", {
|
|
11748
11748
|
class: normalizeClass(["section-item__els", { hidden: sectionHiddens.value[index2] }])
|
|
11749
11749
|
}, [
|
|
@@ -11779,11 +11779,11 @@ const _sfc_main$g = defineComponent({
|
|
|
11779
11779
|
};
|
|
11780
11780
|
}
|
|
11781
11781
|
});
|
|
11782
|
-
var SectionTitleEl = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11782
|
+
var SectionTitleEl = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1f262377"]]);
|
|
11783
11783
|
const __default__$8 = {
|
|
11784
11784
|
name: "TabsModeContainer"
|
|
11785
11785
|
};
|
|
11786
|
-
const _sfc_main$
|
|
11786
|
+
const _sfc_main$h = defineComponent({
|
|
11787
11787
|
...__default__$8,
|
|
11788
11788
|
props: {
|
|
11789
11789
|
props: {},
|
|
@@ -11879,7 +11879,7 @@ const _sfc_main$f = defineComponent({
|
|
|
11879
11879
|
const __default__$7 = {
|
|
11880
11880
|
name: "ModuleContainer"
|
|
11881
11881
|
};
|
|
11882
|
-
const _sfc_main$
|
|
11882
|
+
const _sfc_main$g = defineComponent({
|
|
11883
11883
|
...__default__$7,
|
|
11884
11884
|
props: {
|
|
11885
11885
|
els: {},
|
|
@@ -11892,7 +11892,7 @@ const _sfc_main$e = defineComponent({
|
|
|
11892
11892
|
const props = __props;
|
|
11893
11893
|
const containerConfig = computed(() => {
|
|
11894
11894
|
return {
|
|
11895
|
-
component: markRaw(_sfc_main$
|
|
11895
|
+
component: markRaw(_sfc_main$h),
|
|
11896
11896
|
props: {
|
|
11897
11897
|
props: props.moduleConfig.props,
|
|
11898
11898
|
els: props.els,
|
|
@@ -11929,7 +11929,7 @@ columnsSaver.setContents.bind(columnsSaver);
|
|
|
11929
11929
|
columnsSaver.genScopeItemKey.bind(columnsSaver);
|
|
11930
11930
|
const saveColumns = columnsSaver.saveContentItem.bind(columnsSaver);
|
|
11931
11931
|
const getColumns = columnsSaver.getContentItem.bind(columnsSaver);
|
|
11932
|
-
const _sfc_main$
|
|
11932
|
+
const _sfc_main$f = defineComponent({
|
|
11933
11933
|
__name: "index",
|
|
11934
11934
|
props: {
|
|
11935
11935
|
els: {},
|
|
@@ -11966,7 +11966,7 @@ const _sfc_main$d = defineComponent({
|
|
|
11966
11966
|
return sectionConfig;
|
|
11967
11967
|
});
|
|
11968
11968
|
return (_ctx, _cache) => {
|
|
11969
|
-
return useModule.value ? (openBlock(), createBlock(_sfc_main$
|
|
11969
|
+
return useModule.value ? (openBlock(), createBlock(_sfc_main$g, {
|
|
11970
11970
|
key: 0,
|
|
11971
11971
|
rowProps: _ctx.form.rowProps,
|
|
11972
11972
|
sectionConfig: useSectionConfig.value,
|
|
@@ -11992,7 +11992,7 @@ const _sfc_main$d = defineComponent({
|
|
|
11992
11992
|
};
|
|
11993
11993
|
}
|
|
11994
11994
|
});
|
|
11995
|
-
const _sfc_main$
|
|
11995
|
+
const _sfc_main$e = defineComponent({
|
|
11996
11996
|
__name: "index",
|
|
11997
11997
|
props: {
|
|
11998
11998
|
form: {},
|
|
@@ -12004,7 +12004,7 @@ const _sfc_main$c = defineComponent({
|
|
|
12004
12004
|
const props = __props;
|
|
12005
12005
|
const containerConfig = computed(() => {
|
|
12006
12006
|
return {
|
|
12007
|
-
component: markRaw(_sfc_main$
|
|
12007
|
+
component: markRaw(_sfc_main$f),
|
|
12008
12008
|
props: {
|
|
12009
12009
|
els: props.els,
|
|
12010
12010
|
form: props.form,
|
|
@@ -12027,7 +12027,7 @@ const defineForm = (form) => {
|
|
|
12027
12027
|
};
|
|
12028
12028
|
var setting_vue_vue_type_style_index_0_lang$1 = "";
|
|
12029
12029
|
var setting_vue_vue_type_style_index_1_lang$1 = "";
|
|
12030
|
-
const _hoisted_1$
|
|
12030
|
+
const _hoisted_1$5 = { key: 0 };
|
|
12031
12031
|
const _hoisted_2$1 = {
|
|
12032
12032
|
key: 1,
|
|
12033
12033
|
style: { "color": "#999" }
|
|
@@ -12040,7 +12040,7 @@ const _hoisted_4$1 = {
|
|
|
12040
12040
|
const __default__$6 = {
|
|
12041
12041
|
name: "SaveColumnSetting"
|
|
12042
12042
|
};
|
|
12043
|
-
const _sfc_main$
|
|
12043
|
+
const _sfc_main$d = defineComponent({
|
|
12044
12044
|
...__default__$6,
|
|
12045
12045
|
emits: ["submit", "closed"],
|
|
12046
12046
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -12152,7 +12152,7 @@ const _sfc_main$b = defineComponent({
|
|
|
12152
12152
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
12153
12153
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
12154
12154
|
const _component_el_button = resolveComponent("el-button");
|
|
12155
|
-
return openBlock(), createBlock(_sfc_main$
|
|
12155
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
12156
12156
|
modelValue: visible.value,
|
|
12157
12157
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
|
|
12158
12158
|
title: "\u8868\u5355\u914D\u7F6E",
|
|
@@ -12218,7 +12218,7 @@ const _sfc_main$b = defineComponent({
|
|
|
12218
12218
|
], 2);
|
|
12219
12219
|
}), 128))
|
|
12220
12220
|
], 2),
|
|
12221
|
-
createVNode(_sfc_main$
|
|
12221
|
+
createVNode(_sfc_main$q, {
|
|
12222
12222
|
modelValue: innerEls.value,
|
|
12223
12223
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
12224
12224
|
"item-key": "_key"
|
|
@@ -12235,7 +12235,7 @@ const _sfc_main$b = defineComponent({
|
|
|
12235
12235
|
createElementVNode("div", {
|
|
12236
12236
|
class: normalizeClass(unref(createBEMName)("cell"))
|
|
12237
12237
|
}, [
|
|
12238
|
-
element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
12238
|
+
element.sectionName ? (openBlock(), createElementBlock("span", _hoisted_1$5, toDisplayString(element.sectionName), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$1, "\u672A\u914D\u7F6E"))
|
|
12239
12239
|
], 2),
|
|
12240
12240
|
createElementVNode("div", {
|
|
12241
12241
|
class: normalizeClass(unref(createBEMName)("cell"))
|
|
@@ -12342,11 +12342,11 @@ const useColumnToolsSetting = () => {
|
|
|
12342
12342
|
onColumnToolsSettingClosed: onClosed
|
|
12343
12343
|
};
|
|
12344
12344
|
};
|
|
12345
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
12345
|
+
var index_vue_vue_type_style_index_0_lang$4 = "";
|
|
12346
12346
|
const __default__$5 = {
|
|
12347
12347
|
name: "PageModelForm"
|
|
12348
12348
|
};
|
|
12349
|
-
const _sfc_main$
|
|
12349
|
+
const _sfc_main$c = defineComponent({
|
|
12350
12350
|
...__default__$5,
|
|
12351
12351
|
props: {
|
|
12352
12352
|
form: {},
|
|
@@ -12556,7 +12556,7 @@ const _sfc_main$a = defineComponent({
|
|
|
12556
12556
|
class: unref(BEMSpace)
|
|
12557
12557
|
}), {
|
|
12558
12558
|
default: withCtx(() => [
|
|
12559
|
-
createVNode(_sfc_main$
|
|
12559
|
+
createVNode(_sfc_main$e, {
|
|
12560
12560
|
els: totalShowFormEls.value,
|
|
12561
12561
|
form: form.value,
|
|
12562
12562
|
formManager,
|
|
@@ -12578,7 +12578,7 @@ const _sfc_main$a = defineComponent({
|
|
|
12578
12578
|
key: 0,
|
|
12579
12579
|
class: normalizeClass(unref(createBEMName)("prefix"))
|
|
12580
12580
|
}, toDisplayString(renderDeText(item.prefix, formManager.formData)), 3)) : createCommentVNode("", true),
|
|
12581
|
-
createVNode(_sfc_main$
|
|
12581
|
+
createVNode(_sfc_main$w, {
|
|
12582
12582
|
modelValue: formManager.formData[item.prop],
|
|
12583
12583
|
renderFn: item.renderFn,
|
|
12584
12584
|
context: formManager,
|
|
@@ -12607,7 +12607,7 @@ const _sfc_main$a = defineComponent({
|
|
|
12607
12607
|
]),
|
|
12608
12608
|
_: 1
|
|
12609
12609
|
}, 8, ["els", "form", "formManager", "errorProp"]),
|
|
12610
|
-
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$
|
|
12610
|
+
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
12611
12611
|
key: 0,
|
|
12612
12612
|
ref_key: "columnToolsSettingRef",
|
|
12613
12613
|
ref: columnToolsSettingRef,
|
|
@@ -12620,8 +12620,8 @@ const _sfc_main$a = defineComponent({
|
|
|
12620
12620
|
};
|
|
12621
12621
|
}
|
|
12622
12622
|
});
|
|
12623
|
-
var PageModelForm = _sfc_main$
|
|
12624
|
-
const _sfc_main$
|
|
12623
|
+
var PageModelForm = _sfc_main$c;
|
|
12624
|
+
const _sfc_main$b = defineComponent({
|
|
12625
12625
|
__name: "index",
|
|
12626
12626
|
props: {
|
|
12627
12627
|
props: {},
|
|
@@ -12681,7 +12681,7 @@ const _sfc_main$9 = defineComponent({
|
|
|
12681
12681
|
});
|
|
12682
12682
|
return (_ctx, _cache) => {
|
|
12683
12683
|
const _component_el_button = resolveComponent("el-button");
|
|
12684
|
-
return formVisible.value ? (openBlock(), createBlock(_sfc_main$
|
|
12684
|
+
return formVisible.value ? (openBlock(), createBlock(_sfc_main$v, {
|
|
12685
12685
|
key: 0,
|
|
12686
12686
|
modelValue: formVisible.value,
|
|
12687
12687
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formVisible.value = $event),
|
|
@@ -12721,8 +12721,8 @@ const _sfc_main$9 = defineComponent({
|
|
|
12721
12721
|
};
|
|
12722
12722
|
}
|
|
12723
12723
|
});
|
|
12724
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
12725
|
-
const _sfc_main$
|
|
12724
|
+
var index_vue_vue_type_style_index_0_lang$3 = "";
|
|
12725
|
+
const _sfc_main$a = defineComponent({
|
|
12726
12726
|
__name: "index",
|
|
12727
12727
|
props: {
|
|
12728
12728
|
props: {},
|
|
@@ -12845,6 +12845,167 @@ const _sfc_main$8 = defineComponent({
|
|
|
12845
12845
|
};
|
|
12846
12846
|
}
|
|
12847
12847
|
});
|
|
12848
|
+
var index_vue_vue_type_style_index_0_lang$2 = "";
|
|
12849
|
+
const _hoisted_1$4 = { class: "el-drawer_title" };
|
|
12850
|
+
const _sfc_main$9 = defineComponent({
|
|
12851
|
+
__name: "index",
|
|
12852
|
+
props: {
|
|
12853
|
+
modelValue: { type: Boolean },
|
|
12854
|
+
title: {},
|
|
12855
|
+
width: {},
|
|
12856
|
+
dialogProps: {},
|
|
12857
|
+
dialogEvents: {},
|
|
12858
|
+
customClass: { default: "" },
|
|
12859
|
+
noPaddingTop: { type: Boolean, default: false }
|
|
12860
|
+
},
|
|
12861
|
+
emits: ["update:model-value"],
|
|
12862
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
12863
|
+
const props = __props;
|
|
12864
|
+
const emit = __emit;
|
|
12865
|
+
const { BEMSpace, createBEMName } = createBEMSpace("form-drawer");
|
|
12866
|
+
const onUpdateModelValue = (value) => {
|
|
12867
|
+
emit("update:model-value", value);
|
|
12868
|
+
};
|
|
12869
|
+
const drawerRef = ref();
|
|
12870
|
+
__expose({
|
|
12871
|
+
drawerRef
|
|
12872
|
+
});
|
|
12873
|
+
return (_ctx, _cache) => {
|
|
12874
|
+
const _component_el_drawer = resolveComponent("el-drawer");
|
|
12875
|
+
return openBlock(), createBlock(_component_el_drawer, mergeProps({
|
|
12876
|
+
ref_key: "drawerRef",
|
|
12877
|
+
ref: drawerRef,
|
|
12878
|
+
"model-value": _ctx.modelValue,
|
|
12879
|
+
title: _ctx.title,
|
|
12880
|
+
width: props.width,
|
|
12881
|
+
class: `${unref(BEMSpace)} ${props.customClass || ""} ${_ctx.noPaddingTop ? "no-padding-top" : ""}`
|
|
12882
|
+
}, props.dialogProps || {}, toHandlers(props.dialogEvents || {}), { "onUpdate:modelValue": onUpdateModelValue }), {
|
|
12883
|
+
header: withCtx(() => [
|
|
12884
|
+
createElementVNode("span", _hoisted_1$4, toDisplayString(_ctx.title), 1)
|
|
12885
|
+
]),
|
|
12886
|
+
footer: withCtx(() => [
|
|
12887
|
+
renderSlot(_ctx.$slots, "bottom")
|
|
12888
|
+
]),
|
|
12889
|
+
default: withCtx(() => [
|
|
12890
|
+
renderSlot(_ctx.$slots, "default")
|
|
12891
|
+
]),
|
|
12892
|
+
_: 3
|
|
12893
|
+
}, 16, ["model-value", "title", "width", "class"]);
|
|
12894
|
+
};
|
|
12895
|
+
}
|
|
12896
|
+
});
|
|
12897
|
+
const _sfc_main$8 = defineComponent({
|
|
12898
|
+
__name: "index",
|
|
12899
|
+
props: {
|
|
12900
|
+
props: {},
|
|
12901
|
+
formManager: {}
|
|
12902
|
+
},
|
|
12903
|
+
emits: ["hide", "submit"],
|
|
12904
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
12905
|
+
const props = __props;
|
|
12906
|
+
const emit = __emit;
|
|
12907
|
+
const formVisible = ref(false);
|
|
12908
|
+
const show = () => {
|
|
12909
|
+
formVisible.value = true;
|
|
12910
|
+
setTimeout(() => {
|
|
12911
|
+
const formRef = props.formManager.formRef;
|
|
12912
|
+
formRef.clearValidate();
|
|
12913
|
+
}, 20);
|
|
12914
|
+
};
|
|
12915
|
+
const formDrawerRef = ref();
|
|
12916
|
+
const hide = () => {
|
|
12917
|
+
formDrawerRef.value.drawerRef.handleClose();
|
|
12918
|
+
};
|
|
12919
|
+
const submit = () => {
|
|
12920
|
+
emit("submit");
|
|
12921
|
+
};
|
|
12922
|
+
const title = ref("");
|
|
12923
|
+
watchEffect(() => {
|
|
12924
|
+
var _a, _b, _c;
|
|
12925
|
+
const originTitle = (_b = (_a = props.props) == null ? void 0 : _a.title) != null ? _b : "";
|
|
12926
|
+
const status = (_c = props.formManager) == null ? void 0 : _c.status;
|
|
12927
|
+
if (!status) {
|
|
12928
|
+
title.value = "";
|
|
12929
|
+
} else {
|
|
12930
|
+
if (originTitle instanceof Function) {
|
|
12931
|
+
title.value = originTitle.call(props.formManager, status);
|
|
12932
|
+
} else {
|
|
12933
|
+
if (status === "add") {
|
|
12934
|
+
title.value = "\u6DFB\u52A0" + originTitle;
|
|
12935
|
+
} else if (status === "edit") {
|
|
12936
|
+
title.value = "\u66F4\u65B0" + originTitle;
|
|
12937
|
+
} else if (status === "view") {
|
|
12938
|
+
title.value = "\u67E5\u770B" + originTitle;
|
|
12939
|
+
} else {
|
|
12940
|
+
title.value = originTitle;
|
|
12941
|
+
}
|
|
12942
|
+
}
|
|
12943
|
+
}
|
|
12944
|
+
});
|
|
12945
|
+
const loading2 = computed(() => {
|
|
12946
|
+
var _a;
|
|
12947
|
+
return (_a = props.formManager) == null ? void 0 : _a.submitLoading;
|
|
12948
|
+
});
|
|
12949
|
+
const hasTab = computed(() => {
|
|
12950
|
+
var _a, _b, _c;
|
|
12951
|
+
return ((_c = (_b = (_a = props.formManager) == null ? void 0 : _a.form) == null ? void 0 : _b.moduleConfig) == null ? void 0 : _c.type) === "tabs";
|
|
12952
|
+
});
|
|
12953
|
+
const hasSection = computed(() => {
|
|
12954
|
+
var _a, _b;
|
|
12955
|
+
return (_b = (_a = props.formManager) == null ? void 0 : _a.form) == null ? void 0 : _b.els.some((el) => el.sectionName);
|
|
12956
|
+
});
|
|
12957
|
+
const onClosed = () => {
|
|
12958
|
+
emit("hide");
|
|
12959
|
+
};
|
|
12960
|
+
__expose({
|
|
12961
|
+
show,
|
|
12962
|
+
hide
|
|
12963
|
+
});
|
|
12964
|
+
return (_ctx, _cache) => {
|
|
12965
|
+
const _component_el_button = resolveComponent("el-button");
|
|
12966
|
+
return formVisible.value ? (openBlock(), createBlock(_sfc_main$9, {
|
|
12967
|
+
key: 0,
|
|
12968
|
+
ref_key: "formDrawerRef",
|
|
12969
|
+
ref: formDrawerRef,
|
|
12970
|
+
modelValue: formVisible.value,
|
|
12971
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formVisible.value = $event),
|
|
12972
|
+
dialogProps: props.props,
|
|
12973
|
+
title: title.value,
|
|
12974
|
+
dialogEvents: { closed: onClosed },
|
|
12975
|
+
noPaddingTop: hasTab.value || hasSection.value
|
|
12976
|
+
}, {
|
|
12977
|
+
bottom: withCtx(() => [
|
|
12978
|
+
renderSlot(_ctx.$slots, "bottom", {}, () => [
|
|
12979
|
+
createVNode(_component_el_button, {
|
|
12980
|
+
style: { "width": "80px" },
|
|
12981
|
+
type: "primary",
|
|
12982
|
+
loading: loading2.value,
|
|
12983
|
+
onClick: submit
|
|
12984
|
+
}, {
|
|
12985
|
+
default: withCtx(() => [
|
|
12986
|
+
createTextVNode("\u786E\u5B9A")
|
|
12987
|
+
]),
|
|
12988
|
+
_: 1
|
|
12989
|
+
}, 8, ["loading"]),
|
|
12990
|
+
createVNode(_component_el_button, {
|
|
12991
|
+
style: { "width": "80px" },
|
|
12992
|
+
onClick: hide
|
|
12993
|
+
}, {
|
|
12994
|
+
default: withCtx(() => [
|
|
12995
|
+
createTextVNode("\u53D6\u6D88")
|
|
12996
|
+
]),
|
|
12997
|
+
_: 1
|
|
12998
|
+
})
|
|
12999
|
+
])
|
|
13000
|
+
]),
|
|
13001
|
+
default: withCtx(() => [
|
|
13002
|
+
renderSlot(_ctx.$slots, "default")
|
|
13003
|
+
]),
|
|
13004
|
+
_: 3
|
|
13005
|
+
}, 8, ["modelValue", "dialogProps", "title", "dialogEvents", "noPaddingTop"])) : createCommentVNode("", true);
|
|
13006
|
+
};
|
|
13007
|
+
}
|
|
13008
|
+
});
|
|
12848
13009
|
const _sfc_main$7 = defineComponent({
|
|
12849
13010
|
__name: "index",
|
|
12850
13011
|
props: {
|
|
@@ -12860,22 +13021,27 @@ const _sfc_main$7 = defineComponent({
|
|
|
12860
13021
|
const mode = (_a = props.form.mode) != null ? _a : "dialog";
|
|
12861
13022
|
if (mode === "dialog") {
|
|
12862
13023
|
return {
|
|
12863
|
-
component: _sfc_main$
|
|
13024
|
+
component: _sfc_main$b,
|
|
12864
13025
|
props: props.form.dialogProps
|
|
12865
13026
|
};
|
|
12866
13027
|
} else if (mode === "fullpage") {
|
|
12867
13028
|
return {
|
|
12868
|
-
component: _sfc_main$
|
|
13029
|
+
component: _sfc_main$a,
|
|
12869
13030
|
props: props.form.fullpageProps
|
|
12870
13031
|
};
|
|
13032
|
+
} else if (mode === "drawer") {
|
|
13033
|
+
return {
|
|
13034
|
+
component: _sfc_main$8,
|
|
13035
|
+
props: props.form.drawerProps
|
|
13036
|
+
};
|
|
12871
13037
|
} else if (mode === "custom") {
|
|
12872
13038
|
return {
|
|
12873
|
-
component: props.form.formContainer || _sfc_main$
|
|
13039
|
+
component: props.form.formContainer || _sfc_main$b,
|
|
12874
13040
|
props: props.form.formContainerProps
|
|
12875
13041
|
};
|
|
12876
13042
|
} else {
|
|
12877
13043
|
return {
|
|
12878
|
-
component: _sfc_main$
|
|
13044
|
+
component: _sfc_main$b,
|
|
12879
13045
|
props: props.form.dialogProps
|
|
12880
13046
|
};
|
|
12881
13047
|
}
|
|
@@ -13970,7 +14136,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
13970
14136
|
key: 0,
|
|
13971
14137
|
class: normalizeClass(unref(createBEMName)("top-tabs"))
|
|
13972
14138
|
}, [
|
|
13973
|
-
hasTabs.value ? (openBlock(), createBlock(_sfc_main$
|
|
14139
|
+
hasTabs.value ? (openBlock(), createBlock(_sfc_main$R, {
|
|
13974
14140
|
key: 0,
|
|
13975
14141
|
tabs: uConfig.value.tabs,
|
|
13976
14142
|
manager,
|
|
@@ -13985,7 +14151,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
13985
14151
|
key: 1,
|
|
13986
14152
|
class: normalizeClass(unref(createBEMName)("holding-tab"))
|
|
13987
14153
|
}, null, 2)),
|
|
13988
|
-
uConfig.value.action ? (openBlock(), createBlock(_sfc_main$
|
|
14154
|
+
uConfig.value.action ? (openBlock(), createBlock(_sfc_main$x, {
|
|
13989
14155
|
key: 2,
|
|
13990
14156
|
action: uConfig.value.action,
|
|
13991
14157
|
manager,
|
|
@@ -14001,7 +14167,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
14001
14167
|
key: 1,
|
|
14002
14168
|
class: normalizeClass(unref(createBEMName)("search"))
|
|
14003
14169
|
}, [
|
|
14004
|
-
createVNode(_sfc_main$
|
|
14170
|
+
createVNode(_sfc_main$t, {
|
|
14005
14171
|
ref_key: "searchFormRef",
|
|
14006
14172
|
ref: searchFormRef,
|
|
14007
14173
|
manager
|
|
@@ -14021,7 +14187,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
14021
14187
|
}, [
|
|
14022
14188
|
createVNode(_component_el_scrollbar, null, {
|
|
14023
14189
|
default: withCtx(() => [
|
|
14024
|
-
hasSelectableActions.value ? (openBlock(), createBlock(_sfc_main$
|
|
14190
|
+
hasSelectableActions.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
14025
14191
|
key: 0,
|
|
14026
14192
|
els: manager.config.table.selectableButtons,
|
|
14027
14193
|
tableManager: manager.tableManager,
|
|
@@ -14049,7 +14215,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
14049
14215
|
createElementVNode("div", {
|
|
14050
14216
|
class: normalizeClass(unref(createBEMName)("main"))
|
|
14051
14217
|
}, [
|
|
14052
|
-
createVNode(_sfc_main$
|
|
14218
|
+
createVNode(_sfc_main$j, {
|
|
14053
14219
|
ref_key: "pageModelTableRef",
|
|
14054
14220
|
ref: pageModelTableRef,
|
|
14055
14221
|
manager,
|
|
@@ -14088,7 +14254,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
14088
14254
|
]),
|
|
14089
14255
|
_: 3
|
|
14090
14256
|
}, 8, ["form", "formManager"])) : createCommentVNode("", true),
|
|
14091
|
-
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$
|
|
14257
|
+
unref(isRenderColumnToolsSetting) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
14092
14258
|
key: 4,
|
|
14093
14259
|
ref_key: "columnToolsSettingRef",
|
|
14094
14260
|
ref: columnToolsSettingRef,
|
|
@@ -14238,7 +14404,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
14238
14404
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
14239
14405
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
14240
14406
|
const _component_el_button = resolveComponent("el-button");
|
|
14241
|
-
return openBlock(), createBlock(_sfc_main$
|
|
14407
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
14242
14408
|
modelValue: visible.value,
|
|
14243
14409
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
14244
14410
|
title: "\u7F16\u8F91\u8868\u683C",
|
|
@@ -14281,7 +14447,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
14281
14447
|
], 2);
|
|
14282
14448
|
}), 128))
|
|
14283
14449
|
], 2),
|
|
14284
|
-
createVNode(_sfc_main$
|
|
14450
|
+
createVNode(_sfc_main$q, {
|
|
14285
14451
|
modelValue: innerEls.value,
|
|
14286
14452
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
14287
14453
|
"item-key": "_key"
|
|
@@ -14444,7 +14610,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
14444
14610
|
createElementVNode("div", {
|
|
14445
14611
|
class: normalizeClass(unref(createBEMName)("list"))
|
|
14446
14612
|
}, [
|
|
14447
|
-
createVNode(_sfc_main$
|
|
14613
|
+
createVNode(_sfc_main$q, {
|
|
14448
14614
|
modelValue: innerEls.value,
|
|
14449
14615
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerEls.value = $event),
|
|
14450
14616
|
class: normalizeClass(unref(BEMSpace)),
|
|
@@ -14905,7 +15071,7 @@ const _sfc_main = defineComponent({
|
|
|
14905
15071
|
}, {
|
|
14906
15072
|
default: withCtx(() => [
|
|
14907
15073
|
_ctx.alwaysShowEdit || isCurrentRowFocus($index) ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
14908
|
-
createVNode(_sfc_main$
|
|
15074
|
+
createVNode(_sfc_main$s, {
|
|
14909
15075
|
"render-fn": column.renderFn,
|
|
14910
15076
|
pure: "",
|
|
14911
15077
|
row,
|
|
@@ -14959,7 +15125,7 @@ const _sfc_main = defineComponent({
|
|
|
14959
15125
|
}, 16, ["data"]),
|
|
14960
15126
|
bottomActions.value.length || hasSlots.value ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
14961
15127
|
renderSlot(_ctx.$slots, "action-prefix", {}, void 0, true),
|
|
14962
|
-
createVNode(_sfc_main$
|
|
15128
|
+
createVNode(_sfc_main$z, {
|
|
14963
15129
|
els: bottomActions.value,
|
|
14964
15130
|
onCustom: handleBottomActionsEvent
|
|
14965
15131
|
}, null, 8, ["els"]),
|
|
@@ -14974,7 +15140,7 @@ const defineEditableTable = function(config) {
|
|
|
14974
15140
|
return reactive(config);
|
|
14975
15141
|
};
|
|
14976
15142
|
const name = "@juzhenfe/page-model";
|
|
14977
|
-
const version = "3.9.
|
|
15143
|
+
const version = "3.9.42";
|
|
14978
15144
|
const types = "dist/main.d.ts";
|
|
14979
15145
|
const main = "dist/index.umd.js";
|
|
14980
15146
|
const keywords = [
|
|
@@ -14989,7 +15155,7 @@ const scripts = {
|
|
|
14989
15155
|
build: "npm run clean && cross-env NODE_ENV=production vite build",
|
|
14990
15156
|
clean: "rimraf dist",
|
|
14991
15157
|
pub: "npm publish --access public",
|
|
14992
|
-
version: "npm run build && npm run pub"
|
|
15158
|
+
version: "npm run build --max-old-space-size=4096 && npm run pub"
|
|
14993
15159
|
};
|
|
14994
15160
|
const files = [
|
|
14995
15161
|
"dist"
|
|
@@ -15059,4 +15225,4 @@ const ModelComponent = {
|
|
|
15059
15225
|
saveTableColumns(content);
|
|
15060
15226
|
}
|
|
15061
15227
|
};
|
|
15062
|
-
export { _sfc_main$
|
|
15228
|
+
export { _sfc_main$z as ButtonsRenderer, index as EditableTable, _sfc_main$v as FormDialog, PageModelForm, _sfc_main$s as TableCellRenderer, _sfc_main$p as TableColumnSetting, columnTools, ModelComponent as default, defineConfig, defineEditableTable, defineForm, patchFilterCreator as useFilter, patchScenesCreator as useScene };
|