form-imagining 0.0.92-beta1 → 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.
Files changed (112) hide show
  1. package/dist/App-BtkDkcdK.js +32 -0
  2. package/dist/App-DZeeXrAi.js +32 -0
  3. package/dist/Area-BHKEscV-.js +4 -0
  4. package/dist/Area-DLF4dKyb.js +4 -0
  5. package/dist/Bar--Tn_i50U.js +4 -0
  6. package/dist/Bar-g-UJZxZz.js +4 -0
  7. package/dist/ChartsArea-0wrqHfos.js +4 -0
  8. package/dist/ChartsArea-Dya2T0Hf.js +4 -0
  9. package/dist/ChartsBar-CVO6LNSb.js +4 -0
  10. package/dist/ChartsBar-De3wqxB9.js +4 -0
  11. package/dist/ChartsPie-BzuLpsbV.js +4 -0
  12. package/dist/ChartsPie-M9v47a1y.js +4 -0
  13. package/dist/CheckBoxModel-DL90UDdw.js +4 -0
  14. package/dist/CheckBoxModel-hSZd0YyP.js +4 -0
  15. package/dist/Col-BiZex8OV.js +4 -0
  16. package/dist/Col-DAuf-D27.js +4 -0
  17. package/dist/Collapse-D1wtVr4J.js +4 -0
  18. package/dist/Collapse-ObYssHj6.js +4 -0
  19. package/dist/CommonText copy-CnTaynHd.js +189 -0
  20. package/dist/CommonText copy-DfObA3kp.js +189 -0
  21. package/dist/Demo-B3jXn-Wm.js +201 -0
  22. package/dist/Demo-DCuaQcE7.js +72 -0
  23. package/dist/Demo-Dwy222GW.js +72 -0
  24. package/dist/Demo-TdNyclAe.js +201 -0
  25. package/dist/FView-B3MnQkCE.js +4 -0
  26. package/dist/FView-D5njXTYr.js +4 -0
  27. package/dist/FX-DaGuj_pg.js +4 -0
  28. package/dist/FX-Ds_RTNfB.js +4 -0
  29. package/dist/FormGridCopy-BhNEuN_v.js +168 -0
  30. package/dist/FormGridCopy-DuV9Ni27.js +168 -0
  31. package/dist/FormImagining-DPQkYBgj.js +9 -0
  32. package/dist/FormImagining-mMqPn9Ll.js +9 -0
  33. package/dist/GenerateForm-Bc_gKUhp.js +4 -0
  34. package/dist/GenerateForm-RTuqKBFk.js +4 -0
  35. package/dist/GenerateReport-CYWOUnXC.js +4 -0
  36. package/dist/GenerateReport-MBi8bZl7.js +4 -0
  37. package/dist/HelloWorld-BeqAgIrc.js +9 -0
  38. package/dist/HelloWorld-ozWUgTPI.js +9 -0
  39. package/dist/Input-/345/210/240/351/231/244-BSy1dpR9.js +87 -0
  40. package/dist/Input-/345/210/240/351/231/244-bH-Y8vY6.js +87 -0
  41. package/dist/Label-/345/210/240/351/231/244-BlmENKyQ.js +92 -0
  42. package/dist/Label-/345/210/240/351/231/244-Cq2Ayj6E.js +92 -0
  43. package/dist/LabelModel-B6Hvk81c.js +4 -0
  44. package/dist/LabelModel-BAM6G3Ie.js +4 -0
  45. package/dist/Login-cwLdgf2n.js +9 -0
  46. package/dist/Login-lb3t6gnq.js +9 -0
  47. package/dist/Pie-Bdwe3wcU.js +4 -0
  48. package/dist/Pie-Jo6W9CJB.js +4 -0
  49. package/dist/PropertyIndex-B-NHOEV0.js +4 -0
  50. package/dist/PropertyIndex-DgQ24KcZ.js +4 -0
  51. package/dist/RView-CCm2BHv0.js +4 -0
  52. package/dist/RView-oDLUM6Lo.js +4 -0
  53. package/dist/SqlModule-DTW0tMR7.js +4 -0
  54. package/dist/SqlModule-JAqDy8bK.js +4 -0
  55. package/dist/SvgIconCopy-B0GIGBZv.js +39 -0
  56. package/dist/SvgIconCopy-Bmi1qbTC.js +39 -0
  57. package/dist/TableBtnModal-CApZwv92.js +4 -0
  58. package/dist/TableBtnModal-r-13ZsI9.js +4 -0
  59. package/dist/TextModel-CzAuMCPf.js +9 -0
  60. package/dist/TextModel-aT7LooUr.js +9 -0
  61. package/dist/childForm-BglEql5G.js +4 -0
  62. package/dist/childForm-iXdTPSZL.js +4 -0
  63. package/dist/cssMode-HBTpfptp.js +1577 -0
  64. package/dist/cssMode-SsosamS5.js +1577 -0
  65. package/dist/form-imagining.js +1 -1
  66. package/dist/form-imagining.umd.cjs +5 -5
  67. package/dist/formTest-BBmM88LZ.js +19 -0
  68. package/dist/formTest-DdIjfGpu.js +19 -0
  69. package/dist/freemarker2-CDFH8CaW.js +995 -0
  70. package/dist/freemarker2-CcHBBlpf.js +995 -0
  71. package/dist/handlebars-DfcmDcw8.js +425 -0
  72. package/dist/handlebars-Dp4NcSjN.js +425 -0
  73. package/dist/html-CKJuyuep.js +314 -0
  74. package/dist/html-DJqtjUfW.js +314 -0
  75. package/dist/htmlMode-BWiO4pRY.js +1587 -0
  76. package/dist/htmlMode-CA0fDGcQ.js +1587 -0
  77. package/dist/index - /345/211/257/346/234/254-8Cr7tC3N.js" +531 -0
  78. package/dist/index - /345/211/257/346/234/254-UCuyvE6m.js" +531 -0
  79. package/dist/index-B62shk7i.js +11 -0
  80. package/dist/index-BpyIDAPw.js +3323 -0
  81. package/dist/index-Bux9hm-L.js +300191 -0
  82. package/dist/index-C7qdpjIL.js +36 -0
  83. package/dist/index-CK6F3EQf.js +11 -0
  84. package/dist/index-Ctpjp4rq.js +36 -0
  85. package/dist/index-DUW9FD08.js +3323 -0
  86. package/dist/index-wY48_10N.js +300162 -0
  87. package/dist/javascript-CPCjva_r.js +76 -0
  88. package/dist/javascript-D1TTqDJv.js +76 -0
  89. package/dist/jsonMode-BlL2u-dx.js +2002 -0
  90. package/dist/jsonMode-DEavh37X.js +2002 -0
  91. package/dist/liquid-Bc0jxNGA.js +246 -0
  92. package/dist/liquid-D3Ero-K5.js +246 -0
  93. package/dist/mdx-9y_7F0Bo.js +171 -0
  94. package/dist/mdx-CYm1NWQD.js +171 -0
  95. package/dist/python-BPeneLIu.js +307 -0
  96. package/dist/python-CZaLu6bh.js +307 -0
  97. package/dist/razor-Bnmmlnh_.js +556 -0
  98. package/dist/razor-CuQONhZ_.js +556 -0
  99. package/dist/style.css +1 -1
  100. package/dist/tableSelectDemo-DsTljq6I.js +134 -0
  101. package/dist/tableSelectDemo-EkGJqe7z.js +134 -0
  102. package/dist/tableSelectDemo2-B92XBNnl.js +108 -0
  103. package/dist/tableSelectDemo2-BaV81cyf.js +108 -0
  104. package/dist/tsMode-BMfmnceI.js +895 -0
  105. package/dist/tsMode-Dpzp6hEL.js +895 -0
  106. package/dist/typescript-BN1BF4_9.js +349 -0
  107. package/dist/typescript-D4uhirbI.js +349 -0
  108. package/dist/xml-BFVowNZ0.js +101 -0
  109. package/dist/xml-CSQLleJF.js +101 -0
  110. package/dist/yaml-DxoitMTx.js +212 -0
  111. package/dist/yaml-WbjWgGoS.js +212 -0
  112. 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-wY48_10N.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,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-Bux9hm-L.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-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
+ };
@@ -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-wY48_10N.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
+ };