fec-dev-designer 1.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.
Files changed (50) hide show
  1. package/es/node_modules/element-plus/{dist/locale → es/locale/lang}/zh-cn.js +0 -1
  2. package/es/package.json.js +66 -0
  3. package/es/src/assets/approvalHistory.png.js +4 -0
  4. package/es/src/assets/logo.png.js +4 -0
  5. package/es/src/components/DataSourceSelect.vue.js +2 -1
  6. package/es/src/components/FieldSetMapping.vue.js +245 -108
  7. package/es/src/components/OptionConfig.vue.js +3 -2
  8. package/es/src/components/OptionConfig.vue2.js +2 -2
  9. package/es/src/components/ParamsConfig.vue.js +2 -2
  10. package/es/src/components/ParamsConfig.vue2.js +31 -32
  11. package/es/src/components/TemplateSelector.vue.js +101 -81
  12. package/es/src/components/ValueSelector.vue2.js +49 -39
  13. package/es/src/layout/aside/HiddenFieldDialog.vue.js +313 -0
  14. package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue.js +72 -64
  15. package/es/src/layout/aside/index.vue.js +47 -50
  16. package/es/src/layout/header/index.vue.js +95 -84
  17. package/es/src/layout/index.vue.js +81 -76
  18. package/es/src/packages/advancedFilter/ValueInput.vue2.js +57 -60
  19. package/es/src/packages/dataSource/dataSource.vue.js +98 -105
  20. package/es/src/packages/dialog/index.vue.js +446 -322
  21. package/es/src/packages/event/index.vue2.js +44 -44
  22. package/es/src/packages/event/useEventDialog.js +2 -2
  23. package/es/src/packages/eventFlow/dialog/action/FormSubmit.vue2.js +47 -54
  24. package/es/src/packages/eventFlow/dialog/action/Page.vue.js +42 -49
  25. package/es/src/packages/form/aside/index.js +28 -2
  26. package/es/src/packages/form/aside/roleSelect.js +156 -0
  27. package/es/src/packages/form/aside/userSelect.js +206 -0
  28. package/es/src/packages/form/components/ApprovalHistory.vue.js +73 -0
  29. package/es/src/packages/form/components/ApprovalHistory.vue2.js +4 -0
  30. package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +51 -41
  31. package/es/src/packages/form/components/H2Wrapper.vue.js +13 -10
  32. package/es/src/packages/form/demo.js +8064 -0
  33. package/es/src/packages/form/headerBtn.vue.js +120 -99
  34. package/es/src/packages/form/index.vue.js +206 -180
  35. package/es/src/packages/form/property/approvalHistory.vue.js +178 -0
  36. package/es/src/packages/form/property/index.vue.js +23 -22
  37. package/es/src/packages/form/property/subTable.vue.js +37 -43
  38. package/es/src/packages/form/property/widgets.vue.js +258 -202
  39. package/es/src/packages/table/aside/index.js +2 -1
  40. package/es/src/packages/table/default.js +24 -21
  41. package/es/src/packages/table/index.vue.js +191 -155
  42. package/es/src/packages/table/property/widgets.vue.js +63 -47
  43. package/es/src/packages/table/queryModule/FixedModeConfig.vue.js +76 -77
  44. package/es/src/packages/table/queryModule/index.vue.js +108 -91
  45. package/es/src/packages/utils/common.js +33 -29
  46. package/es/style.css +1 -1
  47. package/package.json +1 -1
  48. package/es/src/packages/form/HiddenFieldDialog.vue.js +0 -258
  49. /package/es/src/{packages/form → layout/aside}/HiddenFieldDialog.vue2.js +0 -0
  50. /package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue2.js +0 -0
