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