form-imagining 0.0.32 → 0.0.34

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 (66) hide show
  1. package/dist/App-639185df.js +24 -0
  2. package/dist/Code-16b535b8.js +5 -0
  3. package/dist/Col-dcf8fd4e.js +5 -0
  4. package/dist/Collapse-5a3696ea.js +5 -0
  5. package/dist/Demo-be0d3a37.js +10 -0
  6. package/dist/Demo-c294a839.js +76 -0
  7. package/dist/Form-30437aaa.js +5 -0
  8. package/dist/GenerateForm-8e63a340.js +5 -0
  9. package/dist/{cTable-6ef99e66.js → GenerateReport-b816c048.js} +1 -1
  10. package/dist/Grid-c489fc08.js +5 -0
  11. package/dist/HelloWorld-a3f13c42.js +10 -0
  12. package/dist/Input-/345/210/240/351/231/{244-52e86c3f.js → 244-bbcbc8dd.js} +1 -1
  13. package/dist/Label-/345/210/240/351/231/{244-d3e56205.js → 244-51abf27d.js} +1 -1
  14. package/dist/{Login-74d2a8c0.js → Login-84c418e9.js} +1 -1
  15. package/dist/ReportModule-83616536.js +5 -0
  16. package/dist/SqlModule-e2e8098a.js +5 -0
  17. package/dist/Table-e412d800.js +5 -0
  18. package/dist/arrow-0f9d2c91.js +4 -0
  19. package/dist/cTable-b4844432.js +5 -0
  20. package/dist/childForm-216b318b.js +5 -0
  21. package/dist/collapse-d0408569.js +4 -0
  22. package/dist/{cssMode-04c71774.js → cssMode-a4cbe20b.js} +1 -1
  23. package/dist/form-imagining.js +4 -2
  24. package/dist/form-imagining.umd.cjs +824 -414
  25. package/dist/{freemarker2-b6f028a0.js → freemarker2-c23f783b.js} +1 -1
  26. package/dist/{handlebars-2019ba89.js → handlebars-b4d92eb1.js} +1 -1
  27. package/dist/{html-536dc687.js → html-fa70f40f.js} +1 -1
  28. package/dist/{htmlMode-b4bce87c.js → htmlMode-9975936c.js} +1 -1
  29. package/dist/{index-a03a7e79.js → index-0e942346.js} +1 -1
  30. package/dist/{index-ae909b3d.js → index-7aef62cd.js} +187999 -160163
  31. package/dist/{javascript-27d1ed02.js → javascript-d09f4edd.js} +2 -2
  32. package/dist/{jsonMode-4d329c63.js → jsonMode-73af7c2d.js} +1 -1
  33. package/dist/{liquid-3d64e789.js → liquid-5f75f12d.js} +1 -1
  34. package/dist/{mdx-d874a50e.js → mdx-5093cac6.js} +1 -1
  35. package/dist/{python-3e7e8eb9.js → python-d614655e.js} +1 -1
  36. package/dist/{razor-4aa9f2f2.js → razor-9ddbb2d1.js} +1 -1
  37. package/dist/style.css +1 -1
  38. package/dist/{tableSelectDemo-91143acc.js → tableSelectDemo-3175ccb4.js} +39 -40
  39. package/dist/{tableSelectDemo2-72697acb.js → tableSelectDemo2-8104e5c8.js} +34 -34
  40. package/dist/{tsMode-e5fb290f.js → tsMode-ded83a41.js} +1 -1
  41. package/dist/{typescript-1bab9a0c.js → typescript-149dfa07.js} +1 -1
  42. package/dist/{xml-f45d900d.js → xml-1e4b8fa9.js} +1 -1
  43. package/dist/{yaml-dfef5fab.js → yaml-d251ce2f.js} +1 -1
  44. package/package.json +1 -1
  45. package/dist/App-790a83c6.js +0 -19
  46. package/dist/Code-953bd738.js +0 -5
  47. package/dist/Col-395e8c20.js +0 -5
  48. package/dist/Demo-8d597096.js +0 -110
  49. package/dist/Demo-d347a1c2.js +0 -45
  50. package/dist/Form-417fdfad.js +0 -5
  51. package/dist/FormPublic-277fc835.js +0 -5
  52. package/dist/GenerateForm-e631bb7e.js +0 -5
  53. package/dist/Grid-f6ec82a6.js +0 -5
  54. package/dist/Preview0925-fdfb9dcc.js +0 -62
  55. package/dist/PreviewDemo-20d4552f.js +0 -6
  56. package/dist/PreviewDemo.vue_vue_type_script_setup_true_lang-c74625b2.js +0 -285
  57. package/dist/PreviewDemo2-07cc2276.js +0 -6
  58. package/dist/PreviewDemo2.vue_vue_type_script_setup_true_lang-d03684e1.js +0 -88
  59. package/dist/PreviewDemo3-3c1071f6.js +0 -82
  60. package/dist/SqlModule-2b638336.js +0 -5
  61. package/dist/Table-28a24022.js +0 -5
  62. package/dist/ceshi2-d399c135.js +0 -82
  63. package/dist/ceshiDemo-be19020c.js +0 -85
  64. package/dist/childForm-1a46e611.js +0 -5
  65. package/dist/modalDemo-396a6892.js +0 -53
  66. package/dist/tableSelectOptions-97e674c2.js +0 -16
