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