form-imagining 0.0.17 → 0.0.19

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 (61) hide show
  1. package/dist/{App-1be93acb.js → App-52419af9.js} +1 -1
  2. package/dist/Code-2bb39b3d.js +5 -0
  3. package/dist/Col-2cdf69c5.js +5 -0
  4. package/dist/{Demo-aaef59a2.js → Demo-015b9b67.js} +1 -1
  5. package/dist/{Demo-53a684b5.js → Demo-2f408623.js} +1 -1
  6. package/dist/Demo-6d1f7624.js +10 -0
  7. package/dist/{Form-ed85cde7.js → Form-0f5f50ca.js} +1 -1
  8. package/dist/FormPublic-044b0ba0.js +5 -0
  9. package/dist/GenerateForm-e3fa78fc.js +5 -0
  10. package/dist/Grid-625fc82d.js +5 -0
  11. package/dist/HelloWorld-517394a2.js +10 -0
  12. package/dist/Input-/345/210/240/351/231/{244-322fab0e.js → 244-4e69b06c.js} +1 -1
  13. package/dist/Label-/345/210/240/351/231/{244-a5bc11f7.js → 244-f578d3e5.js} +1 -1
  14. package/dist/{Login-eff987d4.js → Login-a543825f.js} +1 -1
  15. package/dist/{Preview0925-d7b73fb0.js → Preview0925-eb180084.js} +1 -1
  16. package/dist/{PreviewDemo-0ecac520.js → PreviewDemo-43295c2b.js} +2 -2
  17. package/dist/{PreviewDemo.vue_vue_type_script_setup_true_lang-9f93ee93.js → PreviewDemo.vue_vue_type_script_setup_true_lang-4331a2aa.js} +1 -1
  18. package/dist/{PreviewDemo2-5f21ca5c.js → PreviewDemo2-af5b2b15.js} +2 -2
  19. package/dist/{PreviewDemo2.vue_vue_type_script_setup_true_lang-54fa6577.js → PreviewDemo2.vue_vue_type_script_setup_true_lang-c4c0faba.js} +1 -1
  20. package/dist/{PreviewDemo3-f89df219.js → PreviewDemo3-74865af3.js} +3 -3
  21. package/dist/ReportModule-3bfd10cf.js +6 -0
  22. package/dist/ReportModule.vue_vue_type_script_setup_true_lang-33baf803.js +105 -0
  23. package/dist/SqlModule-265d1b00.js +5 -0
  24. package/dist/Table-05d6b54d.js +5 -0
  25. package/dist/{cTable-9a648c25.js → cTable-431ee1b4.js} +1 -1
  26. package/dist/childForm-5998f80c.js +5 -0
  27. package/dist/{cssMode-f65e56dc.js → cssMode-fe11d538.js} +16 -16
  28. package/dist/form-imagining.js +1 -1
  29. package/dist/form-imagining.umd.cjs +487 -436
  30. package/dist/{freemarker2-55b3e0de.js → freemarker2-a9827bc5.js} +1 -1
  31. package/dist/{handlebars-dcb394df.js → handlebars-fd8c9253.js} +1 -1
  32. package/dist/{html-516dd342.js → html-5b477149.js} +1 -1
  33. package/dist/{htmlMode-230b8835.js → htmlMode-0b28e3b6.js} +12 -12
  34. package/dist/{index-4282fff0.js → index-1fec8e75.js} +1 -1
  35. package/dist/index-ad0b4ca1.js +182 -0
  36. package/dist/{index-fcf40126.js → index-d5af5250.js} +49581 -44256
  37. package/dist/index-fcd8f846.js +123 -0
  38. package/dist/{javascript-8ef3ff10.js → javascript-35762a78.js} +2 -2
  39. package/dist/{jsonMode-541f6063.js → jsonMode-a11989e3.js} +1 -1
  40. package/dist/{liquid-480c20a1.js → liquid-f8e1c827.js} +1 -1
  41. package/dist/{mdx-c6fdfbf4.js → mdx-4548f19b.js} +1 -1
  42. package/dist/{modalDemo-6d508dff.js → modalDemo-a8eef4e4.js} +1 -1
  43. package/dist/{python-a4041209.js → python-c05ae2c4.js} +1 -1
  44. package/dist/{razor-d1ca6284.js → razor-d7fe2d0e.js} +1 -1
  45. package/dist/style.css +1 -1
  46. package/dist/{tableSelectDemo-2f5bbdca.js → tableSelectDemo-58dfc524.js} +10 -11
  47. package/dist/{tableSelectDemo2-6f8dcaf3.js → tableSelectDemo2-02f609dc.js} +1 -1
  48. package/dist/{tsMode-520d5a63.js → tsMode-0eddd23b.js} +9 -9
  49. package/dist/{typescript-8a46669a.js → typescript-dda9428f.js} +1 -1
  50. package/dist/{xml-5f608c48.js → xml-dc95c919.js} +1 -1
  51. package/dist/{yaml-b8390428.js → yaml-aa39d268.js} +1 -1
  52. package/package.json +5 -2
  53. package/dist/Code-06a9cea9.js +0 -5
  54. package/dist/Col-22974103.js +0 -5
  55. package/dist/FormPublic-2481a670.js +0 -5
  56. package/dist/GenerateForm-5d1ea38d.js +0 -5
  57. package/dist/Grid-a78eb23e.js +0 -5
  58. package/dist/SqlModule-57cd6ef9.js +0 -5
  59. package/dist/Table-ee0a9f99.js +0 -5
  60. package/dist/childForm-117bd377.js +0 -5
  61. package/dist/tableSelectOptions-97e674c2.js +0 -16
