sinosoft-common-form 2.0.1 → 2.0.3
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 +268 -257
- 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 kl, shallowRef as ll, h as el, computed as Al, 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 A, withDirectives as Sl, createElementVNode as b, normalizeStyle as t, toDisplayString as y, createTextVNode as T, createCommentVNode as c, renderSlot as h, normalizeClass as D, 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,10 +21,10 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const z = Y(!0), e =
|
|
24
|
+
setup(p, { emit: g }) {
|
|
25
|
+
const z = Y(!0), e = kl({
|
|
26
26
|
model: {}
|
|
27
|
-
}), _ = Y(!0), C = Y(null),
|
|
27
|
+
}), _ = Y(!0), C = Y(null), N = ll({
|
|
28
28
|
render() {
|
|
29
29
|
return el("img", {
|
|
30
30
|
src: Vl
|
|
@@ -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 && g("selectChangeScroll");
|
|
42
42
|
}, U = (s, r) => {
|
|
43
43
|
if (s) {
|
|
44
|
-
const
|
|
45
|
-
|
|
44
|
+
const u = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
45
|
+
u && u.addEventListener("scroll", E), g("handleVisibleChange", s, r);
|
|
46
46
|
}
|
|
47
47
|
}, F = ll({
|
|
48
48
|
render() {
|
|
@@ -50,65 +50,65 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
50
50
|
src: Fl
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}), W =
|
|
54
|
-
e.model =
|
|
55
|
-
}, S = (s, r,
|
|
53
|
+
}), W = Al(() => Object.assign([], p.options)), v = () => {
|
|
54
|
+
e.model = p.model;
|
|
55
|
+
}, S = (s, r, u) => {
|
|
56
56
|
var x;
|
|
57
57
|
r ? (z.value = !1, Ll(() => {
|
|
58
|
-
var
|
|
59
|
-
(
|
|
58
|
+
var H;
|
|
59
|
+
(H = C.value) == null || H.validate(($) => {
|
|
60
60
|
if ($)
|
|
61
|
-
|
|
61
|
+
g(u || "submit", e.model, s);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) : r ? (
|
|
65
|
+
})) : r ? (u === "reset" && ((x = C.value) == null || x.resetFields()), g(u || "submit", e.model, s)) : (z.value = !1, g(u || "submit", e.model, s, C.value));
|
|
66
66
|
}, R = (s, r) => {
|
|
67
|
-
|
|
67
|
+
g("selectChange", s, r);
|
|
68
68
|
}, B = (s, r) => {
|
|
69
|
-
|
|
69
|
+
g("radioChange", s, r);
|
|
70
70
|
}, L = (s, r) => {
|
|
71
|
-
|
|
72
|
-
},
|
|
73
|
-
const
|
|
74
|
-
if (
|
|
75
|
-
|
|
71
|
+
g("checkChange", s, r);
|
|
72
|
+
}, q = (s, r) => {
|
|
73
|
+
const u = e.model[r].length;
|
|
74
|
+
if (u === 1) {
|
|
75
|
+
g("checkChange", s, r);
|
|
76
76
|
return;
|
|
77
77
|
} else
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
S(s, r,
|
|
81
|
-
},
|
|
78
|
+
u > 1 ? (e.model[r].shift(), g("checkChange", s, r)) : u < 1 && g("checkChange", s, r);
|
|
79
|
+
}, Q = (s, r, u) => {
|
|
80
|
+
S(s, r, u);
|
|
81
|
+
}, J = (s, r) => {
|
|
82
82
|
s && (r == null ? void 0 : r.key) === "Enter" && S(void 0, !0, "submit");
|
|
83
|
-
},
|
|
84
|
-
var
|
|
85
|
-
const x = /* @__PURE__ */ new Date(),
|
|
86
|
-
s === Ol &&
|
|
83
|
+
}, G = (s, r, u) => {
|
|
84
|
+
var rl, Ml;
|
|
85
|
+
const x = /* @__PURE__ */ new Date(), H = x.getDate().toString().padStart(2, "0"), $ = (x.getMonth() + 1).toString().padStart(2, "0"), jl = x.getFullYear().toString(), Ol = `${H}/${$}/${jl}`;
|
|
86
|
+
s === Ol && u ? ((rl = C.value) == null || rl.validateField(r), e.model[r] = u.format("DD/MM/YYYY"), g("dateChange", u.format("DD/MM/YYYY"), r)) : ((Ml = C.value) == null || Ml.validateField(r), g("dateChange", s, r));
|
|
87
87
|
}, l = (s, r) => {
|
|
88
|
-
|
|
88
|
+
g("calendarChange", s, r);
|
|
89
89
|
}, Z = (s, r) => {
|
|
90
|
-
|
|
90
|
+
g("onOk", s, r);
|
|
91
91
|
}, o = (s, r) => {
|
|
92
|
-
|
|
92
|
+
g("inputBlur", s, r);
|
|
93
93
|
}, d = (s, r) => {
|
|
94
|
-
|
|
94
|
+
g("inputFocus", s, r);
|
|
95
95
|
}, O = (s, r) => {
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
},
|
|
96
|
+
g("inputChange", s, r);
|
|
97
|
+
}, P = (s, r) => {
|
|
98
|
+
g("inputInput", s, r);
|
|
99
|
+
}, pl = (s) => {
|
|
100
100
|
if (s) {
|
|
101
|
-
var r = document.getElementById(s),
|
|
102
|
-
x >
|
|
101
|
+
var r = document.getElementById(s), u = r.offsetWidth, x = r.scrollWidth;
|
|
102
|
+
x > u ? _.value = !1 : _.value = !0;
|
|
103
103
|
} else
|
|
104
104
|
_.value = !0;
|
|
105
|
-
},
|
|
106
|
-
const
|
|
107
|
-
return
|
|
108
|
-
},
|
|
105
|
+
}, fl = (s, r) => {
|
|
106
|
+
const u = r.find((x) => x.code === s);
|
|
107
|
+
return u ? u.name : s;
|
|
108
|
+
}, tl = (s) => {
|
|
109
109
|
var r;
|
|
110
110
|
(r = C.value) == null || r.resetFields(s);
|
|
111
|
-
},
|
|
111
|
+
}, Dl = (s) => {
|
|
112
112
|
var r;
|
|
113
113
|
(r = C.value) == null || r.clearValidate(s);
|
|
114
114
|
}, X = Y(!1), al = () => {
|
|
@@ -120,25 +120,26 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
120
120
|
}), zl(() => {
|
|
121
121
|
window.removeEventListener("resize", al);
|
|
122
122
|
}), Cl(
|
|
123
|
-
() =>
|
|
123
|
+
() => p.fieldList,
|
|
124
124
|
(s, r) => {
|
|
125
125
|
s !== r && v();
|
|
126
126
|
}
|
|
127
127
|
);
|
|
128
|
-
const nl = Y(0), m = Y(0), dl = Y(0),
|
|
128
|
+
const nl = Y(0), m = Y(0), dl = Y(0), sl = () => {
|
|
129
129
|
nl.value += 1;
|
|
130
130
|
}, bl = (s, r) => {
|
|
131
|
-
|
|
131
|
+
console.log(s, "current");
|
|
132
|
+
const u = {};
|
|
132
133
|
if (s.date() === r.date() && s.year() === r.year() && s.month() === r.month())
|
|
133
|
-
return
|
|
134
|
-
}, Nl = (s, r) => {
|
|
135
|
-
console.log("getDefaultToady"), e.model[r] =
|
|
134
|
+
return console.log(111111111), u.border = "1px solid #a26628", u.borderRadius = "4px", u;
|
|
135
|
+
}, Nl = (s, r, u) => {
|
|
136
|
+
console.log("getDefaultToady"), e.model[r] = u.format("DD/MM/YYYY"), sl(), G(s, r, u), g("getDefaultToady", u, r);
|
|
136
137
|
}, Tl = (s, r) => {
|
|
137
|
-
s || (m.value += 1),
|
|
138
|
+
s || (m.value += 1), g("openChange", s);
|
|
138
139
|
}, Il = (s, r) => {
|
|
139
|
-
s || (m.value += 1),
|
|
140
|
+
s || (m.value += 1), g("openDatePickerDaterange", s);
|
|
140
141
|
}, hl = (s) => {
|
|
141
|
-
s || (dl.value += 1),
|
|
142
|
+
s || (dl.value += 1), g("openDatetimerange", s);
|
|
142
143
|
};
|
|
143
144
|
return {
|
|
144
145
|
...xl(e),
|
|
@@ -150,49 +151,49 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
150
151
|
selectChange: R,
|
|
151
152
|
radioChange: B,
|
|
152
153
|
checkChange: L,
|
|
153
|
-
handleCheckedChange:
|
|
154
|
-
prefixIcon:
|
|
154
|
+
handleCheckedChange: q,
|
|
155
|
+
prefixIcon: N,
|
|
155
156
|
IconDropDown: j,
|
|
156
157
|
IconClear: F,
|
|
157
|
-
handleClick:
|
|
158
|
-
handleKeyUp:
|
|
159
|
-
resetFieldsTest:
|
|
160
|
-
clearValidateTest:
|
|
161
|
-
dateChange:
|
|
158
|
+
handleClick: Q,
|
|
159
|
+
handleKeyUp: J,
|
|
160
|
+
resetFieldsTest: tl,
|
|
161
|
+
clearValidateTest: Dl,
|
|
162
|
+
dateChange: G,
|
|
162
163
|
calendarChange: l,
|
|
163
164
|
onOk: Z,
|
|
164
165
|
inputBlur: o,
|
|
165
166
|
inputFocus: d,
|
|
166
167
|
inputChange: O,
|
|
167
|
-
inputInput:
|
|
168
|
+
inputInput: P,
|
|
168
169
|
noFormRule: z,
|
|
169
170
|
phoneWrap: X,
|
|
170
171
|
pickerKey: nl,
|
|
171
172
|
pickerKeyDaterange: m,
|
|
172
173
|
datetimerange: dl,
|
|
173
|
-
openDatePicker:
|
|
174
|
+
openDatePicker: sl,
|
|
174
175
|
openDatePickerDaterange: Il,
|
|
175
176
|
openDatetimerange: hl,
|
|
176
177
|
// spaceRule,
|
|
177
178
|
handleVisibleChange: U,
|
|
178
179
|
handleScroll: E,
|
|
179
|
-
visibilityChange:
|
|
180
|
-
contentName:
|
|
180
|
+
visibilityChange: pl,
|
|
181
|
+
contentName: fl,
|
|
181
182
|
openChange: Tl,
|
|
182
183
|
getCurrentStyle: bl,
|
|
183
184
|
getDefaultToady: Nl
|
|
184
185
|
};
|
|
185
186
|
}
|
|
186
|
-
},
|
|
187
|
-
const Bl = (
|
|
188
|
-
const z =
|
|
189
|
-
for (const [e, _] of
|
|
187
|
+
}, il = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTguMDYwNyAxNi4wN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MjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
188
|
+
const Bl = (p, g) => {
|
|
189
|
+
const z = p.__vccOpts || p;
|
|
190
|
+
for (const [e, _] of g)
|
|
190
191
|
z[e] = _;
|
|
191
192
|
return z;
|
|
192
|
-
}, w = (
|
|
193
|
+
}, w = (p) => (vl("data-v-1c484f0b"), p = p(), Rl(), p), Zl = { class: "header-title" }, Pl = { class: "title-content" }, Ql = {
|
|
193
194
|
key: 0,
|
|
194
195
|
class: "custom-required"
|
|
195
|
-
},
|
|
196
|
+
}, Gl = {
|
|
196
197
|
key: 0,
|
|
197
198
|
class: "custom-required"
|
|
198
199
|
}, Hl = ["src"], Kl = {
|
|
@@ -216,36 +217,36 @@ const Bl = (g, c) => {
|
|
|
216
217
|
}, ne = {
|
|
217
218
|
key: 0,
|
|
218
219
|
class: "custom-required"
|
|
219
|
-
}, de = ["onClick"], se = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
220
|
-
src: Ml,
|
|
221
|
-
alt: ""
|
|
222
|
-
}, null, -1)), re = /* @__PURE__ */ w(() => /* @__PURE__ */ D("img", {
|
|
220
|
+
}, de = ["onClick"], se = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
223
221
|
src: il,
|
|
224
222
|
alt: ""
|
|
225
|
-
}, null, -1)),
|
|
223
|
+
}, null, -1)), re = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
226
224
|
src: yl,
|
|
227
225
|
alt: ""
|
|
228
|
-
}, null, -1)),
|
|
226
|
+
}, null, -1)), Me = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
229
227
|
src: cl,
|
|
230
228
|
alt: ""
|
|
229
|
+
}, null, -1)), ie = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
230
|
+
src: ul,
|
|
231
|
+
alt: ""
|
|
231
232
|
}, null, -1)), ye = {
|
|
232
233
|
key: 0,
|
|
233
234
|
class: "date_to"
|
|
234
235
|
}, ce = {
|
|
235
236
|
key: 0,
|
|
236
237
|
class: "custom-required"
|
|
237
|
-
}, ue = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
238
|
-
src: Ml,
|
|
239
|
-
alt: ""
|
|
240
|
-
}, null, -1)), ge = /* @__PURE__ */ w(() => /* @__PURE__ */ D("img", {
|
|
238
|
+
}, ue = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
241
239
|
src: il,
|
|
242
240
|
alt: ""
|
|
243
|
-
}, null, -1)),
|
|
241
|
+
}, null, -1)), ge = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
244
242
|
src: yl,
|
|
245
243
|
alt: ""
|
|
246
|
-
}, null, -1)),
|
|
244
|
+
}, null, -1)), pe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
247
245
|
src: cl,
|
|
248
246
|
alt: ""
|
|
247
|
+
}, null, -1)), fe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
248
|
+
src: ul,
|
|
249
|
+
alt: ""
|
|
249
250
|
}, null, -1)), te = {
|
|
250
251
|
key: 0,
|
|
251
252
|
class: "custom-required"
|
|
@@ -258,27 +259,27 @@ const Bl = (g, c) => {
|
|
|
258
259
|
}, Ne = {
|
|
259
260
|
key: 0,
|
|
260
261
|
class: "phone_item_content_before"
|
|
261
|
-
}, Te = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
262
|
+
}, Te = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), Ie = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), he = {
|
|
262
263
|
key: 1,
|
|
263
264
|
class: "line_middle"
|
|
264
265
|
}, je = {
|
|
265
266
|
key: 2,
|
|
266
267
|
class: "line_middle"
|
|
267
|
-
}, Oe = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
268
|
+
}, Oe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", {
|
|
268
269
|
class: "line",
|
|
269
270
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
270
|
-
}, null, -1)),
|
|
271
|
+
}, null, -1)), ke = {
|
|
271
272
|
key: 0,
|
|
272
273
|
class: "custom-required"
|
|
273
|
-
},
|
|
274
|
+
}, Ae = {
|
|
274
275
|
key: 0,
|
|
275
276
|
class: "custom-required"
|
|
276
277
|
};
|
|
277
|
-
function we(
|
|
278
|
-
const
|
|
279
|
-
return a(), i(
|
|
278
|
+
function we(p, g, z, e, _, C) {
|
|
279
|
+
const N = I("el-form-item"), j = 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"), Q = I("a-range-picker"), J = I("sinosoftCommonButton"), G = I("el-form");
|
|
280
|
+
return a(), i(G, El({
|
|
280
281
|
"hide-required-asterisk": "",
|
|
281
|
-
onSubmit:
|
|
282
|
+
onSubmit: g[0] || (g[0] = _l(() => {
|
|
282
283
|
}, ["prevent"])),
|
|
283
284
|
model: z.model
|
|
284
285
|
}, e.formOptions, {
|
|
@@ -287,9 +288,9 @@ function we(g, c, z, e, _, C) {
|
|
|
287
288
|
"scroll-to-error": !0
|
|
288
289
|
}), {
|
|
289
290
|
default: n(() => [
|
|
290
|
-
|
|
291
|
+
f(U, { gutter: 24 }, {
|
|
291
292
|
default: n(() => [
|
|
292
|
-
(a(!0), M(
|
|
293
|
+
(a(!0), M(k, null, A(z.fieldList, (l, Z) => Sl((a(), i(E, {
|
|
293
294
|
xs: l.xs ? l.xs : 24,
|
|
294
295
|
sm: l.sm ? l.sm : 24,
|
|
295
296
|
md: l.md ? l.md : 8,
|
|
@@ -298,35 +299,35 @@ function we(g, c, z, e, _, C) {
|
|
|
298
299
|
key: Z
|
|
299
300
|
}, {
|
|
300
301
|
default: n(() => [
|
|
301
|
-
|
|
302
|
+
b("div", {
|
|
302
303
|
style: t(l.style)
|
|
303
304
|
}, [
|
|
304
|
-
l.type === "title" ? (a(), i(
|
|
305
|
+
l.type === "title" ? (a(), i(N, { key: 0 }, {
|
|
305
306
|
default: n(() => [
|
|
306
|
-
|
|
307
|
-
|
|
307
|
+
b("div", Zl, [
|
|
308
|
+
b("span", Pl, y(l.title), 1)
|
|
308
309
|
])
|
|
309
310
|
]),
|
|
310
311
|
_: 2
|
|
311
|
-
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), i(
|
|
312
|
+
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), i(N, {
|
|
312
313
|
key: 1,
|
|
313
314
|
label: l.label,
|
|
314
315
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
315
316
|
class: "container_name"
|
|
316
317
|
}, {
|
|
317
318
|
label: n(() => [
|
|
318
|
-
l.slotLabelName ? h(
|
|
319
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
319
320
|
key: 0,
|
|
320
321
|
style: t(l.labelStyle)
|
|
321
322
|
}, [
|
|
322
323
|
T(y(l.label) + " ", 1),
|
|
323
|
-
l.required ? (a(), M("span",
|
|
324
|
+
l.required ? (a(), M("span", Ql, "*")) : c("", !0)
|
|
324
325
|
], 4))
|
|
325
326
|
]),
|
|
326
327
|
default: n(() => [
|
|
327
|
-
|
|
328
|
+
f(U, { gutter: 20 }, {
|
|
328
329
|
default: n(() => [
|
|
329
|
-
|
|
330
|
+
f(E, {
|
|
330
331
|
xs: 24,
|
|
331
332
|
sm: 12,
|
|
332
333
|
md: 12,
|
|
@@ -334,19 +335,19 @@ function we(g, c, z, e, _, C) {
|
|
|
334
335
|
xl: 12
|
|
335
336
|
}, {
|
|
336
337
|
default: n(() => [
|
|
337
|
-
l.field.nameEnFamily ? (a(), i(
|
|
338
|
+
l.field.nameEnFamily ? (a(), i(N, {
|
|
338
339
|
key: 0,
|
|
339
340
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
340
341
|
prop: l.field.nameEnFamily,
|
|
341
342
|
class: "item-name item-name-top"
|
|
342
343
|
}, {
|
|
343
344
|
default: n(() => [
|
|
344
|
-
|
|
345
|
+
f(j, {
|
|
345
346
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
346
347
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
347
348
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
348
349
|
onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
|
|
349
|
-
class:
|
|
350
|
+
class: D(
|
|
350
351
|
(l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
351
352
|
),
|
|
352
353
|
maxlength: l.maxlengthNameEnFamily,
|
|
@@ -360,11 +361,11 @@ function we(g, c, z, e, _, C) {
|
|
|
360
361
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
361
362
|
]),
|
|
362
363
|
_: 2
|
|
363
|
-
}, 1032, ["rules", "prop"])) :
|
|
364
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
364
365
|
]),
|
|
365
366
|
_: 2
|
|
366
367
|
}, 1024),
|
|
367
|
-
|
|
368
|
+
f(E, {
|
|
368
369
|
xs: 24,
|
|
369
370
|
sm: 12,
|
|
370
371
|
md: 12,
|
|
@@ -372,14 +373,14 @@ function we(g, c, z, e, _, C) {
|
|
|
372
373
|
xl: 12
|
|
373
374
|
}, {
|
|
374
375
|
default: n(() => [
|
|
375
|
-
l.field.nameEn ? (a(), i(
|
|
376
|
+
l.field.nameEn ? (a(), i(N, {
|
|
376
377
|
key: 0,
|
|
377
378
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
378
379
|
prop: l.field.nameEn,
|
|
379
380
|
class: "item-name item-name-top"
|
|
380
381
|
}, {
|
|
381
382
|
default: n(() => [
|
|
382
|
-
|
|
383
|
+
f(j, {
|
|
383
384
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
384
385
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
385
386
|
onChange: (o) => e.inputChange(o, l.field.nameEn),
|
|
@@ -387,7 +388,7 @@ function we(g, c, z, e, _, C) {
|
|
|
387
388
|
maxlength: l.maxlengthNameEn,
|
|
388
389
|
modelValue: e.states.model[l.field.nameEn],
|
|
389
390
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
390
|
-
class:
|
|
391
|
+
class: D(
|
|
391
392
|
(l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
392
393
|
),
|
|
393
394
|
readonly: l.readonly,
|
|
@@ -398,16 +399,16 @@ function we(g, c, z, e, _, C) {
|
|
|
398
399
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
399
400
|
]),
|
|
400
401
|
_: 2
|
|
401
|
-
}, 1032, ["rules", "prop"])) :
|
|
402
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
402
403
|
]),
|
|
403
404
|
_: 2
|
|
404
405
|
}, 1024)
|
|
405
406
|
]),
|
|
406
407
|
_: 2
|
|
407
408
|
}, 1024),
|
|
408
|
-
|
|
409
|
+
f(U, { gutter: 20 }, {
|
|
409
410
|
default: n(() => [
|
|
410
|
-
|
|
411
|
+
f(E, {
|
|
411
412
|
xs: 24,
|
|
412
413
|
sm: 12,
|
|
413
414
|
md: 12,
|
|
@@ -415,14 +416,14 @@ function we(g, c, z, e, _, C) {
|
|
|
415
416
|
xl: 12
|
|
416
417
|
}, {
|
|
417
418
|
default: n(() => [
|
|
418
|
-
l.field.nameChFamily ? (a(), i(
|
|
419
|
+
l.field.nameChFamily ? (a(), i(N, {
|
|
419
420
|
key: 0,
|
|
420
421
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
421
422
|
prop: l.field.nameChFamily,
|
|
422
423
|
class: "item-name item-name-bottom"
|
|
423
424
|
}, {
|
|
424
425
|
default: n(() => [
|
|
425
|
-
|
|
426
|
+
f(j, {
|
|
426
427
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
427
428
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
428
429
|
onChange: (o) => e.inputChange(o, l.field.nameChFamily),
|
|
@@ -431,7 +432,7 @@ function we(g, c, z, e, _, C) {
|
|
|
431
432
|
"nameChFamily" in l.field ? l.field.nameCh : ""
|
|
432
433
|
),
|
|
433
434
|
maxlength: l.maxlengthNameChFamily,
|
|
434
|
-
class:
|
|
435
|
+
class: D(
|
|
435
436
|
(l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
436
437
|
),
|
|
437
438
|
modelValue: e.states.model[l.field.nameChFamily],
|
|
@@ -444,11 +445,11 @@ function we(g, c, z, e, _, C) {
|
|
|
444
445
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
445
446
|
]),
|
|
446
447
|
_: 2
|
|
447
|
-
}, 1032, ["rules", "prop"])) :
|
|
448
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
448
449
|
]),
|
|
449
450
|
_: 2
|
|
450
451
|
}, 1024),
|
|
451
|
-
|
|
452
|
+
f(E, {
|
|
452
453
|
xs: 24,
|
|
453
454
|
sm: 12,
|
|
454
455
|
md: 12,
|
|
@@ -456,19 +457,19 @@ function we(g, c, z, e, _, C) {
|
|
|
456
457
|
xl: 12
|
|
457
458
|
}, {
|
|
458
459
|
default: n(() => [
|
|
459
|
-
l.field.nameCh ? (a(), i(
|
|
460
|
+
l.field.nameCh ? (a(), i(N, {
|
|
460
461
|
key: 0,
|
|
461
462
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
462
463
|
prop: l.field.nameCh,
|
|
463
464
|
class: "item-name item-name-bottom"
|
|
464
465
|
}, {
|
|
465
466
|
default: n(() => [
|
|
466
|
-
|
|
467
|
+
f(j, {
|
|
467
468
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
468
469
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
469
470
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
470
471
|
onInput: (o) => e.inputInput(o, l.field.nameCh),
|
|
471
|
-
class:
|
|
472
|
+
class: D(
|
|
472
473
|
(l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
473
474
|
),
|
|
474
475
|
maxlength: l.maxlengthNameCh,
|
|
@@ -482,7 +483,7 @@ function we(g, c, z, e, _, C) {
|
|
|
482
483
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
483
484
|
]),
|
|
484
485
|
_: 2
|
|
485
|
-
}, 1032, ["rules", "prop"])) :
|
|
486
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
486
487
|
]),
|
|
487
488
|
_: 2
|
|
488
489
|
}, 1024)
|
|
@@ -491,7 +492,7 @@ function we(g, c, z, e, _, C) {
|
|
|
491
492
|
}, 1024)
|
|
492
493
|
]),
|
|
493
494
|
_: 2
|
|
494
|
-
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), i(
|
|
495
|
+
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), i(N, {
|
|
495
496
|
key: 2,
|
|
496
497
|
label: l.label,
|
|
497
498
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -499,16 +500,16 @@ function we(g, c, z, e, _, C) {
|
|
|
499
500
|
class: "radio_row"
|
|
500
501
|
}, {
|
|
501
502
|
label: n(() => [
|
|
502
|
-
l.slotLabelName ? h(
|
|
503
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
503
504
|
key: 0,
|
|
504
505
|
style: t(l.labelStyle)
|
|
505
506
|
}, [
|
|
506
507
|
T(y(l.label) + " ", 1),
|
|
507
|
-
l.required ? (a(), M("span",
|
|
508
|
+
l.required ? (a(), M("span", Gl, "*")) : c("", !0)
|
|
508
509
|
], 4))
|
|
509
510
|
]),
|
|
510
511
|
default: n(() => [
|
|
511
|
-
|
|
512
|
+
f(W, {
|
|
512
513
|
modelValue: e.states.model[l.field],
|
|
513
514
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
514
515
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -517,13 +518,13 @@ function we(g, c, z, e, _, C) {
|
|
|
517
518
|
default: n(() => {
|
|
518
519
|
var o;
|
|
519
520
|
return [
|
|
520
|
-
(a(!0), M(
|
|
521
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
521
522
|
label: d.code,
|
|
522
523
|
size: "large",
|
|
523
524
|
key: d.code
|
|
524
525
|
}, {
|
|
525
526
|
default: n(() => [
|
|
526
|
-
|
|
527
|
+
b("img", {
|
|
527
528
|
src: d.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
528
529
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
529
530
|
alt: ""
|
|
@@ -537,24 +538,24 @@ function we(g, c, z, e, _, C) {
|
|
|
537
538
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
538
539
|
]),
|
|
539
540
|
_: 2
|
|
540
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), i(
|
|
541
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), i(N, {
|
|
541
542
|
key: 3,
|
|
542
543
|
label: l.label,
|
|
543
544
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
544
545
|
prop: l.field,
|
|
545
|
-
class:
|
|
546
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
546
547
|
}, {
|
|
547
548
|
label: n(() => [
|
|
548
|
-
l.slotLabelName ? h(
|
|
549
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
549
550
|
key: 0,
|
|
550
551
|
style: t(l.labelStyle)
|
|
551
552
|
}, [
|
|
552
553
|
T(y(l.label) + " ", 1),
|
|
553
|
-
l.required ? (a(), M("span", Kl, "*")) :
|
|
554
|
+
l.required ? (a(), M("span", Kl, "*")) : c("", !0)
|
|
554
555
|
], 4))
|
|
555
556
|
]),
|
|
556
557
|
default: n(() => [
|
|
557
|
-
|
|
558
|
+
f(W, {
|
|
558
559
|
modelValue: e.states.model[l.field],
|
|
559
560
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
560
561
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -562,12 +563,12 @@ function we(g, c, z, e, _, C) {
|
|
|
562
563
|
style: t(
|
|
563
564
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
564
565
|
),
|
|
565
|
-
class:
|
|
566
|
+
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
566
567
|
}, {
|
|
567
568
|
default: n(() => {
|
|
568
569
|
var o;
|
|
569
570
|
return [
|
|
570
|
-
(a(!0), M(
|
|
571
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
571
572
|
size: "large",
|
|
572
573
|
label: d.code,
|
|
573
574
|
key: d.code,
|
|
@@ -584,20 +585,20 @@ function we(g, c, z, e, _, C) {
|
|
|
584
585
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
585
586
|
]),
|
|
586
587
|
_: 2
|
|
587
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), i(
|
|
588
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), i(N, {
|
|
588
589
|
key: 4,
|
|
589
590
|
label: l.label,
|
|
590
591
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
591
592
|
prop: l.field,
|
|
592
|
-
class:
|
|
593
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
593
594
|
}, {
|
|
594
595
|
default: n(() => [
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
l.required ? (a(), M("span", Xl, "*")) :
|
|
596
|
+
b("div", null, [
|
|
597
|
+
b("span", ql, y(l.labelBefore), 1),
|
|
598
|
+
b("span", Jl, y(l.labelNode), 1),
|
|
599
|
+
l.required ? (a(), M("span", Xl, "*")) : c("", !0)
|
|
599
600
|
]),
|
|
600
|
-
|
|
601
|
+
f(W, {
|
|
601
602
|
modelValue: e.states.model[l.field],
|
|
602
603
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
603
604
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -605,12 +606,12 @@ function we(g, c, z, e, _, C) {
|
|
|
605
606
|
style: t(
|
|
606
607
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
607
608
|
),
|
|
608
|
-
class:
|
|
609
|
+
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
609
610
|
}, {
|
|
610
611
|
default: n(() => {
|
|
611
612
|
var o;
|
|
612
613
|
return [
|
|
613
|
-
(a(!0), M(
|
|
614
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
614
615
|
size: "large",
|
|
615
616
|
label: d.code,
|
|
616
617
|
key: d.code
|
|
@@ -626,23 +627,23 @@ function we(g, c, z, e, _, C) {
|
|
|
626
627
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
627
628
|
]),
|
|
628
629
|
_: 2
|
|
629
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), i(
|
|
630
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), i(N, {
|
|
630
631
|
key: 5,
|
|
631
632
|
label: l.label,
|
|
632
633
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
633
634
|
prop: l.field
|
|
634
635
|
}, {
|
|
635
636
|
label: n(() => [
|
|
636
|
-
l.slotLabelName ? h(
|
|
637
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
637
638
|
key: 0,
|
|
638
639
|
style: t(l.labelStyle)
|
|
639
640
|
}, [
|
|
640
641
|
T(y(l.label) + " ", 1),
|
|
641
|
-
l.required ? (a(), M("span", ml, "*")) :
|
|
642
|
+
l.required ? (a(), M("span", ml, "*")) : c("", !0)
|
|
642
643
|
], 4))
|
|
643
644
|
]),
|
|
644
645
|
default: n(() => [
|
|
645
|
-
|
|
646
|
+
f(S, {
|
|
646
647
|
modelValue: e.states.model[l.field],
|
|
647
648
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
648
649
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -654,7 +655,7 @@ function we(g, c, z, e, _, C) {
|
|
|
654
655
|
default: n(() => {
|
|
655
656
|
var o;
|
|
656
657
|
return [
|
|
657
|
-
(a(!0), M(
|
|
658
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
658
659
|
key: d.code,
|
|
659
660
|
label: d.code,
|
|
660
661
|
disabled: d.isDisabled
|
|
@@ -670,23 +671,23 @@ function we(g, c, z, e, _, C) {
|
|
|
670
671
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
671
672
|
]),
|
|
672
673
|
_: 2
|
|
673
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), i(
|
|
674
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), i(N, {
|
|
674
675
|
key: 6,
|
|
675
676
|
label: l.label,
|
|
676
677
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
677
678
|
prop: l.field
|
|
678
679
|
}, {
|
|
679
680
|
label: n(() => [
|
|
680
|
-
l.slotLabelName ? h(
|
|
681
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
681
682
|
key: 0,
|
|
682
683
|
style: t(l.labelStyle)
|
|
683
684
|
}, [
|
|
684
685
|
T(y(l.label) + " ", 1),
|
|
685
|
-
l.required ? (a(), M("span", $l, "*")) :
|
|
686
|
+
l.required ? (a(), M("span", $l, "*")) : c("", !0)
|
|
686
687
|
], 4))
|
|
687
688
|
]),
|
|
688
689
|
default: n(() => [
|
|
689
|
-
|
|
690
|
+
f(S, {
|
|
690
691
|
modelValue: e.states.model[l.field],
|
|
691
692
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
692
693
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
@@ -698,7 +699,7 @@ function we(g, c, z, e, _, C) {
|
|
|
698
699
|
default: n(() => {
|
|
699
700
|
var o;
|
|
700
701
|
return [
|
|
701
|
-
(a(!0), M(
|
|
702
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
702
703
|
key: d.code,
|
|
703
704
|
label: d.code,
|
|
704
705
|
disabled: d.isDisabled
|
|
@@ -714,20 +715,20 @@ function we(g, c, z, e, _, C) {
|
|
|
714
715
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
715
716
|
]),
|
|
716
717
|
_: 2
|
|
717
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (a(), i(
|
|
718
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (a(), i(N, {
|
|
718
719
|
key: 7,
|
|
719
720
|
label: l.label,
|
|
720
721
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
721
722
|
prop: l.field,
|
|
722
|
-
class:
|
|
723
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
723
724
|
}, {
|
|
724
725
|
default: n(() => [
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
l.required ? (a(), M("span", oe, "*")) :
|
|
726
|
+
b("div", null, [
|
|
727
|
+
b("span", le, y(l.labelBefore), 1),
|
|
728
|
+
b("span", ee, y(l.labelNode), 1),
|
|
729
|
+
l.required ? (a(), M("span", oe, "*")) : c("", !0)
|
|
729
730
|
]),
|
|
730
|
-
|
|
731
|
+
f(S, {
|
|
731
732
|
modelValue: e.states.model[l.field],
|
|
732
733
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
733
734
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -739,7 +740,7 @@ function we(g, c, z, e, _, C) {
|
|
|
739
740
|
default: n(() => {
|
|
740
741
|
var o;
|
|
741
742
|
return [
|
|
742
|
-
(a(!0), M(
|
|
743
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
743
744
|
key: d.code,
|
|
744
745
|
label: d.code,
|
|
745
746
|
disabled: d.isDisabled
|
|
@@ -755,7 +756,7 @@ function we(g, c, z, e, _, C) {
|
|
|
755
756
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
756
757
|
]),
|
|
757
758
|
_: 2
|
|
758
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (a(), i(
|
|
759
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (a(), i(N, {
|
|
759
760
|
key: 8,
|
|
760
761
|
label: l.label,
|
|
761
762
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -763,18 +764,18 @@ function we(g, c, z, e, _, C) {
|
|
|
763
764
|
prop: l.field
|
|
764
765
|
}, {
|
|
765
766
|
label: n(() => [
|
|
766
|
-
l.slotLabelName ? h(
|
|
767
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
767
768
|
key: 0,
|
|
768
769
|
style: t(l.labelStyle)
|
|
769
770
|
}, [
|
|
770
771
|
T(y(l.label) + " ", 1),
|
|
771
|
-
l.required ? (a(), M("span", ae, "*")) :
|
|
772
|
+
l.required ? (a(), M("span", ae, "*")) : c("", !0)
|
|
772
773
|
], 4))
|
|
773
774
|
]),
|
|
774
775
|
default: n(() => {
|
|
775
776
|
var o;
|
|
776
777
|
return [
|
|
777
|
-
|
|
778
|
+
f(L, {
|
|
778
779
|
"popper-class": "select-tooltip",
|
|
779
780
|
effect: "light",
|
|
780
781
|
content: e.contentName(e.states.model[l.field], (o = l.options) == null ? void 0 : o.data),
|
|
@@ -782,8 +783,8 @@ function we(g, c, z, e, _, C) {
|
|
|
782
783
|
disabled: e.isShowTooltip
|
|
783
784
|
}, {
|
|
784
785
|
default: n(() => [
|
|
785
|
-
|
|
786
|
-
class:
|
|
786
|
+
f(B, {
|
|
787
|
+
class: D(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
787
788
|
id: l.field,
|
|
788
789
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
789
790
|
"popper-class": l.selectPaging === !0 ? "single-select-loadmore" : "selectTriangles",
|
|
@@ -808,7 +809,7 @@ function we(g, c, z, e, _, C) {
|
|
|
808
809
|
default: n(() => {
|
|
809
810
|
var d;
|
|
810
811
|
return [
|
|
811
|
-
(a(!0), M(
|
|
812
|
+
(a(!0), M(k, null, A((d = l.options) == null ? void 0 : d.data, (O) => (a(), i(R, {
|
|
812
813
|
key: O.code,
|
|
813
814
|
label: O.name,
|
|
814
815
|
value: O.code
|
|
@@ -818,7 +819,7 @@ function we(g, c, z, e, _, C) {
|
|
|
818
819
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
819
820
|
class: "select-loading",
|
|
820
821
|
disabled: ""
|
|
821
|
-
}, null, 8, ["label"])) :
|
|
822
|
+
}, null, 8, ["label"])) : c("", !0)
|
|
822
823
|
];
|
|
823
824
|
}),
|
|
824
825
|
_: 2
|
|
@@ -826,14 +827,14 @@ function we(g, c, z, e, _, C) {
|
|
|
826
827
|
]),
|
|
827
828
|
_: 2
|
|
828
829
|
}, 1032, ["content", "disabled"]),
|
|
829
|
-
|
|
830
|
+
b("div", {
|
|
830
831
|
class: "item_tips_blow",
|
|
831
832
|
style: t(l.tipsBlowStyle)
|
|
832
833
|
}, y(l.tipsBlow), 5)
|
|
833
834
|
];
|
|
834
835
|
}),
|
|
835
836
|
_: 2
|
|
836
|
-
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), i(
|
|
837
|
+
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), i(N, {
|
|
837
838
|
key: 9,
|
|
838
839
|
label: l.label,
|
|
839
840
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -841,16 +842,16 @@ function we(g, c, z, e, _, C) {
|
|
|
841
842
|
class: "date_item"
|
|
842
843
|
}, {
|
|
843
844
|
label: n(() => [
|
|
844
|
-
l.slotLabelName ? h(
|
|
845
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
845
846
|
key: 0,
|
|
846
847
|
style: t(l.labelStyle)
|
|
847
848
|
}, [
|
|
848
849
|
T(y(l.label) + " ", 1),
|
|
849
|
-
l.required ? (a(), M("span", ne, "*")) :
|
|
850
|
+
l.required ? (a(), M("span", ne, "*")) : c("", !0)
|
|
850
851
|
], 4))
|
|
851
852
|
]),
|
|
852
853
|
default: n(() => [
|
|
853
|
-
(a(), i(
|
|
854
|
+
(a(), i(q, {
|
|
854
855
|
size: "large",
|
|
855
856
|
allowClear: !!l.allowClear,
|
|
856
857
|
format: "DD/MM/YYYY",
|
|
@@ -868,7 +869,7 @@ function we(g, c, z, e, _, C) {
|
|
|
868
869
|
picker: l.picker,
|
|
869
870
|
placeholder: l.placeholder || l.label,
|
|
870
871
|
key: e.pickerKey,
|
|
871
|
-
class:
|
|
872
|
+
class: D(
|
|
872
873
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
873
874
|
),
|
|
874
875
|
presets: l == null ? void 0 : l.presets,
|
|
@@ -887,7 +888,7 @@ function we(g, c, z, e, _, C) {
|
|
|
887
888
|
),
|
|
888
889
|
onBlur: e.openDatePicker,
|
|
889
890
|
onOpenChange: (o) => e.openChange(o, l == null ? void 0 : l.defaultToady)
|
|
890
|
-
},
|
|
891
|
+
}, K({
|
|
891
892
|
superPrevIcon: n(() => [
|
|
892
893
|
se
|
|
893
894
|
]),
|
|
@@ -905,7 +906,7 @@ function we(g, c, z, e, _, C) {
|
|
|
905
906
|
l != null && l.defaultToady ? {
|
|
906
907
|
name: "dateRender",
|
|
907
908
|
fn: n(({ current: o }) => [
|
|
908
|
-
|
|
909
|
+
b("div", {
|
|
909
910
|
class: "ant-picker-cell-inner",
|
|
910
911
|
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
911
912
|
}, y(o.date()), 5)
|
|
@@ -915,37 +916,47 @@ function we(g, c, z, e, _, C) {
|
|
|
915
916
|
!(l != null && l.ToadyStatus) || l != null && l.ToadyStatus ? {
|
|
916
917
|
name: "renderExtraFooter",
|
|
917
918
|
fn: n(() => [
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
}, "Toady",
|
|
919
|
+
l != null && l.disabledDateToday ? (a(), M("span", {
|
|
920
|
+
key: 0,
|
|
921
|
+
class: D([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"])
|
|
922
|
+
}, "Toady", 2)) : c("", !0),
|
|
923
|
+
l != null && l.disabledDateToday ? c("", !0) : (a(), M("span", {
|
|
924
|
+
key: 1,
|
|
925
|
+
class: D([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
926
|
+
onClick: (o) => e.getDefaultToady(
|
|
927
|
+
o,
|
|
928
|
+
typeof l.field == "string" ? l.field : "",
|
|
929
|
+
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date(),
|
|
930
|
+
l.field
|
|
931
|
+
)
|
|
932
|
+
}, "Toady", 10, de))
|
|
922
933
|
]),
|
|
923
934
|
key: "1"
|
|
924
935
|
} : void 0
|
|
925
936
|
]), 1032, ["allowClear", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onCalendarChange", "onOk", "onBlur", "onOpenChange"])),
|
|
926
|
-
l.showTo ? (a(), M("span", ye, y(l.showTo), 1)) :
|
|
937
|
+
l.showTo ? (a(), M("span", ye, y(l.showTo), 1)) : c("", !0)
|
|
927
938
|
]),
|
|
928
939
|
_: 2
|
|
929
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(
|
|
940
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(N, {
|
|
930
941
|
key: 10,
|
|
931
942
|
label: l.label,
|
|
932
943
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
933
944
|
prop: l.field
|
|
934
945
|
}, {
|
|
935
946
|
label: n(() => [
|
|
936
|
-
l.slotLabelName ? h(
|
|
947
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
937
948
|
key: 0,
|
|
938
949
|
style: t(l.labelStyle)
|
|
939
950
|
}, [
|
|
940
951
|
T(y(l.label) + " ", 1),
|
|
941
|
-
l.required ? (a(), M("span", ce, "*")) :
|
|
952
|
+
l.required ? (a(), M("span", ce, "*")) : c("", !0)
|
|
942
953
|
], 4))
|
|
943
954
|
]),
|
|
944
955
|
default: n(() => [
|
|
945
|
-
(a(), i(
|
|
956
|
+
(a(), i(Q, {
|
|
946
957
|
"popper-class": "selectTriangles",
|
|
947
958
|
allowClear: !!l.allowClear,
|
|
948
|
-
defaultPickerValue: l == null ? void 0 : l.
|
|
959
|
+
defaultPickerValue: l == null ? void 0 : l.defaultPickerValue,
|
|
949
960
|
format: l.format || "DD/MM/YYYY",
|
|
950
961
|
valueFormat: (l == null ? void 0 : l.valueFormat) || "DD/MM/YYYY",
|
|
951
962
|
"disabled-date": l.disabledDate,
|
|
@@ -959,14 +970,14 @@ function we(g, c, z, e, _, C) {
|
|
|
959
970
|
separator: l.separator || "To",
|
|
960
971
|
placeholder: l.placeholder,
|
|
961
972
|
size: "large",
|
|
962
|
-
class:
|
|
973
|
+
class: D(
|
|
963
974
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
964
975
|
),
|
|
965
976
|
key: e.pickerKeyDaterange,
|
|
966
977
|
onChange: (o) => e.dateChange(
|
|
967
978
|
o,
|
|
968
979
|
typeof l.field == "string" ? l.field : "",
|
|
969
|
-
l == null ? void 0 : l.
|
|
980
|
+
l == null ? void 0 : l.defaultPickerValue
|
|
970
981
|
),
|
|
971
982
|
onCalendarChange: (o) => e.calendarChange(
|
|
972
983
|
o,
|
|
@@ -976,8 +987,8 @@ function we(g, c, z, e, _, C) {
|
|
|
976
987
|
o,
|
|
977
988
|
typeof l.field == "string" ? l.field : ""
|
|
978
989
|
),
|
|
979
|
-
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.
|
|
980
|
-
},
|
|
990
|
+
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultPickerValue)
|
|
991
|
+
}, K({
|
|
981
992
|
superPrevIcon: n(() => [
|
|
982
993
|
ue
|
|
983
994
|
]),
|
|
@@ -992,12 +1003,12 @@ function we(g, c, z, e, _, C) {
|
|
|
992
1003
|
]),
|
|
993
1004
|
_: 2
|
|
994
1005
|
}, [
|
|
995
|
-
l != null && l.
|
|
1006
|
+
l != null && l.defaultPickerValue ? {
|
|
996
1007
|
name: "dateRender",
|
|
997
1008
|
fn: n(({ current: o }) => [
|
|
998
|
-
|
|
1009
|
+
b("div", {
|
|
999
1010
|
class: "ant-picker-cell-inner",
|
|
1000
|
-
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.
|
|
1011
|
+
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.defaultPickerValue))
|
|
1001
1012
|
}, y(o.date()), 5)
|
|
1002
1013
|
]),
|
|
1003
1014
|
key: "0"
|
|
@@ -1005,23 +1016,23 @@ function we(g, c, z, e, _, C) {
|
|
|
1005
1016
|
]), 1032, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1006
1017
|
]),
|
|
1007
1018
|
_: 2
|
|
1008
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(), i(
|
|
1019
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(), i(N, {
|
|
1009
1020
|
key: 11,
|
|
1010
1021
|
label: l.label,
|
|
1011
1022
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1012
1023
|
prop: l.field
|
|
1013
1024
|
}, {
|
|
1014
1025
|
label: n(() => [
|
|
1015
|
-
l.slotLabelName ? h(
|
|
1026
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1016
1027
|
key: 0,
|
|
1017
1028
|
style: t(l.labelStyle)
|
|
1018
1029
|
}, [
|
|
1019
1030
|
T(y(l.label) + " ", 1),
|
|
1020
|
-
l.required ? (a(), M("span", te, "*")) :
|
|
1031
|
+
l.required ? (a(), M("span", te, "*")) : c("", !0)
|
|
1021
1032
|
], 4))
|
|
1022
1033
|
]),
|
|
1023
1034
|
default: n(() => [
|
|
1024
|
-
(a(), i(
|
|
1035
|
+
(a(), i(Q, {
|
|
1025
1036
|
"popper-class": "selectTriangles",
|
|
1026
1037
|
allowClear: !!l.allowClear,
|
|
1027
1038
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1038,7 +1049,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1038
1049
|
separator: l.separator || "To",
|
|
1039
1050
|
placeholder: l.placeholder,
|
|
1040
1051
|
size: "large",
|
|
1041
|
-
class:
|
|
1052
|
+
class: D(
|
|
1042
1053
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1043
1054
|
),
|
|
1044
1055
|
key: e.datetimerange,
|
|
@@ -1058,7 +1069,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1058
1069
|
}, null, 8, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1059
1070
|
]),
|
|
1060
1071
|
_: 2
|
|
1061
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), i(
|
|
1072
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), i(N, {
|
|
1062
1073
|
key: 12,
|
|
1063
1074
|
label: l.label,
|
|
1064
1075
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -1066,19 +1077,19 @@ function we(g, c, z, e, _, C) {
|
|
|
1066
1077
|
class: "rule_err"
|
|
1067
1078
|
}, {
|
|
1068
1079
|
label: n(() => [
|
|
1069
|
-
l.slotLabelName ? h(
|
|
1080
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1070
1081
|
key: 0,
|
|
1071
1082
|
style: t(l.labelStyle)
|
|
1072
1083
|
}, [
|
|
1073
1084
|
T(y(l.label) + " ", 1),
|
|
1074
|
-
l.required ? (a(), M("span", De, "*")) :
|
|
1085
|
+
l.required ? (a(), M("span", De, "*")) : c("", !0)
|
|
1075
1086
|
], 4))
|
|
1076
1087
|
]),
|
|
1077
1088
|
default: n(() => [
|
|
1078
|
-
h(
|
|
1089
|
+
h(p.$slots, l.slotItemName, {}, void 0, !0)
|
|
1079
1090
|
]),
|
|
1080
1091
|
_: 2
|
|
1081
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (a(), i(
|
|
1092
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (a(), i(N, {
|
|
1082
1093
|
key: 13,
|
|
1083
1094
|
label: l.label,
|
|
1084
1095
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
@@ -1086,20 +1097,20 @@ function we(g, c, z, e, _, C) {
|
|
|
1086
1097
|
class: "phone_item"
|
|
1087
1098
|
}, {
|
|
1088
1099
|
label: n(() => [
|
|
1089
|
-
l.slotLabelName ? h(
|
|
1100
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1090
1101
|
key: 0,
|
|
1091
1102
|
style: t(l.labelStyle)
|
|
1092
1103
|
}, [
|
|
1093
1104
|
T(y(l.label) + " ", 1),
|
|
1094
|
-
l.required ? (a(), M("span", be, "*")) :
|
|
1105
|
+
l.required ? (a(), M("span", be, "*")) : c("", !0)
|
|
1095
1106
|
], 4))
|
|
1096
1107
|
]),
|
|
1097
1108
|
default: n(() => [
|
|
1098
|
-
|
|
1099
|
-
class:
|
|
1109
|
+
b("div", {
|
|
1110
|
+
class: D(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1100
1111
|
}, [
|
|
1101
1112
|
e.phoneWrap ? (a(), M("div", Ne, [
|
|
1102
|
-
|
|
1113
|
+
f(L, {
|
|
1103
1114
|
"popper-class": "input-tooltip",
|
|
1104
1115
|
effect: "light",
|
|
1105
1116
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1111,7 +1122,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1111
1122
|
return [
|
|
1112
1123
|
l.field.nationCode ? (a(), i(B, {
|
|
1113
1124
|
key: 0,
|
|
1114
|
-
class:
|
|
1125
|
+
class: D(["tooltip-select", (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]),
|
|
1115
1126
|
id: l.field.nationCode,
|
|
1116
1127
|
onMouseenter: (d) => e.visibilityChange(l.field.nationCode),
|
|
1117
1128
|
"popper-class": "selectTriangles",
|
|
@@ -1128,21 +1139,21 @@ function we(g, c, z, e, _, C) {
|
|
|
1128
1139
|
default: n(() => {
|
|
1129
1140
|
var d;
|
|
1130
1141
|
return [
|
|
1131
|
-
(a(!0), M(
|
|
1142
|
+
(a(!0), M(k, null, A((d = l.nationOptions) == null ? void 0 : d.data, (O, P) => (a(), i(R, {
|
|
1132
1143
|
label: O.name,
|
|
1133
1144
|
value: O.code,
|
|
1134
|
-
key:
|
|
1145
|
+
key: P
|
|
1135
1146
|
}, null, 8, ["label", "value"]))), 128))
|
|
1136
1147
|
];
|
|
1137
1148
|
}),
|
|
1138
1149
|
_: 2
|
|
1139
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1150
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : c("", !0)
|
|
1140
1151
|
];
|
|
1141
1152
|
}),
|
|
1142
1153
|
_: 2
|
|
1143
1154
|
}, 1032, ["content", "disabled"]),
|
|
1144
1155
|
Te,
|
|
1145
|
-
|
|
1156
|
+
f(L, {
|
|
1146
1157
|
"popper-class": "input-tooltip",
|
|
1147
1158
|
effect: "light",
|
|
1148
1159
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1154,7 +1165,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1154
1165
|
return [
|
|
1155
1166
|
l.field.areaCode ? (a(), i(j, {
|
|
1156
1167
|
key: 0,
|
|
1157
|
-
class:
|
|
1168
|
+
class: D(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1158
1169
|
id: l.field.areaCode,
|
|
1159
1170
|
onMouseenter: (d) => e.visibilityChange(l.field.areaCode),
|
|
1160
1171
|
onBlur: (d) => e.inputBlur(
|
|
@@ -1180,14 +1191,14 @@ function we(g, c, z, e, _, C) {
|
|
|
1180
1191
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1181
1192
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1182
1193
|
clearable: l.clearable
|
|
1183
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) :
|
|
1194
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : c("", !0)
|
|
1184
1195
|
];
|
|
1185
1196
|
}),
|
|
1186
1197
|
_: 2
|
|
1187
1198
|
}, 1032, ["content", "disabled"]),
|
|
1188
1199
|
Ie
|
|
1189
|
-
])) :
|
|
1190
|
-
|
|
1200
|
+
])) : c("", !0),
|
|
1201
|
+
f(L, {
|
|
1191
1202
|
"popper-class": "input-tooltip",
|
|
1192
1203
|
effect: "light",
|
|
1193
1204
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1199,7 +1210,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1199
1210
|
return [
|
|
1200
1211
|
l.field.nationCode && !e.phoneWrap ? (a(), i(B, {
|
|
1201
1212
|
key: 0,
|
|
1202
|
-
class:
|
|
1213
|
+
class: D([
|
|
1203
1214
|
"tooltip-select",
|
|
1204
1215
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1205
1216
|
]),
|
|
@@ -1219,21 +1230,21 @@ function we(g, c, z, e, _, C) {
|
|
|
1219
1230
|
default: n(() => {
|
|
1220
1231
|
var d;
|
|
1221
1232
|
return [
|
|
1222
|
-
(a(!0), M(
|
|
1233
|
+
(a(!0), M(k, null, A((d = l.nationOptions) == null ? void 0 : d.data, (O, P) => (a(), i(R, {
|
|
1223
1234
|
label: O.name,
|
|
1224
1235
|
value: O.code,
|
|
1225
|
-
key:
|
|
1236
|
+
key: P
|
|
1226
1237
|
}, null, 8, ["label", "value"]))), 128))
|
|
1227
1238
|
];
|
|
1228
1239
|
}),
|
|
1229
1240
|
_: 2
|
|
1230
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1241
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : c("", !0)
|
|
1231
1242
|
];
|
|
1232
1243
|
}),
|
|
1233
1244
|
_: 2
|
|
1234
1245
|
}, 1032, ["content", "disabled"]),
|
|
1235
|
-
e.phoneWrap ?
|
|
1236
|
-
|
|
1246
|
+
e.phoneWrap ? c("", !0) : (a(), M("div", he, " - ")),
|
|
1247
|
+
f(L, {
|
|
1237
1248
|
"popper-class": "input-tooltip",
|
|
1238
1249
|
effect: "light",
|
|
1239
1250
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1245,7 +1256,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1245
1256
|
return [
|
|
1246
1257
|
l.field.areaCode && !e.phoneWrap ? (a(), i(j, {
|
|
1247
1258
|
key: 0,
|
|
1248
|
-
class:
|
|
1259
|
+
class: D([
|
|
1249
1260
|
"tooltip-input",
|
|
1250
1261
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1251
1262
|
]),
|
|
@@ -1275,13 +1286,13 @@ function we(g, c, z, e, _, C) {
|
|
|
1275
1286
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1276
1287
|
style: t("width:" + l.widthArea),
|
|
1277
1288
|
clearable: l.clearable
|
|
1278
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1289
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : c("", !0)
|
|
1279
1290
|
];
|
|
1280
1291
|
}),
|
|
1281
1292
|
_: 2
|
|
1282
1293
|
}, 1032, ["content", "disabled"]),
|
|
1283
|
-
e.phoneWrap ?
|
|
1284
|
-
|
|
1294
|
+
e.phoneWrap ? c("", !0) : (a(), M("div", je, " - ")),
|
|
1295
|
+
f(L, {
|
|
1285
1296
|
"popper-class": "input-tooltip",
|
|
1286
1297
|
effect: "light",
|
|
1287
1298
|
content: e.states.model[typeof l.field.phoneNumber == "string" ? l.field.phoneNumber : ""],
|
|
@@ -1291,7 +1302,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1291
1302
|
default: n(() => [
|
|
1292
1303
|
l.field.phoneNumber ? (a(), i(j, {
|
|
1293
1304
|
key: 0,
|
|
1294
|
-
class:
|
|
1305
|
+
class: D([
|
|
1295
1306
|
"tooltip-input",
|
|
1296
1307
|
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1297
1308
|
]),
|
|
@@ -1320,14 +1331,14 @@ function we(g, c, z, e, _, C) {
|
|
|
1320
1331
|
placeholder: l.placeholder || "",
|
|
1321
1332
|
style: t("width:" + l.widthPhoneNumber),
|
|
1322
1333
|
clearable: l.clearable
|
|
1323
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1334
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : c("", !0)
|
|
1324
1335
|
]),
|
|
1325
1336
|
_: 2
|
|
1326
1337
|
}, 1032, ["content", "disabled"])
|
|
1327
1338
|
], 2)
|
|
1328
1339
|
]),
|
|
1329
1340
|
_: 2
|
|
1330
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(
|
|
1341
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(N, {
|
|
1331
1342
|
key: 14,
|
|
1332
1343
|
label: l.label
|
|
1333
1344
|
}, {
|
|
@@ -1335,23 +1346,23 @@ function we(g, c, z, e, _, C) {
|
|
|
1335
1346
|
Oe
|
|
1336
1347
|
]),
|
|
1337
1348
|
_: 2
|
|
1338
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), i(
|
|
1349
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), i(N, {
|
|
1339
1350
|
key: 15,
|
|
1340
1351
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1341
1352
|
prop: l.field,
|
|
1342
|
-
class:
|
|
1353
|
+
class: D(l.prepend ? "input-item" : "")
|
|
1343
1354
|
}, {
|
|
1344
1355
|
label: n(() => [
|
|
1345
|
-
l.slotLabelName ? h(
|
|
1356
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1346
1357
|
key: 0,
|
|
1347
1358
|
style: t(l.labelStyle)
|
|
1348
1359
|
}, [
|
|
1349
1360
|
T(y(l.label) + " ", 1),
|
|
1350
|
-
l.required ? (a(), M("span",
|
|
1361
|
+
l.required ? (a(), M("span", ke, "*")) : c("", !0)
|
|
1351
1362
|
], 4))
|
|
1352
1363
|
]),
|
|
1353
1364
|
default: n(() => [
|
|
1354
|
-
|
|
1365
|
+
f(j, {
|
|
1355
1366
|
onBlur: (o) => e.inputBlur(
|
|
1356
1367
|
o,
|
|
1357
1368
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1380,11 +1391,11 @@ function we(g, c, z, e, _, C) {
|
|
|
1380
1391
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1381
1392
|
showPassword: l.showPassword,
|
|
1382
1393
|
clearable: l.clearable,
|
|
1383
|
-
class:
|
|
1394
|
+
class: D(
|
|
1384
1395
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1385
1396
|
),
|
|
1386
1397
|
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1387
|
-
},
|
|
1398
|
+
}, K({ _: 2 }, [
|
|
1388
1399
|
l.prepend ? {
|
|
1389
1400
|
name: "prepend",
|
|
1390
1401
|
fn: n(() => [
|
|
@@ -1402,23 +1413,23 @@ function we(g, c, z, e, _, C) {
|
|
|
1402
1413
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1403
1414
|
]),
|
|
1404
1415
|
_: 2
|
|
1405
|
-
}, 1032, ["rules", "prop", "class"])) : (a(), i(
|
|
1416
|
+
}, 1032, ["rules", "prop", "class"])) : (a(), i(N, {
|
|
1406
1417
|
key: 16,
|
|
1407
1418
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1408
1419
|
prop: l.field,
|
|
1409
|
-
class:
|
|
1420
|
+
class: D(l.prepend ? "input-item" : "")
|
|
1410
1421
|
}, {
|
|
1411
1422
|
label: n(() => [
|
|
1412
|
-
l.slotLabelName ? h(
|
|
1423
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1413
1424
|
key: 0,
|
|
1414
1425
|
style: t(l.labelStyle)
|
|
1415
1426
|
}, [
|
|
1416
1427
|
T(y(l.label) + " ", 1),
|
|
1417
|
-
l.required ? (a(), M("span",
|
|
1428
|
+
l.required ? (a(), M("span", Ae, "*")) : c("", !0)
|
|
1418
1429
|
], 4))
|
|
1419
1430
|
]),
|
|
1420
1431
|
default: n(() => [
|
|
1421
|
-
|
|
1432
|
+
f(L, {
|
|
1422
1433
|
"popper-class": "input-tooltip",
|
|
1423
1434
|
effect: "light",
|
|
1424
1435
|
content: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
@@ -1426,8 +1437,8 @@ function we(g, c, z, e, _, C) {
|
|
|
1426
1437
|
disabled: e.isShowTooltip
|
|
1427
1438
|
}, {
|
|
1428
1439
|
default: n(() => [
|
|
1429
|
-
|
|
1430
|
-
class:
|
|
1440
|
+
f(j, {
|
|
1441
|
+
class: D(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1431
1442
|
id: l.field,
|
|
1432
1443
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
1433
1444
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1446,7 +1457,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1446
1457
|
showPassword: l.showPassword,
|
|
1447
1458
|
clearable: l.clearable,
|
|
1448
1459
|
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1449
|
-
},
|
|
1460
|
+
}, K({ _: 2 }, [
|
|
1450
1461
|
l.prepend ? {
|
|
1451
1462
|
name: "prepend",
|
|
1452
1463
|
fn: n(() => [
|
|
@@ -1477,14 +1488,14 @@ function we(g, c, z, e, _, C) {
|
|
|
1477
1488
|
]),
|
|
1478
1489
|
_: 3
|
|
1479
1490
|
}),
|
|
1480
|
-
|
|
1491
|
+
f(N, { class: "btnsItem" }, {
|
|
1481
1492
|
default: n(() => [
|
|
1482
|
-
h(
|
|
1493
|
+
h(p.$slots, "buttons", {
|
|
1483
1494
|
model: z.model,
|
|
1484
1495
|
onBtnClick: e.onSubmit
|
|
1485
1496
|
}, () => [
|
|
1486
|
-
(a(!0), M(
|
|
1487
|
-
l.isShow ? (a(), i(
|
|
1497
|
+
(a(!0), M(k, null, A(e.formOptions.btnConfig, (l, Z) => (a(), M("div", { key: Z }, [
|
|
1498
|
+
l.isShow ? (a(), i(J, {
|
|
1488
1499
|
key: 0,
|
|
1489
1500
|
btnCode: l.btnCode,
|
|
1490
1501
|
plain: l.plain,
|
|
@@ -1508,14 +1519,14 @@ function we(g, c, z, e, _, C) {
|
|
|
1508
1519
|
fontSize: l.fontSize,
|
|
1509
1520
|
fontWeight: l.fontWeight,
|
|
1510
1521
|
style: t(l.style),
|
|
1511
|
-
class:
|
|
1522
|
+
class: D(l.class),
|
|
1512
1523
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1513
1524
|
}, {
|
|
1514
1525
|
default: n(() => [
|
|
1515
1526
|
T(y(l.name), 1)
|
|
1516
1527
|
]),
|
|
1517
1528
|
_: 2
|
|
1518
|
-
}, 1032, ["btnCode", "plain", "primary", "info", "text", "debounced", "link", "loading", "loadingColor", "width", "height", "circle", "color", "bgColor", "borderColor", "borderStyle", "borderWidth", "icon", "size", "fontSize", "fontWeight", "style", "class", "onHandleClick"])) :
|
|
1529
|
+
}, 1032, ["btnCode", "plain", "primary", "info", "text", "debounced", "link", "loading", "loadingColor", "width", "height", "circle", "color", "bgColor", "borderColor", "borderStyle", "borderWidth", "icon", "size", "fontSize", "fontWeight", "style", "class", "onHandleClick"])) : c("", !0)
|
|
1519
1530
|
]))), 128))
|
|
1520
1531
|
], !0)
|
|
1521
1532
|
]),
|
|
@@ -1525,11 +1536,11 @@ function we(g, c, z, e, _, C) {
|
|
|
1525
1536
|
_: 3
|
|
1526
1537
|
}, 16, ["model", "label-position"]);
|
|
1527
1538
|
}
|
|
1528
|
-
const
|
|
1529
|
-
function ol(
|
|
1530
|
-
ol.installed || (ol.installed = !0,
|
|
1539
|
+
const gl = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-1c484f0b"]]);
|
|
1540
|
+
function ol(p, g = {}) {
|
|
1541
|
+
ol.installed || (ol.installed = !0, p.component("common-el-form", gl));
|
|
1531
1542
|
}
|
|
1532
|
-
|
|
1543
|
+
gl.install = ol;
|
|
1533
1544
|
export {
|
|
1534
|
-
|
|
1545
|
+
gl as default
|
|
1535
1546
|
};
|