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