sinosoft-common-form 1.6.3 → 1.6.4
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 +160 -114
- 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
|
|
1
|
+
import { ref as W, reactive as J, shallowRef as X, h as $, computed as ll, onMounted as el, onBeforeUnmount as ol, watch as al, toRefs as nl, nextTick as dl, resolveComponent as M, openBlock as a, createBlock as y, mergeProps as sl, withModifiers as rl, withCtx as n, createVNode as b, createElementBlock as s, Fragment as O, renderList as R, withDirectives as il, createElementVNode as A, normalizeStyle as g, toDisplayString as u, createTextVNode as _, createCommentVNode as c, renderSlot as C, normalizeClass as h, withKeys as U, createSlots as Z, vShow as yl, pushScopeId as pl, popScopeId as fl } from "vue";
|
|
2
2
|
const cl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==", ul = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -22,9 +22,9 @@ const cl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
24
|
setup(f, { emit: D }) {
|
|
25
|
-
const w =
|
|
25
|
+
const w = W(!0), e = J({
|
|
26
26
|
model: {}
|
|
27
|
-
}), k =
|
|
27
|
+
}), k = W(null), Q = X({
|
|
28
28
|
render() {
|
|
29
29
|
return $("img", {
|
|
30
30
|
src: cl
|
|
@@ -32,62 +32,62 @@ const cl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
32
32
|
}
|
|
33
33
|
}), t = ll(() => Object.assign([], f.options)), N = () => {
|
|
34
34
|
e.model = f.model;
|
|
35
|
-
}, x = (
|
|
35
|
+
}, x = (r, i, d) => {
|
|
36
36
|
var I;
|
|
37
|
-
|
|
37
|
+
i ? (w.value = !1, dl(() => {
|
|
38
38
|
var V;
|
|
39
|
-
(V = k.value) == null || V.validate((
|
|
40
|
-
if (console.log(1111111111, state.model),
|
|
41
|
-
D(d || "submit", e.model,
|
|
39
|
+
(V = k.value) == null || V.validate((m) => {
|
|
40
|
+
if (console.log(1111111111, state.model), m)
|
|
41
|
+
D(d || "submit", e.model, r);
|
|
42
42
|
else
|
|
43
43
|
return !1;
|
|
44
44
|
});
|
|
45
|
-
})) : (d === "reset" && ((I = k.value) == null || I.resetFields()), D(d || "submit", e.model,
|
|
46
|
-
}, F = (
|
|
47
|
-
D("selectChange",
|
|
48
|
-
}, v = (
|
|
49
|
-
D("radioChange",
|
|
50
|
-
}, j = (
|
|
51
|
-
D("checkChange",
|
|
52
|
-
}, E = (
|
|
53
|
-
const d = e.model[
|
|
45
|
+
})) : (d === "reset" && ((I = k.value) == null || I.resetFields()), D(d || "submit", e.model, r));
|
|
46
|
+
}, F = (r, i) => {
|
|
47
|
+
D("selectChange", r, i);
|
|
48
|
+
}, v = (r, i) => {
|
|
49
|
+
D("radioChange", r, i);
|
|
50
|
+
}, j = (r, i) => {
|
|
51
|
+
D("checkChange", r, i);
|
|
52
|
+
}, E = (r, i) => {
|
|
53
|
+
const d = e.model[i].length;
|
|
54
54
|
if (d === 1) {
|
|
55
|
-
D("checkChange",
|
|
55
|
+
D("checkChange", r, i);
|
|
56
56
|
return;
|
|
57
57
|
} else
|
|
58
|
-
d > 1 ? (e.model[
|
|
59
|
-
}, S = (
|
|
60
|
-
x(
|
|
61
|
-
}, z = (
|
|
62
|
-
|
|
63
|
-
}, L = (
|
|
64
|
-
D("dateChange",
|
|
65
|
-
},
|
|
66
|
-
console.log(k.value), D("inputBlur",
|
|
67
|
-
},
|
|
68
|
-
D("inputFocus",
|
|
69
|
-
}, q = (
|
|
70
|
-
D("inputChange",
|
|
71
|
-
},
|
|
72
|
-
D("inputInput",
|
|
73
|
-
}, l = (
|
|
74
|
-
var
|
|
75
|
-
(
|
|
76
|
-
}, T = (
|
|
77
|
-
var
|
|
78
|
-
(
|
|
79
|
-
}, o =
|
|
58
|
+
d > 1 ? (e.model[i].shift(), D("checkChange", r, i)) : d < 1 && D("checkChange", r, i);
|
|
59
|
+
}, S = (r, i, d) => {
|
|
60
|
+
x(r, i, d);
|
|
61
|
+
}, z = (r, i) => {
|
|
62
|
+
r && (i == null ? void 0 : i.key) === "Enter" && x(void 0, !0, "submit");
|
|
63
|
+
}, L = (r, i) => {
|
|
64
|
+
D("dateChange", r, i);
|
|
65
|
+
}, Y = (r, i) => {
|
|
66
|
+
console.log(k.value), D("inputBlur", r, i);
|
|
67
|
+
}, B = (r, i) => {
|
|
68
|
+
D("inputFocus", r, i);
|
|
69
|
+
}, q = (r, i) => {
|
|
70
|
+
D("inputChange", r, i);
|
|
71
|
+
}, H = (r, i) => {
|
|
72
|
+
D("inputInput", r, i);
|
|
73
|
+
}, l = (r) => {
|
|
74
|
+
var i;
|
|
75
|
+
(i = k.value) == null || i.resetFields(r);
|
|
76
|
+
}, T = (r) => {
|
|
77
|
+
var i;
|
|
78
|
+
(i = k.value) == null || i.clearValidate(r);
|
|
79
|
+
}, o = W(!1), p = () => {
|
|
80
80
|
window.innerWidth < 768 ? (console.log("屏幕宽度小于768px"), o.value = !0) : o.value = !1;
|
|
81
81
|
};
|
|
82
82
|
return el(() => {
|
|
83
|
-
var
|
|
84
|
-
N(), (
|
|
83
|
+
var r;
|
|
84
|
+
N(), (r = k.value) == null || r.resetFields(), window.addEventListener("resize", p);
|
|
85
85
|
}), ol(() => {
|
|
86
86
|
window.removeEventListener("resize", p);
|
|
87
87
|
}), al(
|
|
88
88
|
() => f.fieldList,
|
|
89
|
-
(
|
|
90
|
-
|
|
89
|
+
(r, i) => {
|
|
90
|
+
r !== i && N();
|
|
91
91
|
}
|
|
92
92
|
), {
|
|
93
93
|
...nl(e),
|
|
@@ -105,10 +105,10 @@ const cl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
105
105
|
resetFieldsTest: l,
|
|
106
106
|
clearValidateTest: T,
|
|
107
107
|
dateChange: L,
|
|
108
|
-
inputBlur:
|
|
109
|
-
inputFocus:
|
|
108
|
+
inputBlur: Y,
|
|
109
|
+
inputFocus: B,
|
|
110
110
|
inputChange: q,
|
|
111
|
-
inputInput:
|
|
111
|
+
inputInput: H,
|
|
112
112
|
noFormRule: w,
|
|
113
113
|
phoneWrap: o
|
|
114
114
|
// spaceRule,
|
|
@@ -120,7 +120,7 @@ const tl = (f, D) => {
|
|
|
120
120
|
for (const [e, k] of D)
|
|
121
121
|
w[e] = k;
|
|
122
122
|
return w;
|
|
123
|
-
}, P = (f) => (pl("data-v-
|
|
123
|
+
}, P = (f) => (pl("data-v-91c8f57a"), f = f(), fl(), f), bl = { class: "header-title" }, hl = { class: "title-content" }, gl = {
|
|
124
124
|
key: 0,
|
|
125
125
|
class: "custom-required"
|
|
126
126
|
}, _l = {
|
|
@@ -157,27 +157,30 @@ const tl = (f, D) => {
|
|
|
157
157
|
key: 0,
|
|
158
158
|
class: "custom-required"
|
|
159
159
|
}, Fl = {
|
|
160
|
+
key: 0,
|
|
161
|
+
class: "custom-required"
|
|
162
|
+
}, vl = {
|
|
160
163
|
key: 0,
|
|
161
164
|
class: "phone_item_content_before"
|
|
162
|
-
},
|
|
165
|
+
}, jl = /* @__PURE__ */ P(() => /* @__PURE__ */ A("div", { class: "line_middle" }, "-", -1)), zl = /* @__PURE__ */ P(() => /* @__PURE__ */ A("div", { class: "line_middle" }, "-", -1)), Ll = {
|
|
163
166
|
key: 2,
|
|
164
167
|
class: "line_middle"
|
|
165
|
-
},
|
|
168
|
+
}, Tl = {
|
|
166
169
|
key: 4,
|
|
167
170
|
class: "line_middle"
|
|
168
|
-
},
|
|
171
|
+
}, El = /* @__PURE__ */ P(() => /* @__PURE__ */ A("div", {
|
|
169
172
|
class: "line",
|
|
170
173
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
171
|
-
}, null, -1)),
|
|
174
|
+
}, null, -1)), Sl = {
|
|
172
175
|
key: 0,
|
|
173
176
|
class: "custom-required"
|
|
174
|
-
},
|
|
177
|
+
}, Bl = {
|
|
175
178
|
key: 0,
|
|
176
179
|
class: "custom-required"
|
|
177
180
|
};
|
|
178
|
-
function
|
|
179
|
-
const t =
|
|
180
|
-
return a(), y(
|
|
181
|
+
function Yl(f, D, w, e, k, Q) {
|
|
182
|
+
const t = M("el-form-item"), N = M("el-input"), x = M("el-col"), F = M("el-row"), v = M("el-radio"), j = M("el-radio-group"), E = M("el-checkbox"), S = M("el-checkbox-group"), z = M("el-option"), L = M("el-select"), Y = M("a-date-picker"), B = M("a-range-picker"), q = M("sinosoftCommonButton"), H = M("el-form");
|
|
183
|
+
return a(), y(H, sl({
|
|
181
184
|
"hide-required-asterisk": "",
|
|
182
185
|
onSubmit: D[0] || (D[0] = rl(() => {
|
|
183
186
|
}, ["prevent"])),
|
|
@@ -189,7 +192,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
189
192
|
default: n(() => [
|
|
190
193
|
b(F, { gutter: 20 }, {
|
|
191
194
|
default: n(() => [
|
|
192
|
-
(a(!0),
|
|
195
|
+
(a(!0), s(O, null, R(w.fieldList, (l, T) => il((a(), y(x, {
|
|
193
196
|
xs: l.xs ? l.xs : 24,
|
|
194
197
|
sm: l.sm ? l.sm : 24,
|
|
195
198
|
md: l.md ? l.md : 8,
|
|
@@ -215,12 +218,12 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
215
218
|
class: "container_name"
|
|
216
219
|
}, {
|
|
217
220
|
label: n(() => [
|
|
218
|
-
l.slotLabelName ?
|
|
221
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
219
222
|
key: 0,
|
|
220
223
|
style: g(l.labelStyle)
|
|
221
224
|
}, [
|
|
222
225
|
_(u(l.label) + " ", 1),
|
|
223
|
-
l.required ? (a(),
|
|
226
|
+
l.required ? (a(), s("span", gl, "*")) : c("", !0)
|
|
224
227
|
], 4))
|
|
225
228
|
]),
|
|
226
229
|
default: n(() => [
|
|
@@ -399,12 +402,12 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
399
402
|
class: "radio_row"
|
|
400
403
|
}, {
|
|
401
404
|
label: n(() => [
|
|
402
|
-
l.slotLabelName ?
|
|
405
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
403
406
|
key: 0,
|
|
404
407
|
style: g(l.labelStyle)
|
|
405
408
|
}, [
|
|
406
409
|
_(u(l.label) + " ", 1),
|
|
407
|
-
l.required ? (a(),
|
|
410
|
+
l.required ? (a(), s("span", _l, "*")) : c("", !0)
|
|
408
411
|
], 4))
|
|
409
412
|
]),
|
|
410
413
|
default: n(() => [
|
|
@@ -417,7 +420,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
417
420
|
default: n(() => {
|
|
418
421
|
var o;
|
|
419
422
|
return [
|
|
420
|
-
(a(!0),
|
|
423
|
+
(a(!0), s(O, null, R((o = l.options) == null ? void 0 : o.data, (p) => (a(), y(v, {
|
|
421
424
|
label: p.code,
|
|
422
425
|
size: "large",
|
|
423
426
|
key: p.code
|
|
@@ -445,12 +448,12 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
445
448
|
class: h([l.labelNode ? "radio_Note" : "rule_err"])
|
|
446
449
|
}, {
|
|
447
450
|
label: n(() => [
|
|
448
|
-
l.slotLabelName ?
|
|
451
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
449
452
|
key: 0,
|
|
450
453
|
style: g(l.labelStyle)
|
|
451
454
|
}, [
|
|
452
455
|
_(u(l.label) + " ", 1),
|
|
453
|
-
l.required ? (a(),
|
|
456
|
+
l.required ? (a(), s("span", Cl, "*")) : c("", !0)
|
|
454
457
|
], 4))
|
|
455
458
|
]),
|
|
456
459
|
default: n(() => [
|
|
@@ -467,7 +470,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
467
470
|
default: n(() => {
|
|
468
471
|
var o;
|
|
469
472
|
return [
|
|
470
|
-
(a(!0),
|
|
473
|
+
(a(!0), s(O, null, R((o = l.options) == null ? void 0 : o.data, (p) => (a(), y(v, {
|
|
471
474
|
size: "large",
|
|
472
475
|
label: p.code,
|
|
473
476
|
key: p.code,
|
|
@@ -495,7 +498,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
495
498
|
A("div", null, [
|
|
496
499
|
A("span", Ml, u(l.labelBefore), 1),
|
|
497
500
|
A("span", Nl, u(l.labelNode), 1),
|
|
498
|
-
l.required ? (a(),
|
|
501
|
+
l.required ? (a(), s("span", Al, "*")) : c("", !0)
|
|
499
502
|
]),
|
|
500
503
|
b(j, {
|
|
501
504
|
modelValue: e.states.model[l.field],
|
|
@@ -510,7 +513,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
510
513
|
default: n(() => {
|
|
511
514
|
var o;
|
|
512
515
|
return [
|
|
513
|
-
(a(!0),
|
|
516
|
+
(a(!0), s(O, null, R((o = l.options) == null ? void 0 : o.data, (p) => (a(), y(v, {
|
|
514
517
|
size: "large",
|
|
515
518
|
label: p.code,
|
|
516
519
|
key: p.code
|
|
@@ -533,12 +536,12 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
533
536
|
prop: l.field
|
|
534
537
|
}, {
|
|
535
538
|
label: n(() => [
|
|
536
|
-
l.slotLabelName ?
|
|
539
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
537
540
|
key: 0,
|
|
538
541
|
style: g(l.labelStyle)
|
|
539
542
|
}, [
|
|
540
543
|
_(u(l.label) + " ", 1),
|
|
541
|
-
l.required ? (a(),
|
|
544
|
+
l.required ? (a(), s("span", kl, "*")) : c("", !0)
|
|
542
545
|
], 4))
|
|
543
546
|
]),
|
|
544
547
|
default: n(() => [
|
|
@@ -554,7 +557,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
554
557
|
default: n(() => {
|
|
555
558
|
var o;
|
|
556
559
|
return [
|
|
557
|
-
(a(!0),
|
|
560
|
+
(a(!0), s(O, null, R((o = l.options) == null ? void 0 : o.data, (p) => (a(), y(E, {
|
|
558
561
|
key: p.code,
|
|
559
562
|
label: p.code,
|
|
560
563
|
disabled: p.isDisabled
|
|
@@ -577,12 +580,12 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
577
580
|
prop: l.field
|
|
578
581
|
}, {
|
|
579
582
|
label: n(() => [
|
|
580
|
-
l.slotLabelName ?
|
|
583
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
581
584
|
key: 0,
|
|
582
585
|
style: g(l.labelStyle)
|
|
583
586
|
}, [
|
|
584
587
|
_(u(l.label) + " ", 1),
|
|
585
|
-
l.required ? (a(),
|
|
588
|
+
l.required ? (a(), s("span", Ol, "*")) : c("", !0)
|
|
586
589
|
], 4))
|
|
587
590
|
]),
|
|
588
591
|
default: n(() => [
|
|
@@ -598,7 +601,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
598
601
|
default: n(() => {
|
|
599
602
|
var o;
|
|
600
603
|
return [
|
|
601
|
-
(a(!0),
|
|
604
|
+
(a(!0), s(O, null, R((o = l.options) == null ? void 0 : o.data, (p) => (a(), y(E, {
|
|
602
605
|
key: p.code,
|
|
603
606
|
label: p.code,
|
|
604
607
|
disabled: p.isDisabled
|
|
@@ -622,12 +625,12 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
622
625
|
prop: l.field
|
|
623
626
|
}, {
|
|
624
627
|
label: n(() => [
|
|
625
|
-
l.slotLabelName ?
|
|
628
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
626
629
|
key: 0,
|
|
627
630
|
style: g(l.labelStyle)
|
|
628
631
|
}, [
|
|
629
632
|
_(u(l.label) + " ", 1),
|
|
630
|
-
l.required ? (a(),
|
|
633
|
+
l.required ? (a(), s("span", Rl, "*")) : c("", !0)
|
|
631
634
|
], 4))
|
|
632
635
|
]),
|
|
633
636
|
default: n(() => [
|
|
@@ -648,7 +651,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
648
651
|
default: n(() => {
|
|
649
652
|
var o;
|
|
650
653
|
return [
|
|
651
|
-
(a(!0),
|
|
654
|
+
(a(!0), s(O, null, R((o = l.options) == null ? void 0 : o.data, (p) => (a(), y(z, {
|
|
652
655
|
key: p.code,
|
|
653
656
|
label: p.name,
|
|
654
657
|
value: p.code
|
|
@@ -671,16 +674,16 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
671
674
|
class: "date_item"
|
|
672
675
|
}, {
|
|
673
676
|
label: n(() => [
|
|
674
|
-
l.slotLabelName ?
|
|
677
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
675
678
|
key: 0,
|
|
676
679
|
style: g(l.labelStyle)
|
|
677
680
|
}, [
|
|
678
681
|
_(u(l.label) + " ", 1),
|
|
679
|
-
l.required ? (a(),
|
|
682
|
+
l.required ? (a(), s("span", wl, "*")) : c("", !0)
|
|
680
683
|
], 4))
|
|
681
684
|
]),
|
|
682
685
|
default: n(() => [
|
|
683
|
-
b(
|
|
686
|
+
b(Y, {
|
|
684
687
|
size: "large",
|
|
685
688
|
format: "DD/MM/YYYY",
|
|
686
689
|
"value-format": "DD/MM/YYYY",
|
|
@@ -700,7 +703,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
700
703
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
701
704
|
)
|
|
702
705
|
}, null, 8, ["value", "onUpdate:value", "disabled-date", "onChange", "suffixIcon", "disabled", "inputReadOnly", "picker", "placeholder", "class"]),
|
|
703
|
-
l.showTo ? (a(),
|
|
706
|
+
l.showTo ? (a(), s("span", xl, u(l.showTo), 1)) : c("", !0)
|
|
704
707
|
]),
|
|
705
708
|
_: 2
|
|
706
709
|
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), y(t, {
|
|
@@ -710,16 +713,16 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
710
713
|
prop: l.field
|
|
711
714
|
}, {
|
|
712
715
|
label: n(() => [
|
|
713
|
-
l.slotLabelName ?
|
|
716
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
714
717
|
key: 0,
|
|
715
718
|
style: g(l.labelStyle)
|
|
716
719
|
}, [
|
|
717
720
|
_(u(l.label) + " ", 1),
|
|
718
|
-
l.required ? (a(),
|
|
721
|
+
l.required ? (a(), s("span", Il, "*")) : c("", !0)
|
|
719
722
|
], 4))
|
|
720
723
|
]),
|
|
721
724
|
default: n(() => [
|
|
722
|
-
b(
|
|
725
|
+
b(B, {
|
|
723
726
|
"popper-class": "selectTriangles",
|
|
724
727
|
teleported: !1,
|
|
725
728
|
format: "DD/MM/YYYY",
|
|
@@ -743,49 +746,92 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
743
746
|
}, null, 8, ["disabled-date", "onChange", "modelValue", "onUpdate:modelValue", "prefix-icon", "start-placeholder", "end-placeholder", "class"])
|
|
744
747
|
]),
|
|
745
748
|
_: 2
|
|
746
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "
|
|
749
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(), y(t, {
|
|
747
750
|
key: 10,
|
|
748
751
|
label: l.label,
|
|
749
752
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
753
|
+
prop: l.field
|
|
754
|
+
}, {
|
|
755
|
+
label: n(() => [
|
|
756
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
757
|
+
key: 0,
|
|
758
|
+
style: g(l.labelStyle)
|
|
759
|
+
}, [
|
|
760
|
+
_(u(l.label) + " ", 1),
|
|
761
|
+
l.required ? (a(), s("span", Vl, "*")) : c("", !0)
|
|
762
|
+
], 4))
|
|
763
|
+
]),
|
|
764
|
+
default: n(() => [
|
|
765
|
+
b(B, {
|
|
766
|
+
"popper-class": "selectTriangles",
|
|
767
|
+
teleported: !1,
|
|
768
|
+
format: "DD/MM/YYYY HH:mm:ss",
|
|
769
|
+
"value-format": "DD/MM/YYYY",
|
|
770
|
+
"disabled-date": l.disabledDate,
|
|
771
|
+
"show-time": {
|
|
772
|
+
hideDisabledOptions: !0
|
|
773
|
+
},
|
|
774
|
+
onChange: (o) => e.dateChange(
|
|
775
|
+
o,
|
|
776
|
+
typeof l.field == "string" ? l.field : ""
|
|
777
|
+
),
|
|
778
|
+
modelValue: e.states.model[l.field],
|
|
779
|
+
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
780
|
+
"prefix-icon": e.prefixIcon,
|
|
781
|
+
type: "daterange",
|
|
782
|
+
"range-separator": "To",
|
|
783
|
+
"start-placeholder": l.startPlaceholder,
|
|
784
|
+
"end-placeholder": l.endPlaceholder,
|
|
785
|
+
size: "large",
|
|
786
|
+
class: h(
|
|
787
|
+
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
788
|
+
)
|
|
789
|
+
}, null, 8, ["disabled-date", "onChange", "modelValue", "onUpdate:modelValue", "prefix-icon", "start-placeholder", "end-placeholder", "class"])
|
|
790
|
+
]),
|
|
791
|
+
_: 2
|
|
792
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), y(t, {
|
|
793
|
+
key: 11,
|
|
794
|
+
label: l.label,
|
|
795
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
750
796
|
prop: l.field,
|
|
751
797
|
class: "rule_err"
|
|
752
798
|
}, {
|
|
753
799
|
label: n(() => [
|
|
754
|
-
l.slotLabelName ?
|
|
800
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
755
801
|
key: 0,
|
|
756
802
|
style: g(l.labelStyle)
|
|
757
803
|
}, [
|
|
758
804
|
_(u(l.label) + " ", 1),
|
|
759
|
-
l.required ? (a(),
|
|
805
|
+
l.required ? (a(), s("span", Ul, "*")) : c("", !0)
|
|
760
806
|
], 4))
|
|
761
807
|
]),
|
|
762
808
|
default: n(() => [
|
|
763
|
-
|
|
809
|
+
C(f.$slots, l.slotItemName, {}, void 0, !0)
|
|
764
810
|
]),
|
|
765
811
|
_: 2
|
|
766
812
|
}, 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 ? (a(), y(t, {
|
|
767
|
-
key:
|
|
813
|
+
key: 12,
|
|
768
814
|
label: l.label,
|
|
769
815
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
770
816
|
prop: l.field.phoneNumber,
|
|
771
817
|
class: "phone_item"
|
|
772
818
|
}, {
|
|
773
819
|
label: n(() => [
|
|
774
|
-
l.slotLabelName ?
|
|
820
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
775
821
|
key: 0,
|
|
776
822
|
style: g(l.labelStyle)
|
|
777
823
|
}, [
|
|
778
824
|
_(u(l.label) + " ", 1),
|
|
779
|
-
l.required ? (a(),
|
|
825
|
+
l.required ? (a(), s("span", Fl, "*")) : c("", !0)
|
|
780
826
|
], 4))
|
|
781
827
|
]),
|
|
782
828
|
default: n(() => {
|
|
783
|
-
var o, p,
|
|
829
|
+
var o, p, r, i;
|
|
784
830
|
return [
|
|
785
831
|
A("div", {
|
|
786
832
|
class: h(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
787
833
|
}, [
|
|
788
|
-
e.phoneWrap ? (a(),
|
|
834
|
+
e.phoneWrap ? (a(), s("div", vl, [
|
|
789
835
|
l.field.nationCode ? (a(), y(L, {
|
|
790
836
|
key: 0,
|
|
791
837
|
"popper-class": "selectTriangles",
|
|
@@ -803,7 +849,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
803
849
|
default: n(() => {
|
|
804
850
|
var d;
|
|
805
851
|
return [
|
|
806
|
-
(a(!0),
|
|
852
|
+
(a(!0), s(O, null, R((d = l.nationOptions) == null ? void 0 : d.data, (I, V) => (a(), y(z, {
|
|
807
853
|
label: I.name,
|
|
808
854
|
value: I.code,
|
|
809
855
|
key: V
|
|
@@ -812,7 +858,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
812
858
|
}),
|
|
813
859
|
_: 2
|
|
814
860
|
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : c("", !0),
|
|
815
|
-
|
|
861
|
+
jl,
|
|
816
862
|
l.field.areaCode ? (a(), y(N, {
|
|
817
863
|
key: 1,
|
|
818
864
|
onBlur: (d) => e.inputBlur(
|
|
@@ -841,7 +887,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
841
887
|
),
|
|
842
888
|
clearable: l.clearable
|
|
843
889
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : c("", !0),
|
|
844
|
-
|
|
890
|
+
zl
|
|
845
891
|
])) : c("", !0),
|
|
846
892
|
l.field.nationCode && !e.phoneWrap ? (a(), y(L, {
|
|
847
893
|
key: 1,
|
|
@@ -850,7 +896,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
850
896
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
851
897
|
modelValue: e.states.model[l.field.nationCode],
|
|
852
898
|
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
853
|
-
placeholder: ((
|
|
899
|
+
placeholder: ((r = l.nationOptions) == null ? void 0 : r.placeholder) || "",
|
|
854
900
|
class: h(
|
|
855
901
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
856
902
|
),
|
|
@@ -860,7 +906,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
860
906
|
default: n(() => {
|
|
861
907
|
var d;
|
|
862
908
|
return [
|
|
863
|
-
(a(!0),
|
|
909
|
+
(a(!0), s(O, null, R((d = l.nationOptions) == null ? void 0 : d.data, (I, V) => (a(), y(z, {
|
|
864
910
|
label: I.name,
|
|
865
911
|
value: I.code,
|
|
866
912
|
key: V
|
|
@@ -869,7 +915,7 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
869
915
|
}),
|
|
870
916
|
_: 2
|
|
871
917
|
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : c("", !0),
|
|
872
|
-
e.phoneWrap ? c("", !0) : (a(),
|
|
918
|
+
e.phoneWrap ? c("", !0) : (a(), s("div", Ll, "-")),
|
|
873
919
|
l.field.areaCode && !e.phoneWrap ? (a(), y(N, {
|
|
874
920
|
key: 3,
|
|
875
921
|
onBlur: (d) => e.inputBlur(
|
|
@@ -892,13 +938,13 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
892
938
|
modelValue: e.states.model[l.field.areaCode],
|
|
893
939
|
"onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
|
|
894
940
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
895
|
-
placeholder: ((
|
|
941
|
+
placeholder: ((i = l.areaOptions) == null ? void 0 : i.placeholder) || "",
|
|
896
942
|
class: h(
|
|
897
943
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
898
944
|
),
|
|
899
945
|
clearable: l.clearable
|
|
900
946
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : c("", !0),
|
|
901
|
-
e.phoneWrap ? c("", !0) : (a(),
|
|
947
|
+
e.phoneWrap ? c("", !0) : (a(), s("div", Tl, "-")),
|
|
902
948
|
l.field.phoneNumber ? (a(), y(N, {
|
|
903
949
|
key: 5,
|
|
904
950
|
onBlur: (d) => e.inputBlur(
|
|
@@ -932,26 +978,26 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
932
978
|
}),
|
|
933
979
|
_: 2
|
|
934
980
|
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), y(t, {
|
|
935
|
-
key:
|
|
981
|
+
key: 13,
|
|
936
982
|
label: l.label
|
|
937
983
|
}, {
|
|
938
984
|
default: n(() => [
|
|
939
|
-
|
|
985
|
+
El
|
|
940
986
|
]),
|
|
941
987
|
_: 2
|
|
942
988
|
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), y(t, {
|
|
943
|
-
key:
|
|
989
|
+
key: 14,
|
|
944
990
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
945
991
|
prop: l.field,
|
|
946
992
|
class: h(l.prepend ? "input-item" : "")
|
|
947
993
|
}, {
|
|
948
994
|
label: n(() => [
|
|
949
|
-
l.slotLabelName ?
|
|
995
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
950
996
|
key: 0,
|
|
951
997
|
style: g(l.labelStyle)
|
|
952
998
|
}, [
|
|
953
999
|
_(u(l.label) + " ", 1),
|
|
954
|
-
l.required ? (a(),
|
|
1000
|
+
l.required ? (a(), s("span", Sl, "*")) : c("", !0)
|
|
955
1001
|
], 4))
|
|
956
1002
|
]),
|
|
957
1003
|
default: n(() => [
|
|
@@ -1007,18 +1053,18 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
1007
1053
|
]),
|
|
1008
1054
|
_: 2
|
|
1009
1055
|
}, 1032, ["rules", "prop", "class"])) : (a(), y(t, {
|
|
1010
|
-
key:
|
|
1056
|
+
key: 15,
|
|
1011
1057
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1012
1058
|
prop: l.field,
|
|
1013
1059
|
class: h(l.prepend ? "input-item" : "")
|
|
1014
1060
|
}, {
|
|
1015
1061
|
label: n(() => [
|
|
1016
|
-
l.slotLabelName ?
|
|
1062
|
+
l.slotLabelName ? C(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), s("div", {
|
|
1017
1063
|
key: 0,
|
|
1018
1064
|
style: g(l.labelStyle)
|
|
1019
1065
|
}, [
|
|
1020
1066
|
_(u(l.label) + " ", 1),
|
|
1021
|
-
l.required ? (a(),
|
|
1067
|
+
l.required ? (a(), s("span", Bl, "*")) : c("", !0)
|
|
1022
1068
|
], 4))
|
|
1023
1069
|
]),
|
|
1024
1070
|
default: n(() => [
|
|
@@ -1084,11 +1130,11 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
1084
1130
|
}),
|
|
1085
1131
|
b(t, { class: "btnsItem" }, {
|
|
1086
1132
|
default: n(() => [
|
|
1087
|
-
|
|
1133
|
+
C(f.$slots, "buttons", {
|
|
1088
1134
|
model: w.model,
|
|
1089
1135
|
onBtnClick: e.onSubmit
|
|
1090
1136
|
}, () => [
|
|
1091
|
-
(a(!0),
|
|
1137
|
+
(a(!0), s(O, null, R(e.formOptions.btnConfig, (l, T) => (a(), s("div", { key: T }, [
|
|
1092
1138
|
l.isShow ? (a(), y(q, {
|
|
1093
1139
|
key: 0,
|
|
1094
1140
|
btnCode: l.btnCode,
|
|
@@ -1130,11 +1176,11 @@ function Bl(f, D, w, e, k, Q) {
|
|
|
1130
1176
|
_: 3
|
|
1131
1177
|
}, 16, ["model", "label-position"]);
|
|
1132
1178
|
}
|
|
1133
|
-
const
|
|
1179
|
+
const G = /* @__PURE__ */ tl(ul, [["render", Yl], ["__scopeId", "data-v-91c8f57a"]]);
|
|
1134
1180
|
function K(f, D = {}) {
|
|
1135
|
-
K.installed || (K.installed = !0, f.component("common-el-form",
|
|
1181
|
+
K.installed || (K.installed = !0, f.component("common-el-form", G));
|
|
1136
1182
|
}
|
|
1137
|
-
|
|
1183
|
+
G.install = K;
|
|
1138
1184
|
export {
|
|
1139
|
-
|
|
1185
|
+
G as default
|
|
1140
1186
|
};
|
package/common-form.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,k){typeof exports=="object"&&typeof module<"u"?module.exports=k(require("vue")):typeof define=="function"&&define.amd?define(["vue"],k):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=k(e.Vue))})(this,function(e){"use strict";const k="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==",I={props:{fieldList:{type:Array,required:!0,default:()=>({username:"",age:0,email:""})},model:{type:Object,required:!0,default:()=>({username:"",age:0,email:""})},options:Object},setup(t,{emit:c}){const f=e.ref(!0),o=e.reactive({model:{}}),y=e.ref(null),z=e.shallowRef({render(){return e.h("img",{src:k})}}),i=e.computed(()=>Object.assign([],t.options)),p=()=>{o.model=t.model},b=(d,s,n)=>{var h;s?(f.value=!1,e.nextTick(()=>{var g;(g=y.value)==null||g.validate(tl=>{if(console.log(1111111111,state.model),tl)c(n||"submit",o.model,d);else return!1})})):(n==="reset"&&((h=y.value)==null||h.resetFields()),c(n||"submit",o.model,d))},C=(d,s)=>{c("selectChange",d,s)},N=(d,s)=>{c("radioChange",d,s)},x=(d,s)=>{c("checkChange",d,s)},B=(d,s)=>{const n=o.model[s].length;if(n===1){c("checkChange",d,s);return}else n>1?(o.model[s].shift(),c("checkChange",d,s)):n<1&&c("checkChange",d,s)},V=(d,s,n)=>{b(d,s,n)},D=(d,s)=>{d&&(s==null?void 0:s.key)==="Enter"&&b(void 0,!0,"submit")},w=(d,s)=>{c("dateChange",d,s)},O=(d,s)=>{console.log(y.value),c("inputBlur",d,s)},R=(d,s)=>{c("inputFocus",d,s)},S=(d,s)=>{c("inputChange",d,s)},E=(d,s)=>{c("inputInput",d,s)},l=d=>{var s;(s=y.value)==null||s.resetFields(d)},_=d=>{var s;(s=y.value)==null||s.clearValidate(d)},a=e.ref(!1),r=()=>{window.innerWidth<768?(console.log("屏幕宽度小于768px"),a.value=!0):a.value=!1};return e.onMounted(()=>{var d;p(),(d=y.value)==null||d.resetFields(),window.addEventListener("resize",r)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",r)}),e.watch(()=>t.fieldList,(d,s)=>{d!==s&&p()}),{...e.toRefs(o),formRef:y,states:o,formOptions:i,onSubmit:b,selectChange:C,radioChange:N,checkChange:x,handleCheckedChange:B,prefixIcon:z,handleClick:V,handleKeyUp:D,resetFieldsTest:l,clearValidateTest:_,dateChange:w,inputBlur:O,inputFocus:R,inputChange:S,inputInput:E,noFormRule:f,phoneWrap:a}}},il="",cl="",F=(t,c)=>{const f=t.__vccOpts||t;for(const[o,y]of c)f[o]=y;return f},m=t=>(e.pushScopeId("data-v-238eb8c3"),t=t(),e.popScopeId(),t),U={class:"header-title"},T={class:"title-content"},j={key:0,class:"custom-required"},L={key:0,class:"custom-required"},q=["src"],Y={key:0,class:"custom-required"},K={class:"lable"},W={class:"lable_note"},H={key:0,class:"custom-required"},P={key:0,class:"custom-required"},Q={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},G={key:0,class:"custom-required"},J={key:0,class:"date_to"},X={key:0,class:"custom-required"},u={key:0,class:"custom-required"},$={key:0,class:"custom-required"},v={key:0,class:"phone_item_content_before"},ll=m(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),el=m(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),ol={key:2,class:"line_middle"},al={key:4,class:"line_middle"},nl=m(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"39px 0"}},null,-1)),dl={key:0,class:"custom-required"},sl={key:0,class:"custom-required"};function rl(t,c,f,o,y,z){const i=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input"),b=e.resolveComponent("el-col"),C=e.resolveComponent("el-row"),N=e.resolveComponent("el-radio"),x=e.resolveComponent("el-radio-group"),B=e.resolveComponent("el-checkbox"),V=e.resolveComponent("el-checkbox-group"),D=e.resolveComponent("el-option"),w=e.resolveComponent("el-select"),O=e.resolveComponent("a-date-picker"),R=e.resolveComponent("el-date-picker"),S=e.resolveComponent("sinosoftCommonButton"),E=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(E,e.mergeProps({"hide-required-asterisk":"",onSubmit:c[0]||(c[0]=e.withModifiers(()=>{},["prevent"])),model:f.model},o.formOptions,{"label-position":o.formOptions.labelPosition,ref:"formRef"}),{default:e.withCtx(()=>[e.createVNode(C,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.fieldList,(l,_)=>e.withDirectives((e.openBlock(),e.createBlock(b,{xs:l.xs?l.xs:24,sm:l.sm?l.sm:24,md:l.md?l.md:8,lg:l.lg?l.lg:8,xl:l.xl?l.xl:8,key:_},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?(e.openBlock(),e.createBlock(i,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",U,[e.createElementVNode("span",T,e.toDisplayString(l.title),1)])]),_:2},1024)):l.type==="name"&&typeof l.field!="string"&&l.field&&"nameEnFamily"in l.field&&l.rules&&"nameEnFamily"in l.rules?(e.openBlock(),e.createBlock(i,{key:1,label:l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,class:"container_name"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",j,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(C,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEnFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEnFamily,prop:l.field.nameEnFamily,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEnFamily),onFocus:a=>o.inputFocus(a,l.field.nameEnFamily),onChange:a=>o.inputChange(a,l.field.nameEnFamily),onInput:a=>o.inputInput(a,l.field.nameEnFamily),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEnFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameEnFamily,modelValue:o.states.model[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEnFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEn?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEn,prop:l.field.nameEn,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEn),onFocus:a=>o.inputFocus(a,l.field.nameEn),onChange:a=>o.inputChange(a,l.field.nameEn),onInput:a=>o.inputInput(a,l.field.nameEn),maxlength:l.maxlengthNameEn,modelValue:o.states.model[l.field.nameEn],"onUpdate:modelValue":a=>o.states.model[l.field.nameEn]=a,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEn||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEn)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","class","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024),e.createVNode(C,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameChFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameChFamily,prop:l.field.nameChFamily,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameChFamily),onFocus:a=>o.inputFocus(a,l.field.nameChFamily),onChange:a=>o.inputChange(a,l.field.nameChFamily),onInput:a=>o.inputInput(a,"nameChFamily"in l.field?l.field.nameCh:""),maxlength:l.maxlengthNameChFamily,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameChFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),modelValue:o.states.model[l.field.nameChFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameChFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","class","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameCh?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameCh,prop:l.field.nameCh,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameCh),onFocus:a=>o.inputFocus(a,l.field.nameCh),onChange:a=>o.inputChange(a,l.field.nameCh),onInput:a=>o.inputInput(a,l.field.nameCh),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameCh||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameCh,modelValue:o.states.model[l.field.nameCh],"onUpdate:modelValue":a=>o.states.model[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameCh)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","disabled"])):l.type==="gender"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:2,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"radio_row"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",L,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(x,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(N,{label:r.code,size:"large",key:r.code},{default:e.withCtx(()=>[e.createElementVNode("img",{src:r.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,q)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])):l.type==="radio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:3,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Y,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(x,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(N,{size:"large",label:r.code,key:r.code,disabled:r.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="radioNote"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:4,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",K,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",W,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",H,"*")):e.createCommentVNode("",!0)]),e.createVNode(x,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(N,{size:"large",label:r.code,key:r.code},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.name),1)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="checkbox"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:5,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",P,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.checkChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(B,{key:r.code,label:r.code,disabled:r.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="checkboxRadio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:6,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.handleCheckedChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(B,{key:r.code,label:r.code,disabled:r.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="select"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:7,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Z,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{"popper-class":"selectTriangles",teleported:!1,modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.selectChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,placeholder:l.placeholder,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),clearable:l.clearable,"fit-input-width":!0},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(D,{key:r.code,label:r.name,value:r.code},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","placeholder","class","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])):l.type==="date"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:8,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"date_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",G,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(O,{size:"large",format:"DD/MM/YYYY","value-format":"DD/MM/YYYY",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,"disabled-date":l.disabledDate,onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),suffixIcon:o.prefixIcon,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,inputReadOnly:l.readonly,picker:l.type,placeholder:l.placeholder||l.label,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":"")},null,8,["value","onUpdate:value","disabled-date","onChange","suffixIcon","disabled","inputReadOnly","picker","placeholder","class"]),l.showTo?(e.openBlock(),e.createElementBlock("span",J,e.toDisplayString(l.showTo),1)):e.createCommentVNode("",!0)]),_:2},1032,["label","rules","prop"])):l.type==="daterange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:9,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",X,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(R,{"popper-class":"selectTriangles",teleported:!1,format:"DD/MM/YYYY","value-format":"DD/MM/YYYY","disabled-date":l.disabledDate,onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,"prefix-icon":o.prefixIcon,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,size:"large",class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":"")},null,8,["disabled-date","onChange","modelValue","onUpdate:modelValue","prefix-icon","start-placeholder","end-placeholder","class"])]),_:2},1032,["label","rules","prop"])):l.type==="slotItem"?(e.openBlock(),e.createBlock(i,{key:10,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"rule_err"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",u,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.renderSlot(t.$slots,l.slotItemName,{},void 0,!0)]),_:2},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?(e.openBlock(),e.createBlock(i,{key:11,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.phoneNumber,prop:l.field.phoneNumber,class:"phone_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",$,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>{var a,r,d,s;return[e.createElementVNode("div",{class:e.normalizeClass(o.phoneWrap?["phone_item_content","phone_item_content_wrap"]:"phone_item_content")},[o.phoneWrap?(e.openBlock(),e.createElementBlock("div",v,[l.field.nationCode?(e.openBlock(),e.createBlock(w,{key:0,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((a=l.nationOptions)==null?void 0:a.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":"areaCode_input"),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(h,g)=>(e.openBlock(),e.createBlock(D,{label:h.name,value:h.code,key:g},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),ll,l.field.areaCode?(e.openBlock(),e.createBlock(p,{key:1,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((r=l.areaOptions)==null?void 0:r.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),el])):e.createCommentVNode("",!0),l.field.nationCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(w,{key:1,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((d=l.nationOptions)==null?void 0:d.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(h,g)=>(e.openBlock(),e.createBlock(D,{label:h.name,value:h.code,key:g},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ol,"-")),l.field.areaCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(p,{key:3,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((s=l.areaOptions)==null?void 0:s.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",al,"-")),l.field.phoneNumber?(e.openBlock(),e.createBlock(p,{key:5,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.phoneNumber],"onUpdate:modelValue":n=>o.states.model[l.field.phoneNumber]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyPhoneNumber)&&!l.openDisabled,placeholder:l.placeholder||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyPhoneNumber||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0)],2)]}),_:2},1032,["label","rules","prop"])):l.type==="line"?(e.openBlock(),e.createBlock(i,{key:12,label:l.label},{default:e.withCtx(()=>[nl]),_:2},1032,["label"])):l.type==="number"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:13,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",dl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,modelModifiers:{number:!0},"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"number",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"])):(e.openBlock(),e.createBlock(i,{key:14,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",sl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"text",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"]))],4)]),_:2},1032,["xs","sm","md","lg","xl"])),[[e.vShow,!l.isHide]])),128))]),_:3}),e.createVNode(i,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"buttons",{model:f.model,onBtnClick:o.onSubmit},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.formOptions.btnConfig,(l,_)=>(e.openBlock(),e.createElementBlock("div",{key:_},[l.isShow?(e.openBlock(),e.createBlock(S,{key:0,btnCode:l.btnCode,plain:l.plain,primary:l.primary,info:l.info,text:l.text,debounced:l.debounced?l.debounced:!1,link:l.link,loading:l.loading,loadingColor:l.loadingColor,width:l.width,height:l.height,circle:l.circle,color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,borderStyle:l.borderStyle,borderWidth:l.borderWidth,icon:l.icon,size:l.size,fontSize:l.fontSize,fontWeight:l.fontWeight,style:e.normalizeStyle(l.style),class:e.normalizeClass(l.class),onHandleClick:a=>o.handleClick(a,l.isRule,l.emitName)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.name),1)]),_:2},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"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}const M=F(I,[["render",rl],["__scopeId","data-v-238eb8c3"]]);function A(t,c={}){A.installed||(A.installed=!0,t.component("common-el-form",M))}return M.install=A,M});
|
|
1
|
+
(function(e,k){typeof exports=="object"&&typeof module<"u"?module.exports=k(require("vue")):typeof define=="function"&&define.amd?define(["vue"],k):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=k(e.Vue))})(this,function(e){"use strict";const k="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==",I={props:{fieldList:{type:Array,required:!0,default:()=>({username:"",age:0,email:""})},model:{type:Object,required:!0,default:()=>({username:"",age:0,email:""})},options:Object},setup(t,{emit:c}){const f=e.ref(!0),o=e.reactive({model:{}}),y=e.ref(null),E=e.shallowRef({render(){return e.h("img",{src:k})}}),i=e.computed(()=>Object.assign([],t.options)),p=()=>{o.model=t.model},b=(d,s,n)=>{var h;s?(f.value=!1,e.nextTick(()=>{var g;(g=y.value)==null||g.validate(il=>{if(console.log(1111111111,state.model),il)c(n||"submit",o.model,d);else return!1})})):(n==="reset"&&((h=y.value)==null||h.resetFields()),c(n||"submit",o.model,d))},C=(d,s)=>{c("selectChange",d,s)},N=(d,s)=>{c("radioChange",d,s)},x=(d,s)=>{c("checkChange",d,s)},_=(d,s)=>{const n=o.model[s].length;if(n===1){c("checkChange",d,s);return}else n>1?(o.model[s].shift(),c("checkChange",d,s)):n<1&&c("checkChange",d,s)},V=(d,s,n)=>{b(d,s,n)},D=(d,s)=>{d&&(s==null?void 0:s.key)==="Enter"&&b(void 0,!0,"submit")},w=(d,s)=>{c("dateChange",d,s)},R=(d,s)=>{console.log(y.value),c("inputBlur",d,s)},m=(d,s)=>{c("inputFocus",d,s)},S=(d,s)=>{c("inputChange",d,s)},z=(d,s)=>{c("inputInput",d,s)},l=d=>{var s;(s=y.value)==null||s.resetFields(d)},B=d=>{var s;(s=y.value)==null||s.clearValidate(d)},a=e.ref(!1),r=()=>{window.innerWidth<768?(console.log("屏幕宽度小于768px"),a.value=!0):a.value=!1};return e.onMounted(()=>{var d;p(),(d=y.value)==null||d.resetFields(),window.addEventListener("resize",r)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",r)}),e.watch(()=>t.fieldList,(d,s)=>{d!==s&&p()}),{...e.toRefs(o),formRef:y,states:o,formOptions:i,onSubmit:b,selectChange:C,radioChange:N,checkChange:x,handleCheckedChange:_,prefixIcon:E,handleClick:V,handleKeyUp:D,resetFieldsTest:l,clearValidateTest:B,dateChange:w,inputBlur:R,inputFocus:m,inputChange:S,inputInput:z,noFormRule:f,phoneWrap:a}}},cl="",pl="",F=(t,c)=>{const f=t.__vccOpts||t;for(const[o,y]of c)f[o]=y;return f},M=t=>(e.pushScopeId("data-v-91c8f57a"),t=t(),e.popScopeId(),t),U={class:"header-title"},T={class:"title-content"},j={key:0,class:"custom-required"},L={key:0,class:"custom-required"},Y=["src"],q={key:0,class:"custom-required"},H={class:"lable"},K={class:"lable_note"},W={key:0,class:"custom-required"},P={key:0,class:"custom-required"},Q={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},G={key:0,class:"custom-required"},J={key:0,class:"date_to"},X={key:0,class:"custom-required"},u={key:0,class:"custom-required"},$={key:0,class:"custom-required"},v={key:0,class:"custom-required"},ll={key:0,class:"phone_item_content_before"},el=M(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),ol=M(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),al={key:2,class:"line_middle"},nl={key:4,class:"line_middle"},dl=M(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"39px 0"}},null,-1)),sl={key:0,class:"custom-required"},rl={key:0,class:"custom-required"};function tl(t,c,f,o,y,E){const i=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input"),b=e.resolveComponent("el-col"),C=e.resolveComponent("el-row"),N=e.resolveComponent("el-radio"),x=e.resolveComponent("el-radio-group"),_=e.resolveComponent("el-checkbox"),V=e.resolveComponent("el-checkbox-group"),D=e.resolveComponent("el-option"),w=e.resolveComponent("el-select"),R=e.resolveComponent("a-date-picker"),m=e.resolveComponent("a-range-picker"),S=e.resolveComponent("sinosoftCommonButton"),z=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(z,e.mergeProps({"hide-required-asterisk":"",onSubmit:c[0]||(c[0]=e.withModifiers(()=>{},["prevent"])),model:f.model},o.formOptions,{"label-position":o.formOptions.labelPosition,ref:"formRef"}),{default:e.withCtx(()=>[e.createVNode(C,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.fieldList,(l,B)=>e.withDirectives((e.openBlock(),e.createBlock(b,{xs:l.xs?l.xs:24,sm:l.sm?l.sm:24,md:l.md?l.md:8,lg:l.lg?l.lg:8,xl:l.xl?l.xl:8,key:B},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?(e.openBlock(),e.createBlock(i,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",U,[e.createElementVNode("span",T,e.toDisplayString(l.title),1)])]),_:2},1024)):l.type==="name"&&typeof l.field!="string"&&l.field&&"nameEnFamily"in l.field&&l.rules&&"nameEnFamily"in l.rules?(e.openBlock(),e.createBlock(i,{key:1,label:l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,class:"container_name"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",j,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(C,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEnFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEnFamily,prop:l.field.nameEnFamily,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEnFamily),onFocus:a=>o.inputFocus(a,l.field.nameEnFamily),onChange:a=>o.inputChange(a,l.field.nameEnFamily),onInput:a=>o.inputInput(a,l.field.nameEnFamily),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEnFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameEnFamily,modelValue:o.states.model[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEnFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEn?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEn,prop:l.field.nameEn,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEn),onFocus:a=>o.inputFocus(a,l.field.nameEn),onChange:a=>o.inputChange(a,l.field.nameEn),onInput:a=>o.inputInput(a,l.field.nameEn),maxlength:l.maxlengthNameEn,modelValue:o.states.model[l.field.nameEn],"onUpdate:modelValue":a=>o.states.model[l.field.nameEn]=a,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEn||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEn)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","class","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024),e.createVNode(C,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameChFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameChFamily,prop:l.field.nameChFamily,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameChFamily),onFocus:a=>o.inputFocus(a,l.field.nameChFamily),onChange:a=>o.inputChange(a,l.field.nameChFamily),onInput:a=>o.inputInput(a,"nameChFamily"in l.field?l.field.nameCh:""),maxlength:l.maxlengthNameChFamily,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameChFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),modelValue:o.states.model[l.field.nameChFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameChFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","class","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameCh?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameCh,prop:l.field.nameCh,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameCh),onFocus:a=>o.inputFocus(a,l.field.nameCh),onChange:a=>o.inputChange(a,l.field.nameCh),onInput:a=>o.inputInput(a,l.field.nameCh),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameCh||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameCh,modelValue:o.states.model[l.field.nameCh],"onUpdate:modelValue":a=>o.states.model[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameCh)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","disabled"])):l.type==="gender"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:2,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"radio_row"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",L,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(x,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(N,{label:r.code,size:"large",key:r.code},{default:e.withCtx(()=>[e.createElementVNode("img",{src:r.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,Y)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])):l.type==="radio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:3,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(x,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(N,{size:"large",label:r.code,key:r.code,disabled:r.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="radioNote"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:4,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",H,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",K,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",W,"*")):e.createCommentVNode("",!0)]),e.createVNode(x,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(N,{size:"large",label:r.code,key:r.code},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.name),1)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="checkbox"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:5,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",P,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.checkChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(_,{key:r.code,label:r.code,disabled:r.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="checkboxRadio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:6,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.handleCheckedChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(_,{key:r.code,label:r.code,disabled:r.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="select"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:7,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Z,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{"popper-class":"selectTriangles",teleported:!1,modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.selectChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,placeholder:l.placeholder,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),clearable:l.clearable,"fit-input-width":!0},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>(e.openBlock(),e.createBlock(D,{key:r.code,label:r.name,value:r.code},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","placeholder","class","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])):l.type==="date"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:8,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"date_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",G,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(R,{size:"large",format:"DD/MM/YYYY","value-format":"DD/MM/YYYY",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,"disabled-date":l.disabledDate,onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),suffixIcon:o.prefixIcon,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,inputReadOnly:l.readonly,picker:l.type,placeholder:l.placeholder||l.label,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":"")},null,8,["value","onUpdate:value","disabled-date","onChange","suffixIcon","disabled","inputReadOnly","picker","placeholder","class"]),l.showTo?(e.openBlock(),e.createElementBlock("span",J,e.toDisplayString(l.showTo),1)):e.createCommentVNode("",!0)]),_:2},1032,["label","rules","prop"])):l.type==="daterange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:9,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",X,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(m,{"popper-class":"selectTriangles",teleported:!1,format:"DD/MM/YYYY","value-format":"DD/MM/YYYY","disabled-date":l.disabledDate,onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,"prefix-icon":o.prefixIcon,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,size:"large",class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":"")},null,8,["disabled-date","onChange","modelValue","onUpdate:modelValue","prefix-icon","start-placeholder","end-placeholder","class"])]),_:2},1032,["label","rules","prop"])):l.type==="datetimerange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:10,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",u,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(m,{"popper-class":"selectTriangles",teleported:!1,format:"DD/MM/YYYY HH:mm:ss","value-format":"DD/MM/YYYY","disabled-date":l.disabledDate,"show-time":{hideDisabledOptions:!0},onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,"prefix-icon":o.prefixIcon,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,size:"large",class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":"")},null,8,["disabled-date","onChange","modelValue","onUpdate:modelValue","prefix-icon","start-placeholder","end-placeholder","class"])]),_:2},1032,["label","rules","prop"])):l.type==="slotItem"?(e.openBlock(),e.createBlock(i,{key:11,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"rule_err"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",$,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.renderSlot(t.$slots,l.slotItemName,{},void 0,!0)]),_:2},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?(e.openBlock(),e.createBlock(i,{key:12,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.phoneNumber,prop:l.field.phoneNumber,class:"phone_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",v,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>{var a,r,d,s;return[e.createElementVNode("div",{class:e.normalizeClass(o.phoneWrap?["phone_item_content","phone_item_content_wrap"]:"phone_item_content")},[o.phoneWrap?(e.openBlock(),e.createElementBlock("div",ll,[l.field.nationCode?(e.openBlock(),e.createBlock(w,{key:0,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((a=l.nationOptions)==null?void 0:a.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":"areaCode_input"),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(h,g)=>(e.openBlock(),e.createBlock(D,{label:h.name,value:h.code,key:g},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),el,l.field.areaCode?(e.openBlock(),e.createBlock(p,{key:1,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((r=l.areaOptions)==null?void 0:r.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),ol])):e.createCommentVNode("",!0),l.field.nationCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(w,{key:1,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((d=l.nationOptions)==null?void 0:d.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(h,g)=>(e.openBlock(),e.createBlock(D,{label:h.name,value:h.code,key:g},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",al,"-")),l.field.areaCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(p,{key:3,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((s=l.areaOptions)==null?void 0:s.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",nl,"-")),l.field.phoneNumber?(e.openBlock(),e.createBlock(p,{key:5,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.phoneNumber],"onUpdate:modelValue":n=>o.states.model[l.field.phoneNumber]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyPhoneNumber)&&!l.openDisabled,placeholder:l.placeholder||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyPhoneNumber||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0)],2)]}),_:2},1032,["label","rules","prop"])):l.type==="line"?(e.openBlock(),e.createBlock(i,{key:13,label:l.label},{default:e.withCtx(()=>[dl]),_:2},1032,["label"])):l.type==="number"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:14,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",sl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,modelModifiers:{number:!0},"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"number",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"])):(e.openBlock(),e.createBlock(i,{key:15,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(t.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",rl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"text",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"]))],4)]),_:2},1032,["xs","sm","md","lg","xl"])),[[e.vShow,!l.isHide]])),128))]),_:3}),e.createVNode(i,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"buttons",{model:f.model,onBtnClick:o.onSubmit},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.formOptions.btnConfig,(l,B)=>(e.openBlock(),e.createElementBlock("div",{key:B},[l.isShow?(e.openBlock(),e.createBlock(S,{key:0,btnCode:l.btnCode,plain:l.plain,primary:l.primary,info:l.info,text:l.text,debounced:l.debounced?l.debounced:!1,link:l.link,loading:l.loading,loadingColor:l.loadingColor,width:l.width,height:l.height,circle:l.circle,color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,borderStyle:l.borderStyle,borderWidth:l.borderWidth,icon:l.icon,size:l.size,fontSize:l.fontSize,fontWeight:l.fontWeight,style:e.normalizeStyle(l.style),class:e.normalizeClass(l.class),onHandleClick:a=>o.handleClick(a,l.isRule,l.emitName)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.name),1)]),_:2},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"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}const A=F(I,[["render",tl],["__scopeId","data-v-91c8f57a"]]);function O(t,c={}){O.installed||(O.installed=!0,t.component("common-el-form",A))}return A.install=O,A});
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";[data-v-
|
|
1
|
+
@charset "UTF-8";[data-v-91c8f57a] .el-date-editor{height:60px!important;width:100%!important}[data-v-91c8f57a] .el-form-item{margin-bottom:12px}[data-v-91c8f57a] .el-input__inner{height:42px;color:#1d1d1d}[data-v-91c8f57a] .el-card__body{padding:0}[data-v-91c8f57a] .el-form-item__label{height:auto!important;margin-bottom:4px!important}.form-item-title[data-v-91c8f57a]{width:100%}[data-v-91c8f57a] .el-checkbox-group .el-checkbox{display:flex;height:64px}.rule_err[data-v-91c8f57a] .el-form-item__content,.radio_Note[data-v-91c8f57a] .el-form-item__content{display:block}.radio_Note .lable[data-v-91c8f57a]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular}.radio_Note .lable_note[data-v-91c8f57a]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Regular}.container_name[data-v-91c8f57a]{margin-bottom:0}.container_name[data-v-91c8f57a] .el-form-item__content{width:calc(100% + 20px)}.container_name .el-row[data-v-91c8f57a],.container_name .el-row[data-v-91c8f57a] .el-form-item__content{width:100%}.container_name[data-v-91c8f57a] .el-form-item__content{align-items:start}.container_name[data-v-91c8f57a] .el-form-item{margin-bottom:0}.container_name .item-name[data-v-91c8f57a]{width:100%;box-sizing:border-box}.container_name .item-name-top[data-v-91c8f57a]{margin-bottom:12px;padding-right:0}.container_name .item-name-bottom[data-v-91c8f57a]{margin-bottom:12px}.container_name[data-v-91c8f57a] .is-error{margin-bottom:38px}.container_name[data-v-91c8f57a] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}.btnsItem[data-v-91c8f57a]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-91c8f57a] .el-form-item__content{justify-content:right}label[data-v-91c8f57a]{display:block}.title-content[data-v-91c8f57a]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto light}[data-v-91c8f57a] .el-input__wrapper{height:60px;border-radius:8px;padding:1px 16px}.date_item[data-v-91c8f57a] .el-form-item__content .date_to{font-size:14px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular;position:absolute;right:-17.5px;top:18px}.date_item[data-v-91c8f57a] .el-form-item__error{padding-top:8px!important}.phone_item[data-v-91c8f57a] .el-form-item__content{display:flex}.phone_item[data-v-91c8f57a] .el-form-item__content .el-select{width:180.03px}.phone_item[data-v-91c8f57a] .el-form-item__content .line_middle{margin:0 4px}.phone_item[data-v-91c8f57a] .el-input__suffix-inner{width:14px;padding-right:3px}.phone_item .phone_item_content[data-v-91c8f57a]{display:flex;flex-wrap:nowrap;align-items:center;width:100%}.phone_item .phone_item_content .phone_item_content_before[data-v-91c8f57a]{display:flex;flex-wrap:nowrap;align-items:center;width:100%;margin-bottom:12px}.phone_item .phone_item_content[data-v-91c8f57a] .readonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-91c8f57a] .readonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-91c8f57a] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-91c8f57a] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-91c8f57a] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-91c8f57a] .inputReadonly{width:180.03px}.phone_item .phone_item_content[data-v-91c8f57a] .inputReadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-91c8f57a] .inputReadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-91c8f57a] .inputReadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content .areaCode_input[data-v-91c8f57a]{width:180.03px}.phone_item .phone_item_content .areaCode_input .el-input__wrapper[data-v-91c8f57a]{box-shadow:none!important;border:1px solid #c7c8ca!important}.phone_item .phone_item_content_wrap[data-v-91c8f57a]{flex-wrap:wrap}.input-item[data-v-91c8f57a] .el-input-group__prepend{border:1px solid #c7c8ca!important;border-top-left-radius:8px;border-bottom-left-radius:8px;border-right:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 0 0 16px;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}.input-item[data-v-91c8f57a] .el-input__wrapper{border-left:0px!important;border-right:0px!important;box-shadow:none!important;border-radius:0!important;padding-left:8px;padding-right:8px;border-top:1px solid #c7c8ca;border-bottom:1px solid #c7c8ca}.input-item[data-v-91c8f57a] .el-input-group__append{border:1px solid #c7c8ca!important;border-top-right-radius:8px;border-bottom-right-radius:8px;border-left:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 16px 0 0;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}[data-v-91c8f57a] .is-error .areaCode_select .el-input__wrapper{box-shadow:none!important;border:1px solid #c7c8ca!important}[data-v-91c8f57a] .el-select{width:100%}[data-v-91c8f57a] .el-select .el-icon{height:15px}[data-v-91c8f57a] .el-select .el-icon svg{display:none}[data-v-91c8f57a] .el-select .el-icon:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjA3MTYgNC4wMDAwMUgxMS4wNjcxQzEwLjk5ODggNC4wMDAwMSAxMC45MzQ1IDQuMDMzNDkgMTAuODk0NCA0LjA4ODRMNy4wODk0NSA5LjMzMzA0TDMuMjg0NTQgNC4wODg0QzMuMjQ0MzYgNC4wMzM0OSAzLjE4MDA3IDQuMDAwMDEgMy4xMTE3NyA0LjAwMDAxSDIuMTA3M0MyLjAyMDI1IDQuMDAwMDEgMS45NjkzNiA0LjA5OTExIDIuMDIwMjUgNC4xNzAxTDYuNzQyNTcgMTAuNjgwNEM2LjkxNCAxMC45MTYxIDcuMjY0ODkgMTAuOTE2MSA3LjQzNDk4IDEwLjY4MDRMMTIuMTU3MyA0LjE3MDFDMTIuMjA5NSA0LjA5OTExIDEyLjE1ODYgNC4wMDAwMSAxMi4wNzE2IDQuMDAwMDFWNC4wMDAwMVoiIGZpbGw9IiNDN0M4Q0EiLz4KPC9zdmc+Cg==) center center no-repeat;position:absolute;width:15px;height:15px}.custom-required[data-v-91c8f57a]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-91c8f57a]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Regular;width:100%;word-wrap:break-word;white-space:normal}[data-v-91c8f57a] .readonly .el-input-group__prepend,[data-v-91c8f57a] .readonly .el-input-group__append{background-color:#f3f3f3!important}[data-v-91c8f57a] .readonly .el-input__wrapper,[data-v-91c8f57a] .readonly .el-textarea{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-91c8f57a] .readonly .el-input__wrapper .el-input__inner,[data-v-91c8f57a] .readonly .el-input__wrapper .el-textarea__inner,[data-v-91c8f57a] .readonly .el-textarea .el-input__inner,[data-v-91c8f57a] .readonly .el-textarea .el-textarea__inner,[data-v-91c8f57a] .readonly .el-textarea__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-91c8f57a] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-91c8f57a] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-91c8f57a] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}[data-v-91c8f57a] .el-input.is-disabled .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #d9d9d9 inset}[data-v-91c8f57a] .el-input__wrapper{border:1px solid #c7c8ca;box-shadow:none!important}[data-v-91c8f57a] .is-error{margin-bottom:38px}[data-v-91c8f57a] .is-error .el-input__wrapper{border:1px solid #fd3d38;box-shadow:none!important}[data-v-91c8f57a] .is-error .el-input-group__prepend{border:1px solid #fd3d38!important;border-right:0px!important}[data-v-91c8f57a] .is-error .el-input-group__append{border:1px solid #fd3d38!important;border-left:0px!important}[data-v-91c8f57a] .el-select__wrapper{height:60px}[data-v-91c8f57a] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}[data-v-91c8f57a] .el-textarea__inner{border:1px solid #c7c8ca;box-shadow:none}.radio_row .el-radio.el-radio--large[data-v-91c8f57a]{height:64px;line-height:64px}[data-v-91c8f57a] .ant-picker{width:100%;height:60px}[data-v-91c8f57a] ::-webkit-outer-spin-button,[data-v-91c8f57a] ::-webkit-inner-spin-button{-webkit-appearance:none}[data-v-91c8f57a] input[type=number]{-moz-appearance:textfield}.selectTriangles .el-popper__arrow:before{display:none!important}.el-popper.is-light{border:none!important}.selectTriangles .el-select-dropdown__list{margin:0!important;border-radius:2px;border:none!important}.selectTriangles .el-select-dropdown__item{min-height:40px!important;line-height:40px;height:auto;white-space:initial}
|