sinosoft-common-form 2.8.3 → 2.8.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 +365 -361
- 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 U, reactive as Vl, shallowRef as il, h as el, computed as Ul, onMounted as Fl, onBeforeUnmount as Wl, watch as Bl, toRefs as Zl, nextTick as gl, resolveComponent as x, openBlock as
|
|
1
|
+
import { ref as U, reactive as Vl, shallowRef as il, h as el, computed as Ul, onMounted as Fl, onBeforeUnmount as Wl, watch as Bl, toRefs as Zl, nextTick as gl, resolveComponent as x, openBlock as d, createBlock as c, mergeProps as Pl, withModifiers as Ql, withCtx as s, createVNode as f, createElementBlock as M, Fragment as E, renderList as _, withDirectives as Gl, createElementVNode as h, normalizeStyle as T, toDisplayString as t, createTextVNode as j, createCommentVNode as g, renderSlot as w, normalizeClass as I, withKeys as B, createSlots as m, vShow as Hl, pushScopeId as ql, popScopeId as Kl } from "vue";
|
|
2
2
|
const Jl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1Mj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xMjMgMTMuMjY2MkM2LjYyNjczIDEzLjI2NjIgNi41NTY3MSAxMy4xOTgxIDYuNTU2NzEgMTMuMTEwNkM2LjU1NjcxIDEzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", ml = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -21,7 +21,7 @@ const Jl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
24
|
+
setup(N, { emit: p }) {
|
|
25
25
|
const S = U(!0), e = Vl({
|
|
26
26
|
model: {},
|
|
27
27
|
rareMaxlength: null
|
|
@@ -37,13 +37,13 @@ const Jl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
37
37
|
src: Xl
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
}), C = (
|
|
41
|
-
const a =
|
|
40
|
+
}), C = (n) => {
|
|
41
|
+
const a = n.target;
|
|
42
42
|
a.scrollTop + a.clientHeight + 1 >= a.scrollHeight && p("selectChangeScroll");
|
|
43
|
-
}, F = (
|
|
44
|
-
if (
|
|
43
|
+
}, F = (n, a) => {
|
|
44
|
+
if (n) {
|
|
45
45
|
const r = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
46
|
-
r && r.addEventListener("scroll", C), p("handleVisibleChange",
|
|
46
|
+
r && r.addEventListener("scroll", C), p("handleVisibleChange", n, a);
|
|
47
47
|
}
|
|
48
48
|
}, G = il({
|
|
49
49
|
render() {
|
|
@@ -53,101 +53,101 @@ const Jl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
53
53
|
}
|
|
54
54
|
}), H = el("img", {
|
|
55
55
|
src: fl
|
|
56
|
-
}), q = Ul(() => Object.assign([],
|
|
57
|
-
e.model =
|
|
58
|
-
}, W = (
|
|
56
|
+
}), q = Ul(() => Object.assign([], N.options)), Z = () => {
|
|
57
|
+
e.model = N.model;
|
|
58
|
+
}, W = (n, a, r) => {
|
|
59
59
|
var u;
|
|
60
60
|
a ? (S.value = !1, gl(() => {
|
|
61
|
-
var
|
|
62
|
-
(
|
|
61
|
+
var b;
|
|
62
|
+
(b = Y.value) == null || b.validate((k) => {
|
|
63
63
|
if (k)
|
|
64
|
-
p(r || "submit", e.model,
|
|
64
|
+
p(r || "submit", e.model, n);
|
|
65
65
|
else
|
|
66
66
|
return !1;
|
|
67
67
|
});
|
|
68
|
-
})) : a ? (r === "reset" && ((u = Y.value) == null || u.resetFields()), p(r || "submit", e.model,
|
|
69
|
-
}, P = (
|
|
70
|
-
p("selectChange",
|
|
71
|
-
}, K = (
|
|
72
|
-
p("selectFocus",
|
|
73
|
-
}, ol = (
|
|
74
|
-
p("radioChange",
|
|
75
|
-
}, $ = (
|
|
76
|
-
p("checkChange",
|
|
77
|
-
}, al = (
|
|
68
|
+
})) : a ? (r === "reset" && ((u = Y.value) == null || u.resetFields()), p(r || "submit", e.model, n)) : (S.value = !1, p(r || "submit", e.model, n, Y.value));
|
|
69
|
+
}, P = (n, a) => {
|
|
70
|
+
p("selectChange", n, a);
|
|
71
|
+
}, K = (n, a) => {
|
|
72
|
+
p("selectFocus", n, a);
|
|
73
|
+
}, ol = (n, a) => {
|
|
74
|
+
p("radioChange", n, a);
|
|
75
|
+
}, $ = (n, a) => {
|
|
76
|
+
p("checkChange", n, a);
|
|
77
|
+
}, al = (n, a) => {
|
|
78
78
|
const r = e.model[a].length;
|
|
79
79
|
if (r === 1) {
|
|
80
|
-
p("checkChange",
|
|
80
|
+
p("checkChange", n, a);
|
|
81
81
|
return;
|
|
82
82
|
} else
|
|
83
|
-
r > 1 ? (e.model[a].shift(), p("checkChange",
|
|
84
|
-
}, nl = (
|
|
85
|
-
W(
|
|
86
|
-
}, l = (
|
|
87
|
-
|
|
88
|
-
}, Q = (
|
|
89
|
-
var
|
|
90
|
-
(
|
|
91
|
-
}, o = (
|
|
92
|
-
p("onOk",
|
|
93
|
-
}, i = (
|
|
94
|
-
e.rareMaxlength = "", p("inputBlur",
|
|
95
|
-
}, D = (
|
|
96
|
-
p("inputFocus",
|
|
97
|
-
}, y = (
|
|
98
|
-
r && (e.model[a] = e.model[a].toUpperCase()), p("inputChange",
|
|
99
|
-
}, R = (
|
|
83
|
+
r > 1 ? (e.model[a].shift(), p("checkChange", n, a)) : r < 1 && p("checkChange", n, a);
|
|
84
|
+
}, nl = (n, a, r) => {
|
|
85
|
+
W(n, a, r);
|
|
86
|
+
}, l = (n, a) => {
|
|
87
|
+
n && (a == null ? void 0 : a.key) === "Enter" && W(void 0, !0, "submit");
|
|
88
|
+
}, Q = (n, a, r, u) => {
|
|
89
|
+
var b;
|
|
90
|
+
(b = Y.value) == null || b.validateField(a), p("dateChange", n, a);
|
|
91
|
+
}, o = (n, a) => {
|
|
92
|
+
p("onOk", n, a);
|
|
93
|
+
}, i = (n, a, r) => {
|
|
94
|
+
e.rareMaxlength = "", p("inputBlur", n, a);
|
|
95
|
+
}, D = (n, a) => {
|
|
96
|
+
p("inputFocus", n, a);
|
|
97
|
+
}, y = (n, a, r) => {
|
|
98
|
+
r && (e.model[a] = e.model[a].toUpperCase()), p("inputChange", n, a);
|
|
99
|
+
}, R = (n) => {
|
|
100
100
|
var a = 0, r = 0;
|
|
101
|
-
if (
|
|
102
|
-
for (; a <
|
|
103
|
-
var u =
|
|
101
|
+
if (n) {
|
|
102
|
+
for (; a < n.length; ) {
|
|
103
|
+
var u = n.charCodeAt(a);
|
|
104
104
|
u >= 55296 && u <= 57343 ? (a += 2, r++) : a++;
|
|
105
105
|
}
|
|
106
106
|
return r;
|
|
107
107
|
}
|
|
108
108
|
return r;
|
|
109
|
-
}, J = (
|
|
110
|
-
document.getElementById(a).addEventListener("input", Tl(
|
|
111
|
-
}, Tl = (
|
|
112
|
-
let u = document.getElementById(a),
|
|
113
|
-
if (
|
|
114
|
-
let k = null, z = Array.from(
|
|
115
|
-
|
|
109
|
+
}, J = (n, a, r) => {
|
|
110
|
+
document.getElementById(a).addEventListener("input", Tl(n, a, r));
|
|
111
|
+
}, Tl = (n, a, r) => {
|
|
112
|
+
let u = document.getElementById(a), b = n.target.value;
|
|
113
|
+
if (b) {
|
|
114
|
+
let k = null, z = Array.from(b);
|
|
115
|
+
b !== "" && b !== void 0 && r && (k = R(b), e.rareMaxlength = r + k), e.rareMaxlength - b.length === 1 && e.rareMaxlength++, b.length > r && z.length !== r && (e.model[a] = z.slice(0, r).join(""), yl.value += 1, z = Array.from(z.slice(0, r).join("")), k = R(b)), z.length < r && (e.rareMaxlength = r + k + (r - z.length) * 2), z.length === r && (e.rareMaxlength = r), (u == null ? void 0 : u.id) === a && u.setAttribute("maxlength", e.rareMaxlength), p("selectInput", n, a, r + k);
|
|
116
116
|
}
|
|
117
|
-
}, Il = (
|
|
118
|
-
let u = null,
|
|
119
|
-
e.model[a] !== "" && e.model[a] !== void 0 && r && (u = R(e.model[a]), e.rareMaxlength = r + u), e.rareMaxlength - e.model[a].length === 1 && e.rareMaxlength++, e.model[a].length > r &&
|
|
117
|
+
}, Il = (n, a, r) => {
|
|
118
|
+
let u = null, b = Array.from(e.model[a]);
|
|
119
|
+
e.model[a] !== "" && e.model[a] !== void 0 && r && (u = R(e.model[a]), e.rareMaxlength = r + u), e.rareMaxlength - e.model[a].length === 1 && e.rareMaxlength++, e.model[a].length > r && b.length !== r && (e.model[a] = b.slice(0, r).join(""), b = Array.from(b.slice(0, r).join("")), u = R(e.model[a])), b.length < r && (e.rareMaxlength = r + u + (r - b.length) * 2), b.length === r && (e.rareMaxlength = r), p("inputInput", n, a, r + u);
|
|
120
120
|
}, jl = () => ({
|
|
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
|
}), Ol = () => {
|
|
126
|
-
let
|
|
126
|
+
let n = 0;
|
|
127
127
|
const { outerWidth: a, innerWidth: r } = jl();
|
|
128
|
-
return window.devicePixelRatio !== void 0 ?
|
|
129
|
-
}, kl = (
|
|
130
|
-
var u,
|
|
131
|
-
if (
|
|
128
|
+
return window.devicePixelRatio !== void 0 ? n = window.devicePixelRatio : a !== void 0 && r !== void 0 && (n = a / r), n && (n = Math.round(n * 100)), n;
|
|
129
|
+
}, kl = (n, a, r) => {
|
|
130
|
+
var u, b, k, z;
|
|
131
|
+
if (n) {
|
|
132
132
|
let A, rl, X, Rl = Ol();
|
|
133
|
-
if (a === "select" ? (A = (u = document.querySelector("." +
|
|
133
|
+
if (a === "select" ? (A = (u = document.querySelector("." + n)) == null ? void 0 : u.querySelector(".el-input__inner"), A ? X = A.scrollWidth : (A = (b = document.querySelector("." + n)) == null ? void 0 : b.querySelector(".el-select__placeholder"), X = (z = (k = document.querySelector("." + n)) == null ? void 0 : k.querySelector(".el-select__placeholder > span")) == null ? void 0 : z.offsetWidth)) : (A = document.querySelector("#" + n), X = A.scrollWidth), A) {
|
|
134
134
|
let Yl = A == null ? void 0 : A.value, ul = A.getBoundingClientRect().width;
|
|
135
135
|
rl = Rl === 100 ? A.offsetWidth : Math.ceil(ul), X <= rl ? A.style.textOverflow = "inherit" : A.style.textOverflow = "ellipsis", ul < 40 ? V.value = !Yl : V.value = X <= rl;
|
|
136
136
|
} else
|
|
137
137
|
V.value = !0;
|
|
138
138
|
} else
|
|
139
139
|
V.value = !0;
|
|
140
|
-
}, Al = (
|
|
140
|
+
}, Al = (n, a) => {
|
|
141
141
|
if (!a)
|
|
142
|
-
return
|
|
143
|
-
const r = a.find((u) => u.code ===
|
|
144
|
-
return r ? r.name :
|
|
145
|
-
}, wl = (
|
|
142
|
+
return n;
|
|
143
|
+
const r = a.find((u) => u.code === n);
|
|
144
|
+
return r ? r.name : n;
|
|
145
|
+
}, wl = (n) => {
|
|
146
146
|
var a;
|
|
147
|
-
(a = Y.value) == null || a.resetFields(
|
|
148
|
-
}, Cl = (
|
|
147
|
+
(a = Y.value) == null || a.resetFields(n);
|
|
148
|
+
}, Cl = (n) => {
|
|
149
149
|
var a;
|
|
150
|
-
(a = Y.value) == null || a.clearValidate(
|
|
150
|
+
(a = Y.value) == null || a.clearValidate(n);
|
|
151
151
|
}, dl = U(!1), cl = () => {
|
|
152
152
|
window.innerWidth < 768, dl.value = !1;
|
|
153
153
|
};
|
|
@@ -159,38 +159,38 @@ const Jl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
159
159
|
}), Wl(() => {
|
|
160
160
|
window.removeEventListener("resize", cl);
|
|
161
161
|
}), Bl(
|
|
162
|
-
() =>
|
|
163
|
-
(
|
|
164
|
-
|
|
162
|
+
() => N.fieldList,
|
|
163
|
+
(n, a) => {
|
|
164
|
+
n !== a && Z();
|
|
165
165
|
}
|
|
166
166
|
);
|
|
167
|
-
const ll = U(0), sl = U(0), tl = U(0), yl = U(0), zl = (
|
|
168
|
-
|
|
169
|
-
}, xl = (
|
|
170
|
-
const
|
|
171
|
-
if (
|
|
172
|
-
return
|
|
167
|
+
const ll = U(0), sl = U(0), tl = U(0), yl = U(0), zl = (n) => {
|
|
168
|
+
n === "" && (ll.value += 1);
|
|
169
|
+
}, xl = (n, a, r, u) => {
|
|
170
|
+
const b = {};
|
|
171
|
+
if (n.date() === a.date() && n.year() === a.year() && n.month() === a.month())
|
|
172
|
+
return b.border = "1px solid #a26628", b.borderRadius = "4px", b;
|
|
173
173
|
p("openStatusNumber", r == null ? void 0 : r.range, u);
|
|
174
|
-
}, Ll = (
|
|
175
|
-
e.model[a] = r.format("DD/MM/YYYY"), ll.value += 1, Q(
|
|
176
|
-
}, El = (
|
|
177
|
-
p("calendarChange",
|
|
178
|
-
}, _l = (
|
|
174
|
+
}, Ll = (n, a, r) => {
|
|
175
|
+
e.model[a] = r.format("DD/MM/YYYY"), ll.value += 1, Q(n, a), p("getDefaultToady", r, a);
|
|
176
|
+
}, El = (n, a, r) => {
|
|
177
|
+
(r === "daterange" || r === "datetimerange") && (n === null || n[0] === null || n[1] === null) && (n = []), p("calendarChange", n, a);
|
|
178
|
+
}, _l = (n, a, r, u) => {
|
|
179
179
|
if (u)
|
|
180
180
|
return e.model[r] = u;
|
|
181
|
-
|
|
181
|
+
n || (ll.value += 1), p("openChange", n, r, u);
|
|
182
182
|
};
|
|
183
183
|
sl.value = 1;
|
|
184
|
-
const vl = (
|
|
185
|
-
|
|
184
|
+
const vl = (n, a, r, u) => {
|
|
185
|
+
n || (sl.value += 1, gl(() => {
|
|
186
186
|
document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((k, z) => {
|
|
187
187
|
z % 2 !== 0 && (k.setAttribute("disabled", !0), k.setAttribute("color", "rgba(0, 0, 0, 0.88)")), k.value && k.removeAttribute("disabled");
|
|
188
188
|
}), u !== void 0 && u[0] && u[1] && document.querySelectorAll(`.ant-picker-range.${r} .ant-picker-input input`).forEach((z, A) => {
|
|
189
189
|
A % 2 !== 0 && (z.removeAttribute("disabled"), z.setAttribute("color", "rgba(0, 0, 0, 0.88)"));
|
|
190
190
|
});
|
|
191
|
-
})), p("openDatePickerDaterange",
|
|
192
|
-
}, Sl = (
|
|
193
|
-
|
|
191
|
+
})), p("openDatePickerDaterange", n, a, r, u);
|
|
192
|
+
}, Sl = (n) => {
|
|
193
|
+
n || (tl.value += 1), p("openDatetimerange", n);
|
|
194
194
|
};
|
|
195
195
|
return {
|
|
196
196
|
...Zl(e),
|
|
@@ -241,12 +241,12 @@ const Jl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
241
241
|
};
|
|
242
242
|
}
|
|
243
243
|
}, pl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTguMDYwNyAxNi4wNjA3TDE3IDE1TDEyIDIwTDE3IDI1TDE4L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OCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
244
|
-
const $l = (
|
|
245
|
-
const S =
|
|
244
|
+
const $l = (N, p) => {
|
|
245
|
+
const S = N.__vccOpts || N;
|
|
246
246
|
for (const [e, V] of p)
|
|
247
247
|
S[e] = V;
|
|
248
248
|
return S;
|
|
249
|
-
}, v = (
|
|
249
|
+
}, v = (N) => (ql("data-v-144a2224"), N = N(), Kl(), N), le = { class: "header-title" }, ee = { class: "title-content" }, oe = { class: "header-boldTitle" }, ae = { class: "boldTitle-content" }, ne = {
|
|
250
250
|
key: 0,
|
|
251
251
|
class: "custom-required"
|
|
252
252
|
}, de = {
|
|
@@ -273,16 +273,16 @@ const $l = (h, p) => {
|
|
|
273
273
|
}, De = {
|
|
274
274
|
key: 0,
|
|
275
275
|
class: "custom-required"
|
|
276
|
-
}, be = ["onClick"], he = /* @__PURE__ */ v(() => /* @__PURE__ */
|
|
276
|
+
}, be = ["onClick"], he = /* @__PURE__ */ v(() => /* @__PURE__ */ h("img", {
|
|
277
277
|
src: pl,
|
|
278
278
|
alt: ""
|
|
279
|
-
}, null, -1)), Ne = /* @__PURE__ */ v(() => /* @__PURE__ */
|
|
279
|
+
}, null, -1)), Ne = /* @__PURE__ */ v(() => /* @__PURE__ */ h("img", {
|
|
280
280
|
src: Dl,
|
|
281
281
|
alt: ""
|
|
282
|
-
}, null, -1)), Te = /* @__PURE__ */ v(() => /* @__PURE__ */
|
|
282
|
+
}, null, -1)), Te = /* @__PURE__ */ v(() => /* @__PURE__ */ h("img", {
|
|
283
283
|
src: bl,
|
|
284
284
|
alt: ""
|
|
285
|
-
}, null, -1)), Ie = /* @__PURE__ */ v(() => /* @__PURE__ */
|
|
285
|
+
}, null, -1)), Ie = /* @__PURE__ */ v(() => /* @__PURE__ */ h("img", {
|
|
286
286
|
src: hl,
|
|
287
287
|
alt: ""
|
|
288
288
|
}, null, -1)), je = {
|
|
@@ -291,16 +291,16 @@ const $l = (h, p) => {
|
|
|
291
291
|
}, Oe = {
|
|
292
292
|
key: 0,
|
|
293
293
|
class: "custom-required"
|
|
294
|
-
}, ke = /* @__PURE__ */ v(() => /* @__PURE__ */
|
|
294
|
+
}, ke = /* @__PURE__ */ v(() => /* @__PURE__ */ h("img", {
|
|
295
295
|
src: pl,
|
|
296
296
|
alt: ""
|
|
297
|
-
}, null, -1)), Ae = /* @__PURE__ */ v(() => /* @__PURE__ */
|
|
297
|
+
}, null, -1)), Ae = /* @__PURE__ */ v(() => /* @__PURE__ */ h("img", {
|
|
298
298
|
src: Dl,
|
|
299
299
|
alt: ""
|
|
300
|
-
}, null, -1)), we = /* @__PURE__ */ v(() => /* @__PURE__ */
|
|
300
|
+
}, null, -1)), we = /* @__PURE__ */ v(() => /* @__PURE__ */ h("img", {
|
|
301
301
|
src: bl,
|
|
302
302
|
alt: ""
|
|
303
|
-
}, null, -1)), Ce = /* @__PURE__ */ v(() => /* @__PURE__ */
|
|
303
|
+
}, null, -1)), Ce = /* @__PURE__ */ v(() => /* @__PURE__ */ h("img", {
|
|
304
304
|
src: hl,
|
|
305
305
|
alt: ""
|
|
306
306
|
}, null, -1)), ze = {
|
|
@@ -315,13 +315,13 @@ const $l = (h, p) => {
|
|
|
315
315
|
}, Ee = {
|
|
316
316
|
key: 0,
|
|
317
317
|
class: "phone_item_content_before"
|
|
318
|
-
}, _e = /* @__PURE__ */ v(() => /* @__PURE__ */
|
|
318
|
+
}, _e = /* @__PURE__ */ v(() => /* @__PURE__ */ h("div", { class: "line_middle" }, "-", -1)), ve = /* @__PURE__ */ v(() => /* @__PURE__ */ h("div", { class: "line_middle" }, "-", -1)), Se = {
|
|
319
319
|
key: 1,
|
|
320
320
|
class: "line_middle"
|
|
321
321
|
}, Re = {
|
|
322
322
|
key: 2,
|
|
323
323
|
class: "line_middle"
|
|
324
|
-
}, Ye = /* @__PURE__ */ v(() => /* @__PURE__ */
|
|
324
|
+
}, Ye = /* @__PURE__ */ v(() => /* @__PURE__ */ h("div", {
|
|
325
325
|
class: "line",
|
|
326
326
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
327
327
|
}, null, -1)), Ve = {
|
|
@@ -337,9 +337,9 @@ const $l = (h, p) => {
|
|
|
337
337
|
key: 0,
|
|
338
338
|
class: "custom-required"
|
|
339
339
|
};
|
|
340
|
-
function Ze(
|
|
340
|
+
function Ze(N, p, S, e, V, Y) {
|
|
341
341
|
const O = x("el-form-item"), L = x("el-input"), C = x("el-tooltip"), F = x("el-col"), G = x("el-row"), H = x("el-radio"), q = x("el-radio-group"), Z = x("el-checkbox"), W = x("el-checkbox-group"), P = x("el-option"), K = x("el-select"), ol = x("a-date-picker"), $ = x("a-range-picker"), al = x("sinosoftCommonButton"), nl = x("el-form");
|
|
342
|
-
return
|
|
342
|
+
return d(), c(nl, Pl({
|
|
343
343
|
"hide-required-asterisk": "",
|
|
344
344
|
onSubmit: p[0] || (p[0] = Ql(() => {
|
|
345
345
|
}, ["prevent"])),
|
|
@@ -349,10 +349,10 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
349
349
|
ref: "formRef",
|
|
350
350
|
"scroll-to-error": !0
|
|
351
351
|
}), {
|
|
352
|
-
default:
|
|
352
|
+
default: s(() => [
|
|
353
353
|
f(G, { gutter: 24 }, {
|
|
354
|
-
default:
|
|
355
|
-
(
|
|
354
|
+
default: s(() => [
|
|
355
|
+
(d(!0), M(E, null, _(S.fieldList, (l, Q) => Gl((d(), c(F, {
|
|
356
356
|
xs: l.xs ? l.xs : 24,
|
|
357
357
|
sm: l.sm ? l.sm : 24,
|
|
358
358
|
md: l.md ? l.md : 8,
|
|
@@ -360,42 +360,42 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
360
360
|
xl: l.xl ? l.xl : 8,
|
|
361
361
|
key: Q
|
|
362
362
|
}, {
|
|
363
|
-
default:
|
|
364
|
-
|
|
365
|
-
style:
|
|
363
|
+
default: s(() => [
|
|
364
|
+
h("div", {
|
|
365
|
+
style: T(l.style)
|
|
366
366
|
}, [
|
|
367
|
-
l.type === "title" ? (
|
|
368
|
-
default:
|
|
369
|
-
|
|
370
|
-
|
|
367
|
+
l.type === "title" ? (d(), c(O, { key: 0 }, {
|
|
368
|
+
default: s(() => [
|
|
369
|
+
h("div", le, [
|
|
370
|
+
h("span", ee, t(l.title), 1)
|
|
371
371
|
])
|
|
372
372
|
]),
|
|
373
373
|
_: 2
|
|
374
|
-
}, 1024)) : l.type === "boldTitle" ? (
|
|
375
|
-
default:
|
|
376
|
-
|
|
377
|
-
|
|
374
|
+
}, 1024)) : l.type === "boldTitle" ? (d(), c(O, { key: 1 }, {
|
|
375
|
+
default: s(() => [
|
|
376
|
+
h("div", oe, [
|
|
377
|
+
h("span", ae, t(l.title), 1)
|
|
378
378
|
])
|
|
379
379
|
]),
|
|
380
380
|
_: 2
|
|
381
|
-
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (
|
|
381
|
+
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (d(), c(O, {
|
|
382
382
|
key: 2,
|
|
383
383
|
label: l.label,
|
|
384
384
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
385
385
|
class: "container_name"
|
|
386
386
|
}, {
|
|
387
|
-
label:
|
|
388
|
-
l.slotLabelName ? w(
|
|
387
|
+
label: s(() => [
|
|
388
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
389
389
|
key: 0,
|
|
390
|
-
style:
|
|
390
|
+
style: T(l.labelStyle)
|
|
391
391
|
}, [
|
|
392
392
|
j(t(l.label) + " ", 1),
|
|
393
|
-
l.required ? (
|
|
393
|
+
l.required ? (d(), M("span", ne, "*")) : g("", !0)
|
|
394
394
|
], 4))
|
|
395
395
|
]),
|
|
396
|
-
default:
|
|
396
|
+
default: s(() => [
|
|
397
397
|
f(G, { gutter: 20 }, {
|
|
398
|
-
default:
|
|
398
|
+
default: s(() => [
|
|
399
399
|
f(F, {
|
|
400
400
|
xs: 24,
|
|
401
401
|
sm: 12,
|
|
@@ -403,14 +403,14 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
403
403
|
lg: 12,
|
|
404
404
|
xl: 12
|
|
405
405
|
}, {
|
|
406
|
-
default:
|
|
407
|
-
l.field.nameEnFamily ? (
|
|
406
|
+
default: s(() => [
|
|
407
|
+
l.field.nameEnFamily ? (d(), c(O, {
|
|
408
408
|
key: 0,
|
|
409
409
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
410
410
|
prop: l.field.nameEnFamily,
|
|
411
411
|
class: "item-name item-name-top"
|
|
412
412
|
}, {
|
|
413
|
-
default:
|
|
413
|
+
default: s(() => [
|
|
414
414
|
f(C, {
|
|
415
415
|
"popper-class": "input-tooltip",
|
|
416
416
|
effect: "light",
|
|
@@ -419,7 +419,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
419
419
|
disabled: e.isShowTooltip,
|
|
420
420
|
"trigger-keys": []
|
|
421
421
|
}, {
|
|
422
|
-
default:
|
|
422
|
+
default: s(() => [
|
|
423
423
|
f(L, {
|
|
424
424
|
id: l.field.nameEnFamily,
|
|
425
425
|
formatter: (o) => o.replace(/[^a-zA-Z\s]/g, ""),
|
|
@@ -428,7 +428,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
428
428
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily, "name"),
|
|
429
429
|
onInput: (o) => e.inputInput(o, l.field.nameEnFamily, l.maxlengthNameEnFamily),
|
|
430
430
|
onMouseenter: (o) => e.visibilityChange(l.field.nameEnFamily),
|
|
431
|
-
class:
|
|
431
|
+
class: I(
|
|
432
432
|
(l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
433
433
|
),
|
|
434
434
|
maxlength: l.maxlengthNameEnFamily ? e.states.rareMaxlength : "",
|
|
@@ -456,14 +456,14 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
456
456
|
lg: 12,
|
|
457
457
|
xl: 12
|
|
458
458
|
}, {
|
|
459
|
-
default:
|
|
460
|
-
l.field.nameEn ? (
|
|
459
|
+
default: s(() => [
|
|
460
|
+
l.field.nameEn ? (d(), c(O, {
|
|
461
461
|
key: 0,
|
|
462
462
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
463
463
|
prop: l.field.nameEn,
|
|
464
464
|
class: "item-name item-name-top"
|
|
465
465
|
}, {
|
|
466
|
-
default:
|
|
466
|
+
default: s(() => [
|
|
467
467
|
f(C, {
|
|
468
468
|
"popper-class": "input-tooltip",
|
|
469
469
|
effect: "light",
|
|
@@ -472,7 +472,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
472
472
|
disabled: e.isShowTooltip,
|
|
473
473
|
"trigger-keys": []
|
|
474
474
|
}, {
|
|
475
|
-
default:
|
|
475
|
+
default: s(() => [
|
|
476
476
|
f(L, {
|
|
477
477
|
id: l.field.nameEn,
|
|
478
478
|
formatter: (o) => o.replace(/[^a-zA-Z\s]/g, ""),
|
|
@@ -484,7 +484,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
484
484
|
maxlength: l.maxlengthNameEn ? e.states.rareMaxlength : "",
|
|
485
485
|
modelValue: e.states.model[l.field.nameEn],
|
|
486
486
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
487
|
-
class:
|
|
487
|
+
class: I(
|
|
488
488
|
(l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
489
489
|
),
|
|
490
490
|
readonly: l.readonly,
|
|
@@ -506,7 +506,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
506
506
|
_: 2
|
|
507
507
|
}, 1024),
|
|
508
508
|
f(G, { gutter: 20 }, {
|
|
509
|
-
default:
|
|
509
|
+
default: s(() => [
|
|
510
510
|
f(F, {
|
|
511
511
|
xs: 24,
|
|
512
512
|
sm: 12,
|
|
@@ -514,14 +514,14 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
514
514
|
lg: 12,
|
|
515
515
|
xl: 12
|
|
516
516
|
}, {
|
|
517
|
-
default:
|
|
518
|
-
l.field.nameChFamily ? (
|
|
517
|
+
default: s(() => [
|
|
518
|
+
l.field.nameChFamily ? (d(), c(O, {
|
|
519
519
|
key: 0,
|
|
520
520
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
521
521
|
prop: l.field.nameChFamily,
|
|
522
522
|
class: "item-name item-name-bottom"
|
|
523
523
|
}, {
|
|
524
|
-
default:
|
|
524
|
+
default: s(() => [
|
|
525
525
|
f(C, {
|
|
526
526
|
"popper-class": "input-tooltip",
|
|
527
527
|
effect: "light",
|
|
@@ -530,7 +530,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
530
530
|
disabled: e.isShowTooltip,
|
|
531
531
|
"trigger-keys": []
|
|
532
532
|
}, {
|
|
533
|
-
default:
|
|
533
|
+
default: s(() => [
|
|
534
534
|
f(L, {
|
|
535
535
|
id: l.field.nameChFamily,
|
|
536
536
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
@@ -543,7 +543,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
543
543
|
l.maxlengthNameChFamily
|
|
544
544
|
),
|
|
545
545
|
maxlength: l != null && l.maxlengthNameChFamily ? e.states.rareMaxlength : "",
|
|
546
|
-
class:
|
|
546
|
+
class: I(
|
|
547
547
|
(l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
548
548
|
),
|
|
549
549
|
modelValue: e.states.model[l.field.nameChFamily],
|
|
@@ -570,14 +570,14 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
570
570
|
lg: 12,
|
|
571
571
|
xl: 12
|
|
572
572
|
}, {
|
|
573
|
-
default:
|
|
574
|
-
l.field.nameCh ? (
|
|
573
|
+
default: s(() => [
|
|
574
|
+
l.field.nameCh ? (d(), c(O, {
|
|
575
575
|
key: 0,
|
|
576
576
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
577
577
|
prop: l.field.nameCh,
|
|
578
578
|
class: "item-name item-name-bottom"
|
|
579
579
|
}, {
|
|
580
|
-
default:
|
|
580
|
+
default: s(() => [
|
|
581
581
|
f(C, {
|
|
582
582
|
"popper-class": "input-tooltip",
|
|
583
583
|
effect: "light",
|
|
@@ -586,7 +586,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
586
586
|
disabled: e.isShowTooltip,
|
|
587
587
|
"trigger-keys": []
|
|
588
588
|
}, {
|
|
589
|
-
default:
|
|
589
|
+
default: s(() => [
|
|
590
590
|
f(L, {
|
|
591
591
|
id: l.field.nameCh,
|
|
592
592
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
@@ -594,7 +594,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
594
594
|
onChange: (o) => e.inputChange(o, l.field.nameCh, "name"),
|
|
595
595
|
onInput: (o) => e.inputInput(o, l.field.nameCh, l.maxlengthNameCh),
|
|
596
596
|
onMouseenter: (o) => e.visibilityChange(l.field.nameCh),
|
|
597
|
-
class:
|
|
597
|
+
class: I(
|
|
598
598
|
(l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
599
599
|
),
|
|
600
600
|
maxlength: l.maxlengthNameCh ? e.states.rareMaxlength : "",
|
|
@@ -620,39 +620,39 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
620
620
|
}, 1024)
|
|
621
621
|
]),
|
|
622
622
|
_: 2
|
|
623
|
-
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (
|
|
623
|
+
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (d(), c(O, {
|
|
624
624
|
key: 3,
|
|
625
625
|
label: l.label,
|
|
626
626
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
627
627
|
prop: l.field,
|
|
628
628
|
class: "radio_row"
|
|
629
629
|
}, {
|
|
630
|
-
label:
|
|
631
|
-
l.slotLabelName ? w(
|
|
630
|
+
label: s(() => [
|
|
631
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
632
632
|
key: 0,
|
|
633
|
-
style:
|
|
633
|
+
style: T(l.labelStyle)
|
|
634
634
|
}, [
|
|
635
635
|
j(t(l.label) + " ", 1),
|
|
636
|
-
l.required ? (
|
|
636
|
+
l.required ? (d(), M("span", de, "*")) : g("", !0)
|
|
637
637
|
], 4))
|
|
638
638
|
]),
|
|
639
|
-
default:
|
|
639
|
+
default: s(() => [
|
|
640
640
|
f(q, {
|
|
641
641
|
modelValue: e.states.model[l.field],
|
|
642
642
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
643
643
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
644
644
|
onChange: (o) => e.radioChange(o, l.field)
|
|
645
645
|
}, {
|
|
646
|
-
default:
|
|
646
|
+
default: s(() => {
|
|
647
647
|
var o;
|
|
648
648
|
return [
|
|
649
|
-
(
|
|
649
|
+
(d(!0), M(E, null, _((o = l.options) == null ? void 0 : o.data, (i) => (d(), c(H, {
|
|
650
650
|
label: i.code,
|
|
651
651
|
size: "large",
|
|
652
652
|
key: i.code
|
|
653
653
|
}, {
|
|
654
|
-
default:
|
|
655
|
-
|
|
654
|
+
default: s(() => [
|
|
655
|
+
h("img", {
|
|
656
656
|
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",
|
|
657
657
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
658
658
|
alt: ""
|
|
@@ -666,43 +666,43 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
666
666
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
667
667
|
]),
|
|
668
668
|
_: 2
|
|
669
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (
|
|
669
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (d(), c(O, {
|
|
670
670
|
key: 4,
|
|
671
671
|
label: l.label,
|
|
672
672
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
673
673
|
prop: l.field,
|
|
674
|
-
class:
|
|
674
|
+
class: I([l.labelNode ? "radio_Note" : "rule_err"])
|
|
675
675
|
}, {
|
|
676
|
-
label:
|
|
677
|
-
l.slotLabelName ? w(
|
|
676
|
+
label: s(() => [
|
|
677
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
678
678
|
key: 0,
|
|
679
|
-
style:
|
|
679
|
+
style: T(l.labelStyle)
|
|
680
680
|
}, [
|
|
681
681
|
j(t(l.label) + " ", 1),
|
|
682
|
-
l.required ? (
|
|
682
|
+
l.required ? (d(), M("span", re, "*")) : g("", !0)
|
|
683
683
|
], 4))
|
|
684
684
|
]),
|
|
685
|
-
default:
|
|
685
|
+
default: s(() => [
|
|
686
686
|
f(q, {
|
|
687
687
|
modelValue: e.states.model[l.field],
|
|
688
688
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
689
689
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
690
690
|
onChange: (o) => e.radioChange(o, l.field),
|
|
691
|
-
style:
|
|
691
|
+
style: T(
|
|
692
692
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
693
693
|
),
|
|
694
|
-
class:
|
|
694
|
+
class: I(l.ways !== "column" ? "radio_row" : "")
|
|
695
695
|
}, {
|
|
696
|
-
default:
|
|
696
|
+
default: s(() => {
|
|
697
697
|
var o;
|
|
698
698
|
return [
|
|
699
|
-
(
|
|
699
|
+
(d(!0), M(E, null, _((o = l.options) == null ? void 0 : o.data, (i) => (d(), c(H, {
|
|
700
700
|
size: "large",
|
|
701
701
|
label: i.code,
|
|
702
702
|
key: i.code,
|
|
703
703
|
disabled: i.isDisabled
|
|
704
704
|
}, {
|
|
705
|
-
default:
|
|
705
|
+
default: s(() => [
|
|
706
706
|
j(t(i.name), 1)
|
|
707
707
|
]),
|
|
708
708
|
_: 2
|
|
@@ -713,38 +713,38 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
713
713
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
714
714
|
]),
|
|
715
715
|
_: 2
|
|
716
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (
|
|
716
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (d(), c(O, {
|
|
717
717
|
key: 5,
|
|
718
718
|
label: l.label,
|
|
719
719
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
720
720
|
prop: l.field,
|
|
721
|
-
class:
|
|
721
|
+
class: I([l.labelNode ? "radio_Note" : "rule_err"])
|
|
722
722
|
}, {
|
|
723
|
-
default:
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
l.required ? (
|
|
723
|
+
default: s(() => [
|
|
724
|
+
h("div", null, [
|
|
725
|
+
h("span", ie, t(l.labelBefore), 1),
|
|
726
|
+
h("span", Me, t(l.labelNode), 1),
|
|
727
|
+
l.required ? (d(), M("span", ce, "*")) : g("", !0)
|
|
728
728
|
]),
|
|
729
729
|
f(q, {
|
|
730
730
|
modelValue: e.states.model[l.field],
|
|
731
731
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
732
732
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
733
733
|
onChange: (o) => e.radioChange(o, l.field),
|
|
734
|
-
style:
|
|
734
|
+
style: T(
|
|
735
735
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
736
736
|
),
|
|
737
|
-
class:
|
|
737
|
+
class: I(l.ways !== "column" ? "radio_row" : "")
|
|
738
738
|
}, {
|
|
739
|
-
default:
|
|
739
|
+
default: s(() => {
|
|
740
740
|
var o;
|
|
741
741
|
return [
|
|
742
|
-
(
|
|
742
|
+
(d(!0), M(E, null, _((o = l.options) == null ? void 0 : o.data, (i) => (d(), c(H, {
|
|
743
743
|
size: "large",
|
|
744
744
|
label: i.code,
|
|
745
745
|
key: i.code
|
|
746
746
|
}, {
|
|
747
|
-
default:
|
|
747
|
+
default: s(() => [
|
|
748
748
|
j(t(i.name), 1)
|
|
749
749
|
]),
|
|
750
750
|
_: 2
|
|
@@ -755,40 +755,40 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
755
755
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
756
756
|
]),
|
|
757
757
|
_: 2
|
|
758
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (
|
|
758
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (d(), c(O, {
|
|
759
759
|
key: 6,
|
|
760
760
|
label: l.label,
|
|
761
761
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
762
762
|
prop: l.field
|
|
763
763
|
}, {
|
|
764
|
-
label:
|
|
765
|
-
l.slotLabelName ? w(
|
|
764
|
+
label: s(() => [
|
|
765
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
766
766
|
key: 0,
|
|
767
|
-
style:
|
|
767
|
+
style: T(l.labelStyle)
|
|
768
768
|
}, [
|
|
769
769
|
j(t(l.label) + " ", 1),
|
|
770
|
-
l.required ? (
|
|
770
|
+
l.required ? (d(), M("span", te, "*")) : g("", !0)
|
|
771
771
|
], 4))
|
|
772
772
|
]),
|
|
773
|
-
default:
|
|
773
|
+
default: s(() => [
|
|
774
774
|
f(W, {
|
|
775
775
|
modelValue: e.states.model[l.field],
|
|
776
776
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
777
777
|
onChange: (o) => e.checkChange(o, l.field),
|
|
778
778
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
779
|
-
style:
|
|
779
|
+
style: T(
|
|
780
780
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
781
781
|
)
|
|
782
782
|
}, {
|
|
783
|
-
default:
|
|
783
|
+
default: s(() => {
|
|
784
784
|
var o;
|
|
785
785
|
return [
|
|
786
|
-
(
|
|
786
|
+
(d(!0), M(E, null, _((o = l.options) == null ? void 0 : o.data, (i) => (d(), c(Z, {
|
|
787
787
|
key: i.code,
|
|
788
788
|
label: i.code,
|
|
789
789
|
disabled: i.isDisabled
|
|
790
790
|
}, {
|
|
791
|
-
default:
|
|
791
|
+
default: s(() => [
|
|
792
792
|
j(t(i.name), 1)
|
|
793
793
|
]),
|
|
794
794
|
_: 2
|
|
@@ -799,40 +799,40 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
799
799
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
800
800
|
]),
|
|
801
801
|
_: 2
|
|
802
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (
|
|
802
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (d(), c(O, {
|
|
803
803
|
key: 7,
|
|
804
804
|
label: l.label,
|
|
805
805
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
806
806
|
prop: l.field
|
|
807
807
|
}, {
|
|
808
|
-
label:
|
|
809
|
-
l.slotLabelName ? w(
|
|
808
|
+
label: s(() => [
|
|
809
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
810
810
|
key: 0,
|
|
811
|
-
style:
|
|
811
|
+
style: T(l.labelStyle)
|
|
812
812
|
}, [
|
|
813
813
|
j(t(l.label) + " ", 1),
|
|
814
|
-
l.required ? (
|
|
814
|
+
l.required ? (d(), M("span", ye, "*")) : g("", !0)
|
|
815
815
|
], 4))
|
|
816
816
|
]),
|
|
817
|
-
default:
|
|
817
|
+
default: s(() => [
|
|
818
818
|
f(W, {
|
|
819
819
|
modelValue: e.states.model[l.field],
|
|
820
820
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
821
821
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
822
822
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
823
|
-
style:
|
|
823
|
+
style: T(
|
|
824
824
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
825
825
|
)
|
|
826
826
|
}, {
|
|
827
|
-
default:
|
|
827
|
+
default: s(() => {
|
|
828
828
|
var o;
|
|
829
829
|
return [
|
|
830
|
-
(
|
|
830
|
+
(d(!0), M(E, null, _((o = l.options) == null ? void 0 : o.data, (i) => (d(), c(Z, {
|
|
831
831
|
key: i.code,
|
|
832
832
|
label: i.code,
|
|
833
833
|
disabled: i.isDisabled
|
|
834
834
|
}, {
|
|
835
|
-
default:
|
|
835
|
+
default: s(() => [
|
|
836
836
|
j(t(i.name), 1)
|
|
837
837
|
]),
|
|
838
838
|
_: 2
|
|
@@ -843,37 +843,37 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
843
843
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
844
844
|
]),
|
|
845
845
|
_: 2
|
|
846
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (
|
|
846
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (d(), c(O, {
|
|
847
847
|
key: 8,
|
|
848
848
|
label: l.label,
|
|
849
849
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
850
850
|
prop: l.field,
|
|
851
|
-
class:
|
|
851
|
+
class: I([l.labelNode ? "radio_Note" : "rule_err"])
|
|
852
852
|
}, {
|
|
853
|
-
default:
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
l.required ? (
|
|
853
|
+
default: s(() => [
|
|
854
|
+
h("div", null, [
|
|
855
|
+
h("span", ue, t(l.labelBefore), 1),
|
|
856
|
+
h("span", ge, t(l.labelNode), 1),
|
|
857
|
+
l.required ? (d(), M("span", fe, "*")) : g("", !0)
|
|
858
858
|
]),
|
|
859
859
|
f(W, {
|
|
860
860
|
modelValue: e.states.model[l.field],
|
|
861
861
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
862
862
|
onChange: (o) => e.checkChange(o, l.field),
|
|
863
863
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
864
|
-
style:
|
|
864
|
+
style: T(
|
|
865
865
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
866
866
|
)
|
|
867
867
|
}, {
|
|
868
|
-
default:
|
|
868
|
+
default: s(() => {
|
|
869
869
|
var o;
|
|
870
870
|
return [
|
|
871
|
-
(
|
|
871
|
+
(d(!0), M(E, null, _((o = l.options) == null ? void 0 : o.data, (i) => (d(), c(Z, {
|
|
872
872
|
key: i.code,
|
|
873
873
|
label: i.code,
|
|
874
874
|
disabled: i.isDisabled
|
|
875
875
|
}, {
|
|
876
|
-
default:
|
|
876
|
+
default: s(() => [
|
|
877
877
|
j(t(i.name), 1)
|
|
878
878
|
]),
|
|
879
879
|
_: 2
|
|
@@ -884,23 +884,23 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
884
884
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
885
885
|
]),
|
|
886
886
|
_: 2
|
|
887
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (
|
|
887
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (d(), c(O, {
|
|
888
888
|
key: 9,
|
|
889
889
|
label: l.label,
|
|
890
890
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
891
891
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
892
892
|
prop: l.field
|
|
893
893
|
}, {
|
|
894
|
-
label:
|
|
895
|
-
l.slotLabelName ? w(
|
|
894
|
+
label: s(() => [
|
|
895
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
896
896
|
key: 0,
|
|
897
|
-
style:
|
|
897
|
+
style: T(l.labelStyle)
|
|
898
898
|
}, [
|
|
899
899
|
j(t(l.label) + " ", 1),
|
|
900
|
-
l.required ? (
|
|
900
|
+
l.required ? (d(), M("span", pe, "*")) : g("", !0)
|
|
901
901
|
], 4))
|
|
902
902
|
]),
|
|
903
|
-
default:
|
|
903
|
+
default: s(() => {
|
|
904
904
|
var o;
|
|
905
905
|
return [
|
|
906
906
|
f(C, {
|
|
@@ -911,9 +911,9 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
911
911
|
disabled: e.isShowTooltip,
|
|
912
912
|
"trigger-keys": []
|
|
913
913
|
}, {
|
|
914
|
-
default:
|
|
915
|
-
(
|
|
916
|
-
class:
|
|
914
|
+
default: s(() => [
|
|
915
|
+
(d(), c(K, {
|
|
916
|
+
class: I(["tooltip-select", [l.field + (l.uniqueId || ""), (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]]),
|
|
917
917
|
key: e.selectPickerKey,
|
|
918
918
|
id: l.field,
|
|
919
919
|
onMouseenter: (i) => e.visibilityChange(l.field + (l.uniqueId || ""), "select"),
|
|
@@ -940,15 +940,15 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
940
940
|
"reserve-keyword": !1,
|
|
941
941
|
"no-data-text": l.noDateText
|
|
942
942
|
}, {
|
|
943
|
-
default:
|
|
943
|
+
default: s(() => {
|
|
944
944
|
var i;
|
|
945
945
|
return [
|
|
946
|
-
(
|
|
946
|
+
(d(!0), M(E, null, _((i = l.options) == null ? void 0 : i.data, (D) => (d(), c(P, {
|
|
947
947
|
key: D.code,
|
|
948
948
|
label: D.name,
|
|
949
949
|
value: D.code
|
|
950
950
|
}, null, 8, ["label", "value"]))), 128)),
|
|
951
|
-
l.loading ? (
|
|
951
|
+
l.loading ? (d(), c(P, {
|
|
952
952
|
key: 0,
|
|
953
953
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
954
954
|
class: "select-loading",
|
|
@@ -961,31 +961,31 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
961
961
|
]),
|
|
962
962
|
_: 2
|
|
963
963
|
}, 1032, ["content", "disabled"]),
|
|
964
|
-
|
|
964
|
+
h("div", {
|
|
965
965
|
class: "item_tips_blow",
|
|
966
|
-
style:
|
|
966
|
+
style: T(l.tipsBlowStyle)
|
|
967
967
|
}, t(l.tipsBlow), 5)
|
|
968
968
|
];
|
|
969
969
|
}),
|
|
970
970
|
_: 2
|
|
971
|
-
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (
|
|
971
|
+
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (d(), c(O, {
|
|
972
972
|
key: 10,
|
|
973
973
|
label: l.label,
|
|
974
974
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
975
975
|
prop: l.field,
|
|
976
976
|
class: "date_item"
|
|
977
977
|
}, {
|
|
978
|
-
label:
|
|
979
|
-
l.slotLabelName ? w(
|
|
978
|
+
label: s(() => [
|
|
979
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
980
980
|
key: 0,
|
|
981
|
-
style:
|
|
981
|
+
style: T(l.labelStyle)
|
|
982
982
|
}, [
|
|
983
983
|
j(t(l.label) + " ", 1),
|
|
984
|
-
l.required ? (
|
|
984
|
+
l.required ? (d(), M("span", De, "*")) : g("", !0)
|
|
985
985
|
], 4))
|
|
986
986
|
]),
|
|
987
|
-
default:
|
|
988
|
-
(
|
|
987
|
+
default: s(() => [
|
|
988
|
+
(d(), c(ol, {
|
|
989
989
|
size: "large",
|
|
990
990
|
allowClear: !!l.allowClear,
|
|
991
991
|
format: l.format || "DD/MM/YYYY",
|
|
@@ -1003,7 +1003,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1003
1003
|
picker: l.picker,
|
|
1004
1004
|
placeholder: l.placeholder || l.label,
|
|
1005
1005
|
key: e.pickerKey,
|
|
1006
|
-
class:
|
|
1006
|
+
class: I((l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
|
|
1007
1007
|
presets: l == null ? void 0 : l.presets,
|
|
1008
1008
|
onChange: (o) => e.dateChange(o, l.field ? l.field : "", l == null ? void 0 : l.defaultToady),
|
|
1009
1009
|
onOk: (o) => e.onOk(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1011,40 +1011,40 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1011
1011
|
onOpenChange: (o) => e.openChange(o, l == null ? void 0 : l.defaultToady, l.field, e.states.model[l.field]),
|
|
1012
1012
|
"clear-icon": e.dateClearIcon
|
|
1013
1013
|
}, m({
|
|
1014
|
-
superPrevIcon:
|
|
1014
|
+
superPrevIcon: s(() => [
|
|
1015
1015
|
he
|
|
1016
1016
|
]),
|
|
1017
|
-
prevIcon:
|
|
1017
|
+
prevIcon: s(() => [
|
|
1018
1018
|
Ne
|
|
1019
1019
|
]),
|
|
1020
|
-
nextIcon:
|
|
1020
|
+
nextIcon: s(() => [
|
|
1021
1021
|
Te
|
|
1022
1022
|
]),
|
|
1023
|
-
superNextIcon:
|
|
1023
|
+
superNextIcon: s(() => [
|
|
1024
1024
|
Ie
|
|
1025
1025
|
]),
|
|
1026
1026
|
_: 2
|
|
1027
1027
|
}, [
|
|
1028
1028
|
l != null && l.defaultToady ? {
|
|
1029
1029
|
name: "dateRender",
|
|
1030
|
-
fn:
|
|
1031
|
-
|
|
1030
|
+
fn: s(({ current: o }) => [
|
|
1031
|
+
h("div", {
|
|
1032
1032
|
class: "ant-picker-cell-inner",
|
|
1033
|
-
style:
|
|
1033
|
+
style: T(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
1034
1034
|
}, t(o.date()), 5)
|
|
1035
1035
|
]),
|
|
1036
1036
|
key: "0"
|
|
1037
1037
|
} : void 0,
|
|
1038
1038
|
!(l != null && l.ToadyStatus) || l != null && l.ToadyStatus ? {
|
|
1039
1039
|
name: "renderExtraFooter",
|
|
1040
|
-
fn:
|
|
1041
|
-
l != null && l.disabledDateToday ? (
|
|
1040
|
+
fn: s(() => [
|
|
1041
|
+
l != null && l.disabledDateToday ? (d(), M("span", {
|
|
1042
1042
|
key: 0,
|
|
1043
|
-
class:
|
|
1043
|
+
class: I([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"])
|
|
1044
1044
|
}, t((l == null ? void 0 : l.todayLanguage) || "Today"), 3)) : g("", !0),
|
|
1045
|
-
l != null && l.disabledDateToday ? g("", !0) : (
|
|
1045
|
+
l != null && l.disabledDateToday ? g("", !0) : (d(), M("span", {
|
|
1046
1046
|
key: 1,
|
|
1047
|
-
class:
|
|
1047
|
+
class: I([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
1048
1048
|
onClick: (o) => e.getDefaultToady(
|
|
1049
1049
|
e.states.model[l.field],
|
|
1050
1050
|
typeof l.field == "string" ? l.field : "",
|
|
@@ -1055,26 +1055,26 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1055
1055
|
key: "1"
|
|
1056
1056
|
} : void 0
|
|
1057
1057
|
]), 1032, ["allowClear", "format", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onOk", "onBlur", "onOpenChange", "clear-icon"])),
|
|
1058
|
-
l.showTo ? (
|
|
1058
|
+
l.showTo ? (d(), M("span", je, t(l.showTo), 1)) : g("", !0)
|
|
1059
1059
|
]),
|
|
1060
1060
|
_: 2
|
|
1061
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (
|
|
1061
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (d(), c(O, {
|
|
1062
1062
|
key: 11,
|
|
1063
1063
|
label: l.label,
|
|
1064
1064
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1065
1065
|
prop: l.field
|
|
1066
1066
|
}, {
|
|
1067
|
-
label:
|
|
1068
|
-
l.slotLabelName ? w(
|
|
1067
|
+
label: s(() => [
|
|
1068
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
1069
1069
|
key: 0,
|
|
1070
|
-
style:
|
|
1070
|
+
style: T(l.labelStyle)
|
|
1071
1071
|
}, [
|
|
1072
1072
|
j(t(l.label) + " ", 1),
|
|
1073
|
-
l.required ? (
|
|
1073
|
+
l.required ? (d(), M("span", Oe, "*")) : g("", !0)
|
|
1074
1074
|
], 4))
|
|
1075
1075
|
]),
|
|
1076
|
-
default:
|
|
1077
|
-
(
|
|
1076
|
+
default: s(() => [
|
|
1077
|
+
(d(), c($, {
|
|
1078
1078
|
"popper-class": "selectTriangles",
|
|
1079
1079
|
allowClear: !!l.allowClear,
|
|
1080
1080
|
defaultPickerValue: l == null ? void 0 : l.defaultPickerValue,
|
|
@@ -1091,18 +1091,20 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1091
1091
|
separator: l.separator || "To",
|
|
1092
1092
|
placeholder: l.placeholder,
|
|
1093
1093
|
size: "large",
|
|
1094
|
-
class:
|
|
1094
|
+
class: I(
|
|
1095
1095
|
[l.field, (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]
|
|
1096
1096
|
),
|
|
1097
1097
|
key: e.pickerKeyDaterange,
|
|
1098
1098
|
onChange: (o) => e.dateChange(
|
|
1099
1099
|
o,
|
|
1100
1100
|
typeof l.field == "string" ? l.field : "",
|
|
1101
|
-
l == null ? void 0 : l.defaultToady
|
|
1101
|
+
l == null ? void 0 : l.defaultToady,
|
|
1102
|
+
l.type
|
|
1102
1103
|
),
|
|
1103
1104
|
onCalendarChange: (o) => e.calendarChange(
|
|
1104
1105
|
o,
|
|
1105
|
-
typeof l.field == "string" ? l.field : ""
|
|
1106
|
+
typeof l.field == "string" ? l.field : "",
|
|
1107
|
+
l.type
|
|
1106
1108
|
),
|
|
1107
1109
|
onOk: (o) => e.onOk(
|
|
1108
1110
|
o,
|
|
@@ -1110,26 +1112,26 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1110
1112
|
),
|
|
1111
1113
|
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultToady, l.field, e.states.model[l.field])
|
|
1112
1114
|
}, m({
|
|
1113
|
-
superPrevIcon:
|
|
1115
|
+
superPrevIcon: s(() => [
|
|
1114
1116
|
ke
|
|
1115
1117
|
]),
|
|
1116
|
-
prevIcon:
|
|
1118
|
+
prevIcon: s(() => [
|
|
1117
1119
|
Ae
|
|
1118
1120
|
]),
|
|
1119
|
-
nextIcon:
|
|
1121
|
+
nextIcon: s(() => [
|
|
1120
1122
|
we
|
|
1121
1123
|
]),
|
|
1122
|
-
superNextIcon:
|
|
1124
|
+
superNextIcon: s(() => [
|
|
1123
1125
|
Ce
|
|
1124
1126
|
]),
|
|
1125
1127
|
_: 2
|
|
1126
1128
|
}, [
|
|
1127
1129
|
l != null && l.defaultToady ? {
|
|
1128
1130
|
name: "dateRender",
|
|
1129
|
-
fn:
|
|
1130
|
-
|
|
1131
|
+
fn: s(({ current: o, info: i }) => [
|
|
1132
|
+
h("div", {
|
|
1131
1133
|
class: "ant-picker-cell-inner",
|
|
1132
|
-
style:
|
|
1134
|
+
style: T(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady, i, l.field))
|
|
1133
1135
|
}, t(o.date()), 5)
|
|
1134
1136
|
]),
|
|
1135
1137
|
key: "0"
|
|
@@ -1137,23 +1139,23 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1137
1139
|
]), 1032, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1138
1140
|
]),
|
|
1139
1141
|
_: 2
|
|
1140
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (
|
|
1142
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (d(), c(O, {
|
|
1141
1143
|
key: 12,
|
|
1142
1144
|
label: l.label,
|
|
1143
1145
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1144
1146
|
prop: l.field
|
|
1145
1147
|
}, {
|
|
1146
|
-
label:
|
|
1147
|
-
l.slotLabelName ? w(
|
|
1148
|
+
label: s(() => [
|
|
1149
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
1148
1150
|
key: 0,
|
|
1149
|
-
style:
|
|
1151
|
+
style: T(l.labelStyle)
|
|
1150
1152
|
}, [
|
|
1151
1153
|
j(t(l.label) + " ", 1),
|
|
1152
|
-
l.required ? (
|
|
1154
|
+
l.required ? (d(), M("span", ze, "*")) : g("", !0)
|
|
1153
1155
|
], 4))
|
|
1154
1156
|
]),
|
|
1155
|
-
default:
|
|
1156
|
-
(
|
|
1157
|
+
default: s(() => [
|
|
1158
|
+
(d(), c($, {
|
|
1157
1159
|
"popper-class": "selectTriangles",
|
|
1158
1160
|
allowClear: !!l.allowClear,
|
|
1159
1161
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1170,17 +1172,19 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1170
1172
|
separator: l.separator || "To",
|
|
1171
1173
|
placeholder: l.placeholder,
|
|
1172
1174
|
size: "large",
|
|
1173
|
-
class:
|
|
1175
|
+
class: I(
|
|
1174
1176
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1175
1177
|
),
|
|
1176
1178
|
key: e.datetimerange,
|
|
1177
1179
|
onChange: (o) => e.dateChange(
|
|
1178
1180
|
o,
|
|
1179
|
-
typeof l.field == "string" ? l.field : ""
|
|
1181
|
+
typeof l.field == "string" ? l.field : "",
|
|
1182
|
+
l.type
|
|
1180
1183
|
),
|
|
1181
1184
|
onCalendarChange: (o) => e.calendarChange(
|
|
1182
1185
|
o,
|
|
1183
|
-
typeof l.field == "string" ? l.field : ""
|
|
1186
|
+
typeof l.field == "string" ? l.field : "",
|
|
1187
|
+
l.type
|
|
1184
1188
|
),
|
|
1185
1189
|
onOk: (o) => e.onOk(
|
|
1186
1190
|
o,
|
|
@@ -1190,49 +1194,49 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1190
1194
|
}, null, 8, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1191
1195
|
]),
|
|
1192
1196
|
_: 2
|
|
1193
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (
|
|
1197
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (d(), c(O, {
|
|
1194
1198
|
key: 13,
|
|
1195
1199
|
label: l.label,
|
|
1196
1200
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1197
1201
|
prop: l.field,
|
|
1198
1202
|
class: "rule_err"
|
|
1199
1203
|
}, {
|
|
1200
|
-
label:
|
|
1201
|
-
l.slotLabelName ? w(
|
|
1204
|
+
label: s(() => [
|
|
1205
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
1202
1206
|
key: 0,
|
|
1203
|
-
style:
|
|
1207
|
+
style: T(l.labelStyle)
|
|
1204
1208
|
}, [
|
|
1205
1209
|
j(t(l.label) + " ", 1),
|
|
1206
|
-
l.required ? (
|
|
1210
|
+
l.required ? (d(), M("span", xe, "*")) : g("", !0)
|
|
1207
1211
|
], 4))
|
|
1208
1212
|
]),
|
|
1209
|
-
default:
|
|
1210
|
-
w(
|
|
1213
|
+
default: s(() => [
|
|
1214
|
+
w(N.$slots, l.slotItemName, {}, void 0, !0)
|
|
1211
1215
|
]),
|
|
1212
1216
|
_: 2
|
|
1213
|
-
}, 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 ? (
|
|
1217
|
+
}, 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 ? (d(), c(O, {
|
|
1214
1218
|
key: 14,
|
|
1215
1219
|
label: l.label,
|
|
1216
1220
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
1217
1221
|
prop: l.field.phoneNumber,
|
|
1218
1222
|
class: "phone_item"
|
|
1219
1223
|
}, {
|
|
1220
|
-
label:
|
|
1221
|
-
l.slotLabelName ? w(
|
|
1224
|
+
label: s(() => [
|
|
1225
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
1222
1226
|
key: 0,
|
|
1223
|
-
style:
|
|
1227
|
+
style: T(l.labelStyle)
|
|
1224
1228
|
}, [
|
|
1225
1229
|
j(t(l.label) + " ", 1),
|
|
1226
|
-
l.required ? (
|
|
1230
|
+
l.required ? (d(), M("span", Le, "*")) : g("", !0)
|
|
1227
1231
|
], 4))
|
|
1228
1232
|
]),
|
|
1229
|
-
default:
|
|
1233
|
+
default: s(() => {
|
|
1230
1234
|
var o, i;
|
|
1231
1235
|
return [
|
|
1232
|
-
|
|
1233
|
-
class:
|
|
1236
|
+
h("div", {
|
|
1237
|
+
class: I(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1234
1238
|
}, [
|
|
1235
|
-
e.phoneWrap ? (
|
|
1239
|
+
e.phoneWrap ? (d(), M("div", Ee, [
|
|
1236
1240
|
f(C, {
|
|
1237
1241
|
"popper-class": "input-tooltip",
|
|
1238
1242
|
effect: "light",
|
|
@@ -1241,12 +1245,12 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1241
1245
|
disabled: e.isShowTooltip,
|
|
1242
1246
|
"trigger-keys": []
|
|
1243
1247
|
}, {
|
|
1244
|
-
default:
|
|
1248
|
+
default: s(() => {
|
|
1245
1249
|
var D;
|
|
1246
1250
|
return [
|
|
1247
|
-
l.field.nationCode ? (
|
|
1251
|
+
l.field.nationCode ? (d(), c(K, {
|
|
1248
1252
|
key: 0,
|
|
1249
|
-
class:
|
|
1253
|
+
class: I(["tooltip-select", [(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input", l.field.nationCode + (l.uniqueId || ""), "nationSelect"]]),
|
|
1250
1254
|
id: l.field.nationCode,
|
|
1251
1255
|
onMouseenter: (y) => e.visibilityChange(l.field.nationCode + (l.uniqueId || ""), "select", !0),
|
|
1252
1256
|
"popper-class": "selectTriangles selectTrianglesPhone",
|
|
@@ -1255,15 +1259,15 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1255
1259
|
modelValue: e.states.model[l.field.nationCode],
|
|
1256
1260
|
"onUpdate:modelValue": (y) => e.states.model[l.field.nationCode] = y,
|
|
1257
1261
|
placeholder: ((D = l.nationOptions) == null ? void 0 : D.placeholder) || "",
|
|
1258
|
-
style:
|
|
1262
|
+
style: T("width:" + l.widthNation),
|
|
1259
1263
|
"fit-input-width": !0,
|
|
1260
1264
|
"suffix-icon": e.IconDropDown,
|
|
1261
1265
|
"clear-icon": e.IconClear
|
|
1262
1266
|
}, {
|
|
1263
|
-
default:
|
|
1267
|
+
default: s(() => {
|
|
1264
1268
|
var y;
|
|
1265
1269
|
return [
|
|
1266
|
-
(
|
|
1270
|
+
(d(!0), M(E, null, _((y = l.nationOptions) == null ? void 0 : y.data, (R, J) => (d(), c(P, {
|
|
1267
1271
|
label: R.name,
|
|
1268
1272
|
value: R.code,
|
|
1269
1273
|
key: J
|
|
@@ -1285,12 +1289,12 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1285
1289
|
disabled: e.isShowTooltip,
|
|
1286
1290
|
"trigger-keys": []
|
|
1287
1291
|
}, {
|
|
1288
|
-
default:
|
|
1292
|
+
default: s(() => {
|
|
1289
1293
|
var D;
|
|
1290
1294
|
return [
|
|
1291
|
-
l.field.areaCode ? (
|
|
1295
|
+
l.field.areaCode ? (d(), c(L, {
|
|
1292
1296
|
key: 0,
|
|
1293
|
-
class:
|
|
1297
|
+
class: I(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1294
1298
|
id: l.field.areaCode,
|
|
1295
1299
|
onMouseenter: (y) => e.visibilityChange(l.field.areaCode, "phone-input"),
|
|
1296
1300
|
onBlur: (y) => e.inputBlur(y, typeof l.field == "string" ? l.field : l.field.areaCode),
|
|
@@ -1319,12 +1323,12 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1319
1323
|
disabled: e.isShowTooltip,
|
|
1320
1324
|
"trigger-keys": []
|
|
1321
1325
|
}, {
|
|
1322
|
-
default:
|
|
1326
|
+
default: s(() => {
|
|
1323
1327
|
var D;
|
|
1324
1328
|
return [
|
|
1325
|
-
l.field.nationCode && !e.phoneWrap ? (
|
|
1329
|
+
l.field.nationCode && !e.phoneWrap ? (d(), c(K, {
|
|
1326
1330
|
key: 0,
|
|
1327
|
-
class:
|
|
1331
|
+
class: I([
|
|
1328
1332
|
"tooltip-select",
|
|
1329
1333
|
[
|
|
1330
1334
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "",
|
|
@@ -1340,15 +1344,15 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1340
1344
|
modelValue: e.states.model[l.field.nationCode],
|
|
1341
1345
|
"onUpdate:modelValue": (y) => e.states.model[l.field.nationCode] = y,
|
|
1342
1346
|
placeholder: ((D = l.nationOptions) == null ? void 0 : D.placeholder) || "",
|
|
1343
|
-
style:
|
|
1347
|
+
style: T("width:" + l.widthNation),
|
|
1344
1348
|
"fit-input-width": !0,
|
|
1345
1349
|
"suffix-icon": e.IconDropDown,
|
|
1346
1350
|
"clear-icon": e.IconClear
|
|
1347
1351
|
}, {
|
|
1348
|
-
default:
|
|
1352
|
+
default: s(() => {
|
|
1349
1353
|
var y;
|
|
1350
1354
|
return [
|
|
1351
|
-
(
|
|
1355
|
+
(d(!0), M(E, null, _((y = l.nationOptions) == null ? void 0 : y.data, (R, J) => (d(), c(P, {
|
|
1352
1356
|
label: R.name,
|
|
1353
1357
|
value: R.code,
|
|
1354
1358
|
key: J
|
|
@@ -1361,7 +1365,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1361
1365
|
}),
|
|
1362
1366
|
_: 2
|
|
1363
1367
|
}, 1032, ["content", "disabled"]),
|
|
1364
|
-
e.phoneWrap ? g("", !0) : (
|
|
1368
|
+
e.phoneWrap ? g("", !0) : (d(), M("div", Se, " - ")),
|
|
1365
1369
|
f(C, {
|
|
1366
1370
|
"popper-class": "input-tooltip",
|
|
1367
1371
|
effect: "light",
|
|
@@ -1370,12 +1374,12 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1370
1374
|
disabled: e.isShowTooltip,
|
|
1371
1375
|
"trigger-keys": []
|
|
1372
1376
|
}, {
|
|
1373
|
-
default:
|
|
1377
|
+
default: s(() => {
|
|
1374
1378
|
var D;
|
|
1375
1379
|
return [
|
|
1376
|
-
l.field.areaCode && !e.phoneWrap ? (
|
|
1380
|
+
l.field.areaCode && !e.phoneWrap ? (d(), c(L, {
|
|
1377
1381
|
key: 0,
|
|
1378
|
-
class:
|
|
1382
|
+
class: I([
|
|
1379
1383
|
"tooltip-input",
|
|
1380
1384
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1381
1385
|
]),
|
|
@@ -1403,14 +1407,14 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1403
1407
|
"onUpdate:modelValue": (y) => e.states.model[l.field.areaCode] = y,
|
|
1404
1408
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1405
1409
|
placeholder: ((D = l.areaOptions) == null ? void 0 : D.placeholder) || "",
|
|
1406
|
-
style:
|
|
1410
|
+
style: T("width:" + l.widthArea),
|
|
1407
1411
|
clearable: l.clearable
|
|
1408
1412
|
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1409
1413
|
];
|
|
1410
1414
|
}),
|
|
1411
1415
|
_: 2
|
|
1412
1416
|
}, 1032, ["content", "disabled"]),
|
|
1413
|
-
e.phoneWrap ? g("", !0) : (
|
|
1417
|
+
e.phoneWrap ? g("", !0) : (d(), M("div", Re, " - ")),
|
|
1414
1418
|
f(C, {
|
|
1415
1419
|
"popper-class": "input-tooltip",
|
|
1416
1420
|
effect: "light",
|
|
@@ -1419,10 +1423,10 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1419
1423
|
disabled: e.isShowTooltip,
|
|
1420
1424
|
"trigger-keys": []
|
|
1421
1425
|
}, {
|
|
1422
|
-
default:
|
|
1423
|
-
l.field.phoneNumber ? (
|
|
1426
|
+
default: s(() => [
|
|
1427
|
+
l.field.phoneNumber ? (d(), c(L, {
|
|
1424
1428
|
key: 0,
|
|
1425
|
-
class:
|
|
1429
|
+
class: I([
|
|
1426
1430
|
"tooltip-input",
|
|
1427
1431
|
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1428
1432
|
]),
|
|
@@ -1450,7 +1454,7 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1450
1454
|
"onUpdate:modelValue": (D) => e.states.model[l.field.phoneNumber] = D,
|
|
1451
1455
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
|
|
1452
1456
|
placeholder: l.placeholder || "",
|
|
1453
|
-
style:
|
|
1457
|
+
style: T("width:" + l.widthPhoneNumber),
|
|
1454
1458
|
clearable: l.clearable
|
|
1455
1459
|
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "formatter", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1456
1460
|
]),
|
|
@@ -1460,30 +1464,30 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1460
1464
|
];
|
|
1461
1465
|
}),
|
|
1462
1466
|
_: 2
|
|
1463
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (
|
|
1467
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (d(), c(O, {
|
|
1464
1468
|
key: 15,
|
|
1465
1469
|
label: l.label
|
|
1466
1470
|
}, {
|
|
1467
|
-
default:
|
|
1471
|
+
default: s(() => [
|
|
1468
1472
|
Ye
|
|
1469
1473
|
]),
|
|
1470
1474
|
_: 2
|
|
1471
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (
|
|
1475
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (d(), c(O, {
|
|
1472
1476
|
key: 16,
|
|
1473
1477
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1474
1478
|
prop: l.field,
|
|
1475
|
-
class:
|
|
1479
|
+
class: I(l.prepend ? "input-item" : "")
|
|
1476
1480
|
}, {
|
|
1477
|
-
label:
|
|
1478
|
-
l.slotLabelName ? w(
|
|
1481
|
+
label: s(() => [
|
|
1482
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
1479
1483
|
key: 0,
|
|
1480
|
-
style:
|
|
1484
|
+
style: T(l.labelStyle)
|
|
1481
1485
|
}, [
|
|
1482
1486
|
j(t(l.label) + " ", 1),
|
|
1483
|
-
l.required ? (
|
|
1487
|
+
l.required ? (d(), M("span", Ve, "*")) : g("", !0)
|
|
1484
1488
|
], 4))
|
|
1485
1489
|
]),
|
|
1486
|
-
default:
|
|
1490
|
+
default: s(() => [
|
|
1487
1491
|
f(L, {
|
|
1488
1492
|
onBlur: (o) => e.inputBlur(
|
|
1489
1493
|
o,
|
|
@@ -1513,21 +1517,21 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1513
1517
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1514
1518
|
showPassword: l.showPassword,
|
|
1515
1519
|
clearable: l.clearable,
|
|
1516
|
-
class:
|
|
1520
|
+
class: I(
|
|
1517
1521
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1518
1522
|
),
|
|
1519
1523
|
onKeyup: B((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1520
1524
|
}, m({ _: 2 }, [
|
|
1521
1525
|
l.prepend ? {
|
|
1522
1526
|
name: "prepend",
|
|
1523
|
-
fn:
|
|
1527
|
+
fn: s(() => [
|
|
1524
1528
|
j(t(l.prepend), 1)
|
|
1525
1529
|
]),
|
|
1526
1530
|
key: "0"
|
|
1527
1531
|
} : void 0,
|
|
1528
1532
|
l.append ? {
|
|
1529
1533
|
name: "append",
|
|
1530
|
-
fn:
|
|
1534
|
+
fn: s(() => [
|
|
1531
1535
|
j(t(l.append), 1)
|
|
1532
1536
|
]),
|
|
1533
1537
|
key: "1"
|
|
@@ -1535,22 +1539,22 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1535
1539
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1536
1540
|
]),
|
|
1537
1541
|
_: 2
|
|
1538
|
-
}, 1032, ["rules", "prop", "class"])) : l.type === "textarea" && typeof l.field == "string" ? (
|
|
1542
|
+
}, 1032, ["rules", "prop", "class"])) : l.type === "textarea" && typeof l.field == "string" ? (d(), c(O, {
|
|
1539
1543
|
key: 17,
|
|
1540
1544
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1541
1545
|
prop: l.field,
|
|
1542
|
-
class:
|
|
1546
|
+
class: I(l.prepend ? "input-item" : "")
|
|
1543
1547
|
}, {
|
|
1544
|
-
label:
|
|
1545
|
-
l.slotLabelName ? w(
|
|
1548
|
+
label: s(() => [
|
|
1549
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
1546
1550
|
key: 0,
|
|
1547
|
-
style:
|
|
1551
|
+
style: T(l.labelStyle)
|
|
1548
1552
|
}, [
|
|
1549
1553
|
j(t(l.label) + " ", 1),
|
|
1550
|
-
l.required ? (
|
|
1554
|
+
l.required ? (d(), M("span", Ue, "*")) : g("", !0)
|
|
1551
1555
|
], 4))
|
|
1552
1556
|
]),
|
|
1553
|
-
default:
|
|
1557
|
+
default: s(() => [
|
|
1554
1558
|
f(C, {
|
|
1555
1559
|
"popper-class": "input-tooltip",
|
|
1556
1560
|
effect: "light",
|
|
@@ -1559,10 +1563,10 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1559
1563
|
disabled: e.isShowTooltip,
|
|
1560
1564
|
"trigger-keys": []
|
|
1561
1565
|
}, {
|
|
1562
|
-
default:
|
|
1563
|
-
|
|
1566
|
+
default: s(() => [
|
|
1567
|
+
h("div", Fe, [
|
|
1564
1568
|
f(L, {
|
|
1565
|
-
class:
|
|
1569
|
+
class: I(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1566
1570
|
id: l.field,
|
|
1567
1571
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
1568
1572
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1584,23 +1588,23 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1584
1588
|
}, m({ _: 2 }, [
|
|
1585
1589
|
l.prepend ? {
|
|
1586
1590
|
name: "prepend",
|
|
1587
|
-
fn:
|
|
1591
|
+
fn: s(() => [
|
|
1588
1592
|
j(t(l.prepend), 1)
|
|
1589
1593
|
]),
|
|
1590
1594
|
key: "0"
|
|
1591
1595
|
} : void 0,
|
|
1592
1596
|
l.append ? {
|
|
1593
1597
|
name: "append",
|
|
1594
|
-
fn:
|
|
1598
|
+
fn: s(() => [
|
|
1595
1599
|
j(t(l.append), 1)
|
|
1596
1600
|
]),
|
|
1597
1601
|
key: "1"
|
|
1598
1602
|
} : void 0
|
|
1599
1603
|
]), 1032, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"]),
|
|
1600
|
-
l.showWordLimit ? (
|
|
1601
|
-
|
|
1604
|
+
l.showWordLimit ? (d(), M("div", We, [
|
|
1605
|
+
h("span", null, t(l.textareaLength || 0), 1),
|
|
1602
1606
|
j("/"),
|
|
1603
|
-
|
|
1607
|
+
h("span", null, t(l.maxlength), 1)
|
|
1604
1608
|
])) : g("", !0)
|
|
1605
1609
|
])
|
|
1606
1610
|
]),
|
|
@@ -1608,22 +1612,22 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1608
1612
|
}, 1032, ["content", "disabled"])
|
|
1609
1613
|
]),
|
|
1610
1614
|
_: 2
|
|
1611
|
-
}, 1032, ["rules", "prop", "class"])) : (
|
|
1615
|
+
}, 1032, ["rules", "prop", "class"])) : (d(), c(O, {
|
|
1612
1616
|
key: 18,
|
|
1613
1617
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1614
1618
|
prop: l.field,
|
|
1615
|
-
class:
|
|
1619
|
+
class: I(l.prepend ? "input-item" : "")
|
|
1616
1620
|
}, {
|
|
1617
|
-
label:
|
|
1618
|
-
l.slotLabelName ? w(
|
|
1621
|
+
label: s(() => [
|
|
1622
|
+
l.slotLabelName ? w(N.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (d(), M("div", {
|
|
1619
1623
|
key: 0,
|
|
1620
|
-
style:
|
|
1624
|
+
style: T(l.labelStyle)
|
|
1621
1625
|
}, [
|
|
1622
1626
|
j(t(l.label) + " ", 1),
|
|
1623
|
-
l.required ? (
|
|
1627
|
+
l.required ? (d(), M("span", Be, "*")) : g("", !0)
|
|
1624
1628
|
], 4))
|
|
1625
1629
|
]),
|
|
1626
|
-
default:
|
|
1630
|
+
default: s(() => [
|
|
1627
1631
|
f(C, {
|
|
1628
1632
|
"popper-class": "input-tooltip",
|
|
1629
1633
|
effect: "light",
|
|
@@ -1632,9 +1636,9 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1632
1636
|
disabled: e.isShowTooltip,
|
|
1633
1637
|
"trigger-keys": []
|
|
1634
1638
|
}, {
|
|
1635
|
-
default:
|
|
1639
|
+
default: s(() => [
|
|
1636
1640
|
f(L, {
|
|
1637
|
-
class:
|
|
1641
|
+
class: I(["tooltip-input", [(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]]),
|
|
1638
1642
|
id: l.field + (l.uniqueId || ""),
|
|
1639
1643
|
onMouseenter: (o) => e.visibilityChange(l.field + (l.uniqueId || "")),
|
|
1640
1644
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1656,14 +1660,14 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1656
1660
|
}, m({ _: 2 }, [
|
|
1657
1661
|
l.prepend ? {
|
|
1658
1662
|
name: "prepend",
|
|
1659
|
-
fn:
|
|
1663
|
+
fn: s(() => [
|
|
1660
1664
|
j(t(l.prepend), 1)
|
|
1661
1665
|
]),
|
|
1662
1666
|
key: "0"
|
|
1663
1667
|
} : void 0,
|
|
1664
1668
|
l.append ? {
|
|
1665
1669
|
name: "append",
|
|
1666
|
-
fn:
|
|
1670
|
+
fn: s(() => [
|
|
1667
1671
|
j(t(l.append), 1)
|
|
1668
1672
|
]),
|
|
1669
1673
|
key: "1"
|
|
@@ -1685,13 +1689,13 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1685
1689
|
_: 3
|
|
1686
1690
|
}),
|
|
1687
1691
|
f(O, { class: "btnsItem" }, {
|
|
1688
|
-
default:
|
|
1689
|
-
w(
|
|
1692
|
+
default: s(() => [
|
|
1693
|
+
w(N.$slots, "buttons", {
|
|
1690
1694
|
model: S.model,
|
|
1691
1695
|
onBtnClick: e.onSubmit
|
|
1692
1696
|
}, () => [
|
|
1693
|
-
(
|
|
1694
|
-
l.isShow ? (
|
|
1697
|
+
(d(!0), M(E, null, _(e.formOptions.btnConfig, (l, Q) => (d(), M("div", { key: Q }, [
|
|
1698
|
+
l.isShow ? (d(), c(al, {
|
|
1695
1699
|
key: 0,
|
|
1696
1700
|
btnCode: l.btnCode,
|
|
1697
1701
|
plain: l.plain,
|
|
@@ -1714,11 +1718,11 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1714
1718
|
size: l.size,
|
|
1715
1719
|
fontSize: l.fontSize,
|
|
1716
1720
|
fontWeight: l.fontWeight,
|
|
1717
|
-
style:
|
|
1718
|
-
class:
|
|
1721
|
+
style: T(l.style),
|
|
1722
|
+
class: I(l.class),
|
|
1719
1723
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1720
1724
|
}, {
|
|
1721
|
-
default:
|
|
1725
|
+
default: s(() => [
|
|
1722
1726
|
j(t(l.name), 1)
|
|
1723
1727
|
]),
|
|
1724
1728
|
_: 2
|
|
@@ -1732,9 +1736,9 @@ function Ze(h, p, S, e, V, Y) {
|
|
|
1732
1736
|
_: 3
|
|
1733
1737
|
}, 16, ["model", "label-position"]);
|
|
1734
1738
|
}
|
|
1735
|
-
const Nl = /* @__PURE__ */ $l(ml, [["render", Ze], ["__scopeId", "data-v-
|
|
1736
|
-
function Ml(
|
|
1737
|
-
Ml.installed || (Ml.installed = !0,
|
|
1739
|
+
const Nl = /* @__PURE__ */ $l(ml, [["render", Ze], ["__scopeId", "data-v-144a2224"]]);
|
|
1740
|
+
function Ml(N, p = {}) {
|
|
1741
|
+
Ml.installed || (Ml.installed = !0, N.component("common-el-form", Nl));
|
|
1738
1742
|
}
|
|
1739
1743
|
Nl.install = Ml;
|
|
1740
1744
|
export {
|