form-imagining 0.0.92-beta6 → 0.0.92-beta7

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 (143) hide show
  1. package/dist/App-Dy69lJby.js +32 -0
  2. package/dist/App-gc8TY4z8.js +32 -0
  3. package/dist/Area-BKmK8jAi.js +4 -0
  4. package/dist/Area-DZeS7unN.js +4 -0
  5. package/dist/Bar-CXRAabBP.js +4 -0
  6. package/dist/Bar-C_8o4_k-.js +4 -0
  7. package/dist/ChartsArea-BmlTeyPc.js +4 -0
  8. package/dist/ChartsArea-Cz8PpepF.js +4 -0
  9. package/dist/ChartsBar-6xGUNU0K.js +4 -0
  10. package/dist/ChartsBar-toEDM9iv.js +4 -0
  11. package/dist/ChartsPie-0Hqhq0nd.js +4 -0
  12. package/dist/ChartsPie-CY8qBCHU.js +4 -0
  13. package/dist/CheckBoxModel-8yTw_hwe.js +4 -0
  14. package/dist/CheckBoxModel-COopxYk6.js +4 -0
  15. package/dist/Col-C0fJOt4h.js +4 -0
  16. package/dist/Col-CKrU575z.js +4 -0
  17. package/dist/Collapse-CuPcg5DN.js +4 -0
  18. package/dist/Collapse-DY8JJf-8.js +4 -0
  19. package/dist/{CommonText copy-B643btsR.js → CommonText copy-CmlDkDvl.js } +38 -38
  20. package/dist/CommonText copy-D48YGV78.js +189 -0
  21. package/dist/{Demo copy-Bux2O9AZ.js → Demo copy-CubdSIKo.js } +2 -2
  22. package/dist/Demo-BBlmCZIs.js +201 -0
  23. package/dist/{Demo-CimZDSZD.js → Demo-C_7IdDRC.js} +2 -2
  24. package/dist/{Demo-DD_E8Ai0.js → Demo-CePtih08.js} +29 -29
  25. package/dist/Demo-DFdHFJP7.js +72 -0
  26. package/dist/FView-BN6y0eGJ.js +4 -0
  27. package/dist/FView-DBymGl_r.js +4 -0
  28. package/dist/FX-BrTyQb5T.js +4 -0
  29. package/dist/FX-Cu1QaTr2.js +4 -0
  30. package/dist/{Form-CE0VVIWD.js → Form-CsKlmwSd.js} +4 -4
  31. package/dist/FormGridCopy-C5JaVFdK.js +168 -0
  32. package/dist/{FormGridCopy-QMd-e6gZ.js → FormGridCopy-D946vIFX.js} +36 -36
  33. package/dist/FormImagining-BDVWZeL1.js +9 -0
  34. package/dist/FormImagining-CHHDf_kr.js +9 -0
  35. package/dist/GenerateForm-B0EeOsMt.js +4 -0
  36. package/dist/GenerateForm-BbDcX3WR.js +4 -0
  37. package/dist/GenerateReport-BjePkHFB.js +4 -0
  38. package/dist/GenerateReport-Co5jGfx3.js +4 -0
  39. package/dist/HelloWorld-Cmw0q963.js +9 -0
  40. package/dist/HelloWorld-w6Uyo7RK.js +9 -0
  41. package/dist/Input-/345/210/240/351/231/{244-B-UBNSP7.js → 244-CogaNq_E.js} +3 -3
  42. package/dist/Input-/345/210/240/351/231/244-M97srcEi.js +87 -0
  43. package/dist/Label-/345/210/240/351/231/244-BmNexBjX.js +92 -0
  44. package/dist/Label-/345/210/240/351/231/{244-hylaZnyv.js → 244-DTwh4xrp.js} +4 -4
  45. package/dist/LabelModel-CKWPaxYH.js +4 -0
  46. package/dist/LabelModel-DO1SQ8ED.js +4 -0
  47. package/dist/Login-DOgkipof.js +9 -0
  48. package/dist/Login-uyqpY1Ly.js +9 -0
  49. package/dist/Pie-Cxi4RDmx.js +4 -0
  50. package/dist/Pie-DNK2X15G.js +4 -0
  51. package/dist/PropertyIndex-Bd2Pm7mk.js +4 -0
  52. package/dist/PropertyIndex-DDRfn6_M.js +4 -0
  53. package/dist/RView-C3dg-Yqj.js +4 -0
  54. package/dist/RView-iZlDKePW.js +4 -0
  55. package/dist/SqlModule-CZ8IWtNr.js +4 -0
  56. package/dist/SqlModule-Dn2xznSB.js +4 -0
  57. package/dist/{SvgIconCopy-CC9UpEw1.js → SvgIconCopy-BAgUz2L5.js} +7 -7
  58. package/dist/SvgIconCopy-CObs-hJv.js +39 -0
  59. package/dist/TableBtnModal-BUlt0iHM.js +4 -0
  60. package/dist/TableBtnModal-R_RsD8Ea.js +4 -0
  61. package/dist/TextModel-C6EGEBqy.js +9 -0
  62. package/dist/TextModel-D-fhyH0w.js +9 -0
  63. package/dist/childForm-CDlmnWpq.js +4 -0
  64. package/dist/childForm-Cgfks09_.js +4 -0
  65. package/dist/{cssMode-BevUSJIs.js → cssMode-6xsZ8ZGX.js} +1 -1
  66. package/dist/cssMode-BMk0-3nN.js +1577 -0
  67. package/dist/form-imagining.js +9 -9
  68. package/dist/form-imagining.umd.cjs +259 -261
  69. package/dist/formTest-C42FmOpn.js +19 -0
  70. package/dist/formTest-tdHK1NX3.js +19 -0
  71. package/dist/{freemarker2-RntfmZOW.js → freemarker2-ClWG2wsn.js} +1 -1
  72. package/dist/freemarker2-D12KUO_x.js +995 -0
  73. package/dist/{handlebars-Cos4lZca.js → handlebars-CfS26JAU.js} +1 -1
  74. package/dist/handlebars-CyCFSLnS.js +425 -0
  75. package/dist/{html-Uag4N1dQ.js → html-4yUK2tg_.js} +1 -1
  76. package/dist/html-Brn93q0c.js +314 -0
  77. package/dist/{htmlMode-BhOweWtW.js → htmlMode-C0e-P-9j.js} +1 -1
  78. package/dist/htmlMode-CedhMm4n.js +1587 -0
  79. package/dist/index - /345/211/257/346/234/{254-dGB_y2eB.js" → 254-BzAzJmyM.js" } +31 -31
  80. package/dist/index - /345/211/257/346/234/254-DKBhcAeE.js" +531 -0
  81. package/dist/index-Bm-XlawA.js +11 -0
  82. package/dist/{index-Bnry2ZnT.js → index-BypfeQHD.js} +5 -5
  83. package/dist/{index-Djxsz7aX.js → index-CGewm3AG.js} +10578 -10356
  84. package/dist/index-DHKV0Flv.js +11 -0
  85. package/dist/index-DR7adI8e.js +300221 -0
  86. package/dist/index-DuQaPsVU.js +36 -0
  87. package/dist/index-JO80Najh.js +3323 -0
  88. package/dist/index-Uv2ByVY2.js +3323 -0
  89. package/dist/{javascript-inEC7YCz.js → javascript-CYQBr6_b.js} +1 -1
  90. package/dist/javascript-DjSH_4ZT.js +76 -0
  91. package/dist/json/scope_type.json +6 -6
  92. package/dist/{jsonMode-Buplw_74.js → jsonMode-DihBdHqw.js} +1 -1
  93. package/dist/jsonMode-Lmzjav2p.js +2002 -0
  94. package/dist/{liquid-CXCXl0KK.js → liquid-BxLo43Ct.js} +1 -1
  95. package/dist/liquid-D14hiY5U.js +246 -0
  96. package/dist/{mdx-C8oAZz3N.js → mdx-BDpw5Kbd.js} +1 -1
  97. package/dist/mdx-C_MygCTF.js +171 -0
  98. package/dist/{python-ISYPt2bG.js → python-C9ti-PHF.js} +1 -1
  99. package/dist/python-CUIJvIHb.js +307 -0
  100. package/dist/{razor-BoONAPbT.js → razor-BbUoXQDE.js} +1 -1
  101. package/dist/razor-DIK7kb6j.js +556 -0
  102. package/dist/setting.json +3 -3
  103. package/dist/style.css +1 -1
  104. package/dist/tableSelectDemo-BTFNNFzZ.js +134 -0
  105. package/dist/{tableSelectDemo-l99YI8J9.js → tableSelectDemo-Dx7qyy56.js} +18 -18
  106. package/dist/tableSelectDemo2-CZ2D8wAR.js +108 -0
  107. package/dist/{tableSelectDemo2-OfOWLB-I.js → tableSelectDemo2-CgipzvsA.js} +6 -6
  108. package/dist/{tsMode-qM4H6_33.js → tsMode-DpO4uS0I.js} +1 -1
  109. package/dist/tsMode-iDHD8gbC.js +895 -0
  110. package/dist/{typescript-CQq3LImM.js → typescript-C6ioGGYS.js} +1 -1
  111. package/dist/typescript-CgBbKzVq.js +349 -0
  112. package/dist/{xml-DSo44BnU.js → xml-DTVqjyvz.js} +1 -1
  113. package/dist/xml-qdG2F75N.js +101 -0
  114. package/dist/{yaml-BocXdDT1.js → yaml-BXojr1-a.js} +1 -1
  115. package/dist/yaml-BvaiX8e3.js +212 -0
  116. package/package.json +68 -68
  117. package/dist/App-DtMf3n_F.js +0 -30
  118. package/dist/Area-gYvfwS2L.js +0 -4
  119. package/dist/Bar-ODGClNe0.js +0 -4
  120. package/dist/ChartsArea-CQwwd2lJ.js +0 -4
  121. package/dist/ChartsBar-BKMAI52E.js +0 -4
  122. package/dist/ChartsPie-BBp_ag4Y.js +0 -4
  123. package/dist/CheckBoxModel-CAtOkaZl.js +0 -4
  124. package/dist/Col-BjOWCaAV.js +0 -4
  125. package/dist/Collapse-xi1XYSvh.js +0 -4
  126. package/dist/FView-lgPHPdpT.js +0 -4
  127. package/dist/FX-DITkqQ2E.js +0 -4
  128. package/dist/FormImagining-DMMX4UTU.js +0 -9
  129. package/dist/GenerateForm-CbTFj_A8.js +0 -4
  130. package/dist/GenerateReport-DTLeuaUN.js +0 -4
  131. package/dist/HelloWorld-BfnT0WhV.js +0 -9
  132. package/dist/LabelModel-DPw6ImbD.js +0 -4
  133. package/dist/Login-BdZxDvKs.js +0 -9
  134. package/dist/Pie-KAdq-zq0.js +0 -4
  135. package/dist/PropertyIndex-B5sPOPGF.js +0 -4
  136. package/dist/RView-Dti2PztB.js +0 -4
  137. package/dist/SqlModule-Bs93rJS9.js +0 -4
  138. package/dist/TableBtnModal-CP8poyU5.js +0 -4
  139. package/dist/TextModel-BxnsH9j1.js +0 -9
  140. package/dist/childForm-2suLJZtu.js +0 -4
  141. package/dist/formTest-DdkaJBmv.js +0 -19
  142. package/dist/index-Bu9AKZLX.js +0 -3658
  143. package/dist/index-DhqC9JWs.js +0 -11
