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