hfl-comp-editor 0.0.0

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 (86) hide show
  1. package/README.md +5 -0
  2. package/dist/Attr-6xFWM3Vu.js +148 -0
  3. package/dist/Attr-7IY8eomx.js +336 -0
  4. package/dist/Attr-B1lXQOcv.js +201 -0
  5. package/dist/Attr-BAFtdDJg.js +305 -0
  6. package/dist/Attr-BBfczLXs.js +35 -0
  7. package/dist/Attr-BJEwiBrV.js +347 -0
  8. package/dist/Attr-BSvQn17t.js +411 -0
  9. package/dist/Attr-BUi4qTa1.js +257 -0
  10. package/dist/Attr-BYTYcvxt.js +435 -0
  11. package/dist/Attr-Bd_KJyxw.js +144 -0
  12. package/dist/Attr-BlEZH7i5.js +206 -0
  13. package/dist/Attr-BzqtLYFT.js +83 -0
  14. package/dist/Attr-C-1cDzAO.js +444 -0
  15. package/dist/Attr-CGmxDUiy.js +287 -0
  16. package/dist/Attr-CMLRxsB2.js +58 -0
  17. package/dist/Attr-CdlKmBzx.js +440 -0
  18. package/dist/Attr-Ch7a_SzC.js +284 -0
  19. package/dist/Attr-CsGMFQbV.js +429 -0
  20. package/dist/Attr-CwBX8Ixx.js +469 -0
  21. package/dist/Attr-CxqxzwQc.js +83 -0
  22. package/dist/Attr-D3B0BZze.js +308 -0
  23. package/dist/Attr-DC81_k2o.js +419 -0
  24. package/dist/Attr-DCo4QQ6l.js +300 -0
  25. package/dist/Attr-DG-ZsTFh.js +284 -0
  26. package/dist/Attr-DTQie-tN.js +317 -0
  27. package/dist/Attr-DU8CYIuB.js +143 -0
  28. package/dist/Attr-DXBKgc-D.js +240 -0
  29. package/dist/Attr-DZjrJBsB.js +133 -0
  30. package/dist/Attr-DeYdKMTp.js +212 -0
  31. package/dist/Attr-DqZehffz.js +390 -0
  32. package/dist/Attr-DyPnTU_-.js +192 -0
  33. package/dist/Attr-Puy692v9.js +35 -0
  34. package/dist/Attr-QInC_B1l.js +220 -0
  35. package/dist/Attr-SERejxJB.js +352 -0
  36. package/dist/Attr-fHaif05A.js +336 -0
  37. package/dist/Attr-fXg38IuK.js +350 -0
  38. package/dist/Attr-zq-mrp3n.js +230 -0
  39. package/dist/CommonDialog-QF1aBScV.js +88 -0
  40. package/dist/Data-3Z8HAwsQ.js +114 -0
  41. package/dist/Data-5SkWiZJq.js +61 -0
  42. package/dist/Data-8qir1zkg.js +132 -0
  43. package/dist/Data-B-1t1lrw.js +33 -0
  44. package/dist/Data-B16GKLdS.js +28 -0
  45. package/dist/Data-B1NLEGCo.js +28 -0
  46. package/dist/Data-BHnbikUM.js +61 -0
  47. package/dist/Data-BIX1G8En.js +28 -0
  48. package/dist/Data-BIf_LVvT.js +28 -0
  49. package/dist/Data-BK0YuSm6.js +274 -0
  50. package/dist/Data-BSYecM6e.js +55 -0
  51. package/dist/Data-BieQQuAE.js +61 -0
  52. package/dist/Data-BlkRJax1.js +122 -0
  53. package/dist/Data-ByFhMXr6.js +28 -0
  54. package/dist/Data-C-hEawMb.js +61 -0
  55. package/dist/Data-C81gX-qD.js +132 -0
  56. package/dist/Data-CI4BvrsJ.js +160 -0
  57. package/dist/Data-CK4izlXC.js +28 -0
  58. package/dist/Data-CKp_qC9x.js +76 -0
  59. package/dist/Data-CXPaTnki.js +92 -0
  60. package/dist/Data-D6_XEjHE.js +28 -0
  61. package/dist/Data-DCasQYvr.js +68 -0
  62. package/dist/Data-DFrVaR7Z.js +91 -0
  63. package/dist/Data-DNl6KlmC.js +28 -0
  64. package/dist/Data-DYXfwgwx.js +58 -0
  65. package/dist/Data-Daq2k2Ay.js +91 -0
  66. package/dist/Data-Dm8096ND.js +132 -0
  67. package/dist/Data-Dv9sBHPV.js +20 -0
  68. package/dist/Data-DxzFcXWX.js +73 -0
  69. package/dist/Data-I3pQ4LFc.js +73 -0
  70. package/dist/Data-IsmvG2dc.js +62 -0
  71. package/dist/Data-Mm8YIWYs.js +83 -0
  72. package/dist/Data-Yzqs7Kl-.js +28 -0
  73. package/dist/Data-hM43y-W1.js +272 -0
  74. package/dist/Data-oKzG4eiW.js +61 -0
  75. package/dist/Data-suoeP6V2.js +115 -0
  76. package/dist/Data-wlTKE3sJ.js +61 -0
  77. package/dist/ElementIconDialog-DpPWksjB.js +8699 -0
  78. package/dist/ItemEditorDialog-ndgNCmLn.js +215 -0
  79. package/dist/ShortCutsItemEditorDialog-zbAyBYdn.js +288 -0
  80. package/dist/_plugin-vue_export-helper-Bos-KsiI.js +6535 -0
  81. package/dist/common-D8VQk1vN.js +882 -0
  82. package/dist/constant-CU9c_PNt.js +289 -0
  83. package/dist/hfl-comp-editor.es.js +63 -0
  84. package/dist/hfl-comp-editor.umd.js +73 -0
  85. package/dist/vite.svg +1 -0
  86. package/package.json +45 -0
