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