sinosoft-common-form 2.6.3 → 2.6.5
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 +527 -519
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as Y, reactive as
|
|
2
|
-
const
|
|
1
|
+
import { ref as Y, reactive as Cl, shallowRef as ol, h as al, computed as xl, onMounted as Ll, onBeforeUnmount as El, watch as _l, toRefs as vl, nextTick as Ml, resolveComponent as j, openBlock as n, createBlock as y, mergeProps as Sl, withModifiers as Rl, withCtx as s, createVNode as p, createElementBlock as i, Fragment as C, renderList as x, withDirectives as Yl, createElementVNode as b, normalizeStyle as D, toDisplayString as u, createTextVNode as h, createCommentVNode as g, renderSlot as O, normalizeClass as N, withKeys as B, createSlots as J, vShow as Vl, pushScopeId as Ul, popScopeId as Fl } from "vue";
|
|
2
|
+
const Wl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44Nz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MTEwNkM2LjU1NjcxIDEzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Ql = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
5
5
|
type: Array,
|
|
@@ -21,401 +21,416 @@ const Ul = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const
|
|
24
|
+
setup(f, { emit: t }) {
|
|
25
|
+
const E = Y(!0), e = Cl({
|
|
26
26
|
model: {},
|
|
27
27
|
rareMaxlength: null
|
|
28
|
-
}),
|
|
28
|
+
}), V = Y(!0), _ = Y(null), T = ol({
|
|
29
29
|
render() {
|
|
30
30
|
return al("img", {
|
|
31
|
-
src:
|
|
31
|
+
src: Wl
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
}),
|
|
34
|
+
}), w = ol({
|
|
35
35
|
render() {
|
|
36
36
|
return al("img", {
|
|
37
|
-
src:
|
|
37
|
+
src: Bl
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
}),
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
},
|
|
40
|
+
}), S = (r) => {
|
|
41
|
+
const a = r.target;
|
|
42
|
+
a.scrollTop + a.clientHeight + 1 >= a.scrollHeight && t("selectChangeScroll");
|
|
43
|
+
}, Z = (r, a) => {
|
|
44
44
|
if (r) {
|
|
45
45
|
const M = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
46
|
-
M && M.addEventListener("scroll",
|
|
46
|
+
M && M.addEventListener("scroll", S), t("handleVisibleChange", r, a);
|
|
47
47
|
}
|
|
48
|
-
},
|
|
48
|
+
}, Q = ol({
|
|
49
49
|
render() {
|
|
50
50
|
return al("img", {
|
|
51
|
-
src:
|
|
51
|
+
src: Zl
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
}),
|
|
55
|
-
e.model =
|
|
56
|
-
},
|
|
57
|
-
var
|
|
58
|
-
|
|
59
|
-
var
|
|
60
|
-
(
|
|
61
|
-
if (
|
|
62
|
-
|
|
54
|
+
}), G = xl(() => Object.assign([], f.options)), F = () => {
|
|
55
|
+
e.model = f.model;
|
|
56
|
+
}, U = (r, a, M) => {
|
|
57
|
+
var c;
|
|
58
|
+
a ? (E.value = !1, Ml(() => {
|
|
59
|
+
var I;
|
|
60
|
+
(I = _.value) == null || I.validate((A) => {
|
|
61
|
+
if (A)
|
|
62
|
+
t(M || "submit", e.model, r);
|
|
63
63
|
else
|
|
64
64
|
return !1;
|
|
65
65
|
});
|
|
66
|
-
})) :
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
}, X = (r,
|
|
74
|
-
|
|
75
|
-
},
|
|
76
|
-
const M = e.model[
|
|
66
|
+
})) : a ? (M === "reset" && ((c = _.value) == null || c.resetFields()), t(M || "submit", e.model, r)) : (E.value = !1, t(M || "submit", e.model, r, _.value));
|
|
67
|
+
}, W = (r, a) => {
|
|
68
|
+
t("selectChange", r, a);
|
|
69
|
+
}, P = (r, a) => {
|
|
70
|
+
t("selectFocus", r, a);
|
|
71
|
+
}, v = (r, a) => {
|
|
72
|
+
t("radioChange", r, a);
|
|
73
|
+
}, X = (r, a) => {
|
|
74
|
+
t("checkChange", r, a);
|
|
75
|
+
}, K = (r, a) => {
|
|
76
|
+
const M = e.model[a].length;
|
|
77
77
|
if (M === 1) {
|
|
78
|
-
|
|
78
|
+
t("checkChange", r, a);
|
|
79
79
|
return;
|
|
80
80
|
} else
|
|
81
|
-
M > 1 ? (e.model[
|
|
82
|
-
}, m = (r,
|
|
83
|
-
|
|
84
|
-
}, $ = (r,
|
|
85
|
-
r && (
|
|
86
|
-
}, l = (r,
|
|
87
|
-
var
|
|
88
|
-
(
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
}, o = (r,
|
|
92
|
-
e.rareMaxlength = "",
|
|
93
|
-
},
|
|
94
|
-
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
81
|
+
M > 1 ? (e.model[a].shift(), t("checkChange", r, a)) : M < 1 && t("checkChange", r, a);
|
|
82
|
+
}, m = (r, a, M) => {
|
|
83
|
+
U(r, a, M);
|
|
84
|
+
}, $ = (r, a) => {
|
|
85
|
+
r && (a == null ? void 0 : a.key) === "Enter" && U(void 0, !0, "submit");
|
|
86
|
+
}, l = (r, a, M) => {
|
|
87
|
+
var c;
|
|
88
|
+
(c = _.value) == null || c.validateField(a), t("dateChange", r, a);
|
|
89
|
+
}, H = (r, a) => {
|
|
90
|
+
t("onOk", r, a);
|
|
91
|
+
}, o = (r, a, M) => {
|
|
92
|
+
e.rareMaxlength = "", t("inputBlur", r, a);
|
|
93
|
+
}, d = (r, a) => {
|
|
94
|
+
t("inputFocus", r, a);
|
|
95
|
+
}, z = (r, a) => {
|
|
96
|
+
t("inputChange", r, a);
|
|
97
|
+
}, R = (r) => {
|
|
98
|
+
console.log(r, r.length, "输入长度");
|
|
99
|
+
var a = 0, M = 0;
|
|
100
|
+
if (r) {
|
|
101
|
+
for (; a < r.length; ) {
|
|
102
|
+
var c = r.charCodeAt(a);
|
|
103
|
+
c >= 55296 && c <= 57343 ? (a += 2, M++) : a++;
|
|
104
|
+
}
|
|
105
|
+
return M;
|
|
101
106
|
}
|
|
102
107
|
return M;
|
|
103
|
-
}, gl = (r,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
108
|
+
}, gl = (r, a, M) => {
|
|
109
|
+
document.getElementById(a).addEventListener("input", fl(r, a, M));
|
|
110
|
+
}, fl = (r, a, M) => {
|
|
111
|
+
let c = document.getElementById(a), I = r.target.value;
|
|
112
|
+
if (I) {
|
|
113
|
+
let A = null, k = Array.from(I);
|
|
114
|
+
I !== "" && I !== void 0 && M && (A = R(I), e.rareMaxlength = M + A), e.rareMaxlength - I.length === 1 && e.rareMaxlength++, I.length > M && k.length !== M && (e.model[a] = k.slice(0, M).join(""), rl.value += 1, k = Array.from(k.slice(0, M).join("")), A = R(I)), k.length < M && (e.rareMaxlength = M + A + (M - k.length) * 2), k.length === M && (e.rareMaxlength = M), (c == null ? void 0 : c.id) === a && c.setAttribute("maxlength", e.rareMaxlength), t("selectInput", r, a, M + A);
|
|
115
|
+
}
|
|
116
|
+
}, pl = (r, a, M) => {
|
|
117
|
+
let c = null, I = Array.from(e.model[a]);
|
|
118
|
+
e.model[a] !== "" && e.model[a] !== void 0 && M && (c = R(e.model[a]), e.rareMaxlength = M + c), e.rareMaxlength - e.model[a].length === 1 && e.rareMaxlength++, e.model[a].length > M && I.length !== M && (e.model[a] = I.slice(0, M).join(""), I = Array.from(I.slice(0, M).join("")), c = R(e.model[a])), I.length < M && (e.rareMaxlength = M + c + (M - I.length) * 2), I.length === M && (e.rareMaxlength = M), t("inputInput", r, a, M + c);
|
|
119
|
+
}, Dl = (r) => {
|
|
107
120
|
if (r) {
|
|
108
|
-
var
|
|
109
|
-
|
|
121
|
+
var a = document.getElementById(r), M = a.offsetWidth, c = a.scrollWidth;
|
|
122
|
+
c > M ? V.value = !1 : V.value = !0;
|
|
110
123
|
} else
|
|
111
|
-
|
|
112
|
-
},
|
|
113
|
-
const M =
|
|
124
|
+
V.value = !0;
|
|
125
|
+
}, bl = (r, a) => {
|
|
126
|
+
const M = a.find((c) => c.code === r);
|
|
114
127
|
return M ? M.name : r;
|
|
115
|
-
},
|
|
116
|
-
var
|
|
117
|
-
(
|
|
118
|
-
},
|
|
119
|
-
var
|
|
120
|
-
(
|
|
128
|
+
}, Nl = (r) => {
|
|
129
|
+
var a;
|
|
130
|
+
(a = _.value) == null || a.resetFields(r);
|
|
131
|
+
}, Tl = (r) => {
|
|
132
|
+
var a;
|
|
133
|
+
(a = _.value) == null || a.clearValidate(r);
|
|
121
134
|
}, ll = Y(!1), dl = () => {
|
|
122
135
|
window.innerWidth < 768, ll.value = !1;
|
|
123
136
|
};
|
|
124
|
-
|
|
125
|
-
var
|
|
126
|
-
|
|
127
|
-
|
|
137
|
+
Ll(() => {
|
|
138
|
+
var a;
|
|
139
|
+
F(), (a = _.value) == null || a.resetFields(), window.addEventListener("resize", dl), document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((M, c) => {
|
|
140
|
+
c % 2 !== 0 && (M.setAttribute("disabled", !0), M.setAttribute("color", "rgba(0, 0, 0, 0.88)"));
|
|
128
141
|
});
|
|
129
|
-
}),
|
|
142
|
+
}), El(() => {
|
|
130
143
|
window.removeEventListener("resize", dl);
|
|
131
|
-
}),
|
|
132
|
-
() =>
|
|
133
|
-
(r,
|
|
134
|
-
r !==
|
|
144
|
+
}), _l(
|
|
145
|
+
() => f.fieldList,
|
|
146
|
+
(r, a) => {
|
|
147
|
+
r !== a && F();
|
|
135
148
|
}
|
|
136
149
|
);
|
|
137
|
-
const
|
|
138
|
-
r === "" && (
|
|
139
|
-
},
|
|
140
|
-
const
|
|
141
|
-
if (r.date() ===
|
|
142
|
-
return
|
|
143
|
-
|
|
144
|
-
},
|
|
145
|
-
e.model[
|
|
146
|
-
},
|
|
147
|
-
|
|
148
|
-
},
|
|
149
|
-
if (
|
|
150
|
-
return e.model[M] =
|
|
151
|
-
r || (
|
|
150
|
+
const q = Y(0), el = Y(0), sl = Y(0), rl = Y(0), Il = (r) => {
|
|
151
|
+
r === "" && (q.value += 1);
|
|
152
|
+
}, hl = (r, a, M, c) => {
|
|
153
|
+
const I = {};
|
|
154
|
+
if (r.date() === a.date() && r.year() === a.year() && r.month() === a.month())
|
|
155
|
+
return I.border = "1px solid #a26628", I.borderRadius = "4px", I;
|
|
156
|
+
t("openStatusNumber", M == null ? void 0 : M.range, c);
|
|
157
|
+
}, jl = (r, a, M) => {
|
|
158
|
+
e.model[a] = M.format("DD/MM/YYYY"), q.value += 1, l(r, a), t("getDefaultToady", M, a);
|
|
159
|
+
}, Ol = (r, a) => {
|
|
160
|
+
t("calendarChange", r, a);
|
|
161
|
+
}, Al = (r, a, M, c) => {
|
|
162
|
+
if (c)
|
|
163
|
+
return e.model[M] = c;
|
|
164
|
+
r || (q.value += 1), t("openChange", r, M, c);
|
|
152
165
|
};
|
|
153
166
|
el.value = 1;
|
|
154
|
-
const
|
|
155
|
-
r || (el.value += 1,
|
|
156
|
-
document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((
|
|
157
|
-
|
|
158
|
-
}),
|
|
159
|
-
|
|
167
|
+
const kl = (r, a, M, c) => {
|
|
168
|
+
r || (el.value += 1, Ml(() => {
|
|
169
|
+
document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((A, k) => {
|
|
170
|
+
k % 2 !== 0 && (A.setAttribute("disabled", !0), A.setAttribute("color", "rgba(0, 0, 0, 0.88)")), A.value && A.removeAttribute("disabled");
|
|
171
|
+
}), c !== void 0 && c[0] && c[1] && document.querySelectorAll(`.ant-picker-range.${M} .ant-picker-input input`).forEach((k, zl) => {
|
|
172
|
+
zl % 2 !== 0 && (k.removeAttribute("disabled"), k.setAttribute("color", "rgba(0, 0, 0, 0.88)"));
|
|
160
173
|
});
|
|
161
|
-
})),
|
|
162
|
-
},
|
|
163
|
-
r || (sl.value += 1),
|
|
174
|
+
})), t("openDatePickerDaterange", r, a, M, c);
|
|
175
|
+
}, wl = (r) => {
|
|
176
|
+
r || (sl.value += 1), t("openDatetimerange", r);
|
|
164
177
|
};
|
|
165
178
|
return {
|
|
166
|
-
...
|
|
167
|
-
formRef:
|
|
168
|
-
isShowTooltip:
|
|
179
|
+
...vl(e),
|
|
180
|
+
formRef: _,
|
|
181
|
+
isShowTooltip: V,
|
|
169
182
|
states: e,
|
|
170
|
-
formOptions:
|
|
171
|
-
onSubmit:
|
|
172
|
-
selectChange:
|
|
173
|
-
selectFocus:
|
|
183
|
+
formOptions: G,
|
|
184
|
+
onSubmit: U,
|
|
185
|
+
selectChange: W,
|
|
186
|
+
selectFocus: P,
|
|
174
187
|
// filteroption,
|
|
175
|
-
radioChange:
|
|
188
|
+
radioChange: v,
|
|
176
189
|
checkChange: X,
|
|
177
|
-
handleCheckedChange:
|
|
190
|
+
handleCheckedChange: K,
|
|
178
191
|
prefixIcon: T,
|
|
179
|
-
IconDropDown:
|
|
180
|
-
IconClear:
|
|
192
|
+
IconDropDown: w,
|
|
193
|
+
IconClear: Q,
|
|
181
194
|
handleClick: m,
|
|
182
195
|
handleKeyUp: $,
|
|
183
|
-
resetFieldsTest:
|
|
184
|
-
clearValidateTest:
|
|
196
|
+
resetFieldsTest: Nl,
|
|
197
|
+
clearValidateTest: Tl,
|
|
185
198
|
dateChange: l,
|
|
186
|
-
calendarChange:
|
|
187
|
-
onOk:
|
|
199
|
+
calendarChange: Ol,
|
|
200
|
+
onOk: H,
|
|
188
201
|
inputBlur: o,
|
|
189
|
-
inputFocus:
|
|
190
|
-
inputChange:
|
|
191
|
-
inputInput:
|
|
192
|
-
|
|
202
|
+
inputFocus: d,
|
|
203
|
+
inputChange: z,
|
|
204
|
+
inputInput: pl,
|
|
205
|
+
selectInput: gl,
|
|
206
|
+
noFormRule: E,
|
|
193
207
|
phoneWrap: ll,
|
|
194
|
-
pickerKey:
|
|
208
|
+
pickerKey: q,
|
|
195
209
|
pickerKeyDaterange: el,
|
|
210
|
+
selectPickerKey: rl,
|
|
196
211
|
datetimerange: sl,
|
|
197
|
-
openDatePicker:
|
|
198
|
-
openDatePickerDaterange:
|
|
199
|
-
openDatetimerange:
|
|
212
|
+
openDatePicker: Il,
|
|
213
|
+
openDatePickerDaterange: kl,
|
|
214
|
+
openDatetimerange: wl,
|
|
200
215
|
// spaceRule,
|
|
201
|
-
handleVisibleChange:
|
|
202
|
-
handleScroll:
|
|
203
|
-
visibilityChange:
|
|
204
|
-
contentName:
|
|
205
|
-
openChange:
|
|
206
|
-
getCurrentStyle:
|
|
207
|
-
getDefaultToady:
|
|
216
|
+
handleVisibleChange: Z,
|
|
217
|
+
handleScroll: S,
|
|
218
|
+
visibilityChange: Dl,
|
|
219
|
+
contentName: bl,
|
|
220
|
+
openChange: Al,
|
|
221
|
+
getCurrentStyle: hl,
|
|
222
|
+
getDefaultToady: jl
|
|
208
223
|
};
|
|
209
224
|
}
|
|
210
|
-
},
|
|
211
|
-
const
|
|
212
|
-
const
|
|
213
|
-
for (const [e,
|
|
214
|
-
|
|
215
|
-
return
|
|
216
|
-
},
|
|
225
|
+
}, il = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2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A3Wk0zLjg3ODYgMTMuOTM5M0wyLjgxNzk0IDE1TDQuOTM5MjYgMTcuMTIxM0w1Ljk5OTkyIDE2LjA2MDdMMy44Nzg2IDEzLjkzOTNaTTIuODE3OTQgMjVMMy44Nzg2IDI2LjA2MDdMNS45OTk5MiAyMy45MzkzTDQuOTM5MjYgMjIuODc4N0wyLjgxNzk0IDI1Wk02Ljc1NzI4IDE4LjkzOTNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
226
|
+
const Gl = (f, t) => {
|
|
227
|
+
const E = f.__vccOpts || f;
|
|
228
|
+
for (const [e, V] of t)
|
|
229
|
+
E[e] = V;
|
|
230
|
+
return E;
|
|
231
|
+
}, L = (f) => (Ul("data-v-5d6eeafa"), f = f(), Fl(), f), Pl = { class: "header-title" }, Hl = { class: "title-content" }, Kl = { class: "header-boldTitle" }, ql = { class: "boldTitle-content" }, Jl = {
|
|
217
232
|
key: 0,
|
|
218
233
|
class: "custom-required"
|
|
219
|
-
},
|
|
234
|
+
}, Xl = {
|
|
220
235
|
key: 0,
|
|
221
236
|
class: "custom-required"
|
|
222
|
-
},
|
|
237
|
+
}, ml = ["src"], $l = {
|
|
223
238
|
key: 0,
|
|
224
239
|
class: "custom-required"
|
|
225
|
-
},
|
|
240
|
+
}, le = { class: "lable" }, ee = { class: "lable_note" }, oe = {
|
|
226
241
|
key: 0,
|
|
227
242
|
class: "custom-required"
|
|
228
|
-
},
|
|
243
|
+
}, ae = {
|
|
229
244
|
key: 0,
|
|
230
245
|
class: "custom-required"
|
|
231
|
-
},
|
|
246
|
+
}, ne = {
|
|
232
247
|
key: 0,
|
|
233
248
|
class: "custom-required"
|
|
234
|
-
},
|
|
249
|
+
}, de = { class: "lable" }, se = { class: "lable_note" }, re = {
|
|
235
250
|
key: 0,
|
|
236
251
|
class: "custom-required"
|
|
237
|
-
},
|
|
252
|
+
}, Me = {
|
|
238
253
|
key: 0,
|
|
239
254
|
class: "custom-required"
|
|
240
|
-
},
|
|
255
|
+
}, ie = {
|
|
241
256
|
key: 0,
|
|
242
257
|
class: "custom-required"
|
|
243
|
-
},
|
|
244
|
-
src: Ml,
|
|
245
|
-
alt: ""
|
|
246
|
-
}, null, -1)), ie = /* @__PURE__ */ C(() => /* @__PURE__ */ b("img", {
|
|
258
|
+
}, ye = ["onClick"], ce = /* @__PURE__ */ L(() => /* @__PURE__ */ b("img", {
|
|
247
259
|
src: il,
|
|
248
260
|
alt: ""
|
|
249
|
-
}, null, -1)),
|
|
261
|
+
}, null, -1)), ue = /* @__PURE__ */ L(() => /* @__PURE__ */ b("img", {
|
|
250
262
|
src: yl,
|
|
251
263
|
alt: ""
|
|
252
|
-
}, null, -1)),
|
|
264
|
+
}, null, -1)), te = /* @__PURE__ */ L(() => /* @__PURE__ */ b("img", {
|
|
253
265
|
src: cl,
|
|
254
266
|
alt: ""
|
|
255
|
-
}, null, -1)),
|
|
267
|
+
}, null, -1)), ge = /* @__PURE__ */ L(() => /* @__PURE__ */ b("img", {
|
|
268
|
+
src: ul,
|
|
269
|
+
alt: ""
|
|
270
|
+
}, null, -1)), fe = {
|
|
256
271
|
key: 0,
|
|
257
272
|
class: "date_to"
|
|
258
|
-
},
|
|
273
|
+
}, pe = {
|
|
259
274
|
key: 0,
|
|
260
275
|
class: "custom-required"
|
|
261
|
-
},
|
|
262
|
-
src: Ml,
|
|
263
|
-
alt: ""
|
|
264
|
-
}, null, -1)), pe = /* @__PURE__ */ C(() => /* @__PURE__ */ b("img", {
|
|
276
|
+
}, De = /* @__PURE__ */ L(() => /* @__PURE__ */ b("img", {
|
|
265
277
|
src: il,
|
|
266
278
|
alt: ""
|
|
267
|
-
}, null, -1)),
|
|
279
|
+
}, null, -1)), be = /* @__PURE__ */ L(() => /* @__PURE__ */ b("img", {
|
|
268
280
|
src: yl,
|
|
269
281
|
alt: ""
|
|
270
|
-
}, null, -1)),
|
|
282
|
+
}, null, -1)), Ne = /* @__PURE__ */ L(() => /* @__PURE__ */ b("img", {
|
|
271
283
|
src: cl,
|
|
272
284
|
alt: ""
|
|
273
|
-
}, null, -1)),
|
|
285
|
+
}, null, -1)), Te = /* @__PURE__ */ L(() => /* @__PURE__ */ b("img", {
|
|
286
|
+
src: ul,
|
|
287
|
+
alt: ""
|
|
288
|
+
}, null, -1)), Ie = {
|
|
274
289
|
key: 0,
|
|
275
290
|
class: "custom-required"
|
|
276
|
-
},
|
|
291
|
+
}, he = {
|
|
277
292
|
key: 0,
|
|
278
293
|
class: "custom-required"
|
|
279
|
-
},
|
|
294
|
+
}, je = {
|
|
280
295
|
key: 0,
|
|
281
296
|
class: "custom-required"
|
|
282
|
-
},
|
|
297
|
+
}, Oe = {
|
|
283
298
|
key: 0,
|
|
284
299
|
class: "phone_item_content_before"
|
|
285
|
-
},
|
|
300
|
+
}, Ae = /* @__PURE__ */ L(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), ke = /* @__PURE__ */ L(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), we = {
|
|
286
301
|
key: 1,
|
|
287
302
|
class: "line_middle"
|
|
288
|
-
},
|
|
303
|
+
}, ze = {
|
|
289
304
|
key: 2,
|
|
290
305
|
class: "line_middle"
|
|
291
|
-
},
|
|
306
|
+
}, Ce = /* @__PURE__ */ L(() => /* @__PURE__ */ b("div", {
|
|
292
307
|
class: "line",
|
|
293
308
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
294
|
-
}, null, -1)),
|
|
309
|
+
}, null, -1)), xe = {
|
|
295
310
|
key: 0,
|
|
296
311
|
class: "custom-required"
|
|
297
|
-
},
|
|
312
|
+
}, Le = {
|
|
298
313
|
key: 0,
|
|
299
314
|
class: "custom-required"
|
|
300
315
|
};
|
|
301
|
-
function
|
|
302
|
-
const T = j("el-form-item"),
|
|
303
|
-
return
|
|
316
|
+
function Ee(f, t, E, e, V, _) {
|
|
317
|
+
const T = j("el-form-item"), w = j("el-input"), S = j("el-col"), Z = j("el-row"), Q = j("el-radio"), G = j("el-radio-group"), F = j("el-checkbox"), U = j("el-checkbox-group"), W = j("el-option"), P = j("el-select"), v = j("el-tooltip"), X = j("a-date-picker"), K = j("a-range-picker"), m = j("sinosoftCommonButton"), $ = j("el-form");
|
|
318
|
+
return n(), y($, Sl({
|
|
304
319
|
"hide-required-asterisk": "",
|
|
305
|
-
onSubmit:
|
|
320
|
+
onSubmit: t[0] || (t[0] = Rl(() => {
|
|
306
321
|
}, ["prevent"])),
|
|
307
|
-
model:
|
|
322
|
+
model: E.model
|
|
308
323
|
}, e.formOptions, {
|
|
309
324
|
"label-position": e.formOptions.labelPosition,
|
|
310
325
|
ref: "formRef",
|
|
311
326
|
"scroll-to-error": !0
|
|
312
327
|
}), {
|
|
313
|
-
default:
|
|
314
|
-
|
|
315
|
-
default:
|
|
316
|
-
(
|
|
328
|
+
default: s(() => [
|
|
329
|
+
p(Z, { gutter: 24 }, {
|
|
330
|
+
default: s(() => [
|
|
331
|
+
(n(!0), i(C, null, x(E.fieldList, (l, H) => Yl((n(), y(S, {
|
|
317
332
|
xs: l.xs ? l.xs : 24,
|
|
318
333
|
sm: l.sm ? l.sm : 24,
|
|
319
334
|
md: l.md ? l.md : 8,
|
|
320
335
|
lg: l.lg ? l.lg : 8,
|
|
321
336
|
xl: l.xl ? l.xl : 8,
|
|
322
|
-
key:
|
|
337
|
+
key: H
|
|
323
338
|
}, {
|
|
324
|
-
default:
|
|
339
|
+
default: s(() => [
|
|
325
340
|
b("div", {
|
|
326
341
|
style: D(l.style)
|
|
327
342
|
}, [
|
|
328
|
-
l.type === "title" ? (
|
|
329
|
-
default:
|
|
330
|
-
b("div",
|
|
331
|
-
b("span",
|
|
343
|
+
l.type === "title" ? (n(), y(T, { key: 0 }, {
|
|
344
|
+
default: s(() => [
|
|
345
|
+
b("div", Pl, [
|
|
346
|
+
b("span", Hl, u(l.title), 1)
|
|
332
347
|
])
|
|
333
348
|
]),
|
|
334
349
|
_: 2
|
|
335
|
-
}, 1024)) : l.type === "boldTitle" ? (
|
|
336
|
-
default:
|
|
337
|
-
b("div",
|
|
338
|
-
b("span",
|
|
350
|
+
}, 1024)) : l.type === "boldTitle" ? (n(), y(T, { key: 1 }, {
|
|
351
|
+
default: s(() => [
|
|
352
|
+
b("div", Kl, [
|
|
353
|
+
b("span", ql, u(l.title), 1)
|
|
339
354
|
])
|
|
340
355
|
]),
|
|
341
356
|
_: 2
|
|
342
|
-
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (
|
|
357
|
+
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (n(), y(T, {
|
|
343
358
|
key: 2,
|
|
344
359
|
label: l.label,
|
|
345
360
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
346
361
|
class: "container_name"
|
|
347
362
|
}, {
|
|
348
|
-
label:
|
|
349
|
-
l.slotLabelName ? O(
|
|
363
|
+
label: s(() => [
|
|
364
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
350
365
|
key: 0,
|
|
351
366
|
style: D(l.labelStyle)
|
|
352
367
|
}, [
|
|
353
|
-
|
|
354
|
-
l.required ? (
|
|
368
|
+
h(u(l.label) + " ", 1),
|
|
369
|
+
l.required ? (n(), i("span", Jl, "*")) : g("", !0)
|
|
355
370
|
], 4))
|
|
356
371
|
]),
|
|
357
|
-
default:
|
|
358
|
-
|
|
359
|
-
default:
|
|
360
|
-
|
|
372
|
+
default: s(() => [
|
|
373
|
+
p(Z, { gutter: 20 }, {
|
|
374
|
+
default: s(() => [
|
|
375
|
+
p(S, {
|
|
361
376
|
xs: 24,
|
|
362
377
|
sm: 12,
|
|
363
378
|
md: 12,
|
|
364
379
|
lg: 12,
|
|
365
380
|
xl: 12
|
|
366
381
|
}, {
|
|
367
|
-
default:
|
|
368
|
-
l.field.nameEnFamily ? (
|
|
382
|
+
default: s(() => [
|
|
383
|
+
l.field.nameEnFamily ? (n(), y(T, {
|
|
369
384
|
key: 0,
|
|
370
385
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
371
386
|
prop: l.field.nameEnFamily,
|
|
372
387
|
class: "item-name item-name-top"
|
|
373
388
|
}, {
|
|
374
|
-
default:
|
|
375
|
-
|
|
389
|
+
default: s(() => [
|
|
390
|
+
p(w, {
|
|
376
391
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
377
392
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
378
393
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
379
|
-
onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
|
|
394
|
+
onInput: (o) => e.inputInput(o, l.field.nameEnFamily, l.maxlengthNameEnFamily),
|
|
380
395
|
class: N(
|
|
381
396
|
(l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
382
397
|
),
|
|
383
|
-
maxlength: l.maxlengthNameEnFamily,
|
|
398
|
+
maxlength: l.maxlengthNameEnFamily ? e.states.rareMaxlength : "",
|
|
384
399
|
modelValue: e.states.model[l.field.nameEnFamily],
|
|
385
400
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEnFamily] = o,
|
|
386
401
|
readonly: l.readonly,
|
|
387
402
|
type: l.type ? l.type : "text",
|
|
388
403
|
placeholder: l.placeholderNameEnFamily,
|
|
389
404
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
|
|
390
|
-
onKeyup:
|
|
405
|
+
onKeyup: B((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
391
406
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
392
407
|
]),
|
|
393
408
|
_: 2
|
|
394
|
-
}, 1032, ["rules", "prop"])) :
|
|
409
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
395
410
|
]),
|
|
396
411
|
_: 2
|
|
397
412
|
}, 1024),
|
|
398
|
-
|
|
413
|
+
p(S, {
|
|
399
414
|
xs: 24,
|
|
400
415
|
sm: 12,
|
|
401
416
|
md: 12,
|
|
402
417
|
lg: 12,
|
|
403
418
|
xl: 12
|
|
404
419
|
}, {
|
|
405
|
-
default:
|
|
406
|
-
l.field.nameEn ? (
|
|
420
|
+
default: s(() => [
|
|
421
|
+
l.field.nameEn ? (n(), y(T, {
|
|
407
422
|
key: 0,
|
|
408
423
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
409
424
|
prop: l.field.nameEn,
|
|
410
425
|
class: "item-name item-name-top"
|
|
411
426
|
}, {
|
|
412
|
-
default:
|
|
413
|
-
|
|
427
|
+
default: s(() => [
|
|
428
|
+
p(w, {
|
|
414
429
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
415
430
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
416
431
|
onChange: (o) => e.inputChange(o, l.field.nameEn),
|
|
417
|
-
onInput: (o) => e.inputInput(o, l.field.nameEn),
|
|
418
|
-
maxlength: l.maxlengthNameEn,
|
|
432
|
+
onInput: (o) => e.inputInput(o, l.field.nameEn, l.maxlengthNameEn),
|
|
433
|
+
maxlength: l.maxlengthNameEn ? e.states.rareMaxlength : "",
|
|
419
434
|
modelValue: e.states.model[l.field.nameEn],
|
|
420
435
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
421
436
|
class: N(
|
|
@@ -425,43 +440,44 @@ function Ce(p, g, x, e, v, L) {
|
|
|
425
440
|
type: l.type ? l.type : "text",
|
|
426
441
|
placeholder: l.placeholderNameEn,
|
|
427
442
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
|
|
428
|
-
onKeyup:
|
|
443
|
+
onKeyup: B((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
429
444
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
430
445
|
]),
|
|
431
446
|
_: 2
|
|
432
|
-
}, 1032, ["rules", "prop"])) :
|
|
447
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
433
448
|
]),
|
|
434
449
|
_: 2
|
|
435
450
|
}, 1024)
|
|
436
451
|
]),
|
|
437
452
|
_: 2
|
|
438
453
|
}, 1024),
|
|
439
|
-
|
|
440
|
-
default:
|
|
441
|
-
|
|
454
|
+
p(Z, { gutter: 20 }, {
|
|
455
|
+
default: s(() => [
|
|
456
|
+
p(S, {
|
|
442
457
|
xs: 24,
|
|
443
458
|
sm: 12,
|
|
444
459
|
md: 12,
|
|
445
460
|
lg: 12,
|
|
446
461
|
xl: 12
|
|
447
462
|
}, {
|
|
448
|
-
default:
|
|
449
|
-
l.field.nameChFamily ? (
|
|
463
|
+
default: s(() => [
|
|
464
|
+
l.field.nameChFamily ? (n(), y(T, {
|
|
450
465
|
key: 0,
|
|
451
466
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
452
467
|
prop: l.field.nameChFamily,
|
|
453
468
|
class: "item-name item-name-bottom"
|
|
454
469
|
}, {
|
|
455
|
-
default:
|
|
456
|
-
|
|
470
|
+
default: s(() => [
|
|
471
|
+
p(w, {
|
|
457
472
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
458
473
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
459
474
|
onChange: (o) => e.inputChange(o, l.field.nameChFamily),
|
|
460
475
|
onInput: (o) => e.inputInput(
|
|
461
476
|
o,
|
|
462
|
-
"nameChFamily" in l.field ? l.field.
|
|
477
|
+
"nameChFamily" in l.field ? l.field.nameChFamily : "",
|
|
478
|
+
l.maxlengthNameChFamily
|
|
463
479
|
),
|
|
464
|
-
maxlength: l.maxlengthNameChFamily,
|
|
480
|
+
maxlength: l != null && l.maxlengthNameChFamily ? e.states.rareMaxlength : "",
|
|
465
481
|
class: N(
|
|
466
482
|
(l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
467
483
|
),
|
|
@@ -471,34 +487,34 @@ function Ce(p, g, x, e, v, L) {
|
|
|
471
487
|
type: l.type ? l.type : "text",
|
|
472
488
|
placeholder: l.placeholderNameChFamily,
|
|
473
489
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
|
|
474
|
-
onKeyup:
|
|
490
|
+
onKeyup: B((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
475
491
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
476
492
|
]),
|
|
477
493
|
_: 2
|
|
478
|
-
}, 1032, ["rules", "prop"])) :
|
|
494
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
479
495
|
]),
|
|
480
496
|
_: 2
|
|
481
497
|
}, 1024),
|
|
482
|
-
|
|
498
|
+
p(S, {
|
|
483
499
|
xs: 24,
|
|
484
500
|
sm: 12,
|
|
485
501
|
md: 12,
|
|
486
502
|
lg: 12,
|
|
487
503
|
xl: 12
|
|
488
504
|
}, {
|
|
489
|
-
default:
|
|
490
|
-
l.field.nameCh ? (
|
|
505
|
+
default: s(() => [
|
|
506
|
+
l.field.nameCh ? (n(), y(T, {
|
|
491
507
|
key: 0,
|
|
492
508
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
493
509
|
prop: l.field.nameCh,
|
|
494
510
|
class: "item-name item-name-bottom"
|
|
495
511
|
}, {
|
|
496
|
-
default:
|
|
497
|
-
|
|
512
|
+
default: s(() => [
|
|
513
|
+
p(w, {
|
|
498
514
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
499
515
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
500
516
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
501
|
-
onInput: (o) => e.inputInput(o, l.field.nameCh),
|
|
517
|
+
onInput: (o) => e.inputInput(o, l.field.nameCh, l.maxlengthNameCh),
|
|
502
518
|
class: N(
|
|
503
519
|
(l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
504
520
|
),
|
|
@@ -509,11 +525,11 @@ function Ce(p, g, x, e, v, L) {
|
|
|
509
525
|
type: l.type ? l.type : "text",
|
|
510
526
|
placeholder: l.placeholderNameCh,
|
|
511
527
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
|
|
512
|
-
onKeyup:
|
|
528
|
+
onKeyup: B((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
513
529
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
514
530
|
]),
|
|
515
531
|
_: 2
|
|
516
|
-
}, 1032, ["rules", "prop"])) :
|
|
532
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
517
533
|
]),
|
|
518
534
|
_: 2
|
|
519
535
|
}, 1024)
|
|
@@ -522,43 +538,43 @@ function Ce(p, g, x, e, v, L) {
|
|
|
522
538
|
}, 1024)
|
|
523
539
|
]),
|
|
524
540
|
_: 2
|
|
525
|
-
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (
|
|
541
|
+
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (n(), y(T, {
|
|
526
542
|
key: 3,
|
|
527
543
|
label: l.label,
|
|
528
544
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
529
545
|
prop: l.field,
|
|
530
546
|
class: "radio_row"
|
|
531
547
|
}, {
|
|
532
|
-
label:
|
|
533
|
-
l.slotLabelName ? O(
|
|
548
|
+
label: s(() => [
|
|
549
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
534
550
|
key: 0,
|
|
535
551
|
style: D(l.labelStyle)
|
|
536
552
|
}, [
|
|
537
|
-
|
|
538
|
-
l.required ? (
|
|
553
|
+
h(u(l.label) + " ", 1),
|
|
554
|
+
l.required ? (n(), i("span", Xl, "*")) : g("", !0)
|
|
539
555
|
], 4))
|
|
540
556
|
]),
|
|
541
|
-
default:
|
|
542
|
-
|
|
557
|
+
default: s(() => [
|
|
558
|
+
p(G, {
|
|
543
559
|
modelValue: e.states.model[l.field],
|
|
544
560
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
545
561
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
546
562
|
onChange: (o) => e.radioChange(o, l.field)
|
|
547
563
|
}, {
|
|
548
|
-
default:
|
|
564
|
+
default: s(() => {
|
|
549
565
|
var o;
|
|
550
566
|
return [
|
|
551
|
-
(
|
|
552
|
-
label:
|
|
567
|
+
(n(!0), i(C, null, x((o = l.options) == null ? void 0 : o.data, (d) => (n(), y(Q, {
|
|
568
|
+
label: d.code,
|
|
553
569
|
size: "large",
|
|
554
|
-
key:
|
|
570
|
+
key: d.code
|
|
555
571
|
}, {
|
|
556
|
-
default:
|
|
572
|
+
default: s(() => [
|
|
557
573
|
b("img", {
|
|
558
|
-
src:
|
|
574
|
+
src: d.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
559
575
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
560
576
|
alt: ""
|
|
561
|
-
}, null, 8,
|
|
577
|
+
}, null, 8, ml)
|
|
562
578
|
]),
|
|
563
579
|
_: 2
|
|
564
580
|
}, 1032, ["label"]))), 128))
|
|
@@ -568,24 +584,24 @@ function Ce(p, g, x, e, v, L) {
|
|
|
568
584
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
569
585
|
]),
|
|
570
586
|
_: 2
|
|
571
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (
|
|
587
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (n(), y(T, {
|
|
572
588
|
key: 4,
|
|
573
589
|
label: l.label,
|
|
574
590
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
575
591
|
prop: l.field,
|
|
576
592
|
class: N([l.labelNode ? "radio_Note" : "rule_err"])
|
|
577
593
|
}, {
|
|
578
|
-
label:
|
|
579
|
-
l.slotLabelName ? O(
|
|
594
|
+
label: s(() => [
|
|
595
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
580
596
|
key: 0,
|
|
581
597
|
style: D(l.labelStyle)
|
|
582
598
|
}, [
|
|
583
|
-
|
|
584
|
-
l.required ? (
|
|
599
|
+
h(u(l.label) + " ", 1),
|
|
600
|
+
l.required ? (n(), i("span", $l, "*")) : g("", !0)
|
|
585
601
|
], 4))
|
|
586
602
|
]),
|
|
587
|
-
default:
|
|
588
|
-
|
|
603
|
+
default: s(() => [
|
|
604
|
+
p(G, {
|
|
589
605
|
modelValue: e.states.model[l.field],
|
|
590
606
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
591
607
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -595,17 +611,17 @@ function Ce(p, g, x, e, v, L) {
|
|
|
595
611
|
),
|
|
596
612
|
class: N(l.ways !== "column" ? "radio_row" : "")
|
|
597
613
|
}, {
|
|
598
|
-
default:
|
|
614
|
+
default: s(() => {
|
|
599
615
|
var o;
|
|
600
616
|
return [
|
|
601
|
-
(
|
|
617
|
+
(n(!0), i(C, null, x((o = l.options) == null ? void 0 : o.data, (d) => (n(), y(Q, {
|
|
602
618
|
size: "large",
|
|
603
|
-
label:
|
|
604
|
-
key:
|
|
605
|
-
disabled:
|
|
619
|
+
label: d.code,
|
|
620
|
+
key: d.code,
|
|
621
|
+
disabled: d.isDisabled
|
|
606
622
|
}, {
|
|
607
|
-
default:
|
|
608
|
-
|
|
623
|
+
default: s(() => [
|
|
624
|
+
h(u(d.name), 1)
|
|
609
625
|
]),
|
|
610
626
|
_: 2
|
|
611
627
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -615,20 +631,20 @@ function Ce(p, g, x, e, v, L) {
|
|
|
615
631
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
616
632
|
]),
|
|
617
633
|
_: 2
|
|
618
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (
|
|
634
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (n(), y(T, {
|
|
619
635
|
key: 5,
|
|
620
636
|
label: l.label,
|
|
621
637
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
622
638
|
prop: l.field,
|
|
623
639
|
class: N([l.labelNode ? "radio_Note" : "rule_err"])
|
|
624
640
|
}, {
|
|
625
|
-
default:
|
|
641
|
+
default: s(() => [
|
|
626
642
|
b("div", null, [
|
|
627
|
-
b("span",
|
|
628
|
-
b("span",
|
|
629
|
-
l.required ? (
|
|
643
|
+
b("span", le, u(l.labelBefore), 1),
|
|
644
|
+
b("span", ee, u(l.labelNode), 1),
|
|
645
|
+
l.required ? (n(), i("span", oe, "*")) : g("", !0)
|
|
630
646
|
]),
|
|
631
|
-
|
|
647
|
+
p(G, {
|
|
632
648
|
modelValue: e.states.model[l.field],
|
|
633
649
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
634
650
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -638,16 +654,16 @@ function Ce(p, g, x, e, v, L) {
|
|
|
638
654
|
),
|
|
639
655
|
class: N(l.ways !== "column" ? "radio_row" : "")
|
|
640
656
|
}, {
|
|
641
|
-
default:
|
|
657
|
+
default: s(() => {
|
|
642
658
|
var o;
|
|
643
659
|
return [
|
|
644
|
-
(
|
|
660
|
+
(n(!0), i(C, null, x((o = l.options) == null ? void 0 : o.data, (d) => (n(), y(Q, {
|
|
645
661
|
size: "large",
|
|
646
|
-
label:
|
|
647
|
-
key:
|
|
662
|
+
label: d.code,
|
|
663
|
+
key: d.code
|
|
648
664
|
}, {
|
|
649
|
-
default:
|
|
650
|
-
|
|
665
|
+
default: s(() => [
|
|
666
|
+
h(u(d.name), 1)
|
|
651
667
|
]),
|
|
652
668
|
_: 2
|
|
653
669
|
}, 1032, ["label"]))), 128))
|
|
@@ -657,23 +673,23 @@ function Ce(p, g, x, e, v, L) {
|
|
|
657
673
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
658
674
|
]),
|
|
659
675
|
_: 2
|
|
660
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (
|
|
676
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (n(), y(T, {
|
|
661
677
|
key: 6,
|
|
662
678
|
label: l.label,
|
|
663
679
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
664
680
|
prop: l.field
|
|
665
681
|
}, {
|
|
666
|
-
label:
|
|
667
|
-
l.slotLabelName ? O(
|
|
682
|
+
label: s(() => [
|
|
683
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
668
684
|
key: 0,
|
|
669
685
|
style: D(l.labelStyle)
|
|
670
686
|
}, [
|
|
671
|
-
|
|
672
|
-
l.required ? (
|
|
687
|
+
h(u(l.label) + " ", 1),
|
|
688
|
+
l.required ? (n(), i("span", ae, "*")) : g("", !0)
|
|
673
689
|
], 4))
|
|
674
690
|
]),
|
|
675
|
-
default:
|
|
676
|
-
|
|
691
|
+
default: s(() => [
|
|
692
|
+
p(U, {
|
|
677
693
|
modelValue: e.states.model[l.field],
|
|
678
694
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
679
695
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -682,16 +698,16 @@ function Ce(p, g, x, e, v, L) {
|
|
|
682
698
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
683
699
|
)
|
|
684
700
|
}, {
|
|
685
|
-
default:
|
|
701
|
+
default: s(() => {
|
|
686
702
|
var o;
|
|
687
703
|
return [
|
|
688
|
-
(
|
|
689
|
-
key:
|
|
690
|
-
label:
|
|
691
|
-
disabled:
|
|
704
|
+
(n(!0), i(C, null, x((o = l.options) == null ? void 0 : o.data, (d) => (n(), y(F, {
|
|
705
|
+
key: d.code,
|
|
706
|
+
label: d.code,
|
|
707
|
+
disabled: d.isDisabled
|
|
692
708
|
}, {
|
|
693
|
-
default:
|
|
694
|
-
|
|
709
|
+
default: s(() => [
|
|
710
|
+
h(u(d.name), 1)
|
|
695
711
|
]),
|
|
696
712
|
_: 2
|
|
697
713
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -701,23 +717,23 @@ function Ce(p, g, x, e, v, L) {
|
|
|
701
717
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
702
718
|
]),
|
|
703
719
|
_: 2
|
|
704
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (
|
|
720
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (n(), y(T, {
|
|
705
721
|
key: 7,
|
|
706
722
|
label: l.label,
|
|
707
723
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
708
724
|
prop: l.field
|
|
709
725
|
}, {
|
|
710
|
-
label:
|
|
711
|
-
l.slotLabelName ? O(
|
|
726
|
+
label: s(() => [
|
|
727
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
712
728
|
key: 0,
|
|
713
729
|
style: D(l.labelStyle)
|
|
714
730
|
}, [
|
|
715
|
-
|
|
716
|
-
l.required ? (
|
|
731
|
+
h(u(l.label) + " ", 1),
|
|
732
|
+
l.required ? (n(), i("span", ne, "*")) : g("", !0)
|
|
717
733
|
], 4))
|
|
718
734
|
]),
|
|
719
|
-
default:
|
|
720
|
-
|
|
735
|
+
default: s(() => [
|
|
736
|
+
p(U, {
|
|
721
737
|
modelValue: e.states.model[l.field],
|
|
722
738
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
723
739
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
@@ -726,16 +742,16 @@ function Ce(p, g, x, e, v, L) {
|
|
|
726
742
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
727
743
|
)
|
|
728
744
|
}, {
|
|
729
|
-
default:
|
|
745
|
+
default: s(() => {
|
|
730
746
|
var o;
|
|
731
747
|
return [
|
|
732
|
-
(
|
|
733
|
-
key:
|
|
734
|
-
label:
|
|
735
|
-
disabled:
|
|
748
|
+
(n(!0), i(C, null, x((o = l.options) == null ? void 0 : o.data, (d) => (n(), y(F, {
|
|
749
|
+
key: d.code,
|
|
750
|
+
label: d.code,
|
|
751
|
+
disabled: d.isDisabled
|
|
736
752
|
}, {
|
|
737
|
-
default:
|
|
738
|
-
|
|
753
|
+
default: s(() => [
|
|
754
|
+
h(u(d.name), 1)
|
|
739
755
|
]),
|
|
740
756
|
_: 2
|
|
741
757
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -745,20 +761,20 @@ function Ce(p, g, x, e, v, L) {
|
|
|
745
761
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
746
762
|
]),
|
|
747
763
|
_: 2
|
|
748
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (
|
|
764
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (n(), y(T, {
|
|
749
765
|
key: 8,
|
|
750
766
|
label: l.label,
|
|
751
767
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
752
768
|
prop: l.field,
|
|
753
769
|
class: N([l.labelNode ? "radio_Note" : "rule_err"])
|
|
754
770
|
}, {
|
|
755
|
-
default:
|
|
771
|
+
default: s(() => [
|
|
756
772
|
b("div", null, [
|
|
757
|
-
b("span",
|
|
758
|
-
b("span",
|
|
759
|
-
l.required ? (
|
|
773
|
+
b("span", de, u(l.labelBefore), 1),
|
|
774
|
+
b("span", se, u(l.labelNode), 1),
|
|
775
|
+
l.required ? (n(), i("span", re, "*")) : g("", !0)
|
|
760
776
|
]),
|
|
761
|
-
|
|
777
|
+
p(U, {
|
|
762
778
|
modelValue: e.states.model[l.field],
|
|
763
779
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
764
780
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -767,16 +783,16 @@ function Ce(p, g, x, e, v, L) {
|
|
|
767
783
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
768
784
|
)
|
|
769
785
|
}, {
|
|
770
|
-
default:
|
|
786
|
+
default: s(() => {
|
|
771
787
|
var o;
|
|
772
788
|
return [
|
|
773
|
-
(
|
|
774
|
-
key:
|
|
775
|
-
label:
|
|
776
|
-
disabled:
|
|
789
|
+
(n(!0), i(C, null, x((o = l.options) == null ? void 0 : o.data, (d) => (n(), y(F, {
|
|
790
|
+
key: d.code,
|
|
791
|
+
label: d.code,
|
|
792
|
+
disabled: d.isDisabled
|
|
777
793
|
}, {
|
|
778
|
-
default:
|
|
779
|
-
|
|
794
|
+
default: s(() => [
|
|
795
|
+
h(u(d.name), 1)
|
|
780
796
|
]),
|
|
781
797
|
_: 2
|
|
782
798
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -786,26 +802,26 @@ function Ce(p, g, x, e, v, L) {
|
|
|
786
802
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
787
803
|
]),
|
|
788
804
|
_: 2
|
|
789
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (
|
|
805
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (n(), y(T, {
|
|
790
806
|
key: 9,
|
|
791
807
|
label: l.label,
|
|
792
808
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
793
809
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
794
810
|
prop: l.field
|
|
795
811
|
}, {
|
|
796
|
-
label:
|
|
797
|
-
l.slotLabelName ? O(
|
|
812
|
+
label: s(() => [
|
|
813
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
798
814
|
key: 0,
|
|
799
815
|
style: D(l.labelStyle)
|
|
800
816
|
}, [
|
|
801
|
-
|
|
802
|
-
l.required ? (
|
|
817
|
+
h(u(l.label) + " ", 1),
|
|
818
|
+
l.required ? (n(), i("span", Me, "*")) : g("", !0)
|
|
803
819
|
], 4))
|
|
804
820
|
]),
|
|
805
|
-
default:
|
|
821
|
+
default: s(() => {
|
|
806
822
|
var o;
|
|
807
823
|
return [
|
|
808
|
-
|
|
824
|
+
p(v, {
|
|
809
825
|
"popper-class": "select-tooltip",
|
|
810
826
|
effect: "light",
|
|
811
827
|
content: e.contentName(e.states.model[l.field], (o = l.options) == null ? void 0 : o.data),
|
|
@@ -813,18 +829,21 @@ function Ce(p, g, x, e, v, L) {
|
|
|
813
829
|
disabled: e.isShowTooltip,
|
|
814
830
|
"trigger-keys": []
|
|
815
831
|
}, {
|
|
816
|
-
default:
|
|
817
|
-
|
|
832
|
+
default: s(() => [
|
|
833
|
+
(n(), y(P, {
|
|
818
834
|
class: N(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
819
835
|
id: l.field,
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
836
|
+
key: e.selectPickerKey,
|
|
837
|
+
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
838
|
+
onChange: (d) => e.selectChange(d, l.field),
|
|
839
|
+
onBlur: (d) => e.inputBlur(d, typeof l.field == "string" ? l.field : ""),
|
|
840
|
+
onFocus: (d) => e.selectFocus(d, l.field),
|
|
841
|
+
onInput: (d) => e.selectInput(d, typeof l.field == "string" ? l.field : "", l.maxlength),
|
|
842
|
+
onVisibleChange: (d) => e.handleVisibleChange(d, l.field),
|
|
824
843
|
"popper-class": l.selectPaging === !0 ? "single-select-loadmore" : "selectTriangles",
|
|
825
844
|
teleported: !1,
|
|
826
845
|
modelValue: e.states.model[l.field],
|
|
827
|
-
"onUpdate:modelValue": (
|
|
846
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field] = d,
|
|
828
847
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
829
848
|
placeholder: l.placeholder,
|
|
830
849
|
clearable: l.clearable,
|
|
@@ -839,52 +858,52 @@ function Ce(p, g, x, e, v, L) {
|
|
|
839
858
|
"reserve-keyword": !1,
|
|
840
859
|
"no-data-text": l.noDateText
|
|
841
860
|
}, {
|
|
842
|
-
default:
|
|
843
|
-
var
|
|
861
|
+
default: s(() => {
|
|
862
|
+
var d;
|
|
844
863
|
return [
|
|
845
|
-
(
|
|
846
|
-
key:
|
|
847
|
-
label:
|
|
848
|
-
value:
|
|
864
|
+
(n(!0), i(C, null, x((d = l.options) == null ? void 0 : d.data, (z) => (n(), y(W, {
|
|
865
|
+
key: z.code,
|
|
866
|
+
label: z.name,
|
|
867
|
+
value: z.code
|
|
849
868
|
}, null, 8, ["label", "value"]))), 128)),
|
|
850
|
-
l.loading ? (
|
|
869
|
+
l.loading ? (n(), y(W, {
|
|
851
870
|
key: 0,
|
|
852
871
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
853
872
|
class: "select-loading",
|
|
854
873
|
disabled: ""
|
|
855
|
-
}, null, 8, ["label"])) :
|
|
874
|
+
}, null, 8, ["label"])) : g("", !0)
|
|
856
875
|
];
|
|
857
876
|
}),
|
|
858
877
|
_: 2
|
|
859
|
-
}, 1032, ["id", "onMouseenter", "onChange", "onFocus", "onVisibleChange", "popper-class", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable", "suffix-icon", "clear-icon", "filterable", "allow-create", "multiple", "multiple-limit", "no-data-text"])
|
|
878
|
+
}, 1032, ["id", "onMouseenter", "onChange", "onBlur", "onFocus", "onInput", "onVisibleChange", "popper-class", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable", "suffix-icon", "clear-icon", "filterable", "allow-create", "multiple", "multiple-limit", "no-data-text"]))
|
|
860
879
|
]),
|
|
861
880
|
_: 2
|
|
862
881
|
}, 1032, ["content", "disabled"]),
|
|
863
882
|
b("div", {
|
|
864
883
|
class: "item_tips_blow",
|
|
865
884
|
style: D(l.tipsBlowStyle)
|
|
866
|
-
},
|
|
885
|
+
}, u(l.tipsBlow), 5)
|
|
867
886
|
];
|
|
868
887
|
}),
|
|
869
888
|
_: 2
|
|
870
|
-
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (
|
|
889
|
+
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (n(), y(T, {
|
|
871
890
|
key: 10,
|
|
872
891
|
label: l.label,
|
|
873
892
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
874
893
|
prop: l.field,
|
|
875
894
|
class: "date_item"
|
|
876
895
|
}, {
|
|
877
|
-
label:
|
|
878
|
-
l.slotLabelName ? O(
|
|
896
|
+
label: s(() => [
|
|
897
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
879
898
|
key: 0,
|
|
880
899
|
style: D(l.labelStyle)
|
|
881
900
|
}, [
|
|
882
|
-
|
|
883
|
-
l.required ? (
|
|
901
|
+
h(u(l.label) + " ", 1),
|
|
902
|
+
l.required ? (n(), i("span", ie, "*")) : g("", !0)
|
|
884
903
|
], 4))
|
|
885
904
|
]),
|
|
886
|
-
default:
|
|
887
|
-
(
|
|
905
|
+
default: s(() => [
|
|
906
|
+
(n(), y(X, {
|
|
888
907
|
size: "large",
|
|
889
908
|
allowClear: !!l.allowClear,
|
|
890
909
|
format: l.format || "DD/MM/YYYY",
|
|
@@ -909,38 +928,38 @@ function Ce(p, g, x, e, v, L) {
|
|
|
909
928
|
onBlur: (o) => e.openDatePicker(e.states.model[l.field]),
|
|
910
929
|
onOpenChange: (o) => e.openChange(o, l == null ? void 0 : l.defaultToady, l.field, e.states.model[l.field])
|
|
911
930
|
}, J({
|
|
912
|
-
superPrevIcon:
|
|
913
|
-
|
|
931
|
+
superPrevIcon: s(() => [
|
|
932
|
+
ce
|
|
914
933
|
]),
|
|
915
|
-
prevIcon:
|
|
916
|
-
|
|
934
|
+
prevIcon: s(() => [
|
|
935
|
+
ue
|
|
917
936
|
]),
|
|
918
|
-
nextIcon:
|
|
919
|
-
|
|
937
|
+
nextIcon: s(() => [
|
|
938
|
+
te
|
|
920
939
|
]),
|
|
921
|
-
superNextIcon:
|
|
922
|
-
|
|
940
|
+
superNextIcon: s(() => [
|
|
941
|
+
ge
|
|
923
942
|
]),
|
|
924
943
|
_: 2
|
|
925
944
|
}, [
|
|
926
945
|
l != null && l.defaultToady ? {
|
|
927
946
|
name: "dateRender",
|
|
928
|
-
fn:
|
|
947
|
+
fn: s(({ current: o }) => [
|
|
929
948
|
b("div", {
|
|
930
949
|
class: "ant-picker-cell-inner",
|
|
931
950
|
style: D(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
932
|
-
},
|
|
951
|
+
}, u(o.date()), 5)
|
|
933
952
|
]),
|
|
934
953
|
key: "0"
|
|
935
954
|
} : void 0,
|
|
936
955
|
!(l != null && l.ToadyStatus) || l != null && l.ToadyStatus ? {
|
|
937
956
|
name: "renderExtraFooter",
|
|
938
|
-
fn:
|
|
939
|
-
l != null && l.disabledDateToday ? (
|
|
957
|
+
fn: s(() => [
|
|
958
|
+
l != null && l.disabledDateToday ? (n(), i("span", {
|
|
940
959
|
key: 0,
|
|
941
960
|
class: N([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"])
|
|
942
|
-
},
|
|
943
|
-
l != null && l.disabledDateToday ?
|
|
961
|
+
}, u((l == null ? void 0 : l.todayLanguage) || "Today"), 3)) : g("", !0),
|
|
962
|
+
l != null && l.disabledDateToday ? g("", !0) : (n(), i("span", {
|
|
944
963
|
key: 1,
|
|
945
964
|
class: N([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
946
965
|
onClick: (o) => e.getDefaultToady(
|
|
@@ -948,31 +967,31 @@ function Ce(p, g, x, e, v, L) {
|
|
|
948
967
|
typeof l.field == "string" ? l.field : "",
|
|
949
968
|
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date()
|
|
950
969
|
)
|
|
951
|
-
},
|
|
970
|
+
}, u((l == null ? void 0 : l.todayLanguage) || "Today"), 11, ye))
|
|
952
971
|
]),
|
|
953
972
|
key: "1"
|
|
954
973
|
} : void 0
|
|
955
974
|
]), 1032, ["allowClear", "format", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onOk", "onBlur", "onOpenChange"])),
|
|
956
|
-
l.showTo ? (
|
|
975
|
+
l.showTo ? (n(), i("span", fe, u(l.showTo), 1)) : g("", !0)
|
|
957
976
|
]),
|
|
958
977
|
_: 2
|
|
959
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (
|
|
978
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (n(), y(T, {
|
|
960
979
|
key: 11,
|
|
961
980
|
label: l.label,
|
|
962
981
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
963
982
|
prop: l.field
|
|
964
983
|
}, {
|
|
965
|
-
label:
|
|
966
|
-
l.slotLabelName ? O(
|
|
984
|
+
label: s(() => [
|
|
985
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
967
986
|
key: 0,
|
|
968
987
|
style: D(l.labelStyle)
|
|
969
988
|
}, [
|
|
970
|
-
|
|
971
|
-
l.required ? (
|
|
989
|
+
h(u(l.label) + " ", 1),
|
|
990
|
+
l.required ? (n(), i("span", pe, "*")) : g("", !0)
|
|
972
991
|
], 4))
|
|
973
992
|
]),
|
|
974
|
-
default:
|
|
975
|
-
(
|
|
993
|
+
default: s(() => [
|
|
994
|
+
(n(), y(K, {
|
|
976
995
|
"popper-class": "selectTriangles",
|
|
977
996
|
allowClear: !!l.allowClear,
|
|
978
997
|
defaultPickerValue: l == null ? void 0 : l.defaultPickerValue,
|
|
@@ -1008,50 +1027,50 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1008
1027
|
),
|
|
1009
1028
|
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultToady, l.field, e.states.model[l.field])
|
|
1010
1029
|
}, J({
|
|
1011
|
-
superPrevIcon:
|
|
1012
|
-
|
|
1030
|
+
superPrevIcon: s(() => [
|
|
1031
|
+
De
|
|
1013
1032
|
]),
|
|
1014
|
-
prevIcon:
|
|
1015
|
-
|
|
1033
|
+
prevIcon: s(() => [
|
|
1034
|
+
be
|
|
1016
1035
|
]),
|
|
1017
|
-
nextIcon:
|
|
1018
|
-
|
|
1036
|
+
nextIcon: s(() => [
|
|
1037
|
+
Ne
|
|
1019
1038
|
]),
|
|
1020
|
-
superNextIcon:
|
|
1021
|
-
|
|
1039
|
+
superNextIcon: s(() => [
|
|
1040
|
+
Te
|
|
1022
1041
|
]),
|
|
1023
1042
|
_: 2
|
|
1024
1043
|
}, [
|
|
1025
1044
|
l != null && l.defaultToady ? {
|
|
1026
1045
|
name: "dateRender",
|
|
1027
|
-
fn:
|
|
1046
|
+
fn: s(({ current: o, info: d }) => [
|
|
1028
1047
|
b("div", {
|
|
1029
1048
|
class: "ant-picker-cell-inner",
|
|
1030
|
-
style: D(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady,
|
|
1031
|
-
},
|
|
1049
|
+
style: D(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady, d, l.field))
|
|
1050
|
+
}, u(o.date()), 5)
|
|
1032
1051
|
]),
|
|
1033
1052
|
key: "0"
|
|
1034
1053
|
} : void 0
|
|
1035
1054
|
]), 1032, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1036
1055
|
]),
|
|
1037
1056
|
_: 2
|
|
1038
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (
|
|
1057
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (n(), y(T, {
|
|
1039
1058
|
key: 12,
|
|
1040
1059
|
label: l.label,
|
|
1041
1060
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1042
1061
|
prop: l.field
|
|
1043
1062
|
}, {
|
|
1044
|
-
label:
|
|
1045
|
-
l.slotLabelName ? O(
|
|
1063
|
+
label: s(() => [
|
|
1064
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
1046
1065
|
key: 0,
|
|
1047
1066
|
style: D(l.labelStyle)
|
|
1048
1067
|
}, [
|
|
1049
|
-
|
|
1050
|
-
l.required ? (
|
|
1068
|
+
h(u(l.label) + " ", 1),
|
|
1069
|
+
l.required ? (n(), i("span", Ie, "*")) : g("", !0)
|
|
1051
1070
|
], 4))
|
|
1052
1071
|
]),
|
|
1053
|
-
default:
|
|
1054
|
-
(
|
|
1072
|
+
default: s(() => [
|
|
1073
|
+
(n(), y(K, {
|
|
1055
1074
|
"popper-class": "selectTriangles",
|
|
1056
1075
|
allowClear: !!l.allowClear,
|
|
1057
1076
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1088,48 +1107,48 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1088
1107
|
}, null, 8, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1089
1108
|
]),
|
|
1090
1109
|
_: 2
|
|
1091
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (
|
|
1110
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (n(), y(T, {
|
|
1092
1111
|
key: 13,
|
|
1093
1112
|
label: l.label,
|
|
1094
1113
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1095
1114
|
prop: l.field,
|
|
1096
1115
|
class: "rule_err"
|
|
1097
1116
|
}, {
|
|
1098
|
-
label:
|
|
1099
|
-
l.slotLabelName ? O(
|
|
1117
|
+
label: s(() => [
|
|
1118
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
1100
1119
|
key: 0,
|
|
1101
1120
|
style: D(l.labelStyle)
|
|
1102
1121
|
}, [
|
|
1103
|
-
|
|
1104
|
-
l.required ? (
|
|
1122
|
+
h(u(l.label) + " ", 1),
|
|
1123
|
+
l.required ? (n(), i("span", he, "*")) : g("", !0)
|
|
1105
1124
|
], 4))
|
|
1106
1125
|
]),
|
|
1107
|
-
default:
|
|
1108
|
-
O(
|
|
1126
|
+
default: s(() => [
|
|
1127
|
+
O(f.$slots, l.slotItemName, {}, void 0, !0)
|
|
1109
1128
|
]),
|
|
1110
1129
|
_: 2
|
|
1111
|
-
}, 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 ? (
|
|
1130
|
+
}, 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 ? (n(), y(T, {
|
|
1112
1131
|
key: 14,
|
|
1113
1132
|
label: l.label,
|
|
1114
1133
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
1115
1134
|
prop: l.field.phoneNumber,
|
|
1116
1135
|
class: "phone_item"
|
|
1117
1136
|
}, {
|
|
1118
|
-
label:
|
|
1119
|
-
l.slotLabelName ? O(
|
|
1137
|
+
label: s(() => [
|
|
1138
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
1120
1139
|
key: 0,
|
|
1121
1140
|
style: D(l.labelStyle)
|
|
1122
1141
|
}, [
|
|
1123
|
-
|
|
1124
|
-
l.required ? (
|
|
1142
|
+
h(u(l.label) + " ", 1),
|
|
1143
|
+
l.required ? (n(), i("span", je, "*")) : g("", !0)
|
|
1125
1144
|
], 4))
|
|
1126
1145
|
]),
|
|
1127
|
-
default:
|
|
1146
|
+
default: s(() => [
|
|
1128
1147
|
b("div", {
|
|
1129
1148
|
class: N(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1130
1149
|
}, [
|
|
1131
|
-
e.phoneWrap ? (
|
|
1132
|
-
|
|
1150
|
+
e.phoneWrap ? (n(), i("div", Oe, [
|
|
1151
|
+
p(v, {
|
|
1133
1152
|
"popper-class": "input-tooltip",
|
|
1134
1153
|
effect: "light",
|
|
1135
1154
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1137,43 +1156,43 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1137
1156
|
disabled: e.isShowTooltip,
|
|
1138
1157
|
"trigger-keys": []
|
|
1139
1158
|
}, {
|
|
1140
|
-
default:
|
|
1159
|
+
default: s(() => {
|
|
1141
1160
|
var o;
|
|
1142
1161
|
return [
|
|
1143
|
-
l.field.nationCode ? (
|
|
1162
|
+
l.field.nationCode ? (n(), y(P, {
|
|
1144
1163
|
key: 0,
|
|
1145
1164
|
class: N(["tooltip-select", (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]),
|
|
1146
1165
|
id: l.field.nationCode,
|
|
1147
|
-
onMouseenter: (
|
|
1166
|
+
onMouseenter: (d) => e.visibilityChange(l.field.nationCode),
|
|
1148
1167
|
"popper-class": "selectTriangles",
|
|
1149
1168
|
teleported: !1,
|
|
1150
1169
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1151
1170
|
modelValue: e.states.model[l.field.nationCode],
|
|
1152
|
-
"onUpdate:modelValue": (
|
|
1171
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1153
1172
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1154
1173
|
style: D("width:" + l.widthNation),
|
|
1155
1174
|
"fit-input-width": !0,
|
|
1156
1175
|
"suffix-icon": e.IconDropDown,
|
|
1157
1176
|
"clear-icon": e.IconClear
|
|
1158
1177
|
}, {
|
|
1159
|
-
default:
|
|
1160
|
-
var
|
|
1178
|
+
default: s(() => {
|
|
1179
|
+
var d;
|
|
1161
1180
|
return [
|
|
1162
|
-
(
|
|
1163
|
-
label:
|
|
1164
|
-
value:
|
|
1165
|
-
key:
|
|
1181
|
+
(n(!0), i(C, null, x((d = l.nationOptions) == null ? void 0 : d.data, (z, R) => (n(), y(W, {
|
|
1182
|
+
label: z.name,
|
|
1183
|
+
value: z.code,
|
|
1184
|
+
key: R
|
|
1166
1185
|
}, null, 8, ["label", "value"]))), 128))
|
|
1167
1186
|
];
|
|
1168
1187
|
}),
|
|
1169
1188
|
_: 2
|
|
1170
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1189
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : g("", !0)
|
|
1171
1190
|
];
|
|
1172
1191
|
}),
|
|
1173
1192
|
_: 2
|
|
1174
1193
|
}, 1032, ["content", "disabled"]),
|
|
1175
|
-
|
|
1176
|
-
|
|
1194
|
+
Ae,
|
|
1195
|
+
p(v, {
|
|
1177
1196
|
"popper-class": "input-tooltip",
|
|
1178
1197
|
effect: "light",
|
|
1179
1198
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1181,45 +1200,33 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1181
1200
|
disabled: e.isShowTooltip,
|
|
1182
1201
|
"trigger-keys": []
|
|
1183
1202
|
}, {
|
|
1184
|
-
default:
|
|
1203
|
+
default: s(() => {
|
|
1185
1204
|
var o;
|
|
1186
1205
|
return [
|
|
1187
|
-
l.field.areaCode ? (
|
|
1206
|
+
l.field.areaCode ? (n(), y(w, {
|
|
1188
1207
|
key: 0,
|
|
1189
1208
|
class: N(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1190
1209
|
id: l.field.areaCode,
|
|
1191
|
-
onMouseenter: (
|
|
1192
|
-
onBlur: (
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
),
|
|
1196
|
-
onFocus: (s) => e.inputFocus(
|
|
1197
|
-
s,
|
|
1198
|
-
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1199
|
-
),
|
|
1200
|
-
onChange: (s) => e.inputChange(
|
|
1201
|
-
s,
|
|
1202
|
-
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1203
|
-
),
|
|
1204
|
-
onInput: (s) => e.inputInput(
|
|
1205
|
-
s,
|
|
1206
|
-
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1207
|
-
),
|
|
1210
|
+
onMouseenter: (d) => e.visibilityChange(l.field.areaCode),
|
|
1211
|
+
onBlur: (d) => e.inputBlur(d, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
1212
|
+
onFocus: (d) => e.inputFocus(d, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
1213
|
+
onChange: (d) => e.inputChange(d, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
1214
|
+
onInput: (d) => e.inputInput(d, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
1208
1215
|
maxlength: l.maxlengthAreaCode || 5,
|
|
1209
|
-
|
|
1216
|
+
formatter: (d) => d.replace(/[^\d]/g, ""),
|
|
1210
1217
|
modelValue: e.states.model[l.field.areaCode],
|
|
1211
|
-
"onUpdate:modelValue": (
|
|
1218
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
|
|
1212
1219
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1213
1220
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1214
1221
|
clearable: l.clearable
|
|
1215
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) :
|
|
1222
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : g("", !0)
|
|
1216
1223
|
];
|
|
1217
1224
|
}),
|
|
1218
1225
|
_: 2
|
|
1219
1226
|
}, 1032, ["content", "disabled"]),
|
|
1220
|
-
|
|
1221
|
-
])) :
|
|
1222
|
-
|
|
1227
|
+
ke
|
|
1228
|
+
])) : g("", !0),
|
|
1229
|
+
p(v, {
|
|
1223
1230
|
"popper-class": "input-tooltip",
|
|
1224
1231
|
effect: "light",
|
|
1225
1232
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1227,46 +1234,46 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1227
1234
|
disabled: e.isShowTooltip,
|
|
1228
1235
|
"trigger-keys": []
|
|
1229
1236
|
}, {
|
|
1230
|
-
default:
|
|
1237
|
+
default: s(() => {
|
|
1231
1238
|
var o;
|
|
1232
1239
|
return [
|
|
1233
|
-
l.field.nationCode && !e.phoneWrap ? (
|
|
1240
|
+
l.field.nationCode && !e.phoneWrap ? (n(), y(P, {
|
|
1234
1241
|
key: 0,
|
|
1235
1242
|
class: N([
|
|
1236
1243
|
"tooltip-select",
|
|
1237
1244
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1238
1245
|
]),
|
|
1239
1246
|
id: l.field.nationCode,
|
|
1240
|
-
onMouseenter: (
|
|
1247
|
+
onMouseenter: (d) => e.visibilityChange(l.field.nationCode),
|
|
1241
1248
|
"popper-class": "selectTriangles",
|
|
1242
1249
|
teleported: !1,
|
|
1243
1250
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1244
1251
|
modelValue: e.states.model[l.field.nationCode],
|
|
1245
|
-
"onUpdate:modelValue": (
|
|
1252
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1246
1253
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1247
1254
|
style: D("width:" + l.widthNation),
|
|
1248
1255
|
"fit-input-width": !0,
|
|
1249
1256
|
"suffix-icon": e.IconDropDown,
|
|
1250
1257
|
"clear-icon": e.IconClear
|
|
1251
1258
|
}, {
|
|
1252
|
-
default:
|
|
1253
|
-
var
|
|
1259
|
+
default: s(() => {
|
|
1260
|
+
var d;
|
|
1254
1261
|
return [
|
|
1255
|
-
(
|
|
1256
|
-
label:
|
|
1257
|
-
value:
|
|
1258
|
-
key:
|
|
1262
|
+
(n(!0), i(C, null, x((d = l.nationOptions) == null ? void 0 : d.data, (z, R) => (n(), y(W, {
|
|
1263
|
+
label: z.name,
|
|
1264
|
+
value: z.code,
|
|
1265
|
+
key: R
|
|
1259
1266
|
}, null, 8, ["label", "value"]))), 128))
|
|
1260
1267
|
];
|
|
1261
1268
|
}),
|
|
1262
1269
|
_: 2
|
|
1263
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1270
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : g("", !0)
|
|
1264
1271
|
];
|
|
1265
1272
|
}),
|
|
1266
1273
|
_: 2
|
|
1267
1274
|
}, 1032, ["content", "disabled"]),
|
|
1268
|
-
e.phoneWrap ?
|
|
1269
|
-
|
|
1275
|
+
e.phoneWrap ? g("", !0) : (n(), i("div", we, " - ")),
|
|
1276
|
+
p(v, {
|
|
1270
1277
|
"popper-class": "input-tooltip",
|
|
1271
1278
|
effect: "light",
|
|
1272
1279
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1274,48 +1281,48 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1274
1281
|
disabled: e.isShowTooltip,
|
|
1275
1282
|
"trigger-keys": []
|
|
1276
1283
|
}, {
|
|
1277
|
-
default:
|
|
1284
|
+
default: s(() => {
|
|
1278
1285
|
var o;
|
|
1279
1286
|
return [
|
|
1280
|
-
l.field.areaCode && !e.phoneWrap ? (
|
|
1287
|
+
l.field.areaCode && !e.phoneWrap ? (n(), y(w, {
|
|
1281
1288
|
key: 0,
|
|
1282
1289
|
class: N([
|
|
1283
1290
|
"tooltip-input",
|
|
1284
1291
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1285
1292
|
]),
|
|
1286
1293
|
id: l.field.areaCode,
|
|
1287
|
-
onMouseenter: (
|
|
1288
|
-
onBlur: (
|
|
1289
|
-
|
|
1294
|
+
onMouseenter: (d) => e.visibilityChange(l.field.areaCode),
|
|
1295
|
+
onBlur: (d) => e.inputBlur(
|
|
1296
|
+
d,
|
|
1290
1297
|
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1291
1298
|
),
|
|
1292
|
-
onFocus: (
|
|
1293
|
-
|
|
1299
|
+
onFocus: (d) => e.inputFocus(
|
|
1300
|
+
d,
|
|
1294
1301
|
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1295
1302
|
),
|
|
1296
|
-
onChange: (
|
|
1297
|
-
|
|
1303
|
+
onChange: (d) => e.inputChange(
|
|
1304
|
+
d,
|
|
1298
1305
|
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1299
1306
|
),
|
|
1300
|
-
onInput: (
|
|
1301
|
-
|
|
1307
|
+
onInput: (d) => e.inputInput(
|
|
1308
|
+
d,
|
|
1302
1309
|
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1303
1310
|
),
|
|
1304
1311
|
maxlength: l.maxlengthAreaCode || 5,
|
|
1305
|
-
|
|
1312
|
+
formatter: (d) => d.replace(/[^\d]/g, ""),
|
|
1306
1313
|
modelValue: e.states.model[l.field.areaCode],
|
|
1307
|
-
"onUpdate:modelValue": (
|
|
1314
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
|
|
1308
1315
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1309
1316
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1310
1317
|
style: D("width:" + l.widthArea),
|
|
1311
1318
|
clearable: l.clearable
|
|
1312
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1319
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1313
1320
|
];
|
|
1314
1321
|
}),
|
|
1315
1322
|
_: 2
|
|
1316
1323
|
}, 1032, ["content", "disabled"]),
|
|
1317
|
-
e.phoneWrap ?
|
|
1318
|
-
|
|
1324
|
+
e.phoneWrap ? g("", !0) : (n(), i("div", ze, " - ")),
|
|
1325
|
+
p(v, {
|
|
1319
1326
|
"popper-class": "input-tooltip",
|
|
1320
1327
|
effect: "light",
|
|
1321
1328
|
content: e.states.model[typeof l.field.phoneNumber == "string" ? l.field.phoneNumber : ""],
|
|
@@ -1323,8 +1330,8 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1323
1330
|
disabled: e.isShowTooltip,
|
|
1324
1331
|
"trigger-keys": []
|
|
1325
1332
|
}, {
|
|
1326
|
-
default:
|
|
1327
|
-
l.field.phoneNumber ? (
|
|
1333
|
+
default: s(() => [
|
|
1334
|
+
l.field.phoneNumber ? (n(), y(w, {
|
|
1328
1335
|
key: 0,
|
|
1329
1336
|
class: N([
|
|
1330
1337
|
"tooltip-input",
|
|
@@ -1348,45 +1355,46 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1348
1355
|
o,
|
|
1349
1356
|
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1350
1357
|
),
|
|
1351
|
-
maxlength: l.maxlength,
|
|
1358
|
+
maxlength: l.maxlength || 20,
|
|
1359
|
+
formatter: (o) => o.replace(/[^\d]/g, ""),
|
|
1352
1360
|
modelValue: e.states.model[l.field.phoneNumber],
|
|
1353
1361
|
"onUpdate:modelValue": (o) => e.states.model[l.field.phoneNumber] = o,
|
|
1354
1362
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
|
|
1355
1363
|
placeholder: l.placeholder || "",
|
|
1356
1364
|
style: D("width:" + l.widthPhoneNumber),
|
|
1357
1365
|
clearable: l.clearable
|
|
1358
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1366
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1359
1367
|
]),
|
|
1360
1368
|
_: 2
|
|
1361
1369
|
}, 1032, ["content", "disabled"])
|
|
1362
1370
|
], 2)
|
|
1363
1371
|
]),
|
|
1364
1372
|
_: 2
|
|
1365
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (
|
|
1373
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (n(), y(T, {
|
|
1366
1374
|
key: 15,
|
|
1367
1375
|
label: l.label
|
|
1368
1376
|
}, {
|
|
1369
|
-
default:
|
|
1370
|
-
|
|
1377
|
+
default: s(() => [
|
|
1378
|
+
Ce
|
|
1371
1379
|
]),
|
|
1372
1380
|
_: 2
|
|
1373
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (
|
|
1381
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (n(), y(T, {
|
|
1374
1382
|
key: 16,
|
|
1375
1383
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1376
1384
|
prop: l.field,
|
|
1377
1385
|
class: N(l.prepend ? "input-item" : "")
|
|
1378
1386
|
}, {
|
|
1379
|
-
label:
|
|
1380
|
-
l.slotLabelName ? O(
|
|
1387
|
+
label: s(() => [
|
|
1388
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
1381
1389
|
key: 0,
|
|
1382
1390
|
style: D(l.labelStyle)
|
|
1383
1391
|
}, [
|
|
1384
|
-
|
|
1385
|
-
l.required ? (
|
|
1392
|
+
h(u(l.label) + " ", 1),
|
|
1393
|
+
l.required ? (n(), i("span", xe, "*")) : g("", !0)
|
|
1386
1394
|
], 4))
|
|
1387
1395
|
]),
|
|
1388
|
-
default:
|
|
1389
|
-
|
|
1396
|
+
default: s(() => [
|
|
1397
|
+
p(w, {
|
|
1390
1398
|
onBlur: (o) => e.inputBlur(
|
|
1391
1399
|
o,
|
|
1392
1400
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1418,42 +1426,42 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1418
1426
|
class: N(
|
|
1419
1427
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1420
1428
|
),
|
|
1421
|
-
onKeyup:
|
|
1429
|
+
onKeyup: B((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1422
1430
|
}, J({ _: 2 }, [
|
|
1423
1431
|
l.prepend ? {
|
|
1424
1432
|
name: "prepend",
|
|
1425
|
-
fn:
|
|
1426
|
-
|
|
1433
|
+
fn: s(() => [
|
|
1434
|
+
h(u(l.prepend), 1)
|
|
1427
1435
|
]),
|
|
1428
1436
|
key: "0"
|
|
1429
1437
|
} : void 0,
|
|
1430
1438
|
l.append ? {
|
|
1431
1439
|
name: "append",
|
|
1432
|
-
fn:
|
|
1433
|
-
|
|
1440
|
+
fn: s(() => [
|
|
1441
|
+
h(u(l.append), 1)
|
|
1434
1442
|
]),
|
|
1435
1443
|
key: "1"
|
|
1436
1444
|
} : void 0
|
|
1437
1445
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1438
1446
|
]),
|
|
1439
1447
|
_: 2
|
|
1440
|
-
}, 1032, ["rules", "prop", "class"])) : (
|
|
1448
|
+
}, 1032, ["rules", "prop", "class"])) : (n(), y(T, {
|
|
1441
1449
|
key: 17,
|
|
1442
1450
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1443
1451
|
prop: l.field,
|
|
1444
1452
|
class: N(l.prepend ? "input-item" : "")
|
|
1445
1453
|
}, {
|
|
1446
|
-
label:
|
|
1447
|
-
l.slotLabelName ? O(
|
|
1454
|
+
label: s(() => [
|
|
1455
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), i("div", {
|
|
1448
1456
|
key: 0,
|
|
1449
1457
|
style: D(l.labelStyle)
|
|
1450
1458
|
}, [
|
|
1451
|
-
|
|
1452
|
-
l.required ? (
|
|
1459
|
+
h(u(l.label) + " ", 1),
|
|
1460
|
+
l.required ? (n(), i("span", Le, "*")) : g("", !0)
|
|
1453
1461
|
], 4))
|
|
1454
1462
|
]),
|
|
1455
|
-
default:
|
|
1456
|
-
|
|
1463
|
+
default: s(() => [
|
|
1464
|
+
p(v, {
|
|
1457
1465
|
"popper-class": "input-tooltip",
|
|
1458
1466
|
effect: "light",
|
|
1459
1467
|
content: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
@@ -1461,8 +1469,8 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1461
1469
|
disabled: e.isShowTooltip,
|
|
1462
1470
|
"trigger-keys": []
|
|
1463
1471
|
}, {
|
|
1464
|
-
default:
|
|
1465
|
-
|
|
1472
|
+
default: s(() => [
|
|
1473
|
+
p(w, {
|
|
1466
1474
|
class: N(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1467
1475
|
id: l.field,
|
|
1468
1476
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
@@ -1481,19 +1489,19 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1481
1489
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1482
1490
|
showPassword: l.showPassword,
|
|
1483
1491
|
clearable: l.clearable,
|
|
1484
|
-
onKeyup:
|
|
1492
|
+
onKeyup: B((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1485
1493
|
}, J({ _: 2 }, [
|
|
1486
1494
|
l.prepend ? {
|
|
1487
1495
|
name: "prepend",
|
|
1488
|
-
fn:
|
|
1489
|
-
|
|
1496
|
+
fn: s(() => [
|
|
1497
|
+
h(u(l.prepend), 1)
|
|
1490
1498
|
]),
|
|
1491
1499
|
key: "0"
|
|
1492
1500
|
} : void 0,
|
|
1493
1501
|
l.append ? {
|
|
1494
1502
|
name: "append",
|
|
1495
|
-
fn:
|
|
1496
|
-
|
|
1503
|
+
fn: s(() => [
|
|
1504
|
+
h(u(l.append), 1)
|
|
1497
1505
|
]),
|
|
1498
1506
|
key: "1"
|
|
1499
1507
|
} : void 0
|
|
@@ -1508,19 +1516,19 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1508
1516
|
]),
|
|
1509
1517
|
_: 2
|
|
1510
1518
|
}, 1032, ["xs", "sm", "md", "lg", "xl"])), [
|
|
1511
|
-
[
|
|
1519
|
+
[Vl, !l.isHide]
|
|
1512
1520
|
])), 128))
|
|
1513
1521
|
]),
|
|
1514
1522
|
_: 3
|
|
1515
1523
|
}),
|
|
1516
|
-
|
|
1517
|
-
default:
|
|
1518
|
-
O(
|
|
1519
|
-
model:
|
|
1524
|
+
p(T, { class: "btnsItem" }, {
|
|
1525
|
+
default: s(() => [
|
|
1526
|
+
O(f.$slots, "buttons", {
|
|
1527
|
+
model: E.model,
|
|
1520
1528
|
onBtnClick: e.onSubmit
|
|
1521
1529
|
}, () => [
|
|
1522
|
-
(
|
|
1523
|
-
l.isShow ? (
|
|
1530
|
+
(n(!0), i(C, null, x(e.formOptions.btnConfig, (l, H) => (n(), i("div", { key: H }, [
|
|
1531
|
+
l.isShow ? (n(), y(m, {
|
|
1524
1532
|
key: 0,
|
|
1525
1533
|
btnCode: l.btnCode,
|
|
1526
1534
|
plain: l.plain,
|
|
@@ -1547,11 +1555,11 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1547
1555
|
class: N(l.class),
|
|
1548
1556
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1549
1557
|
}, {
|
|
1550
|
-
default:
|
|
1551
|
-
|
|
1558
|
+
default: s(() => [
|
|
1559
|
+
h(u(l.name), 1)
|
|
1552
1560
|
]),
|
|
1553
1561
|
_: 2
|
|
1554
|
-
}, 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"])) :
|
|
1562
|
+
}, 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"])) : g("", !0)
|
|
1555
1563
|
]))), 128))
|
|
1556
1564
|
], !0)
|
|
1557
1565
|
]),
|
|
@@ -1561,11 +1569,11 @@ function Ce(p, g, x, e, v, L) {
|
|
|
1561
1569
|
_: 3
|
|
1562
1570
|
}, 16, ["model", "label-position"]);
|
|
1563
1571
|
}
|
|
1564
|
-
const
|
|
1565
|
-
function nl(
|
|
1566
|
-
nl.installed || (nl.installed = !0,
|
|
1572
|
+
const tl = /* @__PURE__ */ Gl(Ql, [["render", Ee], ["__scopeId", "data-v-5d6eeafa"]]);
|
|
1573
|
+
function nl(f, t = {}) {
|
|
1574
|
+
nl.installed || (nl.installed = !0, f.component("common-el-form", tl));
|
|
1567
1575
|
}
|
|
1568
|
-
|
|
1576
|
+
tl.install = nl;
|
|
1569
1577
|
export {
|
|
1570
|
-
|
|
1578
|
+
tl as default
|
|
1571
1579
|
};
|