@@ -0,0 +1,220 @@
1
+ import { p as x, b as U, c as C, f as F, e as W } from "./constant-CU9c_PNt.js";
2
+ import { _ as w, g as S } from "./_plugin-vue_export-helper-Bos-KsiI.js";
3
+ import { resolveComponent as p, createElementBlock as i, openBlock as t, createVNode as r, withCtx as a, createTextVNode as u, createBlock as m, createCommentVNode as V, Fragment as _, renderList as b } from "vue";
4
+ const E = {
5
+ __name: "Attr",
6
+ props: ["pageId", "formSize"],
7
+ setup(g, { expose: o }) {
8
+ o();
9
+ const c = g, e = S(c.pageId), v = computed(() => e.curComponent), A = computed(() => v.value.propValue || {}), d = { props: c, editorStore: e, curComponent: v, propValue: A, get elementSizeArr() {
10
+ return W;
11
+ }, get fontFamilyArr() {
12
+ return F;
13
+ }, get fontStyleArr() {
14
+ return C;
15
+ }, get fontWeightArr() {
16
+ return U;
17
+ }, get predefine() {
18
+ return x;
19
+ }, get useEditorStore() {
20
+ return S;
21
+ } };
22
+ return Object.defineProperty(d, "__isScriptSetup", { enumerable: !1, value: !0 }), d;
23
+ }
24
+ };
25
+ function I(g, o, c, e, v, A) {
26
+ const d = p("el-switch"), n = p("el-form-item"), y = p("el-input-number"), f = p("el-option"), s = p("el-select"), z = p("el-form"), k = p("VECommonAttr");
27
+ return t(), i("div", { class: "attr-list" }, [
28
+ r(k, {
29
+ "page-id": e.props.pageId,
30
+ "form-size": e.props.formSize
31
+ }, {
32
+ default: a(() => [
33
+ r(z, {
34
+ size: e.props.formSize,
35
+ "label-width": "100px",
36
+ "label-position": "left",
37
+ style: { padding: "10px" }
38
+ }, {
39
+ default: a(() => [
40
+ r(n, { label: "禁用" }, {
41
+ default: a(() => [
42
+ r(d, {
43
+ modelValue: e.propValue.disabled,
44
+ "onUpdate:modelValue": o[0] || (o[0] = (l) => e.propValue.disabled = l)
45
+ }, null, 8, ["modelValue"])
46
+ ]),
47
+ _: 1
48
+ }),
49
+ u(),
50
+ r(n, { label: "边框" }, {
51
+ default: a(() => [
52
+ r(d, {
53
+ modelValue: e.propValue.border,
54
+ "onUpdate:modelValue": o[1] || (o[1] = (l) => e.propValue.border = l)
55
+ }, null, 8, ["modelValue"])
56
+ ]),
57
+ _: 1
58
+ }),
59
+ u(),
60
+ r(n, { label: "最小数量" }, {
61
+ default: a(() => [
62
+ r(y, {
63
+ modelValue: e.propValue.min,
64
+ "onUpdate:modelValue": o[2] || (o[2] = (l) => e.propValue.min = l),
65
+ precision: 0,
66
+ step: 1,
67
+ min: 0
68
+ }, null, 8, ["modelValue"])
69
+ ]),
70
+ _: 1
71
+ }),
72
+ u(),
73
+ r(n, { label: "最大数量" }, {
74
+ default: a(() => [
75
+ r(y, {
76
+ modelValue: e.propValue.max,
77
+ "onUpdate:modelValue": o[3] || (o[3] = (l) => e.propValue.max = l),
78
+ precision: 0,
79
+ step: 1,
80
+ min: 1
81
+ }, null, 8, ["modelValue"])
82
+ ]),
83
+ _: 1
84
+ }),
85
+ u(),
86
+ r(n, { label: "自定义" }, {
87
+ default: a(() => [
88
+ r(d, {
89
+ modelValue: e.propValue.custom,
90
+ "onUpdate:modelValue": o[4] || (o[4] = (l) => e.propValue.custom = l)
91
+ }, null, 8, ["modelValue"])
92
+ ]),
93
+ _: 1
94
+ }),
95
+ u(),
96
+ e.propValue.custom ? V("", !0) : (t(), m(n, {
97
+ key: 0,
98
+ label: "大小"
99
+ }, {
100
+ default: a(() => [
101
+ r(s, {
102
+ modelValue: e.propValue.size,
103
+ "onUpdate:modelValue": o[5] || (o[5] = (l) => e.propValue.size = l),
104
+ placeholder: "请选择",
105
+ class: "common-item"
106
+ }, {
107
+ default: a(() => [
108
+ (t(!0), i(_, null, b(e.elementSizeArr, (l) => (t(), m(f, {
109
+ key: l.value,
110
+ label: l.label,
111
+ value: l.value
112
+ }, null, 8, ["label", "value"]))), 128))
113
+ ]),
114
+ _: 1
115
+ }, 8, ["modelValue"])
116
+ ]),
117
+ _: 1
118
+ })),
119
+ u(),
120
+ e.propValue.custom ? (t(), m(n, {
121
+ key: 1,
122
+ label: "字体大小"
123
+ }, {
124
+ default: a(() => [
125
+ r(y, {
126
+ modelValue: e.propValue.fontSize,
127
+ "onUpdate:modelValue": o[6] || (o[6] = (l) => e.propValue.fontSize = l),
128
+ precision: 0,
129
+ min: 2,
130
+ max: 500,
131
+ type: "text",
132
+ class: "common-item"
133
+ }, null, 8, ["modelValue"])
134
+ ]),
135
+ _: 1
136
+ })) : V("", !0),
137
+ u(),
138
+ e.propValue.custom ? (t(), m(n, {
139
+ key: 2,
140
+ label: "字体粗细"
141
+ }, {
142
+ default: a(() => [
143
+ r(s, {
144
+ modelValue: e.propValue.fontWeight,
145
+ "onUpdate:modelValue": o[7] || (o[7] = (l) => e.propValue.fontWeight = l),
146
+ placeholder: "请选择",
147
+ class: "common-item"
148
+ }, {
149
+ default: a(() => [
150
+ (t(!0), i(_, null, b(e.fontWeightArr, (l) => (t(), m(f, {
151
+ key: l.value,
152
+ label: l.label,
153
+ value: l.value
154
+ }, null, 8, ["label", "value"]))), 128))
155
+ ]),
156
+ _: 1
157
+ }, 8, ["modelValue"])
158
+ ]),
159
+ _: 1
160
+ })) : V("", !0),
161
+ u(),
162
+ e.propValue.custom ? (t(), m(n, {
163
+ key: 3,
164
+ label: "字体"
165
+ }, {
166
+ default: a(() => [
167
+ r(s, {
168
+ modelValue: e.propValue.fontFamily,
169
+ "onUpdate:modelValue": o[8] || (o[8] = (l) => e.propValue.fontFamily = l),
170
+ placeholder: "请选择",
171
+ class: "common-item"
172
+ }, {
173
+ default: a(() => [
174
+ (t(!0), i(_, null, b(e.fontFamilyArr, (l) => (t(), m(f, {
175
+ key: l.value,
176
+ label: l.label,
177
+ value: l.value
178
+ }, null, 8, ["label", "value"]))), 128))
179
+ ]),
180
+ _: 1
181
+ }, 8, ["modelValue"])
182
+ ]),
183
+ _: 1
184
+ })) : V("", !0),
185
+ u(),
186
+ e.propValue.custom ? (t(), m(n, {
187
+ key: 4,
188
+ label: "字体样式"
189
+ }, {
190
+ default: a(() => [
191
+ r(s, {
192
+ modelValue: e.propValue.fontStyle,
193
+ "onUpdate:modelValue": o[9] || (o[9] = (l) => e.propValue.fontStyle = l),
194
+ placeholder: "请选择",
195
+ class: "common-item"
196
+ }, {
197
+ default: a(() => [
198
+ (t(!0), i(_, null, b(e.fontStyleArr, (l) => (t(), m(f, {
199
+ key: l.value,
200
+ label: l.label,
201
+ value: l.value
202
+ }, null, 8, ["label", "value"]))), 128))
203
+ ]),
204
+ _: 1
205
+ }, 8, ["modelValue"])
206
+ ]),
207
+ _: 1
208
+ })) : V("", !0)
209
+ ]),
210
+ _: 1
211
+ }, 8, ["size"])
212
+ ]),
213
+ _: 1
214
+ }, 8, ["page-id", "form-size"])
215
+ ]);
216
+ }
217
+ const j = /* @__PURE__ */ w(E, [["render", I], ["__scopeId", "data-v-4216a3e7"], ["__file", "Attr.vue"]]);
218
+ export {
219
+ j as default
220
+ };
@@ -0,0 +1,352 @@
1
+ import { _ as z, g as A } from "./_plugin-vue_export-helper-Bos-KsiI.js";
2
+ import { h as S, f as w, p as W, b as F } from "./constant-CU9c_PNt.js";
3
+ import { resolveComponent as d, createElementBlock as c, openBlock as p, createVNode as n, withCtx as r, createTextVNode as a, createBlock as u, createCommentVNode as i, Fragment as b, renderList as x } from "vue";
4
+ const O = {
5
+ __name: "Attr",
6
+ props: ["pageId", "formSize"],
7
+ setup(g, { expose: l }) {
8
+ l();
9
+ const f = g, e = A(f.pageId), s = computed(() => e.curComponent), k = computed(() => s.value.propValue || {}), V = { props: f, editorStore: e, curComponent: s, propValue: k, get useEditorStore() {
10
+ return A;
11
+ }, get fontWeightArr() {
12
+ return F;
13
+ }, get predefine() {
14
+ return W;
15
+ }, get fontFamilyArr() {
16
+ return w;
17
+ }, get horizontalAlignArr() {
18
+ return S;
19
+ } };
20
+ return Object.defineProperty(V, "__isScriptSetup", { enumerable: !1, value: !0 }), V;
21
+ }
22
+ };
23
+ function T(g, l, f, e, s, k) {
24
+ const V = d("el-input"), t = d("el-form-item"), v = d("el-switch"), m = d("el-input-number"), C = d("el-color-picker"), y = d("el-option"), _ = d("el-select"), U = d("el-form"), B = d("VECommonAttr");
25
+ return p(), c("div", { class: "attr-list" }, [
26
+ n(B, {
27
+ "page-id": e.props.pageId
28
+ }, {
29
+ default: r(() => [
30
+ n(U, {
31
+ size: e.props.formSize,
32
+ "label-width": "100px",
33
+ "label-position": "left",
34
+ style: { padding: "10px" }
35
+ }, {
36
+ default: r(() => [
37
+ n(t, { label: "内容" }, {
38
+ default: r(() => [
39
+ n(V, {
40
+ modelValue: e.curComponent.propValue.text,
41
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => e.curComponent.propValue.text = o),
42
+ type: "text",
43
+ class: "common-item"
44
+ }, null, 8, ["modelValue"])
45
+ ]),
46
+ _: 1
47
+ }),
48
+ a(),
49
+ n(t, { label: "垂直文本" }, {
50
+ default: r(() => [
51
+ n(v, {
52
+ modelValue: e.curComponent.propValue.verticalText,
53
+ "onUpdate:modelValue": l[1] || (l[1] = (o) => e.curComponent.propValue.verticalText = o)
54
+ }, null, 8, ["modelValue"])
55
+ ]),
56
+ _: 1
57
+ }),
58
+ a(),
59
+ e.curComponent.propValue.verticalText ? (p(), u(t, {
60
+ key: 0,
61
+ label: "x方向平移"
62
+ }, {
63
+ default: r(() => [
64
+ n(m, {
65
+ modelValue: e.curComponent.propValue.translateX,
66
+ "onUpdate:modelValue": l[2] || (l[2] = (o) => e.curComponent.propValue.translateX = o),
67
+ precision: 0,
68
+ step: 1,
69
+ type: "text",
70
+ class: "common-item"
71
+ }, null, 8, ["modelValue"])
72
+ ]),
73
+ _: 1
74
+ })) : i("", !0),
75
+ a(),
76
+ e.curComponent.propValue.verticalText ? (p(), u(t, {
77
+ key: 1,
78
+ label: "y方向平移"
79
+ }, {
80
+ default: r(() => [
81
+ n(m, {
82
+ modelValue: e.curComponent.propValue.translateY,
83
+ "onUpdate:modelValue": l[3] || (l[3] = (o) => e.curComponent.propValue.translateY = o),
84
+ precision: 0,
85
+ step: 1,
86
+ type: "text",
87
+ class: "common-item"
88
+ }, null, 8, ["modelValue"])
89
+ ]),
90
+ _: 1
91
+ })) : i("", !0),
92
+ a(),
93
+ n(t, { label: "横向位移字符" }, {
94
+ default: r(() => [
95
+ n(V, {
96
+ modelValue: e.curComponent.propValue.dx,
97
+ "onUpdate:modelValue": l[4] || (l[4] = (o) => e.curComponent.propValue.dx = o),
98
+ type: "text",
99
+ class: "common-item"
100
+ }, null, 8, ["modelValue"])
101
+ ]),
102
+ _: 1
103
+ }),
104
+ a(),
105
+ n(t, { label: "x方向偏移量" }, {
106
+ default: r(() => [
107
+ n(m, {
108
+ modelValue: e.curComponent.propValue.offsetX,
109
+ "onUpdate:modelValue": l[5] || (l[5] = (o) => e.curComponent.propValue.offsetX = o),
110
+ precision: 0,
111
+ step: 1,
112
+ min: 0,
113
+ type: "text",
114
+ class: "common-item"
115
+ }, null, 8, ["modelValue"])
116
+ ]),
117
+ _: 1
118
+ }),
119
+ a(),
120
+ n(t, { label: "边框背景" }, {
121
+ default: r(() => [
122
+ n(v, {
123
+ modelValue: e.curComponent.propValue.hasBackground,
124
+ "onUpdate:modelValue": l[6] || (l[6] = (o) => e.curComponent.propValue.hasBackground = o)
125
+ }, null, 8, ["modelValue"])
126
+ ]),
127
+ _: 1
128
+ }),
129
+ a(),
130
+ e.curComponent.propValue.hasBackground ? (p(), u(t, {
131
+ key: 2,
132
+ label: "边框宽度"
133
+ }, {
134
+ default: r(() => [
135
+ n(m, {
136
+ modelValue: e.curComponent.propValue.strokeWidth,
137
+ "onUpdate:modelValue": l[7] || (l[7] = (o) => e.curComponent.propValue.strokeWidth = o),
138
+ precision: 0,
139
+ min: 1,
140
+ max: 10,
141
+ type: "text",
142
+ class: "common-item"
143
+ }, null, 8, ["modelValue"])
144
+ ]),
145
+ _: 1
146
+ })) : i("", !0),
147
+ a(),
148
+ e.curComponent.propValue.hasBackground ? (p(), u(t, {
149
+ key: 3,
150
+ label: "边框圆角RX"
151
+ }, {
152
+ default: r(() => [
153
+ n(m, {
154
+ modelValue: e.curComponent.propValue.rx,
155
+ "onUpdate:modelValue": l[8] || (l[8] = (o) => e.curComponent.propValue.rx = o),
156
+ precision: 0,
157
+ min: 0,
158
+ step: 1,
159
+ type: "text",
160
+ class: "common-item"
161
+ }, null, 8, ["modelValue"])
162
+ ]),
163
+ _: 1
164
+ })) : i("", !0),
165
+ a(),
166
+ e.curComponent.propValue.hasBackground ? (p(), u(t, {
167
+ key: 4,
168
+ label: "边框圆角RY"
169
+ }, {
170
+ default: r(() => [
171
+ n(m, {
172
+ modelValue: e.curComponent.propValue.ry,
173
+ "onUpdate:modelValue": l[9] || (l[9] = (o) => e.curComponent.propValue.ry = o),
174
+ precision: 0,
175
+ min: 0,
176
+ step: 1,
177
+ type: "text",
178
+ class: "common-item"
179
+ }, null, 8, ["modelValue"])
180
+ ]),
181
+ _: 1
182
+ })) : i("", !0),
183
+ a(),
184
+ e.curComponent.propValue.hasBackground ? (p(), u(t, {
185
+ key: 5,
186
+ label: "边框颜色"
187
+ }, {
188
+ default: r(() => [
189
+ n(C, {
190
+ modelValue: e.curComponent.propValue.strokeColor,
191
+ "onUpdate:modelValue": l[10] || (l[10] = (o) => e.curComponent.propValue.strokeColor = o),
192
+ "show-alpha": "",
193
+ predefine: e.predefine
194
+ }, null, 8, ["modelValue", "predefine"])
195
+ ]),
196
+ _: 1
197
+ })) : i("", !0),
198
+ a(),
199
+ e.curComponent.propValue.hasBackground ? (p(), u(t, {
200
+ key: 6,
201
+ label: "笔触透明度"
202
+ }, {
203
+ default: r(() => [
204
+ n(m, {
205
+ modelValue: e.curComponent.propValue.strokeOpacity,
206
+ "onUpdate:modelValue": l[11] || (l[11] = (o) => e.curComponent.propValue.strokeOpacity = o),
207
+ precision: 1,
208
+ min: 0,
209
+ step: 0.1,
210
+ max: 1,
211
+ type: "text",
212
+ class: "common-item"
213
+ }, null, 8, ["modelValue"])
214
+ ]),
215
+ _: 1
216
+ })) : i("", !0),
217
+ a(),
218
+ e.curComponent.propValue.hasBackground ? (p(), u(t, {
219
+ key: 7,
220
+ label: "背景颜色"
221
+ }, {
222
+ default: r(() => [
223
+ n(C, {
224
+ modelValue: e.curComponent.propValue.fillColor,
225
+ "onUpdate:modelValue": l[12] || (l[12] = (o) => e.curComponent.propValue.fillColor = o),
226
+ "show-alpha": "",
227
+ predefine: e.predefine
228
+ }, null, 8, ["modelValue", "predefine"])
229
+ ]),
230
+ _: 1
231
+ })) : i("", !0),
232
+ a(),
233
+ e.curComponent.propValue.hasBackground ? (p(), u(t, {
234
+ key: 8,
235
+ label: "填充透明度"
236
+ }, {
237
+ default: r(() => [
238
+ n(m, {
239
+ modelValue: e.curComponent.propValue.fillOpacity,
240
+ "onUpdate:modelValue": l[13] || (l[13] = (o) => e.curComponent.propValue.fillOpacity = o),
241
+ precision: 1,
242
+ min: 0,
243
+ step: 0.1,
244
+ max: 1,
245
+ type: "text",
246
+ class: "common-item"
247
+ }, null, 8, ["modelValue"])
248
+ ]),
249
+ _: 1
250
+ })) : i("", !0),
251
+ a(),
252
+ n(t, { label: "字体颜色" }, {
253
+ default: r(() => [
254
+ n(C, {
255
+ modelValue: e.curComponent.propValue.fontColor,
256
+ "onUpdate:modelValue": l[14] || (l[14] = (o) => e.curComponent.propValue.fontColor = o),
257
+ "show-alpha": "",
258
+ predefine: e.predefine
259
+ }, null, 8, ["modelValue", "predefine"])
260
+ ]),
261
+ _: 1
262
+ }),
263
+ a(),
264
+ n(t, { label: "字体大小" }, {
265
+ default: r(() => [
266
+ n(m, {
267
+ modelValue: e.curComponent.propValue.fontSize,
268
+ "onUpdate:modelValue": l[15] || (l[15] = (o) => e.curComponent.propValue.fontSize = o),
269
+ precision: 0,
270
+ min: 2,
271
+ step: 1,
272
+ type: "text",
273
+ class: "common-item"
274
+ }, null, 8, ["modelValue"])
275
+ ]),
276
+ _: 1
277
+ }),
278
+ a(),
279
+ n(t, { label: "字体粗细" }, {
280
+ default: r(() => [
281
+ n(_, {
282
+ modelValue: e.curComponent.propValue.fontWeight,
283
+ "onUpdate:modelValue": l[16] || (l[16] = (o) => e.curComponent.propValue.fontWeight = o),
284
+ placeholder: "请选择",
285
+ class: "common-item"
286
+ }, {
287
+ default: r(() => [
288
+ (p(!0), c(b, null, x(e.fontWeightArr, (o) => (p(), u(y, {
289
+ key: o.value,
290
+ label: o.label,
291
+ value: o.value
292
+ }, null, 8, ["label", "value"]))), 128))
293
+ ]),
294
+ _: 1
295
+ }, 8, ["modelValue"])
296
+ ]),
297
+ _: 1
298
+ }),
299
+ a(),
300
+ n(t, { label: "字体" }, {
301
+ default: r(() => [
302
+ n(_, {
303
+ modelValue: e.curComponent.propValue.fontFamily,
304
+ "onUpdate:modelValue": l[17] || (l[17] = (o) => e.curComponent.propValue.fontFamily = o),
305
+ placeholder: "请选择",
306
+ class: "common-item"
307
+ }, {
308
+ default: r(() => [
309
+ (p(!0), c(b, null, x(e.fontFamilyArr, (o) => (p(), u(y, {
310
+ key: o.value,
311
+ label: o.label,
312
+ value: o.value
313
+ }, null, 8, ["label", "value"]))), 128))
314
+ ]),
315
+ _: 1
316
+ }, 8, ["modelValue"])
317
+ ]),
318
+ _: 1
319
+ }),
320
+ a(),
321
+ n(t, { label: "水平对齐" }, {
322
+ default: r(() => [
323
+ n(_, {
324
+ modelValue: e.curComponent.propValue.horizontalAlign,
325
+ "onUpdate:modelValue": l[18] || (l[18] = (o) => e.curComponent.propValue.horizontalAlign = o),
326
+ placeholder: "请选择",
327
+ class: "common-item"
328
+ }, {
329
+ default: r(() => [
330
+ (p(!0), c(b, null, x(e.horizontalAlignArr, (o) => (p(), u(y, {
331
+ key: o.value,
332
+ label: o.label,
333
+ value: o.value
334
+ }, null, 8, ["label", "value"]))), 128))
335
+ ]),
336
+ _: 1
337
+ }, 8, ["modelValue"])
338
+ ]),
339
+ _: 1
340
+ })
341
+ ]),
342
+ _: 1
343
+ }, 8, ["size"])
344
+ ]),
345
+ _: 1
346
+ }, 8, ["page-id"])
347
+ ]);
348
+ }
349
+ const N = /* @__PURE__ */ z(O, [["render", T], ["__scopeId", "data-v-c8a8f413"], ["__file", "Attr.vue"]]);
350
+ export {
351
+ N as default
352
+ };