@@ -0,0 +1,168 @@
1
+ import { defineComponent as z, ref as J, watch as L, resolveComponent as h, openBlock as o, createElementBlock as r, createElementVNode as W, createVNode as u, unref as f, createCommentVNode as x, normalizeStyle as I, withCtx as g, Fragment as k, renderList as w, createBlock as b, normalizeClass as D } from "vue";
2
+ import { aH as j, x as A, V as H, y as K, s as P, w as S, al as N, G as R, _ as q } from "./index-DR7adI8e.js";
3
+ const Q = { class: "move" }, T = {
4
+ key: 0,
5
+ class: "widget-view-drag"
6
+ }, U = ["onMousedown"], X = {
7
+ key: 0,
8
+ class: "item-action"
9
+ }, Y = {
10
+ key: 0,
11
+ class: "item-action"
12
+ }, Z = /* @__PURE__ */ z({
13
+ __name: "FormGridCopy",
14
+ props: {
15
+ list: {
16
+ type: Array,
17
+ default: []
18
+ },
19
+ data: {
20
+ type: Object,
21
+ default: null
22
+ },
23
+ activeIndex: {
24
+ type: String,
25
+ default: ""
26
+ },
27
+ index: {
28
+ type: String,
29
+ default: ""
30
+ }
31
+ },
32
+ emits: ["childConfig", "index"],
33
+ setup(e, { emit: O }) {
34
+ const p = j(), { formData: _ } = p, a = e, i = J("-1");
35
+ L(
36
+ () => a.activeIndex,
37
+ (t, n) => {
38
+ i.value = t;
39
+ }
40
+ );
41
+ const m = O;
42
+ function C(t, n, l) {
43
+ i.value = n, m("childConfig", t), m("index", i.value), l.stopPropagation(), l.preventDefault();
44
+ }
45
+ function $() {
46
+ i.value = "-1", console.log("开始拖拽");
47
+ }
48
+ function V(t, n) {
49
+ t.to.className == "widget-col-list" ? i.value = a.index + "-" + n + "-" + t.newIndex : i.value = t.newIndex, m("index", i.value);
50
+ }
51
+ function E(t) {
52
+ const n = JSON.parse(JSON.stringify(t));
53
+ if (a.data.columns && a.data.columns.length > 0) {
54
+ let l = a.data.columns.findIndex((v) => v.key == t.key);
55
+ l > -1 && (n.key = N(), n.id = N(), a.data.columns.splice(l + 1, 0, n));
56
+ }
57
+ }
58
+ function F(t) {
59
+ let n = a.data.columns.findIndex((l) => l.key == t.key);
60
+ n > -1 && a.data.columns.splice(n, 1);
61
+ }
62
+ function M() {
63
+ if (a.data.columns.length > 0)
64
+ R.confirm({
65
+ title: "确定要删除该栅格布局吗?",
66
+ content: "如果该布局存在表单,将会一并删除",
67
+ onOk() {
68
+ const t = a.list.findIndex((n) => n.id == a.data.id);
69
+ t != -1 && a.list.splice(t, 1);
70
+ },
71
+ onCancel() {
72
+ }
73
+ });
74
+ else {
75
+ const t = a.list.findIndex((n) => n.id == a.data.id);
76
+ t != -1 && a.list.splice(t, 1);
77
+ }
78
+ }
79
+ return (t, n) => {
80
+ const l = h("a-col"), v = h("a-row"), G = h("a-form");
81
+ return o(), r("div", null, [
82
+ W("div", Q, [
83
+ e.activeIndex == e.index ? (o(), r("div", T, [
84
+ u(f(A), { style: { padding: "6px" } })
85
+ ])) : x("", !0)
86
+ ]),
87
+ u(G, {
88
+ style: I({ padding: `${e.data.top || 0}px ${e.data.right || 0}px ${e.data.bottom || 0}px ${e.data.left || 0}px` }),
89
+ "label-col": { style: { width: f(p).formData.config.labelWidth + "px" } },
90
+ labelWrap: !0
91
+ }, {
92
+ default: g(() => [
93
+ u(v, {
94
+ gutter: [e.data.options.gutter, 8],
95
+ tyle: "flex",
96
+ style: I({ marginLeft: -e.data.options.gutter / 2 + "px", marginRight: -e.data.options.gutter / 2 + "px" })
97
+ }, {
98
+ default: g(() => [
99
+ (o(!0), r(k, null, w(e.data.columns, (d, c) => (o(), b(l, {
100
+ class: D(["widget-col-item", { active: i.value == "col-" + e.index + "-" + c }]),
101
+ span: d.options.span,
102
+ offset: d.options.offset,
103
+ onMousedown: (s) => C(d, "col-" + e.index + "-" + c, s)
104
+ }, {
105
+ default: g(() => [
106
+ u(f(H), {
107
+ class: "widget-col-list",
108
+ style: { "min-height": "50px" },
109
+ "ghost-class": "ghost",
110
+ list: d.list,
111
+ "force-fallback": !0,
112
+ "chosen-class": "chosenClass2",
113
+ "drag-class": "dragClass1",
114
+ onStart: $,
115
+ onEnd: (s) => V(s, c),
116
+ group: "itxst",
117
+ sort: !1,
118
+ animation: "300",
119
+ handle: ".move",
120
+ itemKey: ""
121
+ }, {
122
+ default: g(() => [
123
+ (o(!0), r(k, null, w(d.list, (s, y) => (o(), r("div", {
124
+ class: D(["widget-view", { active: i.value == e.index + "-" + c + "-" + y }]),
125
+ onMousedown: (B) => C(s, e.index + "-" + c + "-" + y, B)
126
+ }, [
127
+ u(K, {
128
+ data: s,
129
+ list: d.list,
130
+ activeIndex: i.value,
131
+ index: e.index + "-" + c + "-" + y
132
+ }, null, 8, ["data", "list", "activeIndex", "index"])
133
+ ], 42, U))), 256))
134
+ ]),
135
+ _: 2
136
+ }, 1032, ["list", "onEnd"]),
137
+ e.activeIndex === "col-" + e.index + "-" + c ? (o(), r("div", X, [
138
+ u(f(P), {
139
+ style: { padding: "3px 5px" },
140
+ onClick: (s) => E(d)
141
+ }, null, 8, ["onClick"]),
142
+ e.data.columns.length !== 1 ? (o(), b(f(S), {
143
+ key: 0,
144
+ onClick: (s) => F(d)
145
+ }, null, 8, ["onClick"])) : x("", !0)
146
+ ])) : x("", !0)
147
+ ]),
148
+ _: 2
149
+ }, 1032, ["span", "class", "offset", "onMousedown"]))), 256)),
150
+ e.activeIndex === e.index ? (o(), r("div", Y, [
151
+ u(f(S), {
152
+ style: { padding: "3px 5px", color: "#fff" },
153
+ onClick: n[0] || (n[0] = (d) => M())
154
+ })
155
+ ])) : x("", !0)
156
+ ]),
157
+ _: 1
158
+ }, 8, ["gutter", "style"])
159
+ ]),
160
+ _: 1
161
+ }, 8, ["style", "label-col"])
162
+ ]);
163
+ };
164
+ }
165
+ }), ne = /* @__PURE__ */ q(Z, [["__scopeId", "data-v-e3b465b8"]]);
166
+ export {
167
+ ne as default
168
+ };
@@ -1,5 +1,5 @@
1
- import { defineComponent as j, ref as z, watch as J, resolveComponent as h, createElementBlock as r, openBlock as o, createElementVNode as L, createVNode as u, createCommentVNode as x, unref as f, normalizeStyle as I, withCtx as g, Fragment as k, renderList as w, createBlock as b, normalizeClass as D } from "vue";
2
- import { $ as W, ad as A, ae as K, af as P, ag as R, ah as S, ai as $, aj as q, x as H } from "./index-Djxsz7aX.js";
1
+ import { defineComponent as z, ref as J, watch as L, resolveComponent as h, openBlock as o, createElementBlock as r, createElementVNode as W, createVNode as u, unref as f, createCommentVNode as x, normalizeStyle as C, withCtx as g, Fragment as I, renderList as w, createBlock as b, normalizeClass as D } from "vue";
2
+ import { aF as j, x as A, V as K, y as P, s as R, w as S, ak as N, G as q, _ as H } from "./index-CGewm3AG.js";
3
3
  const Q = { class: "move" }, T = {
4
4
  key: 0,
5
5
  class: "widget-view-drag"
@@ -9,7 +9,7 @@ const Q = { class: "move" }, T = {
9
9
  }, Y = {
10
10
  key: 0,
11
11
  class: "item-action"
12
- }, Z = /* @__PURE__ */ j({
12
+ }, Z = /* @__PURE__ */ z({
13
13
  __name: "FormGridCopy",
14
14
  props: {
15
15
  list: {
@@ -30,36 +30,36 @@ const Q = { class: "move" }, T = {
30
30
  }
31
31
  },
32
32
  emits: ["childConfig", "index"],
33
- setup(e, { emit: N }) {
34
- const p = W(), { formData: _ } = p, a = e, i = z("-1");
35
- J(
33
+ setup(e, { emit: O }) {
34
+ const p = j(), { formData: _ } = p, a = e, i = J("-1");
35
+ L(
36
36
  () => a.activeIndex,
37
37
  (t, n) => {
38
38
  i.value = t;
39
39
  }
40
40
  );
41
- const m = N;
42
- function C(t, n, d) {
43
- i.value = n, m("childConfig", t), m("index", i.value), d.stopPropagation(), d.preventDefault();
41
+ const m = O;
42
+ function k(t, n, l) {
43
+ i.value = n, m("childConfig", t), m("index", i.value), l.stopPropagation(), l.preventDefault();
44
44
  }
45
- function O() {
45
+ function $() {
46
46
  i.value = "-1", console.log("开始拖拽");
47
47
  }
48
- function E(t, n) {
48
+ function F(t, n) {
49
49
  t.to.className == "widget-col-list" ? i.value = a.index + "-" + n + "-" + t.newIndex : i.value = t.newIndex, m("index", i.value);
50
50
  }
51
- function F(t) {
51
+ function V(t) {
52
52
  const n = JSON.parse(JSON.stringify(t));
53
53
  if (a.data.columns && a.data.columns.length > 0) {
54
- let d = a.data.columns.findIndex((v) => v.key == t.key);
55
- d > -1 && (n.key = $(), n.id = $(), a.data.columns.splice(d + 1, 0, n));
54
+ let l = a.data.columns.findIndex((v) => v.key == t.key);
55
+ l > -1 && (n.key = N(), n.id = N(), a.data.columns.splice(l + 1, 0, n));
56
56
  }
57
57
  }
58
- function M(t) {
59
- let n = a.data.columns.findIndex((d) => d.key == t.key);
58
+ function E(t) {
59
+ let n = a.data.columns.findIndex((l) => l.key == t.key);
60
60
  n > -1 && a.data.columns.splice(n, 1);
61
61
  }
62
- function V() {
62
+ function M() {
63
63
  if (a.data.columns.length > 0)
64
64
  q.confirm({
65
65
  title: "确定要删除该栅格布局吗?",
@@ -77,15 +77,15 @@ const Q = { class: "move" }, T = {
77
77
  }
78
78
  }
79
79
  return (t, n) => {
80
- const d = h("a-col"), v = h("a-row"), B = h("a-form");
80
+ const l = h("a-col"), v = h("a-row"), G = h("a-form");
81
81
  return o(), r("div", null, [
82
- L("div", Q, [
82
+ W("div", Q, [
83
83
  e.activeIndex == e.index ? (o(), r("div", T, [
84
84
  u(f(A), { style: { padding: "6px" } })
85
85
  ])) : x("", !0)
86
86
  ]),
87
- u(B, {
88
- style: I({ padding: `${e.data.top || 0}px ${e.data.right || 0}px ${e.data.bottom || 0}px ${e.data.left || 0}px` }),
87
+ u(G, {
88
+ style: C({ padding: `${e.data.top || 0}px ${e.data.right || 0}px ${e.data.bottom || 0}px ${e.data.left || 0}px` }),
89
89
  "label-col": { style: { width: f(p).formData.config.labelWidth + "px" } },
90
90
  labelWrap: !0
91
91
  }, {
@@ -93,26 +93,26 @@ const Q = { class: "move" }, T = {
93
93
  u(v, {
94
94
  gutter: [e.data.options.gutter, 8],
95
95
  tyle: "flex",
96
- style: I({ marginLeft: -e.data.options.gutter / 2 + "px", marginRight: -e.data.options.gutter / 2 + "px" })
96
+ style: C({ marginLeft: -e.data.options.gutter / 2 + "px", marginRight: -e.data.options.gutter / 2 + "px" })
97
97
  }, {
98
98
  default: g(() => [
99
- (o(!0), r(k, null, w(e.data.columns, (l, c) => (o(), b(d, {
99
+ (o(!0), r(I, null, w(e.data.columns, (d, c) => (o(), b(l, {
100
100
  class: D(["widget-col-item", { active: i.value == "col-" + e.index + "-" + c }]),
101
- span: l.options.span,
102
- offset: l.options.offset,
103
- onMousedown: (s) => C(l, "col-" + e.index + "-" + c, s)
101
+ span: d.options.span,
102
+ offset: d.options.offset,
103
+ onMousedown: (s) => k(d, "col-" + e.index + "-" + c, s)
104
104
  }, {
105
105
  default: g(() => [
106
106
  u(f(K), {
107
107
  class: "widget-col-list",
108
108
  style: { "min-height": "50px" },
109
109
  "ghost-class": "ghost",
110
- list: l.list,
110
+ list: d.list,
111
111
  "force-fallback": !0,
112
112
  "chosen-class": "chosenClass2",
113
113
  "drag-class": "dragClass1",
114
- onStart: O,
115
- onEnd: (s) => E(s, c),
114
+ onStart: $,
115
+ onEnd: (s) => F(s, c),
116
116
  group: "itxst",
117
117
  sort: !1,
118
118
  animation: "300",
@@ -120,13 +120,13 @@ const Q = { class: "move" }, T = {
120
120
  itemKey: ""
121
121
  }, {
122
122
  default: g(() => [
123
- (o(!0), r(k, null, w(l.list, (s, y) => (o(), r("div", {
123
+ (o(!0), r(I, null, w(d.list, (s, y) => (o(), r("div", {
124
124
  class: D(["widget-view", { active: i.value == e.index + "-" + c + "-" + y }]),
125
- onMousedown: (G) => C(s, e.index + "-" + c + "-" + y, G)
125
+ onMousedown: (B) => k(s, e.index + "-" + c + "-" + y, B)
126
126
  }, [
127
127
  u(P, {
128
128
  data: s,
129
- list: l.list,
129
+ list: d.list,
130
130
  activeIndex: i.value,
131
131
  index: e.index + "-" + c + "-" + y
132
132
  }, null, 8, ["data", "list", "activeIndex", "index"])
@@ -137,11 +137,11 @@ const Q = { class: "move" }, T = {
137
137
  e.activeIndex === "col-" + e.index + "-" + c ? (o(), r("div", X, [
138
138
  u(f(R), {
139
139
  style: { padding: "3px 5px" },
140
- onClick: (s) => F(l)
140
+ onClick: (s) => V(d)
141
141
  }, null, 8, ["onClick"]),
142
142
  e.data.columns.length !== 1 ? (o(), b(f(S), {
143
143
  key: 0,
144
- onClick: (s) => M(l)
144
+ onClick: (s) => E(d)
145
145
  }, null, 8, ["onClick"])) : x("", !0)
146
146
  ])) : x("", !0)
147
147
  ]),
@@ -150,7 +150,7 @@ const Q = { class: "move" }, T = {
150
150
  e.activeIndex === e.index ? (o(), r("div", Y, [
151
151
  u(f(S), {
152
152
  style: { padding: "3px 5px", color: "#fff" },
153
- onClick: n[0] || (n[0] = (l) => V())
153
+ onClick: n[0] || (n[0] = (d) => M())
154
154
  })
155
155
  ])) : x("", !0)
156
156
  ]),
@@ -162,7 +162,7 @@ const Q = { class: "move" }, T = {
162
162
  ]);
163
163
  };
164
164
  }
165
- }), ne = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-b6a6a4fd"]]);
165
+ }), ne = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-e3b465b8"]]);
166
166
  export {
167
167
  ne as default
168
168
  };
@@ -0,0 +1,9 @@
1
+ import { _ as n } from "./index-DR7adI8e.js";
2
+ const r = {};
3
+ function c(e, t) {
4
+ return null;
5
+ }
6
+ const o = /* @__PURE__ */ n(r, [["render", c]]);
7
+ export {
8
+ o as default
9
+ };
@@ -0,0 +1,9 @@
1
+ import { _ as n } from "./index-CGewm3AG.js";
2
+ const r = {};
3
+ function c(e, t) {
4
+ return null;
5
+ }
6
+ const o = /* @__PURE__ */ n(r, [["render", c]]);
7
+ export {
8
+ o as default
9
+ };
@@ -0,0 +1,4 @@
1
+ import { Q as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { Q as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { T as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { T as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,9 @@
1
+ import { _ as e } from "./index-DR7adI8e.js";
2
+ const r = {};
3
+ function o(c, t) {
4
+ return " hello 你好 ";
5
+ }
6
+ const n = /* @__PURE__ */ e(r, [["render", o]]);
7
+ export {
8
+ n as default
9
+ };
@@ -0,0 +1,9 @@
1
+ import { _ as e } from "./index-CGewm3AG.js";
2
+ const r = {};
3
+ function o(c, t) {
4
+ return " hello 你好 ";
5
+ }
6
+ const n = /* @__PURE__ */ e(r, [["render", o]]);
7
+ export {
8
+ n as default
9
+ };
@@ -1,5 +1,5 @@
1
- import { defineComponent as i, resolveComponent as f, createBlock as m, openBlock as v, withCtx as u, createVNode as t } from "vue";
2
- import { $ as c } from "./index-Djxsz7aX.js";
1
+ import { defineComponent as i, resolveComponent as f, openBlock as m, createBlock as v, withCtx as u, createVNode as t } from "vue";
2
+ import { aF as c } from "./index-CGewm3AG.js";
3
3
  const x = /* @__PURE__ */ i({
4
4
  __name: "Input-删除",
5
5
  props: {
@@ -11,7 +11,7 @@ const x = /* @__PURE__ */ i({
11
11
  setup(e) {
12
12
  return c(), (g, a) => {
13
13
  const o = f("a-input"), n = f("a-form-item"), d = f("a-textarea"), r = f("a-form");
14
- return v(), m(r, {
14
+ return m(), v(r, {
15
15
  layout: "vertical",
16
16
  model: e.configData,
17
17
  autocomplete: "off"
@@ -0,0 +1,87 @@
1
+ import { defineComponent as i, resolveComponent as f, openBlock as m, createBlock as v, withCtx as u, createVNode as t } from "vue";
2
+ import { aH as c } from "./index-DR7adI8e.js";
3
+ const x = /* @__PURE__ */ i({
4
+ __name: "Input-删除",
5
+ props: {
6
+ configData: {
7
+ type: Object,
8
+ default: {}
9
+ }
10
+ },
11
+ setup(e) {
12
+ return c(), (g, a) => {
13
+ const o = f("a-input"), n = f("a-form-item"), d = f("a-textarea"), r = f("a-form");
14
+ return m(), v(r, {
15
+ layout: "vertical",
16
+ model: e.configData,
17
+ autocomplete: "off"
18
+ }, {
19
+ default: u(() => [
20
+ t(n, { label: "标题" }, {
21
+ default: u(() => [
22
+ t(o, {
23
+ value: e.configData.name,
24
+ "onUpdate:value": a[0] || (a[0] = (l) => e.configData.name = l)
25
+ }, null, 8, ["value"])
26
+ ]),
27
+ _: 1
28
+ }),
29
+ t(n, {
30
+ label: "数据绑定",
31
+ rules: [{ required: !0 }]
32
+ }, {
33
+ default: u(() => [
34
+ t(o, {
35
+ value: e.configData.model,
36
+ "onUpdate:value": a[1] || (a[1] = (l) => e.configData.model = l)
37
+ }, null, 8, ["value"])
38
+ ]),
39
+ _: 1
40
+ }),
41
+ t(n, {
42
+ label: "key",
43
+ rules: [{ required: !0 }]
44
+ }, {
45
+ default: u(() => [
46
+ t(o, {
47
+ value: e.configData.key,
48
+ "onUpdate:value": a[2] || (a[2] = (l) => e.configData.key = l)
49
+ }, null, 8, ["value"])
50
+ ]),
51
+ _: 1
52
+ }),
53
+ t(n, {
54
+ label: "默认值",
55
+ rules: [{ required: !0 }]
56
+ }, {
57
+ default: u(() => [
58
+ t(o, {
59
+ value: e.configData.defaultValue,
60
+ "onUpdate:value": a[3] || (a[3] = (l) => e.configData.defaultValue = l)
61
+ }, null, 8, ["value"])
62
+ ]),
63
+ _: 1
64
+ }),
65
+ t(n, {
66
+ label: "扩展",
67
+ rules: [{ required: !0 }]
68
+ }, {
69
+ default: u(() => [
70
+ t(d, {
71
+ value: e.configData.extended,
72
+ "onUpdate:value": a[4] || (a[4] = (l) => e.configData.extended = l),
73
+ placeholder: "",
74
+ rows: 5
75
+ }, null, 8, ["value"])
76
+ ]),
77
+ _: 1
78
+ })
79
+ ]),
80
+ _: 1
81
+ }, 8, ["model"]);
82
+ };
83
+ }
84
+ });
85
+ export {
86
+ x as default
87
+ };
@@ -0,0 +1,92 @@
1
+ import { defineComponent as _, resolveComponent as o, openBlock as n, createBlock as l, withCtx as i, createElementBlock as u, Fragment as d, renderList as r, createVNode as k, createTextVNode as x, toDisplayString as D, createCommentVNode as w } from "vue";
2
+ import { aF as U } from "./index-CGewm3AG.js";
3
+ const L = /* @__PURE__ */ _({
4
+ __name: "Label-删除",
5
+ props: {
6
+ configData: {
7
+ type: Object,
8
+ default: {}
9
+ }
10
+ },
11
+ setup(a) {
12
+ U();
13
+ const p = [
14
+ { title: "标题", bind: "name", type: "input", placeholder: "" },
15
+ { title: "key", bind: "key", type: "input", placeholder: "" },
16
+ { title: "是否必填", bind: "required", type: "switch", placeholder: "" },
17
+ { title: "大小", bind: "font", type: "inputnumber", placeholder: "" },
18
+ { title: "颜色", bind: "color", type: "input", placeholder: "" },
19
+ {
20
+ title: "位置",
21
+ bind: "align",
22
+ type: "radiogroup",
23
+ children: [
24
+ { title: "居左", value: "left" },
25
+ { title: "居中", value: "center" },
26
+ { title: "居右", value: "right" }
27
+ ]
28
+ },
29
+ { title: "样式扩展", bind: "cssextended", type: "textarea", placeholder: "" },
30
+ { title: "扩展", bind: "extended", type: "textarea", placeholder: "", rows: "5" }
31
+ ];
32
+ return (C, c) => {
33
+ const f = o("a-input"), b = o("a-textarea"), v = o("a-input-number"), y = o("a-radio-button"), g = o("a-radio-group"), m = o("a-switch"), s = o("a-form-item"), h = o("a-form");
34
+ return n(), l(h, {
35
+ layout: "vertical",
36
+ model: a.configData,
37
+ autocomplete: "off"
38
+ }, {
39
+ default: i(() => [
40
+ (n(), u(d, null, r(p, (e, B) => k(s, {
41
+ label: e.title
42
+ }, {
43
+ default: i(() => [
44
+ e.type == "input" ? (n(), l(f, {
45
+ key: 0,
46
+ value: a.configData[e.bind],
47
+ "onUpdate:value": (t) => a.configData[e.bind] = t
48
+ }, null, 8, ["value", "onUpdate:value"])) : e.type == "textarea" ? (n(), l(b, {
49
+ key: 1,
50
+ value: a.configData[e.bind],
51
+ "onUpdate:value": (t) => a.configData[e.bind] = t,
52
+ placeholder: "",
53
+ rows: e.rows
54
+ }, null, 8, ["value", "onUpdate:value", "rows"])) : e.type == "inputnumber" ? (n(), l(v, {
55
+ key: 2,
56
+ value: a.configData[e.bind],
57
+ "onUpdate:value": (t) => a.configData[e.bind] = t,
58
+ min: 12,
59
+ max: 80
60
+ }, null, 8, ["value", "onUpdate:value"])) : e.type == "radiogroup" ? (n(), l(g, {
61
+ key: 3,
62
+ value: a.configData.align,
63
+ "onUpdate:value": c[0] || (c[0] = (t) => a.configData.align = t)
64
+ }, {
65
+ default: i(() => [
66
+ (n(!0), u(d, null, r(e.children, (t, F) => (n(), l(y, {
67
+ value: t.value
68
+ }, {
69
+ default: i(() => [
70
+ x(D(t.title), 1)
71
+ ]),
72
+ _: 2
73
+ }, 1032, ["value"]))), 256))
74
+ ]),
75
+ _: 2
76
+ }, 1032, ["value"])) : e.type == "switch" ? (n(), l(m, {
77
+ key: 4,
78
+ checked: a.configData[e.bind],
79
+ "onUpdate:checked": (t) => a.configData[e.bind] = t
80
+ }, null, 8, ["checked", "onUpdate:checked"])) : w("", !0)
81
+ ]),
82
+ _: 2
83
+ }, 1032, ["label"])), 64))
84
+ ]),
85
+ _: 1
86
+ }, 8, ["model"]);
87
+ };
88
+ }
89
+ });
90
+ export {
91
+ L as default
92
+ };
@@ -1,5 +1,5 @@
1
- import { defineComponent as _, resolveComponent as o, createBlock as l, openBlock as n, withCtx as i, createElementBlock as u, Fragment as d, renderList as r, createVNode as k, createCommentVNode as x, createTextVNode as D, toDisplayString as w } from "vue";
2
- import { $ as U } from "./index-Djxsz7aX.js";
1
+ import { defineComponent as _, resolveComponent as o, openBlock as n, createBlock as l, withCtx as i, createElementBlock as u, Fragment as d, renderList as r, createVNode as k, createTextVNode as x, toDisplayString as D, createCommentVNode as w } from "vue";
2
+ import { aH as U } from "./index-DR7adI8e.js";
3
3
  const L = /* @__PURE__ */ _({
4
4
  __name: "Label-删除",
5
5
  props: {
@@ -67,7 +67,7 @@ const L = /* @__PURE__ */ _({
67
67
  value: t.value
68
68
  }, {
69
69
  default: i(() => [
70
- D(w(t.title), 1)
70
+ x(D(t.title), 1)
71
71
  ]),
72
72
  _: 2
73
73
  }, 1032, ["value"]))), 256))
@@ -77,7 +77,7 @@ const L = /* @__PURE__ */ _({
77
77
  key: 4,
78
78
  checked: a.configData[e.bind],
79
79
  "onUpdate:checked": (t) => a.configData[e.bind] = t
80
- }, null, 8, ["checked", "onUpdate:checked"])) : x("", !0)
80
+ }, null, 8, ["checked", "onUpdate:checked"])) : w("", !0)
81
81
  ]),
82
82
  _: 2
83
83
  }, 1032, ["label"])), 64))
@@ -0,0 +1,4 @@
1
+ import { O as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { O as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,9 @@
1
+ import { _ as r } from "./index-DR7adI8e.js";
2
+ const c = {};
3
+ function e(n, t) {
4
+ return "我是登录页";
5
+ }
6
+ const o = /* @__PURE__ */ r(c, [["render", e]]);
7
+ export {
8
+ o as default
9
+ };
@@ -0,0 +1,9 @@
1
+ import { _ as r } from "./index-CGewm3AG.js";
2
+ const c = {};
3
+ function e(n, t) {
4
+ return "我是登录页";
5
+ }
6
+ const o = /* @__PURE__ */ r(c, [["render", e]]);
7
+ export {
8
+ o as default
9
+ };
@@ -0,0 +1,4 @@
1
+ import { K as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };