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