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