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