sinosoft-common-form 2.5.3 → 2.5.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 +212 -204
- 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 kl, shallowRef as ol, h as al, computed as wl, onMounted as zl, onBeforeUnmount as Cl, watch as xl, toRefs as Ll, nextTick as rl, resolveComponent as h, openBlock as a, createBlock as i, mergeProps as El, withModifiers as _l, withCtx as n, createVNode as f, createElementBlock as M, Fragment as k, renderList as w, withDirectives as Sl, createElementVNode as D, normalizeStyle as t, toDisplayString as c, createTextVNode as T, createCommentVNode as g, renderSlot as j, normalizeClass as b, withKeys as W, createSlots as J, vShow as vl, pushScopeId as Rl, popScopeId as Yl } from "vue";
|
|
2
|
+
const Ul = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNC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NkM2LjU1NjcxIDEzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Wl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
5
5
|
type: Array,
|
|
@@ -21,36 +21,36 @@ const Rl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(p, { emit:
|
|
25
|
-
const C = Y(!0), e =
|
|
24
|
+
setup(p, { emit: u }) {
|
|
25
|
+
const C = Y(!0), e = kl({
|
|
26
26
|
model: {}
|
|
27
27
|
}), _ = Y(!0), x = Y(null), N = ol({
|
|
28
28
|
render() {
|
|
29
29
|
return al("img", {
|
|
30
|
-
src:
|
|
30
|
+
src: Ul
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
}), O = ol({
|
|
34
34
|
render() {
|
|
35
35
|
return al("img", {
|
|
36
|
-
src:
|
|
36
|
+
src: Vl
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
}), E = (s) => {
|
|
40
40
|
const r = s.target;
|
|
41
|
-
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight &&
|
|
42
|
-
},
|
|
41
|
+
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight && u("selectChangeScroll");
|
|
42
|
+
}, B = (s, r) => {
|
|
43
43
|
if (s) {
|
|
44
44
|
const y = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
45
|
-
y && y.addEventListener("scroll", E),
|
|
45
|
+
y && y.addEventListener("scroll", E), u("handleVisibleChange", s, r);
|
|
46
46
|
}
|
|
47
|
-
},
|
|
47
|
+
}, Z = ol({
|
|
48
48
|
render() {
|
|
49
49
|
return al("img", {
|
|
50
|
-
src:
|
|
50
|
+
src: Fl
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), Q = wl(() => Object.assign([], p.options)), U = () => {
|
|
54
54
|
e.model = p.model;
|
|
55
55
|
}, S = (s, r, y) => {
|
|
56
56
|
var I;
|
|
@@ -58,239 +58,245 @@ const Rl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
58
58
|
var v;
|
|
59
59
|
(v = x.value) == null || v.validate((R) => {
|
|
60
60
|
if (R)
|
|
61
|
-
|
|
61
|
+
u(y || "submit", e.model, s);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) : r ? (y === "reset" && ((I = x.value) == null || I.resetFields()),
|
|
65
|
+
})) : r ? (y === "reset" && ((I = x.value) == null || I.resetFields()), u(y || "submit", e.model, s)) : (C.value = !1, u(y || "submit", e.model, s, x.value));
|
|
66
66
|
}, V = (s, r) => {
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
|
|
67
|
+
u("selectChange", s, r);
|
|
68
|
+
}, G = (s, r) => {
|
|
69
|
+
u("selectFocus", s, r);
|
|
70
70
|
}, L = (s, r) => {
|
|
71
|
-
|
|
71
|
+
u("filteroption", s, r);
|
|
72
|
+
}, X = (s, r) => {
|
|
73
|
+
u("radioChange", s, r);
|
|
74
|
+
}, H = (s, r) => {
|
|
75
|
+
u("checkChange", s, r);
|
|
72
76
|
}, m = (s, r) => {
|
|
73
77
|
const y = e.model[r].length;
|
|
74
78
|
if (y === 1) {
|
|
75
|
-
|
|
79
|
+
u("checkChange", s, r);
|
|
76
80
|
return;
|
|
77
81
|
} else
|
|
78
|
-
y > 1 ? (e.model[r].shift(),
|
|
79
|
-
},
|
|
82
|
+
y > 1 ? (e.model[r].shift(), u("checkChange", s, r)) : y < 1 && u("checkChange", s, r);
|
|
83
|
+
}, $ = (s, r, y) => {
|
|
80
84
|
S(s, r, y);
|
|
81
|
-
},
|
|
85
|
+
}, l = (s, r) => {
|
|
82
86
|
s && (r == null ? void 0 : r.key) === "Enter" && S(void 0, !0, "submit");
|
|
83
|
-
},
|
|
87
|
+
}, F = (s, r, y) => {
|
|
84
88
|
var I;
|
|
85
|
-
(I = x.value) == null || I.validateField(r),
|
|
86
|
-
}, l = (s, r) => {
|
|
87
|
-
g("onOk", s, r);
|
|
88
|
-
}, G = (s, r) => {
|
|
89
|
-
g("inputBlur", s, r);
|
|
89
|
+
(I = x.value) == null || I.validateField(r), u("dateChange", s, r);
|
|
90
90
|
}, o = (s, r) => {
|
|
91
|
-
|
|
91
|
+
u("onOk", s, r);
|
|
92
92
|
}, d = (s, r) => {
|
|
93
|
-
|
|
93
|
+
u("inputBlur", s, r);
|
|
94
94
|
}, A = (s, r) => {
|
|
95
|
-
|
|
96
|
-
}, P = (s) => {
|
|
95
|
+
u("inputFocus", s, r);
|
|
96
|
+
}, P = (s, r) => {
|
|
97
|
+
u("inputChange", s, r);
|
|
98
|
+
}, gl = (s, r) => {
|
|
99
|
+
u("inputInput", s, r);
|
|
100
|
+
}, pl = (s) => {
|
|
97
101
|
if (s) {
|
|
98
102
|
var r = document.getElementById(s), y = r.offsetWidth, I = r.scrollWidth;
|
|
99
103
|
I > y ? _.value = !1 : _.value = !0;
|
|
100
104
|
} else
|
|
101
105
|
_.value = !0;
|
|
102
|
-
},
|
|
106
|
+
}, fl = (s, r) => {
|
|
103
107
|
const y = r.find((I) => I.code === s);
|
|
104
108
|
return y ? y.name : s;
|
|
105
|
-
},
|
|
109
|
+
}, tl = (s) => {
|
|
106
110
|
var r;
|
|
107
111
|
(r = x.value) == null || r.resetFields(s);
|
|
108
|
-
},
|
|
112
|
+
}, Dl = (s) => {
|
|
109
113
|
var r;
|
|
110
114
|
(r = x.value) == null || r.clearValidate(s);
|
|
111
115
|
}, ll = Y(!1), dl = () => {
|
|
112
116
|
window.innerWidth < 768, ll.value = !1;
|
|
113
117
|
};
|
|
114
|
-
|
|
118
|
+
zl(() => {
|
|
115
119
|
var r;
|
|
116
120
|
U(), (r = x.value) == null || r.resetFields(), window.addEventListener("resize", dl), document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((y, I) => {
|
|
117
121
|
I % 2 !== 0 && (y.setAttribute("disabled", !0), y.setAttribute("color", "rgba(0, 0, 0, 0.88)"));
|
|
118
122
|
});
|
|
119
|
-
}),
|
|
123
|
+
}), Cl(() => {
|
|
120
124
|
window.removeEventListener("resize", dl);
|
|
121
|
-
}),
|
|
125
|
+
}), xl(
|
|
122
126
|
() => p.fieldList,
|
|
123
127
|
(s, r) => {
|
|
124
128
|
s !== r && U();
|
|
125
129
|
}
|
|
126
130
|
);
|
|
127
|
-
const
|
|
128
|
-
s === "" && (
|
|
129
|
-
},
|
|
131
|
+
const K = Y(0), el = Y(0), sl = Y(0), bl = (s) => {
|
|
132
|
+
s === "" && (K.value += 1);
|
|
133
|
+
}, Nl = (s, r, y, I) => {
|
|
130
134
|
const v = {};
|
|
131
135
|
if (s.date() === r.date() && s.year() === r.year() && s.month() === r.month())
|
|
132
136
|
return v.border = "1px solid #a26628", v.borderRadius = "4px", v;
|
|
133
|
-
|
|
134
|
-
},
|
|
135
|
-
e.model[r] = y.format("DD/MM/YYYY"),
|
|
136
|
-
},
|
|
137
|
-
|
|
138
|
-
},
|
|
137
|
+
u("openStatusNumber", y == null ? void 0 : y.range, I);
|
|
138
|
+
}, Tl = (s, r, y) => {
|
|
139
|
+
e.model[r] = y.format("DD/MM/YYYY"), K.value += 1, F(s, r), u("getDefaultToady", y, r);
|
|
140
|
+
}, Il = (s, r) => {
|
|
141
|
+
u("calendarChange", s, r);
|
|
142
|
+
}, hl = (s, r, y, I) => {
|
|
139
143
|
if (I)
|
|
140
144
|
return e.model[y] = I;
|
|
141
|
-
s || (
|
|
145
|
+
s || (K.value += 1), u("openChange", s, y, I);
|
|
142
146
|
};
|
|
143
147
|
el.value = 1;
|
|
144
|
-
const
|
|
148
|
+
const jl = (s, r, y, I) => {
|
|
145
149
|
s || (el.value += 1, rl(() => {
|
|
146
|
-
document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((R,
|
|
147
|
-
|
|
148
|
-
}), I !== void 0 && I[0] && I[1] && document.querySelectorAll(`.ant-picker-range.${y} .ant-picker-input input`).forEach((
|
|
149
|
-
|
|
150
|
+
document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((R, q) => {
|
|
151
|
+
q % 2 !== 0 && (R.setAttribute("disabled", !0), R.setAttribute("color", "rgba(0, 0, 0, 0.88)")), R.value && R.removeAttribute("disabled");
|
|
152
|
+
}), I !== void 0 && I[0] && I[1] && document.querySelectorAll(`.ant-picker-range.${y} .ant-picker-input input`).forEach((q, Al) => {
|
|
153
|
+
Al % 2 !== 0 && (q.removeAttribute("disabled"), q.setAttribute("color", "rgba(0, 0, 0, 0.88)"));
|
|
150
154
|
});
|
|
151
|
-
})),
|
|
152
|
-
},
|
|
153
|
-
s || (sl.value += 1),
|
|
155
|
+
})), u("openDatePickerDaterange", s, r, y, I);
|
|
156
|
+
}, Ol = (s) => {
|
|
157
|
+
s || (sl.value += 1), u("openDatetimerange", s);
|
|
154
158
|
};
|
|
155
159
|
return {
|
|
156
|
-
...
|
|
160
|
+
...Ll(e),
|
|
157
161
|
formRef: x,
|
|
158
162
|
isShowTooltip: _,
|
|
159
163
|
states: e,
|
|
160
|
-
formOptions:
|
|
164
|
+
formOptions: Q,
|
|
161
165
|
onSubmit: S,
|
|
162
166
|
selectChange: V,
|
|
163
|
-
|
|
164
|
-
|
|
167
|
+
selectFocus: G,
|
|
168
|
+
filteroption: L,
|
|
169
|
+
radioChange: X,
|
|
170
|
+
checkChange: H,
|
|
165
171
|
handleCheckedChange: m,
|
|
166
172
|
prefixIcon: N,
|
|
167
173
|
IconDropDown: O,
|
|
168
|
-
IconClear:
|
|
169
|
-
handleClick:
|
|
170
|
-
handleKeyUp:
|
|
171
|
-
resetFieldsTest:
|
|
172
|
-
clearValidateTest:
|
|
173
|
-
dateChange:
|
|
174
|
-
calendarChange:
|
|
175
|
-
onOk:
|
|
176
|
-
inputBlur:
|
|
177
|
-
inputFocus:
|
|
178
|
-
inputChange:
|
|
179
|
-
inputInput:
|
|
174
|
+
IconClear: Z,
|
|
175
|
+
handleClick: $,
|
|
176
|
+
handleKeyUp: l,
|
|
177
|
+
resetFieldsTest: tl,
|
|
178
|
+
clearValidateTest: Dl,
|
|
179
|
+
dateChange: F,
|
|
180
|
+
calendarChange: Il,
|
|
181
|
+
onOk: o,
|
|
182
|
+
inputBlur: d,
|
|
183
|
+
inputFocus: A,
|
|
184
|
+
inputChange: P,
|
|
185
|
+
inputInput: gl,
|
|
180
186
|
noFormRule: C,
|
|
181
187
|
phoneWrap: ll,
|
|
182
|
-
pickerKey:
|
|
188
|
+
pickerKey: K,
|
|
183
189
|
pickerKeyDaterange: el,
|
|
184
190
|
datetimerange: sl,
|
|
185
|
-
openDatePicker:
|
|
186
|
-
openDatePickerDaterange:
|
|
187
|
-
openDatetimerange:
|
|
191
|
+
openDatePicker: bl,
|
|
192
|
+
openDatePickerDaterange: jl,
|
|
193
|
+
openDatetimerange: Ol,
|
|
188
194
|
// spaceRule,
|
|
189
|
-
handleVisibleChange:
|
|
195
|
+
handleVisibleChange: B,
|
|
190
196
|
handleScroll: E,
|
|
191
|
-
visibilityChange:
|
|
192
|
-
contentName:
|
|
193
|
-
openChange:
|
|
194
|
-
getCurrentStyle:
|
|
195
|
-
getDefaultToady:
|
|
197
|
+
visibilityChange: pl,
|
|
198
|
+
contentName: fl,
|
|
199
|
+
openChange: hl,
|
|
200
|
+
getCurrentStyle: Nl,
|
|
201
|
+
getDefaultToady: Tl
|
|
196
202
|
};
|
|
197
203
|
}
|
|
198
204
|
}, Ml = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTguMDYwNyAxNi4wNjA3TDE3IDE1TDEyIDIwTDE3IDI1TDE4LjA2MDcgMjMuOTM5M0wxNC4xMjEzIDIwTDE4LjA2MDcgMTYuMDYwN1oiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", il = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiI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zaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
199
|
-
const
|
|
205
|
+
const Bl = (p, u) => {
|
|
200
206
|
const C = p.__vccOpts || p;
|
|
201
|
-
for (const [e, _] of
|
|
207
|
+
for (const [e, _] of u)
|
|
202
208
|
C[e] = _;
|
|
203
209
|
return C;
|
|
204
|
-
}, z = (p) => (
|
|
210
|
+
}, z = (p) => (Rl("data-v-b04f76d8"), p = p(), Yl(), p), Zl = { class: "header-title" }, Ql = { class: "title-content" }, Gl = { class: "header-boldTitle" }, Pl = { class: "boldTitle-content" }, Hl = {
|
|
205
211
|
key: 0,
|
|
206
212
|
class: "custom-required"
|
|
207
|
-
},
|
|
213
|
+
}, Kl = {
|
|
208
214
|
key: 0,
|
|
209
215
|
class: "custom-required"
|
|
210
|
-
},
|
|
216
|
+
}, ql = ["src"], Jl = {
|
|
211
217
|
key: 0,
|
|
212
218
|
class: "custom-required"
|
|
213
|
-
},
|
|
219
|
+
}, Xl = { class: "lable" }, ml = { class: "lable_note" }, $l = {
|
|
214
220
|
key: 0,
|
|
215
221
|
class: "custom-required"
|
|
216
|
-
},
|
|
222
|
+
}, le = {
|
|
217
223
|
key: 0,
|
|
218
224
|
class: "custom-required"
|
|
219
|
-
},
|
|
225
|
+
}, ee = {
|
|
220
226
|
key: 0,
|
|
221
227
|
class: "custom-required"
|
|
222
|
-
},
|
|
228
|
+
}, oe = { class: "lable" }, ae = { class: "lable_note" }, ne = {
|
|
223
229
|
key: 0,
|
|
224
230
|
class: "custom-required"
|
|
225
|
-
},
|
|
231
|
+
}, de = {
|
|
226
232
|
key: 0,
|
|
227
233
|
class: "custom-required"
|
|
228
|
-
},
|
|
234
|
+
}, se = {
|
|
229
235
|
key: 0,
|
|
230
236
|
class: "custom-required"
|
|
231
|
-
},
|
|
237
|
+
}, re = ["onClick"], Me = /* @__PURE__ */ z(() => /* @__PURE__ */ D("img", {
|
|
232
238
|
src: Ml,
|
|
233
239
|
alt: ""
|
|
234
|
-
}, null, -1)),
|
|
240
|
+
}, null, -1)), ie = /* @__PURE__ */ z(() => /* @__PURE__ */ D("img", {
|
|
235
241
|
src: il,
|
|
236
242
|
alt: ""
|
|
237
|
-
}, null, -1)),
|
|
243
|
+
}, null, -1)), ye = /* @__PURE__ */ z(() => /* @__PURE__ */ D("img", {
|
|
238
244
|
src: yl,
|
|
239
245
|
alt: ""
|
|
240
|
-
}, null, -1)),
|
|
246
|
+
}, null, -1)), ce = /* @__PURE__ */ z(() => /* @__PURE__ */ D("img", {
|
|
241
247
|
src: cl,
|
|
242
248
|
alt: ""
|
|
243
|
-
}, null, -1)),
|
|
249
|
+
}, null, -1)), ue = {
|
|
244
250
|
key: 0,
|
|
245
251
|
class: "date_to"
|
|
246
|
-
},
|
|
252
|
+
}, ge = {
|
|
247
253
|
key: 0,
|
|
248
254
|
class: "custom-required"
|
|
249
|
-
},
|
|
255
|
+
}, pe = /* @__PURE__ */ z(() => /* @__PURE__ */ D("img", {
|
|
250
256
|
src: Ml,
|
|
251
257
|
alt: ""
|
|
252
|
-
}, null, -1)),
|
|
258
|
+
}, null, -1)), fe = /* @__PURE__ */ z(() => /* @__PURE__ */ D("img", {
|
|
253
259
|
src: il,
|
|
254
260
|
alt: ""
|
|
255
|
-
}, null, -1)),
|
|
261
|
+
}, null, -1)), te = /* @__PURE__ */ z(() => /* @__PURE__ */ D("img", {
|
|
256
262
|
src: yl,
|
|
257
263
|
alt: ""
|
|
258
|
-
}, null, -1)),
|
|
264
|
+
}, null, -1)), De = /* @__PURE__ */ z(() => /* @__PURE__ */ D("img", {
|
|
259
265
|
src: cl,
|
|
260
266
|
alt: ""
|
|
261
|
-
}, null, -1)),
|
|
267
|
+
}, null, -1)), be = {
|
|
262
268
|
key: 0,
|
|
263
269
|
class: "custom-required"
|
|
264
|
-
},
|
|
270
|
+
}, Ne = {
|
|
265
271
|
key: 0,
|
|
266
272
|
class: "custom-required"
|
|
267
|
-
},
|
|
273
|
+
}, Te = {
|
|
268
274
|
key: 0,
|
|
269
275
|
class: "custom-required"
|
|
270
|
-
},
|
|
276
|
+
}, Ie = {
|
|
271
277
|
key: 0,
|
|
272
278
|
class: "phone_item_content_before"
|
|
273
|
-
},
|
|
279
|
+
}, he = /* @__PURE__ */ z(() => /* @__PURE__ */ D("div", { class: "line_middle" }, "-", -1)), je = /* @__PURE__ */ z(() => /* @__PURE__ */ D("div", { class: "line_middle" }, "-", -1)), Oe = {
|
|
274
280
|
key: 1,
|
|
275
281
|
class: "line_middle"
|
|
276
|
-
},
|
|
282
|
+
}, Ae = {
|
|
277
283
|
key: 2,
|
|
278
284
|
class: "line_middle"
|
|
279
|
-
},
|
|
285
|
+
}, ke = /* @__PURE__ */ z(() => /* @__PURE__ */ D("div", {
|
|
280
286
|
class: "line",
|
|
281
287
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
282
|
-
}, null, -1)),
|
|
288
|
+
}, null, -1)), we = {
|
|
283
289
|
key: 0,
|
|
284
290
|
class: "custom-required"
|
|
285
|
-
},
|
|
291
|
+
}, ze = {
|
|
286
292
|
key: 0,
|
|
287
293
|
class: "custom-required"
|
|
288
294
|
};
|
|
289
|
-
function
|
|
290
|
-
const N = h("el-form-item"), O = h("el-input"), E = h("el-col"),
|
|
291
|
-
return a(), i(
|
|
295
|
+
function Ce(p, u, C, e, _, x) {
|
|
296
|
+
const N = h("el-form-item"), O = h("el-input"), E = h("el-col"), B = h("el-row"), Z = h("el-radio"), Q = h("el-radio-group"), U = h("el-checkbox"), S = h("el-checkbox-group"), V = h("el-option"), G = h("el-select"), L = h("el-tooltip"), X = h("a-date-picker"), H = h("a-range-picker"), m = h("sinosoftCommonButton"), $ = h("el-form");
|
|
297
|
+
return a(), i($, El({
|
|
292
298
|
"hide-required-asterisk": "",
|
|
293
|
-
onSubmit:
|
|
299
|
+
onSubmit: u[0] || (u[0] = _l(() => {
|
|
294
300
|
}, ["prevent"])),
|
|
295
301
|
model: C.model
|
|
296
302
|
}, e.formOptions, {
|
|
@@ -299,15 +305,15 @@ function we(p, g, C, e, _, x) {
|
|
|
299
305
|
"scroll-to-error": !0
|
|
300
306
|
}), {
|
|
301
307
|
default: n(() => [
|
|
302
|
-
f(
|
|
308
|
+
f(B, { gutter: 24 }, {
|
|
303
309
|
default: n(() => [
|
|
304
|
-
(a(!0), M(k, null, w(C.fieldList, (l,
|
|
310
|
+
(a(!0), M(k, null, w(C.fieldList, (l, F) => Sl((a(), i(E, {
|
|
305
311
|
xs: l.xs ? l.xs : 24,
|
|
306
312
|
sm: l.sm ? l.sm : 24,
|
|
307
313
|
md: l.md ? l.md : 8,
|
|
308
314
|
lg: l.lg ? l.lg : 8,
|
|
309
315
|
xl: l.xl ? l.xl : 8,
|
|
310
|
-
key:
|
|
316
|
+
key: F
|
|
311
317
|
}, {
|
|
312
318
|
default: n(() => [
|
|
313
319
|
D("div", {
|
|
@@ -315,15 +321,15 @@ function we(p, g, C, e, _, x) {
|
|
|
315
321
|
}, [
|
|
316
322
|
l.type === "title" ? (a(), i(N, { key: 0 }, {
|
|
317
323
|
default: n(() => [
|
|
318
|
-
D("div",
|
|
319
|
-
D("span",
|
|
324
|
+
D("div", Zl, [
|
|
325
|
+
D("span", Ql, c(l.title), 1)
|
|
320
326
|
])
|
|
321
327
|
]),
|
|
322
328
|
_: 2
|
|
323
329
|
}, 1024)) : l.type === "boldTitle" ? (a(), i(N, { key: 1 }, {
|
|
324
330
|
default: n(() => [
|
|
325
|
-
D("div",
|
|
326
|
-
D("span",
|
|
331
|
+
D("div", Gl, [
|
|
332
|
+
D("span", Pl, c(l.title), 1)
|
|
327
333
|
])
|
|
328
334
|
]),
|
|
329
335
|
_: 2
|
|
@@ -339,11 +345,11 @@ function we(p, g, C, e, _, x) {
|
|
|
339
345
|
style: t(l.labelStyle)
|
|
340
346
|
}, [
|
|
341
347
|
T(c(l.label) + " ", 1),
|
|
342
|
-
l.required ? (a(), M("span",
|
|
348
|
+
l.required ? (a(), M("span", Hl, "*")) : g("", !0)
|
|
343
349
|
], 4))
|
|
344
350
|
]),
|
|
345
351
|
default: n(() => [
|
|
346
|
-
f(
|
|
352
|
+
f(B, { gutter: 20 }, {
|
|
347
353
|
default: n(() => [
|
|
348
354
|
f(E, {
|
|
349
355
|
xs: 24,
|
|
@@ -375,11 +381,11 @@ function we(p, g, C, e, _, x) {
|
|
|
375
381
|
type: l.type ? l.type : "text",
|
|
376
382
|
placeholder: l.placeholderNameEnFamily,
|
|
377
383
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
|
|
378
|
-
onKeyup:
|
|
384
|
+
onKeyup: W((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
379
385
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
380
386
|
]),
|
|
381
387
|
_: 2
|
|
382
|
-
}, 1032, ["rules", "prop"])) :
|
|
388
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
383
389
|
]),
|
|
384
390
|
_: 2
|
|
385
391
|
}, 1024),
|
|
@@ -413,18 +419,18 @@ function we(p, g, C, e, _, x) {
|
|
|
413
419
|
type: l.type ? l.type : "text",
|
|
414
420
|
placeholder: l.placeholderNameEn,
|
|
415
421
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
|
|
416
|
-
onKeyup:
|
|
422
|
+
onKeyup: W((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
417
423
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
418
424
|
]),
|
|
419
425
|
_: 2
|
|
420
|
-
}, 1032, ["rules", "prop"])) :
|
|
426
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
421
427
|
]),
|
|
422
428
|
_: 2
|
|
423
429
|
}, 1024)
|
|
424
430
|
]),
|
|
425
431
|
_: 2
|
|
426
432
|
}, 1024),
|
|
427
|
-
f(
|
|
433
|
+
f(B, { gutter: 20 }, {
|
|
428
434
|
default: n(() => [
|
|
429
435
|
f(E, {
|
|
430
436
|
xs: 24,
|
|
@@ -459,11 +465,11 @@ function we(p, g, C, e, _, x) {
|
|
|
459
465
|
type: l.type ? l.type : "text",
|
|
460
466
|
placeholder: l.placeholderNameChFamily,
|
|
461
467
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
|
|
462
|
-
onKeyup:
|
|
468
|
+
onKeyup: W((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
463
469
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
464
470
|
]),
|
|
465
471
|
_: 2
|
|
466
|
-
}, 1032, ["rules", "prop"])) :
|
|
472
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
467
473
|
]),
|
|
468
474
|
_: 2
|
|
469
475
|
}, 1024),
|
|
@@ -497,11 +503,11 @@ function we(p, g, C, e, _, x) {
|
|
|
497
503
|
type: l.type ? l.type : "text",
|
|
498
504
|
placeholder: l.placeholderNameCh,
|
|
499
505
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
|
|
500
|
-
onKeyup:
|
|
506
|
+
onKeyup: W((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
501
507
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
502
508
|
]),
|
|
503
509
|
_: 2
|
|
504
|
-
}, 1032, ["rules", "prop"])) :
|
|
510
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
505
511
|
]),
|
|
506
512
|
_: 2
|
|
507
513
|
}, 1024)
|
|
@@ -523,11 +529,11 @@ function we(p, g, C, e, _, x) {
|
|
|
523
529
|
style: t(l.labelStyle)
|
|
524
530
|
}, [
|
|
525
531
|
T(c(l.label) + " ", 1),
|
|
526
|
-
l.required ? (a(), M("span",
|
|
532
|
+
l.required ? (a(), M("span", Kl, "*")) : g("", !0)
|
|
527
533
|
], 4))
|
|
528
534
|
]),
|
|
529
535
|
default: n(() => [
|
|
530
|
-
f(
|
|
536
|
+
f(Q, {
|
|
531
537
|
modelValue: e.states.model[l.field],
|
|
532
538
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
533
539
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -536,7 +542,7 @@ function we(p, g, C, e, _, x) {
|
|
|
536
542
|
default: n(() => {
|
|
537
543
|
var o;
|
|
538
544
|
return [
|
|
539
|
-
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(
|
|
545
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(Z, {
|
|
540
546
|
label: d.code,
|
|
541
547
|
size: "large",
|
|
542
548
|
key: d.code
|
|
@@ -546,7 +552,7 @@ function we(p, g, C, e, _, x) {
|
|
|
546
552
|
src: d.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
547
553
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
548
554
|
alt: ""
|
|
549
|
-
}, null, 8,
|
|
555
|
+
}, null, 8, ql)
|
|
550
556
|
]),
|
|
551
557
|
_: 2
|
|
552
558
|
}, 1032, ["label"]))), 128))
|
|
@@ -569,11 +575,11 @@ function we(p, g, C, e, _, x) {
|
|
|
569
575
|
style: t(l.labelStyle)
|
|
570
576
|
}, [
|
|
571
577
|
T(c(l.label) + " ", 1),
|
|
572
|
-
l.required ? (a(), M("span",
|
|
578
|
+
l.required ? (a(), M("span", Jl, "*")) : g("", !0)
|
|
573
579
|
], 4))
|
|
574
580
|
]),
|
|
575
581
|
default: n(() => [
|
|
576
|
-
f(
|
|
582
|
+
f(Q, {
|
|
577
583
|
modelValue: e.states.model[l.field],
|
|
578
584
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
579
585
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -586,7 +592,7 @@ function we(p, g, C, e, _, x) {
|
|
|
586
592
|
default: n(() => {
|
|
587
593
|
var o;
|
|
588
594
|
return [
|
|
589
|
-
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(
|
|
595
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(Z, {
|
|
590
596
|
size: "large",
|
|
591
597
|
label: d.code,
|
|
592
598
|
key: d.code,
|
|
@@ -612,11 +618,11 @@ function we(p, g, C, e, _, x) {
|
|
|
612
618
|
}, {
|
|
613
619
|
default: n(() => [
|
|
614
620
|
D("div", null, [
|
|
615
|
-
D("span",
|
|
616
|
-
D("span",
|
|
617
|
-
l.required ? (a(), M("span",
|
|
621
|
+
D("span", Xl, c(l.labelBefore), 1),
|
|
622
|
+
D("span", ml, c(l.labelNode), 1),
|
|
623
|
+
l.required ? (a(), M("span", $l, "*")) : g("", !0)
|
|
618
624
|
]),
|
|
619
|
-
f(
|
|
625
|
+
f(Q, {
|
|
620
626
|
modelValue: e.states.model[l.field],
|
|
621
627
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
622
628
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -629,7 +635,7 @@ function we(p, g, C, e, _, x) {
|
|
|
629
635
|
default: n(() => {
|
|
630
636
|
var o;
|
|
631
637
|
return [
|
|
632
|
-
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(
|
|
638
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(Z, {
|
|
633
639
|
size: "large",
|
|
634
640
|
label: d.code,
|
|
635
641
|
key: d.code
|
|
@@ -657,7 +663,7 @@ function we(p, g, C, e, _, x) {
|
|
|
657
663
|
style: t(l.labelStyle)
|
|
658
664
|
}, [
|
|
659
665
|
T(c(l.label) + " ", 1),
|
|
660
|
-
l.required ? (a(), M("span",
|
|
666
|
+
l.required ? (a(), M("span", le, "*")) : g("", !0)
|
|
661
667
|
], 4))
|
|
662
668
|
]),
|
|
663
669
|
default: n(() => [
|
|
@@ -701,7 +707,7 @@ function we(p, g, C, e, _, x) {
|
|
|
701
707
|
style: t(l.labelStyle)
|
|
702
708
|
}, [
|
|
703
709
|
T(c(l.label) + " ", 1),
|
|
704
|
-
l.required ? (a(), M("span",
|
|
710
|
+
l.required ? (a(), M("span", ee, "*")) : g("", !0)
|
|
705
711
|
], 4))
|
|
706
712
|
]),
|
|
707
713
|
default: n(() => [
|
|
@@ -742,9 +748,9 @@ function we(p, g, C, e, _, x) {
|
|
|
742
748
|
}, {
|
|
743
749
|
default: n(() => [
|
|
744
750
|
D("div", null, [
|
|
745
|
-
D("span",
|
|
746
|
-
D("span",
|
|
747
|
-
l.required ? (a(), M("span",
|
|
751
|
+
D("span", oe, c(l.labelBefore), 1),
|
|
752
|
+
D("span", ae, c(l.labelNode), 1),
|
|
753
|
+
l.required ? (a(), M("span", ne, "*")) : g("", !0)
|
|
748
754
|
]),
|
|
749
755
|
f(S, {
|
|
750
756
|
modelValue: e.states.model[l.field],
|
|
@@ -787,7 +793,7 @@ function we(p, g, C, e, _, x) {
|
|
|
787
793
|
style: t(l.labelStyle)
|
|
788
794
|
}, [
|
|
789
795
|
T(c(l.label) + " ", 1),
|
|
790
|
-
l.required ? (a(), M("span",
|
|
796
|
+
l.required ? (a(), M("span", de, "*")) : g("", !0)
|
|
791
797
|
], 4))
|
|
792
798
|
]),
|
|
793
799
|
default: n(() => {
|
|
@@ -801,7 +807,7 @@ function we(p, g, C, e, _, x) {
|
|
|
801
807
|
disabled: e.isShowTooltip
|
|
802
808
|
}, {
|
|
803
809
|
default: n(() => [
|
|
804
|
-
f(
|
|
810
|
+
f(G, {
|
|
805
811
|
class: b(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
806
812
|
id: l.field,
|
|
807
813
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
@@ -810,6 +816,8 @@ function we(p, g, C, e, _, x) {
|
|
|
810
816
|
modelValue: e.states.model[l.field],
|
|
811
817
|
"onUpdate:modelValue": (d) => e.states.model[l.field] = d,
|
|
812
818
|
onChange: (d) => e.selectChange(d, l.field),
|
|
819
|
+
onFocus: (d) => e.selectFocus(d, l.field),
|
|
820
|
+
"filter-method": e.filteroption,
|
|
813
821
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
814
822
|
placeholder: l.placeholder,
|
|
815
823
|
clearable: l.clearable,
|
|
@@ -837,11 +845,11 @@ function we(p, g, C, e, _, x) {
|
|
|
837
845
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
838
846
|
class: "select-loading",
|
|
839
847
|
disabled: ""
|
|
840
|
-
}, null, 8, ["label"])) :
|
|
848
|
+
}, null, 8, ["label"])) : g("", !0)
|
|
841
849
|
];
|
|
842
850
|
}),
|
|
843
851
|
_: 2
|
|
844
|
-
}, 1032, ["id", "onMouseenter", "popper-class", "modelValue", "onUpdate:modelValue", "onChange", "disabled", "placeholder", "class", "clearable", "suffix-icon", "clear-icon", "filterable", "allow-create", "multiple", "multiple-limit", "onVisibleChange"])
|
|
852
|
+
}, 1032, ["id", "onMouseenter", "popper-class", "modelValue", "onUpdate:modelValue", "onChange", "onFocus", "filter-method", "disabled", "placeholder", "class", "clearable", "suffix-icon", "clear-icon", "filterable", "allow-create", "multiple", "multiple-limit", "onVisibleChange"])
|
|
845
853
|
]),
|
|
846
854
|
_: 2
|
|
847
855
|
}, 1032, ["content", "disabled"]),
|
|
@@ -865,15 +873,15 @@ function we(p, g, C, e, _, x) {
|
|
|
865
873
|
style: t(l.labelStyle)
|
|
866
874
|
}, [
|
|
867
875
|
T(c(l.label) + " ", 1),
|
|
868
|
-
l.required ? (a(), M("span",
|
|
876
|
+
l.required ? (a(), M("span", se, "*")) : g("", !0)
|
|
869
877
|
], 4))
|
|
870
878
|
]),
|
|
871
879
|
default: n(() => [
|
|
872
|
-
(a(), i(
|
|
880
|
+
(a(), i(X, {
|
|
873
881
|
size: "large",
|
|
874
882
|
allowClear: !!l.allowClear,
|
|
875
|
-
format: "DD/MM/YYYY",
|
|
876
|
-
defaultPickerValue: l == null ? void 0 : l.defaultToady,
|
|
883
|
+
format: l.format || "DD/MM/YYYY",
|
|
884
|
+
defaultPickerValue: e.states.model[l.field] || (l == null ? void 0 : l.defaultToady),
|
|
877
885
|
valueFormat: (l == null ? void 0 : l.valueFormat) || "DD/MM/YYYY",
|
|
878
886
|
value: e.states.model[l.field],
|
|
879
887
|
"onUpdate:value": (o) => e.states.model[l.field] = o,
|
|
@@ -902,18 +910,18 @@ function we(p, g, C, e, _, x) {
|
|
|
902
910
|
),
|
|
903
911
|
onBlur: (o) => e.openDatePicker(e.states.model[l.field]),
|
|
904
912
|
onOpenChange: (o) => e.openChange(o, l == null ? void 0 : l.defaultToady, l.field, e.states.model[l.field])
|
|
905
|
-
},
|
|
913
|
+
}, J({
|
|
906
914
|
superPrevIcon: n(() => [
|
|
907
|
-
|
|
915
|
+
Me
|
|
908
916
|
]),
|
|
909
917
|
prevIcon: n(() => [
|
|
910
|
-
|
|
918
|
+
ie
|
|
911
919
|
]),
|
|
912
920
|
nextIcon: n(() => [
|
|
913
|
-
|
|
921
|
+
ye
|
|
914
922
|
]),
|
|
915
923
|
superNextIcon: n(() => [
|
|
916
|
-
|
|
924
|
+
ce
|
|
917
925
|
]),
|
|
918
926
|
_: 2
|
|
919
927
|
}, [
|
|
@@ -933,8 +941,8 @@ function we(p, g, C, e, _, x) {
|
|
|
933
941
|
l != null && l.disabledDateToday ? (a(), M("span", {
|
|
934
942
|
key: 0,
|
|
935
943
|
class: b([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"])
|
|
936
|
-
}, c((l == null ? void 0 : l.todayLanguage) || "Today"), 3)) :
|
|
937
|
-
l != null && l.disabledDateToday ?
|
|
944
|
+
}, c((l == null ? void 0 : l.todayLanguage) || "Today"), 3)) : g("", !0),
|
|
945
|
+
l != null && l.disabledDateToday ? g("", !0) : (a(), M("span", {
|
|
938
946
|
key: 1,
|
|
939
947
|
class: b([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
940
948
|
onClick: (o) => e.getDefaultToady(
|
|
@@ -942,12 +950,12 @@ function we(p, g, C, e, _, x) {
|
|
|
942
950
|
typeof l.field == "string" ? l.field : "",
|
|
943
951
|
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date()
|
|
944
952
|
)
|
|
945
|
-
}, c((l == null ? void 0 : l.todayLanguage) || "Today"), 11,
|
|
953
|
+
}, c((l == null ? void 0 : l.todayLanguage) || "Today"), 11, re))
|
|
946
954
|
]),
|
|
947
955
|
key: "1"
|
|
948
956
|
} : void 0
|
|
949
|
-
]), 1032, ["allowClear", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onOk", "onBlur", "onOpenChange"])),
|
|
950
|
-
l.showTo ? (a(), M("span",
|
|
957
|
+
]), 1032, ["allowClear", "format", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onOk", "onBlur", "onOpenChange"])),
|
|
958
|
+
l.showTo ? (a(), M("span", ue, c(l.showTo), 1)) : g("", !0)
|
|
951
959
|
]),
|
|
952
960
|
_: 2
|
|
953
961
|
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(N, {
|
|
@@ -962,7 +970,7 @@ function we(p, g, C, e, _, x) {
|
|
|
962
970
|
style: t(l.labelStyle)
|
|
963
971
|
}, [
|
|
964
972
|
T(c(l.label) + " ", 1),
|
|
965
|
-
l.required ? (a(), M("span",
|
|
973
|
+
l.required ? (a(), M("span", ge, "*")) : g("", !0)
|
|
966
974
|
], 4))
|
|
967
975
|
]),
|
|
968
976
|
default: n(() => [
|
|
@@ -1001,18 +1009,18 @@ function we(p, g, C, e, _, x) {
|
|
|
1001
1009
|
typeof l.field == "string" ? l.field : ""
|
|
1002
1010
|
),
|
|
1003
1011
|
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultToady, l.field, e.states.model[l.field])
|
|
1004
|
-
},
|
|
1012
|
+
}, J({
|
|
1005
1013
|
superPrevIcon: n(() => [
|
|
1006
|
-
|
|
1014
|
+
pe
|
|
1007
1015
|
]),
|
|
1008
1016
|
prevIcon: n(() => [
|
|
1009
|
-
|
|
1017
|
+
fe
|
|
1010
1018
|
]),
|
|
1011
1019
|
nextIcon: n(() => [
|
|
1012
|
-
|
|
1020
|
+
te
|
|
1013
1021
|
]),
|
|
1014
1022
|
superNextIcon: n(() => [
|
|
1015
|
-
|
|
1023
|
+
De
|
|
1016
1024
|
]),
|
|
1017
1025
|
_: 2
|
|
1018
1026
|
}, [
|
|
@@ -1041,7 +1049,7 @@ function we(p, g, C, e, _, x) {
|
|
|
1041
1049
|
style: t(l.labelStyle)
|
|
1042
1050
|
}, [
|
|
1043
1051
|
T(c(l.label) + " ", 1),
|
|
1044
|
-
l.required ? (a(), M("span",
|
|
1052
|
+
l.required ? (a(), M("span", be, "*")) : g("", !0)
|
|
1045
1053
|
], 4))
|
|
1046
1054
|
]),
|
|
1047
1055
|
default: n(() => [
|
|
@@ -1095,7 +1103,7 @@ function we(p, g, C, e, _, x) {
|
|
|
1095
1103
|
style: t(l.labelStyle)
|
|
1096
1104
|
}, [
|
|
1097
1105
|
T(c(l.label) + " ", 1),
|
|
1098
|
-
l.required ? (a(), M("span",
|
|
1106
|
+
l.required ? (a(), M("span", Ne, "*")) : g("", !0)
|
|
1099
1107
|
], 4))
|
|
1100
1108
|
]),
|
|
1101
1109
|
default: n(() => [
|
|
@@ -1115,14 +1123,14 @@ function we(p, g, C, e, _, x) {
|
|
|
1115
1123
|
style: t(l.labelStyle)
|
|
1116
1124
|
}, [
|
|
1117
1125
|
T(c(l.label) + " ", 1),
|
|
1118
|
-
l.required ? (a(), M("span",
|
|
1126
|
+
l.required ? (a(), M("span", Te, "*")) : g("", !0)
|
|
1119
1127
|
], 4))
|
|
1120
1128
|
]),
|
|
1121
1129
|
default: n(() => [
|
|
1122
1130
|
D("div", {
|
|
1123
1131
|
class: b(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1124
1132
|
}, [
|
|
1125
|
-
e.phoneWrap ? (a(), M("div",
|
|
1133
|
+
e.phoneWrap ? (a(), M("div", Ie, [
|
|
1126
1134
|
f(L, {
|
|
1127
1135
|
"popper-class": "input-tooltip",
|
|
1128
1136
|
effect: "light",
|
|
@@ -1133,7 +1141,7 @@ function we(p, g, C, e, _, x) {
|
|
|
1133
1141
|
default: n(() => {
|
|
1134
1142
|
var o;
|
|
1135
1143
|
return [
|
|
1136
|
-
l.field.nationCode ? (a(), i(
|
|
1144
|
+
l.field.nationCode ? (a(), i(G, {
|
|
1137
1145
|
key: 0,
|
|
1138
1146
|
class: b(["tooltip-select", (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]),
|
|
1139
1147
|
id: l.field.nationCode,
|
|
@@ -1160,12 +1168,12 @@ function we(p, g, C, e, _, x) {
|
|
|
1160
1168
|
];
|
|
1161
1169
|
}),
|
|
1162
1170
|
_: 2
|
|
1163
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1171
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : g("", !0)
|
|
1164
1172
|
];
|
|
1165
1173
|
}),
|
|
1166
1174
|
_: 2
|
|
1167
1175
|
}, 1032, ["content", "disabled"]),
|
|
1168
|
-
|
|
1176
|
+
he,
|
|
1169
1177
|
f(L, {
|
|
1170
1178
|
"popper-class": "input-tooltip",
|
|
1171
1179
|
effect: "light",
|
|
@@ -1204,13 +1212,13 @@ function we(p, g, C, e, _, x) {
|
|
|
1204
1212
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1205
1213
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1206
1214
|
clearable: l.clearable
|
|
1207
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) :
|
|
1215
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : g("", !0)
|
|
1208
1216
|
];
|
|
1209
1217
|
}),
|
|
1210
1218
|
_: 2
|
|
1211
1219
|
}, 1032, ["content", "disabled"]),
|
|
1212
|
-
|
|
1213
|
-
])) :
|
|
1220
|
+
je
|
|
1221
|
+
])) : g("", !0),
|
|
1214
1222
|
f(L, {
|
|
1215
1223
|
"popper-class": "input-tooltip",
|
|
1216
1224
|
effect: "light",
|
|
@@ -1221,7 +1229,7 @@ function we(p, g, C, e, _, x) {
|
|
|
1221
1229
|
default: n(() => {
|
|
1222
1230
|
var o;
|
|
1223
1231
|
return [
|
|
1224
|
-
l.field.nationCode && !e.phoneWrap ? (a(), i(
|
|
1232
|
+
l.field.nationCode && !e.phoneWrap ? (a(), i(G, {
|
|
1225
1233
|
key: 0,
|
|
1226
1234
|
class: b([
|
|
1227
1235
|
"tooltip-select",
|
|
@@ -1251,12 +1259,12 @@ function we(p, g, C, e, _, x) {
|
|
|
1251
1259
|
];
|
|
1252
1260
|
}),
|
|
1253
1261
|
_: 2
|
|
1254
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1262
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : g("", !0)
|
|
1255
1263
|
];
|
|
1256
1264
|
}),
|
|
1257
1265
|
_: 2
|
|
1258
1266
|
}, 1032, ["content", "disabled"]),
|
|
1259
|
-
e.phoneWrap ?
|
|
1267
|
+
e.phoneWrap ? g("", !0) : (a(), M("div", Oe, " - ")),
|
|
1260
1268
|
f(L, {
|
|
1261
1269
|
"popper-class": "input-tooltip",
|
|
1262
1270
|
effect: "light",
|
|
@@ -1299,12 +1307,12 @@ function we(p, g, C, e, _, x) {
|
|
|
1299
1307
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1300
1308
|
style: t("width:" + l.widthArea),
|
|
1301
1309
|
clearable: l.clearable
|
|
1302
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1310
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1303
1311
|
];
|
|
1304
1312
|
}),
|
|
1305
1313
|
_: 2
|
|
1306
1314
|
}, 1032, ["content", "disabled"]),
|
|
1307
|
-
e.phoneWrap ?
|
|
1315
|
+
e.phoneWrap ? g("", !0) : (a(), M("div", Ae, " - ")),
|
|
1308
1316
|
f(L, {
|
|
1309
1317
|
"popper-class": "input-tooltip",
|
|
1310
1318
|
effect: "light",
|
|
@@ -1344,7 +1352,7 @@ function we(p, g, C, e, _, x) {
|
|
|
1344
1352
|
placeholder: l.placeholder || "",
|
|
1345
1353
|
style: t("width:" + l.widthPhoneNumber),
|
|
1346
1354
|
clearable: l.clearable
|
|
1347
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1355
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1348
1356
|
]),
|
|
1349
1357
|
_: 2
|
|
1350
1358
|
}, 1032, ["content", "disabled"])
|
|
@@ -1356,7 +1364,7 @@ function we(p, g, C, e, _, x) {
|
|
|
1356
1364
|
label: l.label
|
|
1357
1365
|
}, {
|
|
1358
1366
|
default: n(() => [
|
|
1359
|
-
|
|
1367
|
+
ke
|
|
1360
1368
|
]),
|
|
1361
1369
|
_: 2
|
|
1362
1370
|
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), i(N, {
|
|
@@ -1371,7 +1379,7 @@ function we(p, g, C, e, _, x) {
|
|
|
1371
1379
|
style: t(l.labelStyle)
|
|
1372
1380
|
}, [
|
|
1373
1381
|
T(c(l.label) + " ", 1),
|
|
1374
|
-
l.required ? (a(), M("span",
|
|
1382
|
+
l.required ? (a(), M("span", we, "*")) : g("", !0)
|
|
1375
1383
|
], 4))
|
|
1376
1384
|
]),
|
|
1377
1385
|
default: n(() => [
|
|
@@ -1407,8 +1415,8 @@ function we(p, g, C, e, _, x) {
|
|
|
1407
1415
|
class: b(
|
|
1408
1416
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1409
1417
|
),
|
|
1410
|
-
onKeyup:
|
|
1411
|
-
},
|
|
1418
|
+
onKeyup: W((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1419
|
+
}, J({ _: 2 }, [
|
|
1412
1420
|
l.prepend ? {
|
|
1413
1421
|
name: "prepend",
|
|
1414
1422
|
fn: n(() => [
|
|
@@ -1438,7 +1446,7 @@ function we(p, g, C, e, _, x) {
|
|
|
1438
1446
|
style: t(l.labelStyle)
|
|
1439
1447
|
}, [
|
|
1440
1448
|
T(c(l.label) + " ", 1),
|
|
1441
|
-
l.required ? (a(), M("span",
|
|
1449
|
+
l.required ? (a(), M("span", ze, "*")) : g("", !0)
|
|
1442
1450
|
], 4))
|
|
1443
1451
|
]),
|
|
1444
1452
|
default: n(() => [
|
|
@@ -1469,8 +1477,8 @@ function we(p, g, C, e, _, x) {
|
|
|
1469
1477
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1470
1478
|
showPassword: l.showPassword,
|
|
1471
1479
|
clearable: l.clearable,
|
|
1472
|
-
onKeyup:
|
|
1473
|
-
},
|
|
1480
|
+
onKeyup: W((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1481
|
+
}, J({ _: 2 }, [
|
|
1474
1482
|
l.prepend ? {
|
|
1475
1483
|
name: "prepend",
|
|
1476
1484
|
fn: n(() => [
|
|
@@ -1496,7 +1504,7 @@ function we(p, g, C, e, _, x) {
|
|
|
1496
1504
|
]),
|
|
1497
1505
|
_: 2
|
|
1498
1506
|
}, 1032, ["xs", "sm", "md", "lg", "xl"])), [
|
|
1499
|
-
[
|
|
1507
|
+
[vl, !l.isHide]
|
|
1500
1508
|
])), 128))
|
|
1501
1509
|
]),
|
|
1502
1510
|
_: 3
|
|
@@ -1507,8 +1515,8 @@ function we(p, g, C, e, _, x) {
|
|
|
1507
1515
|
model: C.model,
|
|
1508
1516
|
onBtnClick: e.onSubmit
|
|
1509
1517
|
}, () => [
|
|
1510
|
-
(a(!0), M(k, null, w(e.formOptions.btnConfig, (l,
|
|
1511
|
-
l.isShow ? (a(), i(
|
|
1518
|
+
(a(!0), M(k, null, w(e.formOptions.btnConfig, (l, F) => (a(), M("div", { key: F }, [
|
|
1519
|
+
l.isShow ? (a(), i(m, {
|
|
1512
1520
|
key: 0,
|
|
1513
1521
|
btnCode: l.btnCode,
|
|
1514
1522
|
plain: l.plain,
|
|
@@ -1539,7 +1547,7 @@ function we(p, g, C, e, _, x) {
|
|
|
1539
1547
|
T(c(l.name), 1)
|
|
1540
1548
|
]),
|
|
1541
1549
|
_: 2
|
|
1542
|
-
}, 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"])) :
|
|
1550
|
+
}, 1032, ["btnCode", "plain", "primary", "info", "text", "debounced", "link", "loading", "loadingColor", "width", "height", "circle", "color", "bgColor", "borderColor", "borderStyle", "borderWidth", "icon", "size", "fontSize", "fontWeight", "style", "class", "onHandleClick"])) : g("", !0)
|
|
1543
1551
|
]))), 128))
|
|
1544
1552
|
], !0)
|
|
1545
1553
|
]),
|
|
@@ -1549,8 +1557,8 @@ function we(p, g, C, e, _, x) {
|
|
|
1549
1557
|
_: 3
|
|
1550
1558
|
}, 16, ["model", "label-position"]);
|
|
1551
1559
|
}
|
|
1552
|
-
const ul = /* @__PURE__ */
|
|
1553
|
-
function nl(p,
|
|
1560
|
+
const ul = /* @__PURE__ */ Bl(Wl, [["render", Ce], ["__scopeId", "data-v-b04f76d8"]]);
|
|
1561
|
+
function nl(p, u = {}) {
|
|
1554
1562
|
nl.installed || (nl.installed = !0, p.component("common-el-form", ul));
|
|
1555
1563
|
}
|
|
1556
1564
|
ul.install = nl;
|