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