@@ -0,0 +1,123 @@
1
+ import { defineComponent as I, ref as s, onMounted as N, resolveComponent as r, openBlock as T, createBlock as z, withCtx as e, createVNode as t, createElementVNode as i, unref as l, createTextVNode as x } from "vue";
2
+ import { u as B, q as v, D as K, B as S, C as H, G as V, H as A, I as q, _ as E } from "./index-d5af5250.js";
3
+ import G from "./index-ad0b4ca1.js";
4
+ import { _ as J } from "./ReportModule.vue_vue_type_script_setup_true_lang-33baf803.js";
5
+ const L = { style: { background: "#fff", textAlign: "center", height: "99%" } }, M = /* @__PURE__ */ I({
6
+ __name: "index",
7
+ props: {
8
+ id: {
9
+ type: Number,
10
+ default: 28
11
+ }
12
+ },
13
+ setup(u) {
14
+ const _ = B(), d = u;
15
+ let b = s([]), f = s(), p = s();
16
+ h(), D();
17
+ function h() {
18
+ const o = "/magicapi/zrzy-form/magic/form/form/list";
19
+ v.post({ url: o, params: { id: d.id } }, { withToken: !0 }).then((a) => {
20
+ const n = a.list[0];
21
+ if (p.value = n.code, n.content != "") {
22
+ const c = JSON.parse(n.content);
23
+ _.setFormData(c);
24
+ }
25
+ });
26
+ }
27
+ function D() {
28
+ const o = "/magicapi/zrzy-form/magic/form/source/list";
29
+ v.post({ url: o, params: { formId: d.id } }, { withToken: !0 }).then((a) => {
30
+ b.value = a.list;
31
+ });
32
+ }
33
+ const m = s("1");
34
+ function C(o) {
35
+ f.value = o;
36
+ }
37
+ return N(() => {
38
+ _.setFormId(d.id);
39
+ }), (o, a) => {
40
+ const n = r("a-tab-pane"), c = r("a-tabs"), y = r("a-layout-sider"), k = r("a-layout-header"), F = r("a-layout-content"), g = r("a-layout");
41
+ return T(), z(g, { style: { height: "100%", padding: "5px 5px" } }, {
42
+ default: e(() => [
43
+ t(y, {
44
+ width: "270",
45
+ style: { left: 0, top: 0, bottom: 0 }
46
+ }, {
47
+ default: e(() => [
48
+ t(c, {
49
+ activeKey: m.value,
50
+ "onUpdate:activeKey": a[0] || (a[0] = (w) => m.value = w)
51
+ }, {
52
+ default: e(() => [
53
+ t(n, { key: "1" }, {
54
+ tab: e(() => [
55
+ i("span", null, [
56
+ t(l(K)),
57
+ x(" 报表信息 ")
58
+ ])
59
+ ]),
60
+ default: e(() => [
61
+ t(J)
62
+ ]),
63
+ _: 1
64
+ }),
65
+ t(n, { key: "2" }, {
66
+ tab: e(() => [
67
+ i("span", null, [
68
+ t(l(S)),
69
+ x(" 报表组件 ")
70
+ ])
71
+ ]),
72
+ default: e(() => [
73
+ t(H, { "data-source": l(V) }, null, 8, ["data-source"])
74
+ ]),
75
+ _: 1
76
+ })
77
+ ]),
78
+ _: 1
79
+ }, 8, ["activeKey"])
80
+ ]),
81
+ _: 1
82
+ }),
83
+ t(g, { style: { margin: "0px 5px" } }, {
84
+ default: e(() => [
85
+ t(k, { style: { background: "#fff", border: "1px solid #e4e7ed", borderBottom: "0px" } }, {
86
+ default: e(() => [
87
+ t(G, {
88
+ formId: u.id,
89
+ code: l(p)
90
+ }, null, 8, ["formId", "code"])
91
+ ]),
92
+ _: 1
93
+ }),
94
+ t(F, { style: { overflow: "auto" } }, {
95
+ default: e(() => [
96
+ i("div", L, [
97
+ t(A, { onControlConfig: C })
98
+ ])
99
+ ]),
100
+ _: 1
101
+ })
102
+ ]),
103
+ _: 1
104
+ }),
105
+ t(y, {
106
+ width: "250",
107
+ style: { right: 0, top: 0, bottom: 0 }
108
+ }, {
109
+ default: e(() => [
110
+ t(q, { configData: l(f) }, null, 8, ["configData"])
111
+ ]),
112
+ _: 1
113
+ })
114
+ ]),
115
+ _: 1
116
+ });
117
+ };
118
+ }
119
+ });
120
+ const P = /* @__PURE__ */ E(M, [["__scopeId", "data-v-62871ad5"]]);
121
+ export {
122
+ P as default
123
+ };
@@ -1,5 +1,5 @@
1
- import { conf as t, language as e } from "./typescript-8a46669a.js";
2
- import "./index-fcf40126.js";
1
+ import { conf as t, language as e } from "./typescript-dda9428f.js";
2
+ import "./index-d5af5250.js";
3
3
  import "vue";
