hfl-comp-editor 0.0.2 → 0.0.4

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 (33) hide show
  1. package/dist/{Attr-DJhPNJk1.js → Attr-BEYuMAA-.js} +2 -2
  2. package/dist/{Attr-XCC-2KVn.js → Attr-BUfveR1q.js} +5 -5
  3. package/dist/{Attr-zvY3Pb-W.js → Attr-BZr39Ps1.js} +1 -1
  4. package/dist/{Attr-B8hYBzJH.js → Attr-DP5lYz__.js} +2 -2
  5. package/dist/Attr-Dq-CY71i.js +154 -0
  6. package/dist/{Attr-Gefm_jYU.js → Attr-DyDV96fh.js} +9 -9
  7. package/dist/{Attr-BDLtj3vb.js → Attr-KkML_lNr.js} +4 -4
  8. package/dist/{Attr-lTpa0fp-.js → Attr-UXQpzT4o.js} +1 -1
  9. package/dist/{Attr-bCVDOqW4.js → Attr-V8TouSeR.js} +1 -1
  10. package/dist/Attr-qBkm7nTx.js +52 -0
  11. package/dist/{Attr-BtpOO97b.js → Attr-x-B-wwN_.js} +4 -4
  12. package/dist/Attr-ysSfJJXC.js +136 -0
  13. package/dist/{CommonDialog-C1bFj3bZ.js → CommonDialog-ZbSGTSN4.js} +5 -5
  14. package/dist/Data-BDX7IqiW.js +296 -0
  15. package/dist/Data-BH0T-uVd.js +61 -0
  16. package/dist/{Data-D7E05184.js → Data-BIO_N_5T.js} +1 -1
  17. package/dist/{Data-alrucsqp.js → Data-C4xCq8Ry.js} +14 -14
  18. package/dist/{Data-MSMVpyiN.js → Data-CWteI-4e.js} +3 -3
  19. package/dist/{Data-BKkBF5fv.js → Data-Cp1r8Qdt.js} +1 -1
  20. package/dist/{Data-XVABX03P.js → Data-DBaCwa42.js} +1 -1
  21. package/dist/{Data-DdtnI58O.js → Data-DGwcDrWm.js} +1 -1
  22. package/dist/{Data-NwuAGAPq.js → Data-DgzdNPae.js} +2 -2
  23. package/dist/Data-e31nK7MM.js +122 -0
  24. package/dist/{Data-BlmhX_Z_.js → Data-g1pnr4w4.js} +1 -1
  25. package/dist/{Data-YTcURmXS.js → Data-li_DS5oZ.js} +1 -1
  26. package/dist/{ElementIconDialog-DhgtYKn3.js → ElementIconDialog-DfliInik.js} +1 -1
  27. package/dist/{ItemEditorDialog-CtT_VcmY.js → ItemEditorDialog-218KVK08.js} +1 -1
  28. package/dist/{ShortCutsItemEditorDialog-By12wFXU.js → ShortCutsItemEditorDialog-CrAtpbKh.js} +2 -2
  29. package/dist/hfl-comp-editor.es.js +7 -6
  30. package/dist/hfl-comp-editor.umd.js +15 -15
  31. package/package.json +1 -1
  32. package/dist/Attr-CFTNy-xl.js +0 -52
  33. package/dist/Data-CrNsJOK2.js +0 -61
@@ -1,7 +1,7 @@
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-By12wFXU.js";
4
- import { E as j } from "./ElementIconDialog-DhgtYKn3.js";
3
+ import { S as W, F as O } from "./ShortCutsItemEditorDialog-CrAtpbKh.js";
4
+ import { E as j } from "./ElementIconDialog-DfliInik.js";
5
5
  import { b as L } from "./common-CUTMyEmo.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";
@@ -1,5 +1,5 @@
1
1
  import { useEditorStore as s } from "hflveditor3";
2
- import { resolveComponent as a, createElementBlock as m, openBlock as l, createVNode as c, withCtx as u, computed as _ } from "vue";
2
+ import { resolveComponent as a, createElementBlock as l, openBlock as m, createVNode as c, withCtx as u, computed as _ } from "vue";
3
3
  import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const g = {
5
5
  __name: "Attr",
@@ -13,13 +13,13 @@ const g = {
13
13
  }
14
14
  };
