fec-dev-designer 1.0.3 → 1.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/es/config-dev.js +7 -5
- package/es/node_modules/@element-plus/icons-vue/dist/index.js +107 -92
- package/es/node_modules/element-plus/es/components/result/index.js +7 -0
- package/es/node_modules/element-plus/es/components/result/src/result.js +34 -0
- package/es/node_modules/element-plus/es/components/result/src/result2.js +93 -0
- package/es/node_modules/element-plus/theme-chalk/el-result.css.js +4 -0
- package/es/src/components/OptionConfig.vue.js +1 -1
- package/es/src/components/ValueSelector.vue2.js +30 -24
- package/es/src/components/ValueSelectorPopover.vue2.js +2 -1
- package/es/src/index.js +6 -4
- package/es/src/layout/aside/index.vue.js +64 -60
- package/es/src/layout/index.vue.js +91 -54
- package/es/src/packages/dataSource/dataSource.vue.js +122 -118
- package/es/src/packages/eventFlow/dialog/action/Page.vue.js +29 -20
- package/es/src/packages/form/aside/index.js +17 -3
- package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +46 -42
- package/es/src/packages/form/default.js +1 -0
- package/es/src/packages/form/formSetting.vue.js +72 -50
- package/es/src/packages/form/index.vue.js +247 -202
- package/es/src/packages/form/property/blank.vue.js +62 -0
- package/es/src/packages/form/property/index.vue.js +21 -20
- package/es/src/packages/form/property/subTable.vue.js +61 -52
- package/es/src/packages/form/property/widgets.vue.js +280 -173
- package/es/src/packages/table/aside/index.js +1 -0
- package/es/src/packages/table/property/widgets.vue.js +96 -85
- package/es/src/packages/table/queryModule/FixedModeConfig.vue.js +6 -6
- package/es/src/packages/table/tablePagination.vue.js +37 -45
- package/es/src/packages/table/tableSetting.vue.js +12 -13
- package/es/src/store/designer.js +40 -0
- package/es/src/store/index.js +12 -39
- package/es/style.css +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import "../../../../node_modules/element-plus/theme-chalk/base.css.js";
|
|
|
2
2
|
import "../../../../node_modules/element-plus/theme-chalk/el-collapse.css.js";
|
|
3
3
|
import "../../../../node_modules/element-plus/theme-chalk/el-collapse-item.css.js";
|
|
4
4
|
import "../../../../node_modules/element-plus/theme-chalk/el-form.css.js";
|
|
5
|
+
import "../../../../node_modules/element-plus/theme-chalk/el-switch.css.js";
|
|
5
6
|
import "../../../../node_modules/element-plus/theme-chalk/el-radio.css.js";
|
|
6
7
|
import "../../../../node_modules/element-plus/theme-chalk/el-radio-group.css.js";
|
|
7
8
|
import "../../../../node_modules/element-plus/theme-chalk/el-radio-button.css.js";
|
|
@@ -15,40 +16,41 @@ import "../../../../node_modules/element-plus/theme-chalk/el-option-group.css.js
|
|
|
15
16
|
import "../../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
|
|
16
17
|
import "../../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
|
|
17
18
|
import "../../../../node_modules/element-plus/theme-chalk/el-select.css.js";
|
|
18
|
-
import { computed as k, ref as
|
|
19
|
-
import { getCurrentItem as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
19
|
+
import { computed as k, ref as N, openBlock as n, createBlock as i, unref as e, isRef as F, withCtx as d, createVNode as t, createElementBlock as _, Fragment as g, renderList as M, createCommentVNode as p, createTextVNode as b } from "vue";
|
|
20
|
+
import { getCurrentItem as B } from "../../utils/common.js";
|
|
21
|
+
import P from "../../../components/OptionConfig.vue.js";
|
|
22
|
+
import L from "../aside/index.js";
|
|
23
|
+
import O from "../../../components/EventConfigButton.vue.js";
|
|
23
24
|
import "./widgets.vue2.js";
|
|
24
|
-
import
|
|
25
|
-
import { ElOption as
|
|
26
|
-
import { ElInput as
|
|
27
|
-
import { ElFormItem as
|
|
28
|
-
import { ElCheckbox as
|
|
29
|
-
import { ElInputNumber as
|
|
30
|
-
import { ElRadioButton as
|
|
31
|
-
import {
|
|
32
|
-
|
|
25
|
+
import W from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
26
|
+
import { ElOption as z, ElSelect as D } from "../../../../node_modules/element-plus/es/components/select/index.js";
|
|
27
|
+
import { ElInput as R } from "../../../../node_modules/element-plus/es/components/input/index.js";
|
|
28
|
+
import { ElFormItem as A, ElForm as q } from "../../../../node_modules/element-plus/es/components/form/index.js";
|
|
29
|
+
import { ElCheckbox as G } from "../../../../node_modules/element-plus/es/components/checkbox/index.js";
|
|
30
|
+
import { ElInputNumber as j } from "../../../../node_modules/element-plus/es/components/input-number/index.js";
|
|
31
|
+
import { ElRadioButton as H, ElRadioGroup as J } from "../../../../node_modules/element-plus/es/components/radio/index.js";
|
|
32
|
+
import { ElSwitch as K } from "../../../../node_modules/element-plus/es/components/switch/index.js";
|
|
33
|
+
import { ElCollapseItem as Q, ElCollapse as X } from "../../../../node_modules/element-plus/es/components/collapse/index.js";
|
|
34
|
+
const Y = {
|
|
33
35
|
__name: "widgets",
|
|
34
|
-
setup(
|
|
35
|
-
const l = k(() =>
|
|
36
|
+
setup(Z) {
|
|
37
|
+
const l = k(() => B()), v = N(["common"]), w = k(() => {
|
|
36
38
|
var o;
|
|
37
|
-
const V =
|
|
38
|
-
return ((o = V == null ? void 0 : V.children) == null ? void 0 : o.filter((
|
|
39
|
+
const V = L.find((m) => m.name === "basic");
|
|
40
|
+
return ((o = V == null ? void 0 : V.children) == null ? void 0 : o.filter((m) => m.isShow)) || [];
|
|
39
41
|
});
|
|
40
|
-
function
|
|
42
|
+
function x(V) {
|
|
41
43
|
l.value;
|
|
42
44
|
}
|
|
43
45
|
return (V, o) => {
|
|
44
|
-
const
|
|
45
|
-
return n(), i(
|
|
46
|
+
const m = z, r = D, f = R, u = A, s = G, y = j, U = H, C = J, T = K, E = q, S = Q, I = X;
|
|
47
|
+
return n(), i(I, {
|
|
46
48
|
class: "setting",
|
|
47
|
-
modelValue: e(
|
|
48
|
-
"onUpdate:modelValue": o[
|
|
49
|
+
modelValue: e(v),
|
|
50
|
+
"onUpdate:modelValue": o[24] || (o[24] = (a) => F(v) ? v.value = a : null)
|
|
49
51
|
}, {
|
|
50
52
|
default: d(() => [
|
|
51
|
-
t(
|
|
53
|
+
t(S, {
|
|
52
54
|
name: "common",
|
|
53
55
|
title: "基本属性"
|
|
54
56
|
}, {
|
|
@@ -58,11 +60,11 @@ const Q = {
|
|
|
58
60
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => e(l).fieldType = a),
|
|
59
61
|
size: "small",
|
|
60
62
|
class: "field-type-select",
|
|
61
|
-
onChange:
|
|
63
|
+
onChange: x,
|
|
62
64
|
placement: "bottom-end"
|
|
63
65
|
}, {
|
|
64
66
|
default: d(() => [
|
|
65
|
-
(n(!0),
|
|
67
|
+
(n(!0), _(g, null, M(e(w), (a) => (n(), i(m, {
|
|
66
68
|
key: a.fieldType,
|
|
67
69
|
label: a.label,
|
|
68
70
|
value: a.fieldType
|
|
@@ -70,14 +72,14 @@ const Q = {
|
|
|
70
72
|
]),
|
|
71
73
|
_: 1
|
|
72
74
|
}, 8, ["modelValue"]),
|
|
73
|
-
(n(), i(
|
|
75
|
+
(n(), i(E, {
|
|
74
76
|
"label-position": "top",
|
|
75
77
|
"label-width": "auto",
|
|
76
78
|
model: e(l),
|
|
77
79
|
key: e(l).id
|
|
78
80
|
}, {
|
|
79
81
|
default: d(() => [
|
|
80
|
-
t(
|
|
82
|
+
t(u, {
|
|
81
83
|
label: "标题",
|
|
82
84
|
required: ""
|
|
83
85
|
}, {
|
|
@@ -89,7 +91,7 @@ const Q = {
|
|
|
89
91
|
]),
|
|
90
92
|
_: 1
|
|
91
93
|
}),
|
|
92
|
-
t(
|
|
94
|
+
t(u, { label: "字段名称" }, {
|
|
93
95
|
default: d(() => [
|
|
94
96
|
t(f, {
|
|
95
97
|
modelValue: e(l).fieldName,
|
|
@@ -98,7 +100,7 @@ const Q = {
|
|
|
98
100
|
]),
|
|
99
101
|
_: 1
|
|
100
102
|
}),
|
|
101
|
-
t(
|
|
103
|
+
t(u, { label: "权限标识" }, {
|
|
102
104
|
default: d(() => [
|
|
103
105
|
t(f, {
|
|
104
106
|
modelValue: e(l).permission,
|
|
@@ -107,27 +109,27 @@ const Q = {
|
|
|
107
109
|
]),
|
|
108
110
|
_: 1
|
|
109
111
|
}),
|
|
110
|
-
e(l).fieldType === "number" ? (n(),
|
|
111
|
-
t(
|
|
112
|
+
e(l).fieldType === "number" ? (n(), _(g, { key: 0 }, [
|
|
113
|
+
t(u, { label: "格式" }, {
|
|
112
114
|
default: d(() => [
|
|
113
115
|
t(r, {
|
|
114
116
|
modelValue: e(l).format,
|
|
115
117
|
"onUpdate:modelValue": o[4] || (o[4] = (a) => e(l).format = a)
|
|
116
118
|
}, {
|
|
117
119
|
default: d(() => [
|
|
118
|
-
t(
|
|
120
|
+
t(m, {
|
|
119
121
|
label: "数值",
|
|
120
122
|
value: "number"
|
|
121
123
|
}),
|
|
122
|
-
t(
|
|
124
|
+
t(m, {
|
|
123
125
|
label: "数值(万)",
|
|
124
126
|
value: "wan"
|
|
125
127
|
}),
|
|
126
|
-
t(
|
|
128
|
+
t(m, {
|
|
127
129
|
label: "数值(百万)",
|
|
128
130
|
value: "million"
|
|
129
131
|
}),
|
|
130
|
-
t(
|
|
132
|
+
t(m, {
|
|
131
133
|
label: "百分比",
|
|
132
134
|
value: "percentage"
|
|
133
135
|
})
|
|
@@ -137,14 +139,14 @@ const Q = {
|
|
|
137
139
|
]),
|
|
138
140
|
_: 1
|
|
139
141
|
}),
|
|
140
|
-
t(
|
|
142
|
+
t(u, null, {
|
|
141
143
|
default: d(() => [
|
|
142
144
|
t(s, {
|
|
143
145
|
modelValue: e(l).hasDecimalPlaces,
|
|
144
146
|
"onUpdate:modelValue": o[5] || (o[5] = (a) => e(l).hasDecimalPlaces = a),
|
|
145
147
|
label: "保留小数位数"
|
|
146
148
|
}, null, 8, ["modelValue"]),
|
|
147
|
-
e(l).hasDecimalPlaces ? (n(), i(
|
|
149
|
+
e(l).hasDecimalPlaces ? (n(), i(y, {
|
|
148
150
|
key: 0,
|
|
149
151
|
style: { "margin-left": "10px", width: "80px" },
|
|
150
152
|
modelValue: e(l).decimalPlaces,
|
|
@@ -157,7 +159,7 @@ const Q = {
|
|
|
157
159
|
]),
|
|
158
160
|
_: 1
|
|
159
161
|
}),
|
|
160
|
-
e(l).format == "number" ? (n(), i(
|
|
162
|
+
e(l).format == "number" ? (n(), i(u, { key: 0 }, {
|
|
161
163
|
default: d(() => [
|
|
162
164
|
t(s, {
|
|
163
165
|
modelValue: e(l).showThousandsSeparator,
|
|
@@ -168,19 +170,19 @@ const Q = {
|
|
|
168
170
|
_: 1
|
|
169
171
|
})) : p("", !0)
|
|
170
172
|
], 64)) : p("", !0),
|
|
171
|
-
e(l).fieldType === "select" || e(l).fieldType === "multipleSelection" ? (n(),
|
|
172
|
-
t(
|
|
173
|
+
e(l).fieldType === "select" || e(l).fieldType === "multipleSelection" ? (n(), _(g, { key: 1 }, [
|
|
174
|
+
t(P, {
|
|
173
175
|
modelValue: e(l).optionConfig,
|
|
174
176
|
"onUpdate:modelValue": o[8] || (o[8] = (a) => e(l).optionConfig = a)
|
|
175
177
|
}, null, 8, ["modelValue"]),
|
|
176
|
-
t(
|
|
178
|
+
t(u, { label: "标签效果" }, {
|
|
177
179
|
default: d(() => [
|
|
178
180
|
t(r, {
|
|
179
181
|
modelValue: e(l).optionStyle,
|
|
180
182
|
"onUpdate:modelValue": o[9] || (o[9] = (a) => e(l).optionStyle = a)
|
|
181
183
|
}, {
|
|
182
184
|
default: d(() => [
|
|
183
|
-
t(
|
|
185
|
+
t(m, {
|
|
184
186
|
label: "默认",
|
|
185
187
|
value: "default"
|
|
186
188
|
})
|
|
@@ -191,7 +193,7 @@ const Q = {
|
|
|
191
193
|
_: 1
|
|
192
194
|
})
|
|
193
195
|
], 64)) : p("", !0),
|
|
194
|
-
e(l).fieldType === "date" ? (n(), i(
|
|
196
|
+
e(l).fieldType === "date" ? (n(), i(u, {
|
|
195
197
|
key: 2,
|
|
196
198
|
label: "类型"
|
|
197
199
|
}, {
|
|
@@ -201,31 +203,31 @@ const Q = {
|
|
|
201
203
|
"onUpdate:modelValue": o[10] || (o[10] = (a) => e(l).dateType = a)
|
|
202
204
|
}, {
|
|
203
205
|
default: d(() => [
|
|
204
|
-
t(
|
|
206
|
+
t(m, {
|
|
205
207
|
label: "年-月-日",
|
|
206
208
|
value: "date"
|
|
207
209
|
}),
|
|
208
|
-
t(
|
|
210
|
+
t(m, {
|
|
209
211
|
label: "年-周",
|
|
210
212
|
value: "week"
|
|
211
213
|
}),
|
|
212
|
-
t(
|
|
214
|
+
t(m, {
|
|
213
215
|
label: "年-月",
|
|
214
216
|
value: "month"
|
|
215
217
|
}),
|
|
216
|
-
t(
|
|
218
|
+
t(m, {
|
|
217
219
|
label: "年",
|
|
218
220
|
value: "year"
|
|
219
221
|
}),
|
|
220
|
-
t(
|
|
222
|
+
t(m, {
|
|
221
223
|
label: "年-月-日 时:分",
|
|
222
224
|
value: "datetime-minute"
|
|
223
225
|
}),
|
|
224
|
-
t(
|
|
226
|
+
t(m, {
|
|
225
227
|
label: "年-月-日 时:分:秒",
|
|
226
228
|
value: "datetime"
|
|
227
229
|
}),
|
|
228
|
-
t(
|
|
230
|
+
t(m, {
|
|
229
231
|
label: "多日期",
|
|
230
232
|
value: "dates"
|
|
231
233
|
})
|
|
@@ -235,7 +237,7 @@ const Q = {
|
|
|
235
237
|
]),
|
|
236
238
|
_: 1
|
|
237
239
|
})) : p("", !0),
|
|
238
|
-
t(
|
|
240
|
+
t(u, { label: "宽度模式" }, {
|
|
239
241
|
default: d(() => [
|
|
240
242
|
t(C, {
|
|
241
243
|
modelValue: e(l).widthMode,
|
|
@@ -244,13 +246,13 @@ const Q = {
|
|
|
244
246
|
}, {
|
|
245
247
|
default: d(() => [
|
|
246
248
|
t(U, { value: "auto" }, {
|
|
247
|
-
default: d(() => [...o[
|
|
249
|
+
default: d(() => [...o[25] || (o[25] = [
|
|
248
250
|
b("自适应", -1)
|
|
249
251
|
])]),
|
|
250
252
|
_: 1
|
|
251
253
|
}),
|
|
252
254
|
t(U, { value: "fixed" }, {
|
|
253
|
-
default: d(() => [...o[
|
|
255
|
+
default: d(() => [...o[26] || (o[26] = [
|
|
254
256
|
b("固定宽度", -1)
|
|
255
257
|
])]),
|
|
256
258
|
_: 1
|
|
@@ -261,19 +263,19 @@ const Q = {
|
|
|
261
263
|
]),
|
|
262
264
|
_: 1
|
|
263
265
|
}),
|
|
264
|
-
e(l).widthMode === "fixed" ? (n(), i(
|
|
266
|
+
e(l).widthMode === "fixed" ? (n(), i(u, {
|
|
265
267
|
key: 3,
|
|
266
268
|
label: "固定宽度"
|
|
267
269
|
}, {
|
|
268
270
|
default: d(() => [
|
|
269
|
-
t(
|
|
271
|
+
t(y, {
|
|
270
272
|
modelValue: e(l).width,
|
|
271
273
|
"onUpdate:modelValue": o[12] || (o[12] = (a) => e(l).width = a),
|
|
272
274
|
min: 80,
|
|
273
275
|
max: 500,
|
|
274
276
|
class: "width-input"
|
|
275
277
|
}, {
|
|
276
|
-
append: d(() => [...o[
|
|
278
|
+
append: d(() => [...o[27] || (o[27] = [
|
|
277
279
|
b("px", -1)
|
|
278
280
|
])]),
|
|
279
281
|
_: 1
|
|
@@ -281,19 +283,19 @@ const Q = {
|
|
|
281
283
|
]),
|
|
282
284
|
_: 1
|
|
283
285
|
})) : p("", !0),
|
|
284
|
-
e(l).widthMode === "auto" ? (n(), i(
|
|
286
|
+
e(l).widthMode === "auto" ? (n(), i(u, {
|
|
285
287
|
key: 4,
|
|
286
288
|
label: "最小宽度"
|
|
287
289
|
}, {
|
|
288
290
|
default: d(() => [
|
|
289
|
-
t(
|
|
291
|
+
t(y, {
|
|
290
292
|
modelValue: e(l).minWidth,
|
|
291
293
|
"onUpdate:modelValue": o[13] || (o[13] = (a) => e(l).minWidth = a),
|
|
292
294
|
min: 80,
|
|
293
295
|
max: 500,
|
|
294
296
|
class: "width-input"
|
|
295
297
|
}, {
|
|
296
|
-
append: d(() => [...o[
|
|
298
|
+
append: d(() => [...o[28] || (o[28] = [
|
|
297
299
|
b("px", -1)
|
|
298
300
|
])]),
|
|
299
301
|
_: 1
|
|
@@ -301,22 +303,31 @@ const Q = {
|
|
|
301
303
|
]),
|
|
302
304
|
_: 1
|
|
303
305
|
})) : p("", !0),
|
|
304
|
-
t(
|
|
306
|
+
t(u, { label: "超出自动换行" }, {
|
|
307
|
+
default: d(() => [
|
|
308
|
+
t(T, {
|
|
309
|
+
modelValue: e(l).isOverflowWrap,
|
|
310
|
+
"onUpdate:modelValue": o[14] || (o[14] = (a) => e(l).isOverflowWrap = a)
|
|
311
|
+
}, null, 8, ["modelValue"])
|
|
312
|
+
]),
|
|
313
|
+
_: 1
|
|
314
|
+
}),
|
|
315
|
+
t(u, { label: "表头对齐方式" }, {
|
|
305
316
|
default: d(() => [
|
|
306
317
|
t(r, {
|
|
307
318
|
modelValue: e(l).headerAlign,
|
|
308
|
-
"onUpdate:modelValue": o[
|
|
319
|
+
"onUpdate:modelValue": o[15] || (o[15] = (a) => e(l).headerAlign = a)
|
|
309
320
|
}, {
|
|
310
321
|
default: d(() => [
|
|
311
|
-
t(
|
|
322
|
+
t(m, {
|
|
312
323
|
label: "左对齐",
|
|
313
324
|
value: "left"
|
|
314
325
|
}),
|
|
315
|
-
t(
|
|
326
|
+
t(m, {
|
|
316
327
|
label: "居中",
|
|
317
328
|
value: "center"
|
|
318
329
|
}),
|
|
319
|
-
t(
|
|
330
|
+
t(m, {
|
|
320
331
|
label: "右对齐",
|
|
321
332
|
value: "right"
|
|
322
333
|
})
|
|
@@ -326,22 +337,22 @@ const Q = {
|
|
|
326
337
|
]),
|
|
327
338
|
_: 1
|
|
328
339
|
}),
|
|
329
|
-
t(
|
|
340
|
+
t(u, { label: "数据对齐方式" }, {
|
|
330
341
|
default: d(() => [
|
|
331
342
|
t(r, {
|
|
332
343
|
modelValue: e(l).align,
|
|
333
|
-
"onUpdate:modelValue": o[
|
|
344
|
+
"onUpdate:modelValue": o[16] || (o[16] = (a) => e(l).align = a)
|
|
334
345
|
}, {
|
|
335
346
|
default: d(() => [
|
|
336
|
-
t(
|
|
347
|
+
t(m, {
|
|
337
348
|
label: "左对齐",
|
|
338
349
|
value: "left"
|
|
339
350
|
}),
|
|
340
|
-
t(
|
|
351
|
+
t(m, {
|
|
341
352
|
label: "居中",
|
|
342
353
|
value: "center"
|
|
343
354
|
}),
|
|
344
|
-
t(
|
|
355
|
+
t(m, {
|
|
345
356
|
label: "右对齐",
|
|
346
357
|
value: "right"
|
|
347
358
|
})
|
|
@@ -351,41 +362,41 @@ const Q = {
|
|
|
351
362
|
]),
|
|
352
363
|
_: 1
|
|
353
364
|
}),
|
|
354
|
-
t(
|
|
365
|
+
t(u, { label: "前置内容" }, {
|
|
355
366
|
default: d(() => [
|
|
356
367
|
t(f, {
|
|
357
368
|
modelValue: e(l).prefix,
|
|
358
|
-
"onUpdate:modelValue": o[
|
|
369
|
+
"onUpdate:modelValue": o[17] || (o[17] = (a) => e(l).prefix = a)
|
|
359
370
|
}, null, 8, ["modelValue"])
|
|
360
371
|
]),
|
|
361
372
|
_: 1
|
|
362
373
|
}),
|
|
363
|
-
t(
|
|
374
|
+
t(u, { label: "后置内容" }, {
|
|
364
375
|
default: d(() => [
|
|
365
376
|
t(f, {
|
|
366
377
|
modelValue: e(l).suffix,
|
|
367
|
-
"onUpdate:modelValue": o[
|
|
378
|
+
"onUpdate:modelValue": o[18] || (o[18] = (a) => e(l).suffix = a)
|
|
368
379
|
}, null, 8, ["modelValue"])
|
|
369
380
|
]),
|
|
370
381
|
_: 1
|
|
371
382
|
}),
|
|
372
|
-
t(
|
|
383
|
+
t(u, { label: "数据脱敏" }, {
|
|
373
384
|
default: d(() => [
|
|
374
385
|
t(f, {
|
|
375
386
|
modelValue: e(l).dataMasking,
|
|
376
|
-
"onUpdate:modelValue": o[
|
|
387
|
+
"onUpdate:modelValue": o[19] || (o[19] = (a) => e(l).dataMasking = a)
|
|
377
388
|
}, null, 8, ["modelValue"])
|
|
378
389
|
]),
|
|
379
390
|
_: 1
|
|
380
391
|
}),
|
|
381
|
-
t(
|
|
392
|
+
t(u, { label: "超链接" }, {
|
|
382
393
|
default: d(() => [
|
|
383
394
|
t(s, {
|
|
384
395
|
modelValue: e(l).isLink,
|
|
385
|
-
"onUpdate:modelValue": o[
|
|
396
|
+
"onUpdate:modelValue": o[20] || (o[20] = (a) => e(l).isLink = a),
|
|
386
397
|
label: "启用超链接"
|
|
387
398
|
}, null, 8, ["modelValue"]),
|
|
388
|
-
e(l).isLink ? (n(), i(
|
|
399
|
+
e(l).isLink ? (n(), i(O, {
|
|
389
400
|
key: 0,
|
|
390
401
|
config: e(l).linkConfig,
|
|
391
402
|
onConfirm: (a) => e(l).linkConfig = a
|
|
@@ -393,21 +404,21 @@ const Q = {
|
|
|
393
404
|
]),
|
|
394
405
|
_: 1
|
|
395
406
|
}),
|
|
396
|
-
t(
|
|
407
|
+
t(u, { label: "其他" }, {
|
|
397
408
|
default: d(() => [
|
|
398
409
|
t(s, {
|
|
399
410
|
modelValue: e(l).canSort,
|
|
400
|
-
"onUpdate:modelValue": o[
|
|
411
|
+
"onUpdate:modelValue": o[21] || (o[21] = (a) => e(l).canSort = a),
|
|
401
412
|
label: "排序"
|
|
402
413
|
}, null, 8, ["modelValue"]),
|
|
403
414
|
t(s, {
|
|
404
415
|
modelValue: e(l).canCopy,
|
|
405
|
-
"onUpdate:modelValue": o[
|
|
416
|
+
"onUpdate:modelValue": o[22] || (o[22] = (a) => e(l).canCopy = a),
|
|
406
417
|
label: "复制"
|
|
407
418
|
}, null, 8, ["modelValue"]),
|
|
408
419
|
t(s, {
|
|
409
420
|
modelValue: e(l).isFixed,
|
|
410
|
-
"onUpdate:modelValue": o[
|
|
421
|
+
"onUpdate:modelValue": o[23] || (o[23] = (a) => e(l).isFixed = a),
|
|
411
422
|
label: "左侧固定"
|
|
412
423
|
}, null, 8, ["modelValue"])
|
|
413
424
|
]),
|
|
@@ -424,7 +435,7 @@ const Q = {
|
|
|
424
435
|
}, 8, ["modelValue"]);
|
|
425
436
|
};
|
|
426
437
|
}
|
|
427
|
-
},
|
|
438
|
+
}, Fe = /* @__PURE__ */ W(Y, [["__scopeId", "data-v-eefe621d"]]);
|
|
428
439
|
export {
|
|
429
|
-
|
|
440
|
+
Fe as default
|
|
430
441
|
};
|
|
@@ -11,7 +11,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-tag.css.js";
|
|
|
11
11
|
import "../../../../node_modules/element-plus/theme-chalk/el-option.css.js";
|
|
12
12
|
import "../../../../node_modules/element-plus/theme-chalk/el-option-group.css.js";
|
|
13
13
|
import "../../../../node_modules/element-plus/theme-chalk/el-select.css.js";
|
|
14
|
-
import { computed as p, reactive as q, watch as A, openBlock as u, createElementBlock as
|
|
14
|
+
import { computed as p, reactive as q, watch as A, openBlock as u, createElementBlock as b, createElementVNode as _, createVNode as r, withCtx as d, unref as c, normalizeStyle as H, Fragment as P, renderList as G, createBlock as f, withModifiers as k, normalizeClass as h, toDisplayString as J, createTextVNode as x } from "vue";
|
|
15
15
|
import { VueDraggable as K } from "../../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js";
|
|
16
16
|
import { Close as Q, Search as W, Refresh as X } from "../../../../node_modules/@element-plus/icons-vue/dist/index.js";
|
|
17
17
|
import { getEditConfigData as Y, setHoverItem as N, setSelectedItem as Z, getCurrentClass as F } from "../../utils/common.js";
|
|
@@ -96,7 +96,7 @@ const re = { class: "fixed-mode-config" }, de = { class: "filter-form-section" }
|
|
|
96
96
|
}
|
|
97
97
|
return (t, e) => {
|
|
98
98
|
const n = te, l = oe, g = le, z = ne, O = ae, R = se, j = ie, C = me;
|
|
99
|
-
return u(),
|
|
99
|
+
return u(), b("div", re, [
|
|
100
100
|
_("div", de, [
|
|
101
101
|
r(j, {
|
|
102
102
|
ref: "formRef",
|
|
@@ -115,12 +115,12 @@ const re = { class: "fixed-mode-config" }, de = { class: "filter-form-section" }
|
|
|
115
115
|
style: H({ "--column-count": v.value })
|
|
116
116
|
}, {
|
|
117
117
|
default: d(() => [
|
|
118
|
-
(u(!0),
|
|
118
|
+
(u(!0), b(P, null, G(m.value, (o) => (u(), f(R, {
|
|
119
119
|
key: o.id,
|
|
120
120
|
label: V(o),
|
|
121
121
|
onMouseenter: (i) => c(N)(o),
|
|
122
122
|
onMouseleave: e[0] || (e[0] = (i) => c(N)()),
|
|
123
|
-
onClick:
|
|
123
|
+
onClick: k((i) => c(Z)(o), ["stop"]),
|
|
124
124
|
class: h(c(F)(o))
|
|
125
125
|
}, {
|
|
126
126
|
label: d(() => [
|
|
@@ -131,7 +131,7 @@ const re = { class: "fixed-mode-config" }, de = { class: "filter-form-section" }
|
|
|
131
131
|
default: d(() => [
|
|
132
132
|
r(n, {
|
|
133
133
|
class: "delete-icon",
|
|
134
|
-
onClick:
|
|
134
|
+
onClick: k((i) => S(o), ["stop"])
|
|
135
135
|
}, {
|
|
136
136
|
default: d(() => [
|
|
137
137
|
r(c(Q))
|
|
@@ -212,7 +212,7 @@ const re = { class: "fixed-mode-config" }, de = { class: "filter-form-section" }
|
|
|
212
212
|
]);
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
|
-
}, Oe = /* @__PURE__ */ ee(ue, [["__scopeId", "data-v-
|
|
215
|
+
}, Oe = /* @__PURE__ */ ee(ue, [["__scopeId", "data-v-fe8daba2"]]);
|
|
216
216
|
export {
|
|
217
217
|
Oe as default
|
|
218
218
|
};
|