@@ -0,0 +1,313 @@
1
+ import "../../../node_modules/element-plus/theme-chalk/base.css.js";
2
+ import "../../../node_modules/element-plus/theme-chalk/el-dialog.css.js";
3
+ import "../../../node_modules/element-plus/theme-chalk/el-overlay.css.js";
4
+ import "../../../node_modules/element-plus/theme-chalk/el-table.css.js";
5
+ import "../../../node_modules/element-plus/theme-chalk/el-checkbox.css.js";
6
+ import "../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js";
7
+ import "../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
8
+ import "../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
9
+ import "../../../node_modules/element-plus/theme-chalk/el-input.css.js";
10
+ import "../../../node_modules/element-plus/theme-chalk/el-table-column.css.js";
11
+ import "../../../node_modules/element-plus/theme-chalk/el-tag.css.js";
12
+ import "../../../node_modules/element-plus/theme-chalk/el-button.css.js";
13
+ import { useModel as U, ref as b, computed as $, watch as H, openBlock as I, createBlock as M, withCtx as u, createElementVNode as p, createVNode as s, createTextVNode as m, unref as y, toDisplayString as S } from "vue";
14
+ import { Plus as P, RefreshRight as z, Delete as x } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
15
+ import { ElMessage as f, ElMessageBox as w } from "element-plus";
16
+ import { getEditConfigData as W, getEditConfigDataFields as Y, cloneDeep as v, getEditingType as V } from "../../packages/utils/common.js";
17
+ import { defaultProperty as j } from "../../packages/form/aside/index.js";
18
+ import { defaultProperty as q } from "../../packages/table/aside/index.js";
19
+ import "./HiddenFieldDialog.vue2.js";
20
+ import A from "../../../_virtual/_plugin-vue_export-helper.js";
21
+ import { ElButton as O } from "../../../node_modules/element-plus/es/components/button/index.js";
22
+ import { ElTableColumn as G, ElTable as J } from "../../../node_modules/element-plus/es/components/table/index.js";
23
+ import { ElInput as K } from "../../../node_modules/element-plus/es/components/input/index.js";
24
+ import { ElDialog as L } from "../../../node_modules/element-plus/es/components/dialog/index.js";
25
+ const Q = { class: "action-bar" }, X = { class: "left-buttons" }, Z = { class: "count-info" }, ee = { class: "field-list-container" }, le = { class: "field-name-cell" }, te = { class: "dialog-footer" }, ie = {
26
+ __name: "HiddenFieldDialog",
27
+ props: {
28
+ modelValue: { required: !0 },
29
+ modelModifiers: {}
30
+ },
31
+ emits: ["update:modelValue"],
32
+ setup(T) {
33
+ const h = U(T, "modelValue"), D = b(null), r = b([]), o = $(() => W()), a = b([]);
34
+ H(h, (i) => {
35
+ i && F();
36
+ });
37
+ const F = () => {
38
+ var i;
39
+ a.value = (((i = o.value) == null ? void 0 : i.hiddenFields) || []).map(
40
+ (e) => ({
41
+ ...e
42
+ })
43
+ );
44
+ };
45
+ function C(i) {
46
+ r.value = i;
47
+ }
48
+ function E() {
49
+ const i = {
50
+ id: "hidden_" + Date.now(),
51
+ fieldType: "text",
52
+ type: "widgets",
53
+ label: "",
54
+ fieldName: "",
55
+ value: ""
56
+ };
57
+ a.value.push(i), setTimeout(() => {
58
+ const e = document.querySelectorAll(".el-table__body .el-input input");
59
+ e.length > 0 && (e[0].focus(), e[0].select());
60
+ }, 100);
61
+ }
62
+ function k() {
63
+ for (const t of a.value) {
64
+ if (!t.label.trim()) {
65
+ f.warning("标签名不能为空");
66
+ return;
67
+ }
68
+ if (!t.fieldName.trim()) {
69
+ f.warning("字段名不能为空");
70
+ return;
71
+ }
72
+ }
73
+ const i = a.value.map((t) => t.fieldName), e = (Y() || []).map(
74
+ (t) => t.fieldName
75
+ ), d = i.filter(
76
+ (t, _) => i.indexOf(t) !== _
77
+ );
78
+ if (d.length > 0) {
79
+ f.error(`隐藏域字段名重复: ${d.join(", ")}`);
80
+ return;
81
+ }
82
+ const l = i.filter(
83
+ (t) => e.includes(t)
84
+ );
85
+ if (l.length > 0) {
86
+ f.error(`与表单字段冲突: ${l.join(", ")}`);
87
+ return;
88
+ }
89
+ o.value && (o.value.hiddenFields = v(a.value)), h.value = !1;
90
+ }
91
+ function N(i) {
92
+ w.confirm("确定要删除此隐藏域吗?", "提示", {
93
+ confirmButtonText: "确定",
94
+ cancelButtonText: "取消",
95
+ type: "warning"
96
+ }).then(() => {
97
+ const e = a.value.findIndex((d) => d.id === i.id);
98
+ e !== -1 && (a.value.splice(e, 1), f.success("删除成功"), o.value && (o.value.hiddenFields = v(a.value)));
99
+ }).catch(() => {
100
+ });
101
+ }
102
+ function R() {
103
+ w.confirm(
104
+ `确定要删除选中的 ${r.value.length} 个隐藏域吗?`,
105
+ "提示",
106
+ {
107
+ confirmButtonText: "确定",
108
+ cancelButtonText: "取消",
109
+ type: "warning"
110
+ }
111
+ ).then(() => {
112
+ r.value.forEach((i) => {
113
+ const e = a.value.findIndex((d) => d.id === i.id);
114
+ e !== -1 && a.value.splice(e, 1);
115
+ }), r.value = [], f.success("批量删除成功"), o.value && (o.value.hiddenFields = v(a.value));
116
+ }).catch(() => {
117
+ });
118
+ }
119
+ function B() {
120
+ if (r.value.length !== 0) {
121
+ if (o.value.fieldsData || (o.value.fieldsData = []), V() == "form") {
122
+ let e = o.value.fieldsData.reduce(
123
+ (d, l) => Math.max(d, l.y + l.h),
124
+ 0
125
+ );
126
+ r.value.forEach((d) => {
127
+ let l = v(d);
128
+ l.id = l.id + "", l.id.startsWith("hidden_") && (l.id = l.id.replace("hidden_", ""), l.fieldType = "text", l.type = "widgets", l = { ...j, ...l });
129
+ let t = { w: 1, h: 1 };
130
+ l.fieldType == "textarea" ? t = { w: 1, h: 2 } : l.fieldType == "divider" || l.fieldType == "h2" ? t = {
131
+ w: o.value.columns,
132
+ h: 1,
133
+ isResizable: !1
134
+ } : (l.fieldType == "subForm" || l.fieldType == "subTable" || l.fieldType == "approvalHistory") && (t = { w: o.value.columns, h: 2 }), t.y = e, e += t.h;
135
+ const _ = {
136
+ x: 0,
137
+ y: t.y,
138
+ w: t.w,
139
+ h: t.h,
140
+ i: l.id,
141
+ isResizable: t.isResizable !== !1,
142
+ component: l,
143
+ id: l.id
144
+ };
145
+ o.value.fieldsData.push(_);
146
+ const g = a.value.findIndex((n) => n.id == d.id);
147
+ g !== -1 && a.value.splice(g, 1);
148
+ });
149
+ } else
150
+ V() == "table" && r.value.forEach((i) => {
151
+ let e = v(i);
152
+ e.id = e.id + "", e.id.startsWith("hidden_") && (e.id = e.id.replace("hidden_", ""), e.fieldType = "text", e.type = "widgets", e = { ...q, ...e }), o.value.fieldsData.push(e);
153
+ const d = a.value.findIndex((l) => l.id == i.id);
154
+ d !== -1 && a.value.splice(d, 1);
155
+ });
156
+ o.value.hiddenFields = v(a.value), f.success(`已恢复 ${r.value.length} 个字段`), r.value = [];
157
+ }
158
+ }
159
+ return (i, e) => {
160
+ const d = O, l = G, t = K, _ = J, g = L;
161
+ return I(), M(g, {
162
+ modelValue: h.value,
163
+ "onUpdate:modelValue": e[1] || (e[1] = (n) => h.value = n),
164
+ title: "隐藏域配置",
165
+ width: "900px",
166
+ draggable: "",
167
+ overflow: "",
168
+ "append-to-body": "",
169
+ class: "fec-dev-designer-dialog"
170
+ }, {
171
+ footer: u(() => [
172
+ p("div", te, [
173
+ s(d, {
174
+ onClick: e[0] || (e[0] = (n) => h.value = !1)
175
+ }, {
176
+ default: u(() => [...e[6] || (e[6] = [
177
+ m("取消", -1)
178
+ ])]),
179
+ _: 1
180
+ }),
181
+ s(d, {
182
+ type: "primary",
183
+ onClick: k
184
+ }, {
185
+ default: u(() => [...e[7] || (e[7] = [
186
+ m("保存", -1)
187
+ ])]),
188
+ _: 1
189
+ })
190
+ ])
191
+ ]),
192
+ default: u(() => [
193
+ p("div", Q, [
194
+ p("div", X, [
195
+ s(d, {
196
+ type: "primary",
197
+ icon: y(P),
198
+ onClick: E
199
+ }, {
200
+ default: u(() => [...e[2] || (e[2] = [
201
+ m(" 添加隐藏域 ", -1)
202
+ ])]),
203
+ _: 1
204
+ }, 8, ["icon"]),
205
+ s(d, {
206
+ type: "primary",
207
+ icon: y(z),
208
+ disabled: r.value.length === 0,
209
+ onClick: B
210
+ }, {
211
+ default: u(() => [...e[3] || (e[3] = [
212
+ m(" 恢复 ", -1)
213
+ ])]),
214
+ _: 1
215
+ }, 8, ["icon", "disabled"]),
216
+ s(d, {
217
+ type: "danger",
218
+ icon: y(x),
219
+ disabled: !r.value.length,
220
+ onClick: R
221
+ }, {
222
+ default: u(() => [...e[4] || (e[4] = [
223
+ m(" 批量删除 ", -1)
224
+ ])]),
225
+ _: 1
226
+ }, 8, ["icon", "disabled"])
227
+ ]),
228
+ p("div", Z, "共 " + S(a.value.length) + " 个隐藏域", 1)
229
+ ]),
230
+ p("div", ee, [
231
+ s(_, {
232
+ ref_key: "tableRef",
233
+ ref: D,
234
+ data: a.value,
235
+ onSelectionChange: C,
236
+ height: "400"
237
+ }, {
238
+ default: u(() => [
239
+ s(l, {
240
+ type: "selection",
241
+ width: "50"
242
+ }),
243
+ s(l, {
244
+ label: "标签名",
245
+ width: "160"
246
+ }, {
247
+ default: u(({ row: n }) => [
248
+ s(t, {
249
+ modelValue: n.label,
250
+ "onUpdate:modelValue": (c) => n.label = c,
251
+ placeholder: "请输入标签名"
252
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
253
+ ]),
254
+ _: 1
255
+ }),
256
+ s(l, {
257
+ label: "字段名",
258
+ width: "160"
259
+ }, {
260
+ default: u(({ row: n }) => [
261
+ p("div", le, [
262
+ s(t, {
263
+ modelValue: n.fieldName,
264
+ "onUpdate:modelValue": (c) => n.fieldName = c,
265
+ placeholder: "请输入字段名"
266
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
267
+ ])
268
+ ]),
269
+ _: 1
270
+ }),
271
+ s(l, { label: "初值" }, {
272
+ default: u(({ row: n }) => [
273
+ s(t, {
274
+ modelValue: n.value,
275
+ "onUpdate:modelValue": (c) => n.value = c,
276
+ placeholder: "请输入初值"
277
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
278
+ ]),
279
+ _: 1
280
+ }),
281
+ s(l, {
282
+ label: "操作",
283
+ width: "120",
284
+ fixed: "right"
285
+ }, {
286
+ default: u(({ row: n }) => [
287
+ s(d, {
288
+ link: "",
289
+ type: "danger",
290
+ icon: y(x),
291
+ onClick: (c) => N(n)
292
+ }, {
293
+ default: u(() => [...e[5] || (e[5] = [
294
+ m(" 删除 ", -1)
295
+ ])]),
296
+ _: 1
297
+ }, 8, ["icon", "onClick"])
298
+ ]),
299
+ _: 1
300
+ })
301
+ ]),
302
+ _: 1
303
+ }, 8, ["data"])
304
+ ])
305
+ ]),
306
+ _: 1
307
+ }, 8, ["modelValue"]);
308
+ };
309
+ }
310
+ }, Ee = /* @__PURE__ */ A(ie, [["__scopeId", "data-v-b547a1f4"]]);
311
+ export {
312
+ Ee as default
313
+ };
@@ -9,51 +9,59 @@ import "../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
9
9
  import "../../../node_modules/element-plus/theme-chalk/el-table-column.css.js";
10
10
  import "../../../node_modules/element-plus/theme-chalk/el-tag.css.js";
11
11
  import "../../../node_modules/element-plus/theme-chalk/el-button.css.js";
12
- import { useModel as T, computed as F, ref as p, watch as R, openBlock as k, createBlock as M, withCtx as r, createVNode as i, createTextVNode as c, createElementVNode as f, unref as v } from "vue";
13
- import { RefreshRight as I, Delete as b } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
14
- import { getEditConfigData as N, cloneDeep as g } from "../utils/common.js";
12
+ import { useModel as F, computed as R, ref as f, watch as k, openBlock as I, createBlock as M, withCtx as r, createVNode as n, createTextVNode as c, createElementVNode as v, unref as g } from "vue";
13
+ import { RefreshRight as N, Delete as b } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
14
+ import { getEditConfigData as Y, getEditingType as x, cloneDeep as m } from "../../packages/utils/common.js";
15
15
  import "../../../node_modules/element-plus/theme-chalk/el-badge.css.js";
16
16
  import "../../../node_modules/element-plus/theme-chalk/el-message.css.js";
17
17
  import "../../../node_modules/element-plus/theme-chalk/el-message-box.css.js";
18
18
  import "../../../node_modules/element-plus/theme-chalk/el-input.css.js";
19
19
  import "./fieldRecycleBin.vue2.js";
20
- import Y from "../../../_virtual/_plugin-vue_export-helper.js";
20
+ import $ from "../../../_virtual/_plugin-vue_export-helper.js";
21
21
  import { ElMessage as h } from "../../../node_modules/element-plus/es/components/message/index.js";
22
22
  import { ElMessageBox as y } from "../../../node_modules/element-plus/es/components/message-box/index.js";
23
- import { ElButton as $ } from "../../../node_modules/element-plus/es/components/button/index.js";
24
- import { ElTableColumn as S, ElTable as q } from "../../../node_modules/element-plus/es/components/table/index.js";
25
- import { ElDialog as P } from "../../../node_modules/element-plus/es/components/dialog/index.js";
26
- const U = { class: "action-bar" }, j = { class: "left-buttons" }, z = { class: "field-list-container" }, A = {
23
+ import { ElButton as S } from "../../../node_modules/element-plus/es/components/button/index.js";
24
+ import { ElTableColumn as q, ElTable as P } from "../../../node_modules/element-plus/es/components/table/index.js";
25
+ import { ElDialog as U } from "../../../node_modules/element-plus/es/components/dialog/index.js";
26
+ const j = { class: "action-bar" }, z = { class: "left-buttons" }, A = { class: "field-list-container" }, G = {
27
27
  __name: "fieldRecycleBin",
28
28
  props: {
29
29
  modelValue: { required: !0 },
30
30
  modelModifiers: {}
31
31
  },
32
32
  emits: ["update:modelValue"],
33
- setup(x) {
34
- const s = T(x, "modelValue"), n = F(() => N()), l = p([]), o = p([]), w = p(null);
35
- R(s, (d) => {
36
- d && B();
33
+ setup(w) {
34
+ const s = F(w, "modelValue"), d = R(() => Y()), a = f([]), o = f([]), D = f(null);
35
+ k(s, (i) => {
36
+ i && E();
37
37
  });
38
- const B = () => {
39
- l.value = n.value.deletedFields || [];
40
- }, C = (d) => {
41
- o.value = d;
42
- }, D = () => {
43
- if (o.value.length === 0)
44
- return;
45
- n.value.fieldsData || (n.value.fieldsData = []);
46
- let e = n.value.fieldsData.reduce(
47
- (a, t) => Math.max(a, t.y + t.h),
48
- 0
49
- );
50
- o.value.forEach((a) => {
51
- const t = g(a.data);
52
- t.y = e, e += t.h, n.value.fieldsData.push(t);
53
- const u = l.value.findIndex((m) => m === a);
54
- u !== -1 && l.value.splice(u, 1);
55
- }), n.value.deletedFields = g(l.value), h.success(`已恢复 ${o.value.length} 个字段`), o.value = [];
56
- }, E = async () => {
38
+ const E = () => {
39
+ a.value = d.value.deletedFields || [];
40
+ }, B = (i) => {
41
+ o.value = i;
42
+ }, C = () => {
43
+ if (o.value.length !== 0) {
44
+ if (d.value.fieldsData || (d.value.fieldsData = []), x() == "form") {
45
+ let e = d.value.fieldsData.reduce(
46
+ (t, l) => Math.max(t, l.y + l.h),
47
+ 0
48
+ );
49
+ o.value.forEach((t) => {
50
+ const l = m(t.data);
51
+ l.y = e, e += l.h, d.value.fieldsData.push(l);
52
+ const u = a.value.findIndex((p) => p === t);
53
+ u !== -1 && a.value.splice(u, 1);
54
+ });
55
+ } else
56
+ x() == "table" && o.value.forEach((i) => {
57
+ const e = m(i.data);
58
+ d.value.fieldsData.push(e);
59
+ const t = a.value.findIndex((l) => l === i);
60
+ t !== -1 && a.value.splice(t, 1);
61
+ });
62
+ d.value.deletedFields = m(a.value), h.success(`已恢复 ${o.value.length} 个字段`), o.value = [];
63
+ }
64
+ }, T = async () => {
57
65
  if (o.value.length !== 0)
58
66
  try {
59
67
  await y.confirm(
@@ -64,14 +72,14 @@ const U = { class: "action-bar" }, j = { class: "left-buttons" }, z = { class: "
64
72
  cancelButtonText: "取消",
65
73
  type: "warning"
66
74
  }
67
- ), o.value.forEach((d) => {
68
- const e = l.value.findIndex((a) => a === d);
69
- e !== -1 && l.value.splice(e, 1);
70
- }), n.value.deletedFields = g(l.value), o.value = [], h.success("字段已彻底删除");
75
+ ), o.value.forEach((i) => {
76
+ const e = a.value.findIndex((t) => t === i);
77
+ e !== -1 && a.value.splice(e, 1);
78
+ }), d.value.deletedFields = m(a.value), o.value = [], h.success("字段已彻底删除");
71
79
  } catch {
72
80
  }
73
81
  }, V = async () => {
74
- if (l.value.length !== 0)
82
+ if (a.value.length !== 0)
75
83
  try {
76
84
  await y.confirm(
77
85
  "确定要清空回收站吗?此操作将永久删除所有字段,不可恢复。",
@@ -81,13 +89,13 @@ const U = { class: "action-bar" }, j = { class: "left-buttons" }, z = { class: "
81
89
  cancelButtonText: "取消",
82
90
  type: "warning"
83
91
  }
84
- ), l.value = [], n.value.deletedFields = [], h.success("回收站已清空");
92
+ ), a.value = [], d.value.deletedFields = [], h.success("回收站已清空");
85
93
  } catch {
86
94
  }
87
95
  };
88
- return (d, e) => {
89
- const a = $, t = S, u = q, m = P;
90
- return k(), M(m, {
96
+ return (i, e) => {
97
+ const t = S, l = q, u = P, p = U;
98
+ return I(), M(p, {
91
99
  modelValue: s.value,
92
100
  "onUpdate:modelValue": e[1] || (e[1] = (_) => s.value = _),
93
101
  title: "字段回收站",
@@ -98,7 +106,7 @@ const U = { class: "action-bar" }, j = { class: "left-buttons" }, z = { class: "
98
106
  class: "fec-dev-designer-dialog"
99
107
  }, {
100
108
  footer: r(() => [
101
- i(a, {
109
+ n(t, {
102
110
  onClick: e[0] || (e[0] = (_) => s.value = !1)
103
111
  }, {
104
112
  default: r(() => [...e[5] || (e[5] = [
@@ -108,24 +116,24 @@ const U = { class: "action-bar" }, j = { class: "left-buttons" }, z = { class: "
108
116
  })
109
117
  ]),
110
118
  default: r(() => [
111
- f("div", U, [
112
- f("div", j, [
113
- i(a, {
119
+ v("div", j, [
120
+ v("div", z, [
121
+ n(t, {
114
122
  type: "primary",
115
- icon: v(I),
123
+ icon: g(N),
116
124
  disabled: o.value.length === 0,
117
- onClick: D
125
+ onClick: C
118
126
  }, {
119
127
  default: r(() => [...e[2] || (e[2] = [
120
128
  c(" 恢复 ", -1)
121
129
  ])]),
122
130
  _: 1
123
131
  }, 8, ["icon", "disabled"]),
124
- i(a, {
132
+ n(t, {
125
133
  type: "danger",
126
- icon: v(b),
134
+ icon: g(b),
127
135
  disabled: o.value.length === 0,
128
- onClick: E
136
+ onClick: T
129
137
  }, {
130
138
  default: r(() => [...e[3] || (e[3] = [
131
139
  c(" 彻底删除 ", -1)
@@ -133,11 +141,11 @@ const U = { class: "action-bar" }, j = { class: "left-buttons" }, z = { class: "
133
141
  _: 1
134
142
  }, 8, ["icon", "disabled"])
135
143
  ]),
136
- i(a, {
144
+ n(t, {
137
145
  type: "danger",
138
- icon: v(b),
146
+ icon: g(b),
139
147
  plain: "",
140
- disabled: l.value.length === 0,
148
+ disabled: a.value.length === 0,
141
149
  onClick: V
142
150
  }, {
143
151
  default: r(() => [...e[4] || (e[4] = [
@@ -146,35 +154,35 @@ const U = { class: "action-bar" }, j = { class: "left-buttons" }, z = { class: "
146
154
  _: 1
147
155
  }, 8, ["icon", "disabled"])
148
156
  ]),
149
- f("div", z, [
150
- i(u, {
157
+ v("div", A, [
158
+ n(u, {
151
159
  ref_key: "tableRef",
152
- ref: w,
153
- data: l.value,
154
- onSelectionChange: C,
160
+ ref: D,
161
+ data: a.value,
162
+ onSelectionChange: B,
155
163
  height: "400"
156
164
  }, {
157
165
  default: r(() => [
158
- i(t, {
166
+ n(l, {
159
167
  type: "selection",
160
168
  width: "55"
161
169
  }),
162
- i(t, {
170
+ n(l, {
163
171
  prop: "label",
164
172
  label: "字段标签",
165
173
  "min-width": "120"
166
174
  }),
167
- i(t, {
175
+ n(l, {
168
176
  prop: "fieldName",
169
177
  label: "字段名称",
170
178
  "min-width": "120"
171
179
  }),
172
- i(t, {
180
+ n(l, {
173
181
  prop: "fieldType",
174
182
  label: "字段类型",
175
183
  width: "100"
176
184
  }),
177
- i(t, {
185
+ n(l, {
178
186
  prop: "deleteTime",
179
187
  label: "删除时间",
180
188
  width: "180"
@@ -188,7 +196,7 @@ const U = { class: "action-bar" }, j = { class: "left-buttons" }, z = { class: "
188
196
  }, 8, ["modelValue"]);
189
197
  };
190
198
  }
191
- }, ve = /* @__PURE__ */ Y(A, [["__scopeId", "data-v-0c7da658"]]);
199
+ }, ge = /* @__PURE__ */ $(G, [["__scopeId", "data-v-d770fcac"]]);
192
200
  export {
193
- ve as default
201
+ ge as default
194
202
  };