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