form-imagining 0.0.92-beta7 → 0.0.92-beta8

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.
Files changed (58) hide show
  1. package/dist/App-DivC6yp0.js +32 -0
  2. package/dist/Area-CKfU15RV.js +4 -0
  3. package/dist/Bar-BPmpbaOq.js +4 -0
  4. package/dist/ChartsArea-B4EZg3lg.js +4 -0
  5. package/dist/ChartsBar-Cn41HaGQ.js +4 -0
  6. package/dist/ChartsPie-DBmDwrjX.js +4 -0
  7. package/dist/CheckBoxModel-x560MK0X.js +4 -0
  8. package/dist/Col-C4Ge7vlR.js +4 -0
  9. package/dist/Collapse-BbNIVnHz.js +4 -0
  10. package/dist/CommonText copy-CeD2C5cC.js +189 -0
  11. package/dist/Demo-De9b1LPQ.js +72 -0
  12. package/dist/Demo-DxJZ-glB.js +201 -0
  13. package/dist/FView-Bz1jZE2O.js +4 -0
  14. package/dist/FX-BmlAaFie.js +4 -0
  15. package/dist/FormGridCopy-CexxDduw.js +168 -0
  16. package/dist/FormImagining-F2OHFISw.js +9 -0
  17. package/dist/GenerateForm-BXhbcivI.js +4 -0
  18. package/dist/GenerateReport-C2_OMnbn.js +4 -0
  19. package/dist/HelloWorld-BtKOBEKj.js +9 -0
  20. package/dist/Input-/345/210/240/351/231/244-DRjeoaFv.js +87 -0
  21. package/dist/Label-/345/210/240/351/231/244-CV8XSJFH.js +92 -0
  22. package/dist/LabelModel-CveoZdcM.js +4 -0
  23. package/dist/Login-DxHw3why.js +9 -0
  24. package/dist/Pie-DpvUqW1s.js +4 -0
  25. package/dist/PropertyIndex-Dmswv_yY.js +4 -0
  26. package/dist/RView-88PWV-yY.js +4 -0
  27. package/dist/SqlModule-lCBsTjiq.js +4 -0
  28. package/dist/SvgIconCopy-B9bpSuZz.js +39 -0
  29. package/dist/TableBtnModal-7JAXQ2J9.js +4 -0
  30. package/dist/TextModel-CXrlwcLJ.js +9 -0
  31. package/dist/childForm-BKopkRnr.js +4 -0
  32. package/dist/cssMode-DgwRXyKT.js +1577 -0
  33. package/dist/form-imagining.js +1 -1
  34. package/dist/form-imagining.umd.cjs +3 -3
  35. package/dist/formTest-DJBguS1q.js +19 -0
  36. package/dist/freemarker2-K19KuBaz.js +995 -0
  37. package/dist/handlebars-BCzzyk2d.js +425 -0
  38. package/dist/html-Cqnia1Yh.js +314 -0
  39. package/dist/htmlMode-BNqllegq.js +1587 -0
  40. package/dist/index - /345/211/257/346/234/254-6uaY67yD.js" +531 -0
  41. package/dist/index-C3h9ugu_.js +11 -0
  42. package/dist/index-CZ6i2NKN.js +3323 -0
  43. package/dist/index-DMUnfs1a.js +301820 -0
  44. package/dist/index-DQTLax5s.js +36 -0
  45. package/dist/javascript-DEu2Rd6d.js +76 -0
  46. package/dist/jsonMode-uU1pKPjW.js +2002 -0
  47. package/dist/liquid-DHFIUBrK.js +246 -0
  48. package/dist/mdx-B_dsl4h0.js +171 -0
  49. package/dist/python-BNPvUsVa.js +307 -0
  50. package/dist/razor-9CK42jyj.js +556 -0
  51. package/dist/style.css +1 -1
  52. package/dist/tableSelectDemo-BFlqqkp9.js +134 -0
  53. package/dist/tableSelectDemo2-B3vgxtve.js +108 -0
  54. package/dist/tsMode-BomOeUUR.js +895 -0
  55. package/dist/typescript-pLnw0EPj.js +349 -0
  56. package/dist/xml-BD_Uvx7J.js +101 -0
  57. package/dist/yaml-Dd7N0-Am.js +212 -0
  58. package/package.json +1 -1
@@ -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-DMUnfs1a.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
+ };
@@ -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-DMUnfs1a.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
+ };