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,32 @@
1
+ import { defineComponent as c, onMounted as p, resolveComponent as i, openBlock as e, createBlock as o, unref as n, withCtx as t, createVNode as f, KeepAlive as u, resolveDynamicComponent as _ } from "vue";
2
+ import { aq as m, R as s } from "./index-DR7adI8e.js";
3
+ const x = /* @__PURE__ */ c({
4
+ __name: "App",
5
+ setup(d) {
6
+ return p(() => {
7
+ }), (v, h) => {
8
+ const r = i("a-config-provider");
9
+ return e(), o(r, {
10
+ locale: n(m),
11
+ theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
12
+ }, {
13
+ default: t(() => [
14
+ f(n(s), null, {
15
+ default: t(({ Component: a, route: l }) => [
16
+ (e(), o(u, null, [
17
+ (e(), o(_(a), {
18
+ key: l.fullPath
19
+ }))
20
+ ], 1024))
21
+ ]),
22
+ _: 1
23
+ })
24
+ ]),
25
+ _: 1
26
+ }, 8, ["locale"]);
27
+ };
28
+ }
29
+ });
30
+ export {
31
+ x as default
32
+ };
@@ -0,0 +1,32 @@
1
+ import { defineComponent as c, onMounted as p, resolveComponent as i, openBlock as e, createBlock as o, unref as n, withCtx as t, createVNode as f, KeepAlive as u, resolveDynamicComponent as _ } from "vue";
2
+ import { ap as m, R as s } from "./index-CGewm3AG.js";
3
+ const x = /* @__PURE__ */ c({
4
+ __name: "App",
5
+ setup(d) {
6
+ return p(() => {
7
+ }), (v, h) => {
8
+ const r = i("a-config-provider");
9
+ return e(), o(r, {
10
+ locale: n(m),
11
+ theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
12
+ }, {
13
+ default: t(() => [
14
+ f(n(s), null, {
15
+ default: t(({ Component: a, route: l }) => [
16
+ (e(), o(u, null, [
17
+ (e(), o(_(a), {
18
+ key: l.fullPath
19
+ }))
20
+ ], 1024))
21
+ ]),
22
+ _: 1
23
+ })
24
+ ]),
25
+ _: 1
26
+ }, 8, ["locale"]);
27
+ };
28
+ }
29
+ });
30
+ export {
31
+ x as default
32
+ };
@@ -0,0 +1,4 @@
1
+ import { I as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { I as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { J as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { J as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { $ as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { $ as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { a0 as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { a0 as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { a1 as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { a1 as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { N as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { N as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { W as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { W as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { X as f } from "./index-CGewm3AG.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { X as f } from "./index-DR7adI8e.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,6 +1,6 @@
1
- import { defineComponent as R, computed as f, resolveComponent as u, createElementBlock as c, openBlock as r, createElementVNode as v, createVNode as t, withDirectives as y, withCtx as n, unref as i, h as x, vModelText as O, Fragment as g, renderList as B, createBlock as C, createTextVNode as h, resolveDynamicComponent as z, toDisplayString as j } from "vue";
2
- import { B as S, z as F, G, H, I as J, J as K, K as P, L as Q, M as q, N as X, O as Y, P as Z, Q as $, x as ee } from "./index-Djxsz7aX.js";
3
- const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe = /* @__PURE__ */ R({
1
+ import { defineComponent as j, computed as f, resolveComponent as u, openBlock as r, createElementBlock as c, createElementVNode as v, createVNode as t, withCtx as n, unref as i, h as y, withDirectives as g, vModelText as x, Fragment as O, renderList as B, createBlock as C, resolveDynamicComponent as h, createTextVNode as S, toDisplayString as R } from "vue";
2
+ import { g as k, i as F, k as q, j as G, f as H, h as J, b as K, a as P, c as Q, B as X, M as Y, D as Z, S as $, _ as ee } from "./index-DR7adI8e.js";
3
+ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe = /* @__PURE__ */ j({
4
4
  __name: "CommonText copy",
5
5
  props: {
6
6
  textElement: {
@@ -9,26 +9,26 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
9
9
  }
10
10
  },
11
11
  emits: ["update:textElement"],
12
- setup(k, { emit: w }) {
13
- const A = k, E = w, e = f({
12
+ setup(z, { emit: w }) {
13
+ const A = z, D = w, e = f({
14
14
  get: () => A.textElement,
15
- set: (a) => E("update:textElement", a)
16
- }), U = [
15
+ set: (a) => D("update:textElement", a)
16
+ }), E = [
17
17
  { value: "solid", label: "实线", icon: Y },
18
18
  { value: "dashed", label: "虚线", icon: Z },
19
19
  { value: "dotted", label: "点线", icon: $ }
20
20
  ], m = [
21
- { value: "none", label: "无框线", icon: S },
21
+ { value: "none", label: "无框线", icon: k },
22
22
  { value: "all", label: "所有框线", icon: F },
23
- { value: "top", label: "上框线", icon: G },
24
- { value: "right", label: "右框线", icon: H },
25
- { value: "bottom", label: "下框线", icon: J },
26
- { value: "left", label: "左框线", icon: K }
27
- ], D = f(() => {
23
+ { value: "top", label: "上框线", icon: q },
24
+ { value: "right", label: "右框线", icon: G },
25
+ { value: "bottom", label: "下框线", icon: H },
26
+ { value: "left", label: "左框线", icon: J }
27
+ ], U = f(() => {
28
28
  const a = m.find(
29
29
  (o) => o.value === e.value.border
30
30
  );
31
- return a ? a.icon : S;
31
+ return a ? a.icon : k;
32
32
  });
33
33
  function T(a) {
34
34
  a > 0 && !e.value.borderStyle && (e.value.borderStyle = "solid", e.value.border = "all"), a === 0 && (e.value.border = "none", e.value.borderStyle = null);
@@ -36,11 +36,11 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
36
36
  function V({ key: a }) {
37
37
  e.value.border = a;
38
38
  }
39
- function I() {
39
+ function M() {
40
40
  e.value.bold = !e.value.bold;
41
41
  }
42
42
  return (a, o) => {
43
- const d = u("a-radio-button"), p = u("a-radio-group"), b = u("a-button"), _ = u("a-input-number"), s = u("a-tooltip"), L = u("a-divider"), M = u("a-menu-item"), N = u("a-menu"), W = u("a-dropdown");
43
+ const d = u("a-radio-button"), p = u("a-radio-group"), _ = u("a-button"), b = u("a-input-number"), s = u("a-tooltip"), I = u("a-divider"), L = u("a-menu-item"), N = u("a-menu"), W = u("a-dropdown");
44
44
  return r(), c("div", le, [
45
45
  v("div", te, [
46
46
  t(p, {
@@ -51,36 +51,36 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
51
51
  default: n(() => [
52
52
  t(d, { value: "left" }, {
53
53
  default: n(() => [
54
- t(i(P))
54
+ t(i(K))
55
55
  ]),
56
56
  _: 1
57
57
  }),
58
58
  t(d, { value: "center" }, {
59
59
  default: n(() => [
60
- t(i(Q))
60
+ t(i(P))
61
61
  ]),
62
62
  _: 1
63
63
  }),
64
64
  t(d, { value: "right" }, {
65
65
  default: n(() => [
66
- t(i(q))
66
+ t(i(Q))
67
67
  ]),
68
68
  _: 1
69
69
  })
70
70
  ]),
71
71
  _: 1
72
72
  }, 8, ["value"]),
73
- t(b, {
73
+ t(_, {
74
74
  size: "small",
75
- icon: x(i(X)),
76
- onClick: I
75
+ icon: y(i(X)),
76
+ onClick: M
77
77
  }, null, 8, ["icon"]),
78
78
  t(s, {
79
79
  title: "字号",
80
80
  color: "blue"
81
81
  }, {
82
82
  default: n(() => [
83
- t(_, {
83
+ t(b, {
84
84
  value: e.value.fontSize,
85
85
  "onUpdate:value": o[1] || (o[1] = (l) => e.value.fontSize = l),
86
86
  placeholder: "字体大小",
@@ -95,28 +95,28 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
95
95
  color: "blue"
96
96
  }, {
97
97
  default: n(() => [
98
- y(v("input", {
98
+ g(v("input", {
99
99
  type: "color",
100
100
  "onUpdate:modelValue": o[2] || (o[2] = (l) => e.value.color = l),
101
101
  class: "color-picker"
102
102
  }, null, 512), [
103
- [O, e.value.color]
103
+ [x, e.value.color]
104
104
  ])
105
105
  ]),
106
106
  _: 1
107
107
  }),
108
- t(L, { type: "vertical" }),
108
+ t(I, { type: "vertical" }),
109
109
  t(W, null, {
110
110
  overlay: n(() => [
111
111
  t(N, { onClick: V }, {
112
112
  default: n(() => [
113
- (r(), c(g, null, B(m, (l) => t(M, {
113
+ (r(), c(O, null, B(m, (l) => t(L, {
114
114
  key: l.value,
115
115
  disabled: l.value === e.value.border
116
116
  }, {
117
117
  default: n(() => [
118
- (r(), C(z(l.icon), { style: { fontSize: "18px" } })),
119
- h(" " + j(l.label), 1)
118
+ (r(), C(h(l.icon), { style: { fontSize: "18px" } })),
119
+ S(" " + R(l.label), 1)
120
120
  ]),
121
121
  _: 2
122
122
  }, 1032, ["disabled"])), 64))
@@ -125,9 +125,9 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
125
125
  })
126
126
  ]),
127
127
  default: n(() => [
128
- t(b, {
128
+ t(_, {
129
129
  size: "small",
130
- icon: x(D.value)
130
+ icon: y(U.value)
131
131
  }, null, 8, ["icon"])
132
132
  ]),
133
133
  _: 1
@@ -137,7 +137,7 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
137
137
  color: "blue"
138
138
  }, {
139
139
  default: n(() => [
140
- t(_, {
140
+ t(b, {
141
141
  value: e.value.borderWidth,
142
142
  "onUpdate:value": o[3] || (o[3] = (l) => e.value.borderWidth = l),
143
143
  min: 0,
@@ -147,19 +147,19 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
147
147
  size: "small"
148
148
  }, {
149
149
  addonAfter: n(() => [...o[6] || (o[6] = [
150
- h("px", -1)
150
+ S("px", -1)
151
151
  ])]),
152
152
  _: 1
153
153
  }, 8, ["value"])
154
154
  ]),
155
155
  _: 1
156
156
  }),
157
- y(v("input", {
157
+ g(v("input", {
158
158
  type: "color",
159
159
  "onUpdate:modelValue": o[4] || (o[4] = (l) => e.value.borderColor = l),
160
160
  class: "color-picker"
161
161
  }, null, 512), [
162
- [O, e.value.borderColor]
162
+ [x, e.value.borderColor]
163
163
  ]),
164
164
  t(p, {
165
165
  value: e.value.borderStyle,
@@ -167,12 +167,12 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
167
167
  size: "small"
168
168
  }, {
169
169
  default: n(() => [
170
- (r(), c(g, null, B(U, (l) => t(d, {
170
+ (r(), c(O, null, B(E, (l) => t(d, {
171
171
  key: l.value,
172
172
  value: l.value
173
173
  }, {
174
174
  default: n(() => [
175
- (r(), C(z(l.icon)))
175
+ (r(), C(h(l.icon)))
176
176
  ]),
177
177
  _: 2
178
178
  }, 1032, ["value"])), 64))
@@ -183,7 +183,7 @@ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe =
183
183
  ]);
184
184
  };
185
185
  }
186
- }), ue = /* @__PURE__ */ ee(oe, [["__scopeId", "data-v-19d43bdb"]]);
186
+ }), ue = /* @__PURE__ */ ee(oe, [["__scopeId", "data-v-553e4e34"]]);
187
187
  export {
188
188
  ue as default
189
189
  };
@@ -0,0 +1,189 @@
1
+ import { defineComponent as j, computed as f, resolveComponent as u, openBlock as r, createElementBlock as c, createElementVNode as v, createVNode as t, withCtx as n, unref as i, h as y, withDirectives as g, vModelText as x, Fragment as O, renderList as B, createBlock as C, resolveDynamicComponent as h, createTextVNode as S, toDisplayString as R } from "vue";
2
+ import { g as k, i as F, k as q, j as G, f as H, h as J, b as K, a as P, c as Q, B as X, M as Y, D as Z, S as $, _ as ee } from "./index-CGewm3AG.js";
3
+ const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe = /* @__PURE__ */ j({
4
+ __name: "CommonText copy",
5
+ props: {
6
+ textElement: {
7
+ type: Object,
8
+ default: () => ({})
9
+ }
10
+ },
11
+ emits: ["update:textElement"],
12
+ setup(z, { emit: w }) {
13
+ const A = z, D = w, e = f({
14
+ get: () => A.textElement,
15
+ set: (a) => D("update:textElement", a)
16
+ }), E = [
17
+ { value: "solid", label: "实线", icon: Y },
18
+ { value: "dashed", label: "虚线", icon: Z },
19
+ { value: "dotted", label: "点线", icon: $ }
20
+ ], m = [
21
+ { value: "none", label: "无框线", icon: k },
22
+ { value: "all", label: "所有框线", icon: F },
23
+ { value: "top", label: "上框线", icon: q },
24
+ { value: "right", label: "右框线", icon: G },
25
+ { value: "bottom", label: "下框线", icon: H },
26
+ { value: "left", label: "左框线", icon: J }
27
+ ], U = f(() => {
28
+ const a = m.find(
29
+ (o) => o.value === e.value.border
30
+ );
31
+ return a ? a.icon : k;
32
+ });
33
+ function T(a) {
34
+ a > 0 && !e.value.borderStyle && (e.value.borderStyle = "solid", e.value.border = "all"), a === 0 && (e.value.border = "none", e.value.borderStyle = null);
35
+ }
36
+ function V({ key: a }) {
37
+ e.value.border = a;
38
+ }
39
+ function M() {
40
+ e.value.bold = !e.value.bold;
41
+ }
42
+ return (a, o) => {
43
+ const d = u("a-radio-button"), p = u("a-radio-group"), _ = u("a-button"), b = u("a-input-number"), s = u("a-tooltip"), I = u("a-divider"), L = u("a-menu-item"), N = u("a-menu"), W = u("a-dropdown");
44
+ return r(), c("div", le, [
45
+ v("div", te, [
46
+ t(p, {
47
+ value: e.value.horzAlign,
48
+ "onUpdate:value": o[0] || (o[0] = (l) => e.value.horzAlign = l),
49
+ size: "small"
50
+ }, {
51
+ default: n(() => [
52
+ t(d, { value: "left" }, {
53
+ default: n(() => [
54
+ t(i(K))
55
+ ]),
56
+ _: 1
57
+ }),
58
+ t(d, { value: "center" }, {
59
+ default: n(() => [
60
+ t(i(P))
61
+ ]),
62
+ _: 1
63
+ }),
64
+ t(d, { value: "right" }, {
65
+ default: n(() => [
66
+ t(i(Q))
67
+ ]),
68
+ _: 1
69
+ })
70
+ ]),
71
+ _: 1
72
+ }, 8, ["value"]),
73
+ t(_, {
74
+ size: "small",
75
+ icon: y(i(X)),
76
+ onClick: M
77
+ }, null, 8, ["icon"]),
78
+ t(s, {
79
+ title: "字号",
80
+ color: "blue"
81
+ }, {
82
+ default: n(() => [
83
+ t(b, {
84
+ value: e.value.fontSize,
85
+ "onUpdate:value": o[1] || (o[1] = (l) => e.value.fontSize = l),
86
+ placeholder: "字体大小",
87
+ style: { width: "50px" },
88
+ size: "small"
89
+ }, null, 8, ["value"])
90
+ ]),
91
+ _: 1
92
+ }),
93
+ t(s, {
94
+ title: "字体颜色",
95
+ color: "blue"
96
+ }, {
97
+ default: n(() => [
98
+ g(v("input", {
99
+ type: "color",
100
+ "onUpdate:modelValue": o[2] || (o[2] = (l) => e.value.color = l),
101
+ class: "color-picker"
102
+ }, null, 512), [
103
+ [x, e.value.color]
104
+ ])
105
+ ]),
106
+ _: 1
107
+ }),
108
+ t(I, { type: "vertical" }),
109
+ t(W, null, {
110
+ overlay: n(() => [
111
+ t(N, { onClick: V }, {
112
+ default: n(() => [
113
+ (r(), c(O, null, B(m, (l) => t(L, {
114
+ key: l.value,
115
+ disabled: l.value === e.value.border
116
+ }, {
117
+ default: n(() => [
118
+ (r(), C(h(l.icon), { style: { fontSize: "18px" } })),
119
+ S(" " + R(l.label), 1)
120
+ ]),
121
+ _: 2
122
+ }, 1032, ["disabled"])), 64))
123
+ ]),
124
+ _: 1
125
+ })
126
+ ]),
127
+ default: n(() => [
128
+ t(_, {
129
+ size: "small",
130
+ icon: y(U.value)
131
+ }, null, 8, ["icon"])
132
+ ]),
133
+ _: 1
134
+ }),
135
+ t(s, {
136
+ title: "边框宽度",
137
+ color: "blue"
138
+ }, {
139
+ default: n(() => [
140
+ t(b, {
141
+ value: e.value.borderWidth,
142
+ "onUpdate:value": o[3] || (o[3] = (l) => e.value.borderWidth = l),
143
+ min: 0,
144
+ max: 10,
145
+ style: { width: "80px" },
146
+ onChange: T,
147
+ size: "small"
148
+ }, {
149
+ addonAfter: n(() => [...o[6] || (o[6] = [
150
+ S("px", -1)
151
+ ])]),
152
+ _: 1
153
+ }, 8, ["value"])
154
+ ]),
155
+ _: 1
156
+ }),
157
+ g(v("input", {
158
+ type: "color",
159
+ "onUpdate:modelValue": o[4] || (o[4] = (l) => e.value.borderColor = l),
160
+ class: "color-picker"
161
+ }, null, 512), [
162
+ [x, e.value.borderColor]
163
+ ]),
164
+ t(p, {
165
+ value: e.value.borderStyle,
166
+ "onUpdate:value": o[5] || (o[5] = (l) => e.value.borderStyle = l),
167
+ size: "small"
168
+ }, {
169
+ default: n(() => [
170
+ (r(), c(O, null, B(E, (l) => t(d, {
171
+ key: l.value,
172
+ value: l.value
173
+ }, {
174
+ default: n(() => [
175
+ (r(), C(h(l.icon)))
176
+ ]),
177
+ _: 2
178
+ }, 1032, ["value"])), 64))
179
+ ]),
180
+ _: 1
181
+ }, 8, ["value"])
182
+ ])
183
+ ]);
184
+ };
185
+ }
186
+ }), ue = /* @__PURE__ */ ee(oe, [["__scopeId", "data-v-553e4e34"]]);
187
+ export {
188
+ ue as default
189
+ };
@@ -1,10 +1,10 @@
1
- import { defineComponent as n, resolveComponent as t, createBlock as c, openBlock as p } from "vue";
1
+ import { defineComponent as n, resolveComponent as t, openBlock as c, createBlock as p } from "vue";
2
2
  const a = /* @__PURE__ */ n({
3
3
  __name: "Demo copy",
4
4
  setup(r) {
5
5
  return (o, s) => {
6
6
  const e = t("c-echarts-pie");
7
- return p(), c(e, { options: o.chartOptionss }, null, 8, ["options"]);
7
+ return c(), p(e, { options: o.chartOptionss }, null, 8, ["options"]);
8
8
  };
9
9
  }
10
10
  });