sinosoft-common-form 2.7.2 → 2.7.4
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 +592 -586
- 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 nl, h as dl, computed as El, onMounted as _l, onBeforeUnmount as vl, watch as Sl, toRefs as Rl, nextTick as cl, resolveComponent as w, openBlock as n, createBlock as c, mergeProps as Yl, withModifiers as Vl, withCtx as d, createVNode as f, createElementBlock as M, Fragment as x, renderList as L, withDirectives as Ul, createElementVNode as b, normalizeStyle as N, toDisplayString as u, createTextVNode as I, createCommentVNode as g, renderSlot as k, normalizeClass as T, withKeys as F, createSlots as J, vShow as Fl, pushScopeId as Wl, popScopeId as Bl } from "vue";
|
|
2
2
|
const Zl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyN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wNkM2LjU1NjcxIDEzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Gl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -21,225 +21,228 @@ const Zl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
24
|
+
setup(D, { 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", D.model);
|
|
30
|
+
const Y = R(!0), S = R(null), j = nl({
|
|
31
31
|
render() {
|
|
32
|
-
return
|
|
32
|
+
return dl("img", {
|
|
33
33
|
src: Zl
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
}),
|
|
36
|
+
}), z = nl({
|
|
37
37
|
render() {
|
|
38
|
-
return
|
|
38
|
+
return dl("img", {
|
|
39
39
|
src: Pl
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
}),
|
|
42
|
+
}), A = (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
|
-
const
|
|
48
|
-
|
|
47
|
+
const r = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
48
|
+
r && r.addEventListener("scroll", A), p("handleVisibleChange", s, a);
|
|
49
49
|
}
|
|
50
|
-
}, Z =
|
|
50
|
+
}, Z = nl({
|
|
51
51
|
render() {
|
|
52
|
-
return
|
|
52
|
+
return dl("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
|
-
(
|
|
63
|
-
if (
|
|
64
|
-
|
|
56
|
+
}), P = El(() => Object.assign([], D.options)), W = () => {
|
|
57
|
+
e.model = D.model;
|
|
58
|
+
}, U = (s, a, r) => {
|
|
59
|
+
var y;
|
|
60
|
+
a ? (_.value = !1, cl(() => {
|
|
61
|
+
var h;
|
|
62
|
+
(h = S.value) == null || h.validate((O) => {
|
|
63
|
+
if (O)
|
|
64
|
+
p(r || "submit", e.model, s);
|
|
65
65
|
else
|
|
66
66
|
return !1;
|
|
67
67
|
});
|
|
68
|
-
})) : a ? (
|
|
68
|
+
})) : a ? (r === "reset" && ((y = S.value) == null || y.resetFields()), p(r || "submit", e.model, s)) : (_.value = !1, p(r || "submit", e.model, s, S.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
|
-
|
|
74
|
+
p("radioChange", s, a);
|
|
75
|
+
}, $ = (s, a) => {
|
|
76
|
+
p("checkChange", s, a);
|
|
75
77
|
}, X = (s, a) => {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
if (i === 1) {
|
|
80
|
-
f("checkChange", s, a);
|
|
78
|
+
const r = e.model[a].length;
|
|
79
|
+
if (r === 1) {
|
|
80
|
+
p("checkChange", s, a);
|
|
81
81
|
return;
|
|
82
82
|
} else
|
|
83
|
-
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
s && (a == null ? void 0 : a.key) === "Enter" &&
|
|
88
|
-
}, l = (s, a,
|
|
89
|
-
var
|
|
90
|
-
(
|
|
83
|
+
r > 1 ? (e.model[a].shift(), p("checkChange", s, a)) : r < 1 && p("checkChange", s, a);
|
|
84
|
+
}, ll = (s, a, r) => {
|
|
85
|
+
U(s, a, r);
|
|
86
|
+
}, el = (s, a) => {
|
|
87
|
+
s && (a == null ? void 0 : a.key) === "Enter" && U(void 0, !0, "submit");
|
|
88
|
+
}, l = (s, a, r) => {
|
|
89
|
+
var y;
|
|
90
|
+
(y = S.value) == null || y.validateField(a), p("dateChange", s, a);
|
|
91
91
|
}, H = (s, a) => {
|
|
92
|
-
|
|
93
|
-
}, o = (s, a,
|
|
94
|
-
e.rareMaxlength = "",
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
},
|
|
100
|
-
var a = 0,
|
|
92
|
+
p("onOk", s, a);
|
|
93
|
+
}, o = (s, a, r) => {
|
|
94
|
+
e.rareMaxlength = "", p("inputBlur", s, a);
|
|
95
|
+
}, i = (s, a) => {
|
|
96
|
+
p("inputFocus", s, a);
|
|
97
|
+
}, t = (s, a, r) => {
|
|
98
|
+
r && (e.model[a] = e.model[a].toUpperCase()), p("inputChange", s, a);
|
|
99
|
+
}, v = (s) => {
|
|
100
|
+
var a = 0, r = 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, r++) : a++;
|
|
105
105
|
}
|
|
106
|
-
return
|
|
106
|
+
return r;
|
|
107
107
|
}
|
|
108
|
-
return
|
|
109
|
-
},
|
|
110
|
-
document.getElementById(a).addEventListener("input",
|
|
111
|
-
},
|
|
112
|
-
let
|
|
113
|
-
if (
|
|
114
|
-
let
|
|
115
|
-
|
|
108
|
+
return r;
|
|
109
|
+
}, q = (s, a, r) => {
|
|
110
|
+
document.getElementById(a).addEventListener("input", Dl(s, a, r));
|
|
111
|
+
}, Dl = (s, a, r) => {
|
|
112
|
+
let y = document.getElementById(a), h = s.target.value;
|
|
113
|
+
if (h) {
|
|
114
|
+
let O = null, C = Array.from(h);
|
|
115
|
+
h !== "" && h !== void 0 && r && (O = v(h), e.rareMaxlength = r + O), e.rareMaxlength - h.length === 1 && e.rareMaxlength++, h.length > r && C.length !== r && (e.model[a] = C.slice(0, r).join(""), yl.value += 1, C = Array.from(C.slice(0, r).join("")), O = v(h)), C.length < r && (e.rareMaxlength = r + O + (r - C.length) * 2), C.length === r && (e.rareMaxlength = r), (y == null ? void 0 : y.id) === a && y.setAttribute("maxlength", e.rareMaxlength), p("selectInput", s, a, r + O);
|
|
116
116
|
}
|
|
117
|
-
},
|
|
118
|
-
let
|
|
119
|
-
e.model[a] !== "" && e.model[a] !== void 0 &&
|
|
120
|
-
},
|
|
117
|
+
}, bl = (s, a, r) => {
|
|
118
|
+
let y = null, h = Array.from(e.model[a]);
|
|
119
|
+
e.model[a] !== "" && e.model[a] !== void 0 && r && (y = v(e.model[a]), e.rareMaxlength = r + y), e.rareMaxlength - e.model[a].length === 1 && e.rareMaxlength++, e.model[a].length > r && h.length !== r && (e.model[a] = h.slice(0, r).join(""), h = Array.from(h.slice(0, r).join("")), y = v(e.model[a])), h.length < r && (e.rareMaxlength = r + y + (r - h.length) * 2), h.length === r && (e.rareMaxlength = r), p("inputInput", s, a, r + 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
|
+
}), rl = () => {
|
|
126
126
|
let s = 0;
|
|
127
|
-
const { outerWidth: a, innerWidth:
|
|
128
|
-
return window.devicePixelRatio !== void 0 ? s = window.devicePixelRatio : a !== void 0 &&
|
|
129
|
-
},
|
|
130
|
-
var
|
|
127
|
+
const { outerWidth: a, innerWidth: r } = hl();
|
|
128
|
+
return window.devicePixelRatio !== void 0 ? s = window.devicePixelRatio : a !== void 0 && r !== void 0 && (s = a / r), s && (s = Math.round(s * 100)), s;
|
|
129
|
+
}, Nl = (s, a) => {
|
|
130
|
+
var r;
|
|
131
131
|
if (s) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
let y, h, O, C = rl();
|
|
133
|
+
if (a === "select" ? y = (r = document.querySelector("." + s)) == null ? void 0 : r.querySelector(".el-input__inner") : y = document.querySelector("#" + s), y) {
|
|
134
|
+
let K = y.getBoundingClientRect().width;
|
|
135
|
+
O = y.scrollWidth, K < 40 ? (h = K, Y.value = !(y != null && y.value)) : (h = C === 100 ? y.offsetWidth : Math.ceil(K), Y.value = O <= h), console.log("ChangeRatio()090901---domWidth----contentWidth-----", rl(), h, O);
|
|
136
|
+
} else
|
|
137
|
+
Y.value = !0;
|
|
135
138
|
}
|
|
136
|
-
},
|
|
137
|
-
const
|
|
138
|
-
return
|
|
139
|
-
}, Tl = (s) => {
|
|
140
|
-
var a;
|
|
141
|
-
(a = v.value) == null || a.resetFields(s);
|
|
139
|
+
}, Tl = (s, a) => {
|
|
140
|
+
const r = a.find((y) => y.code === s);
|
|
141
|
+
return r ? r.name : s;
|
|
142
142
|
}, Il = (s) => {
|
|
143
143
|
var a;
|
|
144
|
-
(a =
|
|
145
|
-
},
|
|
146
|
-
|
|
144
|
+
(a = S.value) == null || a.resetFields(s);
|
|
145
|
+
}, jl = (s) => {
|
|
146
|
+
var a;
|
|
147
|
+
(a = S.value) == null || a.clearValidate(s);
|
|
148
|
+
}, ol = R(!1), il = () => {
|
|
149
|
+
window.innerWidth < 768, ol.value = !1;
|
|
147
150
|
};
|
|
148
151
|
_l(() => {
|
|
149
152
|
var a;
|
|
150
|
-
W(), (a =
|
|
151
|
-
|
|
153
|
+
W(), (a = S.value) == null || a.resetFields(), window.addEventListener("resize", il), document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((r, y) => {
|
|
154
|
+
y % 2 !== 0 && (r.setAttribute("disabled", !0), r.setAttribute("color", "rgba(0, 0, 0, 0.88)"));
|
|
152
155
|
});
|
|
153
156
|
}), vl(() => {
|
|
154
|
-
window.removeEventListener("resize",
|
|
157
|
+
window.removeEventListener("resize", il);
|
|
155
158
|
}), Sl(
|
|
156
|
-
() =>
|
|
159
|
+
() => D.fieldList,
|
|
157
160
|
(s, a) => {
|
|
158
161
|
s !== a && W();
|
|
159
162
|
}
|
|
160
163
|
);
|
|
161
|
-
const
|
|
162
|
-
s === "" && (
|
|
163
|
-
},
|
|
164
|
-
const
|
|
164
|
+
const m = R(0), al = R(0), Ml = R(0), yl = R(0), Ol = (s) => {
|
|
165
|
+
s === "" && (m.value += 1);
|
|
166
|
+
}, kl = (s, a, r, y) => {
|
|
167
|
+
const h = {};
|
|
165
168
|
if (s.date() === a.date() && s.year() === a.year() && s.month() === a.month())
|
|
166
|
-
return
|
|
167
|
-
|
|
168
|
-
},
|
|
169
|
-
e.model[a] =
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
},
|
|
173
|
-
if (
|
|
174
|
-
return e.model[
|
|
175
|
-
s || (
|
|
169
|
+
return h.border = "1px solid #a26628", h.borderRadius = "4px", h;
|
|
170
|
+
p("openStatusNumber", r == null ? void 0 : r.range, y);
|
|
171
|
+
}, Al = (s, a, r) => {
|
|
172
|
+
e.model[a] = r.format("DD/MM/YYYY"), m.value += 1, l(s, a), p("getDefaultToady", r, a);
|
|
173
|
+
}, wl = (s, a) => {
|
|
174
|
+
p("calendarChange", s, a);
|
|
175
|
+
}, Cl = (s, a, r, y) => {
|
|
176
|
+
if (y)
|
|
177
|
+
return e.model[r] = y;
|
|
178
|
+
s || (m.value += 1), p("openChange", s, r, y);
|
|
176
179
|
};
|
|
177
|
-
|
|
178
|
-
const
|
|
179
|
-
s || (
|
|
180
|
-
document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((
|
|
181
|
-
|
|
182
|
-
}),
|
|
183
|
-
|
|
180
|
+
al.value = 1;
|
|
181
|
+
const zl = (s, a, r, y) => {
|
|
182
|
+
s || (al.value += 1, cl(() => {
|
|
183
|
+
document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((O, C) => {
|
|
184
|
+
C % 2 !== 0 && (O.setAttribute("disabled", !0), O.setAttribute("color", "rgba(0, 0, 0, 0.88)")), O.value && O.removeAttribute("disabled");
|
|
185
|
+
}), y !== void 0 && y[0] && y[1] && document.querySelectorAll(`.ant-picker-range.${r} .ant-picker-input input`).forEach((C, K) => {
|
|
186
|
+
K % 2 !== 0 && (C.removeAttribute("disabled"), C.setAttribute("color", "rgba(0, 0, 0, 0.88)"));
|
|
184
187
|
});
|
|
185
|
-
})),
|
|
186
|
-
},
|
|
187
|
-
s || (
|
|
188
|
+
})), p("openDatePickerDaterange", s, a, r, y);
|
|
189
|
+
}, xl = (s) => {
|
|
190
|
+
s || (Ml.value += 1), p("openDatetimerange", s);
|
|
188
191
|
};
|
|
189
192
|
return {
|
|
190
193
|
...Rl(e),
|
|
191
|
-
formRef:
|
|
192
|
-
isShowTooltip:
|
|
194
|
+
formRef: S,
|
|
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:
|
|
202
|
-
prefixIcon:
|
|
203
|
-
IconDropDown:
|
|
203
|
+
checkChange: $,
|
|
204
|
+
handleCheckedChange: X,
|
|
205
|
+
prefixIcon: j,
|
|
206
|
+
IconDropDown: z,
|
|
204
207
|
IconClear: Z,
|
|
205
|
-
handleClick:
|
|
206
|
-
handleKeyUp:
|
|
207
|
-
resetFieldsTest:
|
|
208
|
-
clearValidateTest:
|
|
208
|
+
handleClick: ll,
|
|
209
|
+
handleKeyUp: el,
|
|
210
|
+
resetFieldsTest: Il,
|
|
211
|
+
clearValidateTest: jl,
|
|
209
212
|
dateChange: l,
|
|
210
|
-
calendarChange:
|
|
213
|
+
calendarChange: wl,
|
|
211
214
|
onOk: H,
|
|
212
215
|
inputBlur: o,
|
|
213
|
-
inputFocus:
|
|
214
|
-
inputChange:
|
|
215
|
-
inputInput:
|
|
216
|
-
selectInput:
|
|
216
|
+
inputFocus: i,
|
|
217
|
+
inputChange: t,
|
|
218
|
+
inputInput: bl,
|
|
219
|
+
selectInput: q,
|
|
217
220
|
noFormRule: _,
|
|
218
|
-
phoneWrap:
|
|
219
|
-
pickerKey:
|
|
220
|
-
pickerKeyDaterange:
|
|
221
|
-
selectPickerKey:
|
|
222
|
-
datetimerange:
|
|
223
|
-
openDatePicker:
|
|
224
|
-
openDatePickerDaterange:
|
|
225
|
-
openDatetimerange:
|
|
221
|
+
phoneWrap: ol,
|
|
222
|
+
pickerKey: m,
|
|
223
|
+
pickerKeyDaterange: al,
|
|
224
|
+
selectPickerKey: yl,
|
|
225
|
+
datetimerange: Ml,
|
|
226
|
+
openDatePicker: Ol,
|
|
227
|
+
openDatePickerDaterange: zl,
|
|
228
|
+
openDatetimerange: xl,
|
|
226
229
|
// spaceRule,
|
|
227
|
-
handleVisibleChange:
|
|
228
|
-
handleScroll:
|
|
229
|
-
visibilityChange:
|
|
230
|
-
contentName:
|
|
231
|
-
openChange:
|
|
232
|
-
getCurrentStyle:
|
|
233
|
-
getDefaultToady:
|
|
230
|
+
handleVisibleChange: V,
|
|
231
|
+
handleScroll: A,
|
|
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
|
+
}, tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJ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Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
240
|
+
const Hl = (D, p) => {
|
|
241
|
+
const _ = D.__vccOpts || D;
|
|
242
|
+
for (const [e, Y] of p)
|
|
243
|
+
_[e] = Y;
|
|
241
244
|
return _;
|
|
242
|
-
}, E = (
|
|
245
|
+
}, E = (D) => (Wl("data-v-66080e2f"), D = D(), Bl(), D), 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", {
|
|
273
|
-
src: cl,
|
|
274
|
-
alt: ""
|
|
275
|
-
}, null, -1)), fe = /* @__PURE__ */ E(() => /* @__PURE__ */ D("img", {
|
|
272
|
+
}, te = ["onClick"], ue = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
276
273
|
src: tl,
|
|
277
274
|
alt: ""
|
|
278
|
-
}, null, -1)),
|
|
275
|
+
}, null, -1)), ge = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
279
276
|
src: ul,
|
|
280
277
|
alt: ""
|
|
278
|
+
}, null, -1)), fe = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
279
|
+
src: gl,
|
|
280
|
+
alt: ""
|
|
281
|
+
}, null, -1)), pe = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
282
|
+
src: fl,
|
|
283
|
+
alt: ""
|
|
281
284
|
}, null, -1)), De = {
|
|
282
285
|
key: 0,
|
|
283
286
|
class: "date_to"
|
|
284
287
|
}, be = {
|
|
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", {
|
|
291
|
-
src: cl,
|
|
292
|
-
alt: ""
|
|
293
|
-
}, null, -1)), Te = /* @__PURE__ */ E(() => /* @__PURE__ */ D("img", {
|
|
290
|
+
}, he = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
294
291
|
src: tl,
|
|
295
292
|
alt: ""
|
|
296
|
-
}, null, -1)),
|
|
293
|
+
}, null, -1)), Ne = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
297
294
|
src: ul,
|
|
298
295
|
alt: ""
|
|
296
|
+
}, null, -1)), Te = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
297
|
+
src: gl,
|
|
298
|
+
alt: ""
|
|
299
|
+
}, null, -1)), Ie = /* @__PURE__ */ E(() => /* @__PURE__ */ b("img", {
|
|
300
|
+
src: fl,
|
|
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
|
|
335
|
-
return n(),
|
|
336
|
+
function Ye(D, p, _, e, Y, S) {
|
|
337
|
+
const j = w("el-form-item"), z = w("el-input"), A = w("el-tooltip"), V = w("el-col"), Z = w("el-row"), P = w("el-radio"), W = w("el-radio-group"), U = w("el-checkbox"), Q = w("el-checkbox-group"), B = w("el-option"), G = w("el-select"), $ = w("a-date-picker"), X = w("a-range-picker"), ll = w("sinosoftCommonButton"), el = w("el-form");
|
|
338
|
+
return n(), c(el, 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, {
|
|
@@ -343,9 +346,9 @@ function Ye(p, f, _, e, F, v) {
|
|
|
343
346
|
"scroll-to-error": !0
|
|
344
347
|
}), {
|
|
345
348
|
default: d(() => [
|
|
346
|
-
|
|
349
|
+
f(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,42 +357,42 @@ function Ye(p, f, _, e, F, v) {
|
|
|
354
357
|
key: H
|
|
355
358
|
}, {
|
|
356
359
|
default: d(() => [
|
|
357
|
-
|
|
358
|
-
style:
|
|
360
|
+
b("div", {
|
|
361
|
+
style: N(l.style)
|
|
359
362
|
}, [
|
|
360
|
-
l.type === "title" ? (n(),
|
|
363
|
+
l.type === "title" ? (n(), c(j, { key: 0 }, {
|
|
361
364
|
default: d(() => [
|
|
362
|
-
|
|
363
|
-
|
|
365
|
+
b("div", ql, [
|
|
366
|
+
b("span", Kl, u(l.title), 1)
|
|
364
367
|
])
|
|
365
368
|
]),
|
|
366
369
|
_: 2
|
|
367
|
-
}, 1024)) : l.type === "boldTitle" ? (n(),
|
|
370
|
+
}, 1024)) : l.type === "boldTitle" ? (n(), c(j, { key: 1 }, {
|
|
368
371
|
default: d(() => [
|
|
369
|
-
|
|
370
|
-
|
|
372
|
+
b("div", Jl, [
|
|
373
|
+
b("span", Xl, u(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(j, {
|
|
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 ?
|
|
384
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
382
385
|
key: 0,
|
|
383
|
-
style:
|
|
386
|
+
style: N(l.labelStyle)
|
|
384
387
|
}, [
|
|
385
|
-
|
|
386
|
-
l.required ? (n(), M("span", ml, "*")) :
|
|
388
|
+
I(u(l.label) + " ", 1),
|
|
389
|
+
l.required ? (n(), M("span", ml, "*")) : g("", !0)
|
|
387
390
|
], 4))
|
|
388
391
|
]),
|
|
389
392
|
default: d(() => [
|
|
390
|
-
|
|
393
|
+
f(Z, { gutter: 20 }, {
|
|
391
394
|
default: d(() => [
|
|
392
|
-
|
|
395
|
+
f(V, {
|
|
393
396
|
xs: 24,
|
|
394
397
|
sm: 12,
|
|
395
398
|
md: 12,
|
|
@@ -397,14 +400,14 @@ 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(j, {
|
|
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,
|
|
404
407
|
class: "item-name item-name-top"
|
|
405
408
|
}, {
|
|
406
409
|
default: d(() => [
|
|
407
|
-
|
|
410
|
+
f(A, {
|
|
408
411
|
"popper-class": "input-tooltip",
|
|
409
412
|
effect: "light",
|
|
410
413
|
content: e.states.model[typeof l.field.nameEnFamily == "string" ? l.field.nameEnFamily : ""],
|
|
@@ -413,14 +416,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
413
416
|
"trigger-keys": []
|
|
414
417
|
}, {
|
|
415
418
|
default: d(() => [
|
|
416
|
-
|
|
419
|
+
f(z, {
|
|
417
420
|
id: l.field.nameEnFamily,
|
|
418
421
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
419
422
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
420
423
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily, "name"),
|
|
421
424
|
onInput: (o) => e.inputInput(o, l.field.nameEnFamily, l.maxlengthNameEnFamily),
|
|
422
425
|
onMouseenter: (o) => e.visibilityChange(l.field.nameEnFamily),
|
|
423
|
-
class:
|
|
426
|
+
class: T(
|
|
424
427
|
(l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
425
428
|
),
|
|
426
429
|
maxlength: l.maxlengthNameEnFamily ? e.states.rareMaxlength : "",
|
|
@@ -430,18 +433,18 @@ 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
|
|
437
440
|
}, 1032, ["content", "disabled"])
|
|
438
441
|
]),
|
|
439
442
|
_: 2
|
|
440
|
-
}, 1032, ["rules", "prop"])) :
|
|
443
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
441
444
|
]),
|
|
442
445
|
_: 2
|
|
443
446
|
}, 1024),
|
|
444
|
-
|
|
447
|
+
f(V, {
|
|
445
448
|
xs: 24,
|
|
446
449
|
sm: 12,
|
|
447
450
|
md: 12,
|
|
@@ -449,14 +452,14 @@ 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(j, {
|
|
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,
|
|
456
459
|
class: "item-name item-name-top"
|
|
457
460
|
}, {
|
|
458
461
|
default: d(() => [
|
|
459
|
-
|
|
462
|
+
f(A, {
|
|
460
463
|
"popper-class": "input-tooltip",
|
|
461
464
|
effect: "light",
|
|
462
465
|
content: e.states.model[typeof l.field.nameEn == "string" ? l.field.nameEn : ""],
|
|
@@ -465,7 +468,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
465
468
|
"trigger-keys": []
|
|
466
469
|
}, {
|
|
467
470
|
default: d(() => [
|
|
468
|
-
|
|
471
|
+
f(z, {
|
|
469
472
|
id: l.field.nameEn,
|
|
470
473
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
471
474
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
@@ -475,30 +478,30 @@ function Ye(p, f, _, e, F, v) {
|
|
|
475
478
|
maxlength: l.maxlengthNameEn ? e.states.rareMaxlength : "",
|
|
476
479
|
modelValue: e.states.model[l.field.nameEn],
|
|
477
480
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
478
|
-
class:
|
|
481
|
+
class: T(
|
|
479
482
|
(l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
480
483
|
),
|
|
481
484
|
readonly: l.readonly,
|
|
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
|
|
489
492
|
}, 1032, ["content", "disabled"])
|
|
490
493
|
]),
|
|
491
494
|
_: 2
|
|
492
|
-
}, 1032, ["rules", "prop"])) :
|
|
495
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
493
496
|
]),
|
|
494
497
|
_: 2
|
|
495
498
|
}, 1024)
|
|
496
499
|
]),
|
|
497
500
|
_: 2
|
|
498
501
|
}, 1024),
|
|
499
|
-
|
|
502
|
+
f(Z, { gutter: 20 }, {
|
|
500
503
|
default: d(() => [
|
|
501
|
-
|
|
504
|
+
f(V, {
|
|
502
505
|
xs: 24,
|
|
503
506
|
sm: 12,
|
|
504
507
|
md: 12,
|
|
@@ -506,14 +509,14 @@ 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(j, {
|
|
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,
|
|
513
516
|
class: "item-name item-name-bottom"
|
|
514
517
|
}, {
|
|
515
518
|
default: d(() => [
|
|
516
|
-
|
|
519
|
+
f(A, {
|
|
517
520
|
"popper-class": "input-tooltip",
|
|
518
521
|
effect: "light",
|
|
519
522
|
content: e.states.model[typeof l.field.nameChFamily == "string" ? l.field.nameChFamily : ""],
|
|
@@ -522,7 +525,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
522
525
|
"trigger-keys": []
|
|
523
526
|
}, {
|
|
524
527
|
default: d(() => [
|
|
525
|
-
|
|
528
|
+
f(z, {
|
|
526
529
|
id: l.field.nameChFamily,
|
|
527
530
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
528
531
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
@@ -534,7 +537,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
534
537
|
l.maxlengthNameChFamily
|
|
535
538
|
),
|
|
536
539
|
maxlength: l != null && l.maxlengthNameChFamily ? e.states.rareMaxlength : "",
|
|
537
|
-
class:
|
|
540
|
+
class: T(
|
|
538
541
|
(l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
539
542
|
),
|
|
540
543
|
modelValue: e.states.model[l.field.nameChFamily],
|
|
@@ -543,18 +546,18 @@ 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
|
|
550
553
|
}, 1032, ["content", "disabled"])
|
|
551
554
|
]),
|
|
552
555
|
_: 2
|
|
553
|
-
}, 1032, ["rules", "prop"])) :
|
|
556
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
554
557
|
]),
|
|
555
558
|
_: 2
|
|
556
559
|
}, 1024),
|
|
557
|
-
|
|
560
|
+
f(V, {
|
|
558
561
|
xs: 24,
|
|
559
562
|
sm: 12,
|
|
560
563
|
md: 12,
|
|
@@ -562,14 +565,14 @@ 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(j, {
|
|
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,
|
|
569
572
|
class: "item-name item-name-bottom"
|
|
570
573
|
}, {
|
|
571
574
|
default: d(() => [
|
|
572
|
-
|
|
575
|
+
f(A, {
|
|
573
576
|
"popper-class": "input-tooltip",
|
|
574
577
|
effect: "light",
|
|
575
578
|
content: e.states.model[typeof l.field.nameCh == "string" ? l.field.nameCh : ""],
|
|
@@ -578,14 +581,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
578
581
|
"trigger-keys": []
|
|
579
582
|
}, {
|
|
580
583
|
default: d(() => [
|
|
581
|
-
|
|
584
|
+
f(z, {
|
|
582
585
|
id: l.field.nameCh,
|
|
583
586
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
584
587
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
585
588
|
onChange: (o) => e.inputChange(o, l.field.nameCh, "name"),
|
|
586
589
|
onInput: (o) => e.inputInput(o, l.field.nameCh, l.maxlengthNameCh),
|
|
587
590
|
onMouseenter: (o) => e.visibilityChange(l.field.nameCh),
|
|
588
|
-
class:
|
|
591
|
+
class: T(
|
|
589
592
|
(l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
590
593
|
),
|
|
591
594
|
maxlength: l.maxlengthNameCh ? e.states.rareMaxlength : "",
|
|
@@ -595,14 +598,14 @@ 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
|
|
602
605
|
}, 1032, ["content", "disabled"])
|
|
603
606
|
]),
|
|
604
607
|
_: 2
|
|
605
|
-
}, 1032, ["rules", "prop"])) :
|
|
608
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
606
609
|
]),
|
|
607
610
|
_: 2
|
|
608
611
|
}, 1024)
|
|
@@ -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(j, {
|
|
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,16 +622,16 @@ function Ye(p, f, _, e, F, v) {
|
|
|
619
622
|
class: "radio_row"
|
|
620
623
|
}, {
|
|
621
624
|
label: d(() => [
|
|
622
|
-
l.slotLabelName ?
|
|
625
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
623
626
|
key: 0,
|
|
624
|
-
style:
|
|
627
|
+
style: N(l.labelStyle)
|
|
625
628
|
}, [
|
|
626
|
-
|
|
627
|
-
l.required ? (n(), M("span", $l, "*")) :
|
|
629
|
+
I(u(l.label) + " ", 1),
|
|
630
|
+
l.required ? (n(), M("span", $l, "*")) : g("", !0)
|
|
628
631
|
], 4))
|
|
629
632
|
]),
|
|
630
633
|
default: d(() => [
|
|
631
|
-
|
|
634
|
+
f(W, {
|
|
632
635
|
modelValue: e.states.model[l.field],
|
|
633
636
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
634
637
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -637,14 +640,14 @@ 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, (
|
|
641
|
-
label:
|
|
643
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (i) => (n(), c(P, {
|
|
644
|
+
label: i.code,
|
|
642
645
|
size: "large",
|
|
643
|
-
key:
|
|
646
|
+
key: i.code
|
|
644
647
|
}, {
|
|
645
648
|
default: d(() => [
|
|
646
|
-
|
|
647
|
-
src:
|
|
649
|
+
b("img", {
|
|
650
|
+
src: i.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: ""
|
|
650
653
|
}, null, 8, le)
|
|
@@ -657,44 +660,44 @@ 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(j, {
|
|
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,
|
|
664
667
|
prop: l.field,
|
|
665
|
-
class:
|
|
668
|
+
class: T([l.labelNode ? "radio_Note" : "rule_err"])
|
|
666
669
|
}, {
|
|
667
670
|
label: d(() => [
|
|
668
|
-
l.slotLabelName ?
|
|
671
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
669
672
|
key: 0,
|
|
670
|
-
style:
|
|
673
|
+
style: N(l.labelStyle)
|
|
671
674
|
}, [
|
|
672
|
-
|
|
673
|
-
l.required ? (n(), M("span", ee, "*")) :
|
|
675
|
+
I(u(l.label) + " ", 1),
|
|
676
|
+
l.required ? (n(), M("span", ee, "*")) : g("", !0)
|
|
674
677
|
], 4))
|
|
675
678
|
]),
|
|
676
679
|
default: d(() => [
|
|
677
|
-
|
|
680
|
+
f(W, {
|
|
678
681
|
modelValue: e.states.model[l.field],
|
|
679
682
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
680
683
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
681
684
|
onChange: (o) => e.radioChange(o, l.field),
|
|
682
|
-
style:
|
|
685
|
+
style: N(
|
|
683
686
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
684
687
|
),
|
|
685
|
-
class:
|
|
688
|
+
class: T(l.ways !== "column" ? "radio_row" : "")
|
|
686
689
|
}, {
|
|
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, (
|
|
693
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (i) => (n(), c(P, {
|
|
691
694
|
size: "large",
|
|
692
|
-
label:
|
|
693
|
-
key:
|
|
694
|
-
disabled:
|
|
695
|
+
label: i.code,
|
|
696
|
+
key: i.code,
|
|
697
|
+
disabled: i.isDisabled
|
|
695
698
|
}, {
|
|
696
699
|
default: d(() => [
|
|
697
|
-
|
|
700
|
+
I(u(i.name), 1)
|
|
698
701
|
]),
|
|
699
702
|
_: 2
|
|
700
703
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -704,39 +707,39 @@ 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(j, {
|
|
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,
|
|
711
714
|
prop: l.field,
|
|
712
|
-
class:
|
|
715
|
+
class: T([l.labelNode ? "radio_Note" : "rule_err"])
|
|
713
716
|
}, {
|
|
714
717
|
default: d(() => [
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
l.required ? (n(), M("span", ne, "*")) :
|
|
718
|
+
b("div", null, [
|
|
719
|
+
b("span", oe, u(l.labelBefore), 1),
|
|
720
|
+
b("span", ae, u(l.labelNode), 1),
|
|
721
|
+
l.required ? (n(), M("span", ne, "*")) : g("", !0)
|
|
719
722
|
]),
|
|
720
|
-
|
|
723
|
+
f(W, {
|
|
721
724
|
modelValue: e.states.model[l.field],
|
|
722
725
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
723
726
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
724
727
|
onChange: (o) => e.radioChange(o, l.field),
|
|
725
|
-
style:
|
|
728
|
+
style: N(
|
|
726
729
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
727
730
|
),
|
|
728
|
-
class:
|
|
731
|
+
class: T(l.ways !== "column" ? "radio_row" : "")
|
|
729
732
|
}, {
|
|
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, (
|
|
736
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (i) => (n(), c(P, {
|
|
734
737
|
size: "large",
|
|
735
|
-
label:
|
|
736
|
-
key:
|
|
738
|
+
label: i.code,
|
|
739
|
+
key: i.code
|
|
737
740
|
}, {
|
|
738
741
|
default: d(() => [
|
|
739
|
-
|
|
742
|
+
I(u(i.name), 1)
|
|
740
743
|
]),
|
|
741
744
|
_: 2
|
|
742
745
|
}, 1032, ["label"]))), 128))
|
|
@@ -746,41 +749,41 @@ 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(j, {
|
|
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 ?
|
|
759
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
757
760
|
key: 0,
|
|
758
|
-
style:
|
|
761
|
+
style: N(l.labelStyle)
|
|
759
762
|
}, [
|
|
760
|
-
|
|
761
|
-
l.required ? (n(), M("span", de, "*")) :
|
|
763
|
+
I(u(l.label) + " ", 1),
|
|
764
|
+
l.required ? (n(), M("span", de, "*")) : g("", !0)
|
|
762
765
|
], 4))
|
|
763
766
|
]),
|
|
764
767
|
default: d(() => [
|
|
765
|
-
|
|
768
|
+
f(Q, {
|
|
766
769
|
modelValue: e.states.model[l.field],
|
|
767
770
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
768
771
|
onChange: (o) => e.checkChange(o, l.field),
|
|
769
772
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
770
|
-
style:
|
|
773
|
+
style: N(
|
|
771
774
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
772
775
|
)
|
|
773
776
|
}, {
|
|
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, (
|
|
778
|
-
key:
|
|
779
|
-
label:
|
|
780
|
-
disabled:
|
|
780
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (i) => (n(), c(U, {
|
|
781
|
+
key: i.code,
|
|
782
|
+
label: i.code,
|
|
783
|
+
disabled: i.isDisabled
|
|
781
784
|
}, {
|
|
782
785
|
default: d(() => [
|
|
783
|
-
|
|
786
|
+
I(u(i.name), 1)
|
|
784
787
|
]),
|
|
785
788
|
_: 2
|
|
786
789
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -790,41 +793,41 @@ 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(j, {
|
|
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 ?
|
|
803
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
801
804
|
key: 0,
|
|
802
|
-
style:
|
|
805
|
+
style: N(l.labelStyle)
|
|
803
806
|
}, [
|
|
804
|
-
|
|
805
|
-
l.required ? (n(), M("span", se, "*")) :
|
|
807
|
+
I(u(l.label) + " ", 1),
|
|
808
|
+
l.required ? (n(), M("span", se, "*")) : g("", !0)
|
|
806
809
|
], 4))
|
|
807
810
|
]),
|
|
808
811
|
default: d(() => [
|
|
809
|
-
|
|
812
|
+
f(Q, {
|
|
810
813
|
modelValue: e.states.model[l.field],
|
|
811
814
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
812
815
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
813
816
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
814
|
-
style:
|
|
817
|
+
style: N(
|
|
815
818
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
816
819
|
)
|
|
817
820
|
}, {
|
|
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, (
|
|
822
|
-
key:
|
|
823
|
-
label:
|
|
824
|
-
disabled:
|
|
824
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (i) => (n(), c(U, {
|
|
825
|
+
key: i.code,
|
|
826
|
+
label: i.code,
|
|
827
|
+
disabled: i.isDisabled
|
|
825
828
|
}, {
|
|
826
829
|
default: d(() => [
|
|
827
|
-
|
|
830
|
+
I(u(i.name), 1)
|
|
828
831
|
]),
|
|
829
832
|
_: 2
|
|
830
833
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -834,38 +837,38 @@ 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(j, {
|
|
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,
|
|
841
844
|
prop: l.field,
|
|
842
|
-
class:
|
|
845
|
+
class: T([l.labelNode ? "radio_Note" : "rule_err"])
|
|
843
846
|
}, {
|
|
844
847
|
default: d(() => [
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
l.required ? (n(), M("span", Me, "*")) :
|
|
848
|
+
b("div", null, [
|
|
849
|
+
b("span", re, u(l.labelBefore), 1),
|
|
850
|
+
b("span", ie, u(l.labelNode), 1),
|
|
851
|
+
l.required ? (n(), M("span", Me, "*")) : g("", !0)
|
|
849
852
|
]),
|
|
850
|
-
|
|
853
|
+
f(Q, {
|
|
851
854
|
modelValue: e.states.model[l.field],
|
|
852
855
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
853
856
|
onChange: (o) => e.checkChange(o, l.field),
|
|
854
857
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
855
|
-
style:
|
|
858
|
+
style: N(
|
|
856
859
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
857
860
|
)
|
|
858
861
|
}, {
|
|
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, (
|
|
863
|
-
key:
|
|
864
|
-
label:
|
|
865
|
-
disabled:
|
|
865
|
+
(n(!0), M(x, null, L((o = l.options) == null ? void 0 : o.data, (i) => (n(), c(U, {
|
|
866
|
+
key: i.code,
|
|
867
|
+
label: i.code,
|
|
868
|
+
disabled: i.isDisabled
|
|
866
869
|
}, {
|
|
867
870
|
default: d(() => [
|
|
868
|
-
|
|
871
|
+
I(u(i.name), 1)
|
|
869
872
|
]),
|
|
870
873
|
_: 2
|
|
871
874
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -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(j, {
|
|
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,18 +886,18 @@ function Ye(p, f, _, e, F, v) {
|
|
|
883
886
|
prop: l.field
|
|
884
887
|
}, {
|
|
885
888
|
label: d(() => [
|
|
886
|
-
l.slotLabelName ?
|
|
889
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
887
890
|
key: 0,
|
|
888
|
-
style:
|
|
891
|
+
style: N(l.labelStyle)
|
|
889
892
|
}, [
|
|
890
|
-
|
|
891
|
-
l.required ? (n(), M("span", ye, "*")) :
|
|
893
|
+
I(u(l.label) + " ", 1),
|
|
894
|
+
l.required ? (n(), M("span", ye, "*")) : g("", !0)
|
|
892
895
|
], 4))
|
|
893
896
|
]),
|
|
894
897
|
default: d(() => {
|
|
895
898
|
var o;
|
|
896
899
|
return [
|
|
897
|
-
|
|
900
|
+
f(A, {
|
|
898
901
|
"popper-class": "select-tooltip",
|
|
899
902
|
effect: "light",
|
|
900
903
|
content: e.contentName(e.states.model[l.field], (o = l.options) == null ? void 0 : o.data),
|
|
@@ -903,20 +906,20 @@ function Ye(p, f, _, e, F, v) {
|
|
|
903
906
|
"trigger-keys": []
|
|
904
907
|
}, {
|
|
905
908
|
default: d(() => [
|
|
906
|
-
(n(),
|
|
907
|
-
class:
|
|
909
|
+
(n(), c(G, {
|
|
910
|
+
class: T(["tooltip-select", [l.field + (l.uniqueId || ""), (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]]),
|
|
908
911
|
key: e.selectPickerKey,
|
|
909
912
|
id: l.field,
|
|
910
|
-
onMouseenter: (
|
|
911
|
-
onChange: (
|
|
912
|
-
onBlur: (
|
|
913
|
-
onFocus: (
|
|
914
|
-
onInput: (
|
|
915
|
-
onVisibleChange: (
|
|
913
|
+
onMouseenter: (i) => e.visibilityChange(l.field + (l.uniqueId || ""), "select"),
|
|
914
|
+
onChange: (i) => e.selectChange(i, l.field),
|
|
915
|
+
onBlur: (i) => e.inputBlur(i, typeof l.field == "string" ? l.field : ""),
|
|
916
|
+
onFocus: (i) => e.selectFocus(i, l.field),
|
|
917
|
+
onInput: (i) => e.selectInput(i, typeof l.field == "string" ? l.field : "", l.maxlength),
|
|
918
|
+
onVisibleChange: (i) => e.handleVisibleChange(i, l.field),
|
|
916
919
|
"popper-class": l.selectPaging === !0 ? "single-select-loadmore" : "selectTriangles",
|
|
917
920
|
teleported: !1,
|
|
918
921
|
modelValue: e.states.model[l.field],
|
|
919
|
-
"onUpdate:modelValue": (
|
|
922
|
+
"onUpdate:modelValue": (i) => e.states.model[l.field] = i,
|
|
920
923
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
921
924
|
placeholder: l.placeholder,
|
|
922
925
|
clearable: l.clearable,
|
|
@@ -932,19 +935,19 @@ function Ye(p, f, _, e, F, v) {
|
|
|
932
935
|
"no-data-text": l.noDateText
|
|
933
936
|
}, {
|
|
934
937
|
default: d(() => {
|
|
935
|
-
var
|
|
938
|
+
var i;
|
|
936
939
|
return [
|
|
937
|
-
(n(!0), M(x, null, L((
|
|
938
|
-
key:
|
|
939
|
-
label:
|
|
940
|
-
value:
|
|
940
|
+
(n(!0), M(x, null, L((i = l.options) == null ? void 0 : i.data, (t) => (n(), c(B, {
|
|
941
|
+
key: t.code,
|
|
942
|
+
label: t.name,
|
|
943
|
+
value: t.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",
|
|
946
949
|
disabled: ""
|
|
947
|
-
}, null, 8, ["label"])) :
|
|
950
|
+
}, null, 8, ["label"])) : g("", !0)
|
|
948
951
|
];
|
|
949
952
|
}),
|
|
950
953
|
_: 2
|
|
@@ -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
|
-
style:
|
|
958
|
-
},
|
|
960
|
+
style: N(l.tipsBlowStyle)
|
|
961
|
+
}, u(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(j, {
|
|
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,16 +970,16 @@ function Ye(p, f, _, e, F, v) {
|
|
|
967
970
|
class: "date_item"
|
|
968
971
|
}, {
|
|
969
972
|
label: d(() => [
|
|
970
|
-
l.slotLabelName ?
|
|
973
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
971
974
|
key: 0,
|
|
972
|
-
style:
|
|
975
|
+
style: N(l.labelStyle)
|
|
973
976
|
}, [
|
|
974
|
-
|
|
975
|
-
l.required ? (n(), M("span", ce, "*")) :
|
|
977
|
+
I(u(l.label) + " ", 1),
|
|
978
|
+
l.required ? (n(), M("span", ce, "*")) : g("", !0)
|
|
976
979
|
], 4))
|
|
977
980
|
]),
|
|
978
981
|
default: d(() => [
|
|
979
|
-
(n(),
|
|
982
|
+
(n(), c($, {
|
|
980
983
|
size: "large",
|
|
981
984
|
allowClear: !!l.allowClear,
|
|
982
985
|
format: l.format || "DD/MM/YYYY",
|
|
@@ -994,13 +997,13 @@ function Ye(p, f, _, e, F, v) {
|
|
|
994
997
|
picker: l.picker,
|
|
995
998
|
placeholder: l.placeholder || l.label,
|
|
996
999
|
key: e.pickerKey,
|
|
997
|
-
class:
|
|
1000
|
+
class: T((l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
|
|
998
1001
|
presets: l == null ? void 0 : l.presets,
|
|
999
1002
|
onChange: (o) => e.dateChange(o, l.field ? l.field : "", l == null ? void 0 : l.defaultToady),
|
|
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
|
+
}, J({
|
|
1004
1007
|
superPrevIcon: d(() => [
|
|
1005
1008
|
ue
|
|
1006
1009
|
]),
|
|
@@ -1018,10 +1021,10 @@ function Ye(p, f, _, e, F, v) {
|
|
|
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
|
-
style:
|
|
1024
|
-
},
|
|
1026
|
+
style: N(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
1027
|
+
}, u(o.date()), 5)
|
|
1025
1028
|
]),
|
|
1026
1029
|
key: "0"
|
|
1027
1030
|
} : void 0,
|
|
@@ -1030,41 +1033,41 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1030
1033
|
fn: d(() => [
|
|
1031
1034
|
l != null && l.disabledDateToday ? (n(), M("span", {
|
|
1032
1035
|
key: 0,
|
|
1033
|
-
class:
|
|
1034
|
-
},
|
|
1035
|
-
l != null && l.disabledDateToday ?
|
|
1036
|
+
class: T([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"])
|
|
1037
|
+
}, u((l == null ? void 0 : l.todayLanguage) || "Today"), 3)) : g("", !0),
|
|
1038
|
+
l != null && l.disabledDateToday ? g("", !0) : (n(), M("span", {
|
|
1036
1039
|
key: 1,
|
|
1037
|
-
class:
|
|
1040
|
+
class: T([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
1038
1041
|
onClick: (o) => e.getDefaultToady(
|
|
1039
1042
|
e.states.model[l.field],
|
|
1040
1043
|
typeof l.field == "string" ? l.field : "",
|
|
1041
1044
|
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date()
|
|
1042
1045
|
)
|
|
1043
|
-
},
|
|
1046
|
+
}, u((l == null ? void 0 : l.todayLanguage) || "Today"), 11, te))
|
|
1044
1047
|
]),
|
|
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", De,
|
|
1051
|
+
l.showTo ? (n(), M("span", De, u(l.showTo), 1)) : g("", !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(j, {
|
|
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 ?
|
|
1061
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1059
1062
|
key: 0,
|
|
1060
|
-
style:
|
|
1063
|
+
style: N(l.labelStyle)
|
|
1061
1064
|
}, [
|
|
1062
|
-
|
|
1063
|
-
l.required ? (n(), M("span", be, "*")) :
|
|
1065
|
+
I(u(l.label) + " ", 1),
|
|
1066
|
+
l.required ? (n(), M("span", be, "*")) : g("", !0)
|
|
1064
1067
|
], 4))
|
|
1065
1068
|
]),
|
|
1066
1069
|
default: d(() => [
|
|
1067
|
-
(n(),
|
|
1070
|
+
(n(), c(X, {
|
|
1068
1071
|
"popper-class": "selectTriangles",
|
|
1069
1072
|
allowClear: !!l.allowClear,
|
|
1070
1073
|
defaultPickerValue: l == null ? void 0 : l.defaultPickerValue,
|
|
@@ -1081,7 +1084,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1081
1084
|
separator: l.separator || "To",
|
|
1082
1085
|
placeholder: l.placeholder,
|
|
1083
1086
|
size: "large",
|
|
1084
|
-
class:
|
|
1087
|
+
class: T(
|
|
1085
1088
|
[l.field, (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]
|
|
1086
1089
|
),
|
|
1087
1090
|
key: e.pickerKeyDaterange,
|
|
@@ -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
|
+
}, J({
|
|
1103
1106
|
superPrevIcon: d(() => [
|
|
1104
1107
|
he
|
|
1105
1108
|
]),
|
|
@@ -1116,34 +1119,34 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1116
1119
|
}, [
|
|
1117
1120
|
l != null && l.defaultToady ? {
|
|
1118
1121
|
name: "dateRender",
|
|
1119
|
-
fn: d(({ current: o, info:
|
|
1120
|
-
|
|
1122
|
+
fn: d(({ current: o, info: i }) => [
|
|
1123
|
+
b("div", {
|
|
1121
1124
|
class: "ant-picker-cell-inner",
|
|
1122
|
-
style:
|
|
1123
|
-
},
|
|
1125
|
+
style: N(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady, i, l.field))
|
|
1126
|
+
}, u(o.date()), 5)
|
|
1124
1127
|
]),
|
|
1125
1128
|
key: "0"
|
|
1126
1129
|
} : void 0
|
|
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(j, {
|
|
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 ?
|
|
1140
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1138
1141
|
key: 0,
|
|
1139
|
-
style:
|
|
1142
|
+
style: N(l.labelStyle)
|
|
1140
1143
|
}, [
|
|
1141
|
-
|
|
1142
|
-
l.required ? (n(), M("span", je, "*")) :
|
|
1144
|
+
I(u(l.label) + " ", 1),
|
|
1145
|
+
l.required ? (n(), M("span", je, "*")) : g("", !0)
|
|
1143
1146
|
], 4))
|
|
1144
1147
|
]),
|
|
1145
1148
|
default: d(() => [
|
|
1146
|
-
(n(),
|
|
1149
|
+
(n(), c(X, {
|
|
1147
1150
|
"popper-class": "selectTriangles",
|
|
1148
1151
|
allowClear: !!l.allowClear,
|
|
1149
1152
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1160,7 +1163,7 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1160
1163
|
separator: l.separator || "To",
|
|
1161
1164
|
placeholder: l.placeholder,
|
|
1162
1165
|
size: "large",
|
|
1163
|
-
class:
|
|
1166
|
+
class: T(
|
|
1164
1167
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1165
1168
|
),
|
|
1166
1169
|
key: e.datetimerange,
|
|
@@ -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(j, {
|
|
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,19 +1191,19 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1188
1191
|
class: "rule_err"
|
|
1189
1192
|
}, {
|
|
1190
1193
|
label: d(() => [
|
|
1191
|
-
l.slotLabelName ?
|
|
1194
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1192
1195
|
key: 0,
|
|
1193
|
-
style:
|
|
1196
|
+
style: N(l.labelStyle)
|
|
1194
1197
|
}, [
|
|
1195
|
-
|
|
1196
|
-
l.required ? (n(), M("span", Oe, "*")) :
|
|
1198
|
+
I(u(l.label) + " ", 1),
|
|
1199
|
+
l.required ? (n(), M("span", Oe, "*")) : g("", !0)
|
|
1197
1200
|
], 4))
|
|
1198
1201
|
]),
|
|
1199
1202
|
default: d(() => [
|
|
1200
|
-
|
|
1203
|
+
k(D.$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(j, {
|
|
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,20 +1211,100 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1208
1211
|
class: "phone_item"
|
|
1209
1212
|
}, {
|
|
1210
1213
|
label: d(() => [
|
|
1211
|
-
l.slotLabelName ?
|
|
1214
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1212
1215
|
key: 0,
|
|
1213
|
-
style:
|
|
1216
|
+
style: N(l.labelStyle)
|
|
1214
1217
|
}, [
|
|
1215
|
-
|
|
1216
|
-
l.required ? (n(), M("span", ke, "*")) :
|
|
1218
|
+
I(u(l.label) + " ", 1),
|
|
1219
|
+
l.required ? (n(), M("span", ke, "*")) : g("", !0)
|
|
1217
1220
|
], 4))
|
|
1218
1221
|
]),
|
|
1219
|
-
default: d(() =>
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1222
|
+
default: d(() => {
|
|
1223
|
+
var o;
|
|
1224
|
+
return [
|
|
1225
|
+
b("div", {
|
|
1226
|
+
class: T(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1227
|
+
}, [
|
|
1228
|
+
e.phoneWrap ? (n(), M("div", Ae, [
|
|
1229
|
+
f(A, {
|
|
1230
|
+
"popper-class": "input-tooltip",
|
|
1231
|
+
effect: "light",
|
|
1232
|
+
content: e.contentName(l.field.nationCode, (o = l.nationOptions) == null ? void 0 : o.data),
|
|
1233
|
+
placement: "top",
|
|
1234
|
+
disabled: e.isShowTooltip,
|
|
1235
|
+
"trigger-keys": []
|
|
1236
|
+
}, {
|
|
1237
|
+
default: d(() => {
|
|
1238
|
+
var i;
|
|
1239
|
+
return [
|
|
1240
|
+
l.field.nationCode ? (n(), c(G, {
|
|
1241
|
+
key: 0,
|
|
1242
|
+
class: T(["tooltip-select", [(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]]),
|
|
1243
|
+
id: l.field.nationCode,
|
|
1244
|
+
onMouseenter: (t) => e.visibilityChange(l.field.nationCode),
|
|
1245
|
+
"popper-class": "selectTriangles",
|
|
1246
|
+
teleported: !1,
|
|
1247
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1248
|
+
modelValue: e.states.model[l.field.nationCode],
|
|
1249
|
+
"onUpdate:modelValue": (t) => e.states.model[l.field.nationCode] = t,
|
|
1250
|
+
placeholder: ((i = l.nationOptions) == null ? void 0 : i.placeholder) || "",
|
|
1251
|
+
style: N("width:" + l.widthNation),
|
|
1252
|
+
"fit-input-width": !0,
|
|
1253
|
+
"suffix-icon": e.IconDropDown,
|
|
1254
|
+
"clear-icon": e.IconClear
|
|
1255
|
+
}, {
|
|
1256
|
+
default: d(() => {
|
|
1257
|
+
var t;
|
|
1258
|
+
return [
|
|
1259
|
+
(n(!0), M(x, null, L((t = l.nationOptions) == null ? void 0 : t.data, (v, q) => (n(), c(B, {
|
|
1260
|
+
label: v.name,
|
|
1261
|
+
value: v.code,
|
|
1262
|
+
key: q
|
|
1263
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1264
|
+
];
|
|
1265
|
+
}),
|
|
1266
|
+
_: 2
|
|
1267
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : g("", !0)
|
|
1268
|
+
];
|
|
1269
|
+
}),
|
|
1270
|
+
_: 2
|
|
1271
|
+
}, 1032, ["content", "disabled"]),
|
|
1272
|
+
we,
|
|
1273
|
+
f(A, {
|
|
1274
|
+
"popper-class": "input-tooltip",
|
|
1275
|
+
effect: "light",
|
|
1276
|
+
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
1277
|
+
placement: "top",
|
|
1278
|
+
disabled: e.isShowTooltip,
|
|
1279
|
+
"trigger-keys": []
|
|
1280
|
+
}, {
|
|
1281
|
+
default: d(() => {
|
|
1282
|
+
var i;
|
|
1283
|
+
return [
|
|
1284
|
+
l.field.areaCode ? (n(), c(z, {
|
|
1285
|
+
key: 0,
|
|
1286
|
+
class: T(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1287
|
+
id: l.field.areaCode,
|
|
1288
|
+
onMouseenter: (t) => e.visibilityChange(l.field.areaCode, "phone-input"),
|
|
1289
|
+
onBlur: (t) => e.inputBlur(t, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
1290
|
+
onFocus: (t) => e.inputFocus(t, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
1291
|
+
onChange: (t) => e.inputChange(t, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
1292
|
+
onInput: (t) => e.inputInput(t, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
1293
|
+
maxlength: l.maxlengthAreaCode || 5,
|
|
1294
|
+
formatter: (t) => t.replace(/[^\d]/g, ""),
|
|
1295
|
+
modelValue: e.states.model[l.field.areaCode],
|
|
1296
|
+
"onUpdate:modelValue": (t) => e.states.model[l.field.areaCode] = t,
|
|
1297
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1298
|
+
placeholder: ((i = l.areaOptions) == null ? void 0 : i.placeholder) || "",
|
|
1299
|
+
clearable: l.clearable
|
|
1300
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : g("", !0)
|
|
1301
|
+
];
|
|
1302
|
+
}),
|
|
1303
|
+
_: 2
|
|
1304
|
+
}, 1032, ["content", "disabled"]),
|
|
1305
|
+
Ce
|
|
1306
|
+
])) : g("", !0),
|
|
1307
|
+
f(A, {
|
|
1225
1308
|
"popper-class": "input-tooltip",
|
|
1226
1309
|
effect: "light",
|
|
1227
1310
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1230,42 +1313,45 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1230
1313
|
"trigger-keys": []
|
|
1231
1314
|
}, {
|
|
1232
1315
|
default: d(() => {
|
|
1233
|
-
var
|
|
1316
|
+
var i;
|
|
1234
1317
|
return [
|
|
1235
|
-
l.field.nationCode ? (n(),
|
|
1318
|
+
l.field.nationCode && !e.phoneWrap ? (n(), c(G, {
|
|
1236
1319
|
key: 0,
|
|
1237
|
-
class:
|
|
1320
|
+
class: T([
|
|
1321
|
+
"tooltip-select",
|
|
1322
|
+
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1323
|
+
]),
|
|
1238
1324
|
id: l.field.nationCode,
|
|
1239
|
-
onMouseenter: (
|
|
1325
|
+
onMouseenter: (t) => e.visibilityChange(l.field.nationCode),
|
|
1240
1326
|
"popper-class": "selectTriangles",
|
|
1241
1327
|
teleported: !1,
|
|
1242
1328
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1243
1329
|
modelValue: e.states.model[l.field.nationCode],
|
|
1244
|
-
"onUpdate:modelValue": (
|
|
1245
|
-
placeholder: ((
|
|
1246
|
-
style:
|
|
1330
|
+
"onUpdate:modelValue": (t) => e.states.model[l.field.nationCode] = t,
|
|
1331
|
+
placeholder: ((i = l.nationOptions) == null ? void 0 : i.placeholder) || "",
|
|
1332
|
+
style: N("width:" + l.widthNation),
|
|
1247
1333
|
"fit-input-width": !0,
|
|
1248
1334
|
"suffix-icon": e.IconDropDown,
|
|
1249
1335
|
"clear-icon": e.IconClear
|
|
1250
1336
|
}, {
|
|
1251
1337
|
default: d(() => {
|
|
1252
|
-
var
|
|
1338
|
+
var t;
|
|
1253
1339
|
return [
|
|
1254
|
-
(n(!0), M(x, null, L((
|
|
1255
|
-
label:
|
|
1256
|
-
value:
|
|
1257
|
-
key:
|
|
1340
|
+
(n(!0), M(x, null, L((t = l.nationOptions) == null ? void 0 : t.data, (v, q) => (n(), c(B, {
|
|
1341
|
+
label: v.name,
|
|
1342
|
+
value: v.code,
|
|
1343
|
+
key: q
|
|
1258
1344
|
}, null, 8, ["label", "value"]))), 128))
|
|
1259
1345
|
];
|
|
1260
1346
|
}),
|
|
1261
1347
|
_: 2
|
|
1262
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1348
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : g("", !0)
|
|
1263
1349
|
];
|
|
1264
1350
|
}),
|
|
1265
1351
|
_: 2
|
|
1266
1352
|
}, 1032, ["content", "disabled"]),
|
|
1267
|
-
|
|
1268
|
-
|
|
1353
|
+
e.phoneWrap ? g("", !0) : (n(), M("div", ze, " - ")),
|
|
1354
|
+
f(A, {
|
|
1269
1355
|
"popper-class": "input-tooltip",
|
|
1270
1356
|
effect: "light",
|
|
1271
1357
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1274,176 +1360,96 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1274
1360
|
"trigger-keys": []
|
|
1275
1361
|
}, {
|
|
1276
1362
|
default: d(() => {
|
|
1277
|
-
var
|
|
1363
|
+
var i;
|
|
1278
1364
|
return [
|
|
1279
|
-
l.field.areaCode ? (n(),
|
|
1365
|
+
l.field.areaCode && !e.phoneWrap ? (n(), c(z, {
|
|
1280
1366
|
key: 0,
|
|
1281
|
-
class:
|
|
1367
|
+
class: T([
|
|
1368
|
+
"tooltip-input",
|
|
1369
|
+
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1370
|
+
]),
|
|
1282
1371
|
id: l.field.areaCode,
|
|
1283
|
-
onMouseenter: (
|
|
1284
|
-
onBlur: (
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1372
|
+
onMouseenter: (t) => e.visibilityChange(l.field.areaCode, "phone-input"),
|
|
1373
|
+
onBlur: (t) => e.inputBlur(
|
|
1374
|
+
t,
|
|
1375
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1376
|
+
),
|
|
1377
|
+
onFocus: (t) => e.inputFocus(
|
|
1378
|
+
t,
|
|
1379
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1380
|
+
),
|
|
1381
|
+
onChange: (t) => e.inputChange(
|
|
1382
|
+
t,
|
|
1383
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1384
|
+
),
|
|
1385
|
+
onInput: (t) => e.inputInput(
|
|
1386
|
+
t,
|
|
1387
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1388
|
+
),
|
|
1288
1389
|
maxlength: l.maxlengthAreaCode || 5,
|
|
1289
|
-
formatter: (
|
|
1390
|
+
formatter: (t) => t.replace(/[^\d]/g, ""),
|
|
1290
1391
|
modelValue: e.states.model[l.field.areaCode],
|
|
1291
|
-
"onUpdate:modelValue": (
|
|
1392
|
+
"onUpdate:modelValue": (t) => e.states.model[l.field.areaCode] = t,
|
|
1292
1393
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1293
|
-
placeholder: ((
|
|
1394
|
+
placeholder: ((i = l.areaOptions) == null ? void 0 : i.placeholder) || "",
|
|
1395
|
+
style: N("width:" + l.widthArea),
|
|
1294
1396
|
clearable: l.clearable
|
|
1295
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) :
|
|
1397
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1296
1398
|
];
|
|
1297
1399
|
}),
|
|
1298
1400
|
_: 2
|
|
1299
1401
|
}, 1032, ["content", "disabled"]),
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
var o;
|
|
1312
|
-
return [
|
|
1313
|
-
l.field.nationCode && !e.phoneWrap ? (n(), y(G, {
|
|
1314
|
-
key: 0,
|
|
1315
|
-
class: N([
|
|
1316
|
-
"tooltip-select",
|
|
1317
|
-
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1318
|
-
]),
|
|
1319
|
-
id: l.field.nationCode,
|
|
1320
|
-
onMouseenter: (r) => e.visibilityChange(l.field.nationCode),
|
|
1321
|
-
"popper-class": "selectTriangles",
|
|
1322
|
-
teleported: !1,
|
|
1323
|
-
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1324
|
-
modelValue: e.states.model[l.field.nationCode],
|
|
1325
|
-
"onUpdate:modelValue": (r) => e.states.model[l.field.nationCode] = r,
|
|
1326
|
-
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1327
|
-
style: h("width:" + l.widthNation),
|
|
1328
|
-
"fit-input-width": !0,
|
|
1329
|
-
"suffix-icon": e.IconDropDown,
|
|
1330
|
-
"clear-icon": e.IconClear
|
|
1331
|
-
}, {
|
|
1332
|
-
default: d(() => {
|
|
1333
|
-
var r;
|
|
1334
|
-
return [
|
|
1335
|
-
(n(!0), M(x, null, L((r = l.nationOptions) == null ? void 0 : r.data, (z, S) => (n(), y(B, {
|
|
1336
|
-
label: z.name,
|
|
1337
|
-
value: z.code,
|
|
1338
|
-
key: S
|
|
1339
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
1340
|
-
];
|
|
1341
|
-
}),
|
|
1342
|
-
_: 2
|
|
1343
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : u("", !0)
|
|
1344
|
-
];
|
|
1345
|
-
}),
|
|
1346
|
-
_: 2
|
|
1347
|
-
}, 1032, ["content", "disabled"]),
|
|
1348
|
-
e.phoneWrap ? u("", !0) : (n(), M("div", ze, " - ")),
|
|
1349
|
-
g(k, {
|
|
1350
|
-
"popper-class": "input-tooltip",
|
|
1351
|
-
effect: "light",
|
|
1352
|
-
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
1353
|
-
placement: "top",
|
|
1354
|
-
disabled: e.isShowTooltip,
|
|
1355
|
-
"trigger-keys": []
|
|
1356
|
-
}, {
|
|
1357
|
-
default: d(() => {
|
|
1358
|
-
var o;
|
|
1359
|
-
return [
|
|
1360
|
-
l.field.areaCode && !e.phoneWrap ? (n(), y(C, {
|
|
1402
|
+
e.phoneWrap ? g("", !0) : (n(), M("div", xe, " - ")),
|
|
1403
|
+
f(A, {
|
|
1404
|
+
"popper-class": "input-tooltip",
|
|
1405
|
+
effect: "light",
|
|
1406
|
+
content: e.states.model[typeof l.field.phoneNumber == "string" ? l.field.phoneNumber : ""],
|
|
1407
|
+
placement: "top",
|
|
1408
|
+
disabled: e.isShowTooltip,
|
|
1409
|
+
"trigger-keys": []
|
|
1410
|
+
}, {
|
|
1411
|
+
default: d(() => [
|
|
1412
|
+
l.field.phoneNumber ? (n(), c(z, {
|
|
1361
1413
|
key: 0,
|
|
1362
|
-
class:
|
|
1414
|
+
class: T([
|
|
1363
1415
|
"tooltip-input",
|
|
1364
|
-
(l.isReadonly || l.
|
|
1416
|
+
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1365
1417
|
]),
|
|
1366
|
-
id: l.field.
|
|
1367
|
-
onMouseenter: (
|
|
1368
|
-
onBlur: (
|
|
1369
|
-
|
|
1370
|
-
typeof l.field == "string" ? l.field : l.field.
|
|
1418
|
+
id: l.field.phoneNumber,
|
|
1419
|
+
onMouseenter: (i) => e.visibilityChange(l.field.phoneNumber),
|
|
1420
|
+
onBlur: (i) => e.inputBlur(
|
|
1421
|
+
i,
|
|
1422
|
+
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1371
1423
|
),
|
|
1372
|
-
onFocus: (
|
|
1373
|
-
|
|
1374
|
-
typeof l.field == "string" ? l.field : l.field.
|
|
1424
|
+
onFocus: (i) => e.inputFocus(
|
|
1425
|
+
i,
|
|
1426
|
+
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1375
1427
|
),
|
|
1376
|
-
onChange: (
|
|
1377
|
-
|
|
1378
|
-
typeof l.field == "string" ? l.field : l.field.
|
|
1428
|
+
onChange: (i) => e.inputChange(
|
|
1429
|
+
i,
|
|
1430
|
+
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1379
1431
|
),
|
|
1380
|
-
onInput: (
|
|
1381
|
-
|
|
1382
|
-
typeof l.field == "string" ? l.field : l.field.
|
|
1432
|
+
onInput: (i) => e.inputInput(
|
|
1433
|
+
i,
|
|
1434
|
+
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1383
1435
|
),
|
|
1384
|
-
maxlength: l.
|
|
1385
|
-
formatter: (
|
|
1386
|
-
modelValue: e.states.model[l.field.
|
|
1387
|
-
"onUpdate:modelValue": (
|
|
1388
|
-
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.
|
|
1389
|
-
placeholder:
|
|
1390
|
-
style:
|
|
1436
|
+
maxlength: l.maxlength || 20,
|
|
1437
|
+
formatter: (i) => i.replace(/[^\d]/g, ""),
|
|
1438
|
+
modelValue: e.states.model[l.field.phoneNumber],
|
|
1439
|
+
"onUpdate:modelValue": (i) => e.states.model[l.field.phoneNumber] = i,
|
|
1440
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
|
|
1441
|
+
placeholder: l.placeholder || "",
|
|
1442
|
+
style: N("width:" + l.widthPhoneNumber),
|
|
1391
1443
|
clearable: l.clearable
|
|
1392
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1393
|
-
]
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
"popper-class": "input-tooltip",
|
|
1400
|
-
effect: "light",
|
|
1401
|
-
content: e.states.model[typeof l.field.phoneNumber == "string" ? l.field.phoneNumber : ""],
|
|
1402
|
-
placement: "top",
|
|
1403
|
-
disabled: e.isShowTooltip,
|
|
1404
|
-
"trigger-keys": []
|
|
1405
|
-
}, {
|
|
1406
|
-
default: d(() => [
|
|
1407
|
-
l.field.phoneNumber ? (n(), y(C, {
|
|
1408
|
-
key: 0,
|
|
1409
|
-
class: N([
|
|
1410
|
-
"tooltip-input",
|
|
1411
|
-
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1412
|
-
]),
|
|
1413
|
-
id: l.field.phoneNumber,
|
|
1414
|
-
onMouseenter: (o) => e.visibilityChange(l.field.phoneNumber),
|
|
1415
|
-
onBlur: (o) => e.inputBlur(
|
|
1416
|
-
o,
|
|
1417
|
-
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1418
|
-
),
|
|
1419
|
-
onFocus: (o) => e.inputFocus(
|
|
1420
|
-
o,
|
|
1421
|
-
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1422
|
-
),
|
|
1423
|
-
onChange: (o) => e.inputChange(
|
|
1424
|
-
o,
|
|
1425
|
-
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1426
|
-
),
|
|
1427
|
-
onInput: (o) => e.inputInput(
|
|
1428
|
-
o,
|
|
1429
|
-
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1430
|
-
),
|
|
1431
|
-
maxlength: l.maxlength || 20,
|
|
1432
|
-
formatter: (o) => o.replace(/[^\d]/g, ""),
|
|
1433
|
-
modelValue: e.states.model[l.field.phoneNumber],
|
|
1434
|
-
"onUpdate:modelValue": (o) => e.states.model[l.field.phoneNumber] = o,
|
|
1435
|
-
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
|
|
1436
|
-
placeholder: l.placeholder || "",
|
|
1437
|
-
style: h("width:" + l.widthPhoneNumber),
|
|
1438
|
-
clearable: l.clearable
|
|
1439
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : u("", !0)
|
|
1440
|
-
]),
|
|
1441
|
-
_: 2
|
|
1442
|
-
}, 1032, ["content", "disabled"])
|
|
1443
|
-
], 2)
|
|
1444
|
-
]),
|
|
1444
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1445
|
+
]),
|
|
1446
|
+
_: 2
|
|
1447
|
+
}, 1032, ["content", "disabled"])
|
|
1448
|
+
], 2)
|
|
1449
|
+
];
|
|
1450
|
+
}),
|
|
1445
1451
|
_: 2
|
|
1446
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (n(),
|
|
1452
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (n(), c(j, {
|
|
1447
1453
|
key: 15,
|
|
1448
1454
|
label: l.label
|
|
1449
1455
|
}, {
|
|
@@ -1451,23 +1457,23 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1451
1457
|
Le
|
|
1452
1458
|
]),
|
|
1453
1459
|
_: 2
|
|
1454
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (n(),
|
|
1460
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (n(), c(j, {
|
|
1455
1461
|
key: 16,
|
|
1456
1462
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1457
1463
|
prop: l.field,
|
|
1458
|
-
class:
|
|
1464
|
+
class: T(l.prepend ? "input-item" : "")
|
|
1459
1465
|
}, {
|
|
1460
1466
|
label: d(() => [
|
|
1461
|
-
l.slotLabelName ?
|
|
1467
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1462
1468
|
key: 0,
|
|
1463
|
-
style:
|
|
1469
|
+
style: N(l.labelStyle)
|
|
1464
1470
|
}, [
|
|
1465
|
-
|
|
1466
|
-
l.required ? (n(), M("span", Ee, "*")) :
|
|
1471
|
+
I(u(l.label) + " ", 1),
|
|
1472
|
+
l.required ? (n(), M("span", Ee, "*")) : g("", !0)
|
|
1467
1473
|
], 4))
|
|
1468
1474
|
]),
|
|
1469
1475
|
default: d(() => [
|
|
1470
|
-
|
|
1476
|
+
f(z, {
|
|
1471
1477
|
onBlur: (o) => e.inputBlur(
|
|
1472
1478
|
o,
|
|
1473
1479
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1496,45 +1502,45 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1496
1502
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1497
1503
|
showPassword: l.showPassword,
|
|
1498
1504
|
clearable: l.clearable,
|
|
1499
|
-
class:
|
|
1505
|
+
class: T(
|
|
1500
1506
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1501
1507
|
),
|
|
1502
|
-
onKeyup:
|
|
1503
|
-
},
|
|
1508
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1509
|
+
}, J({ _: 2 }, [
|
|
1504
1510
|
l.prepend ? {
|
|
1505
1511
|
name: "prepend",
|
|
1506
1512
|
fn: d(() => [
|
|
1507
|
-
|
|
1513
|
+
I(u(l.prepend), 1)
|
|
1508
1514
|
]),
|
|
1509
1515
|
key: "0"
|
|
1510
1516
|
} : void 0,
|
|
1511
1517
|
l.append ? {
|
|
1512
1518
|
name: "append",
|
|
1513
1519
|
fn: d(() => [
|
|
1514
|
-
|
|
1520
|
+
I(u(l.append), 1)
|
|
1515
1521
|
]),
|
|
1516
1522
|
key: "1"
|
|
1517
1523
|
} : void 0
|
|
1518
1524
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1519
1525
|
]),
|
|
1520
1526
|
_: 2
|
|
1521
|
-
}, 1032, ["rules", "prop", "class"])) : l.type === "textarea" && typeof l.field == "string" ? (n(),
|
|
1527
|
+
}, 1032, ["rules", "prop", "class"])) : l.type === "textarea" && typeof l.field == "string" ? (n(), c(j, {
|
|
1522
1528
|
key: 17,
|
|
1523
1529
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1524
1530
|
prop: l.field,
|
|
1525
|
-
class:
|
|
1531
|
+
class: T(l.prepend ? "input-item" : "")
|
|
1526
1532
|
}, {
|
|
1527
1533
|
label: d(() => [
|
|
1528
|
-
l.slotLabelName ?
|
|
1534
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1529
1535
|
key: 0,
|
|
1530
|
-
style:
|
|
1536
|
+
style: N(l.labelStyle)
|
|
1531
1537
|
}, [
|
|
1532
|
-
|
|
1533
|
-
l.required ? (n(), M("span", _e, "*")) :
|
|
1538
|
+
I(u(l.label) + " ", 1),
|
|
1539
|
+
l.required ? (n(), M("span", _e, "*")) : g("", !0)
|
|
1534
1540
|
], 4))
|
|
1535
1541
|
]),
|
|
1536
1542
|
default: d(() => [
|
|
1537
|
-
|
|
1543
|
+
f(A, {
|
|
1538
1544
|
"popper-class": "input-tooltip",
|
|
1539
1545
|
effect: "light",
|
|
1540
1546
|
content: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
@@ -1543,9 +1549,9 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1543
1549
|
"trigger-keys": []
|
|
1544
1550
|
}, {
|
|
1545
1551
|
default: d(() => [
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
class:
|
|
1552
|
+
b("div", ve, [
|
|
1553
|
+
f(z, {
|
|
1554
|
+
class: T(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1549
1555
|
id: l.field,
|
|
1550
1556
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
1551
1557
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1563,51 +1569,51 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1563
1569
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1564
1570
|
showPassword: l.showPassword,
|
|
1565
1571
|
clearable: l.clearable,
|
|
1566
|
-
onKeyup:
|
|
1567
|
-
},
|
|
1572
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1573
|
+
}, J({ _: 2 }, [
|
|
1568
1574
|
l.prepend ? {
|
|
1569
1575
|
name: "prepend",
|
|
1570
1576
|
fn: d(() => [
|
|
1571
|
-
|
|
1577
|
+
I(u(l.prepend), 1)
|
|
1572
1578
|
]),
|
|
1573
1579
|
key: "0"
|
|
1574
1580
|
} : void 0,
|
|
1575
1581
|
l.append ? {
|
|
1576
1582
|
name: "append",
|
|
1577
1583
|
fn: d(() => [
|
|
1578
|
-
|
|
1584
|
+
I(u(l.append), 1)
|
|
1579
1585
|
]),
|
|
1580
1586
|
key: "1"
|
|
1581
1587
|
} : void 0
|
|
1582
1588
|
]), 1032, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"]),
|
|
1583
1589
|
l.showWordLimit ? (n(), M("div", Se, [
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
])) :
|
|
1590
|
+
b("span", null, u(l.textareaLength || 0), 1),
|
|
1591
|
+
I("/"),
|
|
1592
|
+
b("span", null, u(l.maxlength), 1)
|
|
1593
|
+
])) : g("", !0)
|
|
1588
1594
|
])
|
|
1589
1595
|
]),
|
|
1590
1596
|
_: 2
|
|
1591
1597
|
}, 1032, ["content", "disabled"])
|
|
1592
1598
|
]),
|
|
1593
1599
|
_: 2
|
|
1594
|
-
}, 1032, ["rules", "prop", "class"])) : (n(),
|
|
1600
|
+
}, 1032, ["rules", "prop", "class"])) : (n(), c(j, {
|
|
1595
1601
|
key: 18,
|
|
1596
1602
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1597
1603
|
prop: l.field,
|
|
1598
|
-
class:
|
|
1604
|
+
class: T(l.prepend ? "input-item" : "")
|
|
1599
1605
|
}, {
|
|
1600
1606
|
label: d(() => [
|
|
1601
|
-
l.slotLabelName ?
|
|
1607
|
+
l.slotLabelName ? k(D.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), M("div", {
|
|
1602
1608
|
key: 0,
|
|
1603
|
-
style:
|
|
1609
|
+
style: N(l.labelStyle)
|
|
1604
1610
|
}, [
|
|
1605
|
-
|
|
1606
|
-
l.required ? (n(), M("span", Re, "*")) :
|
|
1611
|
+
I(u(l.label) + " ", 1),
|
|
1612
|
+
l.required ? (n(), M("span", Re, "*")) : g("", !0)
|
|
1607
1613
|
], 4))
|
|
1608
1614
|
]),
|
|
1609
1615
|
default: d(() => [
|
|
1610
|
-
|
|
1616
|
+
f(A, {
|
|
1611
1617
|
"popper-class": "input-tooltip",
|
|
1612
1618
|
effect: "light",
|
|
1613
1619
|
content: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
@@ -1616,8 +1622,8 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1616
1622
|
"trigger-keys": []
|
|
1617
1623
|
}, {
|
|
1618
1624
|
default: d(() => [
|
|
1619
|
-
|
|
1620
|
-
class:
|
|
1625
|
+
f(z, {
|
|
1626
|
+
class: T(["tooltip-input", [(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]]),
|
|
1621
1627
|
id: l.field + (l.uniqueId || ""),
|
|
1622
1628
|
onMouseenter: (o) => e.visibilityChange(l.field + (l.uniqueId || "")),
|
|
1623
1629
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1635,19 +1641,19 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1635
1641
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1636
1642
|
showPassword: l.showPassword,
|
|
1637
1643
|
clearable: l.clearable,
|
|
1638
|
-
onKeyup:
|
|
1639
|
-
},
|
|
1644
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1645
|
+
}, J({ _: 2 }, [
|
|
1640
1646
|
l.prepend ? {
|
|
1641
1647
|
name: "prepend",
|
|
1642
1648
|
fn: d(() => [
|
|
1643
|
-
|
|
1649
|
+
I(u(l.prepend), 1)
|
|
1644
1650
|
]),
|
|
1645
1651
|
key: "0"
|
|
1646
1652
|
} : void 0,
|
|
1647
1653
|
l.append ? {
|
|
1648
1654
|
name: "append",
|
|
1649
1655
|
fn: d(() => [
|
|
1650
|
-
|
|
1656
|
+
I(u(l.append), 1)
|
|
1651
1657
|
]),
|
|
1652
1658
|
key: "1"
|
|
1653
1659
|
} : void 0
|
|
@@ -1667,14 +1673,14 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1667
1673
|
]),
|
|
1668
1674
|
_: 3
|
|
1669
1675
|
}),
|
|
1670
|
-
|
|
1676
|
+
f(j, { class: "btnsItem" }, {
|
|
1671
1677
|
default: d(() => [
|
|
1672
|
-
|
|
1678
|
+
k(D.$slots, "buttons", {
|
|
1673
1679
|
model: _.model,
|
|
1674
1680
|
onBtnClick: e.onSubmit
|
|
1675
1681
|
}, () => [
|
|
1676
1682
|
(n(!0), M(x, null, L(e.formOptions.btnConfig, (l, H) => (n(), M("div", { key: H }, [
|
|
1677
|
-
l.isShow ? (n(),
|
|
1683
|
+
l.isShow ? (n(), c(ll, {
|
|
1678
1684
|
key: 0,
|
|
1679
1685
|
btnCode: l.btnCode,
|
|
1680
1686
|
plain: l.plain,
|
|
@@ -1697,15 +1703,15 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1697
1703
|
size: l.size,
|
|
1698
1704
|
fontSize: l.fontSize,
|
|
1699
1705
|
fontWeight: l.fontWeight,
|
|
1700
|
-
style:
|
|
1701
|
-
class:
|
|
1706
|
+
style: N(l.style),
|
|
1707
|
+
class: T(l.class),
|
|
1702
1708
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1703
1709
|
}, {
|
|
1704
1710
|
default: d(() => [
|
|
1705
|
-
|
|
1711
|
+
I(u(l.name), 1)
|
|
1706
1712
|
]),
|
|
1707
1713
|
_: 2
|
|
1708
|
-
}, 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"])) :
|
|
1714
|
+
}, 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)
|
|
1709
1715
|
]))), 128))
|
|
1710
1716
|
], !0)
|
|
1711
1717
|
]),
|
|
@@ -1715,11 +1721,11 @@ function Ye(p, f, _, e, F, v) {
|
|
|
1715
1721
|
_: 3
|
|
1716
1722
|
}, 16, ["model", "label-position"]);
|
|
1717
1723
|
}
|
|
1718
|
-
const
|
|
1719
|
-
function
|
|
1720
|
-
|
|
1724
|
+
const pl = /* @__PURE__ */ Hl(Gl, [["render", Ye], ["__scopeId", "data-v-66080e2f"]]);
|
|
1725
|
+
function sl(D, p = {}) {
|
|
1726
|
+
sl.installed || (sl.installed = !0, D.component("common-el-form", pl));
|
|
1721
1727
|
}
|
|
1722
|
-
|
|
1728
|
+
pl.install = sl;
|
|
1723
1729
|
export {
|
|
1724
|
-
|
|
1730
|
+
pl as default
|
|
1725
1731
|
};
|