sinosoft-common-form 2.0.0 → 2.0.2
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 +169 -151
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as Y, reactive as
|
|
2
|
-
const
|
|
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 p, createElementBlock as M, Fragment as A, renderList as k, 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 H, vShow as Yl, pushScopeId as vl, popScopeId as Rl } from "vue";
|
|
2
|
+
const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNC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NkM2LjU1NjcxIDEzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Wl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
5
5
|
type: Array,
|
|
@@ -22,18 +22,18 @@ const Rl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
24
|
setup(g, { emit: u }) {
|
|
25
|
-
const z = Y(!0), e =
|
|
25
|
+
const z = Y(!0), e = Al({
|
|
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
|
-
src:
|
|
30
|
+
src: Vl
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
}), j = ll({
|
|
34
34
|
render() {
|
|
35
35
|
return el("img", {
|
|
36
|
-
src:
|
|
36
|
+
src: Ul
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
}), E = (s) => {
|
|
@@ -47,14 +47,14 @@ const Rl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
47
47
|
}, F = ll({
|
|
48
48
|
render() {
|
|
49
49
|
return el("img", {
|
|
50
|
-
src:
|
|
50
|
+
src: Fl
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}), W =
|
|
53
|
+
}), W = kl(() => Object.assign([], g.options)), v = () => {
|
|
54
54
|
e.model = g.model;
|
|
55
55
|
}, S = (s, r, f) => {
|
|
56
56
|
var x;
|
|
57
|
-
r ? (z.value = !1,
|
|
57
|
+
r ? (z.value = !1, Ll(() => {
|
|
58
58
|
var P;
|
|
59
59
|
(P = C.value) == null || P.validate(($) => {
|
|
60
60
|
if ($)
|
|
@@ -82,8 +82,8 @@ const Rl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
82
82
|
s && (r == null ? void 0 : r.key) === "Enter" && S(void 0, !0, "submit");
|
|
83
83
|
}, J = (s, r, f) => {
|
|
84
84
|
var sl, rl;
|
|
85
|
-
const x = /* @__PURE__ */ new Date(), P = x.getDate().toString().padStart(2, "0"), $ = (x.getMonth() + 1).toString().padStart(2, "0"),
|
|
86
|
-
s ===
|
|
85
|
+
const x = /* @__PURE__ */ new Date(), P = x.getDate().toString().padStart(2, "0"), $ = (x.getMonth() + 1).toString().padStart(2, "0"), jl = x.getFullYear().toString(), Ol = `${P}/${$}/${jl}`;
|
|
86
|
+
s === Ol && f ? ((sl = C.value) == null || sl.validateField(r), e.model[r] = f.format("DD/MM/YYYY"), u("dateChange", f.format("DD/MM/YYYY"), r)) : ((rl = C.value) == null || rl.validateField(r), u("dateChange", s, r));
|
|
87
87
|
}, l = (s, r) => {
|
|
88
88
|
u("calendarChange", s, r);
|
|
89
89
|
}, Z = (s, r) => {
|
|
@@ -114,12 +114,12 @@ const Rl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
114
114
|
}, X = Y(!1), al = () => {
|
|
115
115
|
window.innerWidth < 768, X.value = !1;
|
|
116
116
|
};
|
|
117
|
-
|
|
117
|
+
wl(() => {
|
|
118
118
|
var s;
|
|
119
119
|
v(), (s = C.value) == null || s.resetFields(), window.addEventListener("resize", al);
|
|
120
|
-
}),
|
|
120
|
+
}), zl(() => {
|
|
121
121
|
window.removeEventListener("resize", al);
|
|
122
|
-
}),
|
|
122
|
+
}), Cl(
|
|
123
123
|
() => g.fieldList,
|
|
124
124
|
(s, r) => {
|
|
125
125
|
s !== r && v();
|
|
@@ -132,14 +132,16 @@ const Rl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
132
132
|
if (s.date() === r.date() && s.year() === r.year() && s.month() === r.month())
|
|
133
133
|
return f.border = "1px solid #a26628", f.borderRadius = "4px", f;
|
|
134
134
|
}, Nl = (s, r) => {
|
|
135
|
-
|
|
135
|
+
console.log("getDefaultToady"), e.model[r] = s.format("DD/MM/YYYY"), u("getDefaultToady", s, r);
|
|
136
136
|
}, Tl = (s, r) => {
|
|
137
|
+
s || (m.value += 1), u("openChange", s);
|
|
138
|
+
}, Il = (s, r) => {
|
|
137
139
|
s || (m.value += 1), u("openDatePickerDaterange", s);
|
|
138
|
-
},
|
|
140
|
+
}, hl = (s) => {
|
|
139
141
|
s || (dl.value += 1), u("openDatetimerange", s);
|
|
140
142
|
};
|
|
141
143
|
return {
|
|
142
|
-
...
|
|
144
|
+
...xl(e),
|
|
143
145
|
formRef: C,
|
|
144
146
|
isShowTooltip: _,
|
|
145
147
|
states: e,
|
|
@@ -149,7 +151,7 @@ const Rl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
149
151
|
radioChange: B,
|
|
150
152
|
checkChange: L,
|
|
151
153
|
handleCheckedChange: K,
|
|
152
|
-
prefixIcon:
|
|
154
|
+
prefixIcon: N,
|
|
153
155
|
IconDropDown: j,
|
|
154
156
|
IconClear: F,
|
|
155
157
|
handleClick: G,
|
|
@@ -169,113 +171,114 @@ const Rl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
169
171
|
pickerKeyDaterange: m,
|
|
170
172
|
datetimerange: dl,
|
|
171
173
|
openDatePicker: Dl,
|
|
172
|
-
openDatePickerDaterange:
|
|
173
|
-
openDatetimerange:
|
|
174
|
+
openDatePickerDaterange: Il,
|
|
175
|
+
openDatetimerange: hl,
|
|
174
176
|
// spaceRule,
|
|
175
177
|
handleVisibleChange: U,
|
|
176
178
|
handleScroll: E,
|
|
177
179
|
visibilityChange: gl,
|
|
178
180
|
contentName: pl,
|
|
179
|
-
openChange:
|
|
180
|
-
getCurrentStyle: bl
|
|
181
|
+
openChange: Tl,
|
|
182
|
+
getCurrentStyle: bl,
|
|
183
|
+
getDefaultToady: Nl
|
|
181
184
|
};
|
|
182
185
|
}
|
|
183
186
|
}, Ml = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE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OTQgMjVMMy44Nzg2IDI2LjA2MDdMNS45OTk5MiAyMy45MzkzTDQuOTM5MjYgMjIuODc4N0wyLjgxNzk0IDI1Wk02Ljc1NzI4IDE4LjkzOTNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
184
|
-
const
|
|
187
|
+
const Bl = (g, u) => {
|
|
185
188
|
const z = g.__vccOpts || g;
|
|
186
189
|
for (const [e, _] of u)
|
|
187
190
|
z[e] = _;
|
|
188
191
|
return z;
|
|
189
|
-
}, w = (g) => (
|
|
190
|
-
key: 0,
|
|
191
|
-
class: "custom-required"
|
|
192
|
-
}, Gl = {
|
|
192
|
+
}, w = (g) => (vl("data-v-53b0a038"), g = g(), Rl(), g), Zl = { class: "header-title" }, Ql = { class: "title-content" }, Gl = {
|
|
193
193
|
key: 0,
|
|
194
194
|
class: "custom-required"
|
|
195
|
-
}, Pl =
|
|
195
|
+
}, Pl = {
|
|
196
196
|
key: 0,
|
|
197
197
|
class: "custom-required"
|
|
198
|
-
},
|
|
198
|
+
}, Hl = ["src"], Kl = {
|
|
199
199
|
key: 0,
|
|
200
200
|
class: "custom-required"
|
|
201
|
-
}, Xl = {
|
|
201
|
+
}, ql = { class: "lable" }, Jl = { class: "lable_note" }, Xl = {
|
|
202
202
|
key: 0,
|
|
203
203
|
class: "custom-required"
|
|
204
204
|
}, ml = {
|
|
205
205
|
key: 0,
|
|
206
206
|
class: "custom-required"
|
|
207
|
-
}, $l = {
|
|
207
|
+
}, $l = {
|
|
208
208
|
key: 0,
|
|
209
209
|
class: "custom-required"
|
|
210
|
-
}, oe = {
|
|
210
|
+
}, le = { class: "lable" }, ee = { class: "lable_note" }, oe = {
|
|
211
211
|
key: 0,
|
|
212
212
|
class: "custom-required"
|
|
213
213
|
}, ae = {
|
|
214
214
|
key: 0,
|
|
215
215
|
class: "custom-required"
|
|
216
|
-
}, ne =
|
|
216
|
+
}, ne = {
|
|
217
|
+
key: 0,
|
|
218
|
+
class: "custom-required"
|
|
219
|
+
}, de = ["onClick"], se = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
217
220
|
src: Ml,
|
|
218
221
|
alt: ""
|
|
219
|
-
}, null, -1)),
|
|
222
|
+
}, null, -1)), re = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
220
223
|
src: il,
|
|
221
224
|
alt: ""
|
|
222
|
-
}, null, -1)),
|
|
225
|
+
}, null, -1)), Me = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
223
226
|
src: yl,
|
|
224
227
|
alt: ""
|
|
225
|
-
}, null, -1)),
|
|
228
|
+
}, null, -1)), ie = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
226
229
|
src: cl,
|
|
227
230
|
alt: ""
|
|
228
|
-
}, null, -1)),
|
|
231
|
+
}, null, -1)), ye = {
|
|
229
232
|
key: 0,
|
|
230
233
|
class: "date_to"
|
|
231
|
-
},
|
|
234
|
+
}, ce = {
|
|
232
235
|
key: 0,
|
|
233
236
|
class: "custom-required"
|
|
234
|
-
},
|
|
237
|
+
}, ue = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
235
238
|
src: Ml,
|
|
236
239
|
alt: ""
|
|
237
|
-
}, null, -1)),
|
|
240
|
+
}, null, -1)), ge = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
238
241
|
src: il,
|
|
239
242
|
alt: ""
|
|
240
|
-
}, null, -1)),
|
|
243
|
+
}, null, -1)), pe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
241
244
|
src: yl,
|
|
242
245
|
alt: ""
|
|
243
|
-
}, null, -1)),
|
|
246
|
+
}, null, -1)), fe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
244
247
|
src: cl,
|
|
245
248
|
alt: ""
|
|
246
|
-
}, null, -1)),
|
|
249
|
+
}, null, -1)), te = {
|
|
247
250
|
key: 0,
|
|
248
251
|
class: "custom-required"
|
|
249
|
-
},
|
|
252
|
+
}, De = {
|
|
250
253
|
key: 0,
|
|
251
254
|
class: "custom-required"
|
|
252
|
-
},
|
|
255
|
+
}, be = {
|
|
253
256
|
key: 0,
|
|
254
257
|
class: "custom-required"
|
|
255
|
-
},
|
|
258
|
+
}, Ne = {
|
|
256
259
|
key: 0,
|
|
257
260
|
class: "phone_item_content_before"
|
|
258
|
-
},
|
|
261
|
+
}, Te = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), Ie = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), he = {
|
|
259
262
|
key: 1,
|
|
260
263
|
class: "line_middle"
|
|
261
|
-
},
|
|
264
|
+
}, je = {
|
|
262
265
|
key: 2,
|
|
263
266
|
class: "line_middle"
|
|
264
|
-
},
|
|
267
|
+
}, Oe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", {
|
|
265
268
|
class: "line",
|
|
266
269
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
267
|
-
}, null, -1)),
|
|
270
|
+
}, null, -1)), Ae = {
|
|
268
271
|
key: 0,
|
|
269
272
|
class: "custom-required"
|
|
270
|
-
},
|
|
273
|
+
}, ke = {
|
|
271
274
|
key: 0,
|
|
272
275
|
class: "custom-required"
|
|
273
276
|
};
|
|
274
|
-
function
|
|
275
|
-
const
|
|
276
|
-
return a(), i(J,
|
|
277
|
+
function we(g, u, z, e, _, C) {
|
|
278
|
+
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"), K = I("a-date-picker"), G = I("a-range-picker"), q = I("sinosoftCommonButton"), J = I("el-form");
|
|
279
|
+
return a(), i(J, El({
|
|
277
280
|
"hide-required-asterisk": "",
|
|
278
|
-
onSubmit: u[0] || (u[0] =
|
|
281
|
+
onSubmit: u[0] || (u[0] = _l(() => {
|
|
279
282
|
}, ["prevent"])),
|
|
280
283
|
model: z.model
|
|
281
284
|
}, e.formOptions, {
|
|
@@ -286,7 +289,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
286
289
|
default: n(() => [
|
|
287
290
|
p(U, { gutter: 24 }, {
|
|
288
291
|
default: n(() => [
|
|
289
|
-
(a(!0), M(A, null, k(z.fieldList, (l, Z) =>
|
|
292
|
+
(a(!0), M(A, null, k(z.fieldList, (l, Z) => Sl((a(), i(E, {
|
|
290
293
|
xs: l.xs ? l.xs : 24,
|
|
291
294
|
sm: l.sm ? l.sm : 24,
|
|
292
295
|
md: l.md ? l.md : 8,
|
|
@@ -295,17 +298,17 @@ function Ae(g, u, z, e, _, C) {
|
|
|
295
298
|
key: Z
|
|
296
299
|
}, {
|
|
297
300
|
default: n(() => [
|
|
298
|
-
|
|
301
|
+
b("div", {
|
|
299
302
|
style: t(l.style)
|
|
300
303
|
}, [
|
|
301
|
-
l.type === "title" ? (a(), i(
|
|
304
|
+
l.type === "title" ? (a(), i(N, { key: 0 }, {
|
|
302
305
|
default: n(() => [
|
|
303
|
-
|
|
304
|
-
|
|
306
|
+
b("div", Zl, [
|
|
307
|
+
b("span", Ql, y(l.title), 1)
|
|
305
308
|
])
|
|
306
309
|
]),
|
|
307
310
|
_: 2
|
|
308
|
-
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), i(
|
|
311
|
+
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), i(N, {
|
|
309
312
|
key: 1,
|
|
310
313
|
label: l.label,
|
|
311
314
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -317,7 +320,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
317
320
|
style: t(l.labelStyle)
|
|
318
321
|
}, [
|
|
319
322
|
T(y(l.label) + " ", 1),
|
|
320
|
-
l.required ? (a(), M("span",
|
|
323
|
+
l.required ? (a(), M("span", Gl, "*")) : c("", !0)
|
|
321
324
|
], 4))
|
|
322
325
|
]),
|
|
323
326
|
default: n(() => [
|
|
@@ -331,7 +334,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
331
334
|
xl: 12
|
|
332
335
|
}, {
|
|
333
336
|
default: n(() => [
|
|
334
|
-
l.field.nameEnFamily ? (a(), i(
|
|
337
|
+
l.field.nameEnFamily ? (a(), i(N, {
|
|
335
338
|
key: 0,
|
|
336
339
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
337
340
|
prop: l.field.nameEnFamily,
|
|
@@ -343,7 +346,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
343
346
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
344
347
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
345
348
|
onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
|
|
346
|
-
class:
|
|
349
|
+
class: D(
|
|
347
350
|
(l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
348
351
|
),
|
|
349
352
|
maxlength: l.maxlengthNameEnFamily,
|
|
@@ -369,7 +372,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
369
372
|
xl: 12
|
|
370
373
|
}, {
|
|
371
374
|
default: n(() => [
|
|
372
|
-
l.field.nameEn ? (a(), i(
|
|
375
|
+
l.field.nameEn ? (a(), i(N, {
|
|
373
376
|
key: 0,
|
|
374
377
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
375
378
|
prop: l.field.nameEn,
|
|
@@ -384,7 +387,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
384
387
|
maxlength: l.maxlengthNameEn,
|
|
385
388
|
modelValue: e.states.model[l.field.nameEn],
|
|
386
389
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
387
|
-
class:
|
|
390
|
+
class: D(
|
|
388
391
|
(l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
389
392
|
),
|
|
390
393
|
readonly: l.readonly,
|
|
@@ -412,7 +415,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
412
415
|
xl: 12
|
|
413
416
|
}, {
|
|
414
417
|
default: n(() => [
|
|
415
|
-
l.field.nameChFamily ? (a(), i(
|
|
418
|
+
l.field.nameChFamily ? (a(), i(N, {
|
|
416
419
|
key: 0,
|
|
417
420
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
418
421
|
prop: l.field.nameChFamily,
|
|
@@ -428,7 +431,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
428
431
|
"nameChFamily" in l.field ? l.field.nameCh : ""
|
|
429
432
|
),
|
|
430
433
|
maxlength: l.maxlengthNameChFamily,
|
|
431
|
-
class:
|
|
434
|
+
class: D(
|
|
432
435
|
(l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
433
436
|
),
|
|
434
437
|
modelValue: e.states.model[l.field.nameChFamily],
|
|
@@ -453,7 +456,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
453
456
|
xl: 12
|
|
454
457
|
}, {
|
|
455
458
|
default: n(() => [
|
|
456
|
-
l.field.nameCh ? (a(), i(
|
|
459
|
+
l.field.nameCh ? (a(), i(N, {
|
|
457
460
|
key: 0,
|
|
458
461
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
459
462
|
prop: l.field.nameCh,
|
|
@@ -465,7 +468,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
465
468
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
466
469
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
467
470
|
onInput: (o) => e.inputInput(o, l.field.nameCh),
|
|
468
|
-
class:
|
|
471
|
+
class: D(
|
|
469
472
|
(l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
470
473
|
),
|
|
471
474
|
maxlength: l.maxlengthNameCh,
|
|
@@ -488,7 +491,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
488
491
|
}, 1024)
|
|
489
492
|
]),
|
|
490
493
|
_: 2
|
|
491
|
-
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), i(
|
|
494
|
+
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), i(N, {
|
|
492
495
|
key: 2,
|
|
493
496
|
label: l.label,
|
|
494
497
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -501,7 +504,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
501
504
|
style: t(l.labelStyle)
|
|
502
505
|
}, [
|
|
503
506
|
T(y(l.label) + " ", 1),
|
|
504
|
-
l.required ? (a(), M("span",
|
|
507
|
+
l.required ? (a(), M("span", Pl, "*")) : c("", !0)
|
|
505
508
|
], 4))
|
|
506
509
|
]),
|
|
507
510
|
default: n(() => [
|
|
@@ -520,11 +523,11 @@ function Ae(g, u, z, e, _, C) {
|
|
|
520
523
|
key: d.code
|
|
521
524
|
}, {
|
|
522
525
|
default: n(() => [
|
|
523
|
-
|
|
526
|
+
b("img", {
|
|
524
527
|
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",
|
|
525
528
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
526
529
|
alt: ""
|
|
527
|
-
}, null, 8,
|
|
530
|
+
}, null, 8, Hl)
|
|
528
531
|
]),
|
|
529
532
|
_: 2
|
|
530
533
|
}, 1032, ["label"]))), 128))
|
|
@@ -534,12 +537,12 @@ function Ae(g, u, z, e, _, C) {
|
|
|
534
537
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
535
538
|
]),
|
|
536
539
|
_: 2
|
|
537
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), i(
|
|
540
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), i(N, {
|
|
538
541
|
key: 3,
|
|
539
542
|
label: l.label,
|
|
540
543
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
541
544
|
prop: l.field,
|
|
542
|
-
class:
|
|
545
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
543
546
|
}, {
|
|
544
547
|
label: n(() => [
|
|
545
548
|
l.slotLabelName ? h(g.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
@@ -547,7 +550,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
547
550
|
style: t(l.labelStyle)
|
|
548
551
|
}, [
|
|
549
552
|
T(y(l.label) + " ", 1),
|
|
550
|
-
l.required ? (a(), M("span",
|
|
553
|
+
l.required ? (a(), M("span", Kl, "*")) : c("", !0)
|
|
551
554
|
], 4))
|
|
552
555
|
]),
|
|
553
556
|
default: n(() => [
|
|
@@ -559,7 +562,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
559
562
|
style: t(
|
|
560
563
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
561
564
|
),
|
|
562
|
-
class:
|
|
565
|
+
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
563
566
|
}, {
|
|
564
567
|
default: n(() => {
|
|
565
568
|
var o;
|
|
@@ -581,18 +584,18 @@ function Ae(g, u, z, e, _, C) {
|
|
|
581
584
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
582
585
|
]),
|
|
583
586
|
_: 2
|
|
584
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), i(
|
|
587
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), i(N, {
|
|
585
588
|
key: 4,
|
|
586
589
|
label: l.label,
|
|
587
590
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
588
591
|
prop: l.field,
|
|
589
|
-
class:
|
|
592
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
590
593
|
}, {
|
|
591
594
|
default: n(() => [
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
l.required ? (a(), M("span",
|
|
595
|
+
b("div", null, [
|
|
596
|
+
b("span", ql, y(l.labelBefore), 1),
|
|
597
|
+
b("span", Jl, y(l.labelNode), 1),
|
|
598
|
+
l.required ? (a(), M("span", Xl, "*")) : c("", !0)
|
|
596
599
|
]),
|
|
597
600
|
p(W, {
|
|
598
601
|
modelValue: e.states.model[l.field],
|
|
@@ -602,7 +605,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
602
605
|
style: t(
|
|
603
606
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
604
607
|
),
|
|
605
|
-
class:
|
|
608
|
+
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
606
609
|
}, {
|
|
607
610
|
default: n(() => {
|
|
608
611
|
var o;
|
|
@@ -623,7 +626,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
623
626
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
624
627
|
]),
|
|
625
628
|
_: 2
|
|
626
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), i(
|
|
629
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), i(N, {
|
|
627
630
|
key: 5,
|
|
628
631
|
label: l.label,
|
|
629
632
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -635,7 +638,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
635
638
|
style: t(l.labelStyle)
|
|
636
639
|
}, [
|
|
637
640
|
T(y(l.label) + " ", 1),
|
|
638
|
-
l.required ? (a(), M("span",
|
|
641
|
+
l.required ? (a(), M("span", ml, "*")) : c("", !0)
|
|
639
642
|
], 4))
|
|
640
643
|
]),
|
|
641
644
|
default: n(() => [
|
|
@@ -667,7 +670,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
667
670
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
668
671
|
]),
|
|
669
672
|
_: 2
|
|
670
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), i(
|
|
673
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), i(N, {
|
|
671
674
|
key: 6,
|
|
672
675
|
label: l.label,
|
|
673
676
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -679,7 +682,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
679
682
|
style: t(l.labelStyle)
|
|
680
683
|
}, [
|
|
681
684
|
T(y(l.label) + " ", 1),
|
|
682
|
-
l.required ? (a(), M("span",
|
|
685
|
+
l.required ? (a(), M("span", $l, "*")) : c("", !0)
|
|
683
686
|
], 4))
|
|
684
687
|
]),
|
|
685
688
|
default: n(() => [
|
|
@@ -711,18 +714,18 @@ function Ae(g, u, z, e, _, C) {
|
|
|
711
714
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
712
715
|
]),
|
|
713
716
|
_: 2
|
|
714
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (a(), i(
|
|
717
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (a(), i(N, {
|
|
715
718
|
key: 7,
|
|
716
719
|
label: l.label,
|
|
717
720
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
718
721
|
prop: l.field,
|
|
719
|
-
class:
|
|
722
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
720
723
|
}, {
|
|
721
724
|
default: n(() => [
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
l.required ? (a(), M("span",
|
|
725
|
+
b("div", null, [
|
|
726
|
+
b("span", le, y(l.labelBefore), 1),
|
|
727
|
+
b("span", ee, y(l.labelNode), 1),
|
|
728
|
+
l.required ? (a(), M("span", oe, "*")) : c("", !0)
|
|
726
729
|
]),
|
|
727
730
|
p(S, {
|
|
728
731
|
modelValue: e.states.model[l.field],
|
|
@@ -752,7 +755,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
752
755
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
753
756
|
]),
|
|
754
757
|
_: 2
|
|
755
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (a(), i(
|
|
758
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (a(), i(N, {
|
|
756
759
|
key: 8,
|
|
757
760
|
label: l.label,
|
|
758
761
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -765,7 +768,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
765
768
|
style: t(l.labelStyle)
|
|
766
769
|
}, [
|
|
767
770
|
T(y(l.label) + " ", 1),
|
|
768
|
-
l.required ? (a(), M("span",
|
|
771
|
+
l.required ? (a(), M("span", ae, "*")) : c("", !0)
|
|
769
772
|
], 4))
|
|
770
773
|
]),
|
|
771
774
|
default: n(() => {
|
|
@@ -780,7 +783,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
780
783
|
}, {
|
|
781
784
|
default: n(() => [
|
|
782
785
|
p(B, {
|
|
783
|
-
class:
|
|
786
|
+
class: D(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
784
787
|
id: l.field,
|
|
785
788
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
786
789
|
"popper-class": l.selectPaging === !0 ? "single-select-loadmore" : "selectTriangles",
|
|
@@ -823,14 +826,14 @@ function Ae(g, u, z, e, _, C) {
|
|
|
823
826
|
]),
|
|
824
827
|
_: 2
|
|
825
828
|
}, 1032, ["content", "disabled"]),
|
|
826
|
-
|
|
829
|
+
b("div", {
|
|
827
830
|
class: "item_tips_blow",
|
|
828
831
|
style: t(l.tipsBlowStyle)
|
|
829
832
|
}, y(l.tipsBlow), 5)
|
|
830
833
|
];
|
|
831
834
|
}),
|
|
832
835
|
_: 2
|
|
833
|
-
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), i(
|
|
836
|
+
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), i(N, {
|
|
834
837
|
key: 9,
|
|
835
838
|
label: l.label,
|
|
836
839
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -843,7 +846,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
843
846
|
style: t(l.labelStyle)
|
|
844
847
|
}, [
|
|
845
848
|
T(y(l.label) + " ", 1),
|
|
846
|
-
l.required ? (a(), M("span",
|
|
849
|
+
l.required ? (a(), M("span", ne, "*")) : c("", !0)
|
|
847
850
|
], 4))
|
|
848
851
|
]),
|
|
849
852
|
default: n(() => [
|
|
@@ -858,17 +861,17 @@ function Ae(g, u, z, e, _, C) {
|
|
|
858
861
|
"disabled-date": l.disabledDate,
|
|
859
862
|
suffixIcon: l.suffixIcon,
|
|
860
863
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
861
|
-
showToday: l.showToday,
|
|
864
|
+
showToday: l.showToday || !1,
|
|
862
865
|
renderExtraFooter: l.extraFooter,
|
|
863
866
|
inputReadOnly: l.readonly,
|
|
864
867
|
mode: l.mode,
|
|
865
868
|
picker: l.picker,
|
|
866
869
|
placeholder: l.placeholder || l.label,
|
|
867
870
|
key: e.pickerKey,
|
|
868
|
-
class:
|
|
871
|
+
class: D(
|
|
869
872
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
870
873
|
),
|
|
871
|
-
presets: l.presets,
|
|
874
|
+
presets: l == null ? void 0 : l.presets,
|
|
872
875
|
onChange: (o) => e.dateChange(
|
|
873
876
|
o,
|
|
874
877
|
typeof l.field == "string" ? l.field : "",
|
|
@@ -886,34 +889,49 @@ function Ae(g, u, z, e, _, C) {
|
|
|
886
889
|
onOpenChange: (o) => e.openChange(o, l == null ? void 0 : l.defaultToady)
|
|
887
890
|
}, H({
|
|
888
891
|
superPrevIcon: n(() => [
|
|
889
|
-
|
|
892
|
+
se
|
|
890
893
|
]),
|
|
891
894
|
prevIcon: n(() => [
|
|
892
|
-
|
|
895
|
+
re
|
|
893
896
|
]),
|
|
894
897
|
nextIcon: n(() => [
|
|
895
|
-
|
|
898
|
+
Me
|
|
896
899
|
]),
|
|
897
900
|
superNextIcon: n(() => [
|
|
898
|
-
|
|
901
|
+
ie
|
|
899
902
|
]),
|
|
900
903
|
_: 2
|
|
901
904
|
}, [
|
|
902
905
|
l != null && l.defaultToady ? {
|
|
903
906
|
name: "dateRender",
|
|
904
907
|
fn: n(({ current: o }) => [
|
|
905
|
-
|
|
908
|
+
b("div", {
|
|
906
909
|
class: "ant-picker-cell-inner",
|
|
907
910
|
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
908
911
|
}, y(o.date()), 5)
|
|
909
912
|
]),
|
|
910
913
|
key: "0"
|
|
914
|
+
} : void 0,
|
|
915
|
+
!(l != null && l.ToadyStatus) || l != null && l.ToadyStatus ? {
|
|
916
|
+
name: "renderExtraFooter",
|
|
917
|
+
fn: n(() => [
|
|
918
|
+
l != null && l.disabledDateToday ? (a(), M("span", {
|
|
919
|
+
key: 0,
|
|
920
|
+
class: D([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"])
|
|
921
|
+
}, "Toady", 2)) : c("", !0),
|
|
922
|
+
l != null && l.disabledDateToday ? c("", !0) : (a(), M("span", {
|
|
923
|
+
key: 1,
|
|
924
|
+
class: D([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
925
|
+
onClick: (o) => e.getDefaultToady((l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date(), l.field)
|
|
926
|
+
}, "Toady", 10, de))
|
|
927
|
+
]),
|
|
928
|
+
key: "1"
|
|
911
929
|
} : void 0
|
|
912
930
|
]), 1032, ["allowClear", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onCalendarChange", "onOk", "onBlur", "onOpenChange"])),
|
|
913
|
-
l.showTo ? (a(), M("span",
|
|
931
|
+
l.showTo ? (a(), M("span", ye, y(l.showTo), 1)) : c("", !0)
|
|
914
932
|
]),
|
|
915
933
|
_: 2
|
|
916
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(
|
|
934
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(N, {
|
|
917
935
|
key: 10,
|
|
918
936
|
label: l.label,
|
|
919
937
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -925,7 +943,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
925
943
|
style: t(l.labelStyle)
|
|
926
944
|
}, [
|
|
927
945
|
T(y(l.label) + " ", 1),
|
|
928
|
-
l.required ? (a(), M("span",
|
|
946
|
+
l.required ? (a(), M("span", ce, "*")) : c("", !0)
|
|
929
947
|
], 4))
|
|
930
948
|
]),
|
|
931
949
|
default: n(() => [
|
|
@@ -946,7 +964,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
946
964
|
separator: l.separator || "To",
|
|
947
965
|
placeholder: l.placeholder,
|
|
948
966
|
size: "large",
|
|
949
|
-
class:
|
|
967
|
+
class: D(
|
|
950
968
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
951
969
|
),
|
|
952
970
|
key: e.pickerKeyDaterange,
|
|
@@ -966,23 +984,23 @@ function Ae(g, u, z, e, _, C) {
|
|
|
966
984
|
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultToady)
|
|
967
985
|
}, H({
|
|
968
986
|
superPrevIcon: n(() => [
|
|
969
|
-
|
|
987
|
+
ue
|
|
970
988
|
]),
|
|
971
989
|
prevIcon: n(() => [
|
|
972
|
-
|
|
990
|
+
ge
|
|
973
991
|
]),
|
|
974
992
|
nextIcon: n(() => [
|
|
975
|
-
|
|
993
|
+
pe
|
|
976
994
|
]),
|
|
977
995
|
superNextIcon: n(() => [
|
|
978
|
-
|
|
996
|
+
fe
|
|
979
997
|
]),
|
|
980
998
|
_: 2
|
|
981
999
|
}, [
|
|
982
1000
|
l != null && l.defaultToady ? {
|
|
983
1001
|
name: "dateRender",
|
|
984
1002
|
fn: n(({ current: o }) => [
|
|
985
|
-
|
|
1003
|
+
b("div", {
|
|
986
1004
|
class: "ant-picker-cell-inner",
|
|
987
1005
|
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
988
1006
|
}, y(o.date()), 5)
|
|
@@ -992,7 +1010,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
992
1010
|
]), 1032, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
993
1011
|
]),
|
|
994
1012
|
_: 2
|
|
995
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(), i(
|
|
1013
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(), i(N, {
|
|
996
1014
|
key: 11,
|
|
997
1015
|
label: l.label,
|
|
998
1016
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -1004,7 +1022,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1004
1022
|
style: t(l.labelStyle)
|
|
1005
1023
|
}, [
|
|
1006
1024
|
T(y(l.label) + " ", 1),
|
|
1007
|
-
l.required ? (a(), M("span",
|
|
1025
|
+
l.required ? (a(), M("span", te, "*")) : c("", !0)
|
|
1008
1026
|
], 4))
|
|
1009
1027
|
]),
|
|
1010
1028
|
default: n(() => [
|
|
@@ -1025,7 +1043,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1025
1043
|
separator: l.separator || "To",
|
|
1026
1044
|
placeholder: l.placeholder,
|
|
1027
1045
|
size: "large",
|
|
1028
|
-
class:
|
|
1046
|
+
class: D(
|
|
1029
1047
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1030
1048
|
),
|
|
1031
1049
|
key: e.datetimerange,
|
|
@@ -1045,7 +1063,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1045
1063
|
}, null, 8, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1046
1064
|
]),
|
|
1047
1065
|
_: 2
|
|
1048
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), i(
|
|
1066
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), i(N, {
|
|
1049
1067
|
key: 12,
|
|
1050
1068
|
label: l.label,
|
|
1051
1069
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -1058,14 +1076,14 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1058
1076
|
style: t(l.labelStyle)
|
|
1059
1077
|
}, [
|
|
1060
1078
|
T(y(l.label) + " ", 1),
|
|
1061
|
-
l.required ? (a(), M("span",
|
|
1079
|
+
l.required ? (a(), M("span", De, "*")) : c("", !0)
|
|
1062
1080
|
], 4))
|
|
1063
1081
|
]),
|
|
1064
1082
|
default: n(() => [
|
|
1065
1083
|
h(g.$slots, l.slotItemName, {}, void 0, !0)
|
|
1066
1084
|
]),
|
|
1067
1085
|
_: 2
|
|
1068
|
-
}, 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(
|
|
1086
|
+
}, 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, {
|
|
1069
1087
|
key: 13,
|
|
1070
1088
|
label: l.label,
|
|
1071
1089
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
@@ -1078,14 +1096,14 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1078
1096
|
style: t(l.labelStyle)
|
|
1079
1097
|
}, [
|
|
1080
1098
|
T(y(l.label) + " ", 1),
|
|
1081
|
-
l.required ? (a(), M("span",
|
|
1099
|
+
l.required ? (a(), M("span", be, "*")) : c("", !0)
|
|
1082
1100
|
], 4))
|
|
1083
1101
|
]),
|
|
1084
1102
|
default: n(() => [
|
|
1085
|
-
|
|
1086
|
-
class:
|
|
1103
|
+
b("div", {
|
|
1104
|
+
class: D(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1087
1105
|
}, [
|
|
1088
|
-
e.phoneWrap ? (a(), M("div",
|
|
1106
|
+
e.phoneWrap ? (a(), M("div", Ne, [
|
|
1089
1107
|
p(L, {
|
|
1090
1108
|
"popper-class": "input-tooltip",
|
|
1091
1109
|
effect: "light",
|
|
@@ -1098,7 +1116,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1098
1116
|
return [
|
|
1099
1117
|
l.field.nationCode ? (a(), i(B, {
|
|
1100
1118
|
key: 0,
|
|
1101
|
-
class:
|
|
1119
|
+
class: D(["tooltip-select", (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]),
|
|
1102
1120
|
id: l.field.nationCode,
|
|
1103
1121
|
onMouseenter: (d) => e.visibilityChange(l.field.nationCode),
|
|
1104
1122
|
"popper-class": "selectTriangles",
|
|
@@ -1128,7 +1146,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1128
1146
|
}),
|
|
1129
1147
|
_: 2
|
|
1130
1148
|
}, 1032, ["content", "disabled"]),
|
|
1131
|
-
|
|
1149
|
+
Te,
|
|
1132
1150
|
p(L, {
|
|
1133
1151
|
"popper-class": "input-tooltip",
|
|
1134
1152
|
effect: "light",
|
|
@@ -1141,7 +1159,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1141
1159
|
return [
|
|
1142
1160
|
l.field.areaCode ? (a(), i(j, {
|
|
1143
1161
|
key: 0,
|
|
1144
|
-
class:
|
|
1162
|
+
class: D(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1145
1163
|
id: l.field.areaCode,
|
|
1146
1164
|
onMouseenter: (d) => e.visibilityChange(l.field.areaCode),
|
|
1147
1165
|
onBlur: (d) => e.inputBlur(
|
|
@@ -1172,7 +1190,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1172
1190
|
}),
|
|
1173
1191
|
_: 2
|
|
1174
1192
|
}, 1032, ["content", "disabled"]),
|
|
1175
|
-
|
|
1193
|
+
Ie
|
|
1176
1194
|
])) : c("", !0),
|
|
1177
1195
|
p(L, {
|
|
1178
1196
|
"popper-class": "input-tooltip",
|
|
@@ -1186,7 +1204,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1186
1204
|
return [
|
|
1187
1205
|
l.field.nationCode && !e.phoneWrap ? (a(), i(B, {
|
|
1188
1206
|
key: 0,
|
|
1189
|
-
class:
|
|
1207
|
+
class: D([
|
|
1190
1208
|
"tooltip-select",
|
|
1191
1209
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1192
1210
|
]),
|
|
@@ -1219,7 +1237,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1219
1237
|
}),
|
|
1220
1238
|
_: 2
|
|
1221
1239
|
}, 1032, ["content", "disabled"]),
|
|
1222
|
-
e.phoneWrap ? c("", !0) : (a(), M("div",
|
|
1240
|
+
e.phoneWrap ? c("", !0) : (a(), M("div", he, " - ")),
|
|
1223
1241
|
p(L, {
|
|
1224
1242
|
"popper-class": "input-tooltip",
|
|
1225
1243
|
effect: "light",
|
|
@@ -1232,7 +1250,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1232
1250
|
return [
|
|
1233
1251
|
l.field.areaCode && !e.phoneWrap ? (a(), i(j, {
|
|
1234
1252
|
key: 0,
|
|
1235
|
-
class:
|
|
1253
|
+
class: D([
|
|
1236
1254
|
"tooltip-input",
|
|
1237
1255
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1238
1256
|
]),
|
|
@@ -1267,7 +1285,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1267
1285
|
}),
|
|
1268
1286
|
_: 2
|
|
1269
1287
|
}, 1032, ["content", "disabled"]),
|
|
1270
|
-
e.phoneWrap ? c("", !0) : (a(), M("div",
|
|
1288
|
+
e.phoneWrap ? c("", !0) : (a(), M("div", je, " - ")),
|
|
1271
1289
|
p(L, {
|
|
1272
1290
|
"popper-class": "input-tooltip",
|
|
1273
1291
|
effect: "light",
|
|
@@ -1278,7 +1296,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1278
1296
|
default: n(() => [
|
|
1279
1297
|
l.field.phoneNumber ? (a(), i(j, {
|
|
1280
1298
|
key: 0,
|
|
1281
|
-
class:
|
|
1299
|
+
class: D([
|
|
1282
1300
|
"tooltip-input",
|
|
1283
1301
|
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1284
1302
|
]),
|
|
@@ -1314,19 +1332,19 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1314
1332
|
], 2)
|
|
1315
1333
|
]),
|
|
1316
1334
|
_: 2
|
|
1317
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(
|
|
1335
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(N, {
|
|
1318
1336
|
key: 14,
|
|
1319
1337
|
label: l.label
|
|
1320
1338
|
}, {
|
|
1321
1339
|
default: n(() => [
|
|
1322
|
-
|
|
1340
|
+
Oe
|
|
1323
1341
|
]),
|
|
1324
1342
|
_: 2
|
|
1325
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), i(
|
|
1343
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), i(N, {
|
|
1326
1344
|
key: 15,
|
|
1327
1345
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1328
1346
|
prop: l.field,
|
|
1329
|
-
class:
|
|
1347
|
+
class: D(l.prepend ? "input-item" : "")
|
|
1330
1348
|
}, {
|
|
1331
1349
|
label: n(() => [
|
|
1332
1350
|
l.slotLabelName ? h(g.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
@@ -1334,7 +1352,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1334
1352
|
style: t(l.labelStyle)
|
|
1335
1353
|
}, [
|
|
1336
1354
|
T(y(l.label) + " ", 1),
|
|
1337
|
-
l.required ? (a(), M("span",
|
|
1355
|
+
l.required ? (a(), M("span", Ae, "*")) : c("", !0)
|
|
1338
1356
|
], 4))
|
|
1339
1357
|
]),
|
|
1340
1358
|
default: n(() => [
|
|
@@ -1367,7 +1385,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1367
1385
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1368
1386
|
showPassword: l.showPassword,
|
|
1369
1387
|
clearable: l.clearable,
|
|
1370
|
-
class:
|
|
1388
|
+
class: D(
|
|
1371
1389
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1372
1390
|
),
|
|
1373
1391
|
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
@@ -1389,11 +1407,11 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1389
1407
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1390
1408
|
]),
|
|
1391
1409
|
_: 2
|
|
1392
|
-
}, 1032, ["rules", "prop", "class"])) : (a(), i(
|
|
1410
|
+
}, 1032, ["rules", "prop", "class"])) : (a(), i(N, {
|
|
1393
1411
|
key: 16,
|
|
1394
1412
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1395
1413
|
prop: l.field,
|
|
1396
|
-
class:
|
|
1414
|
+
class: D(l.prepend ? "input-item" : "")
|
|
1397
1415
|
}, {
|
|
1398
1416
|
label: n(() => [
|
|
1399
1417
|
l.slotLabelName ? h(g.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
@@ -1401,7 +1419,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1401
1419
|
style: t(l.labelStyle)
|
|
1402
1420
|
}, [
|
|
1403
1421
|
T(y(l.label) + " ", 1),
|
|
1404
|
-
l.required ? (a(), M("span",
|
|
1422
|
+
l.required ? (a(), M("span", ke, "*")) : c("", !0)
|
|
1405
1423
|
], 4))
|
|
1406
1424
|
]),
|
|
1407
1425
|
default: n(() => [
|
|
@@ -1414,7 +1432,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1414
1432
|
}, {
|
|
1415
1433
|
default: n(() => [
|
|
1416
1434
|
p(j, {
|
|
1417
|
-
class:
|
|
1435
|
+
class: D(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1418
1436
|
id: l.field,
|
|
1419
1437
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
1420
1438
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1459,12 +1477,12 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1459
1477
|
]),
|
|
1460
1478
|
_: 2
|
|
1461
1479
|
}, 1032, ["xs", "sm", "md", "lg", "xl"])), [
|
|
1462
|
-
[
|
|
1480
|
+
[Yl, !l.isHide]
|
|
1463
1481
|
])), 128))
|
|
1464
1482
|
]),
|
|
1465
1483
|
_: 3
|
|
1466
1484
|
}),
|
|
1467
|
-
p(
|
|
1485
|
+
p(N, { class: "btnsItem" }, {
|
|
1468
1486
|
default: n(() => [
|
|
1469
1487
|
h(g.$slots, "buttons", {
|
|
1470
1488
|
model: z.model,
|
|
@@ -1495,7 +1513,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1495
1513
|
fontSize: l.fontSize,
|
|
1496
1514
|
fontWeight: l.fontWeight,
|
|
1497
1515
|
style: t(l.style),
|
|
1498
|
-
class:
|
|
1516
|
+
class: D(l.class),
|
|
1499
1517
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1500
1518
|
}, {
|
|
1501
1519
|
default: n(() => [
|
|
@@ -1512,7 +1530,7 @@ function Ae(g, u, z, e, _, C) {
|
|
|
1512
1530
|
_: 3
|
|
1513
1531
|
}, 16, ["model", "label-position"]);
|
|
1514
1532
|
}
|
|
1515
|
-
const ul = /* @__PURE__ */ Wl
|
|
1533
|
+
const ul = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-53b0a038"]]);
|
|
1516
1534
|
function ol(g, u = {}) {
|
|
1517
1535
|
ol.installed || (ol.installed = !0, g.component("common-el-form", ul));
|
|
1518
1536
|
}
|