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