4
4
  /*!-----------------------------------------------------------------------------
5
5
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,7 +1,7 @@
1
1
  var Ge = Object.defineProperty;
2
2
  var Qe = (e, n, i) => n in e ? Ge(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var C = (e, n, i) => (Qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { t as Ze } from "./index-fcf40126.js";
4
+ import { J as Ze } from "./index-d5af5250.js";
5
5
  import "vue";
6
6
  /*!-----------------------------------------------------------------------------
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- import { t as d } from "./index-fcf40126.js";
1
+ import { J as d } from "./index-d5af5250.js";
2
2
  import "vue";
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- import { t as d } from "./index-fcf40126.js";
1
+ import { J as d } from "./index-d5af5250.js";
2
2
  import "vue";
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, onBeforeUnmount as c, resolveComponent as f, openBlock as u, createElementBlock as _, Fragment as p, createVNode as a, withCtx as l, createTextVNode as i } from "vue";
2
- import { c as r } from "./index-fcf40126.js";
2
+ import { c as r } from "./index-d5af5250.js";
3
3
  const h = /* @__PURE__ */ d({
4
4
  __name: "modalDemo",
5
5
  setup(C) {
@@ -1,4 +1,4 @@
1
- import { t as a } from "./index-fcf40126.js";
1
+ import { J as a } from "./index-d5af5250.js";
2
2
  import "vue";
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- import { t as s } from "./index-fcf40126.js";
1
+ import { J as s } from "./index-d5af5250.js";
2
2
  import "vue";
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.