fec-dev-designer 1.1.2 → 5.1.2

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 (34) hide show
  1. package/es/package.json.js +66 -0
  2. package/es/src/assets/approvalHistory.png.js +4 -0
  3. package/es/src/assets/logo.png.js +4 -0
  4. package/es/src/components/DataSourceSelect.vue.js +2 -1
  5. package/es/src/components/OptionConfig.vue.js +3 -2
  6. package/es/src/components/OptionConfig.vue2.js +2 -2
  7. package/es/src/components/ParamsConfig.vue.js +2 -2
  8. package/es/src/components/ParamsConfig.vue2.js +31 -32
  9. package/es/src/components/ValueSelector.vue2.js +49 -39
  10. package/es/src/layout/header/index.vue.js +95 -84
  11. package/es/src/packages/advancedFilter/ValueInput.vue2.js +57 -60
  12. package/es/src/packages/dataSource/dataSource.vue.js +98 -105
  13. package/es/src/packages/dialog/index.vue.js +443 -322
  14. package/es/src/packages/event/index.vue2.js +44 -44
  15. package/es/src/packages/event/useEventDialog.js +2 -2
  16. package/es/src/packages/eventFlow/dialog/action/FormSubmit.vue2.js +47 -54
  17. package/es/src/packages/eventFlow/dialog/action/Page.vue.js +42 -49
  18. package/es/src/packages/form/aside/index.js +27 -2
  19. package/es/src/packages/form/aside/roleSelect.js +156 -0
  20. package/es/src/packages/form/aside/userSelect.js +206 -0
  21. package/es/src/packages/form/components/ApprovalHistory.vue.js +73 -0
  22. package/es/src/packages/form/components/ApprovalHistory.vue2.js +4 -0
  23. package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +51 -41
  24. package/es/src/packages/form/components/H2Wrapper.vue.js +13 -10
  25. package/es/src/packages/form/index.vue.js +140 -130
  26. package/es/src/packages/form/property/approvalHistory.vue.js +178 -0
  27. package/es/src/packages/form/property/index.vue.js +23 -22
  28. package/es/src/packages/form/property/subTable.vue.js +37 -43
  29. package/es/src/packages/form/property/widgets.vue.js +258 -202
  30. package/es/src/packages/table/aside/index.js +2 -1
  31. package/es/src/packages/table/default.js +24 -21
  32. package/es/src/packages/table/property/widgets.vue.js +63 -47
  33. package/es/style.css +1 -1
  34. 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 j from "../../../components/ParamsConfig.vue2.js";
5
6
  import "../../../../node_modules/element-plus/theme-chalk/el-switch.css.js";
6
7
  import "../../../../node_modules/element-plus/theme-chalk/el-input.css.js";
7
8
  import "../../../../node_modules/element-plus/theme-chalk/el-input-number.css.js";
@@ -16,40 +17,40 @@ import "../../../../node_modules/element-plus/theme-chalk/el-option-group.css.js
16
17
  import "../../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
17
18
  import "../../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
18
19
  import "../../../../node_modules/element-plus/theme-chalk/el-select.css.js";
19
- import { computed as T, ref as G, openBlock as n, createBlock as f, unref as o, isRef as $, withCtx as d, createVNode as t, createElementBlock as V, Fragment as v, renderList as N, createTextVNode as x, createCommentVNode as r, createElementVNode as s } from "vue";
20
- import { getCurrentItem as j, getEditConfigData as S } from "../../utils/common.js";
21
- import A from "../../../components/OptionConfig.vue.js";
20
+ import { computed as T, ref as A, openBlock as n, createBlock as p, unref as o, isRef as H, withCtx as d, createVNode as t, createElementBlock as V, Fragment as b, renderList as P, createTextVNode as v, createCommentVNode as s, createElementVNode as r } from "vue";
21
+ import { getCurrentItem as J, getEditConfigData as N } from "../../utils/common.js";
22
+ import K from "../../../components/OptionConfig.vue.js";
22
23
  import F from "../aside/index.js";
23
24
  import B from "../../../components/EventConfigButton.vue.js";
24
- import P from "../../../components/DataSourceSelect.vue.js";
25
- import H from "../../../components/ConditionConfigButton.vue2.js";
26
- import J from "../../utils/eventBus.js";
25
+ import D from "../../../components/DataSourceSelect.vue.js";
26
+ import Q from "../../../components/ConditionConfigButton.vue2.js";
27
+ import X from "../../utils/eventBus.js";
27
28
  import "./widgets.vue2.js";
