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