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