fec-dev-designer 5.1.2 → 5.1.3
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/node_modules/element-plus/{dist/locale → es/locale/lang}/zh-cn.js +0 -1
- package/es/src/components/FieldSetMapping.vue.js +245 -108
- package/es/src/components/TemplateSelector.vue.js +101 -81
- package/es/src/layout/aside/HiddenFieldDialog.vue.js +313 -0
- package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue.js +72 -64
- package/es/src/layout/aside/index.vue.js +47 -50
- package/es/src/layout/index.vue.js +81 -76
- package/es/src/packages/dialog/index.vue.js +41 -38
- package/es/src/packages/form/aside/index.js +2 -1
- package/es/src/packages/form/demo.js +8064 -0
- package/es/src/packages/form/headerBtn.vue.js +120 -99
- package/es/src/packages/form/index.vue.js +187 -171
- package/es/src/packages/table/index.vue.js +191 -155
- package/es/src/packages/table/queryModule/FixedModeConfig.vue.js +76 -77
- package/es/src/packages/table/queryModule/index.vue.js +108 -91
- package/es/src/packages/utils/common.js +33 -29
- package/es/style.css +1 -1
- package/package.json +1 -1
- package/es/src/packages/form/HiddenFieldDialog.vue.js +0 -258
- /package/es/src/{packages/form → layout/aside}/HiddenFieldDialog.vue2.js +0 -0
- /package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue2.js +0 -0
|
@@ -14,115 +14,141 @@ import "../../../node_modules/element-plus/theme-chalk/el-select.css.js";
|
|
|
14
14
|
import "../../../node_modules/element-plus/theme-chalk/el-link.css.js";
|
|
15
15
|
import "../../../node_modules/element-plus/theme-chalk/el-radio.css.js";
|
|
16
16
|
import "../../../node_modules/element-plus/theme-chalk/el-checkbox.css.js";
|
|
17
|
-
import { computed as
|
|
18
|
-
import { defaultOptBtn as
|
|
19
|
-
import { VueDraggable as
|
|
20
|
-
import { Setting as
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import { getEditConfigData as
|
|
17
|
+
import { computed as G, ref as J, resolveComponent as S, openBlock as a, createElementBlock as f, Fragment as x, createVNode as n, unref as s, createElementVNode as d, createBlock as c, createCommentVNode as m, withCtx as r, renderList as $, withDirectives as K, normalizeClass as w, withModifiers as v, normalizeStyle as X, createTextVNode as V, toDisplayString as h, vShow as Y } from "vue";
|
|
18
|
+
import { defaultOptBtn as Z } from "./default.js";
|
|
19
|
+
import { VueDraggable as F } from "../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js";
|
|
20
|
+
import { Setting as ee, Hide as le, Delete as oe, Plus as te } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
|
|
21
|
+
import ne from "./tableBtn.vue.js";
|
|
22
|
+
import se from "./tableSetting.vue.js";
|
|
23
|
+
import ie from "./queryModule/index.vue.js";
|
|
24
|
+
import ae from "./tablePagination.vue.js";
|
|
25
|
+
import { getEditConfigData as de, getCurrentClass as z, setHoverItem as k, setSelectedItem as y } from "../utils/common.js";
|
|
26
|
+
import "../../../node_modules/element-plus/theme-chalk/el-badge.css.js";
|
|
27
|
+
import "../../../node_modules/element-plus/theme-chalk/el-message.css.js";
|
|
26
28
|
import "./index.vue2.js";
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
|
|
29
|
+
import re from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
30
|
+
import { ElMessage as pe } from "../../../node_modules/element-plus/es/components/message/index.js";
|
|
31
|
+
import { ElCheckbox as ue } from "../../../node_modules/element-plus/es/components/checkbox/index.js";
|
|
32
|
+
import { ElRadio as ce } from "../../../node_modules/element-plus/es/components/radio/index.js";
|
|
33
|
+
import { ElIcon as fe } from "../../../node_modules/element-plus/es/components/icon/index.js";
|
|
34
|
+
import { ElLink as me } from "../../../node_modules/element-plus/es/components/link/index.js";
|
|
35
|
+
import { ElOption as _e, ElSelect as ge } from "../../../node_modules/element-plus/es/components/select/index.js";
|
|
36
|
+
import { ElInputNumber as ve } from "../../../node_modules/element-plus/es/components/input-number/index.js";
|
|
37
|
+
import { ElDropdownMenu as be, ElDropdown as we } from "../../../node_modules/element-plus/es/components/dropdown/index.js";
|
|
38
|
+
import { ElScrollbar as Ve } from "../../../node_modules/element-plus/es/components/scrollbar/index.js";
|
|
39
|
+
import { ElTag as he } from "../../../node_modules/element-plus/es/components/tag/index.js";
|
|
40
|
+
const ke = { class: "table-work-area" }, ye = {
|
|
38
41
|
key: 0,
|
|
39
42
|
class: "table-selectMode"
|
|
40
|
-
},
|
|
43
|
+
}, Ce = { class: "widgets" }, xe = { class: "field-label" }, De = {
|
|
41
44
|
key: 1,
|
|
42
45
|
class: "table-indexMode"
|
|
43
|
-
},
|
|
46
|
+
}, Me = ["name", "onMouseenter", "onClick"], Be = { class: "widgets" }, Ee = { class: "field-label" }, Ue = { key: 1 }, Se = { class: "quick-operation" }, $e = { class: "quick-setting-panel" }, Fe = { class: "setting-row" }, ze = { class: "setting-row" }, Ne = {
|
|
44
47
|
key: 0,
|
|
45
48
|
class: "setting-row"
|
|
46
|
-
},
|
|
49
|
+
}, Oe = {
|
|
47
50
|
key: 1,
|
|
48
51
|
class: "setting-row"
|
|
49
|
-
}, Ie = { class: "setting-row" },
|
|
52
|
+
}, Ie = { class: "setting-row" }, Te = { class: "widgets" }, qe = {
|
|
50
53
|
__name: "index",
|
|
51
54
|
setup(We) {
|
|
52
|
-
function
|
|
53
|
-
const
|
|
54
|
-
return
|
|
55
|
+
function N(t) {
|
|
56
|
+
const l = {};
|
|
57
|
+
return t.widthMode === "fixed" && t.width && (l.width = t.width + "px"), t.widthMode === "auto" && t.minWidth && (l.minWidth = t.minWidth + "px"), !t.widthMode && t.width && (l.width = t.width + "px"), l;
|
|
55
58
|
}
|
|
56
|
-
function
|
|
57
|
-
const
|
|
58
|
-
return
|
|
59
|
+
function O(t) {
|
|
60
|
+
const l = {};
|
|
61
|
+
return t.headerAlign && (l[`align-header-${t.headerAlign}`] = !0), t.align && (l[`align-${t.align}`] = !0), l;
|
|
59
62
|
}
|
|
60
|
-
const
|
|
61
|
-
function
|
|
62
|
-
return
|
|
63
|
+
const o = G(() => de()), D = J(/* @__PURE__ */ new Map());
|
|
64
|
+
function M(t) {
|
|
65
|
+
return D.value.get(t) || !1;
|
|
63
66
|
}
|
|
64
|
-
function
|
|
65
|
-
|
|
67
|
+
function I(t, l) {
|
|
68
|
+
D.value.set(t, l);
|
|
66
69
|
}
|
|
67
|
-
function
|
|
68
|
-
|
|
70
|
+
function T() {
|
|
71
|
+
o.value.optBtns.push({
|
|
69
72
|
id: Date.now(),
|
|
70
|
-
...
|
|
73
|
+
...Z
|
|
71
74
|
});
|
|
72
75
|
}
|
|
73
|
-
function
|
|
74
|
-
const
|
|
75
|
-
(
|
|
76
|
+
function q(t) {
|
|
77
|
+
const l = o.value.optBtns.findIndex(
|
|
78
|
+
(u) => u.id === t.id
|
|
76
79
|
);
|
|
77
|
-
|
|
80
|
+
l !== -1 && o.value.optBtns.splice(l, 1), y();
|
|
78
81
|
}
|
|
79
|
-
function
|
|
80
|
-
|
|
81
|
-
|
|
82
|
+
function W(t) {
|
|
83
|
+
var u;
|
|
84
|
+
const l = o.value.fieldsData.findIndex(
|
|
85
|
+
(p) => p.id === t.id
|
|
82
86
|
);
|
|
83
|
-
|
|
87
|
+
if (l !== -1) {
|
|
88
|
+
const p = o.value.fieldsData[l];
|
|
89
|
+
o.value.deletedFields || (o.value.deletedFields = []);
|
|
90
|
+
const C = {
|
|
91
|
+
label: (p == null ? void 0 : p.label) || "",
|
|
92
|
+
fieldName: (p == null ? void 0 : p.fieldName) || "",
|
|
93
|
+
fieldType: (p == null ? void 0 : p.fieldType) || "",
|
|
94
|
+
deleteTime: (/* @__PURE__ */ new Date()).toLocaleString("zh-CN"),
|
|
95
|
+
data: p
|
|
96
|
+
};
|
|
97
|
+
o.value.deletedFields.push(C), o.value.fieldsData.splice(l, 1);
|
|
98
|
+
const _ = (u = o.value.queryConfig) == null ? void 0 : u.filterFields.findIndex(
|
|
99
|
+
(b) => b.fieldId == t.id
|
|
100
|
+
);
|
|
101
|
+
_ !== -1 && o.value.queryConfig.filterFields.splice(_, 1), pe.success("字段已移至回收站");
|
|
102
|
+
}
|
|
103
|
+
y();
|
|
84
104
|
}
|
|
85
|
-
function
|
|
86
|
-
|
|
105
|
+
function L(t) {
|
|
106
|
+
const l = o.value.fieldsData.findIndex(
|
|
107
|
+
(u) => u.id == t.id
|
|
108
|
+
);
|
|
109
|
+
l !== -1 && (o.value.hiddenFields || (o.value.hiddenFields = []), o.value.hiddenFields.push(t), o.value.fieldsData.splice(l, 1));
|
|
110
|
+
}
|
|
111
|
+
function B() {
|
|
112
|
+
return o.value.fieldsData.filter((t) => t.isShow).length;
|
|
87
113
|
}
|
|
88
|
-
function A(
|
|
114
|
+
function A(t) {
|
|
89
115
|
}
|
|
90
|
-
return (
|
|
91
|
-
const
|
|
92
|
-
return
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
116
|
+
return (t, l) => {
|
|
117
|
+
const u = ue, p = ce, C = S("DCaret"), _ = fe, b = me, H = S("CopyDocument"), g = _e, E = ge, U = ve, P = be, Q = we, R = Ve, j = he;
|
|
118
|
+
return a(), f(x, null, [
|
|
119
|
+
n(s(ie)),
|
|
120
|
+
n(ne),
|
|
121
|
+
n(se),
|
|
122
|
+
d("div", ke, [
|
|
123
|
+
s(o).selectMode !== "none" ? (a(), f("div", ye, [
|
|
124
|
+
d("div", Ce, [
|
|
125
|
+
s(o).selectMode === "multiple" ? (a(), c(u, {
|
|
100
126
|
key: 0,
|
|
101
127
|
disabled: ""
|
|
102
|
-
})) : (
|
|
128
|
+
})) : (a(), c(p, {
|
|
103
129
|
key: 1,
|
|
104
130
|
disabled: ""
|
|
105
131
|
}))
|
|
106
132
|
]),
|
|
107
|
-
|
|
108
|
-
|
|
133
|
+
d("div", xe, [
|
|
134
|
+
s(o).selectMode === "multiple" ? (a(), c(u, {
|
|
109
135
|
key: 0,
|
|
110
136
|
disabled: ""
|
|
111
|
-
})) : (
|
|
137
|
+
})) : (a(), c(p, {
|
|
112
138
|
key: 1,
|
|
113
139
|
disabled: ""
|
|
114
140
|
}))
|
|
115
141
|
])
|
|
116
142
|
])) : m("", !0),
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
143
|
+
s(o).showIndex ? (a(), f("div", De, [...l[5] || (l[5] = [
|
|
144
|
+
d("div", { class: "widgets" }, "序号", -1),
|
|
145
|
+
d("div", { class: "field-label" }, "1", -1)
|
|
120
146
|
])])) : m("", !0),
|
|
121
|
-
|
|
147
|
+
n(R, { style: { flex: "1" } }, {
|
|
122
148
|
default: r(() => [
|
|
123
|
-
|
|
124
|
-
modelValue:
|
|
125
|
-
"onUpdate:modelValue":
|
|
149
|
+
n(s(F), {
|
|
150
|
+
modelValue: s(o).fieldsData,
|
|
151
|
+
"onUpdate:modelValue": l[1] || (l[1] = (e) => s(o).fieldsData = e),
|
|
126
152
|
animation: 150,
|
|
127
153
|
group: "dev",
|
|
128
154
|
ghostClass: "ghost",
|
|
@@ -130,77 +156,77 @@ const we = { class: "table-work-area" }, Ve = {
|
|
|
130
156
|
onEnd: A
|
|
131
157
|
}, {
|
|
132
158
|
default: r(() => [
|
|
133
|
-
(
|
|
134
|
-
class:
|
|
135
|
-
|
|
136
|
-
|
|
159
|
+
(a(!0), f(x, null, $(s(o).fieldsData, (e) => K((a(), f("div", {
|
|
160
|
+
class: w(["table-item", [
|
|
161
|
+
s(z)(e),
|
|
162
|
+
O(e),
|
|
137
163
|
{ "flex-auto": e.widthMode === "auto" }
|
|
138
164
|
]]),
|
|
139
165
|
name: e.fieldName,
|
|
140
|
-
onMouseenter: (
|
|
141
|
-
onMouseleave:
|
|
142
|
-
onClick: v((
|
|
143
|
-
style:
|
|
166
|
+
onMouseenter: (i) => s(k)(e),
|
|
167
|
+
onMouseleave: l[0] || (l[0] = (i) => s(k)()),
|
|
168
|
+
onClick: v((i) => s(y)(e), ["stop"]),
|
|
169
|
+
style: X(N(e))
|
|
144
170
|
}, [
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
e.canSort ? (
|
|
171
|
+
d("div", Be, [
|
|
172
|
+
V(h(e.label) + " ", 1),
|
|
173
|
+
e.canSort ? (a(), c(_, { key: 0 }, {
|
|
148
174
|
default: r(() => [
|
|
149
|
-
|
|
175
|
+
n(C)
|
|
150
176
|
]),
|
|
151
177
|
_: 1
|
|
152
178
|
})) : m("", !0)
|
|
153
179
|
]),
|
|
154
|
-
|
|
155
|
-
e.isLink ? (
|
|
180
|
+
d("div", Ee, [
|
|
181
|
+
e.isLink ? (a(), c(b, {
|
|
156
182
|
key: 0,
|
|
157
183
|
type: "primary",
|
|
158
184
|
underline: "always",
|
|
159
185
|
style: { height: "20px" }
|
|
160
186
|
}, {
|
|
161
187
|
default: r(() => [
|
|
162
|
-
|
|
188
|
+
V(h(e.fieldName), 1)
|
|
163
189
|
]),
|
|
164
190
|
_: 2
|
|
165
|
-
}, 1024)) : (
|
|
166
|
-
e.canCopy ? (
|
|
191
|
+
}, 1024)) : (a(), f("span", Ue, h(e.fieldName), 1)),
|
|
192
|
+
e.canCopy ? (a(), c(_, { key: 2 }, {
|
|
167
193
|
default: r(() => [
|
|
168
|
-
|
|
194
|
+
n(H)
|
|
169
195
|
]),
|
|
170
196
|
_: 1
|
|
171
197
|
})) : m("", !0)
|
|
172
198
|
]),
|
|
173
|
-
|
|
174
|
-
|
|
199
|
+
d("div", Se, [
|
|
200
|
+
n(Q, {
|
|
175
201
|
"popper-class": `quick-operation-dropdown-${e.id}`,
|
|
176
202
|
trigger: "click",
|
|
177
203
|
placement: "bottom",
|
|
178
204
|
"hide-on-click": !1,
|
|
179
|
-
onVisibleChange: (
|
|
205
|
+
onVisibleChange: (i) => I(e.id, i)
|
|
180
206
|
}, {
|
|
181
207
|
dropdown: r(() => [
|
|
182
|
-
|
|
208
|
+
M(e.id) ? (a(), c(P, { key: 0 }, {
|
|
183
209
|
default: r(() => [
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
210
|
+
d("div", $e, [
|
|
211
|
+
d("div", Fe, [
|
|
212
|
+
l[6] || (l[6] = d("span", { class: "setting-label" }, "对齐:", -1)),
|
|
213
|
+
n(E, {
|
|
188
214
|
modelValue: e.align,
|
|
189
|
-
"onUpdate:modelValue": (
|
|
215
|
+
"onUpdate:modelValue": (i) => e.align = i,
|
|
190
216
|
size: "small",
|
|
191
217
|
class: "setting-select",
|
|
192
218
|
"append-to": `.quick-operation-dropdown-${e.id}`
|
|
193
219
|
}, {
|
|
194
220
|
default: r(() => [
|
|
195
|
-
|
|
221
|
+
n(g, {
|
|
196
222
|
label: "左对齐",
|
|
197
223
|
value: "left"
|
|
198
224
|
}),
|
|
199
|
-
|
|
225
|
+
n(g, {
|
|
200
226
|
label: "居中",
|
|
201
227
|
value: "center"
|
|
202
228
|
}),
|
|
203
|
-
|
|
229
|
+
n(g, {
|
|
204
230
|
label: "右对齐",
|
|
205
231
|
value: "right"
|
|
206
232
|
})
|
|
@@ -208,21 +234,21 @@ const we = { class: "table-work-area" }, Ve = {
|
|
|
208
234
|
_: 1
|
|
209
235
|
}, 8, ["modelValue", "onUpdate:modelValue", "append-to"])
|
|
210
236
|
]),
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
237
|
+
d("div", ze, [
|
|
238
|
+
l[7] || (l[7] = d("span", { class: "setting-label" }, "宽度:", -1)),
|
|
239
|
+
n(E, {
|
|
214
240
|
modelValue: e.widthMode,
|
|
215
|
-
"onUpdate:modelValue": (
|
|
241
|
+
"onUpdate:modelValue": (i) => e.widthMode = i,
|
|
216
242
|
size: "small",
|
|
217
243
|
class: "setting-select",
|
|
218
244
|
"append-to": `.quick-operation-dropdown-${e.id}`
|
|
219
245
|
}, {
|
|
220
246
|
default: r(() => [
|
|
221
|
-
|
|
247
|
+
n(g, {
|
|
222
248
|
label: "自适应",
|
|
223
249
|
value: "auto"
|
|
224
250
|
}),
|
|
225
|
-
|
|
251
|
+
n(g, {
|
|
226
252
|
label: "固定",
|
|
227
253
|
value: "fixed"
|
|
228
254
|
})
|
|
@@ -230,11 +256,11 @@ const we = { class: "table-work-area" }, Ve = {
|
|
|
230
256
|
_: 1
|
|
231
257
|
}, 8, ["modelValue", "onUpdate:modelValue", "append-to"])
|
|
232
258
|
]),
|
|
233
|
-
e.widthMode === "fixed" ? (
|
|
234
|
-
|
|
235
|
-
|
|
259
|
+
e.widthMode === "fixed" ? (a(), f("div", Ne, [
|
|
260
|
+
l[8] || (l[8] = d("span", { class: "setting-label" }, "固定:", -1)),
|
|
261
|
+
n(U, {
|
|
236
262
|
modelValue: e.width,
|
|
237
|
-
"onUpdate:modelValue": (
|
|
263
|
+
"onUpdate:modelValue": (i) => e.width = i,
|
|
238
264
|
size: "small",
|
|
239
265
|
min: 50,
|
|
240
266
|
max: 500,
|
|
@@ -242,11 +268,11 @@ const we = { class: "table-work-area" }, Ve = {
|
|
|
242
268
|
class: "setting-input"
|
|
243
269
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
244
270
|
])) : m("", !0),
|
|
245
|
-
e.widthMode === "auto" ? (
|
|
246
|
-
|
|
247
|
-
|
|
271
|
+
e.widthMode === "auto" ? (a(), f("div", Oe, [
|
|
272
|
+
l[9] || (l[9] = d("span", { class: "setting-label" }, "最小:", -1)),
|
|
273
|
+
n(U, {
|
|
248
274
|
modelValue: e.minWidth,
|
|
249
|
-
"onUpdate:modelValue": (
|
|
275
|
+
"onUpdate:modelValue": (i) => e.minWidth = i,
|
|
250
276
|
size: "small",
|
|
251
277
|
min: 80,
|
|
252
278
|
max: 500,
|
|
@@ -254,22 +280,22 @@ const we = { class: "table-work-area" }, Ve = {
|
|
|
254
280
|
class: "setting-input"
|
|
255
281
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
256
282
|
])) : m("", !0),
|
|
257
|
-
|
|
258
|
-
|
|
283
|
+
d("div", Ie, [
|
|
284
|
+
n(u, {
|
|
259
285
|
modelValue: e.canSort,
|
|
260
|
-
"onUpdate:modelValue": (
|
|
286
|
+
"onUpdate:modelValue": (i) => e.canSort = i,
|
|
261
287
|
label: "排序",
|
|
262
288
|
size: "small"
|
|
263
289
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
264
|
-
|
|
290
|
+
n(u, {
|
|
265
291
|
modelValue: e.isFixed,
|
|
266
|
-
"onUpdate:modelValue": (
|
|
292
|
+
"onUpdate:modelValue": (i) => e.isFixed = i,
|
|
267
293
|
label: "固定",
|
|
268
294
|
size: "small"
|
|
269
295
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
270
|
-
|
|
296
|
+
n(u, {
|
|
271
297
|
modelValue: e.canCopy,
|
|
272
|
-
"onUpdate:modelValue": (
|
|
298
|
+
"onUpdate:modelValue": (i) => e.canCopy = i,
|
|
273
299
|
label: "复制",
|
|
274
300
|
size: "small"
|
|
275
301
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -280,81 +306,91 @@ const we = { class: "table-work-area" }, Ve = {
|
|
|
280
306
|
}, 1024)) : m("", !0)
|
|
281
307
|
]),
|
|
282
308
|
default: r(() => [
|
|
283
|
-
|
|
284
|
-
class:
|
|
309
|
+
n(_, {
|
|
310
|
+
class: w(["setting-icon", { "is-active": M(e.id) }])
|
|
285
311
|
}, {
|
|
286
312
|
default: r(() => [
|
|
287
|
-
|
|
313
|
+
n(s(ee))
|
|
288
314
|
]),
|
|
289
315
|
_: 1
|
|
290
316
|
}, 8, ["class"])
|
|
291
317
|
]),
|
|
292
318
|
_: 2
|
|
293
319
|
}, 1032, ["popper-class", "onVisibleChange"]),
|
|
294
|
-
|
|
320
|
+
B() > 1 ? (a(), c(_, {
|
|
295
321
|
key: 0,
|
|
322
|
+
class: "icon-action setting-icon",
|
|
323
|
+
onClick: v((i) => L(e), ["stop"])
|
|
324
|
+
}, {
|
|
325
|
+
default: r(() => [
|
|
326
|
+
n(s(le))
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
}, 8, ["onClick"])) : m("", !0),
|
|
330
|
+
B() > 1 ? (a(), c(_, {
|
|
331
|
+
key: 1,
|
|
296
332
|
class: "icon-action delete",
|
|
297
|
-
onClick: v((
|
|
333
|
+
onClick: v((i) => W(e), ["stop"])
|
|
298
334
|
}, {
|
|
299
335
|
default: r(() => [
|
|
300
|
-
|
|
336
|
+
n(s(oe))
|
|
301
337
|
]),
|
|
302
338
|
_: 1
|
|
303
339
|
}, 8, ["onClick"])) : m("", !0)
|
|
304
340
|
])
|
|
305
|
-
], 46,
|
|
306
|
-
[
|
|
341
|
+
], 46, Me)), [
|
|
342
|
+
[Y, e.isShow]
|
|
307
343
|
])), 256))
|
|
308
344
|
]),
|
|
309
345
|
_: 1
|
|
310
346
|
}, 8, ["modelValue"]),
|
|
311
|
-
|
|
347
|
+
l[10] || (l[10] = d("div", { class: "widgets-opt-tools" }, null, -1))
|
|
312
348
|
]),
|
|
313
349
|
_: 1
|
|
314
350
|
}),
|
|
315
|
-
|
|
316
|
-
class:
|
|
351
|
+
d("div", {
|
|
352
|
+
class: w(["table-item table-btn", { close: !s(o).isOptBtns }])
|
|
317
353
|
}, [
|
|
318
|
-
|
|
319
|
-
|
|
354
|
+
d("div", Te, [
|
|
355
|
+
n(u, {
|
|
320
356
|
class: "isOptBtns",
|
|
321
|
-
modelValue:
|
|
322
|
-
"onUpdate:modelValue":
|
|
357
|
+
modelValue: s(o).isOptBtns,
|
|
358
|
+
"onUpdate:modelValue": l[2] || (l[2] = (e) => s(o).isOptBtns = e)
|
|
323
359
|
}, null, 8, ["modelValue"]),
|
|
324
|
-
|
|
325
|
-
|
|
360
|
+
l[12] || (l[12] = d("span", { class: "widgets-label" }, "操作", -1)),
|
|
361
|
+
n(b, {
|
|
326
362
|
class: "addLink",
|
|
327
363
|
underline: "never",
|
|
328
364
|
type: "primary",
|
|
329
|
-
icon:
|
|
330
|
-
onClick: v(
|
|
365
|
+
icon: s(te),
|
|
366
|
+
onClick: v(T, ["stop"])
|
|
331
367
|
}, {
|
|
332
|
-
default: r(() => [...
|
|
333
|
-
|
|
368
|
+
default: r(() => [...l[11] || (l[11] = [
|
|
369
|
+
V("按钮", -1)
|
|
334
370
|
])]),
|
|
335
371
|
_: 1
|
|
336
372
|
}, 8, ["icon"])
|
|
337
373
|
]),
|
|
338
|
-
|
|
339
|
-
modelValue:
|
|
340
|
-
"onUpdate:modelValue":
|
|
374
|
+
n(s(F), {
|
|
375
|
+
modelValue: s(o).optBtns,
|
|
376
|
+
"onUpdate:modelValue": l[4] || (l[4] = (e) => s(o).optBtns = e),
|
|
341
377
|
animation: 150,
|
|
342
378
|
ghostClass: "ghost",
|
|
343
379
|
class: "table-btn-option"
|
|
344
380
|
}, {
|
|
345
381
|
default: r(() => [
|
|
346
|
-
(
|
|
347
|
-
class:
|
|
382
|
+
(a(!0), f(x, null, $(s(o).optBtns, (e) => (a(), c(j, {
|
|
383
|
+
class: w(["opt-btn", s(z)(e)]),
|
|
348
384
|
closable: "",
|
|
349
385
|
effect: "plain",
|
|
350
386
|
size: "small",
|
|
351
|
-
onClose: (
|
|
352
|
-
onMouseenter: (
|
|
353
|
-
onMouseleave:
|
|
354
|
-
onClick: v((
|
|
387
|
+
onClose: (i) => q(e),
|
|
388
|
+
onMouseenter: (i) => s(k)(e),
|
|
389
|
+
onMouseleave: l[3] || (l[3] = (i) => s(k)()),
|
|
390
|
+
onClick: v((i) => s(y)(e), ["stop"])
|
|
355
391
|
}, {
|
|
356
392
|
default: r(() => [
|
|
357
|
-
|
|
393
|
+
V(h(e.label), 1)
|
|
358
394
|
]),
|
|
359
395
|
_: 2
|
|
360
396
|
}, 1032, ["class", "onClose", "onMouseenter", "onClick"]))), 256))
|
|
@@ -363,11 +399,11 @@ const we = { class: "table-work-area" }, Ve = {
|
|
|
363
399
|
}, 8, ["modelValue"])
|
|
364
400
|
], 2)
|
|
365
401
|
]),
|
|
366
|
-
|
|
402
|
+
n(ae)
|
|
367
403
|
], 64);
|
|
368
404
|
};
|
|
369
405
|
}
|
|
370
|
-
},
|
|
406
|
+
}, Dl = /* @__PURE__ */ re(qe, [["__scopeId", "data-v-ef6866d0"]]);
|
|
371
407
|
export {
|
|
372
|
-
|
|
408
|
+
Dl as default
|
|
373
409
|
};
|