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