sinosoft-common-form 2.0.4 → 2.3.6
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 +281 -276
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as v, reactive as Al, shallowRef as el, h as ol, computed as kl, onMounted as wl, onBeforeUnmount as zl, watch as Cl, toRefs as xl, nextTick as Ll, resolveComponent as I, openBlock as a, createBlock as i, mergeProps as El, withModifiers as _l, withCtx as n, createVNode as f, createElementBlock as M, Fragment as k, renderList as w, withDirectives as Sl, createElementVNode as b, normalizeStyle as D, toDisplayString as y, createTextVNode as T, createCommentVNode as g, renderSlot as h, normalizeClass as t, withKeys as U, createSlots as K, vShow as Yl, pushScopeId as vl, popScopeId as Rl } from "vue";
|
|
2
2
|
const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Nj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MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Wl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -21,178 +21,183 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(p, { emit:
|
|
25
|
-
const
|
|
24
|
+
setup(p, { emit: c }) {
|
|
25
|
+
const C = v(!0), e = Al({
|
|
26
26
|
model: {}
|
|
27
|
-
}),
|
|
27
|
+
}), S = v(!0), x = v(null), N = el({
|
|
28
28
|
render() {
|
|
29
|
-
return
|
|
29
|
+
return ol("img", {
|
|
30
30
|
src: Vl
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
}),
|
|
33
|
+
}), O = el({
|
|
34
34
|
render() {
|
|
35
|
-
return
|
|
35
|
+
return ol("img", {
|
|
36
36
|
src: Ul
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
}), E = (s) => {
|
|
40
40
|
const r = s.target;
|
|
41
|
-
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight &&
|
|
42
|
-
},
|
|
41
|
+
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight && c("selectChangeScroll");
|
|
42
|
+
}, F = (s, r) => {
|
|
43
43
|
if (s) {
|
|
44
44
|
const u = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
45
|
-
u && u.addEventListener("scroll", E),
|
|
45
|
+
u && u.addEventListener("scroll", E), c("handleVisibleChange", s, r);
|
|
46
46
|
}
|
|
47
|
-
},
|
|
47
|
+
}, W = el({
|
|
48
48
|
render() {
|
|
49
|
-
return
|
|
49
|
+
return ol("img", {
|
|
50
50
|
src: Fl
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), B = kl(() => Object.assign([], p.options)), R = () => {
|
|
54
54
|
e.model = p.model;
|
|
55
|
-
},
|
|
56
|
-
var
|
|
57
|
-
r ? (
|
|
58
|
-
var
|
|
59
|
-
(
|
|
60
|
-
if (
|
|
61
|
-
|
|
55
|
+
}, Y = (s, r, u) => {
|
|
56
|
+
var j;
|
|
57
|
+
r ? (C.value = !1, Ll(() => {
|
|
58
|
+
var _;
|
|
59
|
+
(_ = x.value) == null || _.validate((ll) => {
|
|
60
|
+
if (ll)
|
|
61
|
+
c(u || "submit", e.model, s);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) : r ? (u === "reset" && ((
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
|
|
65
|
+
})) : r ? (u === "reset" && ((j = x.value) == null || j.resetFields()), c(u || "submit", e.model, s)) : (C.value = !1, c(u || "submit", e.model, s, x.value));
|
|
66
|
+
}, V = (s, r) => {
|
|
67
|
+
c("selectChange", s, r);
|
|
68
|
+
}, Z = (s, r) => {
|
|
69
|
+
c("radioChange", s, r);
|
|
70
70
|
}, L = (s, r) => {
|
|
71
|
-
|
|
71
|
+
c("checkChange", s, r);
|
|
72
72
|
}, q = (s, r) => {
|
|
73
73
|
const u = e.model[r].length;
|
|
74
74
|
if (u === 1) {
|
|
75
|
-
|
|
75
|
+
c("checkChange", s, r);
|
|
76
76
|
return;
|
|
77
77
|
} else
|
|
78
|
-
u > 1 ? (e.model[r].shift(),
|
|
79
|
-
},
|
|
80
|
-
|
|
78
|
+
u > 1 ? (e.model[r].shift(), c("checkChange", s, r)) : u < 1 && c("checkChange", s, r);
|
|
79
|
+
}, P = (s, r, u) => {
|
|
80
|
+
Y(s, r, u);
|
|
81
81
|
}, J = (s, r) => {
|
|
82
|
-
s && (r == null ? void 0 : r.key) === "Enter" &&
|
|
83
|
-
},
|
|
84
|
-
var
|
|
85
|
-
const
|
|
86
|
-
s === Ol && u ? ((
|
|
82
|
+
s && (r == null ? void 0 : r.key) === "Enter" && Y(void 0, !0, "submit");
|
|
83
|
+
}, H = (s, r, u) => {
|
|
84
|
+
var Ml, il;
|
|
85
|
+
const j = /* @__PURE__ */ new Date(), _ = j.getDate().toString().padStart(2, "0"), ll = (j.getMonth() + 1).toString().padStart(2, "0"), jl = j.getFullYear().toString(), Ol = `${_}/${ll}/${jl}`;
|
|
86
|
+
s === Ol && u ? ((Ml = x.value) == null || Ml.validateField(r), e.model[r] = u.format("DD/MM/YYYY"), c("dateChange", u.format("DD/MM/YYYY"), r)) : (console.log(111111), (il = x.value) == null || il.validateField(r), c("dateChange", s, r));
|
|
87
87
|
}, l = (s, r) => {
|
|
88
|
-
|
|
89
|
-
},
|
|
90
|
-
|
|
88
|
+
console.log(s, "calendarChange"), c("calendarChange", s, r);
|
|
89
|
+
}, Q = (s, r) => {
|
|
90
|
+
c("onOk", s, r);
|
|
91
91
|
}, o = (s, r) => {
|
|
92
|
-
|
|
92
|
+
c("inputBlur", s, r);
|
|
93
93
|
}, d = (s, r) => {
|
|
94
|
-
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
},
|
|
94
|
+
c("inputFocus", s, r);
|
|
95
|
+
}, A = (s, r) => {
|
|
96
|
+
c("inputChange", s, r);
|
|
97
|
+
}, G = (s, r) => {
|
|
98
|
+
c("inputInput", s, r);
|
|
99
|
+
}, fl = (s) => {
|
|
100
100
|
if (s) {
|
|
101
|
-
var r = document.getElementById(s), u = r.offsetWidth,
|
|
102
|
-
|
|
101
|
+
var r = document.getElementById(s), u = r.offsetWidth, j = r.scrollWidth;
|
|
102
|
+
j > u ? S.value = !1 : S.value = !0;
|
|
103
103
|
} else
|
|
104
|
-
|
|
105
|
-
},
|
|
106
|
-
const u = r.find((
|
|
104
|
+
S.value = !0;
|
|
105
|
+
}, Dl = (s, r) => {
|
|
106
|
+
const u = r.find((j) => j.code === s);
|
|
107
107
|
return u ? u.name : s;
|
|
108
108
|
}, tl = (s) => {
|
|
109
109
|
var r;
|
|
110
|
-
(r =
|
|
111
|
-
},
|
|
110
|
+
(r = x.value) == null || r.resetFields(s);
|
|
111
|
+
}, bl = (s) => {
|
|
112
112
|
var r;
|
|
113
|
-
(r =
|
|
114
|
-
}, X =
|
|
113
|
+
(r = x.value) == null || r.clearValidate(s);
|
|
114
|
+
}, X = v(!1), nl = () => {
|
|
115
115
|
window.innerWidth < 768, X.value = !1;
|
|
116
116
|
};
|
|
117
117
|
wl(() => {
|
|
118
118
|
var s;
|
|
119
|
-
|
|
119
|
+
R(), (s = x.value) == null || s.resetFields(), window.addEventListener("resize", nl);
|
|
120
120
|
}), zl(() => {
|
|
121
|
-
window.removeEventListener("resize",
|
|
121
|
+
window.removeEventListener("resize", nl);
|
|
122
122
|
}), Cl(
|
|
123
123
|
() => p.fieldList,
|
|
124
124
|
(s, r) => {
|
|
125
|
-
s !== r &&
|
|
125
|
+
s !== r && R();
|
|
126
126
|
}
|
|
127
127
|
);
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
},
|
|
131
|
-
const
|
|
128
|
+
const m = v(0), $ = v(0), dl = v(0), sl = () => {
|
|
129
|
+
m.value += 1;
|
|
130
|
+
}, Nl = (s, r, u, j) => {
|
|
131
|
+
const _ = {};
|
|
132
132
|
if (s.date() === r.date() && s.year() === r.year() && s.month() === r.month())
|
|
133
|
-
return
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
s || (m.value += 1), g("openChange", s);
|
|
133
|
+
return _.border = "1px solid #a26628", _.borderRadius = "4px", _;
|
|
134
|
+
c("openStatusNumber", u == null ? void 0 : u.range, j);
|
|
135
|
+
}, Tl = (s, r, u) => {
|
|
136
|
+
e.model[r] = u.format("DD/MM/YYYY"), sl(), H(s, r, u), c("getDefaultToady", u, r);
|
|
138
137
|
}, Il = (s, r) => {
|
|
139
|
-
s || (m.value += 1),
|
|
140
|
-
}
|
|
141
|
-
|
|
138
|
+
s || (m.value += 1), c("openChange", s);
|
|
139
|
+
};
|
|
140
|
+
$.value = 1;
|
|
141
|
+
const rl = (s, r, u) => {
|
|
142
|
+
s || ($.value += 1), c("openDatePickerDaterange", s);
|
|
143
|
+
};
|
|
144
|
+
rl(!0);
|
|
145
|
+
const hl = (s) => {
|
|
146
|
+
s || (dl.value += 1), c("openDatetimerange", s);
|
|
142
147
|
};
|
|
143
148
|
return {
|
|
144
149
|
...xl(e),
|
|
145
|
-
formRef:
|
|
146
|
-
isShowTooltip:
|
|
150
|
+
formRef: x,
|
|
151
|
+
isShowTooltip: S,
|
|
147
152
|
states: e,
|
|
148
|
-
formOptions:
|
|
149
|
-
onSubmit:
|
|
150
|
-
selectChange:
|
|
151
|
-
radioChange:
|
|
153
|
+
formOptions: B,
|
|
154
|
+
onSubmit: Y,
|
|
155
|
+
selectChange: V,
|
|
156
|
+
radioChange: Z,
|
|
152
157
|
checkChange: L,
|
|
153
158
|
handleCheckedChange: q,
|
|
154
159
|
prefixIcon: N,
|
|
155
|
-
IconDropDown:
|
|
156
|
-
IconClear:
|
|
157
|
-
handleClick:
|
|
160
|
+
IconDropDown: O,
|
|
161
|
+
IconClear: W,
|
|
162
|
+
handleClick: P,
|
|
158
163
|
handleKeyUp: J,
|
|
159
164
|
resetFieldsTest: tl,
|
|
160
|
-
clearValidateTest:
|
|
161
|
-
dateChange:
|
|
165
|
+
clearValidateTest: bl,
|
|
166
|
+
dateChange: H,
|
|
162
167
|
calendarChange: l,
|
|
163
|
-
onOk:
|
|
168
|
+
onOk: Q,
|
|
164
169
|
inputBlur: o,
|
|
165
170
|
inputFocus: d,
|
|
166
|
-
inputChange:
|
|
167
|
-
inputInput:
|
|
168
|
-
noFormRule:
|
|
171
|
+
inputChange: A,
|
|
172
|
+
inputInput: G,
|
|
173
|
+
noFormRule: C,
|
|
169
174
|
phoneWrap: X,
|
|
170
|
-
pickerKey:
|
|
171
|
-
pickerKeyDaterange:
|
|
175
|
+
pickerKey: m,
|
|
176
|
+
pickerKeyDaterange: $,
|
|
172
177
|
datetimerange: dl,
|
|
173
178
|
openDatePicker: sl,
|
|
174
|
-
openDatePickerDaterange:
|
|
179
|
+
openDatePickerDaterange: rl,
|
|
175
180
|
openDatetimerange: hl,
|
|
176
181
|
// spaceRule,
|
|
177
|
-
handleVisibleChange:
|
|
182
|
+
handleVisibleChange: F,
|
|
178
183
|
handleScroll: E,
|
|
179
|
-
visibilityChange:
|
|
180
|
-
contentName:
|
|
181
|
-
openChange:
|
|
182
|
-
getCurrentStyle:
|
|
183
|
-
getDefaultToady:
|
|
184
|
+
visibilityChange: fl,
|
|
185
|
+
contentName: Dl,
|
|
186
|
+
openChange: Il,
|
|
187
|
+
getCurrentStyle: Nl,
|
|
188
|
+
getDefaultToady: Tl
|
|
184
189
|
};
|
|
185
190
|
}
|
|
186
|
-
},
|
|
187
|
-
const Bl = (p,
|
|
188
|
-
const
|
|
189
|
-
for (const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YgMjBMOC44Nzg2IDE4LjkzOTNMNy44MTc5NCAyMFpNMTAuOTk5OSAxOC45MzkzTDUuOTk5OTIgMTMuOTM5M0wzLjg3ODYgMTYuMDYwN0w4Ljg3ODYgMjEuMDYwN0wxMC45OTk5IDE4LjkzOTNaTTUuOTk5OTIgMjYuMDYwN0wxMC45OTk5IDIxLjA2MDdMOC44Nzg2IDE4LjkzOTNMMy44Nzg2IDIzLjkzOTNMNS45OTk5MiAyNi4wNjA3Wk0zLjg3ODYgMTMuOTM5M0wyLjgxNzk0IDE1TDQuOTM5MjYgMTcuMTIxM0w1Ljk5OTkyIDE2LjA2MDdMMy44Nzg2IDEzLjkzOTNaTTIuODE3OTQgMjVMMy44Nzg2IDI2LjA2MDdMNS45OTk5MiAyMy45MzkzTDQuOTM5MjYgMjIuODc4N0wyLjgxNzk0IDI1Wk02Ljc1NzI4IDE4LjkzOTNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
192
|
+
const Bl = (p, c) => {
|
|
193
|
+
const C = p.__vccOpts || p;
|
|
194
|
+
for (const [e, S] of c)
|
|
195
|
+
C[e] = S;
|
|
196
|
+
return C;
|
|
197
|
+
}, z = (p) => (vl("data-v-242be595"), p = p(), Rl(), p), Zl = { class: "header-title" }, Ql = { class: "title-content" }, Gl = {
|
|
193
198
|
key: 0,
|
|
194
199
|
class: "custom-required"
|
|
195
|
-
},
|
|
200
|
+
}, Pl = {
|
|
196
201
|
key: 0,
|
|
197
202
|
class: "custom-required"
|
|
198
203
|
}, Hl = ["src"], Kl = {
|
|
@@ -216,40 +221,40 @@ const Bl = (p, g) => {
|
|
|
216
221
|
}, ne = {
|
|
217
222
|
key: 0,
|
|
218
223
|
class: "custom-required"
|
|
219
|
-
}, de = ["onClick"], se = /* @__PURE__ */
|
|
220
|
-
src: il,
|
|
221
|
-
alt: ""
|
|
222
|
-
}, null, -1)), re = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
224
|
+
}, de = ["onClick"], se = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
223
225
|
src: yl,
|
|
224
226
|
alt: ""
|
|
225
|
-
}, null, -1)),
|
|
227
|
+
}, null, -1)), re = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
226
228
|
src: cl,
|
|
227
229
|
alt: ""
|
|
228
|
-
}, null, -1)),
|
|
230
|
+
}, null, -1)), Me = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
229
231
|
src: ul,
|
|
230
232
|
alt: ""
|
|
233
|
+
}, null, -1)), ie = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
234
|
+
src: gl,
|
|
235
|
+
alt: ""
|
|
231
236
|
}, null, -1)), ye = {
|
|
232
237
|
key: 0,
|
|
233
238
|
class: "date_to"
|
|
234
239
|
}, ce = {
|
|
235
240
|
key: 0,
|
|
236
241
|
class: "custom-required"
|
|
237
|
-
}, ue = /* @__PURE__ */
|
|
238
|
-
src: il,
|
|
239
|
-
alt: ""
|
|
240
|
-
}, null, -1)), ge = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
242
|
+
}, ue = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
241
243
|
src: yl,
|
|
242
244
|
alt: ""
|
|
243
|
-
}, null, -1)),
|
|
245
|
+
}, null, -1)), ge = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
244
246
|
src: cl,
|
|
245
247
|
alt: ""
|
|
246
|
-
}, null, -1)),
|
|
248
|
+
}, null, -1)), pe = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
247
249
|
src: ul,
|
|
248
250
|
alt: ""
|
|
249
|
-
}, null, -1)),
|
|
251
|
+
}, null, -1)), fe = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
252
|
+
src: gl,
|
|
253
|
+
alt: ""
|
|
254
|
+
}, null, -1)), De = {
|
|
250
255
|
key: 0,
|
|
251
256
|
class: "custom-required"
|
|
252
|
-
},
|
|
257
|
+
}, te = {
|
|
253
258
|
key: 0,
|
|
254
259
|
class: "custom-required"
|
|
255
260
|
}, be = {
|
|
@@ -258,53 +263,53 @@ const Bl = (p, g) => {
|
|
|
258
263
|
}, Ne = {
|
|
259
264
|
key: 0,
|
|
260
265
|
class: "phone_item_content_before"
|
|
261
|
-
}, Te = /* @__PURE__ */
|
|
266
|
+
}, Te = /* @__PURE__ */ z(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), Ie = /* @__PURE__ */ z(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), he = {
|
|
262
267
|
key: 1,
|
|
263
268
|
class: "line_middle"
|
|
264
269
|
}, je = {
|
|
265
270
|
key: 2,
|
|
266
271
|
class: "line_middle"
|
|
267
|
-
}, Oe = /* @__PURE__ */
|
|
272
|
+
}, Oe = /* @__PURE__ */ z(() => /* @__PURE__ */ b("div", {
|
|
268
273
|
class: "line",
|
|
269
274
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
270
|
-
}, null, -1)),
|
|
275
|
+
}, null, -1)), Ae = {
|
|
271
276
|
key: 0,
|
|
272
277
|
class: "custom-required"
|
|
273
|
-
},
|
|
278
|
+
}, ke = {
|
|
274
279
|
key: 0,
|
|
275
280
|
class: "custom-required"
|
|
276
281
|
};
|
|
277
|
-
function we(p,
|
|
278
|
-
const N = I("el-form-item"),
|
|
279
|
-
return a(), i(
|
|
282
|
+
function we(p, c, C, e, S, x) {
|
|
283
|
+
const N = I("el-form-item"), O = I("el-input"), E = I("el-col"), F = I("el-row"), W = I("el-radio"), B = I("el-radio-group"), R = I("el-checkbox"), Y = I("el-checkbox-group"), V = I("el-option"), Z = I("el-select"), L = I("el-tooltip"), q = I("a-date-picker"), P = I("a-range-picker"), J = I("sinosoftCommonButton"), H = I("el-form");
|
|
284
|
+
return a(), i(H, El({
|
|
280
285
|
"hide-required-asterisk": "",
|
|
281
|
-
onSubmit:
|
|
286
|
+
onSubmit: c[1] || (c[1] = _l(() => {
|
|
282
287
|
}, ["prevent"])),
|
|
283
|
-
model:
|
|
288
|
+
model: C.model
|
|
284
289
|
}, e.formOptions, {
|
|
285
290
|
"label-position": e.formOptions.labelPosition,
|
|
286
291
|
ref: "formRef",
|
|
287
292
|
"scroll-to-error": !0
|
|
288
293
|
}), {
|
|
289
294
|
default: n(() => [
|
|
290
|
-
f(
|
|
295
|
+
f(F, { gutter: 24 }, {
|
|
291
296
|
default: n(() => [
|
|
292
|
-
(a(!0), M(k, null,
|
|
297
|
+
(a(!0), M(k, null, w(C.fieldList, (l, Q) => Sl((a(), i(E, {
|
|
293
298
|
xs: l.xs ? l.xs : 24,
|
|
294
299
|
sm: l.sm ? l.sm : 24,
|
|
295
300
|
md: l.md ? l.md : 8,
|
|
296
301
|
lg: l.lg ? l.lg : 8,
|
|
297
302
|
xl: l.xl ? l.xl : 8,
|
|
298
|
-
key:
|
|
303
|
+
key: Q
|
|
299
304
|
}, {
|
|
300
305
|
default: n(() => [
|
|
301
306
|
b("div", {
|
|
302
|
-
style:
|
|
307
|
+
style: D(l.style)
|
|
303
308
|
}, [
|
|
304
309
|
l.type === "title" ? (a(), i(N, { key: 0 }, {
|
|
305
310
|
default: n(() => [
|
|
306
311
|
b("div", Zl, [
|
|
307
|
-
b("span",
|
|
312
|
+
b("span", Ql, y(l.title), 1)
|
|
308
313
|
])
|
|
309
314
|
]),
|
|
310
315
|
_: 2
|
|
@@ -317,14 +322,14 @@ function we(p, g, z, e, _, C) {
|
|
|
317
322
|
label: n(() => [
|
|
318
323
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
319
324
|
key: 0,
|
|
320
|
-
style:
|
|
325
|
+
style: D(l.labelStyle)
|
|
321
326
|
}, [
|
|
322
327
|
T(y(l.label) + " ", 1),
|
|
323
|
-
l.required ? (a(), M("span",
|
|
328
|
+
l.required ? (a(), M("span", Gl, "*")) : g("", !0)
|
|
324
329
|
], 4))
|
|
325
330
|
]),
|
|
326
331
|
default: n(() => [
|
|
327
|
-
f(
|
|
332
|
+
f(F, { gutter: 20 }, {
|
|
328
333
|
default: n(() => [
|
|
329
334
|
f(E, {
|
|
330
335
|
xs: 24,
|
|
@@ -341,12 +346,12 @@ function we(p, g, z, e, _, C) {
|
|
|
341
346
|
class: "item-name item-name-top"
|
|
342
347
|
}, {
|
|
343
348
|
default: n(() => [
|
|
344
|
-
f(
|
|
349
|
+
f(O, {
|
|
345
350
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
346
351
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
347
352
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
348
353
|
onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
|
|
349
|
-
class:
|
|
354
|
+
class: t(
|
|
350
355
|
(l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
351
356
|
),
|
|
352
357
|
maxlength: l.maxlengthNameEnFamily,
|
|
@@ -356,11 +361,11 @@ function we(p, g, z, e, _, C) {
|
|
|
356
361
|
type: l.type ? l.type : "text",
|
|
357
362
|
placeholder: l.placeholderNameEnFamily,
|
|
358
363
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
|
|
359
|
-
onKeyup:
|
|
364
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
360
365
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
361
366
|
]),
|
|
362
367
|
_: 2
|
|
363
|
-
}, 1032, ["rules", "prop"])) :
|
|
368
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
364
369
|
]),
|
|
365
370
|
_: 2
|
|
366
371
|
}, 1024),
|
|
@@ -379,7 +384,7 @@ function we(p, g, z, e, _, C) {
|
|
|
379
384
|
class: "item-name item-name-top"
|
|
380
385
|
}, {
|
|
381
386
|
default: n(() => [
|
|
382
|
-
f(
|
|
387
|
+
f(O, {
|
|
383
388
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
384
389
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
385
390
|
onChange: (o) => e.inputChange(o, l.field.nameEn),
|
|
@@ -387,25 +392,25 @@ function we(p, g, z, e, _, C) {
|
|
|
387
392
|
maxlength: l.maxlengthNameEn,
|
|
388
393
|
modelValue: e.states.model[l.field.nameEn],
|
|
389
394
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
390
|
-
class:
|
|
395
|
+
class: t(
|
|
391
396
|
(l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
392
397
|
),
|
|
393
398
|
readonly: l.readonly,
|
|
394
399
|
type: l.type ? l.type : "text",
|
|
395
400
|
placeholder: l.placeholderNameEn,
|
|
396
401
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
|
|
397
|
-
onKeyup:
|
|
402
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
398
403
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
399
404
|
]),
|
|
400
405
|
_: 2
|
|
401
|
-
}, 1032, ["rules", "prop"])) :
|
|
406
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
402
407
|
]),
|
|
403
408
|
_: 2
|
|
404
409
|
}, 1024)
|
|
405
410
|
]),
|
|
406
411
|
_: 2
|
|
407
412
|
}, 1024),
|
|
408
|
-
f(
|
|
413
|
+
f(F, { gutter: 20 }, {
|
|
409
414
|
default: n(() => [
|
|
410
415
|
f(E, {
|
|
411
416
|
xs: 24,
|
|
@@ -422,7 +427,7 @@ function we(p, g, z, e, _, C) {
|
|
|
422
427
|
class: "item-name item-name-bottom"
|
|
423
428
|
}, {
|
|
424
429
|
default: n(() => [
|
|
425
|
-
f(
|
|
430
|
+
f(O, {
|
|
426
431
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
427
432
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
428
433
|
onChange: (o) => e.inputChange(o, l.field.nameChFamily),
|
|
@@ -431,7 +436,7 @@ function we(p, g, z, e, _, C) {
|
|
|
431
436
|
"nameChFamily" in l.field ? l.field.nameCh : ""
|
|
432
437
|
),
|
|
433
438
|
maxlength: l.maxlengthNameChFamily,
|
|
434
|
-
class:
|
|
439
|
+
class: t(
|
|
435
440
|
(l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
436
441
|
),
|
|
437
442
|
modelValue: e.states.model[l.field.nameChFamily],
|
|
@@ -440,11 +445,11 @@ function we(p, g, z, e, _, C) {
|
|
|
440
445
|
type: l.type ? l.type : "text",
|
|
441
446
|
placeholder: l.placeholderNameChFamily,
|
|
442
447
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
|
|
443
|
-
onKeyup:
|
|
448
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
444
449
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
445
450
|
]),
|
|
446
451
|
_: 2
|
|
447
|
-
}, 1032, ["rules", "prop"])) :
|
|
452
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
448
453
|
]),
|
|
449
454
|
_: 2
|
|
450
455
|
}, 1024),
|
|
@@ -463,12 +468,12 @@ function we(p, g, z, e, _, C) {
|
|
|
463
468
|
class: "item-name item-name-bottom"
|
|
464
469
|
}, {
|
|
465
470
|
default: n(() => [
|
|
466
|
-
f(
|
|
471
|
+
f(O, {
|
|
467
472
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
468
473
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
469
474
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
470
475
|
onInput: (o) => e.inputInput(o, l.field.nameCh),
|
|
471
|
-
class:
|
|
476
|
+
class: t(
|
|
472
477
|
(l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
473
478
|
),
|
|
474
479
|
maxlength: l.maxlengthNameCh,
|
|
@@ -478,11 +483,11 @@ function we(p, g, z, e, _, C) {
|
|
|
478
483
|
type: l.type ? l.type : "text",
|
|
479
484
|
placeholder: l.placeholderNameCh,
|
|
480
485
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
|
|
481
|
-
onKeyup:
|
|
486
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
482
487
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
483
488
|
]),
|
|
484
489
|
_: 2
|
|
485
|
-
}, 1032, ["rules", "prop"])) :
|
|
490
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
486
491
|
]),
|
|
487
492
|
_: 2
|
|
488
493
|
}, 1024)
|
|
@@ -501,14 +506,14 @@ function we(p, g, z, e, _, C) {
|
|
|
501
506
|
label: n(() => [
|
|
502
507
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
503
508
|
key: 0,
|
|
504
|
-
style:
|
|
509
|
+
style: D(l.labelStyle)
|
|
505
510
|
}, [
|
|
506
511
|
T(y(l.label) + " ", 1),
|
|
507
|
-
l.required ? (a(), M("span",
|
|
512
|
+
l.required ? (a(), M("span", Pl, "*")) : g("", !0)
|
|
508
513
|
], 4))
|
|
509
514
|
]),
|
|
510
515
|
default: n(() => [
|
|
511
|
-
f(
|
|
516
|
+
f(B, {
|
|
512
517
|
modelValue: e.states.model[l.field],
|
|
513
518
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
514
519
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -517,7 +522,7 @@ function we(p, g, z, e, _, C) {
|
|
|
517
522
|
default: n(() => {
|
|
518
523
|
var o;
|
|
519
524
|
return [
|
|
520
|
-
(a(!0), M(k, null,
|
|
525
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(W, {
|
|
521
526
|
label: d.code,
|
|
522
527
|
size: "large",
|
|
523
528
|
key: d.code
|
|
@@ -542,32 +547,32 @@ function we(p, g, z, e, _, C) {
|
|
|
542
547
|
label: l.label,
|
|
543
548
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
544
549
|
prop: l.field,
|
|
545
|
-
class:
|
|
550
|
+
class: t([l.labelNode ? "radio_Note" : "rule_err"])
|
|
546
551
|
}, {
|
|
547
552
|
label: n(() => [
|
|
548
553
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
549
554
|
key: 0,
|
|
550
|
-
style:
|
|
555
|
+
style: D(l.labelStyle)
|
|
551
556
|
}, [
|
|
552
557
|
T(y(l.label) + " ", 1),
|
|
553
|
-
l.required ? (a(), M("span", Kl, "*")) :
|
|
558
|
+
l.required ? (a(), M("span", Kl, "*")) : g("", !0)
|
|
554
559
|
], 4))
|
|
555
560
|
]),
|
|
556
561
|
default: n(() => [
|
|
557
|
-
f(
|
|
562
|
+
f(B, {
|
|
558
563
|
modelValue: e.states.model[l.field],
|
|
559
564
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
560
565
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
561
566
|
onChange: (o) => e.radioChange(o, l.field),
|
|
562
|
-
style:
|
|
567
|
+
style: D(
|
|
563
568
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
564
569
|
),
|
|
565
|
-
class:
|
|
570
|
+
class: t(l.ways !== "column" ? "radio_row" : "")
|
|
566
571
|
}, {
|
|
567
572
|
default: n(() => {
|
|
568
573
|
var o;
|
|
569
574
|
return [
|
|
570
|
-
(a(!0), M(k, null,
|
|
575
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(W, {
|
|
571
576
|
size: "large",
|
|
572
577
|
label: d.code,
|
|
573
578
|
key: d.code,
|
|
@@ -589,28 +594,28 @@ function we(p, g, z, e, _, C) {
|
|
|
589
594
|
label: l.label,
|
|
590
595
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
591
596
|
prop: l.field,
|
|
592
|
-
class:
|
|
597
|
+
class: t([l.labelNode ? "radio_Note" : "rule_err"])
|
|
593
598
|
}, {
|
|
594
599
|
default: n(() => [
|
|
595
600
|
b("div", null, [
|
|
596
601
|
b("span", ql, y(l.labelBefore), 1),
|
|
597
602
|
b("span", Jl, y(l.labelNode), 1),
|
|
598
|
-
l.required ? (a(), M("span", Xl, "*")) :
|
|
603
|
+
l.required ? (a(), M("span", Xl, "*")) : g("", !0)
|
|
599
604
|
]),
|
|
600
|
-
f(
|
|
605
|
+
f(B, {
|
|
601
606
|
modelValue: e.states.model[l.field],
|
|
602
607
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
603
608
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
604
609
|
onChange: (o) => e.radioChange(o, l.field),
|
|
605
|
-
style:
|
|
610
|
+
style: D(
|
|
606
611
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
607
612
|
),
|
|
608
|
-
class:
|
|
613
|
+
class: t(l.ways !== "column" ? "radio_row" : "")
|
|
609
614
|
}, {
|
|
610
615
|
default: n(() => {
|
|
611
616
|
var o;
|
|
612
617
|
return [
|
|
613
|
-
(a(!0), M(k, null,
|
|
618
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(W, {
|
|
614
619
|
size: "large",
|
|
615
620
|
label: d.code,
|
|
616
621
|
key: d.code
|
|
@@ -635,26 +640,26 @@ function we(p, g, z, e, _, C) {
|
|
|
635
640
|
label: n(() => [
|
|
636
641
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
637
642
|
key: 0,
|
|
638
|
-
style:
|
|
643
|
+
style: D(l.labelStyle)
|
|
639
644
|
}, [
|
|
640
645
|
T(y(l.label) + " ", 1),
|
|
641
|
-
l.required ? (a(), M("span", ml, "*")) :
|
|
646
|
+
l.required ? (a(), M("span", ml, "*")) : g("", !0)
|
|
642
647
|
], 4))
|
|
643
648
|
]),
|
|
644
649
|
default: n(() => [
|
|
645
|
-
f(
|
|
650
|
+
f(Y, {
|
|
646
651
|
modelValue: e.states.model[l.field],
|
|
647
652
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
648
653
|
onChange: (o) => e.checkChange(o, l.field),
|
|
649
654
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
650
|
-
style:
|
|
655
|
+
style: D(
|
|
651
656
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
652
657
|
)
|
|
653
658
|
}, {
|
|
654
659
|
default: n(() => {
|
|
655
660
|
var o;
|
|
656
661
|
return [
|
|
657
|
-
(a(!0), M(k, null,
|
|
662
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(R, {
|
|
658
663
|
key: d.code,
|
|
659
664
|
label: d.code,
|
|
660
665
|
disabled: d.isDisabled
|
|
@@ -679,26 +684,26 @@ function we(p, g, z, e, _, C) {
|
|
|
679
684
|
label: n(() => [
|
|
680
685
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
681
686
|
key: 0,
|
|
682
|
-
style:
|
|
687
|
+
style: D(l.labelStyle)
|
|
683
688
|
}, [
|
|
684
689
|
T(y(l.label) + " ", 1),
|
|
685
|
-
l.required ? (a(), M("span", $l, "*")) :
|
|
690
|
+
l.required ? (a(), M("span", $l, "*")) : g("", !0)
|
|
686
691
|
], 4))
|
|
687
692
|
]),
|
|
688
693
|
default: n(() => [
|
|
689
|
-
f(
|
|
694
|
+
f(Y, {
|
|
690
695
|
modelValue: e.states.model[l.field],
|
|
691
696
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
692
697
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
693
698
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
694
|
-
style:
|
|
699
|
+
style: D(
|
|
695
700
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
696
701
|
)
|
|
697
702
|
}, {
|
|
698
703
|
default: n(() => {
|
|
699
704
|
var o;
|
|
700
705
|
return [
|
|
701
|
-
(a(!0), M(k, null,
|
|
706
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(R, {
|
|
702
707
|
key: d.code,
|
|
703
708
|
label: d.code,
|
|
704
709
|
disabled: d.isDisabled
|
|
@@ -719,27 +724,27 @@ function we(p, g, z, e, _, C) {
|
|
|
719
724
|
label: l.label,
|
|
720
725
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
721
726
|
prop: l.field,
|
|
722
|
-
class:
|
|
727
|
+
class: t([l.labelNode ? "radio_Note" : "rule_err"])
|
|
723
728
|
}, {
|
|
724
729
|
default: n(() => [
|
|
725
730
|
b("div", null, [
|
|
726
731
|
b("span", le, y(l.labelBefore), 1),
|
|
727
732
|
b("span", ee, y(l.labelNode), 1),
|
|
728
|
-
l.required ? (a(), M("span", oe, "*")) :
|
|
733
|
+
l.required ? (a(), M("span", oe, "*")) : g("", !0)
|
|
729
734
|
]),
|
|
730
|
-
f(
|
|
735
|
+
f(Y, {
|
|
731
736
|
modelValue: e.states.model[l.field],
|
|
732
737
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
733
738
|
onChange: (o) => e.checkChange(o, l.field),
|
|
734
739
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
735
|
-
style:
|
|
740
|
+
style: D(
|
|
736
741
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
737
742
|
)
|
|
738
743
|
}, {
|
|
739
744
|
default: n(() => {
|
|
740
745
|
var o;
|
|
741
746
|
return [
|
|
742
|
-
(a(!0), M(k, null,
|
|
747
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(R, {
|
|
743
748
|
key: d.code,
|
|
744
749
|
label: d.code,
|
|
745
750
|
disabled: d.isDisabled
|
|
@@ -765,10 +770,10 @@ function we(p, g, z, e, _, C) {
|
|
|
765
770
|
label: n(() => [
|
|
766
771
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
767
772
|
key: 0,
|
|
768
|
-
style:
|
|
773
|
+
style: D(l.labelStyle)
|
|
769
774
|
}, [
|
|
770
775
|
T(y(l.label) + " ", 1),
|
|
771
|
-
l.required ? (a(), M("span", ae, "*")) :
|
|
776
|
+
l.required ? (a(), M("span", ae, "*")) : g("", !0)
|
|
772
777
|
], 4))
|
|
773
778
|
]),
|
|
774
779
|
default: n(() => {
|
|
@@ -782,8 +787,8 @@ function we(p, g, z, e, _, C) {
|
|
|
782
787
|
disabled: e.isShowTooltip
|
|
783
788
|
}, {
|
|
784
789
|
default: n(() => [
|
|
785
|
-
f(
|
|
786
|
-
class:
|
|
790
|
+
f(Z, {
|
|
791
|
+
class: t(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
787
792
|
id: l.field,
|
|
788
793
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
789
794
|
"popper-class": l.selectPaging === !0 ? "single-select-loadmore" : "selectTriangles",
|
|
@@ -808,17 +813,17 @@ function we(p, g, z, e, _, C) {
|
|
|
808
813
|
default: n(() => {
|
|
809
814
|
var d;
|
|
810
815
|
return [
|
|
811
|
-
(a(!0), M(k, null,
|
|
812
|
-
key:
|
|
813
|
-
label:
|
|
814
|
-
value:
|
|
816
|
+
(a(!0), M(k, null, w((d = l.options) == null ? void 0 : d.data, (A) => (a(), i(V, {
|
|
817
|
+
key: A.code,
|
|
818
|
+
label: A.name,
|
|
819
|
+
value: A.code
|
|
815
820
|
}, null, 8, ["label", "value"]))), 128)),
|
|
816
|
-
l.loading ? (a(), i(
|
|
821
|
+
l.loading ? (a(), i(V, {
|
|
817
822
|
key: 0,
|
|
818
823
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
819
824
|
class: "select-loading",
|
|
820
825
|
disabled: ""
|
|
821
|
-
}, null, 8, ["label"])) :
|
|
826
|
+
}, null, 8, ["label"])) : g("", !0)
|
|
822
827
|
];
|
|
823
828
|
}),
|
|
824
829
|
_: 2
|
|
@@ -828,7 +833,7 @@ function we(p, g, z, e, _, C) {
|
|
|
828
833
|
}, 1032, ["content", "disabled"]),
|
|
829
834
|
b("div", {
|
|
830
835
|
class: "item_tips_blow",
|
|
831
|
-
style:
|
|
836
|
+
style: D(l.tipsBlowStyle)
|
|
832
837
|
}, y(l.tipsBlow), 5)
|
|
833
838
|
];
|
|
834
839
|
}),
|
|
@@ -843,10 +848,10 @@ function we(p, g, z, e, _, C) {
|
|
|
843
848
|
label: n(() => [
|
|
844
849
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
845
850
|
key: 0,
|
|
846
|
-
style:
|
|
851
|
+
style: D(l.labelStyle)
|
|
847
852
|
}, [
|
|
848
853
|
T(y(l.label) + " ", 1),
|
|
849
|
-
l.required ? (a(), M("span", ne, "*")) :
|
|
854
|
+
l.required ? (a(), M("span", ne, "*")) : g("", !0)
|
|
850
855
|
], 4))
|
|
851
856
|
]),
|
|
852
857
|
default: n(() => [
|
|
@@ -868,14 +873,14 @@ function we(p, g, z, e, _, C) {
|
|
|
868
873
|
picker: l.picker,
|
|
869
874
|
placeholder: l.placeholder || l.label,
|
|
870
875
|
key: e.pickerKey,
|
|
871
|
-
class:
|
|
876
|
+
class: t(
|
|
872
877
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
873
878
|
),
|
|
874
879
|
presets: l == null ? void 0 : l.presets,
|
|
875
880
|
onChange: (o) => e.dateChange(
|
|
876
881
|
o,
|
|
877
882
|
typeof l.field == "string" ? l.field : "",
|
|
878
|
-
l == null ? void 0 : l.
|
|
883
|
+
l == null ? void 0 : l.defaultPickerValue
|
|
879
884
|
),
|
|
880
885
|
onCalendarChange: (o) => e.calendarChange(
|
|
881
886
|
o,
|
|
@@ -907,7 +912,7 @@ function we(p, g, z, e, _, C) {
|
|
|
907
912
|
fn: n(({ current: o }) => [
|
|
908
913
|
b("div", {
|
|
909
914
|
class: "ant-picker-cell-inner",
|
|
910
|
-
style:
|
|
915
|
+
style: D(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
911
916
|
}, y(o.date()), 5)
|
|
912
917
|
]),
|
|
913
918
|
key: "0"
|
|
@@ -917,23 +922,22 @@ function we(p, g, z, e, _, C) {
|
|
|
917
922
|
fn: n(() => [
|
|
918
923
|
l != null && l.disabledDateToday ? (a(), M("span", {
|
|
919
924
|
key: 0,
|
|
920
|
-
class:
|
|
921
|
-
}, "Toady",
|
|
922
|
-
l != null && l.disabledDateToday ?
|
|
925
|
+
class: t([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"])
|
|
926
|
+
}, y((l == null ? void 0 : l.todayLanguage) || "Toady"), 3)) : g("", !0),
|
|
927
|
+
l != null && l.disabledDateToday ? g("", !0) : (a(), M("span", {
|
|
923
928
|
key: 1,
|
|
924
|
-
class:
|
|
929
|
+
class: t([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
925
930
|
onClick: (o) => e.getDefaultToady(
|
|
926
|
-
|
|
931
|
+
e.states.model[l.field],
|
|
927
932
|
typeof l.field == "string" ? l.field : "",
|
|
928
|
-
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date()
|
|
929
|
-
l.field
|
|
933
|
+
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date()
|
|
930
934
|
)
|
|
931
|
-
}, "Toady",
|
|
935
|
+
}, y((l == null ? void 0 : l.todayLanguage) || "Toady"), 11, de))
|
|
932
936
|
]),
|
|
933
937
|
key: "1"
|
|
934
938
|
} : void 0
|
|
935
939
|
]), 1032, ["allowClear", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onCalendarChange", "onOk", "onBlur", "onOpenChange"])),
|
|
936
|
-
l.showTo ? (a(), M("span", ye, y(l.showTo), 1)) :
|
|
940
|
+
l.showTo ? (a(), M("span", ye, y(l.showTo), 1)) : g("", !0)
|
|
937
941
|
]),
|
|
938
942
|
_: 2
|
|
939
943
|
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(N, {
|
|
@@ -945,14 +949,14 @@ function we(p, g, z, e, _, C) {
|
|
|
945
949
|
label: n(() => [
|
|
946
950
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
947
951
|
key: 0,
|
|
948
|
-
style:
|
|
952
|
+
style: D(l.labelStyle)
|
|
949
953
|
}, [
|
|
950
954
|
T(y(l.label) + " ", 1),
|
|
951
|
-
l.required ? (a(), M("span", ce, "*")) :
|
|
955
|
+
l.required ? (a(), M("span", ce, "*")) : g("", !0)
|
|
952
956
|
], 4))
|
|
953
957
|
]),
|
|
954
958
|
default: n(() => [
|
|
955
|
-
(a(), i(
|
|
959
|
+
(a(), i(P, {
|
|
956
960
|
"popper-class": "selectTriangles",
|
|
957
961
|
allowClear: !!l.allowClear,
|
|
958
962
|
defaultPickerValue: l == null ? void 0 : l.defaultPickerValue,
|
|
@@ -969,24 +973,25 @@ function we(p, g, z, e, _, C) {
|
|
|
969
973
|
separator: l.separator || "To",
|
|
970
974
|
placeholder: l.placeholder,
|
|
971
975
|
size: "large",
|
|
972
|
-
class:
|
|
976
|
+
class: t(
|
|
973
977
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
974
978
|
),
|
|
975
979
|
key: e.pickerKeyDaterange,
|
|
976
980
|
onChange: (o) => e.dateChange(
|
|
977
981
|
o,
|
|
978
982
|
typeof l.field == "string" ? l.field : "",
|
|
979
|
-
l == null ? void 0 : l.
|
|
983
|
+
(l == null ? void 0 : l.defaultToady) || (l == null ? void 0 : l.defaultToady2)
|
|
980
984
|
),
|
|
981
985
|
onCalendarChange: (o) => e.calendarChange(
|
|
982
986
|
o,
|
|
983
987
|
typeof l.field == "string" ? l.field : ""
|
|
984
988
|
),
|
|
989
|
+
onPanelChange: c[0] || (c[0] = (o) => p.panelChange(p.value, p.mode)),
|
|
985
990
|
onOk: (o) => e.onOk(
|
|
986
991
|
o,
|
|
987
992
|
typeof l.field == "string" ? l.field : ""
|
|
988
993
|
),
|
|
989
|
-
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.
|
|
994
|
+
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultToady, l.field)
|
|
990
995
|
}, K({
|
|
991
996
|
superPrevIcon: n(() => [
|
|
992
997
|
ue
|
|
@@ -1002,12 +1007,12 @@ function we(p, g, z, e, _, C) {
|
|
|
1002
1007
|
]),
|
|
1003
1008
|
_: 2
|
|
1004
1009
|
}, [
|
|
1005
|
-
l != null && l.
|
|
1010
|
+
l != null && l.defaultToady ? {
|
|
1006
1011
|
name: "dateRender",
|
|
1007
|
-
fn: n(({ current: o }) => [
|
|
1012
|
+
fn: n(({ current: o, info: d }) => [
|
|
1008
1013
|
b("div", {
|
|
1009
1014
|
class: "ant-picker-cell-inner",
|
|
1010
|
-
style:
|
|
1015
|
+
style: D(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady, d, l.field))
|
|
1011
1016
|
}, y(o.date()), 5)
|
|
1012
1017
|
]),
|
|
1013
1018
|
key: "0"
|
|
@@ -1024,14 +1029,14 @@ function we(p, g, z, e, _, C) {
|
|
|
1024
1029
|
label: n(() => [
|
|
1025
1030
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1026
1031
|
key: 0,
|
|
1027
|
-
style:
|
|
1032
|
+
style: D(l.labelStyle)
|
|
1028
1033
|
}, [
|
|
1029
1034
|
T(y(l.label) + " ", 1),
|
|
1030
|
-
l.required ? (a(), M("span",
|
|
1035
|
+
l.required ? (a(), M("span", De, "*")) : g("", !0)
|
|
1031
1036
|
], 4))
|
|
1032
1037
|
]),
|
|
1033
1038
|
default: n(() => [
|
|
1034
|
-
(a(), i(
|
|
1039
|
+
(a(), i(P, {
|
|
1035
1040
|
"popper-class": "selectTriangles",
|
|
1036
1041
|
allowClear: !!l.allowClear,
|
|
1037
1042
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1048,7 +1053,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1048
1053
|
separator: l.separator || "To",
|
|
1049
1054
|
placeholder: l.placeholder,
|
|
1050
1055
|
size: "large",
|
|
1051
|
-
class:
|
|
1056
|
+
class: t(
|
|
1052
1057
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1053
1058
|
),
|
|
1054
1059
|
key: e.datetimerange,
|
|
@@ -1078,10 +1083,10 @@ function we(p, g, z, e, _, C) {
|
|
|
1078
1083
|
label: n(() => [
|
|
1079
1084
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1080
1085
|
key: 0,
|
|
1081
|
-
style:
|
|
1086
|
+
style: D(l.labelStyle)
|
|
1082
1087
|
}, [
|
|
1083
1088
|
T(y(l.label) + " ", 1),
|
|
1084
|
-
l.required ? (a(), M("span",
|
|
1089
|
+
l.required ? (a(), M("span", te, "*")) : g("", !0)
|
|
1085
1090
|
], 4))
|
|
1086
1091
|
]),
|
|
1087
1092
|
default: n(() => [
|
|
@@ -1098,15 +1103,15 @@ function we(p, g, z, e, _, C) {
|
|
|
1098
1103
|
label: n(() => [
|
|
1099
1104
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1100
1105
|
key: 0,
|
|
1101
|
-
style:
|
|
1106
|
+
style: D(l.labelStyle)
|
|
1102
1107
|
}, [
|
|
1103
1108
|
T(y(l.label) + " ", 1),
|
|
1104
|
-
l.required ? (a(), M("span", be, "*")) :
|
|
1109
|
+
l.required ? (a(), M("span", be, "*")) : g("", !0)
|
|
1105
1110
|
], 4))
|
|
1106
1111
|
]),
|
|
1107
1112
|
default: n(() => [
|
|
1108
1113
|
b("div", {
|
|
1109
|
-
class:
|
|
1114
|
+
class: t(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1110
1115
|
}, [
|
|
1111
1116
|
e.phoneWrap ? (a(), M("div", Ne, [
|
|
1112
1117
|
f(L, {
|
|
@@ -1119,9 +1124,9 @@ function we(p, g, z, e, _, C) {
|
|
|
1119
1124
|
default: n(() => {
|
|
1120
1125
|
var o;
|
|
1121
1126
|
return [
|
|
1122
|
-
l.field.nationCode ? (a(), i(
|
|
1127
|
+
l.field.nationCode ? (a(), i(Z, {
|
|
1123
1128
|
key: 0,
|
|
1124
|
-
class:
|
|
1129
|
+
class: t(["tooltip-select", (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]),
|
|
1125
1130
|
id: l.field.nationCode,
|
|
1126
1131
|
onMouseenter: (d) => e.visibilityChange(l.field.nationCode),
|
|
1127
1132
|
"popper-class": "selectTriangles",
|
|
@@ -1130,7 +1135,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1130
1135
|
modelValue: e.states.model[l.field.nationCode],
|
|
1131
1136
|
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1132
1137
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1133
|
-
style:
|
|
1138
|
+
style: D("width:" + l.widthNation),
|
|
1134
1139
|
"fit-input-width": !0,
|
|
1135
1140
|
"suffix-icon": e.IconDropDown,
|
|
1136
1141
|
"clear-icon": e.IconClear
|
|
@@ -1138,15 +1143,15 @@ function we(p, g, z, e, _, C) {
|
|
|
1138
1143
|
default: n(() => {
|
|
1139
1144
|
var d;
|
|
1140
1145
|
return [
|
|
1141
|
-
(a(!0), M(k, null,
|
|
1142
|
-
label:
|
|
1143
|
-
value:
|
|
1144
|
-
key:
|
|
1146
|
+
(a(!0), M(k, null, w((d = l.nationOptions) == null ? void 0 : d.data, (A, G) => (a(), i(V, {
|
|
1147
|
+
label: A.name,
|
|
1148
|
+
value: A.code,
|
|
1149
|
+
key: G
|
|
1145
1150
|
}, null, 8, ["label", "value"]))), 128))
|
|
1146
1151
|
];
|
|
1147
1152
|
}),
|
|
1148
1153
|
_: 2
|
|
1149
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1154
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : g("", !0)
|
|
1150
1155
|
];
|
|
1151
1156
|
}),
|
|
1152
1157
|
_: 2
|
|
@@ -1162,9 +1167,9 @@ function we(p, g, z, e, _, C) {
|
|
|
1162
1167
|
default: n(() => {
|
|
1163
1168
|
var o;
|
|
1164
1169
|
return [
|
|
1165
|
-
l.field.areaCode ? (a(), i(
|
|
1170
|
+
l.field.areaCode ? (a(), i(O, {
|
|
1166
1171
|
key: 0,
|
|
1167
|
-
class:
|
|
1172
|
+
class: t(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1168
1173
|
id: l.field.areaCode,
|
|
1169
1174
|
onMouseenter: (d) => e.visibilityChange(l.field.areaCode),
|
|
1170
1175
|
onBlur: (d) => e.inputBlur(
|
|
@@ -1190,13 +1195,13 @@ function we(p, g, z, e, _, C) {
|
|
|
1190
1195
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1191
1196
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1192
1197
|
clearable: l.clearable
|
|
1193
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) :
|
|
1198
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : g("", !0)
|
|
1194
1199
|
];
|
|
1195
1200
|
}),
|
|
1196
1201
|
_: 2
|
|
1197
1202
|
}, 1032, ["content", "disabled"]),
|
|
1198
1203
|
Ie
|
|
1199
|
-
])) :
|
|
1204
|
+
])) : g("", !0),
|
|
1200
1205
|
f(L, {
|
|
1201
1206
|
"popper-class": "input-tooltip",
|
|
1202
1207
|
effect: "light",
|
|
@@ -1207,9 +1212,9 @@ function we(p, g, z, e, _, C) {
|
|
|
1207
1212
|
default: n(() => {
|
|
1208
1213
|
var o;
|
|
1209
1214
|
return [
|
|
1210
|
-
l.field.nationCode && !e.phoneWrap ? (a(), i(
|
|
1215
|
+
l.field.nationCode && !e.phoneWrap ? (a(), i(Z, {
|
|
1211
1216
|
key: 0,
|
|
1212
|
-
class:
|
|
1217
|
+
class: t([
|
|
1213
1218
|
"tooltip-select",
|
|
1214
1219
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1215
1220
|
]),
|
|
@@ -1221,7 +1226,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1221
1226
|
modelValue: e.states.model[l.field.nationCode],
|
|
1222
1227
|
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1223
1228
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1224
|
-
style:
|
|
1229
|
+
style: D("width:" + l.widthNation),
|
|
1225
1230
|
"fit-input-width": !0,
|
|
1226
1231
|
"suffix-icon": e.IconDropDown,
|
|
1227
1232
|
"clear-icon": e.IconClear
|
|
@@ -1229,20 +1234,20 @@ function we(p, g, z, e, _, C) {
|
|
|
1229
1234
|
default: n(() => {
|
|
1230
1235
|
var d;
|
|
1231
1236
|
return [
|
|
1232
|
-
(a(!0), M(k, null,
|
|
1233
|
-
label:
|
|
1234
|
-
value:
|
|
1235
|
-
key:
|
|
1237
|
+
(a(!0), M(k, null, w((d = l.nationOptions) == null ? void 0 : d.data, (A, G) => (a(), i(V, {
|
|
1238
|
+
label: A.name,
|
|
1239
|
+
value: A.code,
|
|
1240
|
+
key: G
|
|
1236
1241
|
}, null, 8, ["label", "value"]))), 128))
|
|
1237
1242
|
];
|
|
1238
1243
|
}),
|
|
1239
1244
|
_: 2
|
|
1240
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1245
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : g("", !0)
|
|
1241
1246
|
];
|
|
1242
1247
|
}),
|
|
1243
1248
|
_: 2
|
|
1244
1249
|
}, 1032, ["content", "disabled"]),
|
|
1245
|
-
e.phoneWrap ?
|
|
1250
|
+
e.phoneWrap ? g("", !0) : (a(), M("div", he, " - ")),
|
|
1246
1251
|
f(L, {
|
|
1247
1252
|
"popper-class": "input-tooltip",
|
|
1248
1253
|
effect: "light",
|
|
@@ -1253,9 +1258,9 @@ function we(p, g, z, e, _, C) {
|
|
|
1253
1258
|
default: n(() => {
|
|
1254
1259
|
var o;
|
|
1255
1260
|
return [
|
|
1256
|
-
l.field.areaCode && !e.phoneWrap ? (a(), i(
|
|
1261
|
+
l.field.areaCode && !e.phoneWrap ? (a(), i(O, {
|
|
1257
1262
|
key: 0,
|
|
1258
|
-
class:
|
|
1263
|
+
class: t([
|
|
1259
1264
|
"tooltip-input",
|
|
1260
1265
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1261
1266
|
]),
|
|
@@ -1283,14 +1288,14 @@ function we(p, g, z, e, _, C) {
|
|
|
1283
1288
|
"onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
|
|
1284
1289
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1285
1290
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1286
|
-
style:
|
|
1291
|
+
style: D("width:" + l.widthArea),
|
|
1287
1292
|
clearable: l.clearable
|
|
1288
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1293
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1289
1294
|
];
|
|
1290
1295
|
}),
|
|
1291
1296
|
_: 2
|
|
1292
1297
|
}, 1032, ["content", "disabled"]),
|
|
1293
|
-
e.phoneWrap ?
|
|
1298
|
+
e.phoneWrap ? g("", !0) : (a(), M("div", je, " - ")),
|
|
1294
1299
|
f(L, {
|
|
1295
1300
|
"popper-class": "input-tooltip",
|
|
1296
1301
|
effect: "light",
|
|
@@ -1299,9 +1304,9 @@ function we(p, g, z, e, _, C) {
|
|
|
1299
1304
|
disabled: e.isShowTooltip
|
|
1300
1305
|
}, {
|
|
1301
1306
|
default: n(() => [
|
|
1302
|
-
l.field.phoneNumber ? (a(), i(
|
|
1307
|
+
l.field.phoneNumber ? (a(), i(O, {
|
|
1303
1308
|
key: 0,
|
|
1304
|
-
class:
|
|
1309
|
+
class: t([
|
|
1305
1310
|
"tooltip-input",
|
|
1306
1311
|
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1307
1312
|
]),
|
|
@@ -1328,9 +1333,9 @@ function we(p, g, z, e, _, C) {
|
|
|
1328
1333
|
"onUpdate:modelValue": (o) => e.states.model[l.field.phoneNumber] = o,
|
|
1329
1334
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
|
|
1330
1335
|
placeholder: l.placeholder || "",
|
|
1331
|
-
style:
|
|
1336
|
+
style: D("width:" + l.widthPhoneNumber),
|
|
1332
1337
|
clearable: l.clearable
|
|
1333
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1338
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1334
1339
|
]),
|
|
1335
1340
|
_: 2
|
|
1336
1341
|
}, 1032, ["content", "disabled"])
|
|
@@ -1349,19 +1354,19 @@ function we(p, g, z, e, _, C) {
|
|
|
1349
1354
|
key: 15,
|
|
1350
1355
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1351
1356
|
prop: l.field,
|
|
1352
|
-
class:
|
|
1357
|
+
class: t(l.prepend ? "input-item" : "")
|
|
1353
1358
|
}, {
|
|
1354
1359
|
label: n(() => [
|
|
1355
1360
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1356
1361
|
key: 0,
|
|
1357
|
-
style:
|
|
1362
|
+
style: D(l.labelStyle)
|
|
1358
1363
|
}, [
|
|
1359
1364
|
T(y(l.label) + " ", 1),
|
|
1360
|
-
l.required ? (a(), M("span",
|
|
1365
|
+
l.required ? (a(), M("span", Ae, "*")) : g("", !0)
|
|
1361
1366
|
], 4))
|
|
1362
1367
|
]),
|
|
1363
1368
|
default: n(() => [
|
|
1364
|
-
f(
|
|
1369
|
+
f(O, {
|
|
1365
1370
|
onBlur: (o) => e.inputBlur(
|
|
1366
1371
|
o,
|
|
1367
1372
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1390,10 +1395,10 @@ function we(p, g, z, e, _, C) {
|
|
|
1390
1395
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1391
1396
|
showPassword: l.showPassword,
|
|
1392
1397
|
clearable: l.clearable,
|
|
1393
|
-
class:
|
|
1398
|
+
class: t(
|
|
1394
1399
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1395
1400
|
),
|
|
1396
|
-
onKeyup:
|
|
1401
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1397
1402
|
}, K({ _: 2 }, [
|
|
1398
1403
|
l.prepend ? {
|
|
1399
1404
|
name: "prepend",
|
|
@@ -1416,15 +1421,15 @@ function we(p, g, z, e, _, C) {
|
|
|
1416
1421
|
key: 16,
|
|
1417
1422
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1418
1423
|
prop: l.field,
|
|
1419
|
-
class:
|
|
1424
|
+
class: t(l.prepend ? "input-item" : "")
|
|
1420
1425
|
}, {
|
|
1421
1426
|
label: n(() => [
|
|
1422
1427
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1423
1428
|
key: 0,
|
|
1424
|
-
style:
|
|
1429
|
+
style: D(l.labelStyle)
|
|
1425
1430
|
}, [
|
|
1426
1431
|
T(y(l.label) + " ", 1),
|
|
1427
|
-
l.required ? (a(), M("span",
|
|
1432
|
+
l.required ? (a(), M("span", ke, "*")) : g("", !0)
|
|
1428
1433
|
], 4))
|
|
1429
1434
|
]),
|
|
1430
1435
|
default: n(() => [
|
|
@@ -1436,8 +1441,8 @@ function we(p, g, z, e, _, C) {
|
|
|
1436
1441
|
disabled: e.isShowTooltip
|
|
1437
1442
|
}, {
|
|
1438
1443
|
default: n(() => [
|
|
1439
|
-
f(
|
|
1440
|
-
class:
|
|
1444
|
+
f(O, {
|
|
1445
|
+
class: t(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1441
1446
|
id: l.field,
|
|
1442
1447
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
1443
1448
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1455,7 +1460,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1455
1460
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1456
1461
|
showPassword: l.showPassword,
|
|
1457
1462
|
clearable: l.clearable,
|
|
1458
|
-
onKeyup:
|
|
1463
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1459
1464
|
}, K({ _: 2 }, [
|
|
1460
1465
|
l.prepend ? {
|
|
1461
1466
|
name: "prepend",
|
|
@@ -1490,10 +1495,10 @@ function we(p, g, z, e, _, C) {
|
|
|
1490
1495
|
f(N, { class: "btnsItem" }, {
|
|
1491
1496
|
default: n(() => [
|
|
1492
1497
|
h(p.$slots, "buttons", {
|
|
1493
|
-
model:
|
|
1498
|
+
model: C.model,
|
|
1494
1499
|
onBtnClick: e.onSubmit
|
|
1495
1500
|
}, () => [
|
|
1496
|
-
(a(!0), M(k, null,
|
|
1501
|
+
(a(!0), M(k, null, w(e.formOptions.btnConfig, (l, Q) => (a(), M("div", { key: Q }, [
|
|
1497
1502
|
l.isShow ? (a(), i(J, {
|
|
1498
1503
|
key: 0,
|
|
1499
1504
|
btnCode: l.btnCode,
|
|
@@ -1517,15 +1522,15 @@ function we(p, g, z, e, _, C) {
|
|
|
1517
1522
|
size: l.size,
|
|
1518
1523
|
fontSize: l.fontSize,
|
|
1519
1524
|
fontWeight: l.fontWeight,
|
|
1520
|
-
style:
|
|
1521
|
-
class:
|
|
1525
|
+
style: D(l.style),
|
|
1526
|
+
class: t(l.class),
|
|
1522
1527
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1523
1528
|
}, {
|
|
1524
1529
|
default: n(() => [
|
|
1525
1530
|
T(y(l.name), 1)
|
|
1526
1531
|
]),
|
|
1527
1532
|
_: 2
|
|
1528
|
-
}, 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"])) :
|
|
1533
|
+
}, 1032, ["btnCode", "plain", "primary", "info", "text", "debounced", "link", "loading", "loadingColor", "width", "height", "circle", "color", "bgColor", "borderColor", "borderStyle", "borderWidth", "icon", "size", "fontSize", "fontWeight", "style", "class", "onHandleClick"])) : g("", !0)
|
|
1529
1534
|
]))), 128))
|
|
1530
1535
|
], !0)
|
|
1531
1536
|
]),
|
|
@@ -1535,11 +1540,11 @@ function we(p, g, z, e, _, C) {
|
|
|
1535
1540
|
_: 3
|
|
1536
1541
|
}, 16, ["model", "label-position"]);
|
|
1537
1542
|
}
|
|
1538
|
-
const
|
|
1539
|
-
function
|
|
1540
|
-
|
|
1543
|
+
const pl = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-242be595"]]);
|
|
1544
|
+
function al(p, c = {}) {
|
|
1545
|
+
al.installed || (al.installed = !0, p.component("common-el-form", pl));
|
|
1541
1546
|
}
|
|
1542
|
-
|
|
1547
|
+
pl.install = al;
|
|
1543
1548
|
export {
|
|
1544
|
-
|
|
1549
|
+
pl as default
|
|
1545
1550
|
};
|