hfl-comp-editor 0.0.4 → 0.0.5
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.
- package/dist/{Attr-BTLRlZdY.js → Attr-5U0sz9Vs.js} +1 -1
- package/dist/{Attr-D3T4J-dc.js → Attr-BQI1G0WN.js} +87 -42
- package/dist/{Attr-BZr39Ps1.js → Attr-BtYRsGoc.js} +2 -2
- package/dist/{Attr-DzUz9gmz.js → Attr-CS83lfTW.js} +1 -1
- package/dist/{Attr-V8TouSeR.js → Attr-CfxD7h6T.js} +2 -2
- package/dist/{Attr-ysSfJJXC.js → Attr-D-OTLXaH.js} +1 -1
- package/dist/{Attr-BEYuMAA-.js → Attr-D111BaI4.js} +3 -3
- package/dist/{Attr-UXQpzT4o.js → Attr-DHRDmdwm.js} +2 -2
- package/dist/{Attr-DP5lYz__.js → Attr-DZBl5dgn.js} +3 -3
- package/dist/{CommonDialog-ZbSGTSN4.js → CommonDialog-BqZ7a0MF.js} +1 -1
- package/dist/{Data-DGwcDrWm.js → Data-2sBGOL72.js} +1 -1
- package/dist/{Data-C4xCq8Ry.js → Data-BAECIqtm.js} +2 -2
- package/dist/{Data-pPYdRJ31.js → Data-BckWkmI1.js} +1 -1
- package/dist/{Data-BIO_N_5T.js → Data-BzQnN1WI.js} +1 -1
- package/dist/{Data-DBaCwa42.js → Data-CrwV-n7E.js} +2 -2
- package/dist/Data-DNsIZtkN.js +137 -0
- package/dist/{Data-g1pnr4w4.js → Data-Db5QSkVt.js} +2 -2
- package/dist/{Data-DRe1kTM1.js → Data-ZbE_pK44.js} +1 -1
- package/dist/{Data-Cp1r8Qdt.js → Data-c6zUfNPU.js} +1 -1
- package/dist/{Data-BDX7IqiW.js → Data-cMAQ97Pj.js} +1 -1
- package/dist/{Data-li_DS5oZ.js → Data-icp8WXvN.js} +1 -1
- package/dist/Data-oeB8MLTe.js +102 -0
- package/dist/{ElementIconDialog-DfliInik.js → ElementIconDialog-DZE-suVr.js} +1220 -1238
- package/dist/{ItemEditorDialog-218KVK08.js → ItemEditorDialog-CI6Zjkm_.js} +2 -2
- package/dist/{ShortCutsItemEditorDialog-CrAtpbKh.js → ShortCutsItemEditorDialog-CdMxSsFF.js} +3 -3
- package/dist/{common-CUTMyEmo.js → common-BXC2DP76.js} +221 -207
- package/dist/hfl-comp-editor.es.js +4 -4
- package/dist/hfl-comp-editor.umd.js +13 -13
- package/dist/message-CYgUGlm2.js +23 -0
- package/package.json +1 -1
- package/dist/Data-BFT2_KhT.js +0 -29
- package/dist/Data-DBVDzrtU.js +0 -92
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEditorStore as A } from "hflveditor3";
|
|
2
2
|
import { h as S, f as N, p as W, b as F } from "./constant-CU9c_PNt.js";
|
|
3
|
-
import { a as U } from "./common-
|
|
3
|
+
import { a as U } from "./common-BXC2DP76.js";
|
|
4
4
|
import { resolveComponent as d, createElementBlock as f, openBlock as u, createVNode as n, withCtx as r, createTextVNode as t, createBlock as m, createCommentVNode as V, Fragment as C, renderList as b, computed as y } from "vue";
|
|
5
5
|
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const M = {
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import { useEditorStore as U } from "hflveditor3";
|
|
2
|
-
import { t as B, a as E, v as
|
|
3
|
-
import { a as z } from "./common-
|
|
4
|
-
import { resolveComponent as
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
2
|
+
import { t as B, a as E, v as F, h as N, f as S, p as W, b as P } from "./constant-CU9c_PNt.js";
|
|
3
|
+
import { a as z } from "./common-BXC2DP76.js";
|
|
4
|
+
import { resolveComponent as i, createElementBlock as c, openBlock as t, createVNode as n, withCtx as r, createTextVNode as u, createBlock as p, createCommentVNode as m, Fragment as s, renderList as b, computed as x } from "vue";
|
|
5
|
+
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const I = {
|
|
7
7
|
__name: "Attr",
|
|
8
8
|
props: ["pageId", "formSize"],
|
|
9
9
|
setup(_, { expose: o }) {
|
|
10
10
|
o();
|
|
11
|
-
const
|
|
11
|
+
const g = _, e = U(g.pageId), y = x(() => e.curComponent), A = x(() => y.value.propValue || {}), V = { props: g, editorStore: e, curComponent: y, propValue: A, inputNumber: (a) => {
|
|
12
12
|
const d = a.replace(/[^0-9.]/g, "");
|
|
13
|
-
z(d) && (
|
|
13
|
+
z(d) && (y.value.propValue.factor = Number(d));
|
|
14
14
|
}, get useEditorStore() {
|
|
15
15
|
return U;
|
|
16
16
|
}, get fontWeightArr() {
|
|
17
17
|
return P;
|
|
18
18
|
}, get predefine() {
|
|
19
|
-
return F;
|
|
20
|
-
}, get fontFamilyArr() {
|
|
21
19
|
return W;
|
|
22
|
-
}, get
|
|
20
|
+
}, get fontFamilyArr() {
|
|
23
21
|
return S;
|
|
24
|
-
}, get
|
|
22
|
+
}, get horizontalAlignArr() {
|
|
25
23
|
return N;
|
|
24
|
+
}, get valueTypeArr() {
|
|
25
|
+
return F;
|
|
26
26
|
}, get tooltipEffectArr() {
|
|
27
27
|
return E;
|
|
28
28
|
}, get tooltipPlacementArr() {
|
|
29
29
|
return B;
|
|
30
30
|
}, get isNumber() {
|
|
31
31
|
return z;
|
|
32
|
-
}, computed:
|
|
33
|
-
return Object.defineProperty(
|
|
32
|
+
}, computed: x };
|
|
33
|
+
return Object.defineProperty(V, "__isScriptSetup", { enumerable: !1, value: !0 }), V;
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
function
|
|
37
|
-
const f =
|
|
36
|
+
function O(_, o, g, e, y, A) {
|
|
37
|
+
const f = i("el-option"), V = i("el-select"), a = i("el-form-item"), d = i("el-input-number"), C = i("el-input"), k = i("el-switch"), v = i("el-color-picker"), T = i("el-form"), w = i("VECommonAttr");
|
|
38
38
|
return t(), c("div", { class: "attr-list" }, [
|
|
39
39
|
n(w, {
|
|
40
40
|
"page-id": e.props.pageId,
|
|
@@ -50,14 +50,14 @@ function M(_, o, v, e, b, x) {
|
|
|
50
50
|
default: r(() => [
|
|
51
51
|
n(a, { label: "值类型" }, {
|
|
52
52
|
default: r(() => [
|
|
53
|
-
n(
|
|
53
|
+
n(V, {
|
|
54
54
|
modelValue: e.curComponent.propValue.valueType,
|
|
55
55
|
"onUpdate:modelValue": o[0] || (o[0] = (l) => e.curComponent.propValue.valueType = l),
|
|
56
56
|
placeholder: "请选择",
|
|
57
57
|
class: "common-item"
|
|
58
58
|
}, {
|
|
59
59
|
default: r(() => [
|
|
60
|
-
(t(!0), c(
|
|
60
|
+
(t(!0), c(s, null, b(e.valueTypeArr, (l) => (t(), p(f, {
|
|
61
61
|
key: l.value,
|
|
62
62
|
label: l.label,
|
|
63
63
|
value: l.value
|
|
@@ -92,7 +92,7 @@ function M(_, o, v, e, b, x) {
|
|
|
92
92
|
label: "系数"
|
|
93
93
|
}, {
|
|
94
94
|
default: r(() => [
|
|
95
|
-
n(
|
|
95
|
+
n(C, {
|
|
96
96
|
modelValue: e.curComponent.propValue.factor,
|
|
97
97
|
"onUpdate:modelValue": o[2] || (o[2] = (l) => e.curComponent.propValue.factor = l),
|
|
98
98
|
modelModifiers: { number: !0 },
|
|
@@ -109,7 +109,7 @@ function M(_, o, v, e, b, x) {
|
|
|
109
109
|
label: "时间格式"
|
|
110
110
|
}, {
|
|
111
111
|
default: r(() => [
|
|
112
|
-
n(
|
|
112
|
+
n(C, {
|
|
113
113
|
modelValue: e.curComponent.propValue.dateformat,
|
|
114
114
|
"onUpdate:modelValue": o[3] || (o[3] = (l) => e.curComponent.propValue.dateformat = l),
|
|
115
115
|
type: "text",
|
|
@@ -140,7 +140,7 @@ function M(_, o, v, e, b, x) {
|
|
|
140
140
|
u(),
|
|
141
141
|
n(a, { label: "单位" }, {
|
|
142
142
|
default: r(() => [
|
|
143
|
-
n(
|
|
143
|
+
n(C, {
|
|
144
144
|
modelValue: e.curComponent.propValue.unit,
|
|
145
145
|
"onUpdate:modelValue": o[5] || (o[5] = (l) => e.curComponent.propValue.unit = l),
|
|
146
146
|
type: "text",
|
|
@@ -152,7 +152,7 @@ function M(_, o, v, e, b, x) {
|
|
|
152
152
|
u(),
|
|
153
153
|
n(a, { label: "横向位移字符" }, {
|
|
154
154
|
default: r(() => [
|
|
155
|
-
n(
|
|
155
|
+
n(C, {
|
|
156
156
|
modelValue: e.curComponent.propValue.dx,
|
|
157
157
|
"onUpdate:modelValue": o[6] || (o[6] = (l) => e.curComponent.propValue.dx = l),
|
|
158
158
|
type: "text",
|
|
@@ -179,7 +179,7 @@ function M(_, o, v, e, b, x) {
|
|
|
179
179
|
u(),
|
|
180
180
|
n(a, { label: "边框背景" }, {
|
|
181
181
|
default: r(() => [
|
|
182
|
-
n(
|
|
182
|
+
n(k, {
|
|
183
183
|
modelValue: e.curComponent.propValue.hasBackground,
|
|
184
184
|
"onUpdate:modelValue": o[8] || (o[8] = (l) => e.curComponent.propValue.hasBackground = l)
|
|
185
185
|
}, null, 8, ["modelValue"])
|
|
@@ -246,7 +246,7 @@ function M(_, o, v, e, b, x) {
|
|
|
246
246
|
label: "边框颜色"
|
|
247
247
|
}, {
|
|
248
248
|
default: r(() => [
|
|
249
|
-
n(
|
|
249
|
+
n(v, {
|
|
250
250
|
modelValue: e.curComponent.propValue.strokeColor,
|
|
251
251
|
"onUpdate:modelValue": o[12] || (o[12] = (l) => e.curComponent.propValue.strokeColor = l),
|
|
252
252
|
"show-alpha": "",
|
|
@@ -280,7 +280,7 @@ function M(_, o, v, e, b, x) {
|
|
|
280
280
|
label: "背景颜色"
|
|
281
281
|
}, {
|
|
282
282
|
default: r(() => [
|
|
283
|
-
n(
|
|
283
|
+
n(v, {
|
|
284
284
|
modelValue: e.curComponent.propValue.fillColor,
|
|
285
285
|
"onUpdate:modelValue": o[14] || (o[14] = (l) => e.curComponent.propValue.fillColor = l),
|
|
286
286
|
"show-alpha": "",
|
|
@@ -311,7 +311,7 @@ function M(_, o, v, e, b, x) {
|
|
|
311
311
|
u(),
|
|
312
312
|
n(a, { label: "字体颜色" }, {
|
|
313
313
|
default: r(() => [
|
|
314
|
-
n(
|
|
314
|
+
n(v, {
|
|
315
315
|
modelValue: e.curComponent.propValue.fontColor,
|
|
316
316
|
"onUpdate:modelValue": o[16] || (o[16] = (l) => e.curComponent.propValue.fontColor = l),
|
|
317
317
|
"show-alpha": "",
|
|
@@ -338,14 +338,14 @@ function M(_, o, v, e, b, x) {
|
|
|
338
338
|
u(),
|
|
339
339
|
n(a, { label: "字体粗细" }, {
|
|
340
340
|
default: r(() => [
|
|
341
|
-
n(
|
|
341
|
+
n(V, {
|
|
342
342
|
modelValue: e.curComponent.propValue.fontWeight,
|
|
343
343
|
"onUpdate:modelValue": o[18] || (o[18] = (l) => e.curComponent.propValue.fontWeight = l),
|
|
344
344
|
placeholder: "请选择",
|
|
345
345
|
class: "common-item"
|
|
346
346
|
}, {
|
|
347
347
|
default: r(() => [
|
|
348
|
-
(t(!0), c(
|
|
348
|
+
(t(!0), c(s, null, b(e.fontWeightArr, (l) => (t(), p(f, {
|
|
349
349
|
key: l.value,
|
|
350
350
|
label: l.label,
|
|
351
351
|
value: l.value
|
|
@@ -359,14 +359,14 @@ function M(_, o, v, e, b, x) {
|
|
|
359
359
|
u(),
|
|
360
360
|
n(a, { label: "字体" }, {
|
|
361
361
|
default: r(() => [
|
|
362
|
-
n(
|
|
362
|
+
n(V, {
|
|
363
363
|
modelValue: e.curComponent.propValue.fontFamily,
|
|
364
364
|
"onUpdate:modelValue": o[19] || (o[19] = (l) => e.curComponent.propValue.fontFamily = l),
|
|
365
365
|
placeholder: "请选择",
|
|
366
366
|
class: "common-item"
|
|
367
367
|
}, {
|
|
368
368
|
default: r(() => [
|
|
369
|
-
(t(!0), c(
|
|
369
|
+
(t(!0), c(s, null, b(e.fontFamilyArr, (l) => (t(), p(f, {
|
|
370
370
|
key: l.value,
|
|
371
371
|
label: l.label,
|
|
372
372
|
value: l.value
|
|
@@ -380,14 +380,14 @@ function M(_, o, v, e, b, x) {
|
|
|
380
380
|
u(),
|
|
381
381
|
n(a, { label: "水平对齐" }, {
|
|
382
382
|
default: r(() => [
|
|
383
|
-
n(
|
|
383
|
+
n(V, {
|
|
384
384
|
modelValue: e.curComponent.propValue.horizontalAlign,
|
|
385
385
|
"onUpdate:modelValue": o[20] || (o[20] = (l) => e.curComponent.propValue.horizontalAlign = l),
|
|
386
386
|
placeholder: "请选择",
|
|
387
387
|
class: "common-item"
|
|
388
388
|
}, {
|
|
389
389
|
default: r(() => [
|
|
390
|
-
(t(!0), c(
|
|
390
|
+
(t(!0), c(s, null, b(e.horizontalAlignArr, (l) => (t(), p(f, {
|
|
391
391
|
key: l.value,
|
|
392
392
|
label: l.label,
|
|
393
393
|
value: l.value
|
|
@@ -399,29 +399,74 @@ function M(_, o, v, e, b, x) {
|
|
|
399
399
|
_: 1
|
|
400
400
|
}),
|
|
401
401
|
u(),
|
|
402
|
+
n(a, {
|
|
403
|
+
label: "动态配色",
|
|
404
|
+
title: "启用动态配置背景色和文字颜色等"
|
|
405
|
+
}, {
|
|
406
|
+
default: r(() => [
|
|
407
|
+
n(k, {
|
|
408
|
+
modelValue: e.curComponent.propValue.dycFlag,
|
|
409
|
+
"onUpdate:modelValue": o[21] || (o[21] = (l) => e.curComponent.propValue.dycFlag = l)
|
|
410
|
+
}, null, 8, ["modelValue"])
|
|
411
|
+
]),
|
|
412
|
+
_: 1
|
|
413
|
+
}),
|
|
414
|
+
u(),
|
|
415
|
+
e.curComponent.propValue.dycFlag ? (t(), p(a, {
|
|
416
|
+
key: 11,
|
|
417
|
+
label: "文字规则",
|
|
418
|
+
title: "文字颜色配置规则"
|
|
419
|
+
}, {
|
|
420
|
+
default: r(() => [
|
|
421
|
+
n(C, {
|
|
422
|
+
modelValue: e.curComponent.propValue.fColorRule,
|
|
423
|
+
"onUpdate:modelValue": o[22] || (o[22] = (l) => e.curComponent.propValue.fColorRule = l),
|
|
424
|
+
type: "text",
|
|
425
|
+
class: "common-item"
|
|
426
|
+
}, null, 8, ["modelValue"])
|
|
427
|
+
]),
|
|
428
|
+
_: 1
|
|
429
|
+
})) : m("", !0),
|
|
430
|
+
u(),
|
|
431
|
+
e.curComponent.propValue.dycFlag ? (t(), p(a, {
|
|
432
|
+
key: 12,
|
|
433
|
+
label: "背景规则",
|
|
434
|
+
title: "背景颜色配置规则"
|
|
435
|
+
}, {
|
|
436
|
+
default: r(() => [
|
|
437
|
+
n(C, {
|
|
438
|
+
modelValue: e.curComponent.propValue.bgColorRule,
|
|
439
|
+
"onUpdate:modelValue": o[23] || (o[23] = (l) => e.curComponent.propValue.bgColorRule = l),
|
|
440
|
+
type: "text",
|
|
441
|
+
class: "common-item"
|
|
442
|
+
}, null, 8, ["modelValue"])
|
|
443
|
+
]),
|
|
444
|
+
_: 1
|
|
445
|
+
})) : m("", !0),
|
|
446
|
+
u(),
|
|
402
447
|
n(a, { label: "提示框" }, {
|
|
403
448
|
default: r(() => [
|
|
404
|
-
n(
|
|
449
|
+
n(k, {
|
|
405
450
|
modelValue: e.curComponent.propValue.showTooltip,
|
|
406
|
-
"onUpdate:modelValue": o[
|
|
451
|
+
"onUpdate:modelValue": o[24] || (o[24] = (l) => e.curComponent.propValue.showTooltip = l)
|
|
407
452
|
}, null, 8, ["modelValue"])
|
|
408
453
|
]),
|
|
409
454
|
_: 1
|
|
410
455
|
}),
|
|
411
456
|
u(),
|
|
412
457
|
e.curComponent.propValue.showTooltip ? (t(), p(a, {
|
|
413
|
-
key:
|
|
458
|
+
key: 13,
|
|
414
459
|
label: "提示框主题"
|
|
415
460
|
}, {
|
|
416
461
|
default: r(() => [
|
|
417
|
-
n(
|
|
462
|
+
n(V, {
|
|
418
463
|
modelValue: e.curComponent.propValue.tooltipEffect,
|
|
419
|
-
"onUpdate:modelValue": o[
|
|
464
|
+
"onUpdate:modelValue": o[25] || (o[25] = (l) => e.curComponent.propValue.tooltipEffect = l),
|
|
420
465
|
placeholder: "请选择",
|
|
421
466
|
class: "common-item"
|
|
422
467
|
}, {
|
|
423
468
|
default: r(() => [
|
|
424
|
-
(t(!0), c(
|
|
469
|
+
(t(!0), c(s, null, b(e.tooltipEffectArr, (l) => (t(), p(f, {
|
|
425
470
|
key: l.value,
|
|
426
471
|
label: l.label,
|
|
427
472
|
value: l.value
|
|
@@ -434,18 +479,18 @@ function M(_, o, v, e, b, x) {
|
|
|
434
479
|
})) : m("", !0),
|
|
435
480
|
u(),
|
|
436
481
|
e.curComponent.propValue.showTooltip ? (t(), p(a, {
|
|
437
|
-
key:
|
|
482
|
+
key: 14,
|
|
438
483
|
label: "提示框位置"
|
|
439
484
|
}, {
|
|
440
485
|
default: r(() => [
|
|
441
|
-
n(
|
|
486
|
+
n(V, {
|
|
442
487
|
modelValue: e.curComponent.propValue.tooltipPlacement,
|
|
443
|
-
"onUpdate:modelValue": o[
|
|
488
|
+
"onUpdate:modelValue": o[26] || (o[26] = (l) => e.curComponent.propValue.tooltipPlacement = l),
|
|
444
489
|
placeholder: "请选择",
|
|
445
490
|
class: "common-item"
|
|
446
491
|
}, {
|
|
447
492
|
default: r(() => [
|
|
448
|
-
(t(!0), c(
|
|
493
|
+
(t(!0), c(s, null, b(e.tooltipPlacementArr, (l) => (t(), p(f, {
|
|
449
494
|
key: l.value,
|
|
450
495
|
label: l.label,
|
|
451
496
|
value: l.value
|
|
@@ -464,7 +509,7 @@ function M(_, o, v, e, b, x) {
|
|
|
464
509
|
}, 8, ["page-id", "form-size"])
|
|
465
510
|
]);
|
|
466
511
|
}
|
|
467
|
-
const Y = /* @__PURE__ */ I
|
|
512
|
+
const Y = /* @__PURE__ */ R(I, [["render", O], ["__scopeId", "data-v-e0384eb5"], ["__file", "Attr.vue"]]);
|
|
468
513
|
export {
|
|
469
514
|
Y as default
|
|
470
515
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as N, b as z, c as P, f as T } from "./constant-CU9c_PNt.js";
|
|
2
2
|
import { useEditorStore as U } from "hflveditor3";
|
|
3
|
-
import { E as B } from "./ElementIconDialog-
|
|
4
|
-
import { b as W } from "./common-
|
|
3
|
+
import { E as B } from "./ElementIconDialog-DZE-suVr.js";
|
|
4
|
+
import { b as W } from "./common-BXC2DP76.js";
|
|
5
5
|
import { resolveComponent as d, createElementBlock as x, openBlock as n, Fragment as _, createElementVNode as D, createTextVNode as u, createVNode as t, withCtx as a, createBlock as m, createCommentVNode as p, renderList as S, resolveDynamicComponent as E, computed as k, ref as C } from "vue";
|
|
6
6
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const R = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as S, f as z } from "./constant-CU9c_PNt.js";
|
|
2
2
|
import { useEditorStore as g } from "hflveditor3";
|
|
3
3
|
import { resolveComponent as a, createElementBlock as v, openBlock as c, createVNode as r, withCtx as n, createTextVNode as p, Fragment as N, renderList as A, createBlock as U, computed as V } from "vue";
|
|
4
|
-
import { a as C } from "./common-
|
|
4
|
+
import { a as C } from "./common-BXC2DP76.js";
|
|
5
5
|
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const w = {
|
|
7
7
|
__name: "Attr",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useEditorStore as A } from "hflveditor3";
|
|
2
2
|
import { p as N, b as L, c as B, f as W } from "./constant-CU9c_PNt.js";
|
|
3
3
|
import { resolveComponent as p, createElementBlock as _, openBlock as u, Fragment as y, createElementVNode as D, createTextVNode as t, createVNode as o, withCtx as n, createBlock as m, createCommentVNode as V, renderList as v, resolveDynamicComponent as C, computed as U, ref as E } from "vue";
|
|
4
|
-
import { b as O } from "./common-
|
|
5
|
-
import { E as T } from "./ElementIconDialog-
|
|
4
|
+
import { b as O } from "./common-BXC2DP76.js";
|
|
5
|
+
import { E as T } from "./ElementIconDialog-DZE-suVr.js";
|
|
6
6
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const j = {
|
|
8
8
|
__name: "Attr",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveComponent as u, createElementBlock as b, openBlock as v, createVNode as a, withCtx as s, createTextVNode as S, computed as n } from "vue";
|
|
2
2
|
import { useEditorStore as V } from "hflveditor3";
|
|
3
|
-
import { g as i, t as p } from "./common-
|
|
3
|
+
import { g as i, t as p } from "./common-BXC2DP76.js";
|
|
4
4
|
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const w = {
|
|
6
6
|
__name: "Attr",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useEditorStore as U } from "hflveditor3";
|
|
2
2
|
import { b as w, c as R, f as N, e as P, i as B, d as T } from "./constant-CU9c_PNt.js";
|
|
3
|
-
import { S as W, F as O } from "./ShortCutsItemEditorDialog-
|
|
4
|
-
import { E as j } from "./ElementIconDialog-
|
|
5
|
-
import { b as L } from "./common-
|
|
3
|
+
import { S as W, F as O } from "./ShortCutsItemEditorDialog-CdMxSsFF.js";
|
|
4
|
+
import { E as j } from "./ElementIconDialog-DZE-suVr.js";
|
|
5
|
+
import { b as L } from "./common-BXC2DP76.js";
|
|
6
6
|
import { resolveComponent as d, createElementBlock as _, openBlock as u, Fragment as y, createElementVNode as q, createTextVNode as r, createVNode as o, withCtx as t, createCommentVNode as i, createBlock as m, renderList as S, resolveDynamicComponent as z, computed as x, ref as k } from "vue";
|
|
7
7
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const H = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEditorStore as E } from "hflveditor3";
|
|
2
|
-
import { b as O } from "./common-
|
|
3
|
-
import { E as w } from "./ElementIconDialog-
|
|
2
|
+
import { b as O } from "./common-BXC2DP76.js";
|
|
3
|
+
import { E as w } from "./ElementIconDialog-DZE-suVr.js";
|
|
4
4
|
import { c as P, f as F, b as B, e as T } from "./constant-CU9c_PNt.js";
|
|
5
5
|
import { resolveComponent as i, createElementBlock as f, openBlock as r, Fragment as v, createElementVNode as W, createTextVNode as n, createVNode as o, withCtx as a, createBlock as p, createCommentVNode as b, renderList as y, resolveDynamicComponent as U, computed as x, ref as C } from "vue";
|
|
6
6
|
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useEditorStore as x } from "hflveditor3";
|
|
2
2
|
import { b as F, c as w, f as N, e as B, d as R } from "./constant-CU9c_PNt.js";
|
|
3
|
-
import { S as W, F as P } from "./ShortCutsItemEditorDialog-
|
|
4
|
-
import { E as O } from "./ElementIconDialog-
|
|
5
|
-
import { b as h } from "./common-
|
|
3
|
+
import { S as W, F as P } from "./ShortCutsItemEditorDialog-CdMxSsFF.js";
|
|
4
|
+
import { E as O } from "./ElementIconDialog-DZE-suVr.js";
|
|
5
|
+
import { b as h } from "./common-BXC2DP76.js";
|
|
6
6
|
import { resolveComponent as d, createElementBlock as _, openBlock as u, Fragment as y, createElementVNode as G, createTextVNode as r, createVNode as o, withCtx as a, createCommentVNode as i, createBlock as m, renderList as I, resolveDynamicComponent as z, computed as E } from "vue";
|
|
7
7
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const j = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as g, createBlock as w, openBlock as B, withCtx as r, createElementVNode as C, createVNode as v, createTextVNode as m, renderSlot as h, ref as d, computed as k } from "vue";
|
|
2
|
-
import { b as y } from "./common-
|
|
2
|
+
import { b as y } from "./common-BXC2DP76.js";
|
|
3
3
|
import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const N = {
|
|
5
5
|
__name: "CommonDialog",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as v } from "./ItemEditorDialog-
|
|
1
|
+
import { I as v } from "./ItemEditorDialog-CI6Zjkm_.js";
|
|
2
2
|
import { useEditorStore as y } from "hflveditor3";
|
|
3
3
|
import { resolveComponent as p, createElementBlock as k, openBlock as f, createVNode as o, createTextVNode as n, withCtx as a, createBlock as D, createCommentVNode as b, computed as _, ref as x } from "vue";
|
|
4
4
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEditorStore as w } from "hflveditor3";
|
|
2
|
-
import { C as B } from "./CommonDialog-
|
|
3
|
-
import { d as S, i as x } from "./common-
|
|
2
|
+
import { C as B } from "./CommonDialog-BqZ7a0MF.js";
|
|
3
|
+
import { d as S, i as x } from "./common-BXC2DP76.js";
|
|
4
4
|
import { resolveComponent as c, createBlock as v, openBlock as V, withCtx as a, createElementVNode as E, createVNode as t, createTextVNode as n, createElementBlock as I, Fragment as U, renderList as N, ref as y, createCommentVNode as k, computed as C } from "vue";
|
|
5
5
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const K = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEditorStore as f } from "hflveditor3";
|
|
2
|
-
import { g as S, t as b } from "./common-
|
|
2
|
+
import { g as S, t as b } from "./common-BXC2DP76.js";
|
|
3
3
|
import { resolveComponent as m, createElementBlock as v, openBlock as _, createVNode as l, withCtx as r, createTextVNode as i, createBlock as D, createCommentVNode as g, computed as d } from "vue";
|
|
4
4
|
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const k = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEditorStore as y } from "hflveditor3";
|
|
2
|
-
import { I as C } from "./ItemEditorDialog-
|
|
2
|
+
import { I as C } from "./ItemEditorDialog-CI6Zjkm_.js";
|
|
3
3
|
import { resolveComponent as p, createElementBlock as S, openBlock as f, createVNode as o, createTextVNode as n, withCtx as a, createBlock as D, createCommentVNode as b, computed as _ } from "vue";
|
|
4
4
|
import { _ as v } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const k = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I } from "./ItemEditorDialog-
|
|
1
|
+
import { I } from "./ItemEditorDialog-CI6Zjkm_.js";
|
|
2
2
|
import { useEditorStore as y } from "hflveditor3";
|
|
3
|
-
import { g, t as D } from "./common-
|
|
3
|
+
import { g, t as D } from "./common-BXC2DP76.js";
|
|
4
4
|
import { resolveComponent as s, createElementBlock as k, openBlock as _, createVNode as o, createTextVNode as n, withCtx as r, createBlock as x, createCommentVNode as C, computed as d, ref as v } from "vue";
|
|
5
5
|
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const U = {
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { useEditorStore as f } from "hflveditor3";
|
|
2
|
+
import { resolveComponent as d, createElementBlock as c, openBlock as y, createVNode as o, withCtx as r, createTextVNode as p, computed as i } from "vue";
|
|
3
|
+
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const C = {
|
|
5
|
+
__name: "Data",
|
|
6
|
+
props: ["pageId", "formSize"],
|
|
7
|
+
setup(V, { expose: l }) {
|
|
8
|
+
l();
|
|
9
|
+
const n = V, e = f(n.pageId), u = i(() => e.curComponent), s = i(() => u.value.propValue || {}), a = { props: n, editorStore: e, curComponent: u, propValue: s, get useEditorStore() {
|
|
10
|
+
return f;
|
|
11
|
+
}, computed: i };
|
|
12
|
+
return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
function K(V, l, n, e, u, s) {
|
|
16
|
+
const a = d("el-input"), m = d("el-form-item"), _ = d("el-form");
|
|
17
|
+
return y(), c("div", { class: "data-list" }, [
|
|
18
|
+
o(_, {
|
|
19
|
+
size: e.props.formSize,
|
|
20
|
+
"label-width": "100px",
|
|
21
|
+
"label-position": "left",
|
|
22
|
+
style: { padding: "10px" }
|
|
23
|
+
}, {
|
|
24
|
+
default: r(() => [
|
|
25
|
+
o(m, {
|
|
26
|
+
label: "取值缓存",
|
|
27
|
+
title: "从缓存地址取值"
|
|
28
|
+
}, {
|
|
29
|
+
default: r(() => [
|
|
30
|
+
o(a, {
|
|
31
|
+
modelValue: e.propValue.dataCK,
|
|
32
|
+
"onUpdate:modelValue": l[0] || (l[0] = (t) => e.propValue.dataCK = t),
|
|
33
|
+
type: "text",
|
|
34
|
+
class: "common-item"
|
|
35
|
+
}, null, 8, ["modelValue"])
|
|
36
|
+
]),
|
|
37
|
+
_: 1
|
|
38
|
+
}),
|
|
39
|
+
p(),
|
|
40
|
+
o(m, {
|
|
41
|
+
label: "取时缓存",
|
|
42
|
+
title: "从缓存地址取时间"
|
|
43
|
+
}, {
|
|
44
|
+
default: r(() => [
|
|
45
|
+
o(a, {
|
|
46
|
+
modelValue: e.propValue.timeCK,
|
|
47
|
+
"onUpdate:modelValue": l[1] || (l[1] = (t) => e.propValue.timeCK = t),
|
|
48
|
+
type: "text",
|
|
49
|
+
class: "common-item"
|
|
50
|
+
}, null, 8, ["modelValue"])
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
}),
|
|
54
|
+
p(),
|
|
55
|
+
o(m, {
|
|
56
|
+
label: "解析数值",
|
|
57
|
+
title: "从取值对象中解释数值"
|
|
58
|
+
}, {
|
|
59
|
+
default: r(() => [
|
|
60
|
+
o(a, {
|
|
61
|
+
modelValue: e.propValue.valueKey,
|
|
62
|
+
"onUpdate:modelValue": l[2] || (l[2] = (t) => e.propValue.valueKey = t),
|
|
63
|
+
type: "text",
|
|
64
|
+
class: "common-item"
|
|
65
|
+
}, null, 8, ["modelValue"])
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}),
|
|
69
|
+
p(),
|
|
70
|
+
o(m, {
|
|
71
|
+
label: "解析时间",
|
|
72
|
+
title: "从取值对象中解析时间"
|
|
73
|
+
}, {
|
|
74
|
+
default: r(() => [
|
|
75
|
+
o(a, {
|
|
76
|
+
modelValue: e.propValue.timeKey,
|
|
77
|
+
"onUpdate:modelValue": l[3] || (l[3] = (t) => e.propValue.timeKey = t),
|
|
78
|
+
type: "text",
|
|
79
|
+
class: "common-item"
|
|
80
|
+
}, null, 8, ["modelValue"])
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
}),
|
|
84
|
+
p(),
|
|
85
|
+
o(m, {
|
|
86
|
+
label: "取色缓存",
|
|
87
|
+
title: "从缓存地址取颜色"
|
|
88
|
+
}, {
|
|
89
|
+
default: r(() => [
|
|
90
|
+
o(a, {
|
|
91
|
+
modelValue: e.propValue.colorCK,
|
|
92
|
+
"onUpdate:modelValue": l[4] || (l[4] = (t) => e.propValue.colorCK = t),
|
|
93
|
+
type: "text",
|
|
94
|
+
class: "common-item"
|
|
95
|
+
}, null, 8, ["modelValue"])
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
}),
|
|
99
|
+
p(),
|
|
100
|
+
o(m, {
|
|
101
|
+
label: "文字颜色",
|
|
102
|
+
title: "从取色对象中解释文字颜色"
|
|
103
|
+
}, {
|
|
104
|
+
default: r(() => [
|
|
105
|
+
o(a, {
|
|
106
|
+
modelValue: e.propValue.fColorKey,
|
|
107
|
+
"onUpdate:modelValue": l[5] || (l[5] = (t) => e.propValue.fColorKey = t),
|
|
108
|
+
type: "text",
|
|
109
|
+
class: "common-item"
|
|
110
|
+
}, null, 8, ["modelValue"])
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
|
+
}),
|
|
114
|
+
p(),
|
|
115
|
+
o(m, {
|
|
116
|
+
label: "背景颜色",
|
|
117
|
+
title: "从取色对象中解释背景颜色"
|
|
118
|
+
}, {
|
|
119
|
+
default: r(() => [
|
|
120
|
+
o(a, {
|
|
121
|
+
modelValue: e.propValue.bgColorKey,
|
|
122
|
+
"onUpdate:modelValue": l[6] || (l[6] = (t) => e.propValue.bgColorKey = t),
|
|
123
|
+
type: "text",
|
|
124
|
+
class: "common-item"
|
|
125
|
+
}, null, 8, ["modelValue"])
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
})
|
|
129
|
+
]),
|
|
130
|
+
_: 1
|
|
131
|
+
}, 8, ["size"])
|
|
132
|
+
]);
|
|
133
|
+
}
|
|
134
|
+
const U = /* @__PURE__ */ x(C, [["render", K], ["__scopeId", "data-v-8c0d1839"], ["__file", "Data.vue"]]);
|
|
135
|
+
export {
|
|
136
|
+
U as default
|
|
137
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent as c, createBlock as w, openBlock as g, withCtx as t, createElementVNode as U, createVNode as e, createTextVNode as n, createElementBlock as k, Fragment as B, renderList as E, ref as y, computed as b } from "vue";
|
|
2
2
|
import { useEditorStore as x } from "hflveditor3";
|
|
3
|
-
import { C as j } from "./CommonDialog-
|
|
4
|
-
import { d as C, i as h } from "./common-
|
|
3
|
+
import { C as j } from "./CommonDialog-BqZ7a0MF.js";
|
|
4
|
+
import { d as C, i as h } from "./common-BXC2DP76.js";
|
|
5
5
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const P = {
|
|
7
7
|
__name: "ComponentEditorDialog",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEditorStore as S } from "hflveditor3";
|
|
2
|
-
import { g as b, t as g } from "./common-
|
|
2
|
+
import { g as b, t as g } from "./common-BXC2DP76.js";
|
|
3
3
|
import { resolveComponent as m, createElementBlock as D, openBlock as V, createVNode as a, withCtx as r, createTextVNode as p, createBlock as x, createCommentVNode as y, computed as u } from "vue";
|
|
4
4
|
import { _ as v } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const h = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as x } from "./ItemEditorDialog-
|
|
1
|
+
import { I as x } from "./ItemEditorDialog-CI6Zjkm_.js";
|
|
2
2
|
import { useEditorStore as y } from "hflveditor3";
|
|
3
3
|
import { resolveComponent as p, createElementBlock as v, openBlock as _, Fragment as g, createElementVNode as k, createTextVNode as n, createVNode as o, withCtx as a, createBlock as D, createCommentVNode as C, computed as f } from "vue";
|
|
4
4
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEditorStore as v } from "hflveditor3";
|
|
2
2
|
import { resolveComponent as g, createElementBlock as S, openBlock as U, createVNode as t, withCtx as r, createTextVNode as d, computed as i } from "vue";
|
|
3
|
-
import { g as s, t as p } from "./common-
|
|
3
|
+
import { g as s, t as p } from "./common-BXC2DP76.js";
|
|
4
4
|
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const j = {
|
|
6
6
|
__name: "Data",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEditorStore as y } from "hflveditor3";
|
|
2
|
-
import { I as S } from "./ItemEditorDialog-
|
|
2
|
+
import { I as S } from "./ItemEditorDialog-CI6Zjkm_.js";
|
|
3
3
|
import { resolveComponent as p, createElementBlock as v, openBlock as f, createVNode as o, createTextVNode as n, withCtx as a, createBlock as D, createCommentVNode as b, computed as _, ref as x } from "vue";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const g = {
|