sinosoft-common-form 1.7.6 → 1.7.8
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/common-form.es.js +206 -207
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as P, reactive as ol, shallowRef as dl, h as nl, computed as sl, onMounted as rl, onBeforeUnmount as Ml, watch as il, toRefs as yl, nextTick as ul, resolveComponent as T, openBlock as
|
|
1
|
+
import { ref as P, reactive as ol, shallowRef as dl, h as nl, computed as sl, onMounted as rl, onBeforeUnmount as Ml, watch as il, toRefs as yl, nextTick as ul, resolveComponent as T, openBlock as d, createBlock as M, mergeProps as cl, withModifiers as pl, withCtx as n, createVNode as g, createElementBlock as r, Fragment as A, renderList as k, withDirectives as fl, createElementVNode as N, normalizeStyle as p, toDisplayString as y, createTextVNode as t, createCommentVNode as u, renderSlot as h, normalizeClass as b, withKeys as _, createSlots as J, vShow as gl, pushScopeId as bl, popScopeId as Dl } from "vue";
|
|
2
2
|
const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNIN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
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(c, { emit:
|
|
24
|
+
setup(c, { emit: D }) {
|
|
25
25
|
const z = P(!0), e = ol({
|
|
26
26
|
model: {}
|
|
27
|
-
}),
|
|
27
|
+
}), j = P(null), Q = dl({
|
|
28
28
|
render() {
|
|
29
29
|
return nl("img", {
|
|
30
30
|
src: tl
|
|
@@ -32,71 +32,71 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
32
32
|
}
|
|
33
33
|
}), f = sl(() => Object.assign([], c.options)), O = () => {
|
|
34
34
|
e.model = c.model;
|
|
35
|
-
}, x = (
|
|
35
|
+
}, x = (o, s, I) => {
|
|
36
36
|
var q;
|
|
37
37
|
s ? (z.value = !1, ul(() => {
|
|
38
38
|
var K;
|
|
39
|
-
(K =
|
|
39
|
+
(K = j.value) == null || K.validate((al) => {
|
|
40
40
|
if (al)
|
|
41
|
-
|
|
41
|
+
D(I || "submit", e.model, o);
|
|
42
42
|
else
|
|
43
43
|
return !1;
|
|
44
44
|
});
|
|
45
|
-
})) : (I === "reset" && ((q =
|
|
46
|
-
}, L = (
|
|
47
|
-
|
|
48
|
-
}, E = (
|
|
49
|
-
|
|
50
|
-
}, R = (
|
|
51
|
-
|
|
52
|
-
}, V = (
|
|
45
|
+
})) : s ? (I === "reset" && ((q = j.value) == null || q.resetFields()), D(I || "submit", e.model, o)) : (z.value = !1, D(I || "submit", e.model, o, j.value));
|
|
46
|
+
}, L = (o, s) => {
|
|
47
|
+
D("selectChange", o, s);
|
|
48
|
+
}, E = (o, s) => {
|
|
49
|
+
D("radioChange", o, s);
|
|
50
|
+
}, R = (o, s) => {
|
|
51
|
+
D("checkChange", o, s);
|
|
52
|
+
}, V = (o, s) => {
|
|
53
53
|
const I = e.model[s].length;
|
|
54
54
|
if (I === 1) {
|
|
55
|
-
|
|
55
|
+
D("checkChange", o, s);
|
|
56
56
|
return;
|
|
57
57
|
} else
|
|
58
|
-
I > 1 ? (e.model[s].shift(),
|
|
59
|
-
},
|
|
60
|
-
x(
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
}, Y = (
|
|
58
|
+
I > 1 ? (e.model[s].shift(), D("checkChange", o, s)) : I < 1 && D("checkChange", o, s);
|
|
59
|
+
}, v = (o, s, I) => {
|
|
60
|
+
x(o, s, I);
|
|
61
|
+
}, S = (o, s) => {
|
|
62
|
+
o && (s == null ? void 0 : s.key) === "Enter" && x(void 0, !0, "submit");
|
|
63
|
+
}, Y = (o, s) => {
|
|
64
64
|
var I;
|
|
65
|
-
(I =
|
|
66
|
-
}, B = (
|
|
67
|
-
|
|
68
|
-
}, W = (
|
|
69
|
-
|
|
70
|
-
}, Z = (
|
|
71
|
-
|
|
72
|
-
}, G = (
|
|
73
|
-
|
|
74
|
-
}, l = (
|
|
75
|
-
|
|
76
|
-
}, U = (
|
|
77
|
-
|
|
78
|
-
}, a = (
|
|
65
|
+
(I = j.value) == null || I.validateField(s), D("dateChange", o, s);
|
|
66
|
+
}, B = (o, s) => {
|
|
67
|
+
D("calendarChange", o, s);
|
|
68
|
+
}, W = (o, s) => {
|
|
69
|
+
D("onOk", o, s);
|
|
70
|
+
}, Z = (o, s) => {
|
|
71
|
+
D("inputBlur", o, s);
|
|
72
|
+
}, G = (o, s) => {
|
|
73
|
+
D("inputFocus", o, s);
|
|
74
|
+
}, l = (o, s) => {
|
|
75
|
+
D("inputChange", o, s);
|
|
76
|
+
}, U = (o, s) => {
|
|
77
|
+
D("inputInput", o, s);
|
|
78
|
+
}, a = (o) => {
|
|
79
79
|
var s;
|
|
80
|
-
(s =
|
|
81
|
-
}, i = (
|
|
80
|
+
(s = j.value) == null || s.resetFields(o);
|
|
81
|
+
}, i = (o) => {
|
|
82
82
|
var s;
|
|
83
|
-
(s =
|
|
83
|
+
(s = j.value) == null || s.clearValidate(o);
|
|
84
84
|
}, C = P(!1), F = () => {
|
|
85
85
|
window.innerWidth < 768 ? C.value = !0 : C.value = !1;
|
|
86
86
|
};
|
|
87
87
|
return rl(() => {
|
|
88
|
-
var
|
|
89
|
-
O(), (
|
|
88
|
+
var o;
|
|
89
|
+
O(), (o = j.value) == null || o.resetFields(), window.addEventListener("resize", F);
|
|
90
90
|
}), Ml(() => {
|
|
91
91
|
window.removeEventListener("resize", F);
|
|
92
92
|
}), il(
|
|
93
93
|
() => c.fieldList,
|
|
94
|
-
(
|
|
95
|
-
|
|
94
|
+
(o, s) => {
|
|
95
|
+
o !== s && O();
|
|
96
96
|
}
|
|
97
97
|
), {
|
|
98
98
|
...yl(e),
|
|
99
|
-
formRef:
|
|
99
|
+
formRef: j,
|
|
100
100
|
states: e,
|
|
101
101
|
formOptions: f,
|
|
102
102
|
onSubmit: x,
|
|
@@ -105,8 +105,8 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
105
105
|
checkChange: R,
|
|
106
106
|
handleCheckedChange: V,
|
|
107
107
|
prefixIcon: Q,
|
|
108
|
-
handleClick:
|
|
109
|
-
handleKeyUp:
|
|
108
|
+
handleClick: v,
|
|
109
|
+
handleKeyUp: S,
|
|
110
110
|
resetFieldsTest: a,
|
|
111
111
|
clearValidateTest: i,
|
|
112
112
|
dateChange: Y,
|
|
@@ -122,12 +122,12 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
}, X = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDd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TDQuOTM5MjYgMTcuMTIxM0w1Ljk5OTkyIDE2LjA2MDdMMy44Nzg2IDEzLjkzOTNaTTIuODE3OTQgMjVMMy44Nzg2IDI2LjA2MDdMNS45OTk5MiAyMy45MzkzTDQuOTM5MjYgMjIuODc4N0wyLjgxNzk0IDI1Wk02Ljc1NzI4IDE4LjkzOTNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
125
|
-
const Il = (c,
|
|
125
|
+
const Il = (c, D) => {
|
|
126
126
|
const z = c.__vccOpts || c;
|
|
127
|
-
for (const [e,
|
|
128
|
-
z[e] =
|
|
127
|
+
for (const [e, j] of D)
|
|
128
|
+
z[e] = j;
|
|
129
129
|
return z;
|
|
130
|
-
},
|
|
130
|
+
}, w = (c) => (bl("data-v-f15a0c48"), c = c(), Dl(), c), hl = { class: "header-title" }, Tl = { class: "title-content" }, Ol = {
|
|
131
131
|
key: 0,
|
|
132
132
|
class: "custom-required"
|
|
133
133
|
}, jl = {
|
|
@@ -151,19 +151,19 @@ const Il = (c, N) => {
|
|
|
151
151
|
}, Vl = {
|
|
152
152
|
key: 0,
|
|
153
153
|
class: "custom-required"
|
|
154
|
-
},
|
|
154
|
+
}, vl = {
|
|
155
155
|
key: 0,
|
|
156
156
|
class: "custom-required"
|
|
157
|
-
},
|
|
157
|
+
}, Sl = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
158
158
|
src: X,
|
|
159
159
|
alt: ""
|
|
160
|
-
}, null, -1)), Yl = /* @__PURE__ */
|
|
160
|
+
}, null, -1)), Yl = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
161
161
|
src: m,
|
|
162
162
|
alt: ""
|
|
163
|
-
}, null, -1)), Ul = /* @__PURE__ */
|
|
163
|
+
}, null, -1)), Ul = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
164
164
|
src: $,
|
|
165
165
|
alt: ""
|
|
166
|
-
}, null, -1)), Fl = /* @__PURE__ */
|
|
166
|
+
}, null, -1)), Fl = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
167
167
|
src: ll,
|
|
168
168
|
alt: ""
|
|
169
169
|
}, null, -1)), Wl = {
|
|
@@ -172,16 +172,16 @@ const Il = (c, N) => {
|
|
|
172
172
|
}, Bl = {
|
|
173
173
|
key: 0,
|
|
174
174
|
class: "custom-required"
|
|
175
|
-
}, Zl = /* @__PURE__ */
|
|
175
|
+
}, Zl = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
176
176
|
src: X,
|
|
177
177
|
alt: ""
|
|
178
|
-
}, null, -1)), Gl = /* @__PURE__ */
|
|
178
|
+
}, null, -1)), Gl = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
179
179
|
src: m,
|
|
180
180
|
alt: ""
|
|
181
|
-
}, null, -1)), Pl = /* @__PURE__ */
|
|
181
|
+
}, null, -1)), Pl = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
182
182
|
src: $,
|
|
183
183
|
alt: ""
|
|
184
|
-
}, null, -1)), Hl = /* @__PURE__ */
|
|
184
|
+
}, null, -1)), Hl = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
185
185
|
src: ll,
|
|
186
186
|
alt: ""
|
|
187
187
|
}, null, -1)), Ql = {
|
|
@@ -196,13 +196,13 @@ const Il = (c, N) => {
|
|
|
196
196
|
}, Jl = {
|
|
197
197
|
key: 0,
|
|
198
198
|
class: "phone_item_content_before"
|
|
199
|
-
}, Xl = /* @__PURE__ */
|
|
199
|
+
}, Xl = /* @__PURE__ */ w(() => /* @__PURE__ */ N("div", { class: "line_middle" }, "-", -1)), ml = /* @__PURE__ */ w(() => /* @__PURE__ */ N("div", { class: "line_middle" }, "-", -1)), $l = {
|
|
200
200
|
key: 2,
|
|
201
201
|
class: "line_middle"
|
|
202
202
|
}, le = {
|
|
203
203
|
key: 4,
|
|
204
204
|
class: "line_middle"
|
|
205
|
-
}, ee = /* @__PURE__ */
|
|
205
|
+
}, ee = /* @__PURE__ */ w(() => /* @__PURE__ */ N("div", {
|
|
206
206
|
class: "line",
|
|
207
207
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
208
208
|
}, null, -1)), ae = {
|
|
@@ -212,11 +212,11 @@ const Il = (c, N) => {
|
|
|
212
212
|
key: 0,
|
|
213
213
|
class: "custom-required"
|
|
214
214
|
};
|
|
215
|
-
function de(c,
|
|
216
|
-
const f = T("el-form-item"), O = T("el-input"), x = T("el-col"), L = T("el-row"), E = T("el-radio"), R = T("el-radio-group"), V = T("el-checkbox"),
|
|
217
|
-
return
|
|
215
|
+
function de(c, D, z, e, j, Q) {
|
|
216
|
+
const f = T("el-form-item"), O = T("el-input"), x = T("el-col"), L = T("el-row"), E = T("el-radio"), R = T("el-radio-group"), V = T("el-checkbox"), v = T("el-checkbox-group"), S = T("el-option"), Y = T("el-select"), B = T("a-date-picker"), W = T("a-range-picker"), Z = T("sinosoftCommonButton"), G = T("el-form");
|
|
217
|
+
return d(), M(G, cl({
|
|
218
218
|
"hide-required-asterisk": "",
|
|
219
|
-
onSubmit:
|
|
219
|
+
onSubmit: D[0] || (D[0] = pl(() => {
|
|
220
220
|
}, ["prevent"])),
|
|
221
221
|
model: z.model
|
|
222
222
|
}, e.formOptions, {
|
|
@@ -226,7 +226,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
226
226
|
default: n(() => [
|
|
227
227
|
g(L, { gutter: 24 }, {
|
|
228
228
|
default: n(() => [
|
|
229
|
-
(
|
|
229
|
+
(d(!0), r(A, null, k(z.fieldList, (l, U) => fl((d(), M(x, {
|
|
230
230
|
xs: l.xs ? l.xs : 24,
|
|
231
231
|
sm: l.sm ? l.sm : 24,
|
|
232
232
|
md: l.md ? l.md : 8,
|
|
@@ -235,29 +235,29 @@ function de(c, N, z, e, w, Q) {
|
|
|
235
235
|
key: U
|
|
236
236
|
}, {
|
|
237
237
|
default: n(() => [
|
|
238
|
-
|
|
238
|
+
N("div", {
|
|
239
239
|
style: p(l.style)
|
|
240
240
|
}, [
|
|
241
|
-
l.type === "title" ? (
|
|
241
|
+
l.type === "title" ? (d(), M(f, { key: 0 }, {
|
|
242
242
|
default: n(() => [
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
N("div", hl, [
|
|
244
|
+
N("span", Tl, y(l.title), 1)
|
|
245
245
|
])
|
|
246
246
|
]),
|
|
247
247
|
_: 2
|
|
248
|
-
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (
|
|
248
|
+
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (d(), M(f, {
|
|
249
249
|
key: 1,
|
|
250
250
|
label: l.label,
|
|
251
251
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
252
252
|
class: "container_name"
|
|
253
253
|
}, {
|
|
254
254
|
label: n(() => [
|
|
255
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
255
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
256
256
|
key: 0,
|
|
257
257
|
style: p(l.labelStyle)
|
|
258
258
|
}, [
|
|
259
|
-
|
|
260
|
-
l.required ? (
|
|
259
|
+
t(y(l.label) + " ", 1),
|
|
260
|
+
l.required ? (d(), r("span", Ol, "*")) : u("", !0)
|
|
261
261
|
], 4))
|
|
262
262
|
]),
|
|
263
263
|
default: n(() => [
|
|
@@ -271,7 +271,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
271
271
|
xl: 12
|
|
272
272
|
}, {
|
|
273
273
|
default: n(() => [
|
|
274
|
-
l.field.nameEnFamily ? (
|
|
274
|
+
l.field.nameEnFamily ? (d(), M(f, {
|
|
275
275
|
key: 0,
|
|
276
276
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
277
277
|
prop: l.field.nameEnFamily,
|
|
@@ -309,7 +309,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
309
309
|
xl: 12
|
|
310
310
|
}, {
|
|
311
311
|
default: n(() => [
|
|
312
|
-
l.field.nameEn ? (
|
|
312
|
+
l.field.nameEn ? (d(), M(f, {
|
|
313
313
|
key: 0,
|
|
314
314
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
315
315
|
prop: l.field.nameEn,
|
|
@@ -352,7 +352,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
352
352
|
xl: 12
|
|
353
353
|
}, {
|
|
354
354
|
default: n(() => [
|
|
355
|
-
l.field.nameChFamily ? (
|
|
355
|
+
l.field.nameChFamily ? (d(), M(f, {
|
|
356
356
|
key: 0,
|
|
357
357
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
358
358
|
prop: l.field.nameChFamily,
|
|
@@ -393,7 +393,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
393
393
|
xl: 12
|
|
394
394
|
}, {
|
|
395
395
|
default: n(() => [
|
|
396
|
-
l.field.nameCh ? (
|
|
396
|
+
l.field.nameCh ? (d(), M(f, {
|
|
397
397
|
key: 0,
|
|
398
398
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
399
399
|
prop: l.field.nameCh,
|
|
@@ -428,7 +428,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
428
428
|
}, 1024)
|
|
429
429
|
]),
|
|
430
430
|
_: 2
|
|
431
|
-
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (
|
|
431
|
+
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (d(), M(f, {
|
|
432
432
|
key: 2,
|
|
433
433
|
label: l.label,
|
|
434
434
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -436,12 +436,12 @@ function de(c, N, z, e, w, Q) {
|
|
|
436
436
|
class: "radio_row"
|
|
437
437
|
}, {
|
|
438
438
|
label: n(() => [
|
|
439
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
439
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
440
440
|
key: 0,
|
|
441
441
|
style: p(l.labelStyle)
|
|
442
442
|
}, [
|
|
443
|
-
|
|
444
|
-
l.required ? (
|
|
443
|
+
t(y(l.label) + " ", 1),
|
|
444
|
+
l.required ? (d(), r("span", jl, "*")) : u("", !0)
|
|
445
445
|
], 4))
|
|
446
446
|
]),
|
|
447
447
|
default: n(() => [
|
|
@@ -454,13 +454,13 @@ function de(c, N, z, e, w, Q) {
|
|
|
454
454
|
default: n(() => {
|
|
455
455
|
var a;
|
|
456
456
|
return [
|
|
457
|
-
(
|
|
457
|
+
(d(!0), r(A, null, k((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(E, {
|
|
458
458
|
label: i.code,
|
|
459
459
|
size: "large",
|
|
460
460
|
key: i.code
|
|
461
461
|
}, {
|
|
462
462
|
default: n(() => [
|
|
463
|
-
|
|
463
|
+
N("img", {
|
|
464
464
|
src: i.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
465
465
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
466
466
|
alt: ""
|
|
@@ -474,7 +474,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
474
474
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
475
475
|
]),
|
|
476
476
|
_: 2
|
|
477
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (
|
|
477
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (d(), M(f, {
|
|
478
478
|
key: 3,
|
|
479
479
|
label: l.label,
|
|
480
480
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -482,12 +482,12 @@ function de(c, N, z, e, w, Q) {
|
|
|
482
482
|
class: b([l.labelNode ? "radio_Note" : "rule_err"])
|
|
483
483
|
}, {
|
|
484
484
|
label: n(() => [
|
|
485
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
485
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
486
486
|
key: 0,
|
|
487
487
|
style: p(l.labelStyle)
|
|
488
488
|
}, [
|
|
489
|
-
|
|
490
|
-
l.required ? (
|
|
489
|
+
t(y(l.label) + " ", 1),
|
|
490
|
+
l.required ? (d(), r("span", kl, "*")) : u("", !0)
|
|
491
491
|
], 4))
|
|
492
492
|
]),
|
|
493
493
|
default: n(() => [
|
|
@@ -504,14 +504,14 @@ function de(c, N, z, e, w, Q) {
|
|
|
504
504
|
default: n(() => {
|
|
505
505
|
var a;
|
|
506
506
|
return [
|
|
507
|
-
(
|
|
507
|
+
(d(!0), r(A, null, k((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(E, {
|
|
508
508
|
size: "large",
|
|
509
509
|
label: i.code,
|
|
510
510
|
key: i.code,
|
|
511
511
|
disabled: i.isDisabled
|
|
512
512
|
}, {
|
|
513
513
|
default: n(() => [
|
|
514
|
-
|
|
514
|
+
t(y(i.name), 1)
|
|
515
515
|
]),
|
|
516
516
|
_: 2
|
|
517
517
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -521,7 +521,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
521
521
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
522
522
|
]),
|
|
523
523
|
_: 2
|
|
524
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (
|
|
524
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (d(), M(f, {
|
|
525
525
|
key: 4,
|
|
526
526
|
label: l.label,
|
|
527
527
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -529,10 +529,10 @@ function de(c, N, z, e, w, Q) {
|
|
|
529
529
|
class: b([l.labelNode ? "radio_Note" : "rule_err"])
|
|
530
530
|
}, {
|
|
531
531
|
default: n(() => [
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
l.required ? (
|
|
532
|
+
N("div", null, [
|
|
533
|
+
N("span", wl, y(l.labelBefore), 1),
|
|
534
|
+
N("span", zl, y(l.labelNode), 1),
|
|
535
|
+
l.required ? (d(), r("span", xl, "*")) : u("", !0)
|
|
536
536
|
]),
|
|
537
537
|
g(R, {
|
|
538
538
|
modelValue: e.states.model[l.field],
|
|
@@ -547,13 +547,13 @@ function de(c, N, z, e, w, Q) {
|
|
|
547
547
|
default: n(() => {
|
|
548
548
|
var a;
|
|
549
549
|
return [
|
|
550
|
-
(
|
|
550
|
+
(d(!0), r(A, null, k((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(E, {
|
|
551
551
|
size: "large",
|
|
552
552
|
label: i.code,
|
|
553
553
|
key: i.code
|
|
554
554
|
}, {
|
|
555
555
|
default: n(() => [
|
|
556
|
-
|
|
556
|
+
t(y(i.name), 1)
|
|
557
557
|
]),
|
|
558
558
|
_: 2
|
|
559
559
|
}, 1032, ["label"]))), 128))
|
|
@@ -563,23 +563,23 @@ function de(c, N, z, e, w, Q) {
|
|
|
563
563
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
564
564
|
]),
|
|
565
565
|
_: 2
|
|
566
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (
|
|
566
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (d(), M(f, {
|
|
567
567
|
key: 5,
|
|
568
568
|
label: l.label,
|
|
569
569
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
570
570
|
prop: l.field
|
|
571
571
|
}, {
|
|
572
572
|
label: n(() => [
|
|
573
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
573
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
574
574
|
key: 0,
|
|
575
575
|
style: p(l.labelStyle)
|
|
576
576
|
}, [
|
|
577
|
-
|
|
578
|
-
l.required ? (
|
|
577
|
+
t(y(l.label) + " ", 1),
|
|
578
|
+
l.required ? (d(), r("span", Cl, "*")) : u("", !0)
|
|
579
579
|
], 4))
|
|
580
580
|
]),
|
|
581
581
|
default: n(() => [
|
|
582
|
-
g(
|
|
582
|
+
g(v, {
|
|
583
583
|
modelValue: e.states.model[l.field],
|
|
584
584
|
"onUpdate:modelValue": (a) => e.states.model[l.field] = a,
|
|
585
585
|
onChange: (a) => e.checkChange(a, l.field),
|
|
@@ -591,13 +591,13 @@ function de(c, N, z, e, w, Q) {
|
|
|
591
591
|
default: n(() => {
|
|
592
592
|
var a;
|
|
593
593
|
return [
|
|
594
|
-
(
|
|
594
|
+
(d(!0), r(A, null, k((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(V, {
|
|
595
595
|
key: i.code,
|
|
596
596
|
label: i.code,
|
|
597
597
|
disabled: i.isDisabled
|
|
598
598
|
}, {
|
|
599
599
|
default: n(() => [
|
|
600
|
-
|
|
600
|
+
t(y(i.name), 1)
|
|
601
601
|
]),
|
|
602
602
|
_: 2
|
|
603
603
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -607,23 +607,23 @@ function de(c, N, z, e, w, Q) {
|
|
|
607
607
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
608
608
|
]),
|
|
609
609
|
_: 2
|
|
610
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (
|
|
610
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (d(), M(f, {
|
|
611
611
|
key: 6,
|
|
612
612
|
label: l.label,
|
|
613
613
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
614
614
|
prop: l.field
|
|
615
615
|
}, {
|
|
616
616
|
label: n(() => [
|
|
617
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
617
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
618
618
|
key: 0,
|
|
619
619
|
style: p(l.labelStyle)
|
|
620
620
|
}, [
|
|
621
|
-
|
|
622
|
-
l.required ? (
|
|
621
|
+
t(y(l.label) + " ", 1),
|
|
622
|
+
l.required ? (d(), r("span", _l, "*")) : u("", !0)
|
|
623
623
|
], 4))
|
|
624
624
|
]),
|
|
625
625
|
default: n(() => [
|
|
626
|
-
g(
|
|
626
|
+
g(v, {
|
|
627
627
|
modelValue: e.states.model[l.field],
|
|
628
628
|
"onUpdate:modelValue": (a) => e.states.model[l.field] = a,
|
|
629
629
|
onChange: (a) => e.handleCheckedChange(a, l.field),
|
|
@@ -635,13 +635,13 @@ function de(c, N, z, e, w, Q) {
|
|
|
635
635
|
default: n(() => {
|
|
636
636
|
var a;
|
|
637
637
|
return [
|
|
638
|
-
(
|
|
638
|
+
(d(!0), r(A, null, k((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(V, {
|
|
639
639
|
key: i.code,
|
|
640
640
|
label: i.code,
|
|
641
641
|
disabled: i.isDisabled
|
|
642
642
|
}, {
|
|
643
643
|
default: n(() => [
|
|
644
|
-
|
|
644
|
+
t(y(i.name), 1)
|
|
645
645
|
]),
|
|
646
646
|
_: 2
|
|
647
647
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -651,7 +651,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
651
651
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
652
652
|
]),
|
|
653
653
|
_: 2
|
|
654
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (
|
|
654
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (d(), M(f, {
|
|
655
655
|
key: 7,
|
|
656
656
|
label: l.label,
|
|
657
657
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -659,12 +659,12 @@ function de(c, N, z, e, w, Q) {
|
|
|
659
659
|
class: b([l.labelNode ? "radio_Note" : "rule_err"])
|
|
660
660
|
}, {
|
|
661
661
|
default: n(() => [
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
l.required ? (
|
|
662
|
+
N("div", null, [
|
|
663
|
+
N("span", Ll, y(l.labelBefore), 1),
|
|
664
|
+
N("span", El, y(l.labelNode), 1),
|
|
665
|
+
l.required ? (d(), r("span", Rl, "*")) : u("", !0)
|
|
666
666
|
]),
|
|
667
|
-
g(
|
|
667
|
+
g(v, {
|
|
668
668
|
modelValue: e.states.model[l.field],
|
|
669
669
|
"onUpdate:modelValue": (a) => e.states.model[l.field] = a,
|
|
670
670
|
onChange: (a) => e.checkChange(a, l.field),
|
|
@@ -676,13 +676,13 @@ function de(c, N, z, e, w, Q) {
|
|
|
676
676
|
default: n(() => {
|
|
677
677
|
var a;
|
|
678
678
|
return [
|
|
679
|
-
(
|
|
679
|
+
(d(!0), r(A, null, k((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(V, {
|
|
680
680
|
key: i.code,
|
|
681
681
|
label: i.code,
|
|
682
682
|
disabled: i.isDisabled
|
|
683
683
|
}, {
|
|
684
684
|
default: n(() => [
|
|
685
|
-
|
|
685
|
+
t(y(i.name), 1)
|
|
686
686
|
]),
|
|
687
687
|
_: 2
|
|
688
688
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -692,7 +692,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
692
692
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
693
693
|
]),
|
|
694
694
|
_: 2
|
|
695
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (
|
|
695
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (d(), M(f, {
|
|
696
696
|
key: 8,
|
|
697
697
|
label: l.label,
|
|
698
698
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -700,12 +700,12 @@ function de(c, N, z, e, w, Q) {
|
|
|
700
700
|
prop: l.field
|
|
701
701
|
}, {
|
|
702
702
|
label: n(() => [
|
|
703
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
703
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
704
704
|
key: 0,
|
|
705
705
|
style: p(l.labelStyle)
|
|
706
706
|
}, [
|
|
707
|
-
|
|
708
|
-
l.required ? (
|
|
707
|
+
t(y(l.label) + " ", 1),
|
|
708
|
+
l.required ? (d(), r("span", Vl, "*")) : u("", !0)
|
|
709
709
|
], 4))
|
|
710
710
|
]),
|
|
711
711
|
default: n(() => [
|
|
@@ -726,7 +726,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
726
726
|
default: n(() => {
|
|
727
727
|
var a;
|
|
728
728
|
return [
|
|
729
|
-
(
|
|
729
|
+
(d(!0), r(A, null, k((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(S, {
|
|
730
730
|
key: i.code,
|
|
731
731
|
label: i.name,
|
|
732
732
|
value: i.code
|
|
@@ -735,13 +735,13 @@ function de(c, N, z, e, w, Q) {
|
|
|
735
735
|
}),
|
|
736
736
|
_: 2
|
|
737
737
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "placeholder", "class", "clearable"]),
|
|
738
|
-
|
|
738
|
+
N("div", {
|
|
739
739
|
class: "item_tips_blow",
|
|
740
740
|
style: p(l.tipsBlowStyle)
|
|
741
741
|
}, y(l.tipsBlow), 5)
|
|
742
742
|
]),
|
|
743
743
|
_: 2
|
|
744
|
-
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (
|
|
744
|
+
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (d(), M(f, {
|
|
745
745
|
key: 9,
|
|
746
746
|
label: l.label,
|
|
747
747
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -749,12 +749,12 @@ function de(c, N, z, e, w, Q) {
|
|
|
749
749
|
class: "date_item"
|
|
750
750
|
}, {
|
|
751
751
|
label: n(() => [
|
|
752
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
752
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
753
753
|
key: 0,
|
|
754
754
|
style: p(l.labelStyle)
|
|
755
755
|
}, [
|
|
756
|
-
|
|
757
|
-
l.required ? (
|
|
756
|
+
t(y(l.label) + " ", 1),
|
|
757
|
+
l.required ? (d(), r("span", vl, "*")) : u("", !0)
|
|
758
758
|
], 4))
|
|
759
759
|
]),
|
|
760
760
|
default: n(() => [
|
|
@@ -791,7 +791,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
791
791
|
)
|
|
792
792
|
}, {
|
|
793
793
|
superPrevIcon: n(() => [
|
|
794
|
-
|
|
794
|
+
Sl
|
|
795
795
|
]),
|
|
796
796
|
prevIcon: n(() => [
|
|
797
797
|
Yl
|
|
@@ -804,22 +804,22 @@ function de(c, N, z, e, w, Q) {
|
|
|
804
804
|
]),
|
|
805
805
|
_: 2
|
|
806
806
|
}, 1032, ["allowClear", "format", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "onChange", "onCalendarChange", "onOk"]),
|
|
807
|
-
l.showTo ? (
|
|
807
|
+
l.showTo ? (d(), r("span", Wl, y(l.showTo), 1)) : u("", !0)
|
|
808
808
|
]),
|
|
809
809
|
_: 2
|
|
810
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (
|
|
810
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (d(), M(f, {
|
|
811
811
|
key: 10,
|
|
812
812
|
label: l.label,
|
|
813
813
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
814
814
|
prop: l.field
|
|
815
815
|
}, {
|
|
816
816
|
label: n(() => [
|
|
817
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
817
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
818
818
|
key: 0,
|
|
819
819
|
style: p(l.labelStyle)
|
|
820
820
|
}, [
|
|
821
|
-
|
|
822
|
-
l.required ? (
|
|
821
|
+
t(y(l.label) + " ", 1),
|
|
822
|
+
l.required ? (d(), r("span", Bl, "*")) : u("", !0)
|
|
823
823
|
], 4))
|
|
824
824
|
]),
|
|
825
825
|
default: n(() => [
|
|
@@ -872,19 +872,19 @@ function de(c, N, z, e, w, Q) {
|
|
|
872
872
|
}, 1032, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk"])
|
|
873
873
|
]),
|
|
874
874
|
_: 2
|
|
875
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (
|
|
875
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (d(), M(f, {
|
|
876
876
|
key: 11,
|
|
877
877
|
label: l.label,
|
|
878
878
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
879
879
|
prop: l.field
|
|
880
880
|
}, {
|
|
881
881
|
label: n(() => [
|
|
882
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
882
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
883
883
|
key: 0,
|
|
884
884
|
style: p(l.labelStyle)
|
|
885
885
|
}, [
|
|
886
|
-
|
|
887
|
-
l.required ? (
|
|
886
|
+
t(y(l.label) + " ", 1),
|
|
887
|
+
l.required ? (d(), r("span", Ql, "*")) : u("", !0)
|
|
888
888
|
], 4))
|
|
889
889
|
]),
|
|
890
890
|
default: n(() => [
|
|
@@ -923,7 +923,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
923
923
|
}, null, 8, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk"])
|
|
924
924
|
]),
|
|
925
925
|
_: 2
|
|
926
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (
|
|
926
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (d(), M(f, {
|
|
927
927
|
key: 12,
|
|
928
928
|
label: l.label,
|
|
929
929
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -931,19 +931,19 @@ function de(c, N, z, e, w, Q) {
|
|
|
931
931
|
class: "rule_err"
|
|
932
932
|
}, {
|
|
933
933
|
label: n(() => [
|
|
934
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
934
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
935
935
|
key: 0,
|
|
936
936
|
style: p(l.labelStyle)
|
|
937
937
|
}, [
|
|
938
|
-
|
|
939
|
-
l.required ? (
|
|
938
|
+
t(y(l.label) + " ", 1),
|
|
939
|
+
l.required ? (d(), r("span", ql, "*")) : u("", !0)
|
|
940
940
|
], 4))
|
|
941
941
|
]),
|
|
942
942
|
default: n(() => [
|
|
943
943
|
h(c.$slots, l.slotItemName, {}, void 0, !0)
|
|
944
944
|
]),
|
|
945
945
|
_: 2
|
|
946
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (
|
|
946
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (d(), M(f, {
|
|
947
947
|
key: 13,
|
|
948
948
|
label: l.label,
|
|
949
949
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
@@ -951,28 +951,28 @@ function de(c, N, z, e, w, Q) {
|
|
|
951
951
|
class: "phone_item"
|
|
952
952
|
}, {
|
|
953
953
|
label: n(() => [
|
|
954
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
954
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
955
955
|
key: 0,
|
|
956
956
|
style: p(l.labelStyle)
|
|
957
957
|
}, [
|
|
958
|
-
|
|
959
|
-
l.required ? (
|
|
958
|
+
t(y(l.label) + " ", 1),
|
|
959
|
+
l.required ? (d(), r("span", Kl, "*")) : u("", !0)
|
|
960
960
|
], 4))
|
|
961
961
|
]),
|
|
962
962
|
default: n(() => {
|
|
963
963
|
var a, i, C, F;
|
|
964
964
|
return [
|
|
965
|
-
|
|
965
|
+
N("div", {
|
|
966
966
|
class: b(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
967
967
|
}, [
|
|
968
|
-
e.phoneWrap ? (
|
|
969
|
-
l.field.nationCode ? (
|
|
968
|
+
e.phoneWrap ? (d(), r("div", Jl, [
|
|
969
|
+
l.field.nationCode ? (d(), M(Y, {
|
|
970
970
|
key: 0,
|
|
971
971
|
"popper-class": "selectTriangles",
|
|
972
972
|
teleported: !1,
|
|
973
973
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
974
974
|
modelValue: e.states.model[l.field.nationCode],
|
|
975
|
-
"onUpdate:modelValue": (
|
|
975
|
+
"onUpdate:modelValue": (o) => e.states.model[l.field.nationCode] = o,
|
|
976
976
|
placeholder: ((a = l.nationOptions) == null ? void 0 : a.placeholder) || "",
|
|
977
977
|
class: b(
|
|
978
978
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"
|
|
@@ -981,9 +981,9 @@ function de(c, N, z, e, w, Q) {
|
|
|
981
981
|
"fit-input-width": !0
|
|
982
982
|
}, {
|
|
983
983
|
default: n(() => {
|
|
984
|
-
var
|
|
984
|
+
var o;
|
|
985
985
|
return [
|
|
986
|
-
(
|
|
986
|
+
(d(!0), r(A, null, k((o = l.nationOptions) == null ? void 0 : o.data, (s, I) => (d(), M(S, {
|
|
987
987
|
label: s.name,
|
|
988
988
|
value: s.code,
|
|
989
989
|
key: I
|
|
@@ -993,28 +993,28 @@ function de(c, N, z, e, w, Q) {
|
|
|
993
993
|
_: 2
|
|
994
994
|
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : u("", !0),
|
|
995
995
|
Xl,
|
|
996
|
-
l.field.areaCode ? (
|
|
996
|
+
l.field.areaCode ? (d(), M(O, {
|
|
997
997
|
key: 1,
|
|
998
|
-
onBlur: (
|
|
999
|
-
|
|
998
|
+
onBlur: (o) => e.inputBlur(
|
|
999
|
+
o,
|
|
1000
1000
|
typeof l.field == "string" ? l.field : ""
|
|
1001
1001
|
),
|
|
1002
|
-
onFocus: (
|
|
1003
|
-
|
|
1002
|
+
onFocus: (o) => e.inputFocus(
|
|
1003
|
+
o,
|
|
1004
1004
|
typeof l.field == "string" ? l.field : ""
|
|
1005
1005
|
),
|
|
1006
|
-
onChange: (
|
|
1007
|
-
|
|
1006
|
+
onChange: (o) => e.inputChange(
|
|
1007
|
+
o,
|
|
1008
1008
|
typeof l.field == "string" ? l.field : ""
|
|
1009
1009
|
),
|
|
1010
|
-
onInput: (
|
|
1011
|
-
|
|
1010
|
+
onInput: (o) => e.inputInput(
|
|
1011
|
+
o,
|
|
1012
1012
|
typeof l.field == "string" ? l.field : ""
|
|
1013
1013
|
),
|
|
1014
1014
|
maxlength: l.maxlengthAreaCode || 5,
|
|
1015
1015
|
oninput: "value=value.replace(/[^\\d.]/g,'')",
|
|
1016
1016
|
modelValue: e.states.model[l.field.areaCode],
|
|
1017
|
-
"onUpdate:modelValue": (
|
|
1017
|
+
"onUpdate:modelValue": (o) => e.states.model[l.field.areaCode] = o,
|
|
1018
1018
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1019
1019
|
placeholder: ((i = l.areaOptions) == null ? void 0 : i.placeholder) || "",
|
|
1020
1020
|
class: b(
|
|
@@ -1024,13 +1024,13 @@ function de(c, N, z, e, w, Q) {
|
|
|
1024
1024
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : u("", !0),
|
|
1025
1025
|
ml
|
|
1026
1026
|
])) : u("", !0),
|
|
1027
|
-
l.field.nationCode && !e.phoneWrap ? (
|
|
1027
|
+
l.field.nationCode && !e.phoneWrap ? (d(), M(Y, {
|
|
1028
1028
|
key: 1,
|
|
1029
1029
|
"popper-class": "selectTriangles",
|
|
1030
1030
|
teleported: !1,
|
|
1031
1031
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1032
1032
|
modelValue: e.states.model[l.field.nationCode],
|
|
1033
|
-
"onUpdate:modelValue": (
|
|
1033
|
+
"onUpdate:modelValue": (o) => e.states.model[l.field.nationCode] = o,
|
|
1034
1034
|
placeholder: ((C = l.nationOptions) == null ? void 0 : C.placeholder) || "",
|
|
1035
1035
|
class: b(
|
|
1036
1036
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
@@ -1039,9 +1039,9 @@ function de(c, N, z, e, w, Q) {
|
|
|
1039
1039
|
"fit-input-width": !0
|
|
1040
1040
|
}, {
|
|
1041
1041
|
default: n(() => {
|
|
1042
|
-
var
|
|
1042
|
+
var o;
|
|
1043
1043
|
return [
|
|
1044
|
-
(
|
|
1044
|
+
(d(!0), r(A, null, k((o = l.nationOptions) == null ? void 0 : o.data, (s, I) => (d(), M(S, {
|
|
1045
1045
|
label: s.name,
|
|
1046
1046
|
value: s.code,
|
|
1047
1047
|
key: I
|
|
@@ -1050,29 +1050,29 @@ function de(c, N, z, e, w, Q) {
|
|
|
1050
1050
|
}),
|
|
1051
1051
|
_: 2
|
|
1052
1052
|
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : u("", !0),
|
|
1053
|
-
e.phoneWrap ? u("", !0) : (
|
|
1054
|
-
l.field.areaCode && !e.phoneWrap ? (
|
|
1053
|
+
e.phoneWrap ? u("", !0) : (d(), r("div", $l, " - ")),
|
|
1054
|
+
l.field.areaCode && !e.phoneWrap ? (d(), M(O, {
|
|
1055
1055
|
key: 3,
|
|
1056
|
-
onBlur: (
|
|
1057
|
-
|
|
1056
|
+
onBlur: (o) => e.inputBlur(
|
|
1057
|
+
o,
|
|
1058
1058
|
typeof l.field == "string" ? l.field : ""
|
|
1059
1059
|
),
|
|
1060
|
-
onFocus: (
|
|
1061
|
-
|
|
1060
|
+
onFocus: (o) => e.inputFocus(
|
|
1061
|
+
o,
|
|
1062
1062
|
typeof l.field == "string" ? l.field : ""
|
|
1063
1063
|
),
|
|
1064
|
-
onChange: (
|
|
1065
|
-
|
|
1064
|
+
onChange: (o) => e.inputChange(
|
|
1065
|
+
o,
|
|
1066
1066
|
typeof l.field == "string" ? l.field : ""
|
|
1067
1067
|
),
|
|
1068
|
-
onInput: (
|
|
1069
|
-
|
|
1068
|
+
onInput: (o) => e.inputInput(
|
|
1069
|
+
o,
|
|
1070
1070
|
typeof l.field == "string" ? l.field : ""
|
|
1071
1071
|
),
|
|
1072
1072
|
maxlength: l.maxlengthAreaCode || 5,
|
|
1073
1073
|
oninput: "value=value.replace(/[^\\d.]/g,'')",
|
|
1074
1074
|
modelValue: e.states.model[l.field.areaCode],
|
|
1075
|
-
"onUpdate:modelValue": (
|
|
1075
|
+
"onUpdate:modelValue": (o) => e.states.model[l.field.areaCode] = o,
|
|
1076
1076
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1077
1077
|
placeholder: ((F = l.areaOptions) == null ? void 0 : F.placeholder) || "",
|
|
1078
1078
|
class: b(
|
|
@@ -1081,28 +1081,28 @@ function de(c, N, z, e, w, Q) {
|
|
|
1081
1081
|
style: p("width:" + l.widthArea),
|
|
1082
1082
|
clearable: l.clearable
|
|
1083
1083
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : u("", !0),
|
|
1084
|
-
e.phoneWrap ? u("", !0) : (
|
|
1085
|
-
l.field.phoneNumber ? (
|
|
1084
|
+
e.phoneWrap ? u("", !0) : (d(), r("div", le, " - ")),
|
|
1085
|
+
l.field.phoneNumber ? (d(), M(O, {
|
|
1086
1086
|
key: 5,
|
|
1087
|
-
onBlur: (
|
|
1088
|
-
|
|
1087
|
+
onBlur: (o) => e.inputBlur(
|
|
1088
|
+
o,
|
|
1089
1089
|
typeof l.field == "string" ? l.field : ""
|
|
1090
1090
|
),
|
|
1091
|
-
onFocus: (
|
|
1092
|
-
|
|
1091
|
+
onFocus: (o) => e.inputFocus(
|
|
1092
|
+
o,
|
|
1093
1093
|
typeof l.field == "string" ? l.field : ""
|
|
1094
1094
|
),
|
|
1095
|
-
onChange: (
|
|
1096
|
-
|
|
1095
|
+
onChange: (o) => e.inputChange(
|
|
1096
|
+
o,
|
|
1097
1097
|
typeof l.field == "string" ? l.field : ""
|
|
1098
1098
|
),
|
|
1099
|
-
onInput: (
|
|
1100
|
-
|
|
1099
|
+
onInput: (o) => e.inputInput(
|
|
1100
|
+
o,
|
|
1101
1101
|
typeof l.field == "string" ? l.field : ""
|
|
1102
1102
|
),
|
|
1103
1103
|
maxlength: l.maxlength,
|
|
1104
1104
|
modelValue: e.states.model[l.field.phoneNumber],
|
|
1105
|
-
"onUpdate:modelValue": (
|
|
1105
|
+
"onUpdate:modelValue": (o) => e.states.model[l.field.phoneNumber] = o,
|
|
1106
1106
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
|
|
1107
1107
|
placeholder: l.placeholder || "",
|
|
1108
1108
|
class: b(
|
|
@@ -1115,7 +1115,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
1115
1115
|
];
|
|
1116
1116
|
}),
|
|
1117
1117
|
_: 2
|
|
1118
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (
|
|
1118
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (d(), M(f, {
|
|
1119
1119
|
key: 14,
|
|
1120
1120
|
label: l.label
|
|
1121
1121
|
}, {
|
|
@@ -1123,19 +1123,19 @@ function de(c, N, z, e, w, Q) {
|
|
|
1123
1123
|
ee
|
|
1124
1124
|
]),
|
|
1125
1125
|
_: 2
|
|
1126
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (
|
|
1126
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (d(), M(f, {
|
|
1127
1127
|
key: 15,
|
|
1128
1128
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1129
1129
|
prop: l.field,
|
|
1130
1130
|
class: b(l.prepend ? "input-item" : "")
|
|
1131
1131
|
}, {
|
|
1132
1132
|
label: n(() => [
|
|
1133
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
1133
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
1134
1134
|
key: 0,
|
|
1135
1135
|
style: p(l.labelStyle)
|
|
1136
1136
|
}, [
|
|
1137
|
-
|
|
1138
|
-
l.required ? (
|
|
1137
|
+
t(y(l.label) + " ", 1),
|
|
1138
|
+
l.required ? (d(), r("span", ae, "*")) : u("", !0)
|
|
1139
1139
|
], 4))
|
|
1140
1140
|
]),
|
|
1141
1141
|
default: n(() => [
|
|
@@ -1159,7 +1159,6 @@ function de(c, N, z, e, w, Q) {
|
|
|
1159
1159
|
maxlength: l.maxlength,
|
|
1160
1160
|
modelValue: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
1161
1161
|
"onUpdate:modelValue": (a) => e.states.model[typeof l.field == "string" ? l.field : ""] = a,
|
|
1162
|
-
modelModifiers: { number: !0 },
|
|
1163
1162
|
"show-word-limit": l.showWordLimit,
|
|
1164
1163
|
readonly: l.readonly,
|
|
1165
1164
|
type: l.type ? l.type : "number",
|
|
@@ -1177,33 +1176,33 @@ function de(c, N, z, e, w, Q) {
|
|
|
1177
1176
|
l.prepend ? {
|
|
1178
1177
|
name: "prepend",
|
|
1179
1178
|
fn: n(() => [
|
|
1180
|
-
|
|
1179
|
+
t(y(l.prepend), 1)
|
|
1181
1180
|
]),
|
|
1182
1181
|
key: "0"
|
|
1183
1182
|
} : void 0,
|
|
1184
1183
|
l.append ? {
|
|
1185
1184
|
name: "append",
|
|
1186
1185
|
fn: n(() => [
|
|
1187
|
-
|
|
1186
|
+
t(y(l.append), 1)
|
|
1188
1187
|
]),
|
|
1189
1188
|
key: "1"
|
|
1190
1189
|
} : void 0
|
|
1191
1190
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1192
1191
|
]),
|
|
1193
1192
|
_: 2
|
|
1194
|
-
}, 1032, ["rules", "prop", "class"])) : (
|
|
1193
|
+
}, 1032, ["rules", "prop", "class"])) : (d(), M(f, {
|
|
1195
1194
|
key: 16,
|
|
1196
1195
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1197
1196
|
prop: l.field,
|
|
1198
1197
|
class: b(l.prepend ? "input-item" : "")
|
|
1199
1198
|
}, {
|
|
1200
1199
|
label: n(() => [
|
|
1201
|
-
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
1200
|
+
l.slotLabelName ? h(c.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), r("div", {
|
|
1202
1201
|
key: 0,
|
|
1203
1202
|
style: p(l.labelStyle)
|
|
1204
1203
|
}, [
|
|
1205
|
-
|
|
1206
|
-
l.required ? (
|
|
1204
|
+
t(y(l.label) + " ", 1),
|
|
1205
|
+
l.required ? (d(), r("span", oe, "*")) : u("", !0)
|
|
1207
1206
|
], 4))
|
|
1208
1207
|
]),
|
|
1209
1208
|
default: n(() => [
|
|
@@ -1243,14 +1242,14 @@ function de(c, N, z, e, w, Q) {
|
|
|
1243
1242
|
l.prepend ? {
|
|
1244
1243
|
name: "prepend",
|
|
1245
1244
|
fn: n(() => [
|
|
1246
|
-
|
|
1245
|
+
t(y(l.prepend), 1)
|
|
1247
1246
|
]),
|
|
1248
1247
|
key: "0"
|
|
1249
1248
|
} : void 0,
|
|
1250
1249
|
l.append ? {
|
|
1251
1250
|
name: "append",
|
|
1252
1251
|
fn: n(() => [
|
|
1253
|
-
|
|
1252
|
+
t(y(l.append), 1)
|
|
1254
1253
|
]),
|
|
1255
1254
|
key: "1"
|
|
1256
1255
|
} : void 0
|
|
@@ -1273,8 +1272,8 @@ function de(c, N, z, e, w, Q) {
|
|
|
1273
1272
|
model: z.model,
|
|
1274
1273
|
onBtnClick: e.onSubmit
|
|
1275
1274
|
}, () => [
|
|
1276
|
-
(
|
|
1277
|
-
l.isShow ? (
|
|
1275
|
+
(d(!0), r(A, null, k(e.formOptions.btnConfig, (l, U) => (d(), r("div", { key: U }, [
|
|
1276
|
+
l.isShow ? (d(), M(Z, {
|
|
1278
1277
|
key: 0,
|
|
1279
1278
|
btnCode: l.btnCode,
|
|
1280
1279
|
plain: l.plain,
|
|
@@ -1302,7 +1301,7 @@ function de(c, N, z, e, w, Q) {
|
|
|
1302
1301
|
onHandleClick: (a) => e.handleClick(a, l.isRule, l.emitName)
|
|
1303
1302
|
}, {
|
|
1304
1303
|
default: n(() => [
|
|
1305
|
-
|
|
1304
|
+
t(y(l.name), 1)
|
|
1306
1305
|
]),
|
|
1307
1306
|
_: 2
|
|
1308
1307
|
}, 1032, ["btnCode", "plain", "primary", "info", "text", "debounced", "link", "loading", "loadingColor", "width", "height", "circle", "color", "bgColor", "borderColor", "borderStyle", "borderWidth", "icon", "size", "fontSize", "fontWeight", "style", "class", "onHandleClick"])) : u("", !0)
|
|
@@ -1315,8 +1314,8 @@ function de(c, N, z, e, w, Q) {
|
|
|
1315
1314
|
_: 3
|
|
1316
1315
|
}, 16, ["model", "label-position"]);
|
|
1317
1316
|
}
|
|
1318
|
-
const el = /* @__PURE__ */ Il(Nl, [["render", de], ["__scopeId", "data-v-
|
|
1319
|
-
function H(c,
|
|
1317
|
+
const el = /* @__PURE__ */ Il(Nl, [["render", de], ["__scopeId", "data-v-f15a0c48"]]);
|
|
1318
|
+
function H(c, D = {}) {
|
|
1320
1319
|
H.installed || (H.installed = !0, c.component("common-el-form", el));
|
|
1321
1320
|
}
|
|
1322
1321
|
el.install = H;
|