sinosoft-common-form 2.7.2 → 2.7.3
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 +246 -243
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as R, reactive as Ll, shallowRef as
|
|
1
|
+
import { ref as R, reactive as Ll, shallowRef as al, h as nl, computed as El, onMounted as _l, onBeforeUnmount as vl, watch as Sl, toRefs as Rl, nextTick as yl, resolveComponent as A, openBlock as n, createBlock as c, mergeProps as Yl, withModifiers as Vl, withCtx as d, createVNode as g, createElementBlock as M, Fragment as x, renderList as L, withDirectives as Ul, createElementVNode as b, normalizeStyle as h, toDisplayString as t, createTextVNode as T, createCommentVNode as u, renderSlot as O, normalizeClass as N, withKeys as F, createSlots as K, vShow as Fl, pushScopeId as Wl, popScopeId as Bl } from "vue";
|
|
2
2
|
const Zl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNC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NkM2LjU1NjcxIDEzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Gl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -21,193 +21,196 @@ const Zl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
24
|
+
setup(f, { emit: p }) {
|
|
25
25
|
const _ = R(!0), e = Ll({
|
|
26
26
|
model: {},
|
|
27
27
|
rareMaxlength: null
|
|
28
28
|
});
|
|
29
|
-
console.log("model",
|
|
30
|
-
const
|
|
29
|
+
console.log("model", f.model);
|
|
30
|
+
const Y = R(!0), v = R(null), I = al({
|
|
31
31
|
render() {
|
|
32
|
-
return
|
|
32
|
+
return nl("img", {
|
|
33
33
|
src: Zl
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
}), C =
|
|
36
|
+
}), C = al({
|
|
37
37
|
render() {
|
|
38
|
-
return
|
|
38
|
+
return nl("img", {
|
|
39
39
|
src: Pl
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}), k = (s) => {
|
|
43
43
|
const a = s.target;
|
|
44
|
-
a.scrollTop + a.clientHeight + 1 >= a.scrollHeight &&
|
|
45
|
-
},
|
|
44
|
+
a.scrollTop + a.clientHeight + 1 >= a.scrollHeight && p("selectChangeScroll");
|
|
45
|
+
}, V = (s, a) => {
|
|
46
46
|
if (s) {
|
|
47
47
|
const i = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
48
|
-
i && i.addEventListener("scroll", k),
|
|
48
|
+
i && i.addEventListener("scroll", k), p("handleVisibleChange", s, a);
|
|
49
49
|
}
|
|
50
|
-
}, Z =
|
|
50
|
+
}, Z = al({
|
|
51
51
|
render() {
|
|
52
|
-
return
|
|
52
|
+
return nl("img", {
|
|
53
53
|
src: Ql
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
}), P = El(() => Object.assign([],
|
|
57
|
-
e.model =
|
|
58
|
-
},
|
|
59
|
-
var
|
|
60
|
-
a ? (_.value = !1,
|
|
61
|
-
var
|
|
62
|
-
(
|
|
56
|
+
}), P = El(() => Object.assign([], f.options)), W = () => {
|
|
57
|
+
e.model = f.model;
|
|
58
|
+
}, U = (s, a, i) => {
|
|
59
|
+
var y;
|
|
60
|
+
a ? (_.value = !1, yl(() => {
|
|
61
|
+
var D;
|
|
62
|
+
(D = v.value) == null || D.validate((j) => {
|
|
63
63
|
if (j)
|
|
64
|
-
|
|
64
|
+
p(i || "submit", e.model, s);
|
|
65
65
|
else
|
|
66
66
|
return !1;
|
|
67
67
|
});
|
|
68
|
-
})) : a ? (i === "reset" && ((
|
|
68
|
+
})) : a ? (i === "reset" && ((y = v.value) == null || y.resetFields()), p(i || "submit", e.model, s)) : (_.value = !1, p(i || "submit", e.model, s, v.value));
|
|
69
69
|
}, Q = (s, a) => {
|
|
70
|
-
|
|
70
|
+
p("selectChange", s, a);
|
|
71
71
|
}, B = (s, a) => {
|
|
72
|
-
|
|
72
|
+
p("selectFocus", s, a);
|
|
73
73
|
}, G = (s, a) => {
|
|
74
|
-
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
},
|
|
74
|
+
p("radioChange", s, a);
|
|
75
|
+
}, m = (s, a) => {
|
|
76
|
+
p("checkChange", s, a);
|
|
77
|
+
}, J = (s, a) => {
|
|
78
78
|
const i = e.model[a].length;
|
|
79
79
|
if (i === 1) {
|
|
80
|
-
|
|
80
|
+
p("checkChange", s, a);
|
|
81
81
|
return;
|
|
82
82
|
} else
|
|
83
|
-
i > 1 ? (e.model[a].shift(),
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
s && (a == null ? void 0 : a.key) === "Enter" &&
|
|
83
|
+
i > 1 ? (e.model[a].shift(), p("checkChange", s, a)) : i < 1 && p("checkChange", s, a);
|
|
84
|
+
}, $ = (s, a, i) => {
|
|
85
|
+
U(s, a, i);
|
|
86
|
+
}, ll = (s, a) => {
|
|
87
|
+
s && (a == null ? void 0 : a.key) === "Enter" && U(void 0, !0, "submit");
|
|
88
88
|
}, l = (s, a, i) => {
|
|
89
|
-
var
|
|
90
|
-
(
|
|
89
|
+
var y;
|
|
90
|
+
(y = v.value) == null || y.validateField(a), p("dateChange", s, a);
|
|
91
91
|
}, H = (s, a) => {
|
|
92
|
-
|
|
92
|
+
p("onOk", s, a);
|
|
93
93
|
}, o = (s, a, i) => {
|
|
94
|
-
e.rareMaxlength = "",
|
|
94
|
+
e.rareMaxlength = "", p("inputBlur", s, a);
|
|
95
95
|
}, r = (s, a) => {
|
|
96
|
-
|
|
96
|
+
p("inputFocus", s, a);
|
|
97
97
|
}, z = (s, a, i) => {
|
|
98
|
-
i && (e.model[a] = e.model[a].toUpperCase()),
|
|
98
|
+
i && (e.model[a] = e.model[a].toUpperCase()), p("inputChange", s, a);
|
|
99
99
|
}, S = (s) => {
|
|
100
100
|
var a = 0, i = 0;
|
|
101
101
|
if (s) {
|
|
102
102
|
for (; a < s.length; ) {
|
|
103
|
-
var
|
|
104
|
-
|
|
103
|
+
var y = s.charCodeAt(a);
|
|
104
|
+
y >= 55296 && y <= 57343 ? (a += 2, i++) : a++;
|
|
105
105
|
}
|
|
106
106
|
return i;
|
|
107
107
|
}
|
|
108
108
|
return i;
|
|
109
109
|
}, fl = (s, a, i) => {
|
|
110
|
-
document.getElementById(a).addEventListener("input",
|
|
111
|
-
},
|
|
112
|
-
let
|
|
113
|
-
if (
|
|
114
|
-
let j = null, w = Array.from(
|
|
115
|
-
|
|
110
|
+
document.getElementById(a).addEventListener("input", bl(s, a, i));
|
|
111
|
+
}, bl = (s, a, i) => {
|
|
112
|
+
let y = document.getElementById(a), D = s.target.value;
|
|
113
|
+
if (D) {
|
|
114
|
+
let j = null, w = Array.from(D);
|
|
115
|
+
D !== "" && D !== void 0 && i && (j = S(D), e.rareMaxlength = i + j), e.rareMaxlength - D.length === 1 && e.rareMaxlength++, D.length > i && w.length !== i && (e.model[a] = w.slice(0, i).join(""), Ml.value += 1, w = Array.from(w.slice(0, i).join("")), j = S(D)), w.length < i && (e.rareMaxlength = i + j + (i - w.length) * 2), w.length === i && (e.rareMaxlength = i), (y == null ? void 0 : y.id) === a && y.setAttribute("maxlength", e.rareMaxlength), p("selectInput", s, a, i + j);
|
|
116
116
|
}
|
|
117
117
|
}, Dl = (s, a, i) => {
|
|
118
|
-
let
|
|
119
|
-
e.model[a] !== "" && e.model[a] !== void 0 && i && (
|
|
120
|
-
},
|
|
118
|
+
let y = null, D = Array.from(e.model[a]);
|
|
119
|
+
e.model[a] !== "" && e.model[a] !== void 0 && i && (y = S(e.model[a]), e.rareMaxlength = i + y), e.rareMaxlength - e.model[a].length === 1 && e.rareMaxlength++, e.model[a].length > i && D.length !== i && (e.model[a] = D.slice(0, i).join(""), D = Array.from(D.slice(0, i).join("")), y = S(e.model[a])), D.length < i && (e.rareMaxlength = i + y + (i - D.length) * 2), D.length === i && (e.rareMaxlength = i), p("inputInput", s, a, i + y);
|
|
120
|
+
}, hl = () => ({
|
|
121
121
|
innerWidth: window.innerWidth || document.documentElement.clientWidth,
|
|
122
122
|
innerHeight: window.innerHeight || document.documentElement.clientHeight,
|
|
123
123
|
outerWidth: window.outerWidth,
|
|
124
124
|
outerHeight: window.outerHeight
|
|
125
|
-
}),
|
|
125
|
+
}), sl = () => {
|
|
126
126
|
let s = 0;
|
|
127
|
-
const { outerWidth: a, innerWidth: i } =
|
|
127
|
+
const { outerWidth: a, innerWidth: i } = hl();
|
|
128
128
|
return window.devicePixelRatio !== void 0 ? s = window.devicePixelRatio : a !== void 0 && i !== void 0 && (s = a / i), s && (s = Math.round(s * 100)), s;
|
|
129
|
-
},
|
|
129
|
+
}, Nl = (s, a) => {
|
|
130
130
|
var i;
|
|
131
131
|
if (s) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
let y, D, j, w = sl();
|
|
133
|
+
if (a === "select" ? y = (i = document.querySelector("." + s)) == null ? void 0 : i.querySelector(".el-input__inner") : y = document.querySelector("#" + s), y) {
|
|
134
|
+
let q = y.getBoundingClientRect().width;
|
|
135
|
+
j = y.scrollWidth, q < 40 ? (D = q, Y.value = !(y != null && y.value)) : (D = w === 100 ? y.offsetWidth : Math.ceil(q), Y.value = j <= D), console.log("ChangeRatio()090901---domWidth----contentWidth-----", sl(), D, j);
|
|
136
|
+
} else
|
|
137
|
+
Y.value = !0;
|
|
135
138
|
}
|
|
136
|
-
},
|
|
137
|
-
const i = a.find((
|
|
139
|
+
}, Tl = (s, a) => {
|
|
140
|
+
const i = a.find((y) => y.code === s);
|
|
138
141
|
return i ? i.name : s;
|
|
139
|
-
},
|
|
142
|
+
}, Il = (s) => {
|
|
140
143
|
var a;
|
|
141
144
|
(a = v.value) == null || a.resetFields(s);
|
|
142
|
-
},
|
|
145
|
+
}, jl = (s) => {
|
|
143
146
|
var a;
|
|
144
147
|
(a = v.value) == null || a.clearValidate(s);
|
|
145
|
-
},
|
|
146
|
-
window.innerWidth < 768,
|
|
148
|
+
}, el = R(!1), rl = () => {
|
|
149
|
+
window.innerWidth < 768, el.value = !1;
|
|
147
150
|
};
|
|
148
151
|
_l(() => {
|
|
149
152
|
var a;
|
|
150
|
-
W(), (a = v.value) == null || a.resetFields(), window.addEventListener("resize",
|
|
151
|
-
|
|
153
|
+
W(), (a = v.value) == null || a.resetFields(), window.addEventListener("resize", rl), document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((i, y) => {
|
|
154
|
+
y % 2 !== 0 && (i.setAttribute("disabled", !0), i.setAttribute("color", "rgba(0, 0, 0, 0.88)"));
|
|
152
155
|
});
|
|
153
156
|
}), vl(() => {
|
|
154
|
-
window.removeEventListener("resize",
|
|
157
|
+
window.removeEventListener("resize", rl);
|
|
155
158
|
}), Sl(
|
|
156
|
-
() =>
|
|
159
|
+
() => f.fieldList,
|
|
157
160
|
(s, a) => {
|
|
158
161
|
s !== a && W();
|
|
159
162
|
}
|
|
160
163
|
);
|
|
161
|
-
const
|
|
162
|
-
s === "" && (
|
|
163
|
-
},
|
|
164
|
-
const
|
|
164
|
+
const X = R(0), ol = R(0), il = R(0), Ml = R(0), Ol = (s) => {
|
|
165
|
+
s === "" && (X.value += 1);
|
|
166
|
+
}, kl = (s, a, i, y) => {
|
|
167
|
+
const D = {};
|
|
165
168
|
if (s.date() === a.date() && s.year() === a.year() && s.month() === a.month())
|
|
166
|
-
return
|
|
167
|
-
|
|
168
|
-
},
|
|
169
|
-
e.model[a] = i.format("DD/MM/YYYY"),
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
},
|
|
173
|
-
if (
|
|
174
|
-
return e.model[i] =
|
|
175
|
-
s || (
|
|
169
|
+
return D.border = "1px solid #a26628", D.borderRadius = "4px", D;
|
|
170
|
+
p("openStatusNumber", i == null ? void 0 : i.range, y);
|
|
171
|
+
}, Al = (s, a, i) => {
|
|
172
|
+
e.model[a] = i.format("DD/MM/YYYY"), X.value += 1, l(s, a), p("getDefaultToady", i, a);
|
|
173
|
+
}, wl = (s, a) => {
|
|
174
|
+
p("calendarChange", s, a);
|
|
175
|
+
}, Cl = (s, a, i, y) => {
|
|
176
|
+
if (y)
|
|
177
|
+
return e.model[i] = y;
|
|
178
|
+
s || (X.value += 1), p("openChange", s, i, y);
|
|
176
179
|
};
|
|
177
|
-
|
|
178
|
-
const
|
|
179
|
-
s || (
|
|
180
|
+
ol.value = 1;
|
|
181
|
+
const zl = (s, a, i, y) => {
|
|
182
|
+
s || (ol.value += 1, yl(() => {
|
|
180
183
|
document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((j, w) => {
|
|
181
184
|
w % 2 !== 0 && (j.setAttribute("disabled", !0), j.setAttribute("color", "rgba(0, 0, 0, 0.88)")), j.value && j.removeAttribute("disabled");
|
|
182
|
-
}),
|
|
183
|
-
|
|
185
|
+
}), y !== void 0 && y[0] && y[1] && document.querySelectorAll(`.ant-picker-range.${i} .ant-picker-input input`).forEach((w, q) => {
|
|
186
|
+
q % 2 !== 0 && (w.removeAttribute("disabled"), w.setAttribute("color", "rgba(0, 0, 0, 0.88)"));
|
|
184
187
|
});
|
|
185
|
-
})),
|
|
186
|
-
},
|
|
187
|
-
s || (
|
|
188
|
+
})), p("openDatePickerDaterange", s, a, i, y);
|
|
189
|
+
}, xl = (s) => {
|
|
190
|
+
s || (il.value += 1), p("openDatetimerange", s);
|
|
188
191
|
};
|
|
189
192
|
return {
|
|
190
193
|
...Rl(e),
|
|
191
194
|
formRef: v,
|
|
192
|
-
isShowTooltip:
|
|
195
|
+
isShowTooltip: Y,
|
|
193
196
|
states: e,
|
|
194
197
|
formOptions: P,
|
|
195
|
-
onSubmit:
|
|
198
|
+
onSubmit: U,
|
|
196
199
|
selectChange: Q,
|
|
197
200
|
selectFocus: B,
|
|
198
201
|
// filteroption,
|
|
199
202
|
radioChange: G,
|
|
200
|
-
checkChange:
|
|
201
|
-
handleCheckedChange:
|
|
203
|
+
checkChange: m,
|
|
204
|
+
handleCheckedChange: J,
|
|
202
205
|
prefixIcon: I,
|
|
203
206
|
IconDropDown: C,
|
|
204
207
|
IconClear: Z,
|
|
205
|
-
handleClick:
|
|
206
|
-
handleKeyUp:
|
|
207
|
-
resetFieldsTest:
|
|
208
|
-
clearValidateTest:
|
|
208
|
+
handleClick: $,
|
|
209
|
+
handleKeyUp: ll,
|
|
210
|
+
resetFieldsTest: Il,
|
|
211
|
+
clearValidateTest: jl,
|
|
209
212
|
dateChange: l,
|
|
210
|
-
calendarChange:
|
|
213
|
+
calendarChange: wl,
|
|
211
214
|
onOk: H,
|
|
212
215
|
inputBlur: o,
|
|
213
216
|
inputFocus: r,
|
|
@@ -215,31 +218,31 @@ const Zl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
215
218
|
inputInput: Dl,
|
|
216
219
|
selectInput: fl,
|
|
217
220
|
noFormRule: _,
|
|
218
|
-
phoneWrap:
|
|
219
|
-
pickerKey:
|
|
220
|
-
pickerKeyDaterange:
|
|
221
|
-
selectPickerKey:
|
|
222
|
-
datetimerange:
|
|
223
|
-
openDatePicker:
|
|
224
|
-
openDatePickerDaterange:
|
|
225
|
-
openDatetimerange:
|
|
221
|
+
phoneWrap: el,
|
|
222
|
+
pickerKey: X,
|
|
223
|
+
pickerKeyDaterange: ol,
|
|
224
|
+
selectPickerKey: Ml,
|
|
225
|
+
datetimerange: il,
|
|
226
|
+
openDatePicker: Ol,
|
|
227
|
+
openDatePickerDaterange: zl,
|
|
228
|
+
openDatetimerange: xl,
|
|
226
229
|
// spaceRule,
|
|
227
|
-
handleVisibleChange:
|
|
230
|
+
handleVisibleChange: V,
|
|
228
231
|
handleScroll: k,
|
|
229
|
-
visibilityChange:
|
|
230
|
-
contentName:
|
|
231
|
-
openChange:
|
|
232
|
-
getCurrentStyle:
|
|
233
|
-
getDefaultToady:
|
|
232
|
+
visibilityChange: Nl,
|
|
233
|
+
contentName: Tl,
|
|
234
|
+
openChange: Cl,
|
|
235
|
+
getCurrentStyle: kl,
|
|
236
|
+
getDefaultToady: Al
|
|
234
237
|
};
|
|
235
238
|
}
|
|
236
|
-
},
|
|
237
|
-
const Hl = (
|
|
238
|
-
const _ =
|
|
239
|
-
for (const [e,
|
|
240
|
-
_[e] =
|
|
239
|
+
}, cl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTguMDYwNyAxNi4wNjA3TDE3IDE1TDEyIDIwTDE3IDI1TDE4LjA2MDcgMjMuOTM5M0wxNC4xMjEzIDIwTDE4LjA2MDcgMTYuMDYwN1oiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4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vccOpts || f;
|
|
242
|
+
for (const [e, Y] of p)
|
|
243
|
+
_[e] = Y;
|
|
241
244
|
return _;
|
|
242
|
-
}, E = (
|
|
245
|
+
}, E = (f) => (Wl("data-v-169b6bc0"), f = f(), Bl(), f), ql = { class: "header-title" }, Kl = { class: "title-content" }, Jl = { class: "header-boldTitle" }, Xl = { class: "boldTitle-content" }, ml = {
|
|
243
246
|
key: 0,
|
|
244
247
|
class: "custom-required"
|
|
245
248
|
}, $l = {
|
|
@@ -266,36 +269,36 @@ const Hl = (p, f) => {
|
|
|
266
269
|
}, ce = {
|
|
267
270
|
key: 0,
|
|
268
271
|
class: "custom-required"
|
|
269
|
-
}, te = ["onClick"], ue = /* @__PURE__ */ E(() => /* @__PURE__ */
|
|
270
|
-
src: yl,
|
|
271
|
-
alt: ""
|
|
272
|
-
}, null, -1)), ge = /* @__PURE__ */ E(() => /* @__PURE__ */ D("img", {
|
|
272
|
+
}, te = ["onClick"], ue = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
273
273
|
src: cl,
|
|
274
274
|
alt: ""
|
|
275
|
-
}, null, -1)),
|
|
275
|
+
}, null, -1)), ge = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
276
276
|
src: tl,
|
|
277
277
|
alt: ""
|
|
278
|
-
}, null, -1)), pe = /* @__PURE__ */ E(() => /* @__PURE__ */
|
|
278
|
+
}, null, -1)), pe = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
279
279
|
src: ul,
|
|
280
280
|
alt: ""
|
|
281
|
-
}, null, -1)),
|
|
281
|
+
}, null, -1)), fe = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
282
|
+
src: gl,
|
|
283
|
+
alt: ""
|
|
284
|
+
}, null, -1)), be = {
|
|
282
285
|
key: 0,
|
|
283
286
|
class: "date_to"
|
|
284
|
-
},
|
|
287
|
+
}, De = {
|
|
285
288
|
key: 0,
|
|
286
289
|
class: "custom-required"
|
|
287
|
-
}, he = /* @__PURE__ */ E(() => /* @__PURE__ */
|
|
288
|
-
src: yl,
|
|
289
|
-
alt: ""
|
|
290
|
-
}, null, -1)), Ne = /* @__PURE__ */ E(() => /* @__PURE__ */ D("img", {
|
|
290
|
+
}, he = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
291
291
|
src: cl,
|
|
292
292
|
alt: ""
|
|
293
|
-
}, null, -1)),
|
|
293
|
+
}, null, -1)), Ne = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
294
294
|
src: tl,
|
|
295
295
|
alt: ""
|
|
296
|
-
}, null, -1)),
|
|
296
|
+
}, null, -1)), Te = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
297
297
|
src: ul,
|
|
298
298
|
alt: ""
|
|
299
|
+
}, null, -1)), Ie = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
300
|
+
src: gl,
|
|
301
|
+
alt: ""
|
|
299
302
|
}, null, -1)), je = {
|
|
300
303
|
key: 0,
|
|
301
304
|
class: "custom-required"
|
|
@@ -308,13 +311,13 @@ const Hl = (p, f) => {
|
|
|
308
311
|
}, Ae = {
|
|
309
312
|
key: 0,
|
|
310
313
|
class: "phone_item_content_before"
|
|
311
|
-
}, we = /* @__PURE__ */ E(() => /* @__PURE__ */
|
|
314
|
+
}, we = /* @__PURE__ */ E(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), Ce = /* @__PURE__ */ E(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), ze = {
|
|
312
315
|
key: 1,
|
|
313
316
|
class: "line_middle"
|
|
314
317
|
}, xe = {
|
|
315
318
|
key: 2,
|
|
316
319
|
class: "line_middle"
|
|
317
|
-
}, Le = /* @__PURE__ */ E(() => /* @__PURE__ */
|
|
320
|
+
}, Le = /* @__PURE__ */ E(() => /* @__PURE__ */ b("div", {
|
|
318
321
|
class: "line",
|
|
319
322
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
320
323
|
}, null, -1)), Ee = {
|
|
@@ -330,11 +333,11 @@ const Hl = (p, f) => {
|
|
|
330
333
|
key: 0,
|
|
331
334
|
class: "custom-required"
|
|
332
335
|
};
|
|
333
|
-
function Ye(
|
|
334
|
-
const I = A("el-form-item"), C = A("el-input"), k = A("el-tooltip"),
|
|
335
|
-
return n(),
|
|
336
|
+
function Ye(f, p, _, e, Y, v) {
|
|
337
|
+
const I = A("el-form-item"), C = A("el-input"), k = A("el-tooltip"), V = A("el-col"), Z = A("el-row"), P = A("el-radio"), W = A("el-radio-group"), U = A("el-checkbox"), Q = A("el-checkbox-group"), B = A("el-option"), G = A("el-select"), m = A("a-date-picker"), J = A("a-range-picker"), $ = A("sinosoftCommonButton"), ll = A("el-form");
|
|
338
|
+
return n(), c(ll, Yl({
|
|
336
339
|
"hide-required-asterisk": "",
|
|
337
|
-
onSubmit:
|
|
340
|
+
onSubmit: p[0] || (p[0] = Vl(() => {
|
|
338
341
|
}, ["prevent"])),
|
|
339
342
|
model: _.model
|
|
340
343
|
}, e.formOptions, {
|
|
@@ -345,7 +348,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
345
348
|
default: d(() => [
|
|
346
349
|
g(Z, { gutter: 24 }, {
|
|
347
350
|
default: d(() => [
|
|
348
|
-
(n(!0), M(x, null, L(_.fieldList, (l, H) => Ul((n(),
|
|
351
|
+
(n(!0), M(x, null, L(_.fieldList, (l, H) => Ul((n(), c(V, {
|
|
349
352
|
xs: l.xs ? l.xs : 24,
|
|
350
353
|
sm: l.sm ? l.sm : 24,
|
|
351
354
|
md: l.md ? l.md : 8,
|
|
@@ -354,31 +357,31 @@ function Ye(p, f, _, e, F, v) {
|
|
|
354
357
|
key: H
|
|
355
358
|
}, {
|
|
356
359
|
default: d(() => [
|
|
357
|
-
|
|
360
|
+
b("div", {
|
|
358
361
|
style: h(l.style)
|
|
359
362
|
}, [
|
|
360
|
-
l.type === "title" ? (n(),
|
|
363
|
+
l.type === "title" ? (n(), c(I, { key: 0 }, {
|
|
361
364
|
default: d(() => [
|
|
362
|
-
|
|
363
|
-
|
|
365
|
+
b("div", ql, [
|
|
366
|
+
b("span", Kl, t(l.title), 1)
|
|
364
367
|
])
|
|
365
368
|
]),
|
|
366
369
|
_: 2
|
|
367
|
-
}, 1024)) : l.type === "boldTitle" ? (n(),
|
|
370
|
+
}, 1024)) : l.type === "boldTitle" ? (n(), c(I, { key: 1 }, {
|
|
368
371
|
default: d(() => [
|
|
369
|
-
|
|
370
|
-
|
|
372
|
+
b("div", Jl, [
|
|
373
|
+
b("span", Xl, t(l.title), 1)
|
|
371
374
|
])
|
|
372
375
|
]),
|
|
373
376
|
_: 2
|
|
374
|
-
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (n(),
|
|
377
|
+
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (n(), c(I, {
|
|
375
378
|
key: 2,
|
|
376
379
|
label: l.label,
|
|
377
380
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
378
381
|
class: "container_name"
|
|
379
382
|
}, {
|
|
380
383
|
label: d(() => [
|
|
381
|
-
l.slotLabelName ? O(
|
|
384
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
382
385
|
key: 0,
|
|
383
386
|
style: h(l.labelStyle)
|
|
384
387
|
}, [
|
|
@@ -389,7 +392,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
389
392
|
default: d(() => [
|
|
390
393
|
g(Z, { gutter: 20 }, {
|
|
391
394
|
default: d(() => [
|
|
392
|
-
g(
|
|
395
|
+
g(V, {
|
|
393
396
|
xs: 24,
|
|
394
397
|
sm: 12,
|
|
395
398
|
md: 12,
|
|
@@ -397,7 +400,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
397
400
|
xl: 12
|
|
398
401
|
}, {
|
|
399
402
|
default: d(() => [
|
|
400
|
-
l.field.nameEnFamily ? (n(),
|
|
403
|
+
l.field.nameEnFamily ? (n(), c(I, {
|
|
401
404
|
key: 0,
|
|
402
405
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
403
406
|
prop: l.field.nameEnFamily,
|
|
@@ -430,7 +433,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
430
433
|
type: l.type ? l.type : "text",
|
|
431
434
|
placeholder: l.placeholderNameEnFamily,
|
|
432
435
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
|
|
433
|
-
onKeyup:
|
|
436
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
434
437
|
}, null, 8, ["id", "onBlur", "onFocus", "onChange", "onInput", "onMouseenter", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
435
438
|
]),
|
|
436
439
|
_: 2
|
|
@@ -441,7 +444,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
441
444
|
]),
|
|
442
445
|
_: 2
|
|
443
446
|
}, 1024),
|
|
444
|
-
g(
|
|
447
|
+
g(V, {
|
|
445
448
|
xs: 24,
|
|
446
449
|
sm: 12,
|
|
447
450
|
md: 12,
|
|
@@ -449,7 +452,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
449
452
|
xl: 12
|
|
450
453
|
}, {
|
|
451
454
|
default: d(() => [
|
|
452
|
-
l.field.nameEn ? (n(),
|
|
455
|
+
l.field.nameEn ? (n(), c(I, {
|
|
453
456
|
key: 0,
|
|
454
457
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
455
458
|
prop: l.field.nameEn,
|
|
@@ -482,7 +485,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
482
485
|
type: l.type ? l.type : "text",
|
|
483
486
|
placeholder: l.placeholderNameEn,
|
|
484
487
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
|
|
485
|
-
onKeyup:
|
|
488
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
486
489
|
}, null, 8, ["id", "onBlur", "onFocus", "onChange", "onInput", "onMouseenter", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
487
490
|
]),
|
|
488
491
|
_: 2
|
|
@@ -498,7 +501,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
498
501
|
}, 1024),
|
|
499
502
|
g(Z, { gutter: 20 }, {
|
|
500
503
|
default: d(() => [
|
|
501
|
-
g(
|
|
504
|
+
g(V, {
|
|
502
505
|
xs: 24,
|
|
503
506
|
sm: 12,
|
|
504
507
|
md: 12,
|
|
@@ -506,7 +509,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
506
509
|
xl: 12
|
|
507
510
|
}, {
|
|
508
511
|
default: d(() => [
|
|
509
|
-
l.field.nameChFamily ? (n(),
|
|
512
|
+
l.field.nameChFamily ? (n(), c(I, {
|
|
510
513
|
key: 0,
|
|
511
514
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
512
515
|
prop: l.field.nameChFamily,
|
|
@@ -543,7 +546,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
543
546
|
type: l.type ? l.type : "text",
|
|
544
547
|
placeholder: l.placeholderNameChFamily,
|
|
545
548
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
|
|
546
|
-
onKeyup:
|
|
549
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
547
550
|
}, null, 8, ["id", "onBlur", "onFocus", "onChange", "onMouseenter", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
548
551
|
]),
|
|
549
552
|
_: 2
|
|
@@ -554,7 +557,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
554
557
|
]),
|
|
555
558
|
_: 2
|
|
556
559
|
}, 1024),
|
|
557
|
-
g(
|
|
560
|
+
g(V, {
|
|
558
561
|
xs: 24,
|
|
559
562
|
sm: 12,
|
|
560
563
|
md: 12,
|
|
@@ -562,7 +565,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
562
565
|
xl: 12
|
|
563
566
|
}, {
|
|
564
567
|
default: d(() => [
|
|
565
|
-
l.field.nameCh ? (n(),
|
|
568
|
+
l.field.nameCh ? (n(), c(I, {
|
|
566
569
|
key: 0,
|
|
567
570
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
568
571
|
prop: l.field.nameCh,
|
|
@@ -595,7 +598,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
595
598
|
type: l.type ? l.type : "text",
|
|
596
599
|
placeholder: l.placeholderNameCh,
|
|
597
600
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
|
|
598
|
-
onKeyup:
|
|
601
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
599
602
|
}, null, 8, ["id", "onBlur", "onFocus", "onChange", "onInput", "onMouseenter", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
600
603
|
]),
|
|
601
604
|
_: 2
|
|
@@ -611,7 +614,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
611
614
|
}, 1024)
|
|
612
615
|
]),
|
|
613
616
|
_: 2
|
|
614
|
-
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (n(),
|
|
617
|
+
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (n(), c(I, {
|
|
615
618
|
key: 3,
|
|
616
619
|
label: l.label,
|
|
617
620
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -619,7 +622,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
619
622
|
class: "radio_row"
|
|
620
623
|
}, {
|
|
621
624
|
label: d(() => [
|
|
622
|
-
l.slotLabelName ? O(
|
|
625
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
623
626
|
key: 0,
|
|
624
627
|
style: h(l.labelStyle)
|
|
625
628
|
}, [
|
|
@@ -637,13 +640,13 @@ function Ye(p, f, _, e, F, v) {
|
|
|
637
640
|
default: d(() => {
|
|
638
641
|
var o;
|
|
639
642
|
return [
|
|
640
|
-
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(),
|
|
643
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(), c(P, {
|
|
641
644
|
label: r.code,
|
|
642
645
|
size: "large",
|
|
643
646
|
key: r.code
|
|
644
647
|
}, {
|
|
645
648
|
default: d(() => [
|
|
646
|
-
|
|
649
|
+
b("img", {
|
|
647
650
|
src: r.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
648
651
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
649
652
|
alt: ""
|
|
@@ -657,7 +660,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
657
660
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
658
661
|
]),
|
|
659
662
|
_: 2
|
|
660
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (n(),
|
|
663
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (n(), c(I, {
|
|
661
664
|
key: 4,
|
|
662
665
|
label: l.label,
|
|
663
666
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -665,7 +668,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
665
668
|
class: N([l.labelNode ? "radio_Note" : "rule_err"])
|
|
666
669
|
}, {
|
|
667
670
|
label: d(() => [
|
|
668
|
-
l.slotLabelName ? O(
|
|
671
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
669
672
|
key: 0,
|
|
670
673
|
style: h(l.labelStyle)
|
|
671
674
|
}, [
|
|
@@ -687,7 +690,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
687
690
|
default: d(() => {
|
|
688
691
|
var o;
|
|
689
692
|
return [
|
|
690
|
-
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(),
|
|
693
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(), c(P, {
|
|
691
694
|
size: "large",
|
|
692
695
|
label: r.code,
|
|
693
696
|
key: r.code,
|
|
@@ -704,7 +707,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
704
707
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
705
708
|
]),
|
|
706
709
|
_: 2
|
|
707
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (n(),
|
|
710
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (n(), c(I, {
|
|
708
711
|
key: 5,
|
|
709
712
|
label: l.label,
|
|
710
713
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -712,9 +715,9 @@ function Ye(p, f, _, e, F, v) {
|
|
|
712
715
|
class: N([l.labelNode ? "radio_Note" : "rule_err"])
|
|
713
716
|
}, {
|
|
714
717
|
default: d(() => [
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
+
b("div", null, [
|
|
719
|
+
b("span", oe, t(l.labelBefore), 1),
|
|
720
|
+
b("span", ae, t(l.labelNode), 1),
|
|
718
721
|
l.required ? (n(), M("span", ne, "*")) : u("", !0)
|
|
719
722
|
]),
|
|
720
723
|
g(W, {
|
|
@@ -730,7 +733,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
730
733
|
default: d(() => {
|
|
731
734
|
var o;
|
|
732
735
|
return [
|
|
733
|
-
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(),
|
|
736
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(), c(P, {
|
|
734
737
|
size: "large",
|
|
735
738
|
label: r.code,
|
|
736
739
|
key: r.code
|
|
@@ -746,14 +749,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
746
749
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
747
750
|
]),
|
|
748
751
|
_: 2
|
|
749
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (n(),
|
|
752
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (n(), c(I, {
|
|
750
753
|
key: 6,
|
|
751
754
|
label: l.label,
|
|
752
755
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
753
756
|
prop: l.field
|
|
754
757
|
}, {
|
|
755
758
|
label: d(() => [
|
|
756
|
-
l.slotLabelName ? O(
|
|
759
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
757
760
|
key: 0,
|
|
758
761
|
style: h(l.labelStyle)
|
|
759
762
|
}, [
|
|
@@ -774,7 +777,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
774
777
|
default: d(() => {
|
|
775
778
|
var o;
|
|
776
779
|
return [
|
|
777
|
-
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(),
|
|
780
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(), c(U, {
|
|
778
781
|
key: r.code,
|
|
779
782
|
label: r.code,
|
|
780
783
|
disabled: r.isDisabled
|
|
@@ -790,14 +793,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
790
793
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
791
794
|
]),
|
|
792
795
|
_: 2
|
|
793
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (n(),
|
|
796
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (n(), c(I, {
|
|
794
797
|
key: 7,
|
|
795
798
|
label: l.label,
|
|
796
799
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
797
800
|
prop: l.field
|
|
798
801
|
}, {
|
|
799
802
|
label: d(() => [
|
|
800
|
-
l.slotLabelName ? O(
|
|
803
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
801
804
|
key: 0,
|
|
802
805
|
style: h(l.labelStyle)
|
|
803
806
|
}, [
|
|
@@ -818,7 +821,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
818
821
|
default: d(() => {
|
|
819
822
|
var o;
|
|
820
823
|
return [
|
|
821
|
-
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(),
|
|
824
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(), c(U, {
|
|
822
825
|
key: r.code,
|
|
823
826
|
label: r.code,
|
|
824
827
|
disabled: r.isDisabled
|
|
@@ -834,7 +837,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
834
837
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
835
838
|
]),
|
|
836
839
|
_: 2
|
|
837
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (n(),
|
|
840
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (n(), c(I, {
|
|
838
841
|
key: 8,
|
|
839
842
|
label: l.label,
|
|
840
843
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -842,9 +845,9 @@ function Ye(p, f, _, e, F, v) {
|
|
|
842
845
|
class: N([l.labelNode ? "radio_Note" : "rule_err"])
|
|
843
846
|
}, {
|
|
844
847
|
default: d(() => [
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
+
b("div", null, [
|
|
849
|
+
b("span", re, t(l.labelBefore), 1),
|
|
850
|
+
b("span", ie, t(l.labelNode), 1),
|
|
848
851
|
l.required ? (n(), M("span", Me, "*")) : u("", !0)
|
|
849
852
|
]),
|
|
850
853
|
g(Q, {
|
|
@@ -859,7 +862,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
859
862
|
default: d(() => {
|
|
860
863
|
var o;
|
|
861
864
|
return [
|
|
862
|
-
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(),
|
|
865
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (r) => (n(), c(U, {
|
|
863
866
|
key: r.code,
|
|
864
867
|
label: r.code,
|
|
865
868
|
disabled: r.isDisabled
|
|
@@ -875,7 +878,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
875
878
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
876
879
|
]),
|
|
877
880
|
_: 2
|
|
878
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (n(),
|
|
881
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (n(), c(I, {
|
|
879
882
|
key: 9,
|
|
880
883
|
label: l.label,
|
|
881
884
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -883,7 +886,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
883
886
|
prop: l.field
|
|
884
887
|
}, {
|
|
885
888
|
label: d(() => [
|
|
886
|
-
l.slotLabelName ? O(
|
|
889
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
887
890
|
key: 0,
|
|
888
891
|
style: h(l.labelStyle)
|
|
889
892
|
}, [
|
|
@@ -903,7 +906,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
903
906
|
"trigger-keys": []
|
|
904
907
|
}, {
|
|
905
908
|
default: d(() => [
|
|
906
|
-
(n(),
|
|
909
|
+
(n(), c(G, {
|
|
907
910
|
class: N(["tooltip-select", [l.field + (l.uniqueId || ""), (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]]),
|
|
908
911
|
key: e.selectPickerKey,
|
|
909
912
|
id: l.field,
|
|
@@ -934,12 +937,12 @@ function Ye(p, f, _, e, F, v) {
|
|
|
934
937
|
default: d(() => {
|
|
935
938
|
var r;
|
|
936
939
|
return [
|
|
937
|
-
(n(!0), M(x, null, L((r = l.options) == null ? void 0 : r.data, (z) => (n(),
|
|
940
|
+
(n(!0), M(x, null, L((r = l.options) == null ? void 0 : r.data, (z) => (n(), c(B, {
|
|
938
941
|
key: z.code,
|
|
939
942
|
label: z.name,
|
|
940
943
|
value: z.code
|
|
941
944
|
}, null, 8, ["label", "value"]))), 128)),
|
|
942
|
-
l.loading ? (n(),
|
|
945
|
+
l.loading ? (n(), c(B, {
|
|
943
946
|
key: 0,
|
|
944
947
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
945
948
|
class: "select-loading",
|
|
@@ -952,14 +955,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
952
955
|
]),
|
|
953
956
|
_: 2
|
|
954
957
|
}, 1032, ["content", "disabled"]),
|
|
955
|
-
|
|
958
|
+
b("div", {
|
|
956
959
|
class: "item_tips_blow",
|
|
957
960
|
style: h(l.tipsBlowStyle)
|
|
958
961
|
}, t(l.tipsBlow), 5)
|
|
959
962
|
];
|
|
960
963
|
}),
|
|
961
964
|
_: 2
|
|
962
|
-
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (n(),
|
|
965
|
+
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (n(), c(I, {
|
|
963
966
|
key: 10,
|
|
964
967
|
label: l.label,
|
|
965
968
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -967,7 +970,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
967
970
|
class: "date_item"
|
|
968
971
|
}, {
|
|
969
972
|
label: d(() => [
|
|
970
|
-
l.slotLabelName ? O(
|
|
973
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
971
974
|
key: 0,
|
|
972
975
|
style: h(l.labelStyle)
|
|
973
976
|
}, [
|
|
@@ -976,7 +979,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
976
979
|
], 4))
|
|
977
980
|
]),
|
|
978
981
|
default: d(() => [
|
|
979
|
-
(n(),
|
|
982
|
+
(n(), c(m, {
|
|
980
983
|
size: "large",
|
|
981
984
|
allowClear: !!l.allowClear,
|
|
982
985
|
format: l.format || "DD/MM/YYYY",
|
|
@@ -1000,7 +1003,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1000
1003
|
onOk: (o) => e.onOk(o, typeof l.field == "string" ? l.field : ""),
|
|
1001
1004
|
onBlur: (o) => e.openDatePicker(e.states.model[l.field]),
|
|
1002
1005
|
onOpenChange: (o) => e.openChange(o, l == null ? void 0 : l.defaultToady, l.field, e.states.model[l.field])
|
|
1003
|
-
},
|
|
1006
|
+
}, K({
|
|
1004
1007
|
superPrevIcon: d(() => [
|
|
1005
1008
|
ue
|
|
1006
1009
|
]),
|
|
@@ -1008,17 +1011,17 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1008
1011
|
ge
|
|
1009
1012
|
]),
|
|
1010
1013
|
nextIcon: d(() => [
|
|
1011
|
-
|
|
1014
|
+
pe
|
|
1012
1015
|
]),
|
|
1013
1016
|
superNextIcon: d(() => [
|
|
1014
|
-
|
|
1017
|
+
fe
|
|
1015
1018
|
]),
|
|
1016
1019
|
_: 2
|
|
1017
1020
|
}, [
|
|
1018
1021
|
l != null && l.defaultToady ? {
|
|
1019
1022
|
name: "dateRender",
|
|
1020
1023
|
fn: d(({ current: o }) => [
|
|
1021
|
-
|
|
1024
|
+
b("div", {
|
|
1022
1025
|
class: "ant-picker-cell-inner",
|
|
1023
1026
|
style: h(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
1024
1027
|
}, t(o.date()), 5)
|
|
@@ -1045,26 +1048,26 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1045
1048
|
key: "1"
|
|
1046
1049
|
} : void 0
|
|
1047
1050
|
]), 1032, ["allowClear", "format", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onOk", "onBlur", "onOpenChange"])),
|
|
1048
|
-
l.showTo ? (n(), M("span",
|
|
1051
|
+
l.showTo ? (n(), M("span", be, t(l.showTo), 1)) : u("", !0)
|
|
1049
1052
|
]),
|
|
1050
1053
|
_: 2
|
|
1051
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (n(),
|
|
1054
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (n(), c(I, {
|
|
1052
1055
|
key: 11,
|
|
1053
1056
|
label: l.label,
|
|
1054
1057
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1055
1058
|
prop: l.field
|
|
1056
1059
|
}, {
|
|
1057
1060
|
label: d(() => [
|
|
1058
|
-
l.slotLabelName ? O(
|
|
1061
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1059
1062
|
key: 0,
|
|
1060
1063
|
style: h(l.labelStyle)
|
|
1061
1064
|
}, [
|
|
1062
1065
|
T(t(l.label) + " ", 1),
|
|
1063
|
-
l.required ? (n(), M("span",
|
|
1066
|
+
l.required ? (n(), M("span", De, "*")) : u("", !0)
|
|
1064
1067
|
], 4))
|
|
1065
1068
|
]),
|
|
1066
1069
|
default: d(() => [
|
|
1067
|
-
(n(),
|
|
1070
|
+
(n(), c(J, {
|
|
1068
1071
|
"popper-class": "selectTriangles",
|
|
1069
1072
|
allowClear: !!l.allowClear,
|
|
1070
1073
|
defaultPickerValue: l == null ? void 0 : l.defaultPickerValue,
|
|
@@ -1099,7 +1102,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1099
1102
|
typeof l.field == "string" ? l.field : ""
|
|
1100
1103
|
),
|
|
1101
1104
|
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultToady, l.field, e.states.model[l.field])
|
|
1102
|
-
},
|
|
1105
|
+
}, K({
|
|
1103
1106
|
superPrevIcon: d(() => [
|
|
1104
1107
|
he
|
|
1105
1108
|
]),
|
|
@@ -1117,7 +1120,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1117
1120
|
l != null && l.defaultToady ? {
|
|
1118
1121
|
name: "dateRender",
|
|
1119
1122
|
fn: d(({ current: o, info: r }) => [
|
|
1120
|
-
|
|
1123
|
+
b("div", {
|
|
1121
1124
|
class: "ant-picker-cell-inner",
|
|
1122
1125
|
style: h(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady, r, l.field))
|
|
1123
1126
|
}, t(o.date()), 5)
|
|
@@ -1127,14 +1130,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1127
1130
|
]), 1032, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1128
1131
|
]),
|
|
1129
1132
|
_: 2
|
|
1130
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (n(),
|
|
1133
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (n(), c(I, {
|
|
1131
1134
|
key: 12,
|
|
1132
1135
|
label: l.label,
|
|
1133
1136
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1134
1137
|
prop: l.field
|
|
1135
1138
|
}, {
|
|
1136
1139
|
label: d(() => [
|
|
1137
|
-
l.slotLabelName ? O(
|
|
1140
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1138
1141
|
key: 0,
|
|
1139
1142
|
style: h(l.labelStyle)
|
|
1140
1143
|
}, [
|
|
@@ -1143,7 +1146,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1143
1146
|
], 4))
|
|
1144
1147
|
]),
|
|
1145
1148
|
default: d(() => [
|
|
1146
|
-
(n(),
|
|
1149
|
+
(n(), c(J, {
|
|
1147
1150
|
"popper-class": "selectTriangles",
|
|
1148
1151
|
allowClear: !!l.allowClear,
|
|
1149
1152
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1180,7 +1183,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1180
1183
|
}, null, 8, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1181
1184
|
]),
|
|
1182
1185
|
_: 2
|
|
1183
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (n(),
|
|
1186
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (n(), c(I, {
|
|
1184
1187
|
key: 13,
|
|
1185
1188
|
label: l.label,
|
|
1186
1189
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -1188,7 +1191,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1188
1191
|
class: "rule_err"
|
|
1189
1192
|
}, {
|
|
1190
1193
|
label: d(() => [
|
|
1191
|
-
l.slotLabelName ? O(
|
|
1194
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1192
1195
|
key: 0,
|
|
1193
1196
|
style: h(l.labelStyle)
|
|
1194
1197
|
}, [
|
|
@@ -1197,10 +1200,10 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1197
1200
|
], 4))
|
|
1198
1201
|
]),
|
|
1199
1202
|
default: d(() => [
|
|
1200
|
-
O(
|
|
1203
|
+
O(f.$slots, l.slotItemName, {}, void 0, !0)
|
|
1201
1204
|
]),
|
|
1202
1205
|
_: 2
|
|
1203
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (n(),
|
|
1206
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (n(), c(I, {
|
|
1204
1207
|
key: 14,
|
|
1205
1208
|
label: l.label,
|
|
1206
1209
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
@@ -1208,7 +1211,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1208
1211
|
class: "phone_item"
|
|
1209
1212
|
}, {
|
|
1210
1213
|
label: d(() => [
|
|
1211
|
-
l.slotLabelName ? O(
|
|
1214
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1212
1215
|
key: 0,
|
|
1213
1216
|
style: h(l.labelStyle)
|
|
1214
1217
|
}, [
|
|
@@ -1217,7 +1220,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1217
1220
|
], 4))
|
|
1218
1221
|
]),
|
|
1219
1222
|
default: d(() => [
|
|
1220
|
-
|
|
1223
|
+
b("div", {
|
|
1221
1224
|
class: N(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1222
1225
|
}, [
|
|
1223
1226
|
e.phoneWrap ? (n(), M("div", Ae, [
|
|
@@ -1232,7 +1235,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1232
1235
|
default: d(() => {
|
|
1233
1236
|
var o;
|
|
1234
1237
|
return [
|
|
1235
|
-
l.field.nationCode ? (n(),
|
|
1238
|
+
l.field.nationCode ? (n(), c(G, {
|
|
1236
1239
|
key: 0,
|
|
1237
1240
|
class: N(["tooltip-select", [(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]]),
|
|
1238
1241
|
id: l.field.nationCode,
|
|
@@ -1251,7 +1254,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1251
1254
|
default: d(() => {
|
|
1252
1255
|
var r;
|
|
1253
1256
|
return [
|
|
1254
|
-
(n(!0), M(x, null, L((r = l.nationOptions) == null ? void 0 : r.data, (z, S) => (n(),
|
|
1257
|
+
(n(!0), M(x, null, L((r = l.nationOptions) == null ? void 0 : r.data, (z, S) => (n(), c(B, {
|
|
1255
1258
|
label: z.name,
|
|
1256
1259
|
value: z.code,
|
|
1257
1260
|
key: S
|
|
@@ -1276,11 +1279,11 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1276
1279
|
default: d(() => {
|
|
1277
1280
|
var o;
|
|
1278
1281
|
return [
|
|
1279
|
-
l.field.areaCode ? (n(),
|
|
1282
|
+
l.field.areaCode ? (n(), c(C, {
|
|
1280
1283
|
key: 0,
|
|
1281
1284
|
class: N(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1282
1285
|
id: l.field.areaCode,
|
|
1283
|
-
onMouseenter: (r) => e.visibilityChange(l.field.areaCode),
|
|
1286
|
+
onMouseenter: (r) => e.visibilityChange(l.field.areaCode, "phone-input"),
|
|
1284
1287
|
onBlur: (r) => e.inputBlur(r, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
1285
1288
|
onFocus: (r) => e.inputFocus(r, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
1286
1289
|
onChange: (r) => e.inputChange(r, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
@@ -1310,7 +1313,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1310
1313
|
default: d(() => {
|
|
1311
1314
|
var o;
|
|
1312
1315
|
return [
|
|
1313
|
-
l.field.nationCode && !e.phoneWrap ? (n(),
|
|
1316
|
+
l.field.nationCode && !e.phoneWrap ? (n(), c(G, {
|
|
1314
1317
|
key: 0,
|
|
1315
1318
|
class: N([
|
|
1316
1319
|
"tooltip-select",
|
|
@@ -1332,7 +1335,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1332
1335
|
default: d(() => {
|
|
1333
1336
|
var r;
|
|
1334
1337
|
return [
|
|
1335
|
-
(n(!0), M(x, null, L((r = l.nationOptions) == null ? void 0 : r.data, (z, S) => (n(),
|
|
1338
|
+
(n(!0), M(x, null, L((r = l.nationOptions) == null ? void 0 : r.data, (z, S) => (n(), c(B, {
|
|
1336
1339
|
label: z.name,
|
|
1337
1340
|
value: z.code,
|
|
1338
1341
|
key: S
|
|
@@ -1357,14 +1360,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1357
1360
|
default: d(() => {
|
|
1358
1361
|
var o;
|
|
1359
1362
|
return [
|
|
1360
|
-
l.field.areaCode && !e.phoneWrap ? (n(),
|
|
1363
|
+
l.field.areaCode && !e.phoneWrap ? (n(), c(C, {
|
|
1361
1364
|
key: 0,
|
|
1362
1365
|
class: N([
|
|
1363
1366
|
"tooltip-input",
|
|
1364
1367
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1365
1368
|
]),
|
|
1366
1369
|
id: l.field.areaCode,
|
|
1367
|
-
onMouseenter: (r) => e.visibilityChange(l.field.areaCode),
|
|
1370
|
+
onMouseenter: (r) => e.visibilityChange(l.field.areaCode, "phone-input"),
|
|
1368
1371
|
onBlur: (r) => e.inputBlur(
|
|
1369
1372
|
r,
|
|
1370
1373
|
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
@@ -1404,7 +1407,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1404
1407
|
"trigger-keys": []
|
|
1405
1408
|
}, {
|
|
1406
1409
|
default: d(() => [
|
|
1407
|
-
l.field.phoneNumber ? (n(),
|
|
1410
|
+
l.field.phoneNumber ? (n(), c(C, {
|
|
1408
1411
|
key: 0,
|
|
1409
1412
|
class: N([
|
|
1410
1413
|
"tooltip-input",
|
|
@@ -1443,7 +1446,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1443
1446
|
], 2)
|
|
1444
1447
|
]),
|
|
1445
1448
|
_: 2
|
|
1446
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (n(),
|
|
1449
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (n(), c(I, {
|
|
1447
1450
|
key: 15,
|
|
1448
1451
|
label: l.label
|
|
1449
1452
|
}, {
|
|
@@ -1451,14 +1454,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1451
1454
|
Le
|
|
1452
1455
|
]),
|
|
1453
1456
|
_: 2
|
|
1454
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (n(),
|
|
1457
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (n(), c(I, {
|
|
1455
1458
|
key: 16,
|
|
1456
1459
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1457
1460
|
prop: l.field,
|
|
1458
1461
|
class: N(l.prepend ? "input-item" : "")
|
|
1459
1462
|
}, {
|
|
1460
1463
|
label: d(() => [
|
|
1461
|
-
l.slotLabelName ? O(
|
|
1464
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1462
1465
|
key: 0,
|
|
1463
1466
|
style: h(l.labelStyle)
|
|
1464
1467
|
}, [
|
|
@@ -1499,8 +1502,8 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1499
1502
|
class: N(
|
|
1500
1503
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1501
1504
|
),
|
|
1502
|
-
onKeyup:
|
|
1503
|
-
},
|
|
1505
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1506
|
+
}, K({ _: 2 }, [
|
|
1504
1507
|
l.prepend ? {
|
|
1505
1508
|
name: "prepend",
|
|
1506
1509
|
fn: d(() => [
|
|
@@ -1518,14 +1521,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1518
1521
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1519
1522
|
]),
|
|
1520
1523
|
_: 2
|
|
1521
|
-
}, 1032, ["rules", "prop", "class"])) : l.type === "textarea" && typeof l.field == "string" ? (n(),
|
|
1524
|
+
}, 1032, ["rules", "prop", "class"])) : l.type === "textarea" && typeof l.field == "string" ? (n(), c(I, {
|
|
1522
1525
|
key: 17,
|
|
1523
1526
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1524
1527
|
prop: l.field,
|
|
1525
1528
|
class: N(l.prepend ? "input-item" : "")
|
|
1526
1529
|
}, {
|
|
1527
1530
|
label: d(() => [
|
|
1528
|
-
l.slotLabelName ? O(
|
|
1531
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1529
1532
|
key: 0,
|
|
1530
1533
|
style: h(l.labelStyle)
|
|
1531
1534
|
}, [
|
|
@@ -1543,7 +1546,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1543
1546
|
"trigger-keys": []
|
|
1544
1547
|
}, {
|
|
1545
1548
|
default: d(() => [
|
|
1546
|
-
|
|
1549
|
+
b("div", ve, [
|
|
1547
1550
|
g(C, {
|
|
1548
1551
|
class: N(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1549
1552
|
id: l.field,
|
|
@@ -1563,8 +1566,8 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1563
1566
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1564
1567
|
showPassword: l.showPassword,
|
|
1565
1568
|
clearable: l.clearable,
|
|
1566
|
-
onKeyup:
|
|
1567
|
-
},
|
|
1569
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1570
|
+
}, K({ _: 2 }, [
|
|
1568
1571
|
l.prepend ? {
|
|
1569
1572
|
name: "prepend",
|
|
1570
1573
|
fn: d(() => [
|
|
@@ -1581,9 +1584,9 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1581
1584
|
} : void 0
|
|
1582
1585
|
]), 1032, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"]),
|
|
1583
1586
|
l.showWordLimit ? (n(), M("div", Se, [
|
|
1584
|
-
|
|
1587
|
+
b("span", null, t(l.textareaLength || 0), 1),
|
|
1585
1588
|
T("/"),
|
|
1586
|
-
|
|
1589
|
+
b("span", null, t(l.maxlength), 1)
|
|
1587
1590
|
])) : u("", !0)
|
|
1588
1591
|
])
|
|
1589
1592
|
]),
|
|
@@ -1591,14 +1594,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1591
1594
|
}, 1032, ["content", "disabled"])
|
|
1592
1595
|
]),
|
|
1593
1596
|
_: 2
|
|
1594
|
-
}, 1032, ["rules", "prop", "class"])) : (n(),
|
|
1597
|
+
}, 1032, ["rules", "prop", "class"])) : (n(), c(I, {
|
|
1595
1598
|
key: 18,
|
|
1596
1599
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1597
1600
|
prop: l.field,
|
|
1598
1601
|
class: N(l.prepend ? "input-item" : "")
|
|
1599
1602
|
}, {
|
|
1600
1603
|
label: d(() => [
|
|
1601
|
-
l.slotLabelName ? O(
|
|
1604
|
+
l.slotLabelName ? O(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1602
1605
|
key: 0,
|
|
1603
1606
|
style: h(l.labelStyle)
|
|
1604
1607
|
}, [
|
|
@@ -1635,8 +1638,8 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1635
1638
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1636
1639
|
showPassword: l.showPassword,
|
|
1637
1640
|
clearable: l.clearable,
|
|
1638
|
-
onKeyup:
|
|
1639
|
-
},
|
|
1641
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1642
|
+
}, K({ _: 2 }, [
|
|
1640
1643
|
l.prepend ? {
|
|
1641
1644
|
name: "prepend",
|
|
1642
1645
|
fn: d(() => [
|
|
@@ -1669,12 +1672,12 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1669
1672
|
}),
|
|
1670
1673
|
g(I, { class: "btnsItem" }, {
|
|
1671
1674
|
default: d(() => [
|
|
1672
|
-
O(
|
|
1675
|
+
O(f.$slots, "buttons", {
|
|
1673
1676
|
model: _.model,
|
|
1674
1677
|
onBtnClick: e.onSubmit
|
|
1675
1678
|
}, () => [
|
|
1676
1679
|
(n(!0), M(x, null, L(e.formOptions.btnConfig, (l, H) => (n(), M("div", { key: H }, [
|
|
1677
|
-
l.isShow ? (n(),
|
|
1680
|
+
l.isShow ? (n(), c($, {
|
|
1678
1681
|
key: 0,
|
|
1679
1682
|
btnCode: l.btnCode,
|
|
1680
1683
|
plain: l.plain,
|
|
@@ -1715,11 +1718,11 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1715
1718
|
_: 3
|
|
1716
1719
|
}, 16, ["model", "label-position"]);
|
|
1717
1720
|
}
|
|
1718
|
-
const
|
|
1719
|
-
function
|
|
1720
|
-
|
|
1721
|
+
const pl = /* @__PURE__ */ Hl(Gl, [["render", Ye], ["__scopeId", "data-v-169b6bc0"]]);
|
|
1722
|
+
function dl(f, p = {}) {
|
|
1723
|
+
dl.installed || (dl.installed = !0, f.component("common-el-form", pl));
|
|
1721
1724
|
}
|
|
1722
|
-
|
|
1725
|
+
pl.install = dl;
|
|
1723
1726
|
export {
|
|
1724
|
-
|
|
1727
|
+
pl as default
|
|
1725
1728
|
};
|