sinosoft-common-form 2.0.1 → 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 +140 -135
- 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 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
|
|
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
2
|
const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuM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= 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
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 && u("selectChangeScroll");
|
|
42
42
|
}, U = (s, r) => {
|
|
43
43
|
if (s) {
|
|
44
44
|
const f = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
45
|
-
f && f.addEventListener("scroll", E),
|
|
45
|
+
f && f.addEventListener("scroll", E), u("handleVisibleChange", s, r);
|
|
46
46
|
}
|
|
47
47
|
}, F = ll({
|
|
48
48
|
render() {
|
|
@@ -58,24 +58,24 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
58
58
|
var P;
|
|
59
59
|
(P = C.value) == null || P.validate(($) => {
|
|
60
60
|
if ($)
|
|
61
|
-
|
|
61
|
+
u(f || "submit", e.model, s);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) : r ? (f === "reset" && ((x = C.value) == null || x.resetFields()),
|
|
65
|
+
})) : r ? (f === "reset" && ((x = C.value) == null || x.resetFields()), u(f || "submit", e.model, s)) : (z.value = !1, u(f || "submit", e.model, s, C.value));
|
|
66
66
|
}, R = (s, r) => {
|
|
67
|
-
|
|
67
|
+
u("selectChange", s, r);
|
|
68
68
|
}, B = (s, r) => {
|
|
69
|
-
|
|
69
|
+
u("radioChange", s, r);
|
|
70
70
|
}, L = (s, r) => {
|
|
71
|
-
|
|
71
|
+
u("checkChange", s, r);
|
|
72
72
|
}, K = (s, r) => {
|
|
73
73
|
const f = e.model[r].length;
|
|
74
74
|
if (f === 1) {
|
|
75
|
-
|
|
75
|
+
u("checkChange", s, r);
|
|
76
76
|
return;
|
|
77
77
|
} else
|
|
78
|
-
f > 1 ? (e.model[r].shift(),
|
|
78
|
+
f > 1 ? (e.model[r].shift(), u("checkChange", s, r)) : f < 1 && u("checkChange", s, r);
|
|
79
79
|
}, G = (s, r, f) => {
|
|
80
80
|
S(s, r, f);
|
|
81
81
|
}, q = (s, r) => {
|
|
@@ -83,19 +83,19 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
83
83
|
}, J = (s, r, f) => {
|
|
84
84
|
var sl, rl;
|
|
85
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"),
|
|
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) => {
|
|
90
|
-
|
|
90
|
+
u("onOk", s, r);
|
|
91
91
|
}, o = (s, r) => {
|
|
92
|
-
|
|
92
|
+
u("inputBlur", s, r);
|
|
93
93
|
}, d = (s, r) => {
|
|
94
|
-
|
|
94
|
+
u("inputFocus", s, r);
|
|
95
95
|
}, O = (s, r) => {
|
|
96
|
-
|
|
96
|
+
u("inputChange", s, r);
|
|
97
97
|
}, Q = (s, r) => {
|
|
98
|
-
|
|
98
|
+
u("inputInput", s, r);
|
|
99
99
|
}, gl = (s) => {
|
|
100
100
|
if (s) {
|
|
101
101
|
var r = document.getElementById(s), f = r.offsetWidth, x = r.scrollWidth;
|
|
@@ -132,13 +132,13 @@ const Vl = "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
|
-
console.log("getDefaultToady"), e.model[r] = s.format("DD/MM/YYYY"),
|
|
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),
|
|
137
|
+
s || (m.value += 1), u("openChange", s);
|
|
138
138
|
}, Il = (s, r) => {
|
|
139
|
-
s || (m.value += 1),
|
|
139
|
+
s || (m.value += 1), u("openDatePickerDaterange", s);
|
|
140
140
|
}, hl = (s) => {
|
|
141
|
-
s || (dl.value += 1),
|
|
141
|
+
s || (dl.value += 1), u("openDatetimerange", s);
|
|
142
142
|
};
|
|
143
143
|
return {
|
|
144
144
|
...xl(e),
|
|
@@ -151,7 +151,7 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
151
151
|
radioChange: B,
|
|
152
152
|
checkChange: L,
|
|
153
153
|
handleCheckedChange: K,
|
|
154
|
-
prefixIcon:
|
|
154
|
+
prefixIcon: N,
|
|
155
155
|
IconDropDown: j,
|
|
156
156
|
IconClear: F,
|
|
157
157
|
handleClick: G,
|
|
@@ -184,12 +184,12 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|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DE4LjkzOTNMNy44MTc5NCAyMFpNMTAuOTk5OSAxOC45MzkzTDUuOTk5OTIgMTMuOTM5M0wzLjg3ODYgMTYuMDYwN0w4Ljg3ODYgMjEuMDYwN0wxMC45OTk5IDE4LjkzOTNaTTUuOTk5OTIgMjYuMDYwN0wxMC45OTk5IDIxLjA2MDdMOC44Nzg2IDE4LjkzOTNMMy44Nzg2IDIzLjkzOTNMNS45OTk5MiAyNi4wNjA3Wk0zLjg3ODYgMTMuOTM5M0wyLjgxNzk0IDE1TDQuOTM5MjYgMTcuMTIxM0w1Ljk5OTkyIDE2LjA2MDdMMy44Nzg2IDEzLjkzOTNaTTIuODE3OTQgMjVMMy44Nzg2IDI2LjA2MDdMNS45OTk5MiAyMy45MzkzTDQuOTM5MjYgMjIuODc4N0wyLjgxNzk0IDI1Wk02Ljc1NzI4IDE4LjkzOTNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
187
|
-
const Bl = (g,
|
|
187
|
+
const Bl = (g, u) => {
|
|
188
188
|
const z = g.__vccOpts || g;
|
|
189
|
-
for (const [e, _] of
|
|
189
|
+
for (const [e, _] of u)
|
|
190
190
|
z[e] = _;
|
|
191
191
|
return z;
|
|
192
|
-
}, w = (g) => (vl("data-v-
|
|
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
195
|
}, Pl = {
|
|
@@ -216,16 +216,16 @@ const Bl = (g, c) => {
|
|
|
216
216
|
}, ne = {
|
|
217
217
|
key: 0,
|
|
218
218
|
class: "custom-required"
|
|
219
|
-
}, de = ["onClick"], se = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
219
|
+
}, de = ["onClick"], se = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
220
220
|
src: Ml,
|
|
221
221
|
alt: ""
|
|
222
|
-
}, null, -1)), re = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
222
|
+
}, null, -1)), re = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
223
223
|
src: il,
|
|
224
224
|
alt: ""
|
|
225
|
-
}, null, -1)), Me = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
225
|
+
}, null, -1)), Me = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
226
226
|
src: yl,
|
|
227
227
|
alt: ""
|
|
228
|
-
}, null, -1)), ie = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
228
|
+
}, null, -1)), ie = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
229
229
|
src: cl,
|
|
230
230
|
alt: ""
|
|
231
231
|
}, null, -1)), ye = {
|
|
@@ -234,16 +234,16 @@ const Bl = (g, c) => {
|
|
|
234
234
|
}, ce = {
|
|
235
235
|
key: 0,
|
|
236
236
|
class: "custom-required"
|
|
237
|
-
}, ue = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
237
|
+
}, ue = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
238
238
|
src: Ml,
|
|
239
239
|
alt: ""
|
|
240
|
-
}, null, -1)), ge = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
240
|
+
}, null, -1)), ge = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
241
241
|
src: il,
|
|
242
242
|
alt: ""
|
|
243
|
-
}, null, -1)), pe = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
243
|
+
}, null, -1)), pe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
244
244
|
src: yl,
|
|
245
245
|
alt: ""
|
|
246
|
-
}, null, -1)), fe = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
246
|
+
}, null, -1)), fe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
247
247
|
src: cl,
|
|
248
248
|
alt: ""
|
|
249
249
|
}, null, -1)), te = {
|
|
@@ -258,13 +258,13 @@ const Bl = (g, c) => {
|
|
|
258
258
|
}, Ne = {
|
|
259
259
|
key: 0,
|
|
260
260
|
class: "phone_item_content_before"
|
|
261
|
-
}, Te = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
261
|
+
}, Te = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), Ie = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", { class: "line_middle" }, "-", -1)), he = {
|
|
262
262
|
key: 1,
|
|
263
263
|
class: "line_middle"
|
|
264
264
|
}, je = {
|
|
265
265
|
key: 2,
|
|
266
266
|
class: "line_middle"
|
|
267
|
-
}, Oe = /* @__PURE__ */ w(() => /* @__PURE__ */
|
|
267
|
+
}, Oe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", {
|
|
268
268
|
class: "line",
|
|
269
269
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
270
270
|
}, null, -1)), Ae = {
|
|
@@ -274,11 +274,11 @@ const Bl = (g, c) => {
|
|
|
274
274
|
key: 0,
|
|
275
275
|
class: "custom-required"
|
|
276
276
|
};
|
|
277
|
-
function we(g,
|
|
278
|
-
const
|
|
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
279
|
return a(), i(J, El({
|
|
280
280
|
"hide-required-asterisk": "",
|
|
281
|
-
onSubmit:
|
|
281
|
+
onSubmit: u[0] || (u[0] = _l(() => {
|
|
282
282
|
}, ["prevent"])),
|
|
283
283
|
model: z.model
|
|
284
284
|
}, e.formOptions, {
|
|
@@ -298,17 +298,17 @@ function we(g, c, z, e, _, C) {
|
|
|
298
298
|
key: Z
|
|
299
299
|
}, {
|
|
300
300
|
default: n(() => [
|
|
301
|
-
|
|
301
|
+
b("div", {
|
|
302
302
|
style: t(l.style)
|
|
303
303
|
}, [
|
|
304
|
-
l.type === "title" ? (a(), i(
|
|
304
|
+
l.type === "title" ? (a(), i(N, { key: 0 }, {
|
|
305
305
|
default: n(() => [
|
|
306
|
-
|
|
307
|
-
|
|
306
|
+
b("div", Zl, [
|
|
307
|
+
b("span", Ql, y(l.title), 1)
|
|
308
308
|
])
|
|
309
309
|
]),
|
|
310
310
|
_: 2
|
|
311
|
-
}, 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, {
|
|
312
312
|
key: 1,
|
|
313
313
|
label: l.label,
|
|
314
314
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -320,7 +320,7 @@ function we(g, c, z, e, _, C) {
|
|
|
320
320
|
style: t(l.labelStyle)
|
|
321
321
|
}, [
|
|
322
322
|
T(y(l.label) + " ", 1),
|
|
323
|
-
l.required ? (a(), M("span", Gl, "*")) :
|
|
323
|
+
l.required ? (a(), M("span", Gl, "*")) : c("", !0)
|
|
324
324
|
], 4))
|
|
325
325
|
]),
|
|
326
326
|
default: n(() => [
|
|
@@ -334,7 +334,7 @@ function we(g, c, z, e, _, C) {
|
|
|
334
334
|
xl: 12
|
|
335
335
|
}, {
|
|
336
336
|
default: n(() => [
|
|
337
|
-
l.field.nameEnFamily ? (a(), i(
|
|
337
|
+
l.field.nameEnFamily ? (a(), i(N, {
|
|
338
338
|
key: 0,
|
|
339
339
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
340
340
|
prop: l.field.nameEnFamily,
|
|
@@ -346,7 +346,7 @@ function we(g, c, z, e, _, C) {
|
|
|
346
346
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
347
347
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
348
348
|
onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
|
|
349
|
-
class:
|
|
349
|
+
class: D(
|
|
350
350
|
(l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
351
351
|
),
|
|
352
352
|
maxlength: l.maxlengthNameEnFamily,
|
|
@@ -360,7 +360,7 @@ function we(g, c, z, e, _, C) {
|
|
|
360
360
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
361
361
|
]),
|
|
362
362
|
_: 2
|
|
363
|
-
}, 1032, ["rules", "prop"])) :
|
|
363
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
364
364
|
]),
|
|
365
365
|
_: 2
|
|
366
366
|
}, 1024),
|
|
@@ -372,7 +372,7 @@ function we(g, c, z, e, _, C) {
|
|
|
372
372
|
xl: 12
|
|
373
373
|
}, {
|
|
374
374
|
default: n(() => [
|
|
375
|
-
l.field.nameEn ? (a(), i(
|
|
375
|
+
l.field.nameEn ? (a(), i(N, {
|
|
376
376
|
key: 0,
|
|
377
377
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
378
378
|
prop: l.field.nameEn,
|
|
@@ -387,7 +387,7 @@ function we(g, c, z, e, _, C) {
|
|
|
387
387
|
maxlength: l.maxlengthNameEn,
|
|
388
388
|
modelValue: e.states.model[l.field.nameEn],
|
|
389
389
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
390
|
-
class:
|
|
390
|
+
class: D(
|
|
391
391
|
(l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
392
392
|
),
|
|
393
393
|
readonly: l.readonly,
|
|
@@ -398,7 +398,7 @@ function we(g, c, z, e, _, C) {
|
|
|
398
398
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
399
399
|
]),
|
|
400
400
|
_: 2
|
|
401
|
-
}, 1032, ["rules", "prop"])) :
|
|
401
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
402
402
|
]),
|
|
403
403
|
_: 2
|
|
404
404
|
}, 1024)
|
|
@@ -415,7 +415,7 @@ function we(g, c, z, e, _, C) {
|
|
|
415
415
|
xl: 12
|
|
416
416
|
}, {
|
|
417
417
|
default: n(() => [
|
|
418
|
-
l.field.nameChFamily ? (a(), i(
|
|
418
|
+
l.field.nameChFamily ? (a(), i(N, {
|
|
419
419
|
key: 0,
|
|
420
420
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
421
421
|
prop: l.field.nameChFamily,
|
|
@@ -431,7 +431,7 @@ function we(g, c, z, e, _, C) {
|
|
|
431
431
|
"nameChFamily" in l.field ? l.field.nameCh : ""
|
|
432
432
|
),
|
|
433
433
|
maxlength: l.maxlengthNameChFamily,
|
|
434
|
-
class:
|
|
434
|
+
class: D(
|
|
435
435
|
(l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
436
436
|
),
|
|
437
437
|
modelValue: e.states.model[l.field.nameChFamily],
|
|
@@ -444,7 +444,7 @@ function we(g, c, z, e, _, C) {
|
|
|
444
444
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
445
445
|
]),
|
|
446
446
|
_: 2
|
|
447
|
-
}, 1032, ["rules", "prop"])) :
|
|
447
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
448
448
|
]),
|
|
449
449
|
_: 2
|
|
450
450
|
}, 1024),
|
|
@@ -456,7 +456,7 @@ function we(g, c, z, e, _, C) {
|
|
|
456
456
|
xl: 12
|
|
457
457
|
}, {
|
|
458
458
|
default: n(() => [
|
|
459
|
-
l.field.nameCh ? (a(), i(
|
|
459
|
+
l.field.nameCh ? (a(), i(N, {
|
|
460
460
|
key: 0,
|
|
461
461
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
462
462
|
prop: l.field.nameCh,
|
|
@@ -468,7 +468,7 @@ function we(g, c, z, e, _, C) {
|
|
|
468
468
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
469
469
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
470
470
|
onInput: (o) => e.inputInput(o, l.field.nameCh),
|
|
471
|
-
class:
|
|
471
|
+
class: D(
|
|
472
472
|
(l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
473
473
|
),
|
|
474
474
|
maxlength: l.maxlengthNameCh,
|
|
@@ -482,7 +482,7 @@ function we(g, c, z, e, _, C) {
|
|
|
482
482
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
483
483
|
]),
|
|
484
484
|
_: 2
|
|
485
|
-
}, 1032, ["rules", "prop"])) :
|
|
485
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
486
486
|
]),
|
|
487
487
|
_: 2
|
|
488
488
|
}, 1024)
|
|
@@ -491,7 +491,7 @@ function we(g, c, z, e, _, C) {
|
|
|
491
491
|
}, 1024)
|
|
492
492
|
]),
|
|
493
493
|
_: 2
|
|
494
|
-
}, 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, {
|
|
495
495
|
key: 2,
|
|
496
496
|
label: l.label,
|
|
497
497
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -504,7 +504,7 @@ function we(g, c, z, e, _, C) {
|
|
|
504
504
|
style: t(l.labelStyle)
|
|
505
505
|
}, [
|
|
506
506
|
T(y(l.label) + " ", 1),
|
|
507
|
-
l.required ? (a(), M("span", Pl, "*")) :
|
|
507
|
+
l.required ? (a(), M("span", Pl, "*")) : c("", !0)
|
|
508
508
|
], 4))
|
|
509
509
|
]),
|
|
510
510
|
default: n(() => [
|
|
@@ -523,7 +523,7 @@ function we(g, c, z, e, _, C) {
|
|
|
523
523
|
key: d.code
|
|
524
524
|
}, {
|
|
525
525
|
default: n(() => [
|
|
526
|
-
|
|
526
|
+
b("img", {
|
|
527
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",
|
|
528
528
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
529
529
|
alt: ""
|
|
@@ -537,12 +537,12 @@ function we(g, c, z, e, _, C) {
|
|
|
537
537
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
538
538
|
]),
|
|
539
539
|
_: 2
|
|
540
|
-
}, 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, {
|
|
541
541
|
key: 3,
|
|
542
542
|
label: l.label,
|
|
543
543
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
544
544
|
prop: l.field,
|
|
545
|
-
class:
|
|
545
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
546
546
|
}, {
|
|
547
547
|
label: n(() => [
|
|
548
548
|
l.slotLabelName ? h(g.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
@@ -550,7 +550,7 @@ function we(g, c, z, e, _, C) {
|
|
|
550
550
|
style: t(l.labelStyle)
|
|
551
551
|
}, [
|
|
552
552
|
T(y(l.label) + " ", 1),
|
|
553
|
-
l.required ? (a(), M("span", Kl, "*")) :
|
|
553
|
+
l.required ? (a(), M("span", Kl, "*")) : c("", !0)
|
|
554
554
|
], 4))
|
|
555
555
|
]),
|
|
556
556
|
default: n(() => [
|
|
@@ -562,7 +562,7 @@ function we(g, c, z, e, _, C) {
|
|
|
562
562
|
style: t(
|
|
563
563
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
564
564
|
),
|
|
565
|
-
class:
|
|
565
|
+
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
566
566
|
}, {
|
|
567
567
|
default: n(() => {
|
|
568
568
|
var o;
|
|
@@ -584,18 +584,18 @@ function we(g, c, z, e, _, C) {
|
|
|
584
584
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
585
585
|
]),
|
|
586
586
|
_: 2
|
|
587
|
-
}, 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, {
|
|
588
588
|
key: 4,
|
|
589
589
|
label: l.label,
|
|
590
590
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
591
591
|
prop: l.field,
|
|
592
|
-
class:
|
|
592
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
593
593
|
}, {
|
|
594
594
|
default: n(() => [
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
l.required ? (a(), M("span", Xl, "*")) :
|
|
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)
|
|
599
599
|
]),
|
|
600
600
|
p(W, {
|
|
601
601
|
modelValue: e.states.model[l.field],
|
|
@@ -605,7 +605,7 @@ function we(g, c, z, e, _, C) {
|
|
|
605
605
|
style: t(
|
|
606
606
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
607
607
|
),
|
|
608
|
-
class:
|
|
608
|
+
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
609
609
|
}, {
|
|
610
610
|
default: n(() => {
|
|
611
611
|
var o;
|
|
@@ -626,7 +626,7 @@ function we(g, c, z, e, _, C) {
|
|
|
626
626
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
627
627
|
]),
|
|
628
628
|
_: 2
|
|
629
|
-
}, 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, {
|
|
630
630
|
key: 5,
|
|
631
631
|
label: l.label,
|
|
632
632
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -638,7 +638,7 @@ function we(g, c, z, e, _, C) {
|
|
|
638
638
|
style: t(l.labelStyle)
|
|
639
639
|
}, [
|
|
640
640
|
T(y(l.label) + " ", 1),
|
|
641
|
-
l.required ? (a(), M("span", ml, "*")) :
|
|
641
|
+
l.required ? (a(), M("span", ml, "*")) : c("", !0)
|
|
642
642
|
], 4))
|
|
643
643
|
]),
|
|
644
644
|
default: n(() => [
|
|
@@ -670,7 +670,7 @@ function we(g, c, z, e, _, C) {
|
|
|
670
670
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
671
671
|
]),
|
|
672
672
|
_: 2
|
|
673
|
-
}, 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, {
|
|
674
674
|
key: 6,
|
|
675
675
|
label: l.label,
|
|
676
676
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -682,7 +682,7 @@ function we(g, c, z, e, _, C) {
|
|
|
682
682
|
style: t(l.labelStyle)
|
|
683
683
|
}, [
|
|
684
684
|
T(y(l.label) + " ", 1),
|
|
685
|
-
l.required ? (a(), M("span", $l, "*")) :
|
|
685
|
+
l.required ? (a(), M("span", $l, "*")) : c("", !0)
|
|
686
686
|
], 4))
|
|
687
687
|
]),
|
|
688
688
|
default: n(() => [
|
|
@@ -714,18 +714,18 @@ function we(g, c, z, e, _, C) {
|
|
|
714
714
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
715
715
|
]),
|
|
716
716
|
_: 2
|
|
717
|
-
}, 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, {
|
|
718
718
|
key: 7,
|
|
719
719
|
label: l.label,
|
|
720
720
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
721
721
|
prop: l.field,
|
|
722
|
-
class:
|
|
722
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
723
723
|
}, {
|
|
724
724
|
default: n(() => [
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
l.required ? (a(), M("span", oe, "*")) :
|
|
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)
|
|
729
729
|
]),
|
|
730
730
|
p(S, {
|
|
731
731
|
modelValue: e.states.model[l.field],
|
|
@@ -755,7 +755,7 @@ function we(g, c, z, e, _, C) {
|
|
|
755
755
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
756
756
|
]),
|
|
757
757
|
_: 2
|
|
758
|
-
}, 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, {
|
|
759
759
|
key: 8,
|
|
760
760
|
label: l.label,
|
|
761
761
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -768,7 +768,7 @@ function we(g, c, z, e, _, C) {
|
|
|
768
768
|
style: t(l.labelStyle)
|
|
769
769
|
}, [
|
|
770
770
|
T(y(l.label) + " ", 1),
|
|
771
|
-
l.required ? (a(), M("span", ae, "*")) :
|
|
771
|
+
l.required ? (a(), M("span", ae, "*")) : c("", !0)
|
|
772
772
|
], 4))
|
|
773
773
|
]),
|
|
774
774
|
default: n(() => {
|
|
@@ -783,7 +783,7 @@ function we(g, c, z, e, _, C) {
|
|
|
783
783
|
}, {
|
|
784
784
|
default: n(() => [
|
|
785
785
|
p(B, {
|
|
786
|
-
class:
|
|
786
|
+
class: D(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
787
787
|
id: l.field,
|
|
788
788
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
789
789
|
"popper-class": l.selectPaging === !0 ? "single-select-loadmore" : "selectTriangles",
|
|
@@ -818,7 +818,7 @@ function we(g, c, z, e, _, C) {
|
|
|
818
818
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
819
819
|
class: "select-loading",
|
|
820
820
|
disabled: ""
|
|
821
|
-
}, null, 8, ["label"])) :
|
|
821
|
+
}, null, 8, ["label"])) : c("", !0)
|
|
822
822
|
];
|
|
823
823
|
}),
|
|
824
824
|
_: 2
|
|
@@ -826,14 +826,14 @@ function we(g, c, z, e, _, C) {
|
|
|
826
826
|
]),
|
|
827
827
|
_: 2
|
|
828
828
|
}, 1032, ["content", "disabled"]),
|
|
829
|
-
|
|
829
|
+
b("div", {
|
|
830
830
|
class: "item_tips_blow",
|
|
831
831
|
style: t(l.tipsBlowStyle)
|
|
832
832
|
}, y(l.tipsBlow), 5)
|
|
833
833
|
];
|
|
834
834
|
}),
|
|
835
835
|
_: 2
|
|
836
|
-
}, 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, {
|
|
837
837
|
key: 9,
|
|
838
838
|
label: l.label,
|
|
839
839
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -846,7 +846,7 @@ function we(g, c, z, e, _, C) {
|
|
|
846
846
|
style: t(l.labelStyle)
|
|
847
847
|
}, [
|
|
848
848
|
T(y(l.label) + " ", 1),
|
|
849
|
-
l.required ? (a(), M("span", ne, "*")) :
|
|
849
|
+
l.required ? (a(), M("span", ne, "*")) : c("", !0)
|
|
850
850
|
], 4))
|
|
851
851
|
]),
|
|
852
852
|
default: n(() => [
|
|
@@ -868,7 +868,7 @@ function we(g, c, z, e, _, C) {
|
|
|
868
868
|
picker: l.picker,
|
|
869
869
|
placeholder: l.placeholder || l.label,
|
|
870
870
|
key: e.pickerKey,
|
|
871
|
-
class:
|
|
871
|
+
class: D(
|
|
872
872
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
873
873
|
),
|
|
874
874
|
presets: l == null ? void 0 : l.presets,
|
|
@@ -905,7 +905,7 @@ function we(g, c, z, e, _, C) {
|
|
|
905
905
|
l != null && l.defaultToady ? {
|
|
906
906
|
name: "dateRender",
|
|
907
907
|
fn: n(({ current: o }) => [
|
|
908
|
-
|
|
908
|
+
b("div", {
|
|
909
909
|
class: "ant-picker-cell-inner",
|
|
910
910
|
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
911
911
|
}, y(o.date()), 5)
|
|
@@ -915,18 +915,23 @@ function we(g, c, z, e, _, C) {
|
|
|
915
915
|
!(l != null && l.ToadyStatus) || l != null && l.ToadyStatus ? {
|
|
916
916
|
name: "renderExtraFooter",
|
|
917
917
|
fn: n(() => [
|
|
918
|
-
|
|
919
|
-
|
|
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"]),
|
|
920
925
|
onClick: (o) => e.getDefaultToady((l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date(), l.field)
|
|
921
|
-
}, "Toady",
|
|
926
|
+
}, "Toady", 10, de))
|
|
922
927
|
]),
|
|
923
928
|
key: "1"
|
|
924
929
|
} : void 0
|
|
925
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"])),
|
|
926
|
-
l.showTo ? (a(), M("span", ye, y(l.showTo), 1)) :
|
|
931
|
+
l.showTo ? (a(), M("span", ye, y(l.showTo), 1)) : c("", !0)
|
|
927
932
|
]),
|
|
928
933
|
_: 2
|
|
929
|
-
}, 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, {
|
|
930
935
|
key: 10,
|
|
931
936
|
label: l.label,
|
|
932
937
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -938,7 +943,7 @@ function we(g, c, z, e, _, C) {
|
|
|
938
943
|
style: t(l.labelStyle)
|
|
939
944
|
}, [
|
|
940
945
|
T(y(l.label) + " ", 1),
|
|
941
|
-
l.required ? (a(), M("span", ce, "*")) :
|
|
946
|
+
l.required ? (a(), M("span", ce, "*")) : c("", !0)
|
|
942
947
|
], 4))
|
|
943
948
|
]),
|
|
944
949
|
default: n(() => [
|
|
@@ -959,7 +964,7 @@ function we(g, c, z, e, _, C) {
|
|
|
959
964
|
separator: l.separator || "To",
|
|
960
965
|
placeholder: l.placeholder,
|
|
961
966
|
size: "large",
|
|
962
|
-
class:
|
|
967
|
+
class: D(
|
|
963
968
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
964
969
|
),
|
|
965
970
|
key: e.pickerKeyDaterange,
|
|
@@ -995,7 +1000,7 @@ function we(g, c, z, e, _, C) {
|
|
|
995
1000
|
l != null && l.defaultToady ? {
|
|
996
1001
|
name: "dateRender",
|
|
997
1002
|
fn: n(({ current: o }) => [
|
|
998
|
-
|
|
1003
|
+
b("div", {
|
|
999
1004
|
class: "ant-picker-cell-inner",
|
|
1000
1005
|
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
1001
1006
|
}, y(o.date()), 5)
|
|
@@ -1005,7 +1010,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1005
1010
|
]), 1032, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1006
1011
|
]),
|
|
1007
1012
|
_: 2
|
|
1008
|
-
}, 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, {
|
|
1009
1014
|
key: 11,
|
|
1010
1015
|
label: l.label,
|
|
1011
1016
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -1017,7 +1022,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1017
1022
|
style: t(l.labelStyle)
|
|
1018
1023
|
}, [
|
|
1019
1024
|
T(y(l.label) + " ", 1),
|
|
1020
|
-
l.required ? (a(), M("span", te, "*")) :
|
|
1025
|
+
l.required ? (a(), M("span", te, "*")) : c("", !0)
|
|
1021
1026
|
], 4))
|
|
1022
1027
|
]),
|
|
1023
1028
|
default: n(() => [
|
|
@@ -1038,7 +1043,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1038
1043
|
separator: l.separator || "To",
|
|
1039
1044
|
placeholder: l.placeholder,
|
|
1040
1045
|
size: "large",
|
|
1041
|
-
class:
|
|
1046
|
+
class: D(
|
|
1042
1047
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1043
1048
|
),
|
|
1044
1049
|
key: e.datetimerange,
|
|
@@ -1058,7 +1063,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1058
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"]))
|
|
1059
1064
|
]),
|
|
1060
1065
|
_: 2
|
|
1061
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), i(
|
|
1066
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), i(N, {
|
|
1062
1067
|
key: 12,
|
|
1063
1068
|
label: l.label,
|
|
1064
1069
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -1071,14 +1076,14 @@ function we(g, c, z, e, _, C) {
|
|
|
1071
1076
|
style: t(l.labelStyle)
|
|
1072
1077
|
}, [
|
|
1073
1078
|
T(y(l.label) + " ", 1),
|
|
1074
|
-
l.required ? (a(), M("span", De, "*")) :
|
|
1079
|
+
l.required ? (a(), M("span", De, "*")) : c("", !0)
|
|
1075
1080
|
], 4))
|
|
1076
1081
|
]),
|
|
1077
1082
|
default: n(() => [
|
|
1078
1083
|
h(g.$slots, l.slotItemName, {}, void 0, !0)
|
|
1079
1084
|
]),
|
|
1080
1085
|
_: 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(
|
|
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, {
|
|
1082
1087
|
key: 13,
|
|
1083
1088
|
label: l.label,
|
|
1084
1089
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
@@ -1091,12 +1096,12 @@ function we(g, c, z, e, _, C) {
|
|
|
1091
1096
|
style: t(l.labelStyle)
|
|
1092
1097
|
}, [
|
|
1093
1098
|
T(y(l.label) + " ", 1),
|
|
1094
|
-
l.required ? (a(), M("span", be, "*")) :
|
|
1099
|
+
l.required ? (a(), M("span", be, "*")) : c("", !0)
|
|
1095
1100
|
], 4))
|
|
1096
1101
|
]),
|
|
1097
1102
|
default: n(() => [
|
|
1098
|
-
|
|
1099
|
-
class:
|
|
1103
|
+
b("div", {
|
|
1104
|
+
class: D(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1100
1105
|
}, [
|
|
1101
1106
|
e.phoneWrap ? (a(), M("div", Ne, [
|
|
1102
1107
|
p(L, {
|
|
@@ -1111,7 +1116,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1111
1116
|
return [
|
|
1112
1117
|
l.field.nationCode ? (a(), i(B, {
|
|
1113
1118
|
key: 0,
|
|
1114
|
-
class:
|
|
1119
|
+
class: D(["tooltip-select", (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]),
|
|
1115
1120
|
id: l.field.nationCode,
|
|
1116
1121
|
onMouseenter: (d) => e.visibilityChange(l.field.nationCode),
|
|
1117
1122
|
"popper-class": "selectTriangles",
|
|
@@ -1136,7 +1141,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1136
1141
|
];
|
|
1137
1142
|
}),
|
|
1138
1143
|
_: 2
|
|
1139
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1144
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : c("", !0)
|
|
1140
1145
|
];
|
|
1141
1146
|
}),
|
|
1142
1147
|
_: 2
|
|
@@ -1154,7 +1159,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1154
1159
|
return [
|
|
1155
1160
|
l.field.areaCode ? (a(), i(j, {
|
|
1156
1161
|
key: 0,
|
|
1157
|
-
class:
|
|
1162
|
+
class: D(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1158
1163
|
id: l.field.areaCode,
|
|
1159
1164
|
onMouseenter: (d) => e.visibilityChange(l.field.areaCode),
|
|
1160
1165
|
onBlur: (d) => e.inputBlur(
|
|
@@ -1180,13 +1185,13 @@ function we(g, c, z, e, _, C) {
|
|
|
1180
1185
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1181
1186
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1182
1187
|
clearable: l.clearable
|
|
1183
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) :
|
|
1188
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : c("", !0)
|
|
1184
1189
|
];
|
|
1185
1190
|
}),
|
|
1186
1191
|
_: 2
|
|
1187
1192
|
}, 1032, ["content", "disabled"]),
|
|
1188
1193
|
Ie
|
|
1189
|
-
])) :
|
|
1194
|
+
])) : c("", !0),
|
|
1190
1195
|
p(L, {
|
|
1191
1196
|
"popper-class": "input-tooltip",
|
|
1192
1197
|
effect: "light",
|
|
@@ -1199,7 +1204,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1199
1204
|
return [
|
|
1200
1205
|
l.field.nationCode && !e.phoneWrap ? (a(), i(B, {
|
|
1201
1206
|
key: 0,
|
|
1202
|
-
class:
|
|
1207
|
+
class: D([
|
|
1203
1208
|
"tooltip-select",
|
|
1204
1209
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1205
1210
|
]),
|
|
@@ -1227,12 +1232,12 @@ function we(g, c, z, e, _, C) {
|
|
|
1227
1232
|
];
|
|
1228
1233
|
}),
|
|
1229
1234
|
_: 2
|
|
1230
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1235
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : c("", !0)
|
|
1231
1236
|
];
|
|
1232
1237
|
}),
|
|
1233
1238
|
_: 2
|
|
1234
1239
|
}, 1032, ["content", "disabled"]),
|
|
1235
|
-
e.phoneWrap ?
|
|
1240
|
+
e.phoneWrap ? c("", !0) : (a(), M("div", he, " - ")),
|
|
1236
1241
|
p(L, {
|
|
1237
1242
|
"popper-class": "input-tooltip",
|
|
1238
1243
|
effect: "light",
|
|
@@ -1245,7 +1250,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1245
1250
|
return [
|
|
1246
1251
|
l.field.areaCode && !e.phoneWrap ? (a(), i(j, {
|
|
1247
1252
|
key: 0,
|
|
1248
|
-
class:
|
|
1253
|
+
class: D([
|
|
1249
1254
|
"tooltip-input",
|
|
1250
1255
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1251
1256
|
]),
|
|
@@ -1275,12 +1280,12 @@ function we(g, c, z, e, _, C) {
|
|
|
1275
1280
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1276
1281
|
style: t("width:" + l.widthArea),
|
|
1277
1282
|
clearable: l.clearable
|
|
1278
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1283
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : c("", !0)
|
|
1279
1284
|
];
|
|
1280
1285
|
}),
|
|
1281
1286
|
_: 2
|
|
1282
1287
|
}, 1032, ["content", "disabled"]),
|
|
1283
|
-
e.phoneWrap ?
|
|
1288
|
+
e.phoneWrap ? c("", !0) : (a(), M("div", je, " - ")),
|
|
1284
1289
|
p(L, {
|
|
1285
1290
|
"popper-class": "input-tooltip",
|
|
1286
1291
|
effect: "light",
|
|
@@ -1291,7 +1296,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1291
1296
|
default: n(() => [
|
|
1292
1297
|
l.field.phoneNumber ? (a(), i(j, {
|
|
1293
1298
|
key: 0,
|
|
1294
|
-
class:
|
|
1299
|
+
class: D([
|
|
1295
1300
|
"tooltip-input",
|
|
1296
1301
|
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1297
1302
|
]),
|
|
@@ -1320,14 +1325,14 @@ function we(g, c, z, e, _, C) {
|
|
|
1320
1325
|
placeholder: l.placeholder || "",
|
|
1321
1326
|
style: t("width:" + l.widthPhoneNumber),
|
|
1322
1327
|
clearable: l.clearable
|
|
1323
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1328
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : c("", !0)
|
|
1324
1329
|
]),
|
|
1325
1330
|
_: 2
|
|
1326
1331
|
}, 1032, ["content", "disabled"])
|
|
1327
1332
|
], 2)
|
|
1328
1333
|
]),
|
|
1329
1334
|
_: 2
|
|
1330
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(
|
|
1335
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(N, {
|
|
1331
1336
|
key: 14,
|
|
1332
1337
|
label: l.label
|
|
1333
1338
|
}, {
|
|
@@ -1335,11 +1340,11 @@ function we(g, c, z, e, _, C) {
|
|
|
1335
1340
|
Oe
|
|
1336
1341
|
]),
|
|
1337
1342
|
_: 2
|
|
1338
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), i(
|
|
1343
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), i(N, {
|
|
1339
1344
|
key: 15,
|
|
1340
1345
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1341
1346
|
prop: l.field,
|
|
1342
|
-
class:
|
|
1347
|
+
class: D(l.prepend ? "input-item" : "")
|
|
1343
1348
|
}, {
|
|
1344
1349
|
label: n(() => [
|
|
1345
1350
|
l.slotLabelName ? h(g.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
@@ -1347,7 +1352,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1347
1352
|
style: t(l.labelStyle)
|
|
1348
1353
|
}, [
|
|
1349
1354
|
T(y(l.label) + " ", 1),
|
|
1350
|
-
l.required ? (a(), M("span", Ae, "*")) :
|
|
1355
|
+
l.required ? (a(), M("span", Ae, "*")) : c("", !0)
|
|
1351
1356
|
], 4))
|
|
1352
1357
|
]),
|
|
1353
1358
|
default: n(() => [
|
|
@@ -1380,7 +1385,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1380
1385
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1381
1386
|
showPassword: l.showPassword,
|
|
1382
1387
|
clearable: l.clearable,
|
|
1383
|
-
class:
|
|
1388
|
+
class: D(
|
|
1384
1389
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1385
1390
|
),
|
|
1386
1391
|
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
@@ -1402,11 +1407,11 @@ function we(g, c, z, e, _, C) {
|
|
|
1402
1407
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1403
1408
|
]),
|
|
1404
1409
|
_: 2
|
|
1405
|
-
}, 1032, ["rules", "prop", "class"])) : (a(), i(
|
|
1410
|
+
}, 1032, ["rules", "prop", "class"])) : (a(), i(N, {
|
|
1406
1411
|
key: 16,
|
|
1407
1412
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1408
1413
|
prop: l.field,
|
|
1409
|
-
class:
|
|
1414
|
+
class: D(l.prepend ? "input-item" : "")
|
|
1410
1415
|
}, {
|
|
1411
1416
|
label: n(() => [
|
|
1412
1417
|
l.slotLabelName ? h(g.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
@@ -1414,7 +1419,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1414
1419
|
style: t(l.labelStyle)
|
|
1415
1420
|
}, [
|
|
1416
1421
|
T(y(l.label) + " ", 1),
|
|
1417
|
-
l.required ? (a(), M("span", ke, "*")) :
|
|
1422
|
+
l.required ? (a(), M("span", ke, "*")) : c("", !0)
|
|
1418
1423
|
], 4))
|
|
1419
1424
|
]),
|
|
1420
1425
|
default: n(() => [
|
|
@@ -1427,7 +1432,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1427
1432
|
}, {
|
|
1428
1433
|
default: n(() => [
|
|
1429
1434
|
p(j, {
|
|
1430
|
-
class:
|
|
1435
|
+
class: D(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1431
1436
|
id: l.field,
|
|
1432
1437
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
1433
1438
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1477,7 +1482,7 @@ function we(g, c, z, e, _, C) {
|
|
|
1477
1482
|
]),
|
|
1478
1483
|
_: 3
|
|
1479
1484
|
}),
|
|
1480
|
-
p(
|
|
1485
|
+
p(N, { class: "btnsItem" }, {
|
|
1481
1486
|
default: n(() => [
|
|
1482
1487
|
h(g.$slots, "buttons", {
|
|
1483
1488
|
model: z.model,
|
|
@@ -1508,14 +1513,14 @@ function we(g, c, z, e, _, C) {
|
|
|
1508
1513
|
fontSize: l.fontSize,
|
|
1509
1514
|
fontWeight: l.fontWeight,
|
|
1510
1515
|
style: t(l.style),
|
|
1511
|
-
class:
|
|
1516
|
+
class: D(l.class),
|
|
1512
1517
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1513
1518
|
}, {
|
|
1514
1519
|
default: n(() => [
|
|
1515
1520
|
T(y(l.name), 1)
|
|
1516
1521
|
]),
|
|
1517
1522
|
_: 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"])) :
|
|
1523
|
+
}, 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
1524
|
]))), 128))
|
|
1520
1525
|
], !0)
|
|
1521
1526
|
]),
|
|
@@ -1525,8 +1530,8 @@ function we(g, c, z, e, _, C) {
|
|
|
1525
1530
|
_: 3
|
|
1526
1531
|
}, 16, ["model", "label-position"]);
|
|
1527
1532
|
}
|
|
1528
|
-
const ul = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-
|
|
1529
|
-
function ol(g,
|
|
1533
|
+
const ul = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-53b0a038"]]);
|
|
1534
|
+
function ol(g, u = {}) {
|
|
1530
1535
|
ol.installed || (ol.installed = !0, g.component("common-el-form", ul));
|
|
1531
1536
|
}
|
|
1532
1537
|
ul.install = ol;
|