@@ -1,27 +1,26 @@
1
- import { defineComponent as K, computed as p, ref as _, resolveComponent as n, openBlock as m, createElementBlock as f, createElementVNode as y, createVNode as l, withCtx as c, unref as v, isRef as T, createTextVNode as B, createCommentVNode as E } from "vue";
2
- import { c as L, a as R } from "./index-ae909b3d.js";
3
- import { t as z } from "./tableSelectOptions-97e674c2.js";
4
- const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P = { key: 0 }, U = ["onClick"], j = /* @__PURE__ */ K({
1
+ import { defineComponent as T, computed as p, ref as _, resolveComponent as n, openBlock as m, createElementBlock as f, createElementVNode as y, createVNode as l, withCtx as c, unref as v, isRef as B, createTextVNode as E, createCommentVNode as L } from "vue";
2
+ import { t as R, c as z, _ as M } from "./index-7aef62cd.js";
3
+ const O = { class: "table-select-form" }, P = { class: "table-select-tool" }, U = { key: 0 }, j = ["onClick"], q = /* @__PURE__ */ T({
5
4
  __name: "tableSelectDemo",
6
5
  props: {
7
- ...z
6
+ ...R
8
7
  },
9
8
  emits: ["update:value", "rowChange"],
10
- setup(g, { emit: r }) {
11
- const d = g;
9
+ setup(g, { emit: k }) {
10
+ const r = g;
12
11
  let s = p({
13
12
  get() {
14
- return d.value;
13
+ return r.value;
15
14
  },
16
15
  set(t) {
17
- r("update:value", t);
16
+ d("update:value", t);
18
17
  }
19
18
  });
20
- const k = p(() => ({
21
- type: d.mode === "multiple" ? "checkbox" : "radio",
19
+ const d = k, C = p(() => ({
20
+ type: r.mode === "multiple" ? "checkbox" : "radio",
22
21
  selectedRowKeys: s.value,
23
22
  onChange: (t, e) => {
24
- s.value = t, r("rowChange", e);
23
+ s.value = t, d("rowChange", e);
25
24
  }
26
25
  }));
27
26
  let i = _({
@@ -29,7 +28,7 @@ const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P
29
28
  current: 1,
30
29
  pageSize: 1
31
30
  }), a = _("");
32
- const C = [
31
+ const b = [
33
32
  {
34
33
  key: "1",
35
34
  name: "胡彦斌",
@@ -42,7 +41,7 @@ const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P
42
41
  age: 42,
43
42
  address: "西湖区湖底公园1号"
44
43
  }
45
- ], b = [
44
+ ], h = [
46
45
  {
47
46
  title: "姓名",
48
47
  dataIndex: "name",
@@ -64,18 +63,18 @@ const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P
64
63
  key: "action"
65
64
  }
66
65
  ];
67
- function h() {
66
+ function x() {
68
67
  }
69
- function x(t, e) {
68
+ function w(t, e) {
70
69
  i.value = t, e();
71
70
  }
72
- function w(t) {
71
+ function S(t) {
73
72
  }
74
- function S() {
73
+ function V() {
75
74
  s.value = [];
76
75
  }
77
- function V(t) {
78
- let e = L({
76
+ function I(t) {
77
+ let e = z({
79
78
  onOk: (u) => {
80
79
  e.setConfirmLoading(!0), setTimeout(() => {
81
80
  e.setConfirmLoading(!1), e.destroy();
@@ -84,25 +83,25 @@ const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P
84
83
  });
85
84
  }
86
85
  return (t, e) => {
87
- const u = n("a-input-search"), I = n("a-button"), N = n("a-space"), D = n("a-table");
88
- return m(), f("div", M, [
89
- y("div", O, [
90
- l(N, null, {
86
+ const u = n("a-input-search"), N = n("a-button"), D = n("a-space"), K = n("a-table");
87
+ return m(), f("div", O, [
88
+ y("div", P, [
89
+ l(D, null, {
91
90
  default: c(() => [
92
91
  l(u, {
93
92
  ref: "input",
94
93
  value: v(a),
95
- "onUpdate:value": e[0] || (e[0] = (o) => T(a) ? a.value = o : a = o),
94
+ "onUpdate:value": e[0] || (e[0] = (o) => B(a) ? a.value = o : a = o),
96
95
  placeholder: "请输入",
97
96
  style: { width: "200px" },
98
- onSearch: w
97
+ onSearch: S
99
98
  }, null, 8, ["value"]),
100
- l(I, {
99
+ l(N, {
101
100
  type: "primary",
102
- onClick: S
101
+ onClick: V
103
102
  }, {
104
103
  default: c(() => [
105
- B("重置")
104
+ E("重置")
106
105
  ]),
107
106
  _: 1
108
107
  })
@@ -110,21 +109,21 @@ const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P
110
109
  _: 1
111
110
  })
112
111
  ]),
113
- l(D, {
114
- columns: b,
115
- "data-source": C,
112
+ l(K, {
113
+ columns: h,
114
+ "data-source": b,
116
115
  pagination: v(i),
117
- "row-selection": k.value,
116
+ "row-selection": C.value,
118
117
  rowKey: t.keyName,
119
- onChange: e[1] || (e[1] = (o) => x(o, h)),
118
+ onChange: e[1] || (e[1] = (o) => w(o, x)),
120
119
  bordered: ""
121
120
  }, {
122
- bodyCell: c(({ column: o, record: q }) => [
123
- o.key == "action" ? (m(), f("span", P, [
121
+ bodyCell: c(({ column: o, record: A }) => [
122
+ o.key == "action" ? (m(), f("span", U, [
124
123
  y("a", {
125
- onClick: (A) => V()
126
- }, "测试", 8, U)
127
- ])) : E("", !0)
124
+ onClick: (F) => I()
125
+ }, "测试", 8, j)
126
+ ])) : L("", !0)
128
127
  ]),
129
128
  _: 1
130
129
  }, 8, ["pagination", "row-selection", "rowKey"])
@@ -132,7 +131,7 @@ const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P
132
131
  };
133
132
  }
134
133
  });
135
- const J = /* @__PURE__ */ R(j, [["__scopeId", "data-v-9fd20d05"]]);
134
+ const J = /* @__PURE__ */ M(q, [["__scopeId", "data-v-9fd20d05"]]);
136
135
  export {
137
136
  J as default
138
137
  };
@@ -1,34 +1,34 @@
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, unref as m, isRef as I, createTextVNode as K } from "vue";
2
- import { t as B } from "./tableSelectOptions-97e674c2.js";
3
- const D = { class: "table-select-form" }, E = { class: "table-select-tool" }, z = /* @__PURE__ */ C({
1
+ import { defineComponent as S, computed as u, ref as i, resolveComponent as n, openBlock as V, createElementBlock as N, createElementVNode as I, createVNode as l, withCtx as p, unref as m, isRef as K, createTextVNode as B } from "vue";
2
+ import { t as D } from "./index-7aef62cd.js";
3
+ const E = { class: "table-select-form" }, R = { class: "table-select-tool" }, P = /* @__PURE__ */ S({
4
4
  __name: "tableSelectDemo2",
5
5
  props: {
6
- ...B
6
+ ...D
7
7
  },
8
8
  emits: ["update:value", "rowChange"],
9
- setup(_, { emit: s }) {
10
- const r = _;
11
- let c = u({
9
+ setup(_, { emit: g }) {
10
+ const s = _;
11
+ let r = u({
12
12
  get() {
13
- return r.value;
13
+ return s.value;
14
14
  },
15
15
  set(t) {
16
- s("update:value", t);
16
+ c("update:value", t);
17
17
  }
18
18
  });
19
- const g = u(() => ({
20
- type: r.mode === "multiple" ? "checkbox" : "radio",
21
- selectedRowKeys: c.value,
19
+ const c = g, f = u(() => ({
20
+ type: s.mode === "multiple" ? "checkbox" : "radio",
21
+ selectedRowKeys: r.value,
22
22
  onChange: (t, e) => {
23
- c.value = t, s("rowChange", e);
23
+ r.value = t, c("rowChange", e);
24
24
  }
25
25
  }));
26
- let a = p(""), d = p({
26
+ let a = i(""), d = i({
27
27
  total: 0,
28
28
  current: 1,
29
29
  pageSize: 1
30
30
  });
31
- const f = [
31
+ const y = [
32
32
  {
33
33
  key: "1",
34
34
  name2: "胡彦斌",
@@ -47,7 +47,7 @@ const D = { class: "table-select-form" }, E = { class: "table-select-tool" }, z
47
47
  age2: 4,
48
48
  address2: "西湖区湖底公园1号"
49
49
  }
50
- ], y = [
50
+ ], v = [
51
51
  {
52
52
  title: "姓名2",
53
53
  dataIndex: "name2",
@@ -64,27 +64,27 @@ const D = { class: "table-select-form" }, E = { class: "table-select-tool" }, z
64
64
  key: "address2"
65
65
  }
66
66
  ];
67
- function v() {
67
+ function b() {
68
68
  }
69
- function b(t, e) {
69
+ function h(t, e) {
70
70
  d.value = t, e();
71
71
  }
72
72
  return (t, e) => {
73
- const h = n("a-input-search"), k = n("a-button"), w = n("a-space"), x = n("a-table");
74
- return S(), V("div", D, [
75
- N("div", E, [
76
- l(w, null, {
77
- default: i(() => [
78
- l(h, {
73
+ const k = n("a-input-search"), w = n("a-button"), x = n("a-space"), C = n("a-table");
74
+ return V(), N("div", E, [
75
+ I("div", R, [
76
+ l(x, null, {
77
+ default: p(() => [
78
+ l(k, {
79
79
  ref: "input",
80
80
  value: m(a),
81
- "onUpdate:value": e[0] || (e[0] = (o) => I(a) ? a.value = o : a = o),
81
+ "onUpdate:value": e[0] || (e[0] = (o) => K(a) ? a.value = o : a = o),
82
82
  placeholder: "请输入",
83
83
  style: { width: "200px" }
84
84
  }, null, 8, ["value"]),
85
- l(k, { type: "primary" }, {
86
- default: i(() => [
87
- K("重置")
85
+ l(w, { type: "primary" }, {
86
+ default: p(() => [
87
+ B("重置")
88
88
  ]),
89
89
  _: 1
90
90
  })
@@ -92,13 +92,13 @@ const D = { class: "table-select-form" }, E = { class: "table-select-tool" }, z
92
92
  _: 1
93
93
  })
94
94
  ]),
95
- l(x, {
96
- columns: y,
97
- "data-source": f,
95
+ l(C, {
96
+ columns: v,
97
+ "data-source": y,
98
98
  pagination: m(d),
99
- "row-selection": g.value,
99
+ "row-selection": f.value,
100
100
  rowKey: t.keyName,
101
- onChange: e[1] || (e[1] = (o) => b(o, v)),
101
+ onChange: e[1] || (e[1] = (o) => h(o, b)),
102
102
  bordered: ""
103
103
  }, null, 8, ["pagination", "row-selection", "rowKey"])
104
104
  ]);
@@ -106,5 +106,5 @@ const D = { class: "table-select-form" }, E = { class: "table-select-tool" }, z
106
106
  }
107
107
  });
108
108
  export {
109
- z as default
109
+ P as default
110
110
  };
@@ -1,7 +1,7 @@
1
1
  var M = Object.defineProperty;
2
2
  var R = (e, t, r) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var _ = (e, t, r) => (R(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { w as K, t as E } from "./index-ae909b3d.js";
4
+ import { v as K, s as E } from "./index-7aef62cd.js";
5
5
  import "vue";
6
6
  /*!-----------------------------------------------------------------------------
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- import { t as a } from "./index-ae909b3d.js";
1
+ import { s as a } from "./index-7aef62cd.js";
2
2
  import "vue";
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- import { t as m } from "./index-ae909b3d.js";
1
+ import { s as m } from "./index-7aef62cd.js";
2
2
  import "vue";
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- import { t as i } from "./index-ae909b3d.js";
1
+ import { s as i } from "./index-7aef62cd.js";
2
2
  import "vue";
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "form-imagining",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "main": "./dist/form-imagining.umd.cjs",
@@ -1,19 +0,0 @@
1
- import { defineComponent as o, resolveComponent as r, openBlock as t, createBlock as n, unref as a, withCtx as c, createVNode as p } from "vue";
2
- import { z as _, F as m } from "./index-ae909b3d.js";
3
- const u = /* @__PURE__ */ o({
4
- __name: "App",
5
- setup(f) {
6
- return (i, l) => {
7
- const e = r("a-config-provider");
8
- return t(), n(e, { locale: a(_) }, {
9
- default: c(() => [
10
- p(m)
11
- ]),
12
- _: 1
13
- }, 8, ["locale"]);
14
- };
15
- }
16
- });
17
- export {
18
- u as default
19
- };
@@ -1,5 +0,0 @@
1
- import { r as a } from "./index-ae909b3d.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { h as m } from "./index-ae909b3d.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,110 +0,0 @@
1
- import { defineComponent as b, ref as _, reactive as c, onMounted as p, resolveComponent as i, openBlock as v, createElementBlock as g, createVNode as o, withCtx as s, createTextVNode as w } from "vue";
2
- import { m as j, n as m } from "./index-ae909b3d.js";
3
- const y = { class: "cici-form-css" }, k = /* @__PURE__ */ b({
4
- __name: "Demo",
5
- setup(z) {
6
- j(), _([]), _([]);
7
- const n = c({
8
- bdc_djzb: {
9
- 业务号: "",
10
- age: 20
11
- },
12
- bdc_ywfw: {
13
- name: "2",
14
- title: "我是yefw"
15
- }
16
- });
17
- p(() => {
18
- console.info("我是预览页面");
19
- });
20
- function f(a) {
21
- const e = a.target.value, l = a.target.__vnode.props.rules;
22
- if (l != null) {
23
- const r = l.length;
24
- if (r > 0)
25
- for (let u = 0; u < r; u++) {
26
- const d = l[u];
27
- if (d.required) {
28
- if (e == "") {
29
- m.error(d.message), a.target.focus();
30
- return;
31
- }
32
- } else if (!/^[+-]?(0|([1-9]\d*))(\.\d+)?$/g.test(e)) {
33
- m.error(d.message), a.target.focus();
34
- return;
35
- }
36
- }
37
- }
38
- }
39
- return (a, e) => {
40
- const l = i("a-input"), r = i("a-form-item"), u = i("a-button"), d = i("a-form");
41
- return v(), g("div", y, [
42
- o(d, {
43
- "label-col": { style: { width: "100px" } },
44
- labelWrap: !0
45
- }, {
46
- default: s(() => [
47
- o(r, {
48
- label: "受理编号",
49
- "validate-status": "error"
50
- }, {
51
- default: s(() => [
52
- o(l, {
53
- status: "error",
54
- value: n.bdc_djzb.业务号,
55
- "onUpdate:value": e[0] || (e[0] = (t) => n.bdc_djzb.业务号 = t),
56
- "write-field": "bdc_djzb.受理编号;bdc_ywfw.slbh",
57
- rules: [{ required: !0, message: "必填项" }, { type: "number", message: "请输入数字" }],
58
- onBlur: e[1] || (e[1] = (t) => f(t))
59
- }, null, 8, ["value"])
60
- ]),
61
- _: 1
62
- }),
63
- o(r, {
64
- label: "业务号",
65
- name: "业务号",
66
- rules: [{ required: !0, message: "请输入业务号" }]
67
- }, {
68
- default: s(() => [
69
- o(l, {
70
- value: n.bdc_djzb.业务号,
71
- "onUpdate:value": e[2] || (e[2] = (t) => n.bdc_djzb.业务号 = t),
72
- "write-field": "bdc_djzb.业务号;bdc_ywfw.ywh",
73
- onBlur: e[3] || (e[3] = (t) => f(t))
74
- }, null, 8, ["value"])
75
- ]),
76
- _: 1
77
- }),
78
- o(r, { label: "业务号1" }, {
79
- default: s(() => [
80
- o(l, {
81
- value: n.bdc_djzb.业务号,
82
- "onUpdate:value": e[4] || (e[4] = (t) => n.bdc_djzb.业务号 = t)
83
- }, null, 8, ["value"])
84
- ]),
85
- _: 1
86
- }),
87
- o(r, { style: { "text-align": "left", "padding-left": "5px" } }, {
88
- default: s(() => [
89
- o(u, {
90
- type: "Default",
91
- onClick: a.onSubmit
92
- }, {
93
- default: s(() => [
94
- w("保存")
95
- ]),
96
- _: 1
97
- }, 8, ["onClick"])
98
- ]),
99
- _: 1
100
- })
101
- ]),
102
- _: 1
103
- })
104
- ]);
105
- };
106
- }
107
- });
108
- export {
109
- k as default
110
- };
@@ -1,45 +0,0 @@
1
- import { defineComponent as d, ref as t, onMounted as p, resolveComponent as m, openBlock as _, createElementBlock as c, createVNode as i, mergeProps as v, unref as o, withCtx as w } from "vue";
2
- import { g as b, v as g, b as x, o as k } from "./index-ae909b3d.js";
3
- const y = /* @__PURE__ */ d({
4
- __name: "Demo",
5
- setup(B, { expose: f }) {
6
- t([]);
7
- let r = t({});
8
- r.value = b();
9
- let a = t();
10
- function u() {
11
- return k(a.value);
12
- }
13
- return f({
14
- onSubmit: u
15
- }), p(() => {
16
- console.info("new fun");
17
- }), (C, e) => {
18
- const l = m("a-input"), s = m("a-form-item");
19
- return _(), c("div", {
20
- ref_key: "formRef",
21
- ref: a,
22
- class: "cici-form-css"
23
- }, [
24
- i(s, v({
25
- label: "单行文本",
26
- required: ""
27
- }, o(g)["wonder_from.id"]), {
28
- default: w(() => [
29
- i(l, {
30
- value: o(r).wonder_from.id,
31
- "onUpdate:value": e[0] || (e[0] = (n) => o(r).wonder_from.id = n),
32
- "write-field": "wonder_from.id",
33
- rules: [{ type: "required", msg: "不能为空" }],
34
- onBlur: e[1] || (e[1] = (n) => o(x)(n, "blur"))
35
- }, null, 8, ["value"])
36
- ]),
37
- _: 1
38
- }, 16)
39
- ], 512);
40
- };
41
- }
42
- });
43
- export {
44
- y as default
45
- };
@@ -1,5 +0,0 @@
1
- import { i } from "./index-ae909b3d.js";
2
- import "vue";
3
- export {
4
- i as default
5
- };
@@ -1,5 +0,0 @@
1
- import { d as m } from "./index-ae909b3d.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { e as m } from "./index-ae909b3d.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { j as m } from "./index-ae909b3d.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,62 +0,0 @@
1
- import { defineComponent, ref, openBlock, createBlock, unref } from "vue";
2
- import { u as useFormStore, m as useDataStore, p as generateHtml, g as getData, q as defHttp, a as _export_sfc } from "./index-ae909b3d.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "Preview0925",
5
- setup(__props) {
6
- const formStore = useFormStore(), dataStore = useDataStore();
7
- dataStore.getSelectData;
8
- let list = ref(formStore.formData.config.eventScript);
9
- const generateData = generateHtml(formStore.formData.list), columns = [...generateData.columns];
10
- let viewData = ref({});
11
- const generateForm = defineComponent({
12
- template: generateData.html,
13
- props: {
14
- message: String
15
- },
16
- setup(props) {
17
- let formData = ref([]), datalist = ref([]);
18
- debugger;
19
- viewData.value = getData();
20
- const tableData = formStore.formData.list.filter((e) => e.type == "table"), ilength = tableData.length;
21
- let pagination;
22
- ilength > 0 && tableData[0].options.pagination && (pagination = ref({
23
- total: 0,
24
- current: 1,
25
- pageSize: tableData[0].options.pageSize
26
- }));
27
- const events = {};
28
- return generateTs(), {
29
- formData,
30
- pagination,
31
- datalist,
32
- columns,
33
- viewData,
34
- // bdc_djzb1,
35
- ...events,
36
- defHttp,
37
- onChange
38
- };
39
- function onChange(e, t) {
40
- pagination.value = e, t();
41
- }
42
- function generateTs() {
43
- for (let e = 0; e < list.value.length; e++) {
44
- const t = list.value[e];
45
- events[t.name] = newFunction(t);
46
- }
47
- }
48
- function newFunction(_data) {
49
- return _data.param != "" ? (params) => {
50
- eval(_data.func);
51
- } : () => {
52
- eval(_data.func);
53
- };
54
- }
55
- }
56
- });
57
- return (e, t) => (openBlock(), createBlock(unref(generateForm)));
58
- }
59
- }), Preview0925_vue_vue_type_style_index_0_scoped_a3eb9426_lang = "", Preview0925 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a3eb9426"]]);
60
- export {
61
- Preview0925 as default
62
- };
@@ -1,6 +0,0 @@
1
- import { _ as o } from "./PreviewDemo.vue_vue_type_script_setup_true_lang-c74625b2.js";
2
- import "vue";
3
- import "./index-ae909b3d.js";
4
- export {
5
- o as default
6
- };