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,305 @@
1
+ import { _ as z, g as k } from "./_plugin-vue_export-helper-Bos-KsiI.js";
2
+ import { c as T, f as C, b as w, e as F } from "./constant-CU9c_PNt.js";
3
+ import { resolveComponent as V, createElementBlock as f, openBlock as r, createVNode as a, withCtx as t, createTextVNode as n, createBlock as p, createCommentVNode as m, Fragment as _, renderList as y } from "vue";
4
+ const W = {
5
+ __name: "Attr",
6
+ props: ["pageId", "formSize"],
7
+ setup(v, { expose: o }) {
8
+ o();
9
+ const c = v, l = k(c.pageId), g = computed(() => l.curComponent), A = computed(() => g.value.propValue || {}), i = { props: c, editorStore: l, curComponent: g, propValue: A, get useEditorStore() {
10
+ return k;
11
+ }, get elementSizeArr() {
12
+ return F;
13
+ }, get fontWeightArr() {
14
+ return w;
15
+ }, get fontFamilyArr() {
16
+ return C;
17
+ }, get fontStyleArr() {
18
+ return T;
19
+ } };
20
+ return Object.defineProperty(i, "__isScriptSetup", { enumerable: !1, value: !0 }), i;
21
+ }
22
+ };
23
+ function E(v, o, c, l, g, A) {
24
+ const i = V("el-input"), u = V("el-form-item"), d = V("el-switch"), S = V("el-input-number"), s = V("el-option"), b = V("el-select"), x = V("el-form"), U = V("VECommonAttr");
25
+ return r(), f("div", { class: "attr-list" }, [
26
+ a(U, {
27
+ "page-id": l.props.pageId,
28
+ "form-size": l.props.formSize
29
+ }, {
30
+ default: t(() => [
31
+ a(x, {
32
+ size: l.props.formSize,
33
+ "label-width": "100px",
34
+ "label-position": "left",
35
+ style: { padding: "10px" }
36
+ }, {
37
+ default: t(() => [
38
+ a(u, { label: "占位符" }, {
39
+ default: t(() => [
40
+ a(i, {
41
+ modelValue: l.propValue.placeholder,
42
+ "onUpdate:modelValue": o[0] || (o[0] = (e) => l.propValue.placeholder = e),
43
+ type: "text",
44
+ class: "common-item"
45
+ }, null, 8, ["modelValue"])
46
+ ]),
47
+ _: 1
48
+ }),
49
+ n(),
50
+ a(u, { label: "多选" }, {
51
+ default: t(() => [
52
+ a(d, {
53
+ modelValue: l.propValue.multiple,
54
+ "onUpdate:modelValue": o[1] || (o[1] = (e) => l.propValue.multiple = e)
55
+ }, null, 8, ["modelValue"])
56
+ ]),
57
+ _: 1
58
+ }),
59
+ n(),
60
+ a(u, { label: "禁用" }, {
61
+ default: t(() => [
62
+ a(d, {
63
+ modelValue: l.propValue.disabled,
64
+ "onUpdate:modelValue": o[2] || (o[2] = (e) => l.propValue.disabled = e)
65
+ }, null, 8, ["modelValue"])
66
+ ]),
67
+ _: 1
68
+ }),
69
+ n(),
70
+ a(u, {
71
+ label: "清空选项",
72
+ title: "是否可以清空选项"
73
+ }, {
74
+ default: t(() => [
75
+ a(d, {
76
+ modelValue: l.propValue.clearable,
77
+ "onUpdate:modelValue": o[3] || (o[3] = (e) => l.propValue.clearable = e)
78
+ }, null, 8, ["modelValue"])
79
+ ]),
80
+ _: 1
81
+ }),
82
+ n(),
83
+ a(u, {
84
+ label: "可筛选",
85
+ title: "组件是否可筛选"
86
+ }, {
87
+ default: t(() => [
88
+ a(d, {
89
+ modelValue: l.propValue.filterable,
90
+ "onUpdate:modelValue": o[4] || (o[4] = (e) => l.propValue.filterable = e)
91
+ }, null, 8, ["modelValue"])
92
+ ]),
93
+ _: 1
94
+ }),
95
+ n(),
96
+ l.propValue.filterable ? (r(), p(u, {
97
+ key: 0,
98
+ label: "创建新条目",
99
+ title: "是否允许用户创建新条目"
100
+ }, {
101
+ default: t(() => [
102
+ a(d, {
103
+ modelValue: l.propValue.allowCreate,
104
+ "onUpdate:modelValue": o[5] || (o[5] = (e) => l.propValue.allowCreate = e)
105
+ }, null, 8, ["modelValue"])
106
+ ]),
107
+ _: 1
108
+ })) : m("", !0),
109
+ n(),
110
+ a(u, {
111
+ label: "无选项时显示",
112
+ title: "无选项时显示的文字"
113
+ }, {
114
+ default: t(() => [
115
+ a(i, {
116
+ modelValue: l.propValue.noDataText,
117
+ "onUpdate:modelValue": o[6] || (o[6] = (e) => l.propValue.noDataText = e),
118
+ type: "text",
119
+ class: "common-item"
120
+ }, null, 8, ["modelValue"])
121
+ ]),
122
+ _: 1
123
+ }),
124
+ n(),
125
+ l.propValue.multiple ? (r(), p(u, {
126
+ key: 1,
127
+ label: "折叠标签",
128
+ title: "多选时是否将选中值按文字的形式展示"
129
+ }, {
130
+ default: t(() => [
131
+ a(d, {
132
+ modelValue: l.propValue.collapseTags,
133
+ "onUpdate:modelValue": o[7] || (o[7] = (e) => l.propValue.collapseTags = e)
134
+ }, null, 8, ["modelValue"])
135
+ ]),
136
+ _: 1
137
+ })) : m("", !0),
138
+ n(),
139
+ l.propValue.multiple && l.propValue.collapseTags ? (r(), p(u, {
140
+ key: 2,
141
+ label: "折叠提示",
142
+ title: "当鼠标悬停于折叠标签的文本时,是否显示所有选中的标签"
143
+ }, {
144
+ default: t(() => [
145
+ a(d, {
146
+ modelValue: l.propValue.collapseTagsTooltip,
147
+ "onUpdate:modelValue": o[8] || (o[8] = (e) => l.propValue.collapseTagsTooltip = e)
148
+ }, null, 8, ["modelValue"])
149
+ ]),
150
+ _: 1
151
+ })) : m("", !0),
152
+ n(),
153
+ l.propValue.multiple ? (r(), p(u, {
154
+ key: 3,
155
+ label: "多选限制",
156
+ title: "代表多选场景下用户最多可以选择的项目数, 为0则不限制"
157
+ }, {
158
+ default: t(() => [
159
+ a(S, {
160
+ modelValue: l.propValue.multipleLimit,
161
+ "onUpdate:modelValue": o[9] || (o[9] = (e) => l.propValue.multipleLimit = e),
162
+ class: "common-item",
163
+ precision: 0,
164
+ step: 1,
165
+ min: 0
166
+ }, null, 8, ["modelValue"])
167
+ ]),
168
+ _: 1
169
+ })) : m("", !0),
170
+ n(),
171
+ a(u, { label: "自定义" }, {
172
+ default: t(() => [
173
+ a(d, {
174
+ modelValue: l.propValue.custom,
175
+ "onUpdate:modelValue": o[10] || (o[10] = (e) => l.propValue.custom = e)
176
+ }, null, 8, ["modelValue"])
177
+ ]),
178
+ _: 1
179
+ }),
180
+ n(),
181
+ l.propValue.custom ? m("", !0) : (r(), p(u, {
182
+ key: 4,
183
+ label: "大小"
184
+ }, {
185
+ default: t(() => [
186
+ a(b, {
187
+ modelValue: l.propValue.size,
188
+ "onUpdate:modelValue": o[11] || (o[11] = (e) => l.propValue.size = e),
189
+ placeholder: "请选择",
190
+ class: "common-item"
191
+ }, {
192
+ default: t(() => [
193
+ (r(!0), f(_, null, y(l.elementSizeArr, (e) => (r(), p(s, {
194
+ key: e.value,
195
+ label: e.label,
196
+ value: e.value
197
+ }, null, 8, ["label", "value"]))), 128))
198
+ ]),
199
+ _: 1
200
+ }, 8, ["modelValue"])
201
+ ]),
202
+ _: 1
203
+ })),
204
+ n(),
205
+ l.propValue.custom ? (r(), p(u, {
206
+ key: 5,
207
+ label: "字体大小"
208
+ }, {
209
+ default: t(() => [
210
+ a(S, {
211
+ modelValue: l.propValue.fontSize,
212
+ "onUpdate:modelValue": o[12] || (o[12] = (e) => l.propValue.fontSize = e),
213
+ precision: 0,
214
+ min: 2,
215
+ max: 500,
216
+ type: "text",
217
+ class: "common-item"
218
+ }, null, 8, ["modelValue"])
219
+ ]),
220
+ _: 1
221
+ })) : m("", !0),
222
+ n(),
223
+ l.propValue.custom ? (r(), p(u, {
224
+ key: 6,
225
+ label: "字体粗细"
226
+ }, {
227
+ default: t(() => [
228
+ a(b, {
229
+ modelValue: l.propValue.fontWeight,
230
+ "onUpdate:modelValue": o[13] || (o[13] = (e) => l.propValue.fontWeight = e),
231
+ placeholder: "请选择",
232
+ class: "common-item"
233
+ }, {
234
+ default: t(() => [
235
+ (r(!0), f(_, null, y(l.fontWeightArr, (e) => (r(), p(s, {
236
+ key: e.value,
237
+ label: e.label,
238
+ value: e.value
239
+ }, null, 8, ["label", "value"]))), 128))
240
+ ]),
241
+ _: 1
242
+ }, 8, ["modelValue"])
243
+ ]),
244
+ _: 1
245
+ })) : m("", !0),
246
+ n(),
247
+ l.propValue.custom ? (r(), p(u, {
248
+ key: 7,
249
+ label: "字体"
250
+ }, {
251
+ default: t(() => [
252
+ a(b, {
253
+ modelValue: l.propValue.fontFamily,
254
+ "onUpdate:modelValue": o[14] || (o[14] = (e) => l.propValue.fontFamily = e),
255
+ placeholder: "请选择",
256
+ class: "common-item"
257
+ }, {
258
+ default: t(() => [
259
+ (r(!0), f(_, null, y(l.fontFamilyArr, (e) => (r(), p(s, {
260
+ key: e.value,
261
+ label: e.label,
262
+ value: e.value
263
+ }, null, 8, ["label", "value"]))), 128))
264
+ ]),
265
+ _: 1
266
+ }, 8, ["modelValue"])
267
+ ]),
268
+ _: 1
269
+ })) : m("", !0),
270
+ n(),
271
+ l.propValue.custom ? (r(), p(u, {
272
+ key: 8,
273
+ label: "字体样式"
274
+ }, {
275
+ default: t(() => [
276
+ a(b, {
277
+ modelValue: l.propValue.fontStyle,
278
+ "onUpdate:modelValue": o[15] || (o[15] = (e) => l.propValue.fontStyle = e),
279
+ placeholder: "请选择",
280
+ class: "common-item"
281
+ }, {
282
+ default: t(() => [
283
+ (r(!0), f(_, null, y(l.fontStyleArr, (e) => (r(), p(s, {
284
+ key: e.value,
285
+ label: e.label,
286
+ value: e.value
287
+ }, null, 8, ["label", "value"]))), 128))
288
+ ]),
289
+ _: 1
290
+ }, 8, ["modelValue"])
291
+ ]),
292
+ _: 1
293
+ })) : m("", !0)
294
+ ]),
295
+ _: 1
296
+ }, 8, ["size"])
297
+ ]),
298
+ _: 1
299
+ }, 8, ["page-id", "form-size"])
300
+ ]);
301
+ }
302
+ const N = /* @__PURE__ */ z(W, [["render", E], ["__scopeId", "data-v-d2916c23"], ["__file", "Attr.vue"]]);
303
+ export {
304
+ N as default
305
+ };
@@ -0,0 +1,35 @@
1
+ import { _ as l, g as s } from "./_plugin-vue_export-helper-Bos-KsiI.js";
2
+ import { resolveComponent as a, createElementBlock as i, openBlock as m, createVNode as c, withCtx as u } from "vue";
3
+ const f = {
4
+ __name: "Attr",
5
+ props: ["pageId"],
6
+ setup(r, { expose: n }) {
7
+ n();
8
+ const t = r, e = s(t.pageId), p = computed(() => e.curComponent), o = { props: t, editorStore: e, curComponent: p, get useEditorStore() {
9
+ return s;
10
+ } };
11
+ return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
12
+ }
13
+ };
14
+ function g(r, n, t, e, p, o) {
15
+ const _ = a("el-form"), d = a("VECommonAttr");
16
+ return m(), i("div", { class: "attr-list" }, [
17
+ c(d, {
18
+ "page-id": e.props.pageId
19
+ }, {
20
+ default: u(() => [
21
+ c(_, {
22
+ size: "small",
23
+ "label-width": "100px",
24
+ "label-position": "left",
25
+ style: { padding: "10px" }
26
+ })
27
+ ]),
28
+ _: 1
29
+ }, 8, ["page-id"])
30
+ ]);
31
+ }
32
+ const $ = /* @__PURE__ */ l(f, [["render", g], ["__scopeId", "data-v-ebef7214"], ["__file", "Attr.vue"]]);
33
+ export {
34
+ $ as default
35
+ };
@@ -0,0 +1,347 @@
1
+ import { p as U, b as z, c as w, f as W } from "./constant-CU9c_PNt.js";
2
+ import { _ as E, g as S } from "./_plugin-vue_export-helper-Bos-KsiI.js";
3
+ import { resolveComponent as p, createElementBlock as f, openBlock as t, createVNode as a, withCtx as r, createTextVNode as u, createBlock as d, createCommentVNode as m, Fragment as b, renderList as c } from "vue";
4
+ const F = {
5
+ __name: "Attr",
6
+ props: ["pageId", "formSize"],
7
+ setup(g, { expose: o }) {
8
+ o();
9
+ const v = g, e = S(v.pageId), _ = computed(() => e.curComponent), A = computed(() => _.value.propValue || {}), s = { props: v, editorStore: e, curComponent: _, propValue: A, directionArr: [
10
+ {
11
+ value: "horizontal",
12
+ label: "水平"
13
+ },
14
+ {
15
+ value: "vertical",
16
+ label: "垂直"
17
+ }
18
+ ], borderStyleArr: [
19
+ {
20
+ value: "none",
21
+ label: "none"
22
+ },
23
+ {
24
+ value: "hidden",
25
+ label: "hidden"
26
+ },
27
+ {
28
+ value: "dotted",
29
+ label: "点线"
30
+ },
31
+ {
32
+ value: "dashed",
33
+ label: "虚线"
34
+ },
35
+ {
36
+ value: "solid",
37
+ label: "实线"
38
+ },
39
+ {
40
+ value: "double",
41
+ label: "双实线"
42
+ },
43
+ {
44
+ value: "groove",
45
+ label: "雕刻效果"
46
+ },
47
+ {
48
+ value: "ridge",
49
+ label: "浮雕效果"
50
+ },
51
+ {
52
+ value: "inset",
53
+ label: "陷入边框"
54
+ },
55
+ {
56
+ value: "outset",
57
+ label: "突出边框"
58
+ }
59
+ ], contentPositionArr: [
60
+ {
61
+ value: "left",
62
+ label: "左"
63
+ },
64
+ {
65
+ value: "right",
66
+ label: "右"
67
+ },
68
+ {
69
+ value: "center",
70
+ label: "居中"
71
+ }
72
+ ], get fontFamilyArr() {
73
+ return W;
74
+ }, get fontStyleArr() {
75
+ return w;
76
+ }, get fontWeightArr() {
77
+ return z;
78
+ }, get predefine() {
79
+ return U;
80
+ }, get useEditorStore() {
81
+ return S;
82
+ } };
83
+ return Object.defineProperty(s, "__isScriptSetup", { enumerable: !1, value: !0 }), s;
84
+ }
85
+ };
86
+ function P(g, o, v, e, _, A) {
87
+ const i = p("el-option"), V = p("el-select"), n = p("el-form-item"), s = p("el-switch"), k = p("el-input-number"), y = p("el-color-picker"), x = p("el-form"), C = p("VECommonAttr");
88
+ return t(), f("div", { class: "attr-list" }, [
89
+ a(C, {
90
+ "page-id": e.props.pageId,
91
+ "form-size": e.props.formSize
92
+ }, {
93
+ default: r(() => [
94
+ a(x, {
95
+ size: e.props.formSize,
96
+ "label-width": "100px",
97
+ "label-position": "left",
98
+ style: { padding: "10px" }
99
+ }, {
100
+ default: r(() => [
101
+ a(n, {
102
+ label: "方向",
103
+ title: "分割线方向"
104
+ }, {
105
+ default: r(() => [
106
+ a(V, {
107
+ modelValue: e.propValue.direction,
108
+ "onUpdate:modelValue": o[0] || (o[0] = (l) => e.propValue.direction = l),
109
+ placeholder: "请选择",
110
+ class: "common-item"
111
+ }, {
112
+ default: r(() => [
113
+ (t(), f(b, null, c(e.directionArr, (l) => a(i, {
114
+ key: l.value,
115
+ label: l.label,
116
+ value: l.value
117
+ }, null, 8, ["label", "value"])), 64))
118
+ ]),
119
+ _: 1
120
+ }, 8, ["modelValue"])
121
+ ]),
122
+ _: 1
123
+ }),
124
+ u(),
125
+ a(n, {
126
+ label: "分割符样式",
127
+ title: "分割线方向"
128
+ }, {
129
+ default: r(() => [
130
+ a(V, {
131
+ modelValue: e.propValue.borderStyle,
132
+ "onUpdate:modelValue": o[1] || (o[1] = (l) => e.propValue.borderStyle = l),
133
+ placeholder: "请选择",
134
+ class: "common-item"
135
+ }, {
136
+ default: r(() => [
137
+ (t(), f(b, null, c(e.borderStyleArr, (l) => a(i, {
138
+ key: l.value,
139
+ label: l.label,
140
+ value: l.value
141
+ }, null, 8, ["label", "value"])), 64))
142
+ ]),
143
+ _: 1
144
+ }, 8, ["modelValue"])
145
+ ]),
146
+ _: 1
147
+ }),
148
+ u(),
149
+ a(n, {
150
+ label: "位置",
151
+ title: "分隔线内容的位置"
152
+ }, {
153
+ default: r(() => [
154
+ a(V, {
155
+ modelValue: e.propValue.contentPosition,
156
+ "onUpdate:modelValue": o[2] || (o[2] = (l) => e.propValue.contentPosition = l),
157
+ placeholder: "请选择",
158
+ class: "common-item"
159
+ }, {
160
+ default: r(() => [
161
+ (t(), f(b, null, c(e.contentPositionArr, (l) => a(i, {
162
+ key: l.value,
163
+ label: l.label,
164
+ value: l.value
165
+ }, null, 8, ["label", "value"])), 64))
166
+ ]),
167
+ _: 1
168
+ }, 8, ["modelValue"])
169
+ ]),
170
+ _: 1
171
+ }),
172
+ u(),
173
+ a(n, { label: "自定义" }, {
174
+ default: r(() => [
175
+ a(s, {
176
+ modelValue: e.propValue.custom,
177
+ "onUpdate:modelValue": o[3] || (o[3] = (l) => e.propValue.custom = l)
178
+ }, null, 8, ["modelValue"])
179
+ ]),
180
+ _: 1
181
+ }),
182
+ u(),
183
+ e.propValue.custom ? (t(), d(n, {
184
+ key: 0,
185
+ label: "线宽"
186
+ }, {
187
+ default: r(() => [
188
+ a(k, {
189
+ modelValue: e.propValue.borderLineWidth,
190
+ "onUpdate:modelValue": o[4] || (o[4] = (l) => e.propValue.borderLineWidth = l),
191
+ precision: 0,
192
+ min: 1,
193
+ max: 5,
194
+ step: 1,
195
+ type: "text",
196
+ class: "common-item"
197
+ }, null, 8, ["modelValue"])
198
+ ]),
199
+ _: 1
200
+ })) : m("", !0),
201
+ u(),
202
+ e.propValue.custom ? (t(), d(n, {
203
+ key: 1,
204
+ label: "线颜色"
205
+ }, {
206
+ default: r(() => [
207
+ a(y, {
208
+ modelValue: e.propValue.lineColor,
209
+ "onUpdate:modelValue": o[5] || (o[5] = (l) => e.propValue.lineColor = l),
210
+ "show-alpha": "",
211
+ predefine: e.predefine
212
+ }, null, 8, ["modelValue", "predefine"])
213
+ ]),
214
+ _: 1
215
+ })) : m("", !0),
216
+ u(),
217
+ e.propValue.custom ? (t(), d(n, {
218
+ key: 2,
219
+ label: "背景色"
220
+ }, {
221
+ default: r(() => [
222
+ a(y, {
223
+ modelValue: e.propValue.bgColor,
224
+ "onUpdate:modelValue": o[6] || (o[6] = (l) => e.propValue.bgColor = l),
225
+ "show-alpha": "",
226
+ predefine: e.predefine
227
+ }, null, 8, ["modelValue", "predefine"])
228
+ ]),
229
+ _: 1
230
+ })) : m("", !0),
231
+ u(),
232
+ e.propValue.custom ? (t(), d(n, {
233
+ key: 3,
234
+ label: "文字颜色"
235
+ }, {
236
+ default: r(() => [
237
+ a(y, {
238
+ modelValue: e.propValue.textColor,
239
+ "onUpdate:modelValue": o[7] || (o[7] = (l) => e.propValue.textColor = l),
240
+ "show-alpha": "",
241
+ predefine: e.predefine
242
+ }, null, 8, ["modelValue", "predefine"])
243
+ ]),
244
+ _: 1
245
+ })) : m("", !0),
246
+ u(),
247
+ e.propValue.custom ? (t(), d(n, {
248
+ key: 4,
249
+ label: "字体大小"
250
+ }, {
251
+ default: r(() => [
252
+ a(k, {
253
+ modelValue: e.propValue.fontSize,
254
+ "onUpdate:modelValue": o[8] || (o[8] = (l) => e.propValue.fontSize = l),
255
+ precision: 0,
256
+ min: 2,
257
+ max: 50,
258
+ type: "text",
259
+ class: "common-item"
260
+ }, null, 8, ["modelValue"])
261
+ ]),
262
+ _: 1
263
+ })) : m("", !0),
264
+ u(),
265
+ e.propValue.custom ? (t(), d(n, {
266
+ key: 5,
267
+ label: "字体粗细"
268
+ }, {
269
+ default: r(() => [
270
+ a(V, {
271
+ modelValue: e.propValue.fontWeight,
272
+ "onUpdate:modelValue": o[9] || (o[9] = (l) => e.propValue.fontWeight = l),
273
+ placeholder: "请选择",
274
+ class: "common-item"
275
+ }, {
276
+ default: r(() => [
277
+ (t(!0), f(b, null, c(e.fontWeightArr, (l) => (t(), d(i, {
278
+ key: l.value,
279
+ label: l.label,
280
+ value: l.value
281
+ }, null, 8, ["label", "value"]))), 128))
282
+ ]),
283
+ _: 1
284
+ }, 8, ["modelValue"])
285
+ ]),
286
+ _: 1
287
+ })) : m("", !0),
288
+ u(),
289
+ e.propValue.custom ? (t(), d(n, {
290
+ key: 6,
291
+ label: "字体"
292
+ }, {
293
+ default: r(() => [
294
+ a(V, {
295
+ modelValue: e.propValue.fontFamily,
296
+ "onUpdate:modelValue": o[10] || (o[10] = (l) => e.propValue.fontFamily = l),
297
+ placeholder: "请选择",
298
+ class: "common-item"
299
+ }, {
300
+ default: r(() => [
301
+ (t(!0), f(b, null, c(e.fontFamilyArr, (l) => (t(), d(i, {
302
+ key: l.value,
303
+ label: l.label,
304
+ value: l.value
305
+ }, null, 8, ["label", "value"]))), 128))
306
+ ]),
307
+ _: 1
308
+ }, 8, ["modelValue"])
309
+ ]),
310
+ _: 1
311
+ })) : m("", !0),
312
+ u(),
313
+ e.propValue.custom ? (t(), d(n, {
314
+ key: 7,
315
+ label: "字体样式"
316
+ }, {
317
+ default: r(() => [
318
+ a(V, {
319
+ modelValue: e.propValue.fontStyle,
320
+ "onUpdate:modelValue": o[11] || (o[11] = (l) => e.propValue.fontStyle = l),
321
+ placeholder: "请选择",
322
+ class: "common-item"
323
+ }, {
324
+ default: r(() => [
325
+ (t(!0), f(b, null, c(e.fontStyleArr, (l) => (t(), d(i, {
326
+ key: l.value,
327
+ label: l.label,
328
+ value: l.value
329
+ }, null, 8, ["label", "value"]))), 128))
330
+ ]),
331
+ _: 1
332
+ }, 8, ["modelValue"])
333
+ ]),
334
+ _: 1
335
+ })) : m("", !0)
336
+ ]),
337
+ _: 1
338
+ }, 8, ["size"])
339
+ ]),
340
+ _: 1
341
+ }, 8, ["page-id", "form-size"])
342
+ ]);
343
+ }
344
+ const L = /* @__PURE__ */ E(F, [["render", P], ["__scopeId", "data-v-6523dded"], ["__file", "Attr.vue"]]);
345
+ export {
346
+ L as default
347
+ };