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
@@ -1,5 +1,5 @@
1
- import { defineComponent as ye, ref as h, computed as O, watch as be, onMounted as he, onBeforeUnmount as Ce, resolveComponent as C, createBlock as k, openBlock as _, unref as p, withCtx as c, createVNode as r, createElementVNode as S, createTextVNode as E, isRef as xe, createCommentVNode as J, createElementBlock as we, Fragment as _e, renderList as Se } from "vue";
2
- import { u as Ie, g as U, i as ke, C as Ee, D as Ae, F as De, p as Oe, A as Te, a as ze, b as Ne, c as Ue, E as Me, d as je, e as Re, f as Pe, h as Fe, j as Le, k as Be, _ as Ke, r as q, m as Xe, n as H, S as Ye, o as j, q as Je, s as qe, t as He, v as Ve, w as We, x as Ge } from "./index-Djxsz7aX.js";
1
+ import { defineComponent as ye, ref as h, computed as O, watch as be, onMounted as he, onBeforeUnmount as Ce, resolveComponent as C, openBlock as _, createBlock as E, unref as p, withCtx as c, createVNode as r, createElementVNode as S, createTextVNode as k, isRef as xe, createCommentVNode as J, createElementBlock as we, Fragment as _e, renderList as Se } from "vue";
2
+ import { aK as Ie, aj as U, ap as Ee, C as ke, t as Ae, z as De, au as Oe, d as Te, o as ze, n as Ne, e as Ue, E as Me, q as je, p as Re, r as Pe, m as Fe, l as Le, at as Be, L as Ke, av as H, A as q, H as Xe, a8 as j, a9 as Ye, a4 as Je, ab as He, v as qe, u as Ve, aG as Ge, _ as We } from "./index-DR7adI8e.js";
3
3
  const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "20px !important", "padding-right": "20px !important" } }, $e = { style: { display: "flex", "align-items": "center", margin: "0 20px 0 auto" } }, et = { style: { background: "#fff", textAlign: "center", height: "99%" } }, tt = { style: { padding: "10px" } }, lt = /* @__PURE__ */ ye({
4
4
  __name: "index - 副本",
5
5
  props: {
@@ -9,11 +9,11 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
9
9
  }
10
10
  },
11
11
  setup(R) {
12
- const { execute: A } = Xe(), V = Ie(), T = R;
12
+ const { execute: A } = Ge(), V = Ie(), T = R;
13
13
  let i = h({ list: [], config: { layout: "portrait", pageMargin: "zhai" } });
14
14
  const w = h(!1);
15
- let W = h(!1);
16
- const P = h("1"), F = { width: 210, height: 297 }, L = { width: 297, height: 210 }, G = h(1);
15
+ let G = h(!1);
16
+ const P = h("1"), F = { width: 210, height: 297 }, L = { width: 297, height: 210 }, W = h(1);
17
17
  let M = h(i.value.config.layout || "portrait");
18
18
  const Q = O(() => i.value.config.pageMargin || "zhai"), Z = O(() => {
19
19
  switch (Q.value) {
@@ -32,8 +32,8 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
32
32
  let l = Math.max(...i.value.list.map((a) => a.y + a.height));
33
33
  t.y = l + 10;
34
34
  }
35
- t.type === "table" && t.tableConfig && q(t.tableConfig);
36
- const e = new H(
35
+ t.type === "table" && t.tableConfig && H(t.tableConfig);
36
+ const e = new q(
37
37
  () => i.value,
38
38
  // 函数引用,获取元素列表
39
39
  [t]
@@ -213,7 +213,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
213
213
  }
214
214
  function ue() {
215
215
  console.log(JSON.stringify(i.value));
216
- const t = { ...i.value }, e = new Ye(
216
+ const t = { ...i.value }, e = new Xe(
217
217
  () => i.value,
218
218
  // 函数引用,获取元素列表
219
219
  t,
@@ -224,8 +224,8 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
224
224
  A(e), de();
225
225
  }
226
226
  const de = () => {
227
- j.post({ url: "/formapi/zrzy-form/form/report/edit", data: { id: T.id, content: Je(JSON.stringify(i.value)) } }, { withToken: !0 }).then((e) => {
228
- e.success && qe.success("保存成功");
227
+ j.post({ url: "/formapi/zrzy-form/form/report/edit", data: { id: T.id, content: Ye(JSON.stringify(i.value)) } }, { withToken: !0 }).then((e) => {
228
+ e.success && Je.success("保存成功");
229
229
  });
230
230
  };
231
231
  let X = h([]);
@@ -256,8 +256,8 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
256
256
  const l = JSON.parse(e), a = document.querySelector(".ruler-content");
257
257
  if (a) {
258
258
  const n = a.getBoundingClientRect(), o = t.clientX - n.left, s = t.clientY - n.top;
259
- l.x = Math.max(0, o - l.width / 2), l.y = Math.max(0, s - l.height / 2), l.id = He(l.type), l.type === "table" && l.tableConfig && q(l.tableConfig);
260
- const u = new H(
259
+ l.x = Math.max(0, o - l.width / 2), l.y = Math.max(0, s - l.height / 2), l.id = He(l.type), l.type === "table" && l.tableConfig && H(l.tableConfig);
260
+ const u = new q(
261
261
  () => i.value,
262
262
  // 函数引用,获取元素列表
263
263
  [l]
@@ -279,7 +279,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
279
279
  }
280
280
  if (t.key !== "Delete" && t.key !== "Backspace") return;
281
281
  if (m.value.size > 1) {
282
- const o = new Ve(
282
+ const o = new qe(
283
283
  () => i.value,
284
284
  Array.from(m.value)
285
285
  );
@@ -289,7 +289,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
289
289
  if (!d.value) return;
290
290
  const l = i.value.list.findIndex((o) => o.id === d.value);
291
291
  if (l === -1) return;
292
- const a = i.value.list[l], n = new We(
292
+ const a = i.value.list[l], n = new Ve(
293
293
  () => i.value,
294
294
  // 函数引用,获取元素列表
295
295
  a,
@@ -309,13 +309,13 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
309
309
  });
310
310
  }
311
311
  return he(async () => {
312
- typeof document < "u" && document.addEventListener("keydown", Y), await V.initToken(), await ce(), await ve(), ke(i.value);
312
+ typeof document < "u" && document.addEventListener("keydown", Y), await V.initToken(), await ce(), await ve(), Ee(i.value);
313
313
  }), Ce(() => {
314
314
  typeof document < "u" && document.removeEventListener("keydown", Y);
315
315
  }), (t, e) => {
316
316
  const l = C("a-tab-pane"), a = C("a-tabs"), n = C("a-layout-sider"), o = C("a-button"), s = C("a-modal"), u = C("a-space"), v = C("a-layout-header"), f = C("a-layout-content"), y = C("a-layout"), x = C("a-spin");
317
- return _(), k(x, {
318
- spinning: p(W),
317
+ return _(), E(x, {
318
+ spinning: p(G),
319
319
  wrapperClassName: "cici-spin-css"
320
320
  }, {
321
321
  default: c(() => [
@@ -341,11 +341,11 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
341
341
  tab: c(() => [
342
342
  S("span", null, [
343
343
  r(p(Ae)),
344
- e[5] || (e[5] = E(" 数据 ", -1))
344
+ e[5] || (e[5] = k(" 数据 ", -1))
345
345
  ])
346
346
  ]),
347
347
  default: c(() => [
348
- r(Ee, {
348
+ r(ke, {
349
349
  formId: R.id,
350
350
  data: p(X)
351
351
  }, null, 8, ["formId", "data"])
@@ -356,7 +356,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
356
356
  tab: c(() => [
357
357
  S("span", null, [
358
358
  r(p(Te)),
359
- e[6] || (e[6] = E(" 组件 ", -1))
359
+ e[6] || (e[6] = k(" 组件 ", -1))
360
360
  ])
361
361
  ]),
362
362
  default: c(() => [
@@ -371,10 +371,10 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
371
371
  _: 1
372
372
  }, 8, ["activeKey"]),
373
373
  S("div", Qe, [
374
- w.value ? (_(), k(p(ze), {
374
+ w.value ? (_(), E(p(ze), {
375
375
  key: 0,
376
376
  onClick: e[1] || (e[1] = () => w.value = !w.value)
377
- })) : (_(), k(p(Ne), {
377
+ })) : (_(), E(p(Ne), {
378
378
  key: 1,
379
379
  onClick: e[2] || (e[2] = () => w.value = !w.value)
380
380
  }))
@@ -396,7 +396,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
396
396
  }, {
397
397
  default: c(() => [
398
398
  r(p(Ue)),
399
- e[7] || (e[7] = E("保存 ", -1))
399
+ e[7] || (e[7] = k("保存 ", -1))
400
400
  ]),
401
401
  _: 1
402
402
  }),
@@ -406,11 +406,11 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
406
406
  }, {
407
407
  default: c(() => [
408
408
  r(p(Me)),
409
- e[8] || (e[8] = E(" JSON ", -1))
409
+ e[8] || (e[8] = k(" JSON ", -1))
410
410
  ]),
411
411
  _: 1
412
412
  }),
413
- e[10] || (e[10] = E("   ", -1)),
413
+ e[10] || (e[10] = k("   ", -1)),
414
414
  r(s, {
415
415
  open: p(I),
416
416
  "onUpdate:open": e[4] || (e[4] = (g) => xe(I) ? I.value = g : I = g),
@@ -419,7 +419,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
419
419
  footer: !1
420
420
  }, {
421
421
  default: c(() => [
422
- p(I) ? (_(), k(je, {
422
+ p(I) ? (_(), E(je, {
423
423
  key: 0,
424
424
  code: JSON.stringify(p(i)),
425
425
  language: "json"
@@ -434,7 +434,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
434
434
  }, {
435
435
  default: c(() => [
436
436
  r(p(Re)),
437
- e[9] || (e[9] = E("在线预览 ", -1))
437
+ e[9] || (e[9] = k("在线预览 ", -1))
438
438
  ]),
439
439
  _: 1
440
440
  })
@@ -443,7 +443,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
443
443
  })
444
444
  ]),
445
445
  S("div", $e, [
446
- D.value ? (_(), k(Pe, {
446
+ D.value ? (_(), E(Pe, {
447
447
  key: 0,
448
448
  textElement: D.value.type === "table" && p(b) ? p(b) : D.value,
449
449
  "onUpdate:textElement": se,
@@ -461,7 +461,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
461
461
  ref: B,
462
462
  width: $.value,
463
463
  height: ee.value,
464
- scale: G.value,
464
+ scale: W.value,
465
465
  thick: 30,
466
466
  margin: Z.value,
467
467
  onDrop: me,
@@ -469,7 +469,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
469
469
  onClick: ae
470
470
  }, {
471
471
  default: c(() => [
472
- (_(!0), we(_e, null, Se(p(i).list, (g) => (_(), k(Le, {
472
+ (_(!0), we(_e, null, Se(p(i).list, (g) => (_(), E(Le, {
473
473
  key: g.id,
474
474
  element: g,
475
475
  rulerRef: B.value,
@@ -525,7 +525,7 @@ const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "2
525
525
  }, 8, ["spinning"]);
526
526
  };
527
527
  }
528
- }), it = /* @__PURE__ */ Ge(lt, [["__scopeId", "data-v-deab9c8d"]]);
528
+ }), it = /* @__PURE__ */ We(lt, [["__scopeId", "data-v-98e3c762"]]);
529
529
  export {
530
530
  it as default
531
531
  };