15
15
  function x(r, n, t, e, p, o) {
16
- const i = a("el-form"), d = a("VECommonAttr");
17
- return l(), m("div", { class: "attr-list" }, [
18
- c(d, {
16
+ const d = a("el-form"), i = a("VECommonAttr");
17
+ return m(), l("div", { class: "attr-list" }, [
18
+ c(i, {
19
19
  "page-id": e.props.pageId
20
20
  }, {
21
21
  default: u(() => [
22
- c(i, {
22
+ c(d, {
23
23
  size: "small",
24
24
  "label-width": "100px",
25
25
  "label-position": "left",
@@ -1,6 +1,6 @@
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-DhgtYKn3.js";
3
+ import { E as B } from "./ElementIconDialog-DfliInik.js";
4
4
  import { b as W } from "./common-CUTMyEmo.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";
@@ -1,7 +1,7 @@
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-By12wFXU.js";
4
- import { E as O } from "./ElementIconDialog-DhgtYKn3.js";
3
+ import { S as W, F as P } from "./ShortCutsItemEditorDialog-CrAtpbKh.js";
4
+ import { E as O } from "./ElementIconDialog-DfliInik.js";
5
5
  import { b as h } from "./common-CUTMyEmo.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";
@@ -0,0 +1,154 @@
1
+ import { p as A } from "./constant-CU9c_PNt.js";
2
+ import { useEditorStore as V } from "hflveditor3";
3
+ import { resolveComponent as a, createElementBlock as _, openBlock as C, createVNode as l, withCtx as t, createTextVNode as p, Fragment as S, renderList as w, computed as m } from "vue";
4
+ import { _ as y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ const z = {
6
+ __name: "Attr",
7
+ props: ["pageId", "formSize"],
8
+ setup(f, { expose: r }) {
9
+ r();
10
+ const u = f, e = V(u.pageId), i = m(() => e.curComponent), s = m(() => i.value.propValue || {}), n = { props: u, editorStore: e, curComponent: i, propValue: s, aspectRatioTypeArr: [
11
+ {
12
+ value: "xMidYMid meet",
13
+ label: "居中显示"
14
+ },
15
+ {
16
+ value: "xMinYMin meet",
17
+ label: "左上对齐"
18
+ },
19
+ {
20
+ value: "xMidYMid slice",
21
+ label: "填满裁剪"
22
+ },
23
+ {
24
+ value: "none",
25
+ label: "拉伸填满"
26
+ }
27
+ ], get predefine() {
28
+ return A;
29
+ }, get useEditorStore() {
30
+ return V;
31
+ }, computed: m };
32
+ return Object.defineProperty(n, "__isScriptSetup", { enumerable: !1, value: !0 }), n;
33
+ }
34
+ };
35
+ function U(f, r, u, e, i, s) {
36
+ const c = a("el-input"), n = a("el-form-item"), b = a("el-option"), v = a("el-select"), d = a("el-color-picker"), g = a("el-form"), x = a("VECommonAttr");
37
+ return C(), _("div", { class: "attr-list" }, [
38
+ l(x, {
39
+ "page-id": e.props.pageId,
40
+ "form-size": e.props.formSize
41
+ }, {
42
+ default: t(() => [
43
+ l(g, {
44
+ size: e.props.formSize,
45
+ "label-width": "100px",
46
+ "label-position": "left",
47
+ style: { padding: "10px" }
48
+ }, {
49
+ default: t(() => [
50
+ l(n, { label: "svg文件" }, {
51
+ default: t(() => [
52
+ l(c, {
53
+ modelValue: e.propValue.svgFile,
54
+ "onUpdate:modelValue": r[0] || (r[0] = (o) => e.propValue.svgFile = o),
55
+ type: "text",
56
+ class: "common-item"
57
+ }, null, 8, ["modelValue"])
58
+ ]),
59
+ _: 1
60
+ }),
61
+ p(),
62
+ l(n, { label: "纵横比" }, {
63
+ default: t(() => [
64
+ l(v, {
65
+ modelValue: e.propValue.aspectRatio,
66
+ "onUpdate:modelValue": r[1] || (r[1] = (o) => e.propValue.aspectRatio = o),
67
+ placeholder: "请选择",
68
+ clearable: "",
69
+ class: "common-item"
70
+ }, {
71
+ default: t(() => [
72
+ (C(), _(S, null, w(e.aspectRatioTypeArr, (o) => l(b, {
73
+ key: o.value,
74
+ label: o.label,
75
+ value: o.value
76
+ }, null, 8, ["label", "value"])), 64))
77
+ ]),
78
+ _: 1
79
+ }, 8, ["modelValue"])
80
+ ]),
81
+ _: 1
82
+ }),
83
+ p(),
84
+ l(n, { label: "第一填充色" }, {
85
+ default: t(() => [
86
+ l(d, {
87
+ modelValue: e.curComponent.propValue.firstColor,
88
+ "onUpdate:modelValue": r[2] || (r[2] = (o) => e.curComponent.propValue.firstColor = o),
89
+ "show-alpha": "",
90
+ predefine: e.predefine
91
+ }, null, 8, ["modelValue", "predefine"])
92
+ ]),
93
+ _: 1
94
+ }),
95
+ p(),
96
+ l(n, { label: "第二填充色" }, {
97
+ default: t(() => [
98
+ l(d, {
99
+ modelValue: e.curComponent.propValue.secondColor,
100
+ "onUpdate:modelValue": r[3] || (r[3] = (o) => e.curComponent.propValue.secondColor = o),
101
+ "show-alpha": "",
102
+ predefine: e.predefine
103
+ }, null, 8, ["modelValue", "predefine"])
104
+ ]),
105
+ _: 1
106
+ }),
107
+ p(),
108
+ l(n, { label: "第三填充色" }, {
109
+ default: t(() => [
110
+ l(d, {
111
+ modelValue: e.curComponent.propValue.thirdColor,
112
+ "onUpdate:modelValue": r[4] || (r[4] = (o) => e.curComponent.propValue.thirdColor = o),
113
+ "show-alpha": "",
114
+ predefine: e.predefine
115
+ }, null, 8, ["modelValue", "predefine"])
116
+ ]),
117
+ _: 1
118
+ }),
119
+ p(),
120
+ l(n, { label: "第四填充色" }, {
121
+ default: t(() => [
122
+ l(d, {
123
+ modelValue: e.curComponent.propValue.fourColor,
124
+ "onUpdate:modelValue": r[5] || (r[5] = (o) => e.curComponent.propValue.fourColor = o),
125
+ "show-alpha": "",
126
+ predefine: e.predefine
127
+ }, null, 8, ["modelValue", "predefine"])
128
+ ]),
129
+ _: 1
130
+ }),
131
+ p(),
132
+ l(n, { label: "第五填充色" }, {
133
+ default: t(() => [
134
+ l(d, {
135
+ modelValue: e.curComponent.propValue.fiveColor,
136
+ "onUpdate:modelValue": r[6] || (r[6] = (o) => e.curComponent.propValue.fiveColor = o),
137
+ "show-alpha": "",
138
+ predefine: e.predefine
139
+ }, null, 8, ["modelValue", "predefine"])
140
+ ]),
141
+ _: 1
142
+ })
143
+ ]),
144
+ _: 1
145
+ }, 8, ["size"])
146
+ ]),
147
+ _: 1
148
+ }, 8, ["page-id", "form-size"])
149
+ ]);
150
+ }
151
+ const I = /* @__PURE__ */ y(z, [["render", U], ["__scopeId", "data-v-2ae98b43"], ["__file", "Attr.vue"]]);
152
+ export {
153
+ I as default
154
+ };
@@ -1,33 +1,33 @@
1
1
  import { useEditorStore as _ } from "hflveditor3";
2
- import { resolveComponent as l, createElementBlock as V, openBlock as b, createVNode as t, withCtx as n, createTextVNode as g, computed as m } from "vue";
2
+ import { resolveComponent as l, createElementBlock as V, openBlock as g, createVNode as t, withCtx as p, createTextVNode as b, computed as m } from "vue";
3
3
  import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const S = {
5
5
  __name: "Attr",
6
6
  props: ["pageId", "formSize"],
7
7
  setup(d, { expose: o }) {
8
8
  o();
9
- const p = d, e = _(p.pageId), a = m(() => e.curComponent), s = m(() => a.value.propValue || {}), r = { props: p, editorStore: e, curComponent: a, propValue: s, get useEditorStore() {
9
+ const n = d, e = _(n.pageId), a = m(() => e.curComponent), s = m(() => a.value.propValue || {}), r = { props: n, editorStore: e, curComponent: a, propValue: s, get useEditorStore() {
10
10
  return _;
11
11
  }, computed: m };
12
12
  return Object.defineProperty(r, "__isScriptSetup", { enumerable: !1, value: !0 }), r;
13
13
  }
14
14
  };
15
- function v(d, o, p, e, a, s) {
15
+ function v(d, o, n, e, a, s) {
16
16
  const r = l("el-switch"), u = l("el-form-item"), c = l("el-form"), f = l("VECommonAttr");
17
- return b(), V("div", { class: "attr-list" }, [
17
+ return g(), V("div", { class: "attr-list" }, [
18
18
  t(f, {
19
19
  "page-id": e.props.pageId
20
20
  }, {
21
- default: n(() => [
21
+ default: p(() => [
22
22
  t(c, {
23
23
  size: e.props.formSize,
24
24
  "label-width": "100",
25
25
  "label-position": "left",
26
26
  style: { padding: "10px" }
27
27
  }, {
28
- default: n(() => [
28
+ default: p(() => [
29
29
  t(u, { label: "水平翻转" }, {
30
- default: n(() => [
30
+ default: p(() => [
31
31
  t(r, {
32
32
  modelValue: e.propValue.flipHorizontal,
33
33
  "onUpdate:modelValue": o[0] || (o[0] = (i) => e.propValue.flipHorizontal = i)
@@ -35,9 +35,9 @@ function v(d, o, p, e, a, s) {
35
35
  ]),
36
36
  _: 1
37
37
  }),
38
- g(),
38
+ b(),
39
39
  t(u, { label: "垂直翻转" }, {
40
- default: n(() => [
40
+ default: p(() => [
41
41
  t(r, {
42
42
  modelValue: e.propValue.flipVertical,
43
43
  "onUpdate:modelValue": o[1] || (o[1] = (i) => e.propValue.flipVertical = i)
@@ -1,5 +1,5 @@
1
1
  import { useEditorStore as s } from "hflveditor3";
2
- import { resolveComponent as c, createElementBlock as m, openBlock as l, createVNode as a, withCtx as u, computed as _ } from "vue";
2
+ import { resolveComponent as c, createElementBlock as i, openBlock as l, createVNode as a, withCtx as u, computed as _ } from "vue";
3
3
  import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const g = {
5
5
  __name: "Attr",
@@ -13,9 +13,9 @@ const g = {
13
13
  }
14
14
  };
15
15
  function x(r, n, t, e, p, o) {
16
- const d = c("el-form"), i = c("VECommonAttr");
17
- return l(), m("div", { class: "attr-list" }, [
18
- a(i, {
16
+ const d = c("el-form"), m = c("VECommonAttr");
17
+ return l(), i("div", { class: "attr-list" }, [
18
+ a(m, {
19
19
  "page-id": e.props.pageId
20
20
  }, {
21
21
  default: u(() => [
@@ -1,6 +1,6 @@
1
1
  import { useEditorStore as E } from "hflveditor3";
2
2
  import { b as O } from "./common-CUTMyEmo.js";
3
- import { E as w } from "./ElementIconDialog-DhgtYKn3.js";
3
+ import { E as w } from "./ElementIconDialog-DfliInik.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";
@@ -2,7 +2,7 @@ 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
4
  import { b as O } from "./common-CUTMyEmo.js";
5
- import { E as T } from "./ElementIconDialog-DhgtYKn3.js";
5
+ import { E as T } from "./ElementIconDialog-DfliInik.js";
6
6
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const j = {
8
8
  __name: "Attr",
@@ -0,0 +1,52 @@
1
+ import { resolveComponent as r, createElementBlock as V, openBlock as x, createVNode as n, withCtx as l, computed as m } from "vue";
2
+ import { useEditorStore as _ } from "hflveditor3";
3
+ import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const g = {
5
+ __name: "Attr",
6
+ props: ["pageId", "formSize"],
7
+ setup(s, { expose: o }) {
8
+ o();
9
+ const p = s, e = _(p.pageId), a = m(() => e.curComponent), i = m(() => a.value.propValue || {}), t = { props: p, editorStore: e, curComponent: a, propValue: i, computed: m, get useEditorStore() {
10
+ return _;
11
+ } };
12
+ return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
13
+ }
14
+ };
15
+ function z(s, o, p, e, a, i) {
16
+ const t = r("el-input"), c = r("el-form-item"), d = r("el-form"), u = r("VECommonAttr");
17
+ return x(), V("div", { class: "attr-list" }, [
18
+ n(u, {
19
+ "page-id": e.props.pageId,
20
+ "form-size": e.props.formSize
21
+ }, {
22
+ default: l(() => [
23
+ n(d, {
24
+ size: e.props.formSize,
25
+ "label-width": "100px",
26
+ "label-position": "left",
27
+ style: { padding: "10px" }
28
+ }, {
29
+ default: l(() => [
30
+ n(c, { label: "对象Key" }, {
31
+ default: l(() => [
32
+ n(t, {
33
+ modelValue: e.propValue.dataKey,
34
+ "onUpdate:modelValue": o[0] || (o[0] = (f) => e.propValue.dataKey = f),
35
+ type: "text",
36
+ class: "common-item"
37
+ }, null, 8, ["modelValue"])
38
+ ]),
39
+ _: 1
40
+ })
41
+ ]),
42
+ _: 1
43
+ }, 8, ["size"])
44
+ ]),
45
+ _: 1
46
+ }, 8, ["page-id", "form-size"])
47
+ ]);
48
+ }
49
+ const C = /* @__PURE__ */ S(g, [["render", z], ["__scopeId", "data-v-0598a9b6"], ["__file", "Attr.vue"]]);
50
+ export {
51
+ C as default
52
+ };
@@ -1,4 +1,4 @@
1
- import { p as b } from "./constant-CU9c_PNt.js";
1
+ import { p as C } from "./constant-CU9c_PNt.js";
2
2
  import { useEditorStore as f } from "hflveditor3";
3
3
  import { resolveComponent as n, createElementBlock as x, openBlock as g, createVNode as r, withCtx as p, createTextVNode as _, computed as d } from "vue";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -8,7 +8,7 @@ const S = {
8
8
  setup(s, { expose: o }) {
9
9
  o();
10
10
  const a = s, e = f(a.pageId), m = d(() => e.curComponent), u = d(() => m.value.propValue || {}), t = { props: a, editorStore: e, curComponent: m, propValue: u, get predefine() {
11
- return b;
11
+ return C;
12
12
  }, get useEditorStore() {
13
13
  return f;
14
14
  }, computed: d };
@@ -16,9 +16,9 @@ const S = {
16
16
  }
17
17
  };
18
18
  function z(s, o, a, e, m, u) {
19
- const t = n("el-color-picker"), i = n("el-form-item"), c = n("el-input-number"), V = n("el-form"), C = n("VECommonAttr");
19
+ const t = n("el-color-picker"), i = n("el-form-item"), c = n("el-input-number"), V = n("el-form"), b = n("VECommonAttr");
20
20
  return g(), x("div", { class: "attr-list" }, [
21
- r(C, {
21
+ r(b, {
22
22
  "page-id": e.props.pageId,
23
23
  "form-size": e.props.formSize
24
24
  }, {
@@ -0,0 +1,136 @@
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
+ import { useEditorStore as V } from "hflveditor3";
3
+ import { g as i, t as p } from "./common-CUTMyEmo.js";
4
+ import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ const w = {
6
+ __name: "Attr",
7
+ props: ["pageId", "formSize"],
8
+ setup(y, { expose: l }) {
9
+ l();
10
+ const c = y, e = V(c.pageId), _ = n(() => e.curComponent), o = n(() => _.value.propValue || {}), m = n({
11
+ get: () => {
12
+ let t = o.value.borderStyle || {};
13
+ return p(t);
14
+ },
15
+ set: (t) => {
16
+ o.value.borderStyle = i(t, {});
17
+ }
18
+ }), d = n({
19
+ get: () => {
20
+ let t = o.value.rowStyle || {};
21
+ return p(t);
22
+ },
23
+ set: (t) => {
24
+ o.value.rowStyle = i(t, {});
25
+ }
26
+ }), f = n({
27
+ get: () => {
28
+ let t = o.value.colStyle || {};
29
+ return p(t);
30
+ },
31
+ set: (t) => {
32
+ o.value.colStyle = i(t, {});
33
+ }
34
+ }), g = n({
35
+ get: () => {
36
+ let t = o.value.diagonalStyle || {};
37
+ return p(t);
38
+ },
39
+ set: (t) => {
40
+ o.value.diagonalStyle = i(t, {});
41
+ }
42
+ }), x = { props: c, editorStore: e, curComponent: _, propValue: o, borderStyle: m, rowStyle: d, colStyle: f, diagonalStyle: g, styleDataExample: {
43
+ flag: !0,
44
+ text: '[{"color":"#F8F8FF","width":1,"dash":""}]'
45
+ }, computed: n, get useEditorStore() {
46
+ return V;
47
+ }, get getJsonObject() {
48
+ return i;
49
+ }, get toJsonStr() {
50
+ return p;
51
+ } };
52
+ return Object.defineProperty(x, "__isScriptSetup", { enumerable: !1, value: !0 }), x;
53
+ }
54
+ };
55
+ function j(y, l, c, e, _, o) {
56
+ const m = u("VeOmitInput"), d = u("el-form-item"), f = u("el-form"), g = u("VECommonAttr");
57
+ return v(), b("div", { class: "attr-list" }, [
58
+ a(g, {
59
+ "page-id": e.props.pageId,
60
+ "form-size": e.props.formSize
61
+ }, {
62
+ default: s(() => [
63
+ a(f, {
64
+ size: e.props.formSize,
65
+ "label-width": "100px",
66
+ "label-position": "left",
67
+ style: { padding: "10px" }
68
+ }, {
69
+ default: s(() => [
70
+ a(d, { label: "边框样式" }, {
71
+ default: s(() => [
72
+ a(m, {
73
+ modelValue: e.borderStyle,
74
+ "onUpdate:modelValue": l[0] || (l[0] = (r) => e.borderStyle = r),
75
+ dialogTitle: "数据编辑(json格式对象)",
76
+ "max-length": 1e3,
77
+ example: e.styleDataExample,
78
+ class: "common-item"
79
+ }, null, 8, ["modelValue"])
80
+ ]),
81
+ _: 1
82
+ }),
83
+ S(),
84
+ a(d, { label: "行样式" }, {
85
+ default: s(() => [
86
+ a(m, {
87
+ modelValue: e.rowStyle,
88
+ "onUpdate:modelValue": l[1] || (l[1] = (r) => e.rowStyle = r),
89
+ dialogTitle: "数据编辑(json格式对象)",
90
+ "max-length": 1e3,
91
+ example: e.styleDataExample,
92
+ class: "common-item"
93
+ }, null, 8, ["modelValue"])
94
+ ]),
95
+ _: 1
96
+ }),
97
+ S(),
98
+ a(d, { label: "列样式" }, {
99
+ default: s(() => [
100
+ a(m, {
101
+ modelValue: e.colStyle,
102
+ "onUpdate:modelValue": l[2] || (l[2] = (r) => e.colStyle = r),
103
+ dialogTitle: "数据编辑(json格式对象)",
104
+ "max-length": 1e3,
105
+ example: e.styleDataExample,
106
+ class: "common-item"
107
+ }, null, 8, ["modelValue"])
108
+ ]),
109
+ _: 1
110
+ }),
111
+ S(),
112
+ a(d, { label: "对角线样式" }, {
113
+ default: s(() => [
114
+ a(m, {
115
+ modelValue: e.diagonalStyle,
116
+ "onUpdate:modelValue": l[3] || (l[3] = (r) => e.diagonalStyle = r),
117
+ dialogTitle: "数据编辑(json格式对象)",
118
+ "max-length": 1e3,
119
+ example: e.styleDataExample,
120
+ class: "common-item"
121
+ }, null, 8, ["modelValue"])
122
+ ]),
123
+ _: 1
124
+ })
125
+ ]),
126
+ _: 1
127
+ }, 8, ["size"])
128
+ ]),
129
+ _: 1
130
+ }, 8, ["page-id", "form-size"])
131
+ ]);
132
+ }
133
+ const A = /* @__PURE__ */ E(w, [["render", j], ["__scopeId", "data-v-1f7627e4"], ["__file", "Attr.vue"]]);
134
+ export {
135
+ A as default
136
+ };
@@ -23,20 +23,20 @@ const N = {
23
23
  let o = null;
24
24
  const s = k(() => e.value && y(e.value) ? e.value : i.title), b = () => {
25
25
  t("confirm", { callBack: o });
26
- }, p = () => {
26
+ }, f = () => {
27
27
  n.value = !1;
28
- }, f = (a = {}) => {
28
+ }, p = (a = {}) => {
29
29
  n.value = !0, o = a.callBack, e.value = a.title || "";
30
30
  };
31
31
  l({
32
- show: f,
33
- cancel: p
32
+ show: p,
33
+ cancel: f
34
34
  });
35
35
  const _ = { showTitle: e, openDialog: n, props: i, emit: t, get callBack() {
36
36
  return o;
37
37
  }, set callBack(a) {
38
38
  o = a;
39
- }, title: s, confirmInner: b, cancel: p, show: f, ref: d, computed: k, get isNotEmpty() {
39
+ }, title: s, confirmInner: b, cancel: f, show: p, ref: d, computed: k, get isNotEmpty() {
40
40
  return y;
41
41
  } };
42
42
  return Object.defineProperty(_, "__isScriptSetup", { enumerable: !1, value: !0 }), _;