sun-form-v3 1.0.108 → 1.0.110
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index-B6-ZAd03.js +246 -0
- package/dist/{index-aVVGTvks.js → index-Bq9YDxLo.js} +89 -89
- package/dist/{index-CcQm-JOw.js → index-CgZIGTO6.js} +1 -1
- package/dist/index-D1gtY3fW.js +127 -0
- package/dist/{index-DKLdVKkV.js → index-DZhx9NrJ.js} +165 -165
- package/dist/{index-QxOmRCLL.js → index-DqiuJ1Kx.js} +100 -100
- package/dist/{index-bVwrXTS-.js → index-vu5RguVQ.js} +26581 -26523
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +135 -135
- package/package.json +5 -2
- package/dist/index-BOdLFItr.js +0 -127
- package/dist/index-CGcT-fr5.js +0 -246
@@ -0,0 +1,246 @@
|
|
1
|
+
import { computed as S, ref as C, resolveComponent as u, openBlock as k, createElementBlock as O, Fragment as U, createVNode as e, withCtx as l, createTextVNode as f, unref as i, isRef as J, createElementVNode as c } from "vue";
|
2
|
+
import { _ as E } from "./index-vu5RguVQ.js";
|
3
|
+
const H = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = {
|
4
|
+
__name: "dataConfig",
|
5
|
+
props: {
|
6
|
+
modelValue: [Object, null],
|
7
|
+
widget: {
|
8
|
+
type: Object
|
9
|
+
}
|
10
|
+
},
|
11
|
+
emits: ["update:modelValue"],
|
12
|
+
setup(v, { emit: a }) {
|
13
|
+
let w = v;
|
14
|
+
const o = S(() => w.widget.props);
|
15
|
+
let s = C(!1);
|
16
|
+
const n = C([]), _ = (x) => {
|
17
|
+
n.value.splice(x, 1);
|
18
|
+
}, V = () => {
|
19
|
+
n.value.push({
|
20
|
+
title: null,
|
21
|
+
value: null,
|
22
|
+
key: null,
|
23
|
+
unit: null
|
24
|
+
});
|
25
|
+
}, g = () => {
|
26
|
+
o.value.data && (n.value = JSON.parse(JSON.stringify(o.value.data))), s.value = !0;
|
27
|
+
}, d = () => {
|
28
|
+
s.value = !1;
|
29
|
+
}, z = () => {
|
30
|
+
o.value.data = JSON.parse(JSON.stringify(n.value)), s.value = !1;
|
31
|
+
};
|
32
|
+
return (x, t) => {
|
33
|
+
const r = u("el-button"), y = u("el-input"), b = u("vxe-column"), N = u("vxe-table"), j = u("vxe-modal");
|
34
|
+
return k(), O(U, null, [
|
35
|
+
e(r, {
|
36
|
+
plain: "",
|
37
|
+
icon: "Setting",
|
38
|
+
onClick: g,
|
39
|
+
type: o.value.data.length ? "primary" : ""
|
40
|
+
}, {
|
41
|
+
default: l(() => t[1] || (t[1] = [
|
42
|
+
f(" 数据配置 ")
|
43
|
+
])),
|
44
|
+
_: 1
|
45
|
+
}, 8, ["type"]),
|
46
|
+
e(j, {
|
47
|
+
transfer: "",
|
48
|
+
modelValue: i(s),
|
49
|
+
"onUpdate:modelValue": t[0] || (t[0] = (p) => J(s) ? s.value = p : s = p),
|
50
|
+
width: "830px",
|
51
|
+
height: "700px",
|
52
|
+
"show-footer": "",
|
53
|
+
onClose: d
|
54
|
+
}, {
|
55
|
+
title: l(() => t[2] || (t[2] = [
|
56
|
+
c("span", null, "数据配置", -1)
|
57
|
+
])),
|
58
|
+
default: l(() => [
|
59
|
+
c("div", H, [
|
60
|
+
e(r, {
|
61
|
+
type: "primary",
|
62
|
+
class: "w-16 mb-2",
|
63
|
+
onClick: V
|
64
|
+
}, {
|
65
|
+
default: l(() => t[3] || (t[3] = [
|
66
|
+
f("新增")
|
67
|
+
])),
|
68
|
+
_: 1
|
69
|
+
}),
|
70
|
+
c("div", B, [
|
71
|
+
e(N, {
|
72
|
+
ref: "mainTable",
|
73
|
+
data: n.value,
|
74
|
+
height: "auto",
|
75
|
+
"row-config": { isCurrent: !0, isHover: !0 },
|
76
|
+
size: "mini",
|
77
|
+
border: "",
|
78
|
+
"scroll-y": { enabled: !0 },
|
79
|
+
"column-config": { resizable: !0 },
|
80
|
+
align: "left",
|
81
|
+
class: "w-full"
|
82
|
+
}, {
|
83
|
+
default: l(() => [
|
84
|
+
e(b, {
|
85
|
+
field: "title",
|
86
|
+
title: "标题"
|
87
|
+
}, {
|
88
|
+
default: l(({ row: p }) => [
|
89
|
+
c("div", null, [
|
90
|
+
e(y, {
|
91
|
+
modelValue: p.title,
|
92
|
+
"onUpdate:modelValue": (m) => p.title = m
|
93
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
94
|
+
])
|
95
|
+
]),
|
96
|
+
_: 1
|
97
|
+
}),
|
98
|
+
e(b, {
|
99
|
+
field: "value",
|
100
|
+
title: "描述"
|
101
|
+
}, {
|
102
|
+
default: l(({ row: p }) => [
|
103
|
+
c("div", null, [
|
104
|
+
e(y, {
|
105
|
+
modelValue: p.description,
|
106
|
+
"onUpdate:modelValue": (m) => p.description = m
|
107
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
108
|
+
])
|
109
|
+
]),
|
110
|
+
_: 1
|
111
|
+
}),
|
112
|
+
e(b, {
|
113
|
+
title: "操作栏",
|
114
|
+
width: "60",
|
115
|
+
align: "center"
|
116
|
+
}, {
|
117
|
+
default: l(({ row: p, rowIndex: m }) => [
|
118
|
+
e(r, {
|
119
|
+
link: "",
|
120
|
+
type: "primary",
|
121
|
+
size: "small",
|
122
|
+
onClick: (D) => _(m)
|
123
|
+
}, {
|
124
|
+
default: l(() => t[4] || (t[4] = [
|
125
|
+
f("删除")
|
126
|
+
])),
|
127
|
+
_: 2
|
128
|
+
}, 1032, ["onClick"])
|
129
|
+
]),
|
130
|
+
_: 1
|
131
|
+
})
|
132
|
+
]),
|
133
|
+
_: 1
|
134
|
+
}, 8, ["data"])
|
135
|
+
])
|
136
|
+
])
|
137
|
+
]),
|
138
|
+
footer: l(() => [
|
139
|
+
e(r, {
|
140
|
+
icon: "Close",
|
141
|
+
size: "small",
|
142
|
+
onClick: d
|
143
|
+
}, {
|
144
|
+
default: l(() => t[5] || (t[5] = [
|
145
|
+
f("关闭")
|
146
|
+
])),
|
147
|
+
_: 1
|
148
|
+
}),
|
149
|
+
e(r, {
|
150
|
+
icon: "Check",
|
151
|
+
type: "primary",
|
152
|
+
size: "small",
|
153
|
+
onClick: z
|
154
|
+
}, {
|
155
|
+
default: l(() => t[6] || (t[6] = [
|
156
|
+
f("确认")
|
157
|
+
])),
|
158
|
+
_: 1
|
159
|
+
})
|
160
|
+
]),
|
161
|
+
_: 1
|
162
|
+
}, 8, ["modelValue"])
|
163
|
+
], 64);
|
164
|
+
};
|
165
|
+
}
|
166
|
+
}, h = /* @__PURE__ */ E(T, [["__scopeId", "data-v-4c8b2df2"]]), M = /* @__PURE__ */ Object.assign({ name: "config-steps" }, {
|
167
|
+
__name: "index",
|
168
|
+
props: {
|
169
|
+
designer: {
|
170
|
+
type: Object,
|
171
|
+
default: {}
|
172
|
+
},
|
173
|
+
widget: {
|
174
|
+
type: Object,
|
175
|
+
default: {}
|
176
|
+
}
|
177
|
+
},
|
178
|
+
setup(v) {
|
179
|
+
let a = v;
|
180
|
+
return (w, o) => {
|
181
|
+
const s = u("el-input"), n = u("common-label-container"), _ = u("el-radio-button"), V = u("el-radio-group"), g = u("el-switch");
|
182
|
+
return k(), O(U, null, [
|
183
|
+
e(n, { label: "间距" }, {
|
184
|
+
default: l(() => [
|
185
|
+
e(s, {
|
186
|
+
modelValue: i(a).widget.props.space,
|
187
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => i(a).widget.props.space = d),
|
188
|
+
placeholder: "填写间距"
|
189
|
+
}, null, 8, ["modelValue"])
|
190
|
+
]),
|
191
|
+
_: 1
|
192
|
+
}),
|
193
|
+
e(n, { label: "显示方向" }, {
|
194
|
+
default: l(() => [
|
195
|
+
e(V, {
|
196
|
+
modelValue: i(a).widget.props.direction,
|
197
|
+
"onUpdate:modelValue": o[1] || (o[1] = (d) => i(a).widget.props.direction = d)
|
198
|
+
}, {
|
199
|
+
default: l(() => [
|
200
|
+
e(_, {
|
201
|
+
value: "horizontal",
|
202
|
+
label: "horizontal"
|
203
|
+
}),
|
204
|
+
e(_, {
|
205
|
+
value: "vertical",
|
206
|
+
label: "vertical"
|
207
|
+
})
|
208
|
+
]),
|
209
|
+
_: 1
|
210
|
+
}, 8, ["modelValue"])
|
211
|
+
]),
|
212
|
+
_: 1
|
213
|
+
}),
|
214
|
+
e(n, { label: "是否居中对齐" }, {
|
215
|
+
default: l(() => [
|
216
|
+
e(g, {
|
217
|
+
modelValue: i(a).widget.props.alignCenter,
|
218
|
+
"onUpdate:modelValue": o[2] || (o[2] = (d) => i(a).widget.props.alignCenter = d)
|
219
|
+
}, null, 8, ["modelValue"])
|
220
|
+
]),
|
221
|
+
_: 1
|
222
|
+
}),
|
223
|
+
e(n, { label: "是否简洁风格" }, {
|
224
|
+
default: l(() => [
|
225
|
+
e(g, {
|
226
|
+
modelValue: i(a).widget.props.simple,
|
227
|
+
"onUpdate:modelValue": o[3] || (o[3] = (d) => i(a).widget.props.simple = d)
|
228
|
+
}, null, 8, ["modelValue"])
|
229
|
+
]),
|
230
|
+
_: 1
|
231
|
+
}),
|
232
|
+
e(n, { label: "步骤数据" }, {
|
233
|
+
default: l(() => [
|
234
|
+
e(h, {
|
235
|
+
widget: i(a).widget
|
236
|
+
}, null, 8, ["widget"])
|
237
|
+
]),
|
238
|
+
_: 1
|
239
|
+
})
|
240
|
+
], 64);
|
241
|
+
};
|
242
|
+
}
|
243
|
+
});
|
244
|
+
export {
|
245
|
+
M as default
|
246
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { computed as
|
2
|
-
import { _ as E, c as H } from "./index-
|
3
|
-
const
|
1
|
+
import { computed as z, ref as x, resolveComponent as p, openBlock as k, createElementBlock as U, Fragment as O, createVNode as e, withCtx as l, createTextVNode as V, unref as u, isRef as J, createElementVNode as m } from "vue";
|
2
|
+
import { _ as E, c as H } from "./index-vu5RguVQ.js";
|
3
|
+
const h = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = /* @__PURE__ */ Object.assign({ name: "commonStyleConfig" }, {
|
4
4
|
__name: "dataConfig",
|
5
5
|
props: {
|
6
6
|
modelValue: [Object, null],
|
@@ -9,68 +9,68 @@ const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(
|
|
9
9
|
}
|
10
10
|
},
|
11
11
|
emits: ["update:modelValue"],
|
12
|
-
setup(
|
13
|
-
let
|
14
|
-
const
|
15
|
-
let t =
|
16
|
-
const
|
17
|
-
|
18
|
-
},
|
19
|
-
|
12
|
+
setup(w, { emit: a }) {
|
13
|
+
let g = w;
|
14
|
+
const f = z(() => g.widget.props);
|
15
|
+
let t = x(!1);
|
16
|
+
const s = x([]), r = (C) => {
|
17
|
+
s.value.splice(C, 1);
|
18
|
+
}, v = () => {
|
19
|
+
s.value.push({
|
20
20
|
title: null,
|
21
21
|
value: null,
|
22
22
|
key: null,
|
23
23
|
unit: null
|
24
24
|
});
|
25
|
-
},
|
26
|
-
|
27
|
-
},
|
25
|
+
}, y = () => {
|
26
|
+
f.value.data && (s.value = JSON.parse(JSON.stringify(f.value.data))), t.value = !0;
|
27
|
+
}, d = () => {
|
28
28
|
t.value = !1;
|
29
|
-
},
|
30
|
-
|
29
|
+
}, N = () => {
|
30
|
+
f.value.data = JSON.parse(JSON.stringify(s.value)), t.value = !1;
|
31
31
|
};
|
32
|
-
return (
|
33
|
-
const
|
34
|
-
return
|
35
|
-
e(
|
32
|
+
return (C, n) => {
|
33
|
+
const c = p("el-button"), b = p("el-input"), _ = p("vxe-column"), j = p("vxe-table"), S = p("vxe-modal");
|
34
|
+
return k(), U(O, null, [
|
35
|
+
e(c, {
|
36
36
|
plain: "",
|
37
37
|
icon: "Setting",
|
38
|
-
onClick:
|
39
|
-
type:
|
38
|
+
onClick: y,
|
39
|
+
type: f.value.data.length ? "primary" : ""
|
40
40
|
}, {
|
41
|
-
default: l(() => [
|
41
|
+
default: l(() => n[1] || (n[1] = [
|
42
42
|
V(" 数据配置 ")
|
43
|
-
]),
|
43
|
+
])),
|
44
44
|
_: 1
|
45
45
|
}, 8, ["type"]),
|
46
|
-
e(
|
46
|
+
e(S, {
|
47
47
|
transfer: "",
|
48
|
-
modelValue:
|
49
|
-
"onUpdate:modelValue":
|
48
|
+
modelValue: u(t),
|
49
|
+
"onUpdate:modelValue": n[0] || (n[0] = (o) => J(t) ? t.value = o : t = o),
|
50
50
|
width: "830px",
|
51
51
|
height: "700px",
|
52
52
|
"show-footer": "",
|
53
|
-
onClose:
|
53
|
+
onClose: d
|
54
54
|
}, {
|
55
|
-
title: l(() => [
|
56
|
-
|
57
|
-
]),
|
55
|
+
title: l(() => n[2] || (n[2] = [
|
56
|
+
m("span", null, "数据配置", -1)
|
57
|
+
])),
|
58
58
|
default: l(() => [
|
59
|
-
m("div",
|
60
|
-
e(
|
59
|
+
m("div", h, [
|
60
|
+
e(c, {
|
61
61
|
type: "primary",
|
62
62
|
class: "w-16 mb-2",
|
63
|
-
onClick:
|
63
|
+
onClick: v
|
64
64
|
}, {
|
65
|
-
default: l(() => [
|
65
|
+
default: l(() => n[3] || (n[3] = [
|
66
66
|
V("新增")
|
67
|
-
]),
|
67
|
+
])),
|
68
68
|
_: 1
|
69
69
|
}),
|
70
|
-
m("div",
|
71
|
-
e(
|
70
|
+
m("div", B, [
|
71
|
+
e(j, {
|
72
72
|
ref: "mainTable",
|
73
|
-
data:
|
73
|
+
data: s.value,
|
74
74
|
height: "auto",
|
75
75
|
"row-config": { isCurrent: !0, isHover: !0 },
|
76
76
|
size: "mini",
|
@@ -89,7 +89,7 @@ const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(
|
|
89
89
|
m("div", null, [
|
90
90
|
e(b, {
|
91
91
|
modelValue: o.title,
|
92
|
-
"onUpdate:modelValue": (
|
92
|
+
"onUpdate:modelValue": (i) => o.title = i
|
93
93
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
94
94
|
])
|
95
95
|
]),
|
@@ -103,7 +103,7 @@ const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(
|
|
103
103
|
m("div", null, [
|
104
104
|
e(b, {
|
105
105
|
modelValue: o.value,
|
106
|
-
"onUpdate:modelValue": (
|
106
|
+
"onUpdate:modelValue": (i) => o.value = i
|
107
107
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
108
108
|
])
|
109
109
|
]),
|
@@ -117,7 +117,7 @@ const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(
|
|
117
117
|
m("div", null, [
|
118
118
|
e(b, {
|
119
119
|
modelValue: o.unit,
|
120
|
-
"onUpdate:modelValue": (
|
120
|
+
"onUpdate:modelValue": (i) => o.unit = i
|
121
121
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
122
122
|
])
|
123
123
|
]),
|
@@ -131,7 +131,7 @@ const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(
|
|
131
131
|
m("div", null, [
|
132
132
|
e(b, {
|
133
133
|
modelValue: o.key,
|
134
|
-
"onUpdate:modelValue": (
|
134
|
+
"onUpdate:modelValue": (i) => o.key = i
|
135
135
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
136
136
|
])
|
137
137
|
]),
|
@@ -142,16 +142,16 @@ const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(
|
|
142
142
|
width: "60",
|
143
143
|
align: "center"
|
144
144
|
}, {
|
145
|
-
default: l(({ row: o, rowIndex:
|
146
|
-
e(
|
145
|
+
default: l(({ row: o, rowIndex: i }) => [
|
146
|
+
e(c, {
|
147
147
|
link: "",
|
148
148
|
type: "primary",
|
149
149
|
size: "small",
|
150
|
-
onClick: (
|
150
|
+
onClick: (F) => r(i)
|
151
151
|
}, {
|
152
|
-
default: l(() => [
|
152
|
+
default: l(() => n[4] || (n[4] = [
|
153
153
|
V("删除")
|
154
|
-
]),
|
154
|
+
])),
|
155
155
|
_: 2
|
156
156
|
}, 1032, ["onClick"])
|
157
157
|
]),
|
@@ -164,25 +164,25 @@ const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(
|
|
164
164
|
])
|
165
165
|
]),
|
166
166
|
footer: l(() => [
|
167
|
-
e(
|
167
|
+
e(c, {
|
168
168
|
icon: "Close",
|
169
169
|
size: "small",
|
170
|
-
onClick:
|
170
|
+
onClick: d
|
171
171
|
}, {
|
172
|
-
default: l(() => [
|
172
|
+
default: l(() => n[5] || (n[5] = [
|
173
173
|
V("关闭")
|
174
|
-
]),
|
174
|
+
])),
|
175
175
|
_: 1
|
176
176
|
}),
|
177
|
-
e(
|
177
|
+
e(c, {
|
178
178
|
icon: "Check",
|
179
179
|
type: "primary",
|
180
180
|
size: "small",
|
181
|
-
onClick:
|
181
|
+
onClick: N
|
182
182
|
}, {
|
183
|
-
default: l(() => [
|
183
|
+
default: l(() => n[6] || (n[6] = [
|
184
184
|
V("确认")
|
185
|
-
]),
|
185
|
+
])),
|
186
186
|
_: 1
|
187
187
|
})
|
188
188
|
]),
|
@@ -191,7 +191,7 @@ const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(
|
|
191
191
|
], 64);
|
192
192
|
};
|
193
193
|
}
|
194
|
-
}),
|
194
|
+
}), D = /* @__PURE__ */ E(T, [["__scopeId", "data-v-657a5bea"]]), R = /* @__PURE__ */ Object.assign({ name: "config-statistic" }, {
|
195
195
|
__name: "index",
|
196
196
|
props: {
|
197
197
|
designer: {
|
@@ -203,71 +203,71 @@ const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(
|
|
203
203
|
default: {}
|
204
204
|
}
|
205
205
|
},
|
206
|
-
setup(
|
207
|
-
let a =
|
208
|
-
const
|
209
|
-
return (
|
210
|
-
const
|
211
|
-
return
|
212
|
-
e(
|
206
|
+
setup(w) {
|
207
|
+
let a = w;
|
208
|
+
const g = x(H);
|
209
|
+
return (f, t) => {
|
210
|
+
const s = p("el-color-picker"), r = p("common-label-container"), v = p("el-input"), y = p("el-input-number");
|
211
|
+
return k(), U(O, null, [
|
212
|
+
e(r, { label: "背景颜色" }, {
|
213
213
|
default: l(() => [
|
214
|
-
e(
|
215
|
-
modelValue:
|
216
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
214
|
+
e(s, {
|
215
|
+
modelValue: u(a).widget.props.color,
|
216
|
+
"onUpdate:modelValue": t[0] || (t[0] = (d) => u(a).widget.props.color = d),
|
217
217
|
"show-alpha": "",
|
218
|
-
predefine:
|
218
|
+
predefine: g.value
|
219
219
|
}, null, 8, ["modelValue", "predefine"])
|
220
220
|
]),
|
221
221
|
_: 1
|
222
222
|
}),
|
223
|
-
e(
|
223
|
+
e(r, { label: "字体颜色" }, {
|
224
224
|
default: l(() => [
|
225
|
-
e(
|
226
|
-
modelValue:
|
227
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
225
|
+
e(s, {
|
226
|
+
modelValue: u(a).widget.props.fontColor,
|
227
|
+
"onUpdate:modelValue": t[1] || (t[1] = (d) => u(a).widget.props.fontColor = d),
|
228
228
|
"show-alpha": "",
|
229
|
-
predefine:
|
229
|
+
predefine: g.value
|
230
230
|
}, null, 8, ["modelValue", "predefine"])
|
231
231
|
]),
|
232
232
|
_: 1
|
233
233
|
}),
|
234
|
-
e(
|
234
|
+
e(r, { label: "统计标题" }, {
|
235
235
|
default: l(() => [
|
236
|
-
e(
|
237
|
-
modelValue:
|
238
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
236
|
+
e(v, {
|
237
|
+
modelValue: u(a).widget.props.title,
|
238
|
+
"onUpdate:modelValue": t[2] || (t[2] = (d) => u(a).widget.props.title = d),
|
239
239
|
placeholder: "填写统计标题"
|
240
240
|
}, null, 8, ["modelValue"])
|
241
241
|
]),
|
242
242
|
_: 1
|
243
243
|
}),
|
244
|
-
e(
|
244
|
+
e(r, { label: "单位" }, {
|
245
245
|
default: l(() => [
|
246
|
-
e(
|
247
|
-
modelValue:
|
248
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
246
|
+
e(v, {
|
247
|
+
modelValue: u(a).widget.props.unit,
|
248
|
+
"onUpdate:modelValue": t[3] || (t[3] = (d) => u(a).widget.props.unit = d),
|
249
249
|
placeholder: "填写统计单位"
|
250
250
|
}, null, 8, ["modelValue"])
|
251
251
|
]),
|
252
252
|
_: 1
|
253
253
|
}),
|
254
|
-
e(
|
254
|
+
e(r, { label: "子项拆分" }, {
|
255
255
|
default: l(() => [
|
256
|
-
e(
|
256
|
+
e(y, {
|
257
257
|
class: "w-full",
|
258
258
|
placeholder: "子项拆分几个",
|
259
|
-
modelValue:
|
260
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
259
|
+
modelValue: u(a).widget.props.split,
|
260
|
+
"onUpdate:modelValue": t[4] || (t[4] = (d) => u(a).widget.props.split = d),
|
261
261
|
min: 1,
|
262
262
|
"controls-position": "right"
|
263
263
|
}, null, 8, ["modelValue"])
|
264
264
|
]),
|
265
265
|
_: 1
|
266
266
|
}),
|
267
|
-
e(
|
267
|
+
e(r, { label: "子项数据" }, {
|
268
268
|
default: l(() => [
|
269
|
-
e(
|
270
|
-
widget:
|
269
|
+
e(D, {
|
270
|
+
widget: u(a).widget
|
271
271
|
}, null, 8, ["widget"])
|
272
272
|
]),
|
273
273
|
_: 1
|
@@ -277,5 +277,5 @@ const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(
|
|
277
277
|
}
|
278
278
|
});
|
279
279
|
export {
|
280
|
-
|
280
|
+
R as default
|
281
281
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as g, resolveComponent as u, openBlock as b, createElementBlock as V, Fragment as w, createVNode as e, withCtx as n, unref as a } from "vue";
|
2
|
-
import { c } from "./index-
|
2
|
+
import { c } from "./index-vu5RguVQ.js";
|
3
3
|
const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
|
4
4
|
__name: "index",
|
5
5
|
props: {
|