sinosoft-common-form 1.9.3 → 1.9.4
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 +312 -284
- 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
|
|
1
|
+
import { ref as S, reactive as Nl, shallowRef as X, h as $, computed as bl, onMounted as Il, onBeforeUnmount as Tl, watch as jl, toRefs as hl, nextTick as Ol, resolveComponent as h, openBlock as a, createBlock as i, mergeProps as Al, withModifiers as kl, withCtx as n, createVNode as f, createElementBlock as r, Fragment as k, renderList as w, withDirectives as wl, createElementVNode as T, normalizeStyle as D, toDisplayString as c, createTextVNode as I, createCommentVNode as u, renderSlot as O, normalizeClass as N, withKeys as F, createSlots as sl, vShow as zl, pushScopeId as Cl, popScopeId as xl } from "vue";
|
|
2
2
|
const Ll = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Nj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gNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Rl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -22,162 +22,162 @@ const Ll = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
24
|
setup(g, { emit: p }) {
|
|
25
|
-
const
|
|
25
|
+
const C = S(!0), e = Nl({
|
|
26
26
|
model: {}
|
|
27
|
-
}), E =
|
|
27
|
+
}), E = S(!0), x = S(null), t = X({
|
|
28
28
|
render() {
|
|
29
|
-
return
|
|
29
|
+
return $("img", {
|
|
30
30
|
src: Ll
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
}),
|
|
33
|
+
}), A = X({
|
|
34
34
|
render() {
|
|
35
|
-
return
|
|
35
|
+
return $("img", {
|
|
36
36
|
src: El
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
}),
|
|
39
|
+
}), L = (d) => {
|
|
40
40
|
const s = d.target;
|
|
41
41
|
s.scrollTop + s.clientHeight + 1 >= s.scrollHeight && p("selectChangeScroll");
|
|
42
|
-
},
|
|
42
|
+
}, W = (d, s) => {
|
|
43
43
|
if (d) {
|
|
44
|
-
const
|
|
45
|
-
|
|
44
|
+
const b = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
45
|
+
b && b.addEventListener("scroll", L), p("handleVisibleChange", d, s);
|
|
46
46
|
}
|
|
47
|
-
},
|
|
47
|
+
}, B = X({
|
|
48
48
|
render() {
|
|
49
|
-
return
|
|
49
|
+
return $("img", {
|
|
50
50
|
src: _l
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), Z = bl(() => Object.assign([], g.options)), Y = () => {
|
|
54
54
|
e.model = g.model;
|
|
55
|
-
}, _ = (d, s,
|
|
56
|
-
var
|
|
57
|
-
s ? (
|
|
58
|
-
var
|
|
59
|
-
(
|
|
60
|
-
if (
|
|
61
|
-
p(
|
|
55
|
+
}, _ = (d, s, b) => {
|
|
56
|
+
var R;
|
|
57
|
+
s ? (C.value = !1, Ol(() => {
|
|
58
|
+
var dl;
|
|
59
|
+
(dl = x.value) == null || dl.validate((tl) => {
|
|
60
|
+
if (tl)
|
|
61
|
+
p(b || "submit", e.model, d);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) : s ? (
|
|
66
|
-
},
|
|
65
|
+
})) : s ? (b === "reset" && ((R = x.value) == null || R.resetFields()), p(b || "submit", e.model, d)) : (C.value = !1, p(b || "submit", e.model, d, x.value));
|
|
66
|
+
}, v = (d, s) => {
|
|
67
67
|
p("selectChange", d, s);
|
|
68
|
-
},
|
|
68
|
+
}, Q = (d, s) => {
|
|
69
69
|
p("radioChange", d, s);
|
|
70
|
-
},
|
|
70
|
+
}, V = (d, s) => {
|
|
71
71
|
p("checkChange", d, s);
|
|
72
|
-
},
|
|
73
|
-
const
|
|
74
|
-
if (
|
|
72
|
+
}, H = (d, s) => {
|
|
73
|
+
const b = e.model[s].length;
|
|
74
|
+
if (b === 1) {
|
|
75
75
|
p("checkChange", d, s);
|
|
76
76
|
return;
|
|
77
77
|
} else
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
_(d, s,
|
|
81
|
-
},
|
|
78
|
+
b > 1 ? (e.model[s].shift(), p("checkChange", d, s)) : b < 1 && p("checkChange", d, s);
|
|
79
|
+
}, P = (d, s, b) => {
|
|
80
|
+
_(d, s, b);
|
|
81
|
+
}, K = (d, s) => {
|
|
82
82
|
d && (s == null ? void 0 : s.key) === "Enter" && _(void 0, !0, "submit");
|
|
83
|
-
},
|
|
84
|
-
var
|
|
85
|
-
(
|
|
83
|
+
}, q = (d, s) => {
|
|
84
|
+
var b;
|
|
85
|
+
(b = x.value) == null || b.validateField(s), p("dateChange", d, s);
|
|
86
86
|
}, l = (d, s) => {
|
|
87
87
|
p("calendarChange", d, s);
|
|
88
|
-
},
|
|
88
|
+
}, G = (d, s) => {
|
|
89
89
|
p("onOk", d, s);
|
|
90
90
|
}, o = (d, s) => {
|
|
91
91
|
p("inputBlur", d, s);
|
|
92
92
|
}, M = (d, s) => {
|
|
93
93
|
p("inputFocus", d, s);
|
|
94
|
-
},
|
|
94
|
+
}, y = (d, s) => {
|
|
95
95
|
p("inputChange", d, s);
|
|
96
|
-
},
|
|
96
|
+
}, j = (d, s) => {
|
|
97
97
|
p("inputInput", d, s);
|
|
98
|
-
},
|
|
98
|
+
}, U = (d) => {
|
|
99
99
|
if (d) {
|
|
100
|
-
var s = document.getElementById(d),
|
|
101
|
-
|
|
100
|
+
var s = document.getElementById(d), b = s.offsetWidth, R = s.scrollWidth;
|
|
101
|
+
console.log("Input Width:", b), console.log("Content Width:", R), console.log("document.getElementById", document.getElementById(d)), R > b ? E.value = !1 : E.value = !0;
|
|
102
102
|
} else
|
|
103
103
|
E.value = !0;
|
|
104
|
-
},
|
|
105
|
-
const
|
|
106
|
-
return
|
|
107
|
-
},
|
|
104
|
+
}, J = (d, s) => {
|
|
105
|
+
const b = s.find((R) => R.code === d);
|
|
106
|
+
return b ? b.name : d;
|
|
107
|
+
}, ul = (d) => {
|
|
108
108
|
var s;
|
|
109
109
|
(s = x.value) == null || s.resetFields(d);
|
|
110
110
|
}, gl = (d) => {
|
|
111
111
|
var s;
|
|
112
112
|
(s = x.value) == null || s.clearValidate(d);
|
|
113
|
-
},
|
|
114
|
-
window.innerWidth < 768
|
|
113
|
+
}, m = S(!1), el = () => {
|
|
114
|
+
window.innerWidth < 768, m.value = !1;
|
|
115
115
|
};
|
|
116
116
|
Il(() => {
|
|
117
117
|
var d;
|
|
118
|
-
|
|
118
|
+
Y(), (d = x.value) == null || d.resetFields(), window.addEventListener("resize", el);
|
|
119
119
|
}), Tl(() => {
|
|
120
|
-
window.removeEventListener("resize",
|
|
120
|
+
window.removeEventListener("resize", el);
|
|
121
121
|
}), jl(
|
|
122
122
|
() => g.fieldList,
|
|
123
123
|
(d, s) => {
|
|
124
|
-
d !== s &&
|
|
124
|
+
d !== s && Y();
|
|
125
125
|
}
|
|
126
126
|
);
|
|
127
|
-
const
|
|
128
|
-
|
|
127
|
+
const ol = S(0), al = S(0), nl = S(0), pl = () => {
|
|
128
|
+
ol.value += 1;
|
|
129
|
+
}, fl = (d) => {
|
|
130
|
+
d || (al.value += 1);
|
|
129
131
|
}, Dl = (d) => {
|
|
130
132
|
d || (nl.value += 1);
|
|
131
|
-
}, fl = (d) => {
|
|
132
|
-
d || (dl.value += 1);
|
|
133
133
|
};
|
|
134
134
|
return {
|
|
135
|
-
...
|
|
135
|
+
...hl(e),
|
|
136
136
|
formRef: x,
|
|
137
137
|
isShowTooltip: E,
|
|
138
138
|
states: e,
|
|
139
|
-
formOptions:
|
|
139
|
+
formOptions: Z,
|
|
140
140
|
onSubmit: _,
|
|
141
|
-
selectChange:
|
|
142
|
-
radioChange:
|
|
143
|
-
checkChange:
|
|
144
|
-
handleCheckedChange:
|
|
145
|
-
prefixIcon:
|
|
146
|
-
IconDropDown:
|
|
147
|
-
IconClear:
|
|
148
|
-
handleClick:
|
|
149
|
-
handleKeyUp:
|
|
150
|
-
resetFieldsTest:
|
|
141
|
+
selectChange: v,
|
|
142
|
+
radioChange: Q,
|
|
143
|
+
checkChange: V,
|
|
144
|
+
handleCheckedChange: H,
|
|
145
|
+
prefixIcon: t,
|
|
146
|
+
IconDropDown: A,
|
|
147
|
+
IconClear: B,
|
|
148
|
+
handleClick: P,
|
|
149
|
+
handleKeyUp: K,
|
|
150
|
+
resetFieldsTest: ul,
|
|
151
151
|
clearValidateTest: gl,
|
|
152
|
-
dateChange:
|
|
152
|
+
dateChange: q,
|
|
153
153
|
calendarChange: l,
|
|
154
|
-
onOk:
|
|
154
|
+
onOk: G,
|
|
155
155
|
inputBlur: o,
|
|
156
156
|
inputFocus: M,
|
|
157
|
-
inputChange:
|
|
158
|
-
inputInput:
|
|
159
|
-
noFormRule:
|
|
160
|
-
phoneWrap:
|
|
161
|
-
pickerKey:
|
|
162
|
-
pickerKeyDaterange:
|
|
163
|
-
datetimerange:
|
|
157
|
+
inputChange: y,
|
|
158
|
+
inputInput: j,
|
|
159
|
+
noFormRule: C,
|
|
160
|
+
phoneWrap: m,
|
|
161
|
+
pickerKey: ol,
|
|
162
|
+
pickerKeyDaterange: al,
|
|
163
|
+
datetimerange: nl,
|
|
164
164
|
openDatePicker: pl,
|
|
165
|
-
openDatePickerDaterange:
|
|
166
|
-
openDatetimerange:
|
|
165
|
+
openDatePickerDaterange: fl,
|
|
166
|
+
openDatetimerange: Dl,
|
|
167
167
|
// spaceRule,
|
|
168
|
-
handleVisibleChange:
|
|
169
|
-
handleScroll:
|
|
170
|
-
visibilityChange:
|
|
171
|
-
contentName:
|
|
168
|
+
handleVisibleCh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uOTM5M0wyLjgxNzk0IDI1TDMuODc4NiAyMy45MzkzWk03LjgxNzk0IDIwTDguODc4NiAyMS4wNjA3TDkuOTM5MjYgMjBMOC44Nzg2IDE4LjkzOTNMNy44MTc5NCAyMFpNMTAuOTk5OSAxOC45MzkzTDUuOTk5OTIgMTMuOTM5M0wzLjg3ODYgMTYuMDYwN0w4Ljg3ODYgMjEuMDYwN0wxMC45OTk5IDE4LjkzOTNaTTUuOTk5OTIgMjYuMDYwN0wxMC45OTk5IDIxLjA2MDdMOC44Nzg2IDE4LjkzOTNMMy44Nzg2IDIzLjkzOTNMNS45OTk5MiAyNi4wNjA3Wk0zLjg3ODYgMTMuOTM5M0wyLjgxNzk0IDE1TDQuOTM5MjYgMTcuMTIxM0w1Ljk5OTkyIDE2LjA2MDdMMy44Nzg2IDEzLjkzOTNaTTIuODE3OTQgMjVMMy44Nzg2IDI2LjA2MDdMNS45OTk5MiAyMy45MzkzTDQuOTM5MjYgMjIuODc4N0wyLjgxNzk0IDI1Wk02Ljc1NzI4IDE4LjkzOTNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
175
|
+
const Sl = (g, p) => {
|
|
176
|
+
const C = g.__vccOpts || g;
|
|
177
177
|
for (const [e, E] of p)
|
|
178
|
-
|
|
179
|
-
return
|
|
180
|
-
}, z = (g) => (
|
|
178
|
+
C[e] = E;
|
|
179
|
+
return C;
|
|
180
|
+
}, z = (g) => (Cl("data-v-ad0cfa95"), g = g(), xl(), g), Yl = { class: "header-title" }, vl = { class: "title-content" }, Vl = {
|
|
181
181
|
key: 0,
|
|
182
182
|
class: "custom-required"
|
|
183
183
|
}, Ul = {
|
|
@@ -204,36 +204,36 @@ const Yl = (g, p) => {
|
|
|
204
204
|
}, ml = {
|
|
205
205
|
key: 0,
|
|
206
206
|
class: "custom-required"
|
|
207
|
-
}, Xl = /* @__PURE__ */ z(() => /* @__PURE__ */
|
|
207
|
+
}, Xl = /* @__PURE__ */ z(() => /* @__PURE__ */ T("img", {
|
|
208
|
+
src: rl,
|
|
209
|
+
alt: ""
|
|
210
|
+
}, null, -1)), $l = /* @__PURE__ */ z(() => /* @__PURE__ */ T("img", {
|
|
208
211
|
src: Ml,
|
|
209
212
|
alt: ""
|
|
210
|
-
}, null, -1)),
|
|
213
|
+
}, null, -1)), le = /* @__PURE__ */ z(() => /* @__PURE__ */ T("img", {
|
|
211
214
|
src: il,
|
|
212
215
|
alt: ""
|
|
213
|
-
}, null, -1)),
|
|
216
|
+
}, null, -1)), ee = /* @__PURE__ */ z(() => /* @__PURE__ */ T("img", {
|
|
214
217
|
src: yl,
|
|
215
218
|
alt: ""
|
|
216
|
-
}, null, -1)), ee = /* @__PURE__ */ z(() => /* @__PURE__ */ I("img", {
|
|
217
|
-
src: cl,
|
|
218
|
-
alt: ""
|
|
219
219
|
}, null, -1)), oe = {
|
|
220
220
|
key: 0,
|
|
221
221
|
class: "date_to"
|
|
222
222
|
}, ae = {
|
|
223
223
|
key: 0,
|
|
224
224
|
class: "custom-required"
|
|
225
|
-
}, ne = /* @__PURE__ */ z(() => /* @__PURE__ */
|
|
225
|
+
}, ne = /* @__PURE__ */ z(() => /* @__PURE__ */ T("img", {
|
|
226
|
+
src: rl,
|
|
227
|
+
alt: ""
|
|
228
|
+
}, null, -1)), de = /* @__PURE__ */ z(() => /* @__PURE__ */ T("img", {
|
|
226
229
|
src: Ml,
|
|
227
230
|
alt: ""
|
|
228
|
-
}, null, -1)),
|
|
231
|
+
}, null, -1)), se = /* @__PURE__ */ z(() => /* @__PURE__ */ T("img", {
|
|
229
232
|
src: il,
|
|
230
233
|
alt: ""
|
|
231
|
-
}, null, -1)),
|
|
234
|
+
}, null, -1)), re = /* @__PURE__ */ z(() => /* @__PURE__ */ T("img", {
|
|
232
235
|
src: yl,
|
|
233
236
|
alt: ""
|
|
234
|
-
}, null, -1)), re = /* @__PURE__ */ z(() => /* @__PURE__ */ I("img", {
|
|
235
|
-
src: cl,
|
|
236
|
-
alt: ""
|
|
237
237
|
}, null, -1)), Me = {
|
|
238
238
|
key: 0,
|
|
239
239
|
class: "custom-required"
|
|
@@ -246,56 +246,56 @@ const Yl = (g, p) => {
|
|
|
246
246
|
}, ce = {
|
|
247
247
|
key: 0,
|
|
248
248
|
class: "phone_item_content_before"
|
|
249
|
-
}, ue = /* @__PURE__ */ z(() => /* @__PURE__ */
|
|
249
|
+
}, ue = /* @__PURE__ */ z(() => /* @__PURE__ */ T("div", { class: "line_middle" }, "-", -1)), ge = /* @__PURE__ */ z(() => /* @__PURE__ */ T("div", { class: "line_middle" }, "-", -1)), pe = {
|
|
250
250
|
key: 2,
|
|
251
251
|
class: "line_middle"
|
|
252
|
-
},
|
|
252
|
+
}, fe = {
|
|
253
253
|
key: 4,
|
|
254
254
|
class: "line_middle"
|
|
255
|
-
},
|
|
255
|
+
}, De = /* @__PURE__ */ z(() => /* @__PURE__ */ T("div", {
|
|
256
256
|
class: "line",
|
|
257
257
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
258
|
-
}, null, -1)),
|
|
258
|
+
}, null, -1)), te = {
|
|
259
259
|
key: 0,
|
|
260
260
|
class: "custom-required"
|
|
261
|
-
},
|
|
261
|
+
}, Ne = {
|
|
262
262
|
key: 0,
|
|
263
263
|
class: "custom-required"
|
|
264
264
|
};
|
|
265
|
-
function be(g, p,
|
|
266
|
-
const
|
|
267
|
-
return a(), i(
|
|
265
|
+
function be(g, p, C, e, E, x) {
|
|
266
|
+
const t = h("el-form-item"), A = h("el-input"), L = h("el-col"), W = h("el-row"), B = h("el-radio"), Z = h("el-radio-group"), Y = h("el-checkbox"), _ = h("el-checkbox-group"), v = h("el-option"), Q = h("el-select"), V = h("el-tooltip"), H = h("a-date-picker"), P = h("a-range-picker"), K = h("sinosoftCommonButton"), q = h("el-form");
|
|
267
|
+
return a(), i(q, Al({
|
|
268
268
|
"hide-required-asterisk": "",
|
|
269
269
|
onSubmit: p[0] || (p[0] = kl(() => {
|
|
270
270
|
}, ["prevent"])),
|
|
271
|
-
model:
|
|
271
|
+
model: C.model
|
|
272
272
|
}, e.formOptions, {
|
|
273
273
|
"label-position": e.formOptions.labelPosition,
|
|
274
274
|
ref: "formRef"
|
|
275
275
|
}), {
|
|
276
276
|
default: n(() => [
|
|
277
|
-
|
|
277
|
+
f(W, { gutter: 24 }, {
|
|
278
278
|
default: n(() => [
|
|
279
|
-
(a(!0), r(
|
|
279
|
+
(a(!0), r(k, null, w(C.fieldList, (l, G) => wl((a(), i(L, {
|
|
280
280
|
xs: l.xs ? l.xs : 24,
|
|
281
281
|
sm: l.sm ? l.sm : 24,
|
|
282
282
|
md: l.md ? l.md : 8,
|
|
283
283
|
lg: l.lg ? l.lg : 8,
|
|
284
284
|
xl: l.xl ? l.xl : 8,
|
|
285
|
-
key:
|
|
285
|
+
key: G
|
|
286
286
|
}, {
|
|
287
287
|
default: n(() => [
|
|
288
|
-
|
|
288
|
+
T("div", {
|
|
289
289
|
style: D(l.style)
|
|
290
290
|
}, [
|
|
291
|
-
l.type === "title" ? (a(), i(
|
|
291
|
+
l.type === "title" ? (a(), i(t, { key: 0 }, {
|
|
292
292
|
default: n(() => [
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
T("div", Yl, [
|
|
294
|
+
T("span", vl, c(l.title), 1)
|
|
295
295
|
])
|
|
296
296
|
]),
|
|
297
297
|
_: 2
|
|
298
|
-
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), i(
|
|
298
|
+
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), i(t, {
|
|
299
299
|
key: 1,
|
|
300
300
|
label: l.label,
|
|
301
301
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -306,14 +306,14 @@ function be(g, p, w, e, E, x) {
|
|
|
306
306
|
key: 0,
|
|
307
307
|
style: D(l.labelStyle)
|
|
308
308
|
}, [
|
|
309
|
-
|
|
310
|
-
l.required ? (a(), r("span",
|
|
309
|
+
I(c(l.label) + " ", 1),
|
|
310
|
+
l.required ? (a(), r("span", Vl, "*")) : u("", !0)
|
|
311
311
|
], 4))
|
|
312
312
|
]),
|
|
313
313
|
default: n(() => [
|
|
314
|
-
|
|
314
|
+
f(W, { gutter: 20 }, {
|
|
315
315
|
default: n(() => [
|
|
316
|
-
|
|
316
|
+
f(L, {
|
|
317
317
|
xs: 24,
|
|
318
318
|
sm: 12,
|
|
319
319
|
md: 12,
|
|
@@ -321,14 +321,14 @@ function be(g, p, w, e, E, x) {
|
|
|
321
321
|
xl: 12
|
|
322
322
|
}, {
|
|
323
323
|
default: n(() => [
|
|
324
|
-
l.field.nameEnFamily ? (a(), i(
|
|
324
|
+
l.field.nameEnFamily ? (a(), i(t, {
|
|
325
325
|
key: 0,
|
|
326
326
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
327
327
|
prop: l.field.nameEnFamily,
|
|
328
328
|
class: "item-name item-name-top"
|
|
329
329
|
}, {
|
|
330
330
|
default: n(() => [
|
|
331
|
-
|
|
331
|
+
f(A, {
|
|
332
332
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
333
333
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
334
334
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
@@ -343,7 +343,7 @@ function be(g, p, w, e, E, x) {
|
|
|
343
343
|
type: l.type ? l.type : "text",
|
|
344
344
|
placeholder: l.placeholderNameEnFamily,
|
|
345
345
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
|
|
346
|
-
onKeyup:
|
|
346
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
347
347
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
348
348
|
]),
|
|
349
349
|
_: 2
|
|
@@ -351,7 +351,7 @@ function be(g, p, w, e, E, x) {
|
|
|
351
351
|
]),
|
|
352
352
|
_: 2
|
|
353
353
|
}, 1024),
|
|
354
|
-
|
|
354
|
+
f(L, {
|
|
355
355
|
xs: 24,
|
|
356
356
|
sm: 12,
|
|
357
357
|
md: 12,
|
|
@@ -359,14 +359,14 @@ function be(g, p, w, e, E, x) {
|
|
|
359
359
|
xl: 12
|
|
360
360
|
}, {
|
|
361
361
|
default: n(() => [
|
|
362
|
-
l.field.nameEn ? (a(), i(
|
|
362
|
+
l.field.nameEn ? (a(), i(t, {
|
|
363
363
|
key: 0,
|
|
364
364
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
365
365
|
prop: l.field.nameEn,
|
|
366
366
|
class: "item-name item-name-top"
|
|
367
367
|
}, {
|
|
368
368
|
default: n(() => [
|
|
369
|
-
|
|
369
|
+
f(A, {
|
|
370
370
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
371
371
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
372
372
|
onChange: (o) => e.inputChange(o, l.field.nameEn),
|
|
@@ -381,7 +381,7 @@ function be(g, p, w, e, E, x) {
|
|
|
381
381
|
type: l.type ? l.type : "text",
|
|
382
382
|
placeholder: l.placeholderNameEn,
|
|
383
383
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
|
|
384
|
-
onKeyup:
|
|
384
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
385
385
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
386
386
|
]),
|
|
387
387
|
_: 2
|
|
@@ -392,9 +392,9 @@ function be(g, p, w, e, E, x) {
|
|
|
392
392
|
]),
|
|
393
393
|
_: 2
|
|
394
394
|
}, 1024),
|
|
395
|
-
|
|
395
|
+
f(W, { gutter: 20 }, {
|
|
396
396
|
default: n(() => [
|
|
397
|
-
|
|
397
|
+
f(L, {
|
|
398
398
|
xs: 24,
|
|
399
399
|
sm: 12,
|
|
400
400
|
md: 12,
|
|
@@ -402,14 +402,14 @@ function be(g, p, w, e, E, x) {
|
|
|
402
402
|
xl: 12
|
|
403
403
|
}, {
|
|
404
404
|
default: n(() => [
|
|
405
|
-
l.field.nameChFamily ? (a(), i(
|
|
405
|
+
l.field.nameChFamily ? (a(), i(t, {
|
|
406
406
|
key: 0,
|
|
407
407
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
408
408
|
prop: l.field.nameChFamily,
|
|
409
409
|
class: "item-name item-name-bottom"
|
|
410
410
|
}, {
|
|
411
411
|
default: n(() => [
|
|
412
|
-
|
|
412
|
+
f(A, {
|
|
413
413
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
414
414
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
415
415
|
onChange: (o) => e.inputChange(o, l.field.nameChFamily),
|
|
@@ -427,7 +427,7 @@ function be(g, p, w, e, E, x) {
|
|
|
427
427
|
type: l.type ? l.type : "text",
|
|
428
428
|
placeholder: l.placeholderNameChFamily,
|
|
429
429
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
|
|
430
|
-
onKeyup:
|
|
430
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
431
431
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
432
432
|
]),
|
|
433
433
|
_: 2
|
|
@@ -435,7 +435,7 @@ function be(g, p, w, e, E, x) {
|
|
|
435
435
|
]),
|
|
436
436
|
_: 2
|
|
437
437
|
}, 1024),
|
|
438
|
-
|
|
438
|
+
f(L, {
|
|
439
439
|
xs: 24,
|
|
440
440
|
sm: 12,
|
|
441
441
|
md: 12,
|
|
@@ -443,14 +443,14 @@ function be(g, p, w, e, E, x) {
|
|
|
443
443
|
xl: 12
|
|
444
444
|
}, {
|
|
445
445
|
default: n(() => [
|
|
446
|
-
l.field.nameCh ? (a(), i(
|
|
446
|
+
l.field.nameCh ? (a(), i(t, {
|
|
447
447
|
key: 0,
|
|
448
448
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
449
449
|
prop: l.field.nameCh,
|
|
450
450
|
class: "item-name item-name-bottom"
|
|
451
451
|
}, {
|
|
452
452
|
default: n(() => [
|
|
453
|
-
|
|
453
|
+
f(A, {
|
|
454
454
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
455
455
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
456
456
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
@@ -465,7 +465,7 @@ function be(g, p, w, e, E, x) {
|
|
|
465
465
|
type: l.type ? l.type : "text",
|
|
466
466
|
placeholder: l.placeholderNameCh,
|
|
467
467
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
|
|
468
|
-
onKeyup:
|
|
468
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
469
469
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
470
470
|
]),
|
|
471
471
|
_: 2
|
|
@@ -478,7 +478,7 @@ function be(g, p, w, e, E, x) {
|
|
|
478
478
|
}, 1024)
|
|
479
479
|
]),
|
|
480
480
|
_: 2
|
|
481
|
-
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), i(
|
|
481
|
+
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), i(t, {
|
|
482
482
|
key: 2,
|
|
483
483
|
label: l.label,
|
|
484
484
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -490,12 +490,12 @@ function be(g, p, w, e, E, x) {
|
|
|
490
490
|
key: 0,
|
|
491
491
|
style: D(l.labelStyle)
|
|
492
492
|
}, [
|
|
493
|
-
|
|
493
|
+
I(c(l.label) + " ", 1),
|
|
494
494
|
l.required ? (a(), r("span", Ul, "*")) : u("", !0)
|
|
495
495
|
], 4))
|
|
496
496
|
]),
|
|
497
497
|
default: n(() => [
|
|
498
|
-
|
|
498
|
+
f(Z, {
|
|
499
499
|
modelValue: e.states.model[l.field],
|
|
500
500
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
501
501
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -504,13 +504,13 @@ function be(g, p, w, e, E, x) {
|
|
|
504
504
|
default: n(() => {
|
|
505
505
|
var o;
|
|
506
506
|
return [
|
|
507
|
-
(a(!0), r(
|
|
507
|
+
(a(!0), r(k, null, w((o = l.options) == null ? void 0 : o.data, (M) => (a(), i(B, {
|
|
508
508
|
label: M.code,
|
|
509
509
|
size: "large",
|
|
510
510
|
key: M.code
|
|
511
511
|
}, {
|
|
512
512
|
default: n(() => [
|
|
513
|
-
|
|
513
|
+
T("img", {
|
|
514
514
|
src: M.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
515
515
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
516
516
|
alt: ""
|
|
@@ -524,7 +524,7 @@ function be(g, p, w, e, E, x) {
|
|
|
524
524
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
525
525
|
]),
|
|
526
526
|
_: 2
|
|
527
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), i(
|
|
527
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), i(t, {
|
|
528
528
|
key: 3,
|
|
529
529
|
label: l.label,
|
|
530
530
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -536,12 +536,12 @@ function be(g, p, w, e, E, x) {
|
|
|
536
536
|
key: 0,
|
|
537
537
|
style: D(l.labelStyle)
|
|
538
538
|
}, [
|
|
539
|
-
|
|
539
|
+
I(c(l.label) + " ", 1),
|
|
540
540
|
l.required ? (a(), r("span", Wl, "*")) : u("", !0)
|
|
541
541
|
], 4))
|
|
542
542
|
]),
|
|
543
543
|
default: n(() => [
|
|
544
|
-
|
|
544
|
+
f(Z, {
|
|
545
545
|
modelValue: e.states.model[l.field],
|
|
546
546
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
547
547
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -554,14 +554,14 @@ function be(g, p, w, e, E, x) {
|
|
|
554
554
|
default: n(() => {
|
|
555
555
|
var o;
|
|
556
556
|
return [
|
|
557
|
-
(a(!0), r(
|
|
557
|
+
(a(!0), r(k, null, w((o = l.options) == null ? void 0 : o.data, (M) => (a(), i(B, {
|
|
558
558
|
size: "large",
|
|
559
559
|
label: M.code,
|
|
560
560
|
key: M.code,
|
|
561
561
|
disabled: M.isDisabled
|
|
562
562
|
}, {
|
|
563
563
|
default: n(() => [
|
|
564
|
-
|
|
564
|
+
I(c(M.name), 1)
|
|
565
565
|
]),
|
|
566
566
|
_: 2
|
|
567
567
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -571,7 +571,7 @@ function be(g, p, w, e, E, x) {
|
|
|
571
571
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
572
572
|
]),
|
|
573
573
|
_: 2
|
|
574
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), i(
|
|
574
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), i(t, {
|
|
575
575
|
key: 4,
|
|
576
576
|
label: l.label,
|
|
577
577
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -579,12 +579,12 @@ function be(g, p, w, e, E, x) {
|
|
|
579
579
|
class: N([l.labelNode ? "radio_Note" : "rule_err"])
|
|
580
580
|
}, {
|
|
581
581
|
default: n(() => [
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
582
|
+
T("div", null, [
|
|
583
|
+
T("span", Bl, c(l.labelBefore), 1),
|
|
584
|
+
T("span", Zl, c(l.labelNode), 1),
|
|
585
585
|
l.required ? (a(), r("span", Ql, "*")) : u("", !0)
|
|
586
586
|
]),
|
|
587
|
-
|
|
587
|
+
f(Z, {
|
|
588
588
|
modelValue: e.states.model[l.field],
|
|
589
589
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
590
590
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -597,13 +597,13 @@ function be(g, p, w, e, E, x) {
|
|
|
597
597
|
default: n(() => {
|
|
598
598
|
var o;
|
|
599
599
|
return [
|
|
600
|
-
(a(!0), r(
|
|
600
|
+
(a(!0), r(k, null, w((o = l.options) == null ? void 0 : o.data, (M) => (a(), i(B, {
|
|
601
601
|
size: "large",
|
|
602
602
|
label: M.code,
|
|
603
603
|
key: M.code
|
|
604
604
|
}, {
|
|
605
605
|
default: n(() => [
|
|
606
|
-
|
|
606
|
+
I(c(M.name), 1)
|
|
607
607
|
]),
|
|
608
608
|
_: 2
|
|
609
609
|
}, 1032, ["label"]))), 128))
|
|
@@ -613,7 +613,7 @@ function be(g, p, w, e, E, x) {
|
|
|
613
613
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
614
614
|
]),
|
|
615
615
|
_: 2
|
|
616
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), i(
|
|
616
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), i(t, {
|
|
617
617
|
key: 5,
|
|
618
618
|
label: l.label,
|
|
619
619
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -624,12 +624,12 @@ function be(g, p, w, e, E, x) {
|
|
|
624
624
|
key: 0,
|
|
625
625
|
style: D(l.labelStyle)
|
|
626
626
|
}, [
|
|
627
|
-
|
|
627
|
+
I(c(l.label) + " ", 1),
|
|
628
628
|
l.required ? (a(), r("span", Gl, "*")) : u("", !0)
|
|
629
629
|
], 4))
|
|
630
630
|
]),
|
|
631
631
|
default: n(() => [
|
|
632
|
-
|
|
632
|
+
f(_, {
|
|
633
633
|
modelValue: e.states.model[l.field],
|
|
634
634
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
635
635
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -641,13 +641,13 @@ function be(g, p, w, e, E, x) {
|
|
|
641
641
|
default: n(() => {
|
|
642
642
|
var o;
|
|
643
643
|
return [
|
|
644
|
-
(a(!0), r(
|
|
644
|
+
(a(!0), r(k, null, w((o = l.options) == null ? void 0 : o.data, (M) => (a(), i(Y, {
|
|
645
645
|
key: M.code,
|
|
646
646
|
label: M.code,
|
|
647
647
|
disabled: M.isDisabled
|
|
648
648
|
}, {
|
|
649
649
|
default: n(() => [
|
|
650
|
-
|
|
650
|
+
I(c(M.name), 1)
|
|
651
651
|
]),
|
|
652
652
|
_: 2
|
|
653
653
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -657,7 +657,7 @@ function be(g, p, w, e, E, x) {
|
|
|
657
657
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
658
658
|
]),
|
|
659
659
|
_: 2
|
|
660
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), i(
|
|
660
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), i(t, {
|
|
661
661
|
key: 6,
|
|
662
662
|
label: l.label,
|
|
663
663
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -668,12 +668,12 @@ function be(g, p, w, e, E, x) {
|
|
|
668
668
|
key: 0,
|
|
669
669
|
style: D(l.labelStyle)
|
|
670
670
|
}, [
|
|
671
|
-
|
|
671
|
+
I(c(l.label) + " ", 1),
|
|
672
672
|
l.required ? (a(), r("span", Pl, "*")) : u("", !0)
|
|
673
673
|
], 4))
|
|
674
674
|
]),
|
|
675
675
|
default: n(() => [
|
|
676
|
-
|
|
676
|
+
f(_, {
|
|
677
677
|
modelValue: e.states.model[l.field],
|
|
678
678
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
679
679
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
@@ -685,13 +685,13 @@ function be(g, p, w, e, E, x) {
|
|
|
685
685
|
default: n(() => {
|
|
686
686
|
var o;
|
|
687
687
|
return [
|
|
688
|
-
(a(!0), r(
|
|
688
|
+
(a(!0), r(k, null, w((o = l.options) == null ? void 0 : o.data, (M) => (a(), i(Y, {
|
|
689
689
|
key: M.code,
|
|
690
690
|
label: M.code,
|
|
691
691
|
disabled: M.isDisabled
|
|
692
692
|
}, {
|
|
693
693
|
default: n(() => [
|
|
694
|
-
|
|
694
|
+
I(c(M.name), 1)
|
|
695
695
|
]),
|
|
696
696
|
_: 2
|
|
697
697
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -701,7 +701,7 @@ function be(g, p, w, e, E, x) {
|
|
|
701
701
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
702
702
|
]),
|
|
703
703
|
_: 2
|
|
704
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (a(), i(
|
|
704
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (a(), i(t, {
|
|
705
705
|
key: 7,
|
|
706
706
|
label: l.label,
|
|
707
707
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -709,12 +709,12 @@ function be(g, p, w, e, E, x) {
|
|
|
709
709
|
class: N([l.labelNode ? "radio_Note" : "rule_err"])
|
|
710
710
|
}, {
|
|
711
711
|
default: n(() => [
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
712
|
+
T("div", null, [
|
|
713
|
+
T("span", Hl, c(l.labelBefore), 1),
|
|
714
|
+
T("span", Kl, c(l.labelNode), 1),
|
|
715
715
|
l.required ? (a(), r("span", ql, "*")) : u("", !0)
|
|
716
716
|
]),
|
|
717
|
-
|
|
717
|
+
f(_, {
|
|
718
718
|
modelValue: e.states.model[l.field],
|
|
719
719
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
720
720
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -726,13 +726,13 @@ function be(g, p, w, e, E, x) {
|
|
|
726
726
|
default: n(() => {
|
|
727
727
|
var o;
|
|
728
728
|
return [
|
|
729
|
-
(a(!0), r(
|
|
729
|
+
(a(!0), r(k, null, w((o = l.options) == null ? void 0 : o.data, (M) => (a(), i(Y, {
|
|
730
730
|
key: M.code,
|
|
731
731
|
label: M.code,
|
|
732
732
|
disabled: M.isDisabled
|
|
733
733
|
}, {
|
|
734
734
|
default: n(() => [
|
|
735
|
-
|
|
735
|
+
I(c(M.name), 1)
|
|
736
736
|
]),
|
|
737
737
|
_: 2
|
|
738
738
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -742,7 +742,7 @@ function be(g, p, w, e, E, x) {
|
|
|
742
742
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
743
743
|
]),
|
|
744
744
|
_: 2
|
|
745
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (a(), i(
|
|
745
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (a(), i(t, {
|
|
746
746
|
key: 8,
|
|
747
747
|
label: l.label,
|
|
748
748
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -754,14 +754,14 @@ function be(g, p, w, e, E, x) {
|
|
|
754
754
|
key: 0,
|
|
755
755
|
style: D(l.labelStyle)
|
|
756
756
|
}, [
|
|
757
|
-
|
|
757
|
+
I(c(l.label) + " ", 1),
|
|
758
758
|
l.required ? (a(), r("span", Jl, "*")) : u("", !0)
|
|
759
759
|
], 4))
|
|
760
760
|
]),
|
|
761
761
|
default: n(() => {
|
|
762
762
|
var o;
|
|
763
763
|
return [
|
|
764
|
-
|
|
764
|
+
f(V, {
|
|
765
765
|
"popper-class": "select-tooltip",
|
|
766
766
|
effect: "light",
|
|
767
767
|
content: e.contentName(e.states.model[l.field], (o = l.options) == null ? void 0 : o.data),
|
|
@@ -769,7 +769,7 @@ function be(g, p, w, e, E, x) {
|
|
|
769
769
|
disabled: e.isShowTooltip
|
|
770
770
|
}, {
|
|
771
771
|
default: n(() => [
|
|
772
|
-
|
|
772
|
+
f(Q, {
|
|
773
773
|
class: N(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
774
774
|
id: l.field,
|
|
775
775
|
onMouseenter: (M) => e.visibilityChange(l.field),
|
|
@@ -795,12 +795,12 @@ function be(g, p, w, e, E, x) {
|
|
|
795
795
|
default: n(() => {
|
|
796
796
|
var M;
|
|
797
797
|
return [
|
|
798
|
-
(a(!0), r(
|
|
799
|
-
key:
|
|
800
|
-
label:
|
|
801
|
-
value:
|
|
798
|
+
(a(!0), r(k, null, w((M = l.options) == null ? void 0 : M.data, (y) => (a(), i(v, {
|
|
799
|
+
key: y.code,
|
|
800
|
+
label: y.name,
|
|
801
|
+
value: y.code
|
|
802
802
|
}, null, 8, ["label", "value"]))), 128)),
|
|
803
|
-
l.loading ? (a(), i(
|
|
803
|
+
l.loading ? (a(), i(v, {
|
|
804
804
|
key: 0,
|
|
805
805
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
806
806
|
class: "select-loading",
|
|
@@ -813,14 +813,14 @@ function be(g, p, w, e, E, x) {
|
|
|
813
813
|
]),
|
|
814
814
|
_: 2
|
|
815
815
|
}, 1032, ["content", "disabled"]),
|
|
816
|
-
|
|
816
|
+
T("div", {
|
|
817
817
|
class: "item_tips_blow",
|
|
818
818
|
style: D(l.tipsBlowStyle)
|
|
819
819
|
}, c(l.tipsBlow), 5)
|
|
820
820
|
];
|
|
821
821
|
}),
|
|
822
822
|
_: 2
|
|
823
|
-
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), i(
|
|
823
|
+
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), i(t, {
|
|
824
824
|
key: 9,
|
|
825
825
|
label: l.label,
|
|
826
826
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -832,12 +832,12 @@ function be(g, p, w, e, E, x) {
|
|
|
832
832
|
key: 0,
|
|
833
833
|
style: D(l.labelStyle)
|
|
834
834
|
}, [
|
|
835
|
-
|
|
835
|
+
I(c(l.label) + " ", 1),
|
|
836
836
|
l.required ? (a(), r("span", ml, "*")) : u("", !0)
|
|
837
837
|
], 4))
|
|
838
838
|
]),
|
|
839
839
|
default: n(() => [
|
|
840
|
-
(a(), i(
|
|
840
|
+
(a(), i(H, {
|
|
841
841
|
size: "large",
|
|
842
842
|
allowClear: !!l.allowClear,
|
|
843
843
|
format: "DD/MM/YYYY",
|
|
@@ -889,7 +889,7 @@ function be(g, p, w, e, E, x) {
|
|
|
889
889
|
l.showTo ? (a(), r("span", oe, c(l.showTo), 1)) : u("", !0)
|
|
890
890
|
]),
|
|
891
891
|
_: 2
|
|
892
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(
|
|
892
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(t, {
|
|
893
893
|
key: 10,
|
|
894
894
|
label: l.label,
|
|
895
895
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -900,12 +900,12 @@ function be(g, p, w, e, E, x) {
|
|
|
900
900
|
key: 0,
|
|
901
901
|
style: D(l.labelStyle)
|
|
902
902
|
}, [
|
|
903
|
-
|
|
903
|
+
I(c(l.label) + " ", 1),
|
|
904
904
|
l.required ? (a(), r("span", ae, "*")) : u("", !0)
|
|
905
905
|
], 4))
|
|
906
906
|
]),
|
|
907
907
|
default: n(() => [
|
|
908
|
-
(a(), i(
|
|
908
|
+
(a(), i(P, {
|
|
909
909
|
"popper-class": "selectTriangles",
|
|
910
910
|
allowClear: !!l.allowClear,
|
|
911
911
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -956,7 +956,7 @@ function be(g, p, w, e, E, x) {
|
|
|
956
956
|
}, 1032, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
957
957
|
]),
|
|
958
958
|
_: 2
|
|
959
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(), i(
|
|
959
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(), i(t, {
|
|
960
960
|
key: 11,
|
|
961
961
|
label: l.label,
|
|
962
962
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -967,12 +967,12 @@ function be(g, p, w, e, E, x) {
|
|
|
967
967
|
key: 0,
|
|
968
968
|
style: D(l.labelStyle)
|
|
969
969
|
}, [
|
|
970
|
-
|
|
970
|
+
I(c(l.label) + " ", 1),
|
|
971
971
|
l.required ? (a(), r("span", Me, "*")) : u("", !0)
|
|
972
972
|
], 4))
|
|
973
973
|
]),
|
|
974
974
|
default: n(() => [
|
|
975
|
-
(a(), i(
|
|
975
|
+
(a(), i(P, {
|
|
976
976
|
"popper-class": "selectTriangles",
|
|
977
977
|
allowClear: !!l.allowClear,
|
|
978
978
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1009,7 +1009,7 @@ function be(g, p, w, e, E, x) {
|
|
|
1009
1009
|
}, null, 8, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1010
1010
|
]),
|
|
1011
1011
|
_: 2
|
|
1012
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), i(
|
|
1012
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), i(t, {
|
|
1013
1013
|
key: 12,
|
|
1014
1014
|
label: l.label,
|
|
1015
1015
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -1021,7 +1021,7 @@ function be(g, p, w, e, E, x) {
|
|
|
1021
1021
|
key: 0,
|
|
1022
1022
|
style: D(l.labelStyle)
|
|
1023
1023
|
}, [
|
|
1024
|
-
|
|
1024
|
+
I(c(l.label) + " ", 1),
|
|
1025
1025
|
l.required ? (a(), r("span", ie, "*")) : u("", !0)
|
|
1026
1026
|
], 4))
|
|
1027
1027
|
]),
|
|
@@ -1029,7 +1029,7 @@ function be(g, p, w, e, E, x) {
|
|
|
1029
1029
|
O(g.$slots, l.slotItemName, {}, void 0, !0)
|
|
1030
1030
|
]),
|
|
1031
1031
|
_: 2
|
|
1032
|
-
}, 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(
|
|
1032
|
+
}, 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(t, {
|
|
1033
1033
|
key: 13,
|
|
1034
1034
|
label: l.label,
|
|
1035
1035
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
@@ -1041,85 +1041,113 @@ function be(g, p, w, e, E, x) {
|
|
|
1041
1041
|
key: 0,
|
|
1042
1042
|
style: D(l.labelStyle)
|
|
1043
1043
|
}, [
|
|
1044
|
-
|
|
1044
|
+
I(c(l.label) + " ", 1),
|
|
1045
1045
|
l.required ? (a(), r("span", ye, "*")) : u("", !0)
|
|
1046
1046
|
], 4))
|
|
1047
1047
|
]),
|
|
1048
1048
|
default: n(() => {
|
|
1049
|
-
var o, M
|
|
1049
|
+
var o, M;
|
|
1050
1050
|
return [
|
|
1051
|
-
|
|
1051
|
+
T("div", {
|
|
1052
1052
|
class: N(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1053
1053
|
}, [
|
|
1054
1054
|
e.phoneWrap ? (a(), r("div", ce, [
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
"onUpdate:modelValue": (y) => e.states.model[l.field.nationCode] = y,
|
|
1062
|
-
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1063
|
-
class: N(
|
|
1064
|
-
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"
|
|
1065
|
-
),
|
|
1066
|
-
style: D("width:" + l.widthNation),
|
|
1067
|
-
"fit-input-width": !0,
|
|
1068
|
-
"suffix-icon": e.IconDropDown,
|
|
1069
|
-
"clear-icon": e.IconClear
|
|
1055
|
+
f(V, {
|
|
1056
|
+
"popper-class": "input-tooltip",
|
|
1057
|
+
effect: "light",
|
|
1058
|
+
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
1059
|
+
placement: "top",
|
|
1060
|
+
disabled: e.isShowTooltip
|
|
1070
1061
|
}, {
|
|
1071
1062
|
default: n(() => {
|
|
1072
1063
|
var y;
|
|
1073
1064
|
return [
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1065
|
+
l.field.nationCode ? (a(), i(Q, {
|
|
1066
|
+
key: 0,
|
|
1067
|
+
id: l.field.nationCode,
|
|
1068
|
+
onMouseenter: (j) => e.visibilityChange(l.field.nationCode),
|
|
1069
|
+
"popper-class": "selectTriangles",
|
|
1070
|
+
teleported: !1,
|
|
1071
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1072
|
+
modelValue: e.states.model[l.field.nationCode],
|
|
1073
|
+
"onUpdate:modelValue": (j) => e.states.model[l.field.nationCode] = j,
|
|
1074
|
+
placeholder: ((y = l.nationOptions) == null ? void 0 : y.placeholder) || "",
|
|
1075
|
+
class: N((l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"),
|
|
1076
|
+
style: D("width:" + l.widthNation),
|
|
1077
|
+
"fit-input-width": !0,
|
|
1078
|
+
"suffix-icon": e.IconDropDown,
|
|
1079
|
+
"clear-icon": e.IconClear
|
|
1080
|
+
}, {
|
|
1081
|
+
default: n(() => {
|
|
1082
|
+
var j;
|
|
1083
|
+
return [
|
|
1084
|
+
(a(!0), r(k, null, w((j = l.nationOptions) == null ? void 0 : j.data, (U, J) => (a(), i(v, {
|
|
1085
|
+
label: U.name,
|
|
1086
|
+
value: U.code,
|
|
1087
|
+
key: J
|
|
1088
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1089
|
+
];
|
|
1090
|
+
}),
|
|
1091
|
+
_: 2
|
|
1092
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : u("", !0)
|
|
1079
1093
|
];
|
|
1080
1094
|
}),
|
|
1081
1095
|
_: 2
|
|
1082
|
-
}, 1032, ["
|
|
1096
|
+
}, 1032, ["content", "disabled"]),
|
|
1083
1097
|
ue,
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1098
|
+
f(V, {
|
|
1099
|
+
"popper-class": "input-tooltip",
|
|
1100
|
+
effect: "light",
|
|
1101
|
+
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
1102
|
+
placement: "top",
|
|
1103
|
+
disabled: e.isShowTooltip
|
|
1104
|
+
}, {
|
|
1105
|
+
default: n(() => {
|
|
1106
|
+
var y;
|
|
1107
|
+
return [
|
|
1108
|
+
l.field.areaCode ? (a(), i(A, {
|
|
1109
|
+
key: 0,
|
|
1110
|
+
class: N(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1111
|
+
id: l.field.areaCode,
|
|
1112
|
+
onMouseenter: (j) => e.visibilityChange(l.field.areaCode),
|
|
1113
|
+
onBlur: (j) => e.inputBlur(
|
|
1114
|
+
j,
|
|
1115
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1116
|
+
),
|
|
1117
|
+
onFocus: (j) => e.inputFocus(
|
|
1118
|
+
j,
|
|
1119
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1120
|
+
),
|
|
1121
|
+
onChange: (j) => e.inputChange(
|
|
1122
|
+
j,
|
|
1123
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1124
|
+
),
|
|
1125
|
+
onInput: (j) => e.inputInput(
|
|
1126
|
+
j,
|
|
1127
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1128
|
+
),
|
|
1129
|
+
maxlength: l.maxlengthAreaCode || 5,
|
|
1130
|
+
oninput: "value=value.replace(/[^\\d.]/g,'')",
|
|
1131
|
+
modelValue: e.states.model[l.field.areaCode],
|
|
1132
|
+
"onUpdate:modelValue": (j) => e.states.model[l.field.areaCode] = j,
|
|
1133
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1134
|
+
placeholder: ((y = l.areaOptions) == null ? void 0 : y.placeholder) || "",
|
|
1135
|
+
clearable: l.clearable
|
|
1136
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : u("", !0)
|
|
1137
|
+
];
|
|
1138
|
+
}),
|
|
1139
|
+
_: 2
|
|
1140
|
+
}, 1032, ["content", "disabled"]),
|
|
1113
1141
|
ge
|
|
1114
1142
|
])) : u("", !0),
|
|
1115
|
-
l.field.nationCode && !e.phoneWrap ? (a(), i(
|
|
1143
|
+
l.field.nationCode && !e.phoneWrap ? (a(), i(Q, {
|
|
1116
1144
|
key: 1,
|
|
1117
1145
|
"opper-class": "selectTriangles",
|
|
1118
1146
|
teleported: !1,
|
|
1119
1147
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1120
1148
|
modelValue: e.states.model[l.field.nationCode],
|
|
1121
1149
|
"onUpdate:modelValue": (y) => e.states.model[l.field.nationCode] = y,
|
|
1122
|
-
placeholder: ((
|
|
1150
|
+
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1123
1151
|
class: N(
|
|
1124
1152
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1125
1153
|
),
|
|
@@ -1131,17 +1159,17 @@ function be(g, p, w, e, E, x) {
|
|
|
1131
1159
|
default: n(() => {
|
|
1132
1160
|
var y;
|
|
1133
1161
|
return [
|
|
1134
|
-
(a(!0), r(
|
|
1135
|
-
label:
|
|
1136
|
-
value:
|
|
1137
|
-
key:
|
|
1162
|
+
(a(!0), r(k, null, w((y = l.nationOptions) == null ? void 0 : y.data, (j, U) => (a(), i(v, {
|
|
1163
|
+
label: j.name,
|
|
1164
|
+
value: j.code,
|
|
1165
|
+
key: U
|
|
1138
1166
|
}, null, 8, ["label", "value"]))), 128))
|
|
1139
1167
|
];
|
|
1140
1168
|
}),
|
|
1141
1169
|
_: 2
|
|
1142
1170
|
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : u("", !0),
|
|
1143
1171
|
e.phoneWrap ? u("", !0) : (a(), r("div", pe, " - ")),
|
|
1144
|
-
l.field.areaCode && !e.phoneWrap ? (a(), i(
|
|
1172
|
+
l.field.areaCode && !e.phoneWrap ? (a(), i(A, {
|
|
1145
1173
|
key: 3,
|
|
1146
1174
|
onBlur: (y) => e.inputBlur(
|
|
1147
1175
|
y,
|
|
@@ -1164,15 +1192,15 @@ function be(g, p, w, e, E, x) {
|
|
|
1164
1192
|
modelValue: e.states.model[l.field.areaCode],
|
|
1165
1193
|
"onUpdate:modelValue": (y) => e.states.model[l.field.areaCode] = y,
|
|
1166
1194
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1167
|
-
placeholder: ((
|
|
1195
|
+
placeholder: ((M = l.areaOptions) == null ? void 0 : M.placeholder) || "",
|
|
1168
1196
|
class: N(
|
|
1169
1197
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1170
1198
|
),
|
|
1171
1199
|
style: D("width:" + l.widthArea),
|
|
1172
1200
|
clearable: l.clearable
|
|
1173
1201
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : u("", !0),
|
|
1174
|
-
e.phoneWrap ? u("", !0) : (a(), r("div",
|
|
1175
|
-
l.field.phoneNumber ? (a(), i(
|
|
1202
|
+
e.phoneWrap ? u("", !0) : (a(), r("div", fe, " - ")),
|
|
1203
|
+
l.field.phoneNumber ? (a(), i(A, {
|
|
1176
1204
|
key: 5,
|
|
1177
1205
|
onBlur: (y) => e.inputBlur(
|
|
1178
1206
|
y,
|
|
@@ -1205,15 +1233,15 @@ function be(g, p, w, e, E, x) {
|
|
|
1205
1233
|
];
|
|
1206
1234
|
}),
|
|
1207
1235
|
_: 2
|
|
1208
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(
|
|
1236
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(t, {
|
|
1209
1237
|
key: 14,
|
|
1210
1238
|
label: l.label
|
|
1211
1239
|
}, {
|
|
1212
1240
|
default: n(() => [
|
|
1213
|
-
|
|
1241
|
+
De
|
|
1214
1242
|
]),
|
|
1215
1243
|
_: 2
|
|
1216
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), i(
|
|
1244
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), i(t, {
|
|
1217
1245
|
key: 15,
|
|
1218
1246
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1219
1247
|
prop: l.field,
|
|
@@ -1224,12 +1252,12 @@ function be(g, p, w, e, E, x) {
|
|
|
1224
1252
|
key: 0,
|
|
1225
1253
|
style: D(l.labelStyle)
|
|
1226
1254
|
}, [
|
|
1227
|
-
|
|
1228
|
-
l.required ? (a(), r("span",
|
|
1255
|
+
I(c(l.label) + " ", 1),
|
|
1256
|
+
l.required ? (a(), r("span", te, "*")) : u("", !0)
|
|
1229
1257
|
], 4))
|
|
1230
1258
|
]),
|
|
1231
1259
|
default: n(() => [
|
|
1232
|
-
|
|
1260
|
+
f(A, {
|
|
1233
1261
|
onBlur: (o) => e.inputBlur(
|
|
1234
1262
|
o,
|
|
1235
1263
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1261,26 +1289,26 @@ function be(g, p, w, e, E, x) {
|
|
|
1261
1289
|
class: N(
|
|
1262
1290
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1263
1291
|
),
|
|
1264
|
-
onKeyup:
|
|
1265
|
-
},
|
|
1292
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1293
|
+
}, sl({ _: 2 }, [
|
|
1266
1294
|
l.prepend ? {
|
|
1267
1295
|
name: "prepend",
|
|
1268
1296
|
fn: n(() => [
|
|
1269
|
-
|
|
1297
|
+
I(c(l.prepend), 1)
|
|
1270
1298
|
]),
|
|
1271
1299
|
key: "0"
|
|
1272
1300
|
} : void 0,
|
|
1273
1301
|
l.append ? {
|
|
1274
1302
|
name: "append",
|
|
1275
1303
|
fn: n(() => [
|
|
1276
|
-
|
|
1304
|
+
I(c(l.append), 1)
|
|
1277
1305
|
]),
|
|
1278
1306
|
key: "1"
|
|
1279
1307
|
} : void 0
|
|
1280
1308
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1281
1309
|
]),
|
|
1282
1310
|
_: 2
|
|
1283
|
-
}, 1032, ["rules", "prop", "class"])) : (a(), i(
|
|
1311
|
+
}, 1032, ["rules", "prop", "class"])) : (a(), i(t, {
|
|
1284
1312
|
key: 16,
|
|
1285
1313
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1286
1314
|
prop: l.field,
|
|
@@ -1291,12 +1319,12 @@ function be(g, p, w, e, E, x) {
|
|
|
1291
1319
|
key: 0,
|
|
1292
1320
|
style: D(l.labelStyle)
|
|
1293
1321
|
}, [
|
|
1294
|
-
|
|
1295
|
-
l.required ? (a(), r("span",
|
|
1322
|
+
I(c(l.label) + " ", 1),
|
|
1323
|
+
l.required ? (a(), r("span", Ne, "*")) : u("", !0)
|
|
1296
1324
|
], 4))
|
|
1297
1325
|
]),
|
|
1298
1326
|
default: n(() => [
|
|
1299
|
-
|
|
1327
|
+
f(V, {
|
|
1300
1328
|
"popper-class": "input-tooltip",
|
|
1301
1329
|
effect: "light",
|
|
1302
1330
|
content: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
@@ -1304,7 +1332,7 @@ function be(g, p, w, e, E, x) {
|
|
|
1304
1332
|
disabled: e.isShowTooltip
|
|
1305
1333
|
}, {
|
|
1306
1334
|
default: n(() => [
|
|
1307
|
-
|
|
1335
|
+
f(A, {
|
|
1308
1336
|
class: N(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1309
1337
|
id: l.field,
|
|
1310
1338
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
@@ -1323,19 +1351,19 @@ function be(g, p, w, e, E, x) {
|
|
|
1323
1351
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1324
1352
|
showPassword: l.showPassword,
|
|
1325
1353
|
clearable: l.clearable,
|
|
1326
|
-
onKeyup:
|
|
1327
|
-
},
|
|
1354
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1355
|
+
}, sl({ _: 2 }, [
|
|
1328
1356
|
l.prepend ? {
|
|
1329
1357
|
name: "prepend",
|
|
1330
1358
|
fn: n(() => [
|
|
1331
|
-
|
|
1359
|
+
I(c(l.prepend), 1)
|
|
1332
1360
|
]),
|
|
1333
1361
|
key: "0"
|
|
1334
1362
|
} : void 0,
|
|
1335
1363
|
l.append ? {
|
|
1336
1364
|
name: "append",
|
|
1337
1365
|
fn: n(() => [
|
|
1338
|
-
|
|
1366
|
+
I(c(l.append), 1)
|
|
1339
1367
|
]),
|
|
1340
1368
|
key: "1"
|
|
1341
1369
|
} : void 0
|
|
@@ -1350,19 +1378,19 @@ function be(g, p, w, e, E, x) {
|
|
|
1350
1378
|
]),
|
|
1351
1379
|
_: 2
|
|
1352
1380
|
}, 1032, ["xs", "sm", "md", "lg", "xl"])), [
|
|
1353
|
-
[
|
|
1381
|
+
[zl, !l.isHide]
|
|
1354
1382
|
])), 128))
|
|
1355
1383
|
]),
|
|
1356
1384
|
_: 3
|
|
1357
1385
|
}),
|
|
1358
|
-
t
|
|
1386
|
+
f(t, { class: "btnsItem" }, {
|
|
1359
1387
|
default: n(() => [
|
|
1360
1388
|
O(g.$slots, "buttons", {
|
|
1361
|
-
model:
|
|
1389
|
+
model: C.model,
|
|
1362
1390
|
onBtnClick: e.onSubmit
|
|
1363
1391
|
}, () => [
|
|
1364
|
-
(a(!0), r(
|
|
1365
|
-
l.isShow ? (a(), i(
|
|
1392
|
+
(a(!0), r(k, null, w(e.formOptions.btnConfig, (l, G) => (a(), r("div", { key: G }, [
|
|
1393
|
+
l.isShow ? (a(), i(K, {
|
|
1366
1394
|
key: 0,
|
|
1367
1395
|
btnCode: l.btnCode,
|
|
1368
1396
|
plain: l.plain,
|
|
@@ -1390,7 +1418,7 @@ function be(g, p, w, e, E, x) {
|
|
|
1390
1418
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1391
1419
|
}, {
|
|
1392
1420
|
default: n(() => [
|
|
1393
|
-
|
|
1421
|
+
I(c(l.name), 1)
|
|
1394
1422
|
]),
|
|
1395
1423
|
_: 2
|
|
1396
1424
|
}, 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"])) : u("", !0)
|
|
@@ -1403,11 +1431,11 @@ function be(g, p, w, e, E, x) {
|
|
|
1403
1431
|
_: 3
|
|
1404
1432
|
}, 16, ["model", "label-position"]);
|
|
1405
1433
|
}
|
|
1406
|
-
const
|
|
1407
|
-
function
|
|
1408
|
-
|
|
1434
|
+
const cl = /* @__PURE__ */ Sl(Rl, [["render", be], ["__scopeId", "data-v-ad0cfa95"]]);
|
|
1435
|
+
function ll(g, p = {}) {
|
|
1436
|
+
ll.installed || (ll.installed = !0, g.component("common-el-form", cl));
|
|
1409
1437
|
}
|
|
1410
|
-
|
|
1438
|
+
cl.install = ll;
|
|
1411
1439
|
export {
|
|
1412
|
-
|
|
1440
|
+
cl as default
|
|
1413
1441
|
};
|