form-imagining 0.0.92-beta18 → 0.0.92-beta19
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/App-CAAZO9S9.js +32 -0
- package/dist/App-CUdwEKRG.js +32 -0
- package/dist/Area-BpNoVE8E.js +4 -0
- package/dist/Area-DBjSP3Y9.js +4 -0
- package/dist/Bar-C6ooL3FF.js +4 -0
- package/dist/Bar-CgLCDAHr.js +4 -0
- package/dist/ChartsArea-BFQJi84w.js +4 -0
- package/dist/ChartsArea-DDTvy400.js +4 -0
- package/dist/ChartsBar-CJ0X1KjC.js +4 -0
- package/dist/ChartsBar-DFTuG0LA.js +4 -0
- package/dist/ChartsPie-Cldf9FOv.js +4 -0
- package/dist/ChartsPie-Dj9JDrHi.js +4 -0
- package/dist/CheckBoxModel-CsTIi-xF.js +4 -0
- package/dist/CheckBoxModel-Dhvxmjpa.js +4 -0
- package/dist/Col-B_1G-Fil.js +4 -0
- package/dist/Col-xmXliqvU.js +4 -0
- package/dist/Collapse-BtD0WERD.js +4 -0
- package/dist/Collapse-CLKYiX4O.js +4 -0
- package/dist/{CommonText copy-CGxS2Qi7.js → CommonText copy-B2yj3G5b.js } +32 -32
- package/dist/CommonText copy-CRSyaL-1.js +189 -0
- package/dist/{Demo copy-Bux2O9AZ.js → Demo copy-CubdSIKo.js } +2 -2
- package/dist/{Demo-BzRVEJLn.js → Demo-BjeNq-DU.js} +21 -21
- package/dist/Demo-CmCJanEO.js +201 -0
- package/dist/{Demo-DVx3PIWg.js → Demo-D90lFuzo.js} +2 -2
- package/dist/Demo-DXm0EgtZ.js +72 -0
- package/dist/FView-B1lErBMF.js +4 -0
- package/dist/FView-DeTq-wJ3.js +4 -0
- package/dist/FX-DA_XCVlw.js +4 -0
- package/dist/FX-oFZuEtIR.js +4 -0
- package/dist/{Form-CE0VVIWD.js → Form-CsKlmwSd.js} +4 -4
- package/dist/{FormGridCopy-DEDMj3pk.js → FormGridCopy-C3Kukdxg.js} +36 -36
- package/dist/FormGridCopy-DN03FhE6.js +168 -0
- package/dist/{FormImagining-CuYGo7WU.js → FormImagining-BFd1dEJh.js} +1 -1
- package/dist/FormImagining-fy-ynI5-.js +9 -0
- package/dist/GenerateForm-BfQ4sBX4.js +4 -0
- package/dist/GenerateForm-DAwOJq-w.js +4 -0
- package/dist/GenerateReport-D-hnCMW7.js +4 -0
- package/dist/GenerateReport-DPBmcnAP.js +4 -0
- package/dist/{HelloWorld-h_Vl21wq.js → HelloWorld-B5h85HIU.js} +1 -1
- package/dist/HelloWorld-BaByWBAi.js +9 -0
- package/dist/Input-/345/210/240/351/231/{244-CW4crSu2.js → 244-BeE76j1B.js} +3 -3
- package/dist/Input-/345/210/240/351/231/244-DioOpwpw.js +87 -0
- package/dist/Label-/345/210/240/351/231/{244-CegZH5xZ.js → 244-BOUf-F9T.js} +5 -5
- package/dist/Label-/345/210/240/351/231/244-BozFgr0e.js +92 -0
- package/dist/LabelModel-C-Bbgyys.js +4 -0
- package/dist/LabelModel-D7-yXtBm.js +4 -0
- package/dist/{Login-SUqc9wWH.js → Login-DoEIHZ_m.js} +1 -1
- package/dist/Login-nK2_PTJH.js +9 -0
- package/dist/Pie-BU-qVEku.js +4 -0
- package/dist/Pie-Dk7uSF-M.js +4 -0
- package/dist/RView-AcFtF1kf.js +4 -0
- package/dist/RView-CRKNRRl9.js +4 -0
- package/dist/SqlModule-CnByP1k6.js +4 -0
- package/dist/SqlModule-GljcU_W2.js +4 -0
- package/dist/{SvgIconCopy-DtAYuQdF.js → SvgIconCopy-BFGR3ehL.js} +7 -7
- package/dist/SvgIconCopy-Bqa1HlQo.js +39 -0
- package/dist/TableBtnModal-BQit-SGu.js +4 -0
- package/dist/TableBtnModal-DdNht6Vl.js +4 -0
- package/dist/{TextModel-D4eIZfmj.js → TextModel-BxWU9Gq8.js} +1 -1
- package/dist/TextModel-CJ1aPc_4.js +9 -0
- package/dist/childForm-BkMXEK88.js +4 -0
- package/dist/childForm-gHGrBViT.js +4 -0
- package/dist/{cssMode-B_ZiewAH.js → cssMode-BWD8UR-7.js} +1 -1
- package/dist/cssMode-CkDPbB5M.js +1577 -0
- package/dist/form-imagining.js +9 -9
- package/dist/form-imagining.umd.cjs +251 -253
- package/dist/formTest-DfoY5NBn.js +19 -0
- package/dist/formTest-Dj0PZZ0E.js +19 -0
- package/dist/{freemarker2-BoVD1dnM.js → freemarker2-8TtD-XF5.js} +1 -1
- package/dist/freemarker2-B3T8IPQ1.js +995 -0
- package/dist/{handlebars-ifuhb0Lb.js → handlebars-C_BaW8Rn.js} +1 -1
- package/dist/handlebars-D6qKT-AB.js +425 -0
- package/dist/{html-DZYB8t03.js → html-C2G2dsUq.js} +1 -1
- package/dist/html-Ck1Wx24K.js +314 -0
- package/dist/{htmlMode-DOFueWmP.js → htmlMode-C9heZ-wD.js} +1 -1
- package/dist/htmlMode-DpQWRO56.js +1587 -0
- package/dist/index - /345/211/257/346/234/{254-CIbO8ZcU.js" → 254-5IgttBw9.js" } +38 -38
- package/dist/index - /345/211/257/346/234/254-Cz6y82wV.js" +531 -0
- package/dist/{index-DUBZV_5t.js → index-BJZgJsIz.js} +8047 -6120
- package/dist/index-C0BVVkDi.js +302291 -0
- package/dist/{index-DbGjikbV.js → index-CAd1Adx9.js} +4 -4
- package/dist/index-CeBR6sKj.js +36 -0
- package/dist/index-Cg3usEM6.js +3323 -0
- package/dist/index-CqmwavVi.js +3323 -0
- package/dist/index-DbbQdNO4.js +11 -0
- package/dist/index-cYrkAxdg.js +11 -0
- package/dist/{javascript-BtLKWUmq.js → javascript-BRI3Zb_9.js} +1 -1
- package/dist/javascript-C4Y-AWKe.js +76 -0
- package/dist/json/scope_type.json +6 -6
- package/dist/{jsonMode-CQYbYfxz.js → jsonMode-8xn8SfZQ.js} +1 -1
- package/dist/jsonMode-CPAKXxg0.js +2002 -0
- package/dist/{liquid-CHJI3hXR.js → liquid-DWxQbQ4c.js} +1 -1
- package/dist/liquid-ogK4Qu_y.js +246 -0
- package/dist/{mdx-JvfMqEkP.js → mdx-6wJfcYzW.js} +1 -1
- package/dist/mdx-BJJH_1Vj.js +171 -0
- package/dist/{python-CrRChc1F.js → python-74lxbGw1.js} +1 -1
- package/dist/python-c1fDNvEm.js +307 -0
- package/dist/{razor-D71nSgUR.js → razor-BrOfoM9E.js} +1 -1
- package/dist/razor-Dlgmhv8W.js +556 -0
- package/dist/setting.json +3 -3
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-BI2sz7Dx.js → tableSelectDemo-BvSq3eH4.js} +15 -15
- package/dist/tableSelectDemo-DYDNQA05.js +134 -0
- package/dist/{tableSelectDemo2-C5pw53a8.js → tableSelectDemo2-Bcb8OnpR.js} +6 -6
- package/dist/tableSelectDemo2-Do2Wq46R.js +108 -0
- package/dist/{tsMode-Bt_ny7qs.js → tsMode-8dtB1J5W.js} +7 -7
- package/dist/tsMode-BHGGICf3.js +895 -0
- package/dist/{typescript-DQAW9Yxy.js → typescript-D0qjUcRs.js} +1 -1
- package/dist/typescript-_V4Eojcy.js +349 -0
- package/dist/{xml-Cj-NbBn6.js → xml-CCaCZz6y.js} +1 -1
- package/dist/xml-DdjA8Nsq.js +101 -0
- package/dist/{yaml-DbhGFxhP.js → yaml-2FS6Qljr.js} +1 -1
- package/dist/yaml-CyIWhPlg.js +212 -0
- package/package.json +68 -68
- package/dist/App-BIQh0-lC.js +0 -30
- package/dist/Area-BdxioIhN.js +0 -4
- package/dist/Bar-BQrPuceK.js +0 -4
- package/dist/ChartsArea-BG2Ttoq1.js +0 -4
- package/dist/ChartsBar-D3JI5yi3.js +0 -4
- package/dist/ChartsPie-COlwXlj3.js +0 -4
- package/dist/CheckBoxModel-DTnVGL4L.js +0 -4
- package/dist/Col-b5d3FpfE.js +0 -4
- package/dist/Collapse-CM9cRW7P.js +0 -4
- package/dist/FView-Bcnwet9-.js +0 -4
- package/dist/FX-BKsKbcWT.js +0 -4
- package/dist/GenerateForm-Wmoqhefi.js +0 -4
- package/dist/GenerateReport-DbSQDTq2.js +0 -4
- package/dist/LabelModel-BI6Zw0iH.js +0 -4
- package/dist/Pie-DYxKGS38.js +0 -4
- package/dist/RView-P7QVQHik.js +0 -4
- package/dist/SqlModule-D_4pePg2.js +0 -4
- package/dist/TableBtnModal-BwxBxHSJ.js +0 -4
- package/dist/childForm-Bo_eI2ZK.js +0 -4
- package/dist/formTest-InTCs7JJ.js +0 -19
- package/dist/index-BXkrSJvd.js +0 -11
- package/dist/index-DTzMRyWT.js +0 -3658
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P = { key: 0 }, U = ["onClick"],
|
|
1
|
+
import { defineComponent as K, computed as p, ref as m, resolveComponent as n, openBlock as _, createElementBlock as f, createElementVNode as y, createVNode as l, withCtx as c, isRef as T, unref as k, createTextVNode as D, createCommentVNode as E } from "vue";
|
|
2
|
+
import { aB as L, a5 as R, _ as z } from "./index-C0BVVkDi.js";
|
|
3
|
+
const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P = { key: 0 }, U = ["onClick"], j = /* @__PURE__ */ K({
|
|
4
4
|
__name: "tableSelectDemo",
|
|
5
5
|
props: {
|
|
6
6
|
...L
|
|
@@ -27,7 +27,7 @@ const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P
|
|
|
27
27
|
total: 0,
|
|
28
28
|
current: 1,
|
|
29
29
|
pageSize: 1
|
|
30
|
-
}),
|
|
30
|
+
}), o = m("");
|
|
31
31
|
const b = [
|
|
32
32
|
{
|
|
33
33
|
key: "1",
|
|
@@ -81,15 +81,15 @@ const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P
|
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
return (t, e) => {
|
|
84
|
-
const u = n("a-input-search"), I = n("a-button"), N = n("a-space"),
|
|
85
|
-
return
|
|
84
|
+
const u = n("a-input-search"), I = n("a-button"), N = n("a-space"), B = n("a-table");
|
|
85
|
+
return _(), f("div", M, [
|
|
86
86
|
y("div", O, [
|
|
87
87
|
l(N, null, {
|
|
88
88
|
default: c(() => [
|
|
89
89
|
l(u, {
|
|
90
90
|
ref: "input",
|
|
91
|
-
value: k(
|
|
92
|
-
"onUpdate:value": e[0] || (e[0] = (
|
|
91
|
+
value: k(o),
|
|
92
|
+
"onUpdate:value": e[0] || (e[0] = (a) => T(o) ? o.value = a : o = a),
|
|
93
93
|
placeholder: "请输入",
|
|
94
94
|
style: { width: "200px" },
|
|
95
95
|
onSearch: x
|
|
@@ -107,19 +107,19 @@ const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P
|
|
|
107
107
|
_: 1
|
|
108
108
|
})
|
|
109
109
|
]),
|
|
110
|
-
l(
|
|
110
|
+
l(B, {
|
|
111
111
|
columns: h,
|
|
112
112
|
"data-source": b,
|
|
113
113
|
pagination: k(i),
|
|
114
114
|
"row-selection": C.value,
|
|
115
115
|
rowKey: t.keyName,
|
|
116
|
-
onChange: e[1] || (e[1] = (
|
|
116
|
+
onChange: e[1] || (e[1] = (a) => w(a)),
|
|
117
117
|
bordered: ""
|
|
118
118
|
}, {
|
|
119
|
-
bodyCell: c(({ column:
|
|
120
|
-
|
|
119
|
+
bodyCell: c(({ column: a, record: q }) => [
|
|
120
|
+
a.key == "action" ? (_(), f("span", P, [
|
|
121
121
|
y("a", {
|
|
122
|
-
onClick: (
|
|
122
|
+
onClick: (A) => V()
|
|
123
123
|
}, "测试", 8, U)
|
|
124
124
|
])) : E("", !0)
|
|
125
125
|
]),
|
|
@@ -128,7 +128,7 @@ const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P
|
|
|
128
128
|
]);
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
}),
|
|
131
|
+
}), H = /* @__PURE__ */ z(j, [["__scopeId", "data-v-cea0ef13"]]);
|
|
132
132
|
export {
|
|
133
|
-
|
|
133
|
+
H as default
|
|
134
134
|
};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { defineComponent as K, computed as p, ref as m, resolveComponent as n, openBlock as _, createElementBlock as f, createElementVNode as y, createVNode as l, withCtx as c, isRef as T, unref as k, createTextVNode as D, createCommentVNode as E } from "vue";
|
|
2
|
+
import { aB as L, a5 as R, _ as z } from "./index-BJZgJsIz.js";
|
|
3
|
+
const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P = { key: 0 }, U = ["onClick"], j = /* @__PURE__ */ K({
|
|
4
|
+
__name: "tableSelectDemo",
|
|
5
|
+
props: {
|
|
6
|
+
...L
|
|
7
|
+
},
|
|
8
|
+
emits: ["update:value", "rowChange"],
|
|
9
|
+
setup(v, { emit: g }) {
|
|
10
|
+
const r = v;
|
|
11
|
+
let s = p({
|
|
12
|
+
get() {
|
|
13
|
+
return r.value;
|
|
14
|
+
},
|
|
15
|
+
set(t) {
|
|
16
|
+
d("update:value", t);
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const d = g, C = p(() => ({
|
|
20
|
+
type: r.mode === "multiple" ? "checkbox" : "radio",
|
|
21
|
+
selectedRowKeys: s.value,
|
|
22
|
+
onChange: (t, e) => {
|
|
23
|
+
s.value = t, d("rowChange", e);
|
|
24
|
+
}
|
|
25
|
+
}));
|
|
26
|
+
let i = m({
|
|
27
|
+
total: 0,
|
|
28
|
+
current: 1,
|
|
29
|
+
pageSize: 1
|
|
30
|
+
}), o = m("");
|
|
31
|
+
const b = [
|
|
32
|
+
{
|
|
33
|
+
key: "1",
|
|
34
|
+
name: "胡彦斌",
|
|
35
|
+
age: 32,
|
|
36
|
+
address: "西湖区湖底公园1号"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
key: "2",
|
|
40
|
+
name: "胡彦祖",
|
|
41
|
+
age: 42,
|
|
42
|
+
address: "西湖区湖底公园1号"
|
|
43
|
+
}
|
|
44
|
+
], h = [
|
|
45
|
+
{
|
|
46
|
+
title: "姓名",
|
|
47
|
+
dataIndex: "name",
|
|
48
|
+
key: "name"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
title: "年龄",
|
|
52
|
+
dataIndex: "age",
|
|
53
|
+
key: "age"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
title: "住址",
|
|
57
|
+
dataIndex: "address",
|
|
58
|
+
key: "address"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
title: "操作",
|
|
62
|
+
dataIndex: "action",
|
|
63
|
+
key: "action"
|
|
64
|
+
}
|
|
65
|
+
];
|
|
66
|
+
function w(t, e) {
|
|
67
|
+
i.value = t;
|
|
68
|
+
}
|
|
69
|
+
function x(t) {
|
|
70
|
+
}
|
|
71
|
+
function S() {
|
|
72
|
+
s.value = [];
|
|
73
|
+
}
|
|
74
|
+
function V(t) {
|
|
75
|
+
let e = R({
|
|
76
|
+
onOk: (u) => {
|
|
77
|
+
e.setConfirmLoading(!0), setTimeout(() => {
|
|
78
|
+
e.setConfirmLoading(!1), e.destroy();
|
|
79
|
+
}, 2e3);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
return (t, e) => {
|
|
84
|
+
const u = n("a-input-search"), I = n("a-button"), N = n("a-space"), B = n("a-table");
|
|
85
|
+
return _(), f("div", M, [
|
|
86
|
+
y("div", O, [
|
|
87
|
+
l(N, null, {
|
|
88
|
+
default: c(() => [
|
|
89
|
+
l(u, {
|
|
90
|
+
ref: "input",
|
|
91
|
+
value: k(o),
|
|
92
|
+
"onUpdate:value": e[0] || (e[0] = (a) => T(o) ? o.value = a : o = a),
|
|
93
|
+
placeholder: "请输入",
|
|
94
|
+
style: { width: "200px" },
|
|
95
|
+
onSearch: x
|
|
96
|
+
}, null, 8, ["value"]),
|
|
97
|
+
l(I, {
|
|
98
|
+
type: "primary",
|
|
99
|
+
onClick: S
|
|
100
|
+
}, {
|
|
101
|
+
default: c(() => [...e[2] || (e[2] = [
|
|
102
|
+
D("重置", -1)
|
|
103
|
+
])]),
|
|
104
|
+
_: 1
|
|
105
|
+
})
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
})
|
|
109
|
+
]),
|
|
110
|
+
l(B, {
|
|
111
|
+
columns: h,
|
|
112
|
+
"data-source": b,
|
|
113
|
+
pagination: k(i),
|
|
114
|
+
"row-selection": C.value,
|
|
115
|
+
rowKey: t.keyName,
|
|
116
|
+
onChange: e[1] || (e[1] = (a) => w(a)),
|
|
117
|
+
bordered: ""
|
|
118
|
+
}, {
|
|
119
|
+
bodyCell: c(({ column: a, record: q }) => [
|
|
120
|
+
a.key == "action" ? (_(), f("span", P, [
|
|
121
|
+
y("a", {
|
|
122
|
+
onClick: (A) => V()
|
|
123
|
+
}, "测试", 8, U)
|
|
124
|
+
])) : E("", !0)
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}, 8, ["pagination", "row-selection", "rowKey"])
|
|
128
|
+
]);
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
}), H = /* @__PURE__ */ z(j, [["__scopeId", "data-v-cea0ef13"]]);
|
|
132
|
+
export {
|
|
133
|
+
H as default
|
|
134
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as C, computed as u, ref as p, resolveComponent as n,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as C, computed as u, ref as p, resolveComponent as n, openBlock as S, createElementBlock as V, createElementVNode as N, createVNode as l, withCtx as i, isRef as B, unref as m, createTextVNode as I } from "vue";
|
|
2
|
+
import { aB as K } from "./index-BJZgJsIz.js";
|
|
3
3
|
const E = { class: "table-select-form" }, R = { class: "table-select-tool" }, D = /* @__PURE__ */ C({
|
|
4
4
|
__name: "tableSelectDemo2",
|
|
5
5
|
props: {
|
|
6
|
-
...
|
|
6
|
+
...K
|
|
7
7
|
},
|
|
8
8
|
emits: ["update:value", "rowChange"],
|
|
9
9
|
setup(_, { emit: g }) {
|
|
@@ -69,20 +69,20 @@ const E = { class: "table-select-form" }, R = { class: "table-select-tool" }, D
|
|
|
69
69
|
}
|
|
70
70
|
return (t, e) => {
|
|
71
71
|
const k = n("a-input-search"), w = n("a-button"), h = n("a-space"), x = n("a-table");
|
|
72
|
-
return
|
|
72
|
+
return S(), V("div", E, [
|
|
73
73
|
N("div", R, [
|
|
74
74
|
l(h, null, {
|
|
75
75
|
default: i(() => [
|
|
76
76
|
l(k, {
|
|
77
77
|
ref: "input",
|
|
78
78
|
value: m(a),
|
|
79
|
-
"onUpdate:value": e[0] || (e[0] = (o) =>
|
|
79
|
+
"onUpdate:value": e[0] || (e[0] = (o) => B(a) ? a.value = o : a = o),
|
|
80
80
|
placeholder: "请输入",
|
|
81
81
|
style: { width: "200px" }
|
|
82
82
|
}, null, 8, ["value"]),
|
|
83
83
|
l(w, { type: "primary" }, {
|
|
84
84
|
default: i(() => [...e[2] || (e[2] = [
|
|
85
|
-
|
|
85
|
+
I("重置", -1)
|
|
86
86
|
])]),
|
|
87
87
|
_: 1
|
|
88
88
|
})
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { defineComponent as C, computed as u, ref as p, resolveComponent as n, openBlock as S, createElementBlock as V, createElementVNode as N, createVNode as l, withCtx as i, isRef as B, unref as m, createTextVNode as I } from "vue";
|
|
2
|
+
import { aB as K } from "./index-C0BVVkDi.js";
|
|
3
|
+
const E = { class: "table-select-form" }, R = { class: "table-select-tool" }, D = /* @__PURE__ */ C({
|
|
4
|
+
__name: "tableSelectDemo2",
|
|
5
|
+
props: {
|
|
6
|
+
...K
|
|
7
|
+
},
|
|
8
|
+
emits: ["update:value", "rowChange"],
|
|
9
|
+
setup(_, { emit: g }) {
|
|
10
|
+
const s = _;
|
|
11
|
+
let r = u({
|
|
12
|
+
get() {
|
|
13
|
+
return s.value;
|
|
14
|
+
},
|
|
15
|
+
set(t) {
|
|
16
|
+
d("update:value", t);
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const d = g, y = u(() => ({
|
|
20
|
+
type: s.mode === "multiple" ? "checkbox" : "radio",
|
|
21
|
+
selectedRowKeys: r.value,
|
|
22
|
+
onChange: (t, e) => {
|
|
23
|
+
r.value = t, d("rowChange", e);
|
|
24
|
+
}
|
|
25
|
+
}));
|
|
26
|
+
let a = p(""), c = p({
|
|
27
|
+
total: 0,
|
|
28
|
+
current: 1,
|
|
29
|
+
pageSize: 1
|
|
30
|
+
});
|
|
31
|
+
const f = [
|
|
32
|
+
{
|
|
33
|
+
key: "1",
|
|
34
|
+
name2: "胡彦斌",
|
|
35
|
+
age2: 32,
|
|
36
|
+
address2: "西湖区湖底公园1号"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
key: "2",
|
|
40
|
+
name2: "胡彦祖",
|
|
41
|
+
age2: 42,
|
|
42
|
+
address2: "西湖区湖底公园1号"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
key: "3",
|
|
46
|
+
name2: "胡祖",
|
|
47
|
+
age2: 4,
|
|
48
|
+
address2: "西湖区湖底公园1号"
|
|
49
|
+
}
|
|
50
|
+
], v = [
|
|
51
|
+
{
|
|
52
|
+
title: "姓名2",
|
|
53
|
+
dataIndex: "name2",
|
|
54
|
+
key: "name2"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
title: "年龄2",
|
|
58
|
+
dataIndex: "age2",
|
|
59
|
+
key: "age2"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
title: "住址2",
|
|
63
|
+
dataIndex: "address2",
|
|
64
|
+
key: "address2"
|
|
65
|
+
}
|
|
66
|
+
];
|
|
67
|
+
function b(t, e) {
|
|
68
|
+
c.value = t;
|
|
69
|
+
}
|
|
70
|
+
return (t, e) => {
|
|
71
|
+
const k = n("a-input-search"), w = n("a-button"), h = n("a-space"), x = n("a-table");
|
|
72
|
+
return S(), V("div", E, [
|
|
73
|
+
N("div", R, [
|
|
74
|
+
l(h, null, {
|
|
75
|
+
default: i(() => [
|
|
76
|
+
l(k, {
|
|
77
|
+
ref: "input",
|
|
78
|
+
value: m(a),
|
|
79
|
+
"onUpdate:value": e[0] || (e[0] = (o) => B(a) ? a.value = o : a = o),
|
|
80
|
+
placeholder: "请输入",
|
|
81
|
+
style: { width: "200px" }
|
|
82
|
+
}, null, 8, ["value"]),
|
|
83
|
+
l(w, { type: "primary" }, {
|
|
84
|
+
default: i(() => [...e[2] || (e[2] = [
|
|
85
|
+
I("重置", -1)
|
|
86
|
+
])]),
|
|
87
|
+
_: 1
|
|
88
|
+
})
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
})
|
|
92
|
+
]),
|
|
93
|
+
l(x, {
|
|
94
|
+
columns: v,
|
|
95
|
+
"data-source": f,
|
|
96
|
+
pagination: m(c),
|
|
97
|
+
"row-selection": y.value,
|
|
98
|
+
rowKey: t.keyName,
|
|
99
|
+
onChange: e[1] || (e[1] = (o) => b(o)),
|
|
100
|
+
bordered: ""
|
|
101
|
+
}, null, 8, ["pagination", "row-selection", "rowKey"])
|
|
102
|
+
]);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
export {
|
|
107
|
+
D as default
|
|
108
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aC as O, aq as I } from "./index-BJZgJsIz.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -559,7 +559,7 @@ var U = class P extends _ {
|
|
|
559
559
|
}
|
|
560
560
|
return l;
|
|
561
561
|
}
|
|
562
|
-
},
|
|
562
|
+
}, q = class extends _ {
|
|
563
563
|
async provideDocumentSymbols(e, t) {
|
|
564
564
|
const i = e.uri, o = await this._worker(i);
|
|
565
565
|
if (e.isDisposed())
|
|
@@ -625,7 +625,7 @@ var k = class extends _ {
|
|
|
625
625
|
range: this._textSpanToRange(e, t.span)
|
|
626
626
|
};
|
|
627
627
|
}
|
|
628
|
-
},
|
|
628
|
+
}, Q = class extends k {
|
|
629
629
|
constructor() {
|
|
630
630
|
super(...arguments), this.canFormatMultipleRanges = !1;
|
|
631
631
|
}
|
|
@@ -839,7 +839,7 @@ function L(e, t) {
|
|
|
839
839
|
), s.documentSymbols && i.push(
|
|
840
840
|
a.languages.registerDocumentSymbolProvider(
|
|
841
841
|
t,
|
|
842
|
-
new
|
|
842
|
+
new q(n)
|
|
843
843
|
)
|
|
844
844
|
), s.rename && i.push(
|
|
845
845
|
a.languages.registerRenameProvider(
|
|
@@ -849,7 +849,7 @@ function L(e, t) {
|
|
|
849
849
|
), s.documentRangeFormattingEdits && i.push(
|
|
850
850
|
a.languages.registerDocumentRangeFormattingEditProvider(
|
|
851
851
|
t,
|
|
852
|
-
new
|
|
852
|
+
new Q(n)
|
|
853
853
|
)
|
|
854
854
|
), s.onTypeFormattingEdits && i.push(
|
|
855
855
|
a.languages.registerOnTypeFormattingEditProvider(
|
|
@@ -874,13 +874,13 @@ export {
|
|
|
874
874
|
G as DefinitionAdapter,
|
|
875
875
|
j as DiagnosticsAdapter,
|
|
876
876
|
z as DocumentHighlightAdapter,
|
|
877
|
-
|
|
877
|
+
Q as FormatAdapter,
|
|
878
878
|
k as FormatHelper,
|
|
879
879
|
X as FormatOnTypeAdapter,
|
|
880
880
|
ee as InlayHintsAdapter,
|
|
881
881
|
f as Kind,
|
|
882
882
|
W as LibFiles,
|
|
883
|
-
|
|
883
|
+
q as OutlineAdapter,
|
|
884
884
|
$ as QuickInfoAdapter,
|
|
885
885
|
J as ReferenceAdapter,
|
|
886
886
|
Z as RenameAdapter,
|