28
- import K from "../../../../_virtual/_plugin-vue_export-helper.js";
29
- import { ElOption as Q, ElSelect as X } from "../../../../node_modules/element-plus/es/components/select/index.js";
30
- import { ElInput as Y } from "../../../../node_modules/element-plus/es/components/input/index.js";
31
- import { ElFormItem as Z, ElForm as h } from "../../../../node_modules/element-plus/es/components/form/index.js";
32
- import { ElCheckbox as c } from "../../../../node_modules/element-plus/es/components/checkbox/index.js";
33
- import { ElRadioButton as ll, ElRadioGroup as el } from "../../../../node_modules/element-plus/es/components/radio/index.js";
34
- import { ElInputNumber as ol } from "../../../../node_modules/element-plus/es/components/input-number/index.js";
35
- import { ElSwitch as al } from "../../../../node_modules/element-plus/es/components/switch/index.js";
36
- import { ElCollapseItem as tl, ElCollapse as dl } from "../../../../node_modules/element-plus/es/components/collapse/index.js";
37
- const ul = {
29
+ import Y from "../../../../_virtual/_plugin-vue_export-helper.js";
30
+ import { ElOption as Z, ElSelect as h } from "../../../../node_modules/element-plus/es/components/select/index.js";
31
+ import { ElInput as c } from "../../../../node_modules/element-plus/es/components/input/index.js";
32
+ import { ElFormItem as ll, ElForm as el } from "../../../../node_modules/element-plus/es/components/form/index.js";
33
+ import { ElCheckbox as ol } from "../../../../node_modules/element-plus/es/components/checkbox/index.js";
34
+ import { ElRadioButton as al, ElRadioGroup as tl } from "../../../../node_modules/element-plus/es/components/radio/index.js";
35
+ import { ElInputNumber as dl } from "../../../../node_modules/element-plus/es/components/input-number/index.js";
36
+ import { ElSwitch as il } from "../../../../node_modules/element-plus/es/components/switch/index.js";
37
+ import { ElCollapseItem as ul, ElCollapse as nl } from "../../../../node_modules/element-plus/es/components/collapse/index.js";
38
+ const ml = {
38
39
  key: 0,
39
40
  class: "data-source-fields"
40
- }, il = { class: "field-item" }, nl = { class: "field-item" }, ml = {
41
+ }, sl = { class: "field-item" }, rl = { class: "field-item" }, pl = {
41
42
  key: 1,
42
43
  class: "data-source-fields"
43
- }, sl = { class: "field-item" }, rl = { class: "field-item" }, pl = { style: { display: "flex", "align-items": "center", gap: "8px" } }, fl = { class: "data-source-fields" }, Vl = { class: "field-item" }, bl = { class: "field-item" }, vl = { class: "field-item" }, yl = { class: "field-item" }, gl = { style: { display: "flex", "align-items": "center", gap: "20px", width: "100%" } }, xl = {
44
+ }, fl = { class: "field-item" }, Vl = { class: "field-item" }, bl = { style: { display: "flex", "align-items": "center", gap: "8px" } }, yl = { class: "data-source-fields" }, gl = { class: "field-item" }, vl = { class: "field-item" }, xl = { class: "field-item" }, Cl = { class: "field-item" }, Ul = { style: { display: "flex", "align-items": "center", gap: "20px", width: "100%" } }, Tl = {
44
45
  key: 0,
45
46
  style: { "margin-bottom": "12px", width: "100%" }
46
- }, Ul = {
47
+ }, kl = {
47
48
  key: 1,
48
49
  style: { "margin-bottom": "12px", width: "100%" }
49
- }, Cl = {
50
+ }, wl = {
50
51
  __name: "widgets",
51
- setup(Tl) {
52
- const l = T(() => j()), k = G(["common"]), w = {
52
+ setup(Sl) {
53
+ const l = T(() => J()), w = A(["common"]), E = {
53
54
  idCard: "请输入正确的身份证号",
54
55
  creditCode: "请输入正确的统一社会信用代码",
55
56
  zipCode: "请输入正确的邮编",
@@ -61,54 +62,54 @@ const ul = {
61
62
  mobilePhone: "请输入正确的手机号或座机号",
62
63
  regex: "请输入正确的格式",
63
64
  custom: "请输入正确的值"
64
- }, D = () => l.value.validationType && w[l.value.validationType] || "请输入提示信息", I = (p) => {
65
- p != "none" ? (l.value.validationMessage = w[p] || "请输入正确的值", p === "regex" ? l.value.validationPattern = "" : p === "custom" && (l.value.validationDataSource = "")) : (l.value.validationMessage = "", l.value.validationPattern = "", l.value.validationDataSource = "");
65
+ }, M = () => l.value.validationType && E[l.value.validationType] || "请输入提示信息", z = (f) => {
66
+ f != "none" ? (l.value.validationMessage = E[f] || "请输入正确的值", f === "regex" ? l.value.validationPattern = "" : f === "custom" && (l.value.validationDataSource = "")) : (l.value.validationMessage = "", l.value.validationPattern = "", l.value.validationDataSource = "");
66
67
  };
67
68
  T(() => [
68
69
  { id: "source1", name: "数据源1" },
69
70
  { id: "source2", name: "数据源2" }
70
71
  ]);
71
- const M = T(() => {
72
- const p = F.find((i) => i.name === "basic"), e = F.find((i) => i.name === "advanced");
73
- return [...p == null ? void 0 : p.children, ...e == null ? void 0 : e.children];
72
+ const I = T(() => {
73
+ const f = F.find((u) => u.name === "basic"), e = F.find((u) => u.name === "advanced");
74
+ return [...f == null ? void 0 : f.children, ...e == null ? void 0 : e.children];
74
75
  });
75
- function z(p) {
76
- const e = l.value, i = S().fieldsData, b = i == null ? void 0 : i.find((m) => {
77
- var u;
78
- return ((u = m.component) == null ? void 0 : u.id) === e.id;
76
+ function q(f) {
77
+ const e = l.value, u = N().fieldsData, y = u == null ? void 0 : u.find((m) => {
78
+ var i;
79
+ return ((i = m.component) == null ? void 0 : i.id) === e.id;
79
80
  });
80
- p === "textarea" ? b.h = 2 : b.h = 1, J.emit("resizeEvent");
81
+ f === "textarea" ? y.h = 2 : y.h = 1, X.emit("resizeEvent");
81
82
  }
82
- function _(p) {
83
- l.value.eventConfig = p;
83
+ function L(f) {
84
+ l.value.eventConfig = f;
84
85
  }
85
- function q(p) {
86
- l.value.suffixButtonConfig = p;
86
+ function O(f) {
87
+ l.value.suffixButtonConfig = f;
87
88
  }
88
- const L = T(() => S().dialogs || []);
89
- return (p, e) => {
90
- const i = Q, b = X, m = Y, u = Z, y = c, g = ll, E = el, U = ol, C = al, O = h, R = tl, W = dl;
91
- return n(), f(W, {
89
+ const _ = T(() => N().dialogs || []), C = T(() => l.value.fieldType == "userSelect" || l.value.fieldType == "roleSelect" || l.value.fieldType == "orgSelect");
90
+ return (f, e) => {
91
+ const u = Z, y = h, m = c, i = ll, x = ol, g = al, S = tl, U = dl, k = il, R = j, W = el, G = ul, $ = nl;
92
+ return n(), p($, {
92
93
  class: "setting",
93
- modelValue: o(k),
94
- "onUpdate:modelValue": e[46] || (e[46] = (a) => $(k) ? k.value = a : null)
94
+ modelValue: o(w),
95
+ "onUpdate:modelValue": e[49] || (e[49] = (a) => H(w) ? w.value = a : null)
95
96
  }, {
96
97
  default: d(() => [
97
- t(R, {
98
+ t(G, {
98
99
  name: "common",
99
100
  title: "基本属性"
100
101
  }, {
101
102
  default: d(() => [
102
- t(b, {
103
+ t(y, {
103
104
  modelValue: o(l).fieldType,
104
105
  "onUpdate:modelValue": e[0] || (e[0] = (a) => o(l).fieldType = a),
105
106
  size: "small",
106
107
  class: "field-type-select",
107
- onChange: z,
108
+ onChange: q,
108
109
  placement: "bottom-end"
109
110
  }, {
110
111
  default: d(() => [
111
- (n(!0), V(v, null, N(o(M), (a) => (n(), f(i, {
112
+ (n(!0), V(b, null, P(o(I), (a) => (n(), p(u, {
112
113
  key: a.fieldType,
113
114
  label: a.label,
114
115
  value: a.fieldType
@@ -116,14 +117,14 @@ const ul = {
116
117
  ]),
117
118
  _: 1
118
119
  }, 8, ["modelValue"]),
119
- (n(), f(O, {
120
+ (n(), p(W, {
120
121
  "label-position": "top",
121
122
  "label-width": "auto",
122
123
  model: o(l),
123
124
  key: o(l).id
124
125
  }, {
125
126
  default: d(() => [
126
- t(u, {
127
+ t(i, {
127
128
  label: "标题",
128
129
  required: ""
129
130
  }, {
@@ -135,8 +136,8 @@ const ul = {
135
136
  ]),
136
137
  _: 1
137
138
  }),
138
- o(l).fieldType === "cascader" || o(l).fieldType === "area" || o(l).fieldType === "industry" ? (n(), V(v, { key: 0 }, [
139
- t(u, { label: "真实值字段" }, {
139
+ o(l).fieldType === "cascader" || o(l).fieldType === "area" || o(l).fieldType === "industry" || o(C) ? (n(), V(b, { key: 0 }, [
140
+ t(i, { label: "真实值字段" }, {
140
141
  default: d(() => [
141
142
  t(m, {
142
143
  modelValue: o(l).fieldName,
@@ -145,7 +146,7 @@ const ul = {
145
146
  ]),
146
147
  _: 1
147
148
  }),
148
- t(u, { label: "显示字段" }, {
149
+ t(i, { label: "显示字段" }, {
149
150
  default: d(() => [
150
151
  t(m, {
151
152
  modelValue: o(l).displayFieldName,
@@ -154,7 +155,7 @@ const ul = {
154
155
  ]),
155
156
  _: 1
156
157
  })
157
- ], 64)) : (n(), f(u, {
158
+ ], 64)) : (n(), p(i, {
158
159
  key: 1,
159
160
  label: "字段名称"
160
161
  }, {
@@ -166,7 +167,7 @@ const ul = {
166
167
  ]),
167
168
  _: 1
168
169
  })),
169
- t(u, { label: "权限标识" }, {
170
+ t(i, { label: "权限标识" }, {
170
171
  default: d(() => [
171
172
  t(m, {
172
173
  modelValue: o(l).permission,
@@ -175,7 +176,7 @@ const ul = {
175
176
  ]),
176
177
  _: 1
177
178
  }),
178
- t(u, { label: "占位内容" }, {
179
+ t(i, { label: "占位内容" }, {
179
180
  default: d(() => [
180
181
  t(m, {
181
182
  modelValue: o(l).placeholder,
@@ -184,14 +185,14 @@ const ul = {
184
185
  ]),
185
186
  _: 1
186
187
  }),
187
- t(u, null, {
188
+ t(i, null, {
188
189
  default: d(() => [
189
- t(y, {
190
+ t(x, {
190
191
  modelValue: o(l).credit,
191
192
  "onUpdate:modelValue": e[7] || (e[7] = (a) => o(l).credit = a),
192
193
  label: "征信"
193
194
  }, null, 8, ["modelValue"]),
194
- t(y, {
195
+ t(x, {
195
196
  modelValue: o(l).regulation,
196
197
  "onUpdate:modelValue": e[8] || (e[8] = (a) => o(l).regulation = a),
197
198
  label: "监管"
@@ -199,29 +200,29 @@ const ul = {
199
200
  ]),
200
201
  _: 1
201
202
  }),
202
- t(u, { label: "标签模式" }, {
203
+ t(i, { label: "标签模式" }, {
203
204
  default: d(() => [
204
- t(E, {
205
+ t(S, {
205
206
  modelValue: o(l).labelMode,
206
207
  "onUpdate:modelValue": e[9] || (e[9] = (a) => o(l).labelMode = a),
207
208
  size: "small"
208
209
  }, {
209
210
  default: d(() => [
210
211
  t(g, { value: "default" }, {
211
- default: d(() => [...e[47] || (e[47] = [
212
- x("默认", -1)
212
+ default: d(() => [...e[50] || (e[50] = [
213
+ v("默认", -1)
213
214
  ])]),
214
215
  _: 1
215
216
  }),
216
217
  t(g, { value: "label" }, {
217
- default: d(() => [...e[48] || (e[48] = [
218
- x("标签", -1)
218
+ default: d(() => [...e[51] || (e[51] = [
219
+ v("标签", -1)
219
220
  ])]),
220
221
  _: 1
221
222
  }),
222
223
  t(g, { value: "input" }, {
223
- default: d(() => [...e[49] || (e[49] = [
224
- x("输入框", -1)
224
+ default: d(() => [...e[52] || (e[52] = [
225
+ v("输入框", -1)
225
226
  ])]),
226
227
  _: 1
227
228
  })
@@ -231,14 +232,15 @@ const ul = {
231
232
  ]),
232
233
  _: 1
233
234
  }),
234
- t(u, null, {
235
+ t(i, null, {
235
236
  default: d(() => [
236
- t(y, {
237
+ o(C) ? s("", !0) : (n(), p(x, {
238
+ key: 0,
237
239
  modelValue: o(l).readOnly,
238
240
  "onUpdate:modelValue": e[10] || (e[10] = (a) => o(l).readOnly = a),
239
241
  label: "只读"
240
- }, null, 8, ["modelValue"]),
241
- t(y, {
242
+ }, null, 8, ["modelValue"])),
243
+ t(x, {
242
244
  modelValue: o(l).disabled,
243
245
  "onUpdate:modelValue": e[11] || (e[11] = (a) => o(l).disabled = a),
244
246
  label: "禁用"
@@ -246,7 +248,7 @@ const ul = {
246
248
  ]),
247
249
  _: 1
248
250
  }),
249
- t(u, { label: "提示信息" }, {
251
+ t(i, { label: "提示信息" }, {
250
252
  default: d(() => [
251
253
  t(m, {
252
254
  modelValue: o(l).tooltip,
@@ -258,7 +260,7 @@ const ul = {
258
260
  ]),
259
261
  _: 1
260
262
  }),
261
- t(u, { label: "默认值" }, {
263
+ t(i, { label: "默认值" }, {
262
264
  default: d(() => [
263
265
  t(m, {
264
266
  modelValue: o(l).defaultValue,
@@ -267,8 +269,8 @@ const ul = {
267
269
  ]),
268
270
  _: 1
269
271
  }),
270
- o(l).fieldType === "text" || o(l).fieldType === "textarea" ? (n(), V(v, { key: 2 }, [
271
- t(u, { label: "最大长度" }, {
272
+ o(l).fieldType === "text" || o(l).fieldType === "textarea" ? (n(), V(b, { key: 2 }, [
273
+ t(i, { label: "最大长度" }, {
272
274
  default: d(() => [
273
275
  t(U, {
274
276
  style: { width: "100%" },
@@ -281,9 +283,9 @@ const ul = {
281
283
  ]),
282
284
  _: 1
283
285
  }),
284
- t(u, null, {
286
+ t(i, null, {
285
287
  default: d(() => [
286
- t(y, {
288
+ t(x, {
287
289
  modelValue: o(l).showWordCount,
288
290
  "onUpdate:modelValue": e[15] || (e[15] = (a) => o(l).showWordCount = a),
289
291
  label: "显示字数统计"
@@ -291,7 +293,7 @@ const ul = {
291
293
  ]),
292
294
  _: 1
293
295
  }),
294
- t(u, { label: "数据脱敏" }, {
296
+ t(i, { label: "数据脱敏" }, {
295
297
  default: d(() => [
296
298
  t(m, {
297
299
  modelValue: o(l).dataMasking,
@@ -300,34 +302,34 @@ const ul = {
300
302
  ]),
301
303
  _: 1
302
304
  })
303
- ], 64)) : r("", !0),
304
- o(l).fieldType === "text" ? (n(), V(v, { key: 3 }, [
305
- t(u, null, {
306
- label: d(() => [...e[50] || (e[50] = [
307
- s("span", null, "尾部按钮", -1)
305
+ ], 64)) : s("", !0),
306
+ o(l).fieldType === "text" ? (n(), V(b, { key: 3 }, [
307
+ t(i, null, {
308
+ label: d(() => [...e[53] || (e[53] = [
309
+ r("span", null, "尾部按钮", -1)
308
310
  ])]),
309
311
  default: d(() => [
310
- t(E, {
312
+ t(S, {
311
313
  modelValue: o(l).suffixButton,
312
314
  "onUpdate:modelValue": e[17] || (e[17] = (a) => o(l).suffixButton = a),
313
315
  size: "small"
314
316
  }, {
315
317
  default: d(() => [
316
318
  t(g, { value: "none" }, {
317
- default: d(() => [...e[51] || (e[51] = [
318
- x("无", -1)
319
+ default: d(() => [...e[54] || (e[54] = [
320
+ v("无", -1)
319
321
  ])]),
320
322
  _: 1
321
323
  }),
322
324
  t(g, { value: "dialog" }, {
323
- default: d(() => [...e[52] || (e[52] = [
324
- x("弹层选择", -1)
325
+ default: d(() => [...e[55] || (e[55] = [
326
+ v("弹层选择", -1)
325
327
  ])]),
326
328
  _: 1
327
329
  }),
328
330
  t(g, { value: "custom" }, {
329
- default: d(() => [...e[53] || (e[53] = [
330
- x("自定义", -1)
331
+ default: d(() => [...e[56] || (e[56] = [
332
+ v("自定义", -1)
331
333
  ])]),
332
334
  _: 1
333
335
  })
@@ -337,17 +339,17 @@ const ul = {
337
339
  ]),
338
340
  _: 1
339
341
  }),
340
- o(l).suffixButton == "dialog" ? (n(), V("div", ul, [
341
- s("div", il, [
342
- e[54] || (e[54] = s("span", { class: "field-label" }, "按钮名称", -1)),
342
+ o(l).suffixButton == "dialog" ? (n(), V("div", ml, [
343
+ r("div", sl, [
344
+ e[57] || (e[57] = r("span", { class: "field-label" }, "按钮名称", -1)),
343
345
  t(m, {
344
346
  modelValue: o(l).suffixDialogName,
345
347
  "onUpdate:modelValue": e[18] || (e[18] = (a) => o(l).suffixDialogName = a)
346
348
  }, null, 8, ["modelValue"])
347
349
  ]),
348
- s("div", nl, [
349
- e[55] || (e[55] = s("span", { class: "field-label" }, "选择弹层", -1)),
350
- t(b, {
350
+ r("div", rl, [
351
+ e[58] || (e[58] = r("span", { class: "field-label" }, "选择弹层", -1)),
352
+ t(y, {
351
353
  modelValue: o(l).suffixDialogId,
352
354
  "onUpdate:modelValue": e[19] || (e[19] = (a) => o(l).suffixDialogId = a),
353
355
  placeholder: "请选择弹层",
@@ -355,7 +357,7 @@ const ul = {
355
357
  style: { width: "100%" }
356
358
  }, {
357
359
  default: d(() => [
358
- (n(!0), V(v, null, N(o(L), (a) => (n(), f(i, {
360
+ (n(!0), V(b, null, P(o(_), (a) => (n(), p(u, {
359
361
  key: a.id,
360
362
  label: a.name,
361
363
  value: a.id
@@ -364,44 +366,44 @@ const ul = {
364
366
  _: 1
365
367
  }, 8, ["modelValue"])
366
368
  ])
367
- ])) : o(l).suffixButton == "custom" ? (n(), V("div", ml, [
368
- s("div", sl, [
369
- e[56] || (e[56] = s("span", { class: "field-label" }, "按钮名称", -1)),
369
+ ])) : o(l).suffixButton == "custom" ? (n(), V("div", pl, [
370
+ r("div", fl, [
371
+ e[59] || (e[59] = r("span", { class: "field-label" }, "按钮名称", -1)),
370
372
  t(m, {
371
373
  modelValue: o(l).suffixButtonName,
372
374
  "onUpdate:modelValue": e[20] || (e[20] = (a) => o(l).suffixButtonName = a)
373
375
  }, null, 8, ["modelValue"])
374
376
  ]),
375
- s("div", rl, [
376
- e[57] || (e[57] = s("span", { class: "field-label" }, "按钮事件", -1)),
377
+ r("div", Vl, [
378
+ e[60] || (e[60] = r("span", { class: "field-label" }, "按钮事件", -1)),
377
379
  t(B, {
378
380
  config: o(l).suffixButtonConfig,
379
- onConfirm: q
381
+ onConfirm: O
380
382
  }, null, 8, ["config"])
381
383
  ])
382
- ])) : r("", !0)
383
- ], 64)) : r("", !0),
384
- o(l).fieldType === "number" ? (n(), V(v, { key: 4 }, [
385
- t(u, { label: "格式" }, {
384
+ ])) : s("", !0)
385
+ ], 64)) : s("", !0),
386
+ o(l).fieldType === "number" ? (n(), V(b, { key: 4 }, [
387
+ t(i, { label: "格式" }, {
386
388
  default: d(() => [
387
- t(b, {
389
+ t(y, {
388
390
  modelValue: o(l).format,
389
391
  "onUpdate:modelValue": e[21] || (e[21] = (a) => o(l).format = a)
390
392
  }, {
391
393
  default: d(() => [
392
- t(i, {
394
+ t(u, {
393
395
  label: "数值",
394
396
  value: "number"
395
397
  }),
396
- t(i, {
398
+ t(u, {
397
399
  label: "数值(万)",
398
400
  value: "wan"
399
401
  }),
400
- t(i, {
402
+ t(u, {
401
403
  label: "数值(百万)",
402
404
  value: "million"
403
405
  }),
404
- t(i, {
406
+ t(u, {
405
407
  label: "百分比",
406
408
  value: "percentage"
407
409
  })
@@ -411,14 +413,14 @@ const ul = {
411
413
  ]),
412
414
  _: 1
413
415
  }),
414
- t(u, null, {
416
+ t(i, null, {
415
417
  default: d(() => [
416
- t(y, {
418
+ t(x, {
417
419
  modelValue: o(l).hasDecimalPlaces,
418
420
  "onUpdate:modelValue": e[22] || (e[22] = (a) => o(l).hasDecimalPlaces = a),
419
421
  label: "保留小数位数"
420
422
  }, null, 8, ["modelValue"]),
421
- o(l).hasDecimalPlaces ? (n(), f(U, {
423
+ o(l).hasDecimalPlaces ? (n(), p(U, {
422
424
  key: 0,
423
425
  style: { "margin-left": "10px", width: "80px" },
424
426
  modelValue: o(l).decimalPlaces,
@@ -427,26 +429,26 @@ const ul = {
427
429
  max: 10,
428
430
  "controls-position": "right",
429
431
  size: "small"
430
- }, null, 8, ["modelValue"])) : r("", !0)
432
+ }, null, 8, ["modelValue"])) : s("", !0)
431
433
  ]),
432
434
  _: 1
433
435
  }),
434
- o(l).format != "percentage" ? (n(), f(u, { key: 0 }, {
436
+ o(l).format != "percentage" ? (n(), p(i, { key: 0 }, {
435
437
  default: d(() => [
436
- t(y, {
438
+ t(x, {
437
439
  modelValue: o(l).showThousandsSeparator,
438
440
  "onUpdate:modelValue": e[24] || (e[24] = (a) => o(l).showThousandsSeparator = a),
439
441
  label: "显示千分符"
440
442
  }, null, 8, ["modelValue"])
441
443
  ]),
442
444
  _: 1
443
- })) : r("", !0),
444
- o(l).format !== "percentage" ? (n(), f(u, {
445
+ })) : s("", !0),
446
+ o(l).format !== "percentage" ? (n(), p(i, {
445
447
  key: 1,
446
448
  label: "数值范围"
447
449
  }, {
448
450
  default: d(() => [
449
- s("div", pl, [
451
+ r("div", bl, [
450
452
  t(U, {
451
453
  style: { width: "100%" },
452
454
  modelValue: o(l).minValue,
@@ -456,7 +458,7 @@ const ul = {
456
458
  "controls-position": "right",
457
459
  placeholder: "最小值"
458
460
  }, null, 8, ["modelValue"]),
459
- e[58] || (e[58] = s("span", { style: { color: "#909399", "font-size": "14px" } }, "-", -1)),
461
+ e[61] || (e[61] = r("span", { style: { color: "#909399", "font-size": "14px" } }, "-", -1)),
460
462
  t(U, {
461
463
  style: { width: "100%" },
462
464
  modelValue: o(l).maxValue,
@@ -469,10 +471,10 @@ const ul = {
469
471
  ])
470
472
  ]),
471
473
  _: 1
472
- })) : r("", !0)
473
- ], 64)) : r("", !0),
474
- o(l).fieldType === "text" || o(l).fieldType === "number" ? (n(), V(v, { key: 5 }, [
475
- t(u, { label: "前置内容" }, {
474
+ })) : s("", !0)
475
+ ], 64)) : s("", !0),
476
+ o(l).fieldType === "text" || o(l).fieldType === "number" ? (n(), V(b, { key: 5 }, [
477
+ t(i, { label: "前置内容" }, {
476
478
  default: d(() => [
477
479
  t(m, {
478
480
  modelValue: o(l).prefix,
@@ -481,7 +483,7 @@ const ul = {
481
483
  ]),
482
484
  _: 1
483
485
  }),
484
- t(u, { label: "后置内容" }, {
486
+ t(i, { label: "后置内容" }, {
485
487
  default: d(() => [
486
488
  t(m, {
487
489
  modelValue: o(l).suffix,
@@ -490,49 +492,49 @@ const ul = {
490
492
  ]),
491
493
  _: 1
492
494
  })
493
- ], 64)) : r("", !0),
494
- o(l).fieldType === "select" || o(l).fieldType === "multipleSelection" || o(l).fieldType === "radio" || o(l).fieldType === "checkbox" ? (n(), f(A, {
495
+ ], 64)) : s("", !0),
496
+ o(l).fieldType === "select" || o(l).fieldType === "multipleSelection" || o(l).fieldType === "radio" || o(l).fieldType === "checkbox" ? (n(), p(K, {
495
497
  key: 6,
496
498
  modelValue: o(l).optionConfig,
497
499
  "onUpdate:modelValue": e[29] || (e[29] = (a) => o(l).optionConfig = a)
498
- }, null, 8, ["modelValue"])) : r("", !0),
499
- o(l).fieldType === "cascader" ? (n(), V(v, { key: 7 }, [
500
- t(u, { label: "数据源" }, {
500
+ }, null, 8, ["modelValue"])) : s("", !0),
501
+ o(l).fieldType === "cascader" ? (n(), V(b, { key: 7 }, [
502
+ t(i, { label: "数据源" }, {
501
503
  default: d(() => [
502
- t(P, {
504
+ t(D, {
503
505
  modelValue: o(l).optionConfig.dataSourceValue,
504
506
  "onUpdate:modelValue": e[30] || (e[30] = (a) => o(l).optionConfig.dataSourceValue = a)
505
507
  }, null, 8, ["modelValue"])
506
508
  ]),
507
509
  _: 1
508
510
  }),
509
- s("div", fl, [
510
- s("div", Vl, [
511
- e[59] || (e[59] = s("span", { class: "field-label" }, "显示字段", -1)),
511
+ r("div", yl, [
512
+ r("div", gl, [
513
+ e[62] || (e[62] = r("span", { class: "field-label" }, "显示字段", -1)),
512
514
  t(m, {
513
515
  modelValue: o(l).optionConfig.displayField,
514
516
  "onUpdate:modelValue": e[31] || (e[31] = (a) => o(l).optionConfig.displayField = a),
515
517
  placeholder: "如:optName"
516
518
  }, null, 8, ["modelValue"])
517
519
  ]),
518
- s("div", bl, [
519
- e[60] || (e[60] = s("span", { class: "field-label" }, "值字段", -1)),
520
+ r("div", vl, [
521
+ e[63] || (e[63] = r("span", { class: "field-label" }, "值字段", -1)),
520
522
  t(m, {
521
523
  modelValue: o(l).optionConfig.valueField,
522
524
  "onUpdate:modelValue": e[32] || (e[32] = (a) => o(l).optionConfig.valueField = a),
523
525
  placeholder: "如:optCode"
524
526
  }, null, 8, ["modelValue"])
525
527
  ]),
526
- s("div", vl, [
527
- e[61] || (e[61] = s("span", { class: "field-label" }, "主键字段", -1)),
528
+ r("div", xl, [
529
+ e[64] || (e[64] = r("span", { class: "field-label" }, "主键字段", -1)),
528
530
  t(m, {
529
531
  modelValue: o(l).optionConfig.idField,
530
532
  "onUpdate:modelValue": e[33] || (e[33] = (a) => o(l).optionConfig.idField = a),
531
533
  placeholder: "如:id"
532
534
  }, null, 8, ["modelValue"])
533
535
  ]),
534
- s("div", yl, [
535
- e[62] || (e[62] = s("span", { class: "field-label" }, "父主键字段", -1)),
536
+ r("div", Cl, [
537
+ e[65] || (e[65] = r("span", { class: "field-label" }, "父主键字段", -1)),
536
538
  t(m, {
537
539
  modelValue: o(l).optionConfig.pidField,
538
540
  "onUpdate:modelValue": e[34] || (e[34] = (a) => o(l).optionConfig.pidField = a),
@@ -540,36 +542,36 @@ const ul = {
540
542
  }, null, 8, ["modelValue"])
541
543
  ])
542
544
  ])
543
- ], 64)) : r("", !0),
544
- o(l).fieldType === "cascader" || o(l).fieldType === "area" || o(l).fieldType === "industry" ? (n(), V(v, { key: 8 }, [
545
- t(u, { label: "是否多选" }, {
545
+ ], 64)) : s("", !0),
546
+ o(l).fieldType === "cascader" || o(l).fieldType === "area" || o(l).fieldType === "industry" ? (n(), V(b, { key: 8 }, [
547
+ t(i, { label: "是否多选" }, {
546
548
  default: d(() => [
547
- t(C, {
549
+ t(k, {
548
550
  modelValue: o(l).multiple,
549
551
  "onUpdate:modelValue": e[35] || (e[35] = (a) => o(l).multiple = a)
550
552
  }, null, 8, ["modelValue"])
551
553
  ]),
552
554
  _: 1
553
555
  }),
554
- t(u, { label: "显示完整路径" }, {
556
+ t(i, { label: "显示完整路径" }, {
555
557
  default: d(() => [
556
- t(C, {
558
+ t(k, {
557
559
  modelValue: o(l).showFullPath,
558
560
  "onUpdate:modelValue": e[36] || (e[36] = (a) => o(l).showFullPath = a)
559
561
  }, null, 8, ["modelValue"])
560
562
  ]),
561
563
  _: 1
562
564
  }),
563
- t(u, { label: "可选择任意一级" }, {
565
+ t(i, { label: "可选择任意一级" }, {
564
566
  default: d(() => [
565
- t(C, {
567
+ t(k, {
566
568
  modelValue: o(l).checkStrictly,
567
569
  "onUpdate:modelValue": e[37] || (e[37] = (a) => o(l).checkStrictly = a)
568
570
  }, null, 8, ["modelValue"])
569
571
  ]),
570
572
  _: 1
571
573
  }),
572
- t(u, { label: "最大显示层级" }, {
574
+ t(i, { label: "最大显示层级" }, {
573
575
  default: d(() => [
574
576
  t(U, {
575
577
  modelValue: o(l).maxLevel,
@@ -580,18 +582,18 @@ const ul = {
580
582
  ]),
581
583
  _: 1
582
584
  })
583
- ], 64)) : r("", !0),
584
- o(l).fieldType === "select" || o(l).fieldType === "multipleSelection" ? (n(), f(u, {
585
+ ], 64)) : s("", !0),
586
+ o(l).fieldType === "select" || o(l).fieldType === "multipleSelection" ? (n(), p(i, {
585
587
  key: 9,
586
588
  label: "标签效果"
587
589
  }, {
588
590
  default: d(() => [
589
- t(b, {
591
+ t(y, {
590
592
  modelValue: o(l).optionStyle,
591
593
  "onUpdate:modelValue": e[39] || (e[39] = (a) => o(l).optionStyle = a)
592
594
  }, {
593
595
  default: d(() => [
594
- t(i, {
596
+ t(u, {
595
597
  label: "默认",
596
598
  value: "default"
597
599
  })
@@ -600,34 +602,34 @@ const ul = {
600
602
  }, 8, ["modelValue"])
601
603
  ]),
602
604
  _: 1
603
- })) : r("", !0),
604
- o(l).fieldType === "date" ? (n(), f(u, {
605
+ })) : s("", !0),
606
+ o(l).fieldType === "date" ? (n(), p(i, {
605
607
  key: 10,
606
608
  label: "类型"
607
609
  }, {
608
610
  default: d(() => [
609
- t(b, {
611
+ t(y, {
610
612
  modelValue: o(l).dateType,
611
613
  "onUpdate:modelValue": e[40] || (e[40] = (a) => o(l).dateType = a)
612
614
  }, {
613
615
  default: d(() => [
614
- t(i, {
616
+ t(u, {
615
617
  label: "年-月-日",
616
618
  value: "date"
617
619
  }),
618
- t(i, {
620
+ t(u, {
619
621
  label: "年-周",
620
622
  value: "week"
621
623
  }),
622
- t(i, {
624
+ t(u, {
623
625
  label: "年-月",
624
626
  value: "month"
625
627
  }),
626
- t(i, {
628
+ t(u, {
627
629
  label: "年",
628
630
  value: "year"
629
631
  }),
630
- t(i, {
632
+ t(u, {
631
633
  label: "年-月-日 时:分:秒",
632
634
  value: "datetime"
633
635
  })
@@ -636,117 +638,171 @@ const ul = {
636
638
  }, 8, ["modelValue"])
637
639
  ]),
638
640
  _: 1
639
- })) : r("", !0),
640
- t(u, { label: "事件配置" }, {
641
+ })) : s("", !0),
642
+ o(C) ? (n(), V(b, { key: 11 }, [
643
+ t(i, { label: "弹层标题" }, {
644
+ default: d(() => [
645
+ t(m, {
646
+ modelValue: o(l).dialogConfig.dialogTitle,
647
+ "onUpdate:modelValue": e[41] || (e[41] = (a) => o(l).dialogConfig.dialogTitle = a)
648
+ }, null, 8, ["modelValue"])
649
+ ]),
650
+ _: 1
651
+ }),
652
+ t(i, { label: "弹层参数" }, {
653
+ default: d(() => [
654
+ t(R, {
655
+ modelValue: o(l).dialogConfig.dialogParams,
656
+ "onUpdate:modelValue": e[42] || (e[42] = (a) => o(l).dialogConfig.dialogParams = a)
657
+ }, null, 8, ["modelValue"])
658
+ ]),
659
+ _: 1
660
+ }),
661
+ t(i, {
662
+ label: "选择模式",
663
+ size: "small"
664
+ }, {
665
+ default: d(() => [
666
+ t(S, {
667
+ modelValue: o(l).dialogConfig.selectionMode,
668
+ "onUpdate:modelValue": e[43] || (e[43] = (a) => o(l).dialogConfig.selectionMode = a)
669
+ }, {
670
+ default: d(() => [
671
+ t(g, { value: "single" }, {
672
+ default: d(() => [...e[66] || (e[66] = [
673
+ v("单选", -1)
674
+ ])]),
675
+ _: 1
676
+ }),
677
+ t(g, { value: "multiple" }, {
678
+ default: d(() => [...e[67] || (e[67] = [
679
+ v("多选", -1)
680
+ ])]),
681
+ _: 1
682
+ })
683
+ ]),
684
+ _: 1
685
+ }, 8, ["modelValue"])
686
+ ]),
687
+ _: 1
688
+ })
689
+ ], 64)) : s("", !0),
690
+ o(C) ? s("", !0) : (n(), p(i, {
691
+ key: 12,
692
+ label: "事件配置"
693
+ }, {
641
694
  default: d(() => [
642
695
  t(B, {
643
696
  config: o(l).eventConfig,
644
- onConfirm: _
697
+ onConfirm: L
645
698
  }, null, 8, ["config"])
646
699
  ]),
647
700
  _: 1
648
- }),
649
- t(u, { label: "是否必填" }, {
701
+ })),
702
+ t(i, { label: "是否必填" }, {
650
703
  default: d(() => [
651
- s("div", gl, [
652
- t(C, {
704
+ r("div", Ul, [
705
+ t(k, {
653
706
  modelValue: o(l).required,
654
- "onUpdate:modelValue": e[41] || (e[41] = (a) => o(l).required = a)
707
+ "onUpdate:modelValue": e[44] || (e[44] = (a) => o(l).required = a)
655
708
  }, null, 8, ["modelValue"]),
656
- o(l).required ? (n(), f(m, {
709
+ o(l).required ? (n(), p(m, {
657
710
  key: 0,
658
711
  modelValue: o(l).requiredMessage,
659
- "onUpdate:modelValue": e[42] || (e[42] = (a) => o(l).requiredMessage = a),
712
+ "onUpdate:modelValue": e[45] || (e[45] = (a) => o(l).requiredMessage = a),
660
713
  placeholder: "请输入提示信息",
661
714
  style: { flex: "1" }
662
- }, null, 8, ["modelValue"])) : r("", !0)
715
+ }, null, 8, ["modelValue"])) : s("", !0)
663
716
  ])
664
717
  ]),
665
718
  _: 1
666
719
  }),
667
- t(u, { label: "校验规则" }, {
720
+ o(C) ? s("", !0) : (n(), p(i, {
721
+ key: 13,
722
+ label: "校验规则"
723
+ }, {
668
724
  default: d(() => [
669
- t(b, {
725
+ t(y, {
670
726
  modelValue: o(l).validationType,
671
- "onUpdate:modelValue": e[43] || (e[43] = (a) => o(l).validationType = a),
727
+ "onUpdate:modelValue": e[46] || (e[46] = (a) => o(l).validationType = a),
672
728
  placeholder: "选择校验规则",
673
- onChange: I,
729
+ onChange: z,
674
730
  style: { "margin-bottom": "12px" }
675
731
  }, {
676
732
  default: d(() => [
677
- t(i, {
733
+ t(u, {
678
734
  label: "无",
679
735
  value: "none"
680
736
  }),
681
- t(i, {
737
+ t(u, {
682
738
  label: "身份证",
683
739
  value: "idCard"
684
740
  }),
685
- t(i, {
741
+ t(u, {
686
742
  label: "统一社会信用代码",
687
743
  value: "creditCode"
688
744
  }),
689
- t(i, {
745
+ t(u, {
690
746
  label: "邮编",
691
747
  value: "zipCode"
692
748
  }),
693
- t(i, {
749
+ t(u, {
694
750
  label: "传真",
695
751
  value: "fax"
696
752
  }),
697
- t(i, {
753
+ t(u, {
698
754
  label: "银行卡号",
699
755
  value: "bankCard"
700
756
  }),
701
- t(i, {
757
+ t(u, {
702
758
  label: "邮箱",
703
759
  value: "email"
704
760
  }),
705
- t(i, {
761
+ t(u, {
706
762
  label: "手机",
707
763
  value: "mobile"
708
764
  }),
709
- t(i, {
765
+ t(u, {
710
766
  label: "座机",
711
767
  value: "phone"
712
768
  }),
713
- t(i, {
769
+ t(u, {
714
770
  label: "手机+座机",
715
771
  value: "mobilePhone"
716
772
  }),
717
- t(i, {
773
+ t(u, {
718
774
  label: "条件表达式",
719
775
  value: "regex"
720
776
  }),
721
- t(i, {
777
+ t(u, {
722
778
  label: "自定义",
723
779
  value: "custom"
724
780
  })
725
781
  ]),
726
782
  _: 1
727
783
  }, 8, ["modelValue"]),
728
- o(l).validationType === "regex" ? (n(), V("div", xl, [
729
- t(H, {
784
+ o(l).validationType === "regex" ? (n(), V("div", Tl, [
785
+ t(Q, {
730
786
  condition: o(l).validationPattern,
731
787
  onConfirm: (a) => o(l).validationPattern = a
732
788
  }, null, 8, ["condition", "onConfirm"])
733
- ])) : r("", !0),
734
- o(l).validationType === "custom" ? (n(), V("div", Ul, [
735
- t(P, {
789
+ ])) : s("", !0),
790
+ o(l).validationType === "custom" ? (n(), V("div", kl, [
791
+ t(D, {
736
792
  modelValue: o(l).validationDataSource,
737
- "onUpdate:modelValue": e[44] || (e[44] = (a) => o(l).validationDataSource = a)
793
+ "onUpdate:modelValue": e[47] || (e[47] = (a) => o(l).validationDataSource = a)
738
794
  }, null, 8, ["modelValue"])
739
- ])) : r("", !0),
740
- o(l).validationType !== "none" ? (n(), f(m, {
795
+ ])) : s("", !0),
796
+ o(l).validationType !== "none" ? (n(), p(m, {
741
797
  key: 2,
742
798
  modelValue: o(l).validationMessage,
743
- "onUpdate:modelValue": e[45] || (e[45] = (a) => o(l).validationMessage = a),
744
- placeholder: D(),
799
+ "onUpdate:modelValue": e[48] || (e[48] = (a) => o(l).validationMessage = a),
800
+ placeholder: M(),
745
801
  style: { "margin-bottom": "12px" }
746
- }, null, 8, ["modelValue", "placeholder"])) : r("", !0)
802
+ }, null, 8, ["modelValue", "placeholder"])) : s("", !0)
747
803
  ]),
748
804
  _: 1
749
- })
805
+ }))
750
806
  ]),
751
807
  _: 1
752
808
  }, 8, ["model"]))
@@ -758,7 +814,7 @@ const ul = {
758
814
  }, 8, ["modelValue"]);
759
815
  };
760
816
  }
761
- }, de = /* @__PURE__ */ K(Cl, [["__scopeId", "data-v-e9217d62"]]);
817
+ }, me = /* @__PURE__ */ Y(wl, [["__scopeId", "data-v-e889507a"]]);
762
818
  export {
763
- de as default
819
+ me as default
764
820
  };