sinosoft-common-form 2.0.3 → 2.3.5
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 +192 -193
- 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 Y, reactive as
|
|
1
|
+
import { ref as Y, reactive as Al, shallowRef as ll, h as el, 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 c, renderSlot as h, normalizeClass as t, withKeys as V, createSlots as K, vShow as Yl, pushScopeId as vl, popScopeId as Rl } from "vue";
|
|
2
2
|
const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1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IDEzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Wl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -21,16 +21,16 @@ 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: u }) {
|
|
25
|
+
const C = Y(!0), e = Al({
|
|
26
26
|
model: {}
|
|
27
|
-
}), _ = Y(!0),
|
|
27
|
+
}), _ = Y(!0), x = Y(null), N = ll({
|
|
28
28
|
render() {
|
|
29
29
|
return el("img", {
|
|
30
30
|
src: Vl
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
}),
|
|
33
|
+
}), O = ll({
|
|
34
34
|
render() {
|
|
35
35
|
return el("img", {
|
|
36
36
|
src: Ul
|
|
@@ -38,11 +38,11 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
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 g = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
45
|
+
g && g.addEventListener("scroll", E), u("handleVisibleChange", s, r);
|
|
46
46
|
}
|
|
47
47
|
}, F = ll({
|
|
48
48
|
render() {
|
|
@@ -50,73 +50,73 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
50
50
|
src: Fl
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}), W =
|
|
53
|
+
}), W = kl(() => Object.assign([], p.options)), v = () => {
|
|
54
54
|
e.model = p.model;
|
|
55
|
-
}, S = (s, r,
|
|
56
|
-
var
|
|
57
|
-
r ? (
|
|
55
|
+
}, S = (s, r, g) => {
|
|
56
|
+
var j;
|
|
57
|
+
r ? (C.value = !1, Ll(() => {
|
|
58
58
|
var H;
|
|
59
|
-
(H =
|
|
59
|
+
(H = x.value) == null || H.validate(($) => {
|
|
60
60
|
if ($)
|
|
61
|
-
g
|
|
61
|
+
u(g || "submit", e.model, s);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) : r ? (
|
|
65
|
+
})) : r ? (g === "reset" && ((j = x.value) == null || j.resetFields()), u(g || "submit", e.model, s)) : (C.value = !1, u(g || "submit", e.model, s, x.value));
|
|
66
66
|
}, R = (s, r) => {
|
|
67
|
-
|
|
67
|
+
u("selectChange", s, r);
|
|
68
68
|
}, B = (s, r) => {
|
|
69
|
-
|
|
69
|
+
u("radioChange", s, r);
|
|
70
70
|
}, L = (s, r) => {
|
|
71
|
-
|
|
71
|
+
u("checkChange", s, r);
|
|
72
72
|
}, q = (s, r) => {
|
|
73
|
-
const
|
|
74
|
-
if (
|
|
75
|
-
|
|
73
|
+
const g = e.model[r].length;
|
|
74
|
+
if (g === 1) {
|
|
75
|
+
u("checkChange", s, r);
|
|
76
76
|
return;
|
|
77
77
|
} else
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
S(s, r,
|
|
78
|
+
g > 1 ? (e.model[r].shift(), u("checkChange", s, r)) : g < 1 && u("checkChange", s, r);
|
|
79
|
+
}, G = (s, r, g) => {
|
|
80
|
+
S(s, r, g);
|
|
81
81
|
}, J = (s, r) => {
|
|
82
82
|
s && (r == null ? void 0 : r.key) === "Enter" && S(void 0, !0, "submit");
|
|
83
|
-
},
|
|
83
|
+
}, P = (s, r, g) => {
|
|
84
84
|
var rl, Ml;
|
|
85
|
-
const
|
|
86
|
-
s === Ol &&
|
|
85
|
+
const j = /* @__PURE__ */ new Date(), H = j.getDate().toString().padStart(2, "0"), $ = (j.getMonth() + 1).toString().padStart(2, "0"), jl = j.getFullYear().toString(), Ol = `${H}/${$}/${jl}`;
|
|
86
|
+
s === Ol && g ? ((rl = x.value) == null || rl.validateField(r), e.model[r] = g.format("DD/MM/YYYY"), u("dateChange", g.format("DD/MM/YYYY"), r)) : ((Ml = x.value) == null || Ml.validateField(r), u("dateChange", s, r));
|
|
87
87
|
}, l = (s, r) => {
|
|
88
|
-
|
|
88
|
+
u("calendarChange", s, r);
|
|
89
89
|
}, Z = (s, r) => {
|
|
90
|
-
|
|
90
|
+
u("onOk", s, r);
|
|
91
91
|
}, o = (s, r) => {
|
|
92
|
-
|
|
92
|
+
u("inputBlur", s, r);
|
|
93
93
|
}, d = (s, r) => {
|
|
94
|
-
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
|
|
94
|
+
u("inputFocus", s, r);
|
|
95
|
+
}, A = (s, r) => {
|
|
96
|
+
u("inputChange", s, r);
|
|
97
|
+
}, Q = (s, r) => {
|
|
98
|
+
u("inputInput", s, r);
|
|
99
99
|
}, pl = (s) => {
|
|
100
100
|
if (s) {
|
|
101
|
-
var r = document.getElementById(s),
|
|
102
|
-
|
|
101
|
+
var r = document.getElementById(s), g = r.offsetWidth, j = r.scrollWidth;
|
|
102
|
+
j > g ? _.value = !1 : _.value = !0;
|
|
103
103
|
} else
|
|
104
104
|
_.value = !0;
|
|
105
105
|
}, fl = (s, r) => {
|
|
106
|
-
const
|
|
107
|
-
return
|
|
108
|
-
}, tl = (s) => {
|
|
109
|
-
var r;
|
|
110
|
-
(r = C.value) == null || r.resetFields(s);
|
|
106
|
+
const g = r.find((j) => j.code === s);
|
|
107
|
+
return g ? g.name : s;
|
|
111
108
|
}, Dl = (s) => {
|
|
112
109
|
var r;
|
|
113
|
-
(r =
|
|
110
|
+
(r = x.value) == null || r.resetFields(s);
|
|
111
|
+
}, tl = (s) => {
|
|
112
|
+
var r;
|
|
113
|
+
(r = x.value) == null || r.clearValidate(s);
|
|
114
114
|
}, X = Y(!1), al = () => {
|
|
115
115
|
window.innerWidth < 768, X.value = !1;
|
|
116
116
|
};
|
|
117
117
|
wl(() => {
|
|
118
118
|
var s;
|
|
119
|
-
v(), (s =
|
|
119
|
+
v(), (s = x.value) == null || s.resetFields(), window.addEventListener("resize", al);
|
|
120
120
|
}), zl(() => {
|
|
121
121
|
window.removeEventListener("resize", al);
|
|
122
122
|
}), Cl(
|
|
@@ -125,25 +125,24 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
125
125
|
s !== r && v();
|
|
126
126
|
}
|
|
127
127
|
);
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
}, bl = (s, r) => {
|
|
131
|
-
|
|
132
|
-
const u = {};
|
|
128
|
+
const m = Y(0), nl = Y(0), dl = Y(0), sl = () => {
|
|
129
|
+
m.value += 1;
|
|
130
|
+
}, bl = (s, r, g) => {
|
|
131
|
+
const j = {};
|
|
133
132
|
if (s.date() === r.date() && s.year() === r.year() && s.month() === r.month())
|
|
134
|
-
return
|
|
135
|
-
}, Nl = (s, r,
|
|
136
|
-
|
|
133
|
+
return j.border = "1px solid #a26628", j.borderRadius = "4px", j;
|
|
134
|
+
}, Nl = (s, r, g) => {
|
|
135
|
+
e.model[r] = g.format("DD/MM/YYYY"), sl(), P(e.model[r], r, g), u("getDefaultToady", g, r);
|
|
137
136
|
}, Tl = (s, r) => {
|
|
138
|
-
s || (m.value += 1),
|
|
139
|
-
}, Il = (s, r) => {
|
|
140
|
-
s || (
|
|
137
|
+
s || (m.value += 1), u("openChange", s);
|
|
138
|
+
}, Il = (s, r, g) => {
|
|
139
|
+
s || (nl.value += 1), u("openDatePickerDaterange", s);
|
|
141
140
|
}, hl = (s) => {
|
|
142
|
-
s || (dl.value += 1),
|
|
141
|
+
s || (dl.value += 1), u("openDatetimerange", s);
|
|
143
142
|
};
|
|
144
143
|
return {
|
|
145
144
|
...xl(e),
|
|
146
|
-
formRef:
|
|
145
|
+
formRef: x,
|
|
147
146
|
isShowTooltip: _,
|
|
148
147
|
states: e,
|
|
149
148
|
formOptions: W,
|
|
@@ -153,23 +152,23 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
153
152
|
checkChange: L,
|
|
154
153
|
handleCheckedChange: q,
|
|
155
154
|
prefixIcon: N,
|
|
156
|
-
IconDropDown:
|
|
155
|
+
IconDropDown: O,
|
|
157
156
|
IconClear: F,
|
|
158
|
-
handleClick:
|
|
157
|
+
handleClick: G,
|
|
159
158
|
handleKeyUp: J,
|
|
160
|
-
resetFieldsTest:
|
|
161
|
-
clearValidateTest:
|
|
162
|
-
dateChange:
|
|
159
|
+
resetFieldsTest: Dl,
|
|
160
|
+
clearValidateTest: tl,
|
|
161
|
+
dateChange: P,
|
|
163
162
|
calendarChange: l,
|
|
164
163
|
onOk: Z,
|
|
165
164
|
inputBlur: o,
|
|
166
165
|
inputFocus: d,
|
|
167
|
-
inputChange:
|
|
168
|
-
inputInput:
|
|
169
|
-
noFormRule:
|
|
166
|
+
inputChange: A,
|
|
167
|
+
inputInput: Q,
|
|
168
|
+
noFormRule: C,
|
|
170
169
|
phoneWrap: X,
|
|
171
|
-
pickerKey:
|
|
172
|
-
pickerKeyDaterange:
|
|
170
|
+
pickerKey: m,
|
|
171
|
+
pickerKeyDaterange: nl,
|
|
173
172
|
datetimerange: dl,
|
|
174
173
|
openDatePicker: sl,
|
|
175
174
|
openDatePickerDaterange: Il,
|
|
@@ -185,15 +184,15 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
185
184
|
};
|
|
186
185
|
}
|
|
187
186
|
}, il = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPS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44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
188
|
-
const Bl = (p,
|
|
189
|
-
const
|
|
190
|
-
for (const [e, _] of
|
|
191
|
-
|
|
192
|
-
return
|
|
193
|
-
},
|
|
187
|
+
const Bl = (p, u) => {
|
|
188
|
+
const C = p.__vccOpts || p;
|
|
189
|
+
for (const [e, _] of u)
|
|
190
|
+
C[e] = _;
|
|
191
|
+
return C;
|
|
192
|
+
}, z = (p) => (vl("data-v-d455ca53"), p = p(), Rl(), p), Zl = { class: "header-title" }, Ql = { class: "title-content" }, Gl = {
|
|
194
193
|
key: 0,
|
|
195
194
|
class: "custom-required"
|
|
196
|
-
},
|
|
195
|
+
}, Pl = {
|
|
197
196
|
key: 0,
|
|
198
197
|
class: "custom-required"
|
|
199
198
|
}, Hl = ["src"], Kl = {
|
|
@@ -217,16 +216,16 @@ const Bl = (p, g) => {
|
|
|
217
216
|
}, ne = {
|
|
218
217
|
key: 0,
|
|
219
218
|
class: "custom-required"
|
|
220
|
-
}, de = ["onClick"], se = /* @__PURE__ */
|
|
219
|
+
}, de = ["onClick"], se = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
221
220
|
src: il,
|
|
222
221
|
alt: ""
|
|
223
|
-
}, null, -1)), re = /* @__PURE__ */
|
|
222
|
+
}, null, -1)), re = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
224
223
|
src: yl,
|
|
225
224
|
alt: ""
|
|
226
|
-
}, null, -1)), Me = /* @__PURE__ */
|
|
225
|
+
}, null, -1)), Me = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
227
226
|
src: cl,
|
|
228
227
|
alt: ""
|
|
229
|
-
}, null, -1)), ie = /* @__PURE__ */
|
|
228
|
+
}, null, -1)), ie = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
230
229
|
src: ul,
|
|
231
230
|
alt: ""
|
|
232
231
|
}, null, -1)), ye = {
|
|
@@ -235,22 +234,22 @@ const Bl = (p, g) => {
|
|
|
235
234
|
}, ce = {
|
|
236
235
|
key: 0,
|
|
237
236
|
class: "custom-required"
|
|
238
|
-
}, ue = /* @__PURE__ */
|
|
237
|
+
}, ue = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
239
238
|
src: il,
|
|
240
239
|
alt: ""
|
|
241
|
-
}, null, -1)), ge = /* @__PURE__ */
|
|
240
|
+
}, null, -1)), ge = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
242
241
|
src: yl,
|
|
243
242
|
alt: ""
|
|
244
|
-
}, null, -1)), pe = /* @__PURE__ */
|
|
243
|
+
}, null, -1)), pe = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
245
244
|
src: cl,
|
|
246
245
|
alt: ""
|
|
247
|
-
}, null, -1)), fe = /* @__PURE__ */
|
|
246
|
+
}, null, -1)), fe = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
248
247
|
src: ul,
|
|
249
248
|
alt: ""
|
|
250
|
-
}, null, -1)),
|
|
249
|
+
}, null, -1)), De = {
|
|
251
250
|
key: 0,
|
|
252
251
|
class: "custom-required"
|
|
253
|
-
},
|
|
252
|
+
}, te = {
|
|
254
253
|
key: 0,
|
|
255
254
|
class: "custom-required"
|
|
256
255
|
}, be = {
|
|
@@ -259,29 +258,29 @@ const Bl = (p, g) => {
|
|
|
259
258
|
}, Ne = {
|
|
260
259
|
key: 0,
|
|
261
260
|
class: "phone_item_content_before"
|
|
262
|
-
}, Te = /* @__PURE__ */
|
|
261
|
+
}, Te = /* @__PURE__ */ z(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), Ie = /* @__PURE__ */ z(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), he = {
|
|
263
262
|
key: 1,
|
|
264
263
|
class: "line_middle"
|
|
265
264
|
}, je = {
|
|
266
265
|
key: 2,
|
|
267
266
|
class: "line_middle"
|
|
268
|
-
}, Oe = /* @__PURE__ */
|
|
267
|
+
}, Oe = /* @__PURE__ */ z(() => /* @__PURE__ */ b("div", {
|
|
269
268
|
class: "line",
|
|
270
269
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
271
|
-
}, null, -1)),
|
|
270
|
+
}, null, -1)), Ae = {
|
|
272
271
|
key: 0,
|
|
273
272
|
class: "custom-required"
|
|
274
|
-
},
|
|
273
|
+
}, ke = {
|
|
275
274
|
key: 0,
|
|
276
275
|
class: "custom-required"
|
|
277
276
|
};
|
|
278
|
-
function we(p,
|
|
279
|
-
const N = I("el-form-item"),
|
|
280
|
-
return a(), i(
|
|
277
|
+
function we(p, u, C, e, _, x) {
|
|
278
|
+
const N = I("el-form-item"), O = I("el-input"), E = I("el-col"), U = I("el-row"), F = I("el-radio"), W = I("el-radio-group"), v = I("el-checkbox"), S = I("el-checkbox-group"), R = I("el-option"), B = I("el-select"), L = I("el-tooltip"), q = I("a-date-picker"), G = I("a-range-picker"), J = I("sinosoftCommonButton"), P = I("el-form");
|
|
279
|
+
return a(), i(P, El({
|
|
281
280
|
"hide-required-asterisk": "",
|
|
282
|
-
onSubmit:
|
|
281
|
+
onSubmit: u[0] || (u[0] = _l(() => {
|
|
283
282
|
}, ["prevent"])),
|
|
284
|
-
model:
|
|
283
|
+
model: C.model
|
|
285
284
|
}, e.formOptions, {
|
|
286
285
|
"label-position": e.formOptions.labelPosition,
|
|
287
286
|
ref: "formRef",
|
|
@@ -290,7 +289,7 @@ function we(p, g, z, e, _, C) {
|
|
|
290
289
|
default: n(() => [
|
|
291
290
|
f(U, { gutter: 24 }, {
|
|
292
291
|
default: n(() => [
|
|
293
|
-
(a(!0), M(k, null,
|
|
292
|
+
(a(!0), M(k, null, w(C.fieldList, (l, Z) => Sl((a(), i(E, {
|
|
294
293
|
xs: l.xs ? l.xs : 24,
|
|
295
294
|
sm: l.sm ? l.sm : 24,
|
|
296
295
|
md: l.md ? l.md : 8,
|
|
@@ -300,12 +299,12 @@ function we(p, g, z, e, _, C) {
|
|
|
300
299
|
}, {
|
|
301
300
|
default: n(() => [
|
|
302
301
|
b("div", {
|
|
303
|
-
style:
|
|
302
|
+
style: D(l.style)
|
|
304
303
|
}, [
|
|
305
304
|
l.type === "title" ? (a(), i(N, { key: 0 }, {
|
|
306
305
|
default: n(() => [
|
|
307
306
|
b("div", Zl, [
|
|
308
|
-
b("span",
|
|
307
|
+
b("span", Ql, y(l.title), 1)
|
|
309
308
|
])
|
|
310
309
|
]),
|
|
311
310
|
_: 2
|
|
@@ -318,10 +317,10 @@ function we(p, g, z, e, _, C) {
|
|
|
318
317
|
label: n(() => [
|
|
319
318
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
320
319
|
key: 0,
|
|
321
|
-
style:
|
|
320
|
+
style: D(l.labelStyle)
|
|
322
321
|
}, [
|
|
323
322
|
T(y(l.label) + " ", 1),
|
|
324
|
-
l.required ? (a(), M("span",
|
|
323
|
+
l.required ? (a(), M("span", Gl, "*")) : c("", !0)
|
|
325
324
|
], 4))
|
|
326
325
|
]),
|
|
327
326
|
default: n(() => [
|
|
@@ -342,12 +341,12 @@ function we(p, g, z, e, _, C) {
|
|
|
342
341
|
class: "item-name item-name-top"
|
|
343
342
|
}, {
|
|
344
343
|
default: n(() => [
|
|
345
|
-
f(
|
|
344
|
+
f(O, {
|
|
346
345
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
347
346
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
348
347
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
349
348
|
onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
|
|
350
|
-
class:
|
|
349
|
+
class: t(
|
|
351
350
|
(l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
352
351
|
),
|
|
353
352
|
maxlength: l.maxlengthNameEnFamily,
|
|
@@ -380,7 +379,7 @@ function we(p, g, z, e, _, C) {
|
|
|
380
379
|
class: "item-name item-name-top"
|
|
381
380
|
}, {
|
|
382
381
|
default: n(() => [
|
|
383
|
-
f(
|
|
382
|
+
f(O, {
|
|
384
383
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
385
384
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
386
385
|
onChange: (o) => e.inputChange(o, l.field.nameEn),
|
|
@@ -388,7 +387,7 @@ function we(p, g, z, e, _, C) {
|
|
|
388
387
|
maxlength: l.maxlengthNameEn,
|
|
389
388
|
modelValue: e.states.model[l.field.nameEn],
|
|
390
389
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
391
|
-
class:
|
|
390
|
+
class: t(
|
|
392
391
|
(l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
393
392
|
),
|
|
394
393
|
readonly: l.readonly,
|
|
@@ -423,7 +422,7 @@ function we(p, g, z, e, _, C) {
|
|
|
423
422
|
class: "item-name item-name-bottom"
|
|
424
423
|
}, {
|
|
425
424
|
default: n(() => [
|
|
426
|
-
f(
|
|
425
|
+
f(O, {
|
|
427
426
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
428
427
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
429
428
|
onChange: (o) => e.inputChange(o, l.field.nameChFamily),
|
|
@@ -432,7 +431,7 @@ function we(p, g, z, e, _, C) {
|
|
|
432
431
|
"nameChFamily" in l.field ? l.field.nameCh : ""
|
|
433
432
|
),
|
|
434
433
|
maxlength: l.maxlengthNameChFamily,
|
|
435
|
-
class:
|
|
434
|
+
class: t(
|
|
436
435
|
(l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
437
436
|
),
|
|
438
437
|
modelValue: e.states.model[l.field.nameChFamily],
|
|
@@ -464,12 +463,12 @@ function we(p, g, z, e, _, C) {
|
|
|
464
463
|
class: "item-name item-name-bottom"
|
|
465
464
|
}, {
|
|
466
465
|
default: n(() => [
|
|
467
|
-
f(
|
|
466
|
+
f(O, {
|
|
468
467
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
469
468
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
470
469
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
471
470
|
onInput: (o) => e.inputInput(o, l.field.nameCh),
|
|
472
|
-
class:
|
|
471
|
+
class: t(
|
|
473
472
|
(l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
474
473
|
),
|
|
475
474
|
maxlength: l.maxlengthNameCh,
|
|
@@ -502,10 +501,10 @@ function we(p, g, z, e, _, C) {
|
|
|
502
501
|
label: n(() => [
|
|
503
502
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
504
503
|
key: 0,
|
|
505
|
-
style:
|
|
504
|
+
style: D(l.labelStyle)
|
|
506
505
|
}, [
|
|
507
506
|
T(y(l.label) + " ", 1),
|
|
508
|
-
l.required ? (a(), M("span",
|
|
507
|
+
l.required ? (a(), M("span", Pl, "*")) : c("", !0)
|
|
509
508
|
], 4))
|
|
510
509
|
]),
|
|
511
510
|
default: n(() => [
|
|
@@ -518,7 +517,7 @@ function we(p, g, z, e, _, C) {
|
|
|
518
517
|
default: n(() => {
|
|
519
518
|
var o;
|
|
520
519
|
return [
|
|
521
|
-
(a(!0), M(k, null,
|
|
520
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
522
521
|
label: d.code,
|
|
523
522
|
size: "large",
|
|
524
523
|
key: d.code
|
|
@@ -543,12 +542,12 @@ function we(p, g, z, e, _, C) {
|
|
|
543
542
|
label: l.label,
|
|
544
543
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
545
544
|
prop: l.field,
|
|
546
|
-
class:
|
|
545
|
+
class: t([l.labelNode ? "radio_Note" : "rule_err"])
|
|
547
546
|
}, {
|
|
548
547
|
label: n(() => [
|
|
549
548
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
550
549
|
key: 0,
|
|
551
|
-
style:
|
|
550
|
+
style: D(l.labelStyle)
|
|
552
551
|
}, [
|
|
553
552
|
T(y(l.label) + " ", 1),
|
|
554
553
|
l.required ? (a(), M("span", Kl, "*")) : c("", !0)
|
|
@@ -560,15 +559,15 @@ function we(p, g, z, e, _, C) {
|
|
|
560
559
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
561
560
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
562
561
|
onChange: (o) => e.radioChange(o, l.field),
|
|
563
|
-
style:
|
|
562
|
+
style: D(
|
|
564
563
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
565
564
|
),
|
|
566
|
-
class:
|
|
565
|
+
class: t(l.ways !== "column" ? "radio_row" : "")
|
|
567
566
|
}, {
|
|
568
567
|
default: n(() => {
|
|
569
568
|
var o;
|
|
570
569
|
return [
|
|
571
|
-
(a(!0), M(k, null,
|
|
570
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
572
571
|
size: "large",
|
|
573
572
|
label: d.code,
|
|
574
573
|
key: d.code,
|
|
@@ -590,7 +589,7 @@ function we(p, g, z, e, _, C) {
|
|
|
590
589
|
label: l.label,
|
|
591
590
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
592
591
|
prop: l.field,
|
|
593
|
-
class:
|
|
592
|
+
class: t([l.labelNode ? "radio_Note" : "rule_err"])
|
|
594
593
|
}, {
|
|
595
594
|
default: n(() => [
|
|
596
595
|
b("div", null, [
|
|
@@ -603,15 +602,15 @@ function we(p, g, z, e, _, C) {
|
|
|
603
602
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
604
603
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
605
604
|
onChange: (o) => e.radioChange(o, l.field),
|
|
606
|
-
style:
|
|
605
|
+
style: D(
|
|
607
606
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
608
607
|
),
|
|
609
|
-
class:
|
|
608
|
+
class: t(l.ways !== "column" ? "radio_row" : "")
|
|
610
609
|
}, {
|
|
611
610
|
default: n(() => {
|
|
612
611
|
var o;
|
|
613
612
|
return [
|
|
614
|
-
(a(!0), M(k, null,
|
|
613
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
615
614
|
size: "large",
|
|
616
615
|
label: d.code,
|
|
617
616
|
key: d.code
|
|
@@ -636,7 +635,7 @@ function we(p, g, z, e, _, C) {
|
|
|
636
635
|
label: n(() => [
|
|
637
636
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
638
637
|
key: 0,
|
|
639
|
-
style:
|
|
638
|
+
style: D(l.labelStyle)
|
|
640
639
|
}, [
|
|
641
640
|
T(y(l.label) + " ", 1),
|
|
642
641
|
l.required ? (a(), M("span", ml, "*")) : c("", !0)
|
|
@@ -648,14 +647,14 @@ function we(p, g, z, e, _, C) {
|
|
|
648
647
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
649
648
|
onChange: (o) => e.checkChange(o, l.field),
|
|
650
649
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
651
|
-
style:
|
|
650
|
+
style: D(
|
|
652
651
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
653
652
|
)
|
|
654
653
|
}, {
|
|
655
654
|
default: n(() => {
|
|
656
655
|
var o;
|
|
657
656
|
return [
|
|
658
|
-
(a(!0), M(k, null,
|
|
657
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
659
658
|
key: d.code,
|
|
660
659
|
label: d.code,
|
|
661
660
|
disabled: d.isDisabled
|
|
@@ -680,7 +679,7 @@ function we(p, g, z, e, _, C) {
|
|
|
680
679
|
label: n(() => [
|
|
681
680
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
682
681
|
key: 0,
|
|
683
|
-
style:
|
|
682
|
+
style: D(l.labelStyle)
|
|
684
683
|
}, [
|
|
685
684
|
T(y(l.label) + " ", 1),
|
|
686
685
|
l.required ? (a(), M("span", $l, "*")) : c("", !0)
|
|
@@ -692,14 +691,14 @@ function we(p, g, z, e, _, C) {
|
|
|
692
691
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
693
692
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
694
693
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
695
|
-
style:
|
|
694
|
+
style: D(
|
|
696
695
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
697
696
|
)
|
|
698
697
|
}, {
|
|
699
698
|
default: n(() => {
|
|
700
699
|
var o;
|
|
701
700
|
return [
|
|
702
|
-
(a(!0), M(k, null,
|
|
701
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
703
702
|
key: d.code,
|
|
704
703
|
label: d.code,
|
|
705
704
|
disabled: d.isDisabled
|
|
@@ -720,7 +719,7 @@ function we(p, g, z, e, _, C) {
|
|
|
720
719
|
label: l.label,
|
|
721
720
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
722
721
|
prop: l.field,
|
|
723
|
-
class:
|
|
722
|
+
class: t([l.labelNode ? "radio_Note" : "rule_err"])
|
|
724
723
|
}, {
|
|
725
724
|
default: n(() => [
|
|
726
725
|
b("div", null, [
|
|
@@ -733,14 +732,14 @@ function we(p, g, z, e, _, C) {
|
|
|
733
732
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
734
733
|
onChange: (o) => e.checkChange(o, l.field),
|
|
735
734
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
736
|
-
style:
|
|
735
|
+
style: D(
|
|
737
736
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
738
737
|
)
|
|
739
738
|
}, {
|
|
740
739
|
default: n(() => {
|
|
741
740
|
var o;
|
|
742
741
|
return [
|
|
743
|
-
(a(!0), M(k, null,
|
|
742
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
744
743
|
key: d.code,
|
|
745
744
|
label: d.code,
|
|
746
745
|
disabled: d.isDisabled
|
|
@@ -766,7 +765,7 @@ function we(p, g, z, e, _, C) {
|
|
|
766
765
|
label: n(() => [
|
|
767
766
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
768
767
|
key: 0,
|
|
769
|
-
style:
|
|
768
|
+
style: D(l.labelStyle)
|
|
770
769
|
}, [
|
|
771
770
|
T(y(l.label) + " ", 1),
|
|
772
771
|
l.required ? (a(), M("span", ae, "*")) : c("", !0)
|
|
@@ -784,7 +783,7 @@ function we(p, g, z, e, _, C) {
|
|
|
784
783
|
}, {
|
|
785
784
|
default: n(() => [
|
|
786
785
|
f(B, {
|
|
787
|
-
class:
|
|
786
|
+
class: t(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
788
787
|
id: l.field,
|
|
789
788
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
790
789
|
"popper-class": l.selectPaging === !0 ? "single-select-loadmore" : "selectTriangles",
|
|
@@ -809,10 +808,10 @@ function we(p, g, z, e, _, C) {
|
|
|
809
808
|
default: n(() => {
|
|
810
809
|
var d;
|
|
811
810
|
return [
|
|
812
|
-
(a(!0), M(k, null,
|
|
813
|
-
key:
|
|
814
|
-
label:
|
|
815
|
-
value:
|
|
811
|
+
(a(!0), M(k, null, w((d = l.options) == null ? void 0 : d.data, (A) => (a(), i(R, {
|
|
812
|
+
key: A.code,
|
|
813
|
+
label: A.name,
|
|
814
|
+
value: A.code
|
|
816
815
|
}, null, 8, ["label", "value"]))), 128)),
|
|
817
816
|
l.loading ? (a(), i(R, {
|
|
818
817
|
key: 0,
|
|
@@ -829,7 +828,7 @@ function we(p, g, z, e, _, C) {
|
|
|
829
828
|
}, 1032, ["content", "disabled"]),
|
|
830
829
|
b("div", {
|
|
831
830
|
class: "item_tips_blow",
|
|
832
|
-
style:
|
|
831
|
+
style: D(l.tipsBlowStyle)
|
|
833
832
|
}, y(l.tipsBlow), 5)
|
|
834
833
|
];
|
|
835
834
|
}),
|
|
@@ -844,7 +843,7 @@ function we(p, g, z, e, _, C) {
|
|
|
844
843
|
label: n(() => [
|
|
845
844
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
846
845
|
key: 0,
|
|
847
|
-
style:
|
|
846
|
+
style: D(l.labelStyle)
|
|
848
847
|
}, [
|
|
849
848
|
T(y(l.label) + " ", 1),
|
|
850
849
|
l.required ? (a(), M("span", ne, "*")) : c("", !0)
|
|
@@ -869,7 +868,7 @@ function we(p, g, z, e, _, C) {
|
|
|
869
868
|
picker: l.picker,
|
|
870
869
|
placeholder: l.placeholder || l.label,
|
|
871
870
|
key: e.pickerKey,
|
|
872
|
-
class:
|
|
871
|
+
class: t(
|
|
873
872
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
874
873
|
),
|
|
875
874
|
presets: l == null ? void 0 : l.presets,
|
|
@@ -908,7 +907,7 @@ function we(p, g, z, e, _, C) {
|
|
|
908
907
|
fn: n(({ current: o }) => [
|
|
909
908
|
b("div", {
|
|
910
909
|
class: "ant-picker-cell-inner",
|
|
911
|
-
style:
|
|
910
|
+
style: D(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
912
911
|
}, y(o.date()), 5)
|
|
913
912
|
]),
|
|
914
913
|
key: "0"
|
|
@@ -918,18 +917,18 @@ function we(p, g, z, e, _, C) {
|
|
|
918
917
|
fn: n(() => [
|
|
919
918
|
l != null && l.disabledDateToday ? (a(), M("span", {
|
|
920
919
|
key: 0,
|
|
921
|
-
class:
|
|
922
|
-
}, "Toady",
|
|
920
|
+
class: t([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"])
|
|
921
|
+
}, y((l == null ? void 0 : l.todayLanguane) === "en" ? "Toady" : "今天"), 3)) : c("", !0),
|
|
923
922
|
l != null && l.disabledDateToday ? c("", !0) : (a(), M("span", {
|
|
924
923
|
key: 1,
|
|
925
|
-
class:
|
|
924
|
+
class: t([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
926
925
|
onClick: (o) => e.getDefaultToady(
|
|
927
|
-
|
|
926
|
+
e.states.model[l.field],
|
|
928
927
|
typeof l.field == "string" ? l.field : "",
|
|
929
928
|
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date(),
|
|
930
929
|
l.field
|
|
931
930
|
)
|
|
932
|
-
}, "Toady",
|
|
931
|
+
}, y((l != null && l.todayLanguane, "Toady")), 11, de))
|
|
933
932
|
]),
|
|
934
933
|
key: "1"
|
|
935
934
|
} : void 0
|
|
@@ -946,14 +945,14 @@ function we(p, g, z, e, _, C) {
|
|
|
946
945
|
label: n(() => [
|
|
947
946
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
948
947
|
key: 0,
|
|
949
|
-
style:
|
|
948
|
+
style: D(l.labelStyle)
|
|
950
949
|
}, [
|
|
951
950
|
T(y(l.label) + " ", 1),
|
|
952
951
|
l.required ? (a(), M("span", ce, "*")) : c("", !0)
|
|
953
952
|
], 4))
|
|
954
953
|
]),
|
|
955
954
|
default: n(() => [
|
|
956
|
-
(a(), i(
|
|
955
|
+
(a(), i(G, {
|
|
957
956
|
"popper-class": "selectTriangles",
|
|
958
957
|
allowClear: !!l.allowClear,
|
|
959
958
|
defaultPickerValue: l == null ? void 0 : l.defaultPickerValue,
|
|
@@ -970,14 +969,14 @@ function we(p, g, z, e, _, C) {
|
|
|
970
969
|
separator: l.separator || "To",
|
|
971
970
|
placeholder: l.placeholder,
|
|
972
971
|
size: "large",
|
|
973
|
-
class:
|
|
972
|
+
class: t(
|
|
974
973
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
975
974
|
),
|
|
976
975
|
key: e.pickerKeyDaterange,
|
|
977
976
|
onChange: (o) => e.dateChange(
|
|
978
977
|
o,
|
|
979
978
|
typeof l.field == "string" ? l.field : "",
|
|
980
|
-
l == null ? void 0 : l.
|
|
979
|
+
l == null ? void 0 : l.defaultToady
|
|
981
980
|
),
|
|
982
981
|
onCalendarChange: (o) => e.calendarChange(
|
|
983
982
|
o,
|
|
@@ -987,7 +986,7 @@ function we(p, g, z, e, _, C) {
|
|
|
987
986
|
o,
|
|
988
987
|
typeof l.field == "string" ? l.field : ""
|
|
989
988
|
),
|
|
990
|
-
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.
|
|
989
|
+
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultToady, l.field)
|
|
991
990
|
}, K({
|
|
992
991
|
superPrevIcon: n(() => [
|
|
993
992
|
ue
|
|
@@ -1003,12 +1002,12 @@ function we(p, g, z, e, _, C) {
|
|
|
1003
1002
|
]),
|
|
1004
1003
|
_: 2
|
|
1005
1004
|
}, [
|
|
1006
|
-
l != null && l.
|
|
1005
|
+
l != null && l.defaultToady ? {
|
|
1007
1006
|
name: "dateRender",
|
|
1008
1007
|
fn: n(({ current: o }) => [
|
|
1009
1008
|
b("div", {
|
|
1010
1009
|
class: "ant-picker-cell-inner",
|
|
1011
|
-
style:
|
|
1010
|
+
style: D(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
1012
1011
|
}, y(o.date()), 5)
|
|
1013
1012
|
]),
|
|
1014
1013
|
key: "0"
|
|
@@ -1025,14 +1024,14 @@ function we(p, g, z, e, _, C) {
|
|
|
1025
1024
|
label: n(() => [
|
|
1026
1025
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1027
1026
|
key: 0,
|
|
1028
|
-
style:
|
|
1027
|
+
style: D(l.labelStyle)
|
|
1029
1028
|
}, [
|
|
1030
1029
|
T(y(l.label) + " ", 1),
|
|
1031
|
-
l.required ? (a(), M("span",
|
|
1030
|
+
l.required ? (a(), M("span", De, "*")) : c("", !0)
|
|
1032
1031
|
], 4))
|
|
1033
1032
|
]),
|
|
1034
1033
|
default: n(() => [
|
|
1035
|
-
(a(), i(
|
|
1034
|
+
(a(), i(G, {
|
|
1036
1035
|
"popper-class": "selectTriangles",
|
|
1037
1036
|
allowClear: !!l.allowClear,
|
|
1038
1037
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1049,7 +1048,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1049
1048
|
separator: l.separator || "To",
|
|
1050
1049
|
placeholder: l.placeholder,
|
|
1051
1050
|
size: "large",
|
|
1052
|
-
class:
|
|
1051
|
+
class: t(
|
|
1053
1052
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1054
1053
|
),
|
|
1055
1054
|
key: e.datetimerange,
|
|
@@ -1079,10 +1078,10 @@ function we(p, g, z, e, _, C) {
|
|
|
1079
1078
|
label: n(() => [
|
|
1080
1079
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1081
1080
|
key: 0,
|
|
1082
|
-
style:
|
|
1081
|
+
style: D(l.labelStyle)
|
|
1083
1082
|
}, [
|
|
1084
1083
|
T(y(l.label) + " ", 1),
|
|
1085
|
-
l.required ? (a(), M("span",
|
|
1084
|
+
l.required ? (a(), M("span", te, "*")) : c("", !0)
|
|
1086
1085
|
], 4))
|
|
1087
1086
|
]),
|
|
1088
1087
|
default: n(() => [
|
|
@@ -1099,7 +1098,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1099
1098
|
label: n(() => [
|
|
1100
1099
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1101
1100
|
key: 0,
|
|
1102
|
-
style:
|
|
1101
|
+
style: D(l.labelStyle)
|
|
1103
1102
|
}, [
|
|
1104
1103
|
T(y(l.label) + " ", 1),
|
|
1105
1104
|
l.required ? (a(), M("span", be, "*")) : c("", !0)
|
|
@@ -1107,7 +1106,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1107
1106
|
]),
|
|
1108
1107
|
default: n(() => [
|
|
1109
1108
|
b("div", {
|
|
1110
|
-
class:
|
|
1109
|
+
class: t(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1111
1110
|
}, [
|
|
1112
1111
|
e.phoneWrap ? (a(), M("div", Ne, [
|
|
1113
1112
|
f(L, {
|
|
@@ -1122,7 +1121,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1122
1121
|
return [
|
|
1123
1122
|
l.field.nationCode ? (a(), i(B, {
|
|
1124
1123
|
key: 0,
|
|
1125
|
-
class:
|
|
1124
|
+
class: t(["tooltip-select", (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]),
|
|
1126
1125
|
id: l.field.nationCode,
|
|
1127
1126
|
onMouseenter: (d) => e.visibilityChange(l.field.nationCode),
|
|
1128
1127
|
"popper-class": "selectTriangles",
|
|
@@ -1131,7 +1130,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1131
1130
|
modelValue: e.states.model[l.field.nationCode],
|
|
1132
1131
|
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1133
1132
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1134
|
-
style:
|
|
1133
|
+
style: D("width:" + l.widthNation),
|
|
1135
1134
|
"fit-input-width": !0,
|
|
1136
1135
|
"suffix-icon": e.IconDropDown,
|
|
1137
1136
|
"clear-icon": e.IconClear
|
|
@@ -1139,10 +1138,10 @@ function we(p, g, z, e, _, C) {
|
|
|
1139
1138
|
default: n(() => {
|
|
1140
1139
|
var d;
|
|
1141
1140
|
return [
|
|
1142
|
-
(a(!0), M(k, null,
|
|
1143
|
-
label:
|
|
1144
|
-
value:
|
|
1145
|
-
key:
|
|
1141
|
+
(a(!0), M(k, null, w((d = l.nationOptions) == null ? void 0 : d.data, (A, Q) => (a(), i(R, {
|
|
1142
|
+
label: A.name,
|
|
1143
|
+
value: A.code,
|
|
1144
|
+
key: Q
|
|
1146
1145
|
}, null, 8, ["label", "value"]))), 128))
|
|
1147
1146
|
];
|
|
1148
1147
|
}),
|
|
@@ -1163,9 +1162,9 @@ function we(p, g, z, e, _, C) {
|
|
|
1163
1162
|
default: n(() => {
|
|
1164
1163
|
var o;
|
|
1165
1164
|
return [
|
|
1166
|
-
l.field.areaCode ? (a(), i(
|
|
1165
|
+
l.field.areaCode ? (a(), i(O, {
|
|
1167
1166
|
key: 0,
|
|
1168
|
-
class:
|
|
1167
|
+
class: t(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1169
1168
|
id: l.field.areaCode,
|
|
1170
1169
|
onMouseenter: (d) => e.visibilityChange(l.field.areaCode),
|
|
1171
1170
|
onBlur: (d) => e.inputBlur(
|
|
@@ -1210,7 +1209,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1210
1209
|
return [
|
|
1211
1210
|
l.field.nationCode && !e.phoneWrap ? (a(), i(B, {
|
|
1212
1211
|
key: 0,
|
|
1213
|
-
class:
|
|
1212
|
+
class: t([
|
|
1214
1213
|
"tooltip-select",
|
|
1215
1214
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1216
1215
|
]),
|
|
@@ -1222,7 +1221,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1222
1221
|
modelValue: e.states.model[l.field.nationCode],
|
|
1223
1222
|
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1224
1223
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1225
|
-
style:
|
|
1224
|
+
style: D("width:" + l.widthNation),
|
|
1226
1225
|
"fit-input-width": !0,
|
|
1227
1226
|
"suffix-icon": e.IconDropDown,
|
|
1228
1227
|
"clear-icon": e.IconClear
|
|
@@ -1230,10 +1229,10 @@ function we(p, g, z, e, _, C) {
|
|
|
1230
1229
|
default: n(() => {
|
|
1231
1230
|
var d;
|
|
1232
1231
|
return [
|
|
1233
|
-
(a(!0), M(k, null,
|
|
1234
|
-
label:
|
|
1235
|
-
value:
|
|
1236
|
-
key:
|
|
1232
|
+
(a(!0), M(k, null, w((d = l.nationOptions) == null ? void 0 : d.data, (A, Q) => (a(), i(R, {
|
|
1233
|
+
label: A.name,
|
|
1234
|
+
value: A.code,
|
|
1235
|
+
key: Q
|
|
1237
1236
|
}, null, 8, ["label", "value"]))), 128))
|
|
1238
1237
|
];
|
|
1239
1238
|
}),
|
|
@@ -1254,9 +1253,9 @@ function we(p, g, z, e, _, C) {
|
|
|
1254
1253
|
default: n(() => {
|
|
1255
1254
|
var o;
|
|
1256
1255
|
return [
|
|
1257
|
-
l.field.areaCode && !e.phoneWrap ? (a(), i(
|
|
1256
|
+
l.field.areaCode && !e.phoneWrap ? (a(), i(O, {
|
|
1258
1257
|
key: 0,
|
|
1259
|
-
class:
|
|
1258
|
+
class: t([
|
|
1260
1259
|
"tooltip-input",
|
|
1261
1260
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1262
1261
|
]),
|
|
@@ -1284,7 +1283,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1284
1283
|
"onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
|
|
1285
1284
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1286
1285
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1287
|
-
style:
|
|
1286
|
+
style: D("width:" + l.widthArea),
|
|
1288
1287
|
clearable: l.clearable
|
|
1289
1288
|
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : c("", !0)
|
|
1290
1289
|
];
|
|
@@ -1300,9 +1299,9 @@ function we(p, g, z, e, _, C) {
|
|
|
1300
1299
|
disabled: e.isShowTooltip
|
|
1301
1300
|
}, {
|
|
1302
1301
|
default: n(() => [
|
|
1303
|
-
l.field.phoneNumber ? (a(), i(
|
|
1302
|
+
l.field.phoneNumber ? (a(), i(O, {
|
|
1304
1303
|
key: 0,
|
|
1305
|
-
class:
|
|
1304
|
+
class: t([
|
|
1306
1305
|
"tooltip-input",
|
|
1307
1306
|
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1308
1307
|
]),
|
|
@@ -1329,7 +1328,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1329
1328
|
"onUpdate:modelValue": (o) => e.states.model[l.field.phoneNumber] = o,
|
|
1330
1329
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
|
|
1331
1330
|
placeholder: l.placeholder || "",
|
|
1332
|
-
style:
|
|
1331
|
+
style: D("width:" + l.widthPhoneNumber),
|
|
1333
1332
|
clearable: l.clearable
|
|
1334
1333
|
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : c("", !0)
|
|
1335
1334
|
]),
|
|
@@ -1350,19 +1349,19 @@ function we(p, g, z, e, _, C) {
|
|
|
1350
1349
|
key: 15,
|
|
1351
1350
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1352
1351
|
prop: l.field,
|
|
1353
|
-
class:
|
|
1352
|
+
class: t(l.prepend ? "input-item" : "")
|
|
1354
1353
|
}, {
|
|
1355
1354
|
label: n(() => [
|
|
1356
1355
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1357
1356
|
key: 0,
|
|
1358
|
-
style:
|
|
1357
|
+
style: D(l.labelStyle)
|
|
1359
1358
|
}, [
|
|
1360
1359
|
T(y(l.label) + " ", 1),
|
|
1361
|
-
l.required ? (a(), M("span",
|
|
1360
|
+
l.required ? (a(), M("span", Ae, "*")) : c("", !0)
|
|
1362
1361
|
], 4))
|
|
1363
1362
|
]),
|
|
1364
1363
|
default: n(() => [
|
|
1365
|
-
f(
|
|
1364
|
+
f(O, {
|
|
1366
1365
|
onBlur: (o) => e.inputBlur(
|
|
1367
1366
|
o,
|
|
1368
1367
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1391,7 +1390,7 @@ function we(p, g, z, e, _, C) {
|
|
|
1391
1390
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1392
1391
|
showPassword: l.showPassword,
|
|
1393
1392
|
clearable: l.clearable,
|
|
1394
|
-
class:
|
|
1393
|
+
class: t(
|
|
1395
1394
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1396
1395
|
),
|
|
1397
1396
|
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
@@ -1417,15 +1416,15 @@ function we(p, g, z, e, _, C) {
|
|
|
1417
1416
|
key: 16,
|
|
1418
1417
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1419
1418
|
prop: l.field,
|
|
1420
|
-
class:
|
|
1419
|
+
class: t(l.prepend ? "input-item" : "")
|
|
1421
1420
|
}, {
|
|
1422
1421
|
label: n(() => [
|
|
1423
1422
|
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1424
1423
|
key: 0,
|
|
1425
|
-
style:
|
|
1424
|
+
style: D(l.labelStyle)
|
|
1426
1425
|
}, [
|
|
1427
1426
|
T(y(l.label) + " ", 1),
|
|
1428
|
-
l.required ? (a(), M("span",
|
|
1427
|
+
l.required ? (a(), M("span", ke, "*")) : c("", !0)
|
|
1429
1428
|
], 4))
|
|
1430
1429
|
]),
|
|
1431
1430
|
default: n(() => [
|
|
@@ -1437,8 +1436,8 @@ function we(p, g, z, e, _, C) {
|
|
|
1437
1436
|
disabled: e.isShowTooltip
|
|
1438
1437
|
}, {
|
|
1439
1438
|
default: n(() => [
|
|
1440
|
-
f(
|
|
1441
|
-
class:
|
|
1439
|
+
f(O, {
|
|
1440
|
+
class: t(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1442
1441
|
id: l.field,
|
|
1443
1442
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
1444
1443
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1491,10 +1490,10 @@ function we(p, g, z, e, _, C) {
|
|
|
1491
1490
|
f(N, { class: "btnsItem" }, {
|
|
1492
1491
|
default: n(() => [
|
|
1493
1492
|
h(p.$slots, "buttons", {
|
|
1494
|
-
model:
|
|
1493
|
+
model: C.model,
|
|
1495
1494
|
onBtnClick: e.onSubmit
|
|
1496
1495
|
}, () => [
|
|
1497
|
-
(a(!0), M(k, null,
|
|
1496
|
+
(a(!0), M(k, null, w(e.formOptions.btnConfig, (l, Z) => (a(), M("div", { key: Z }, [
|
|
1498
1497
|
l.isShow ? (a(), i(J, {
|
|
1499
1498
|
key: 0,
|
|
1500
1499
|
btnCode: l.btnCode,
|
|
@@ -1518,8 +1517,8 @@ function we(p, g, z, e, _, C) {
|
|
|
1518
1517
|
size: l.size,
|
|
1519
1518
|
fontSize: l.fontSize,
|
|
1520
1519
|
fontWeight: l.fontWeight,
|
|
1521
|
-
style:
|
|
1522
|
-
class:
|
|
1520
|
+
style: D(l.style),
|
|
1521
|
+
class: t(l.class),
|
|
1523
1522
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1524
1523
|
}, {
|
|
1525
1524
|
default: n(() => [
|
|
@@ -1536,8 +1535,8 @@ function we(p, g, z, e, _, C) {
|
|
|
1536
1535
|
_: 3
|
|
1537
1536
|
}, 16, ["model", "label-position"]);
|
|
1538
1537
|
}
|
|
1539
|
-
const gl = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-
|
|
1540
|
-
function ol(p,
|
|
1538
|
+
const gl = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-d455ca53"]]);
|
|
1539
|
+
function ol(p, u = {}) {
|
|
1541
1540
|
ol.installed || (ol.installed = !0, p.component("common-el-form", gl));
|
|
1542
1541
|
}
|
|
1543
1542
|
gl.install = ol;
|