form-imagining 0.0.92-beta2 → 0.0.92-beta3
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-BtkDkcdK.js +32 -0
- package/dist/Area-DLF4dKyb.js +4 -0
- package/dist/Bar-g-UJZxZz.js +4 -0
- package/dist/ChartsArea-Dya2T0Hf.js +4 -0
- package/dist/ChartsBar-CVO6LNSb.js +4 -0
- package/dist/ChartsPie-BzuLpsbV.js +4 -0
- package/dist/CheckBoxModel-hSZd0YyP.js +4 -0
- package/dist/Col-BiZex8OV.js +4 -0
- package/dist/Collapse-ObYssHj6.js +4 -0
- package/dist/CommonText copy-DfObA3kp.js +189 -0
- package/dist/Demo-Dwy222GW.js +72 -0
- package/dist/Demo-TdNyclAe.js +201 -0
- package/dist/FView-B3MnQkCE.js +4 -0
- package/dist/FX-DaGuj_pg.js +4 -0
- package/dist/FormGridCopy-DuV9Ni27.js +168 -0
- package/dist/FormImagining-mMqPn9Ll.js +9 -0
- package/dist/GenerateForm-RTuqKBFk.js +4 -0
- package/dist/GenerateReport-CYWOUnXC.js +4 -0
- package/dist/HelloWorld-BeqAgIrc.js +9 -0
- package/dist/Input-/345/210/240/351/231/244-bH-Y8vY6.js +87 -0
- package/dist/Label-/345/210/240/351/231/244-Cq2Ayj6E.js +92 -0
- package/dist/LabelModel-B6Hvk81c.js +4 -0
- package/dist/Login-cwLdgf2n.js +9 -0
- package/dist/Pie-Jo6W9CJB.js +4 -0
- package/dist/PropertyIndex-B-NHOEV0.js +4 -0
- package/dist/RView-oDLUM6Lo.js +4 -0
- package/dist/SqlModule-JAqDy8bK.js +4 -0
- package/dist/SvgIconCopy-B0GIGBZv.js +39 -0
- package/dist/TableBtnModal-CApZwv92.js +4 -0
- package/dist/TextModel-CzAuMCPf.js +9 -0
- package/dist/childForm-iXdTPSZL.js +4 -0
- package/dist/cssMode-HBTpfptp.js +1577 -0
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +2 -2
- package/dist/formTest-BBmM88LZ.js +19 -0
- package/dist/freemarker2-CDFH8CaW.js +995 -0
- package/dist/handlebars-Dp4NcSjN.js +425 -0
- package/dist/html-DJqtjUfW.js +314 -0
- package/dist/htmlMode-CA0fDGcQ.js +1587 -0
- package/dist/index - /345/211/257/346/234/254-8Cr7tC3N.js" +531 -0
- package/dist/index-Bux9hm-L.js +300191 -0
- package/dist/index-C7qdpjIL.js +36 -0
- package/dist/index-CK6F3EQf.js +11 -0
- package/dist/index-DUW9FD08.js +3323 -0
- package/dist/javascript-D1TTqDJv.js +76 -0
- package/dist/jsonMode-DEavh37X.js +2002 -0
- package/dist/liquid-Bc0jxNGA.js +246 -0
- package/dist/mdx-CYm1NWQD.js +171 -0
- package/dist/python-BPeneLIu.js +307 -0
- package/dist/razor-CuQONhZ_.js +556 -0
- package/dist/tableSelectDemo-EkGJqe7z.js +134 -0
- package/dist/tableSelectDemo2-B92XBNnl.js +108 -0
- package/dist/tsMode-Dpzp6hEL.js +895 -0
- package/dist/typescript-D4uhirbI.js +349 -0
- package/dist/xml-BFVowNZ0.js +101 -0
- package/dist/yaml-WbjWgGoS.js +212 -0
- package/package.json +1 -1
|
@@ -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-Bux9hm-L.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
|
+
};
|