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