sinosoft-common-form 1.9.5 → 1.9.6
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 +274 -270
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
const
|
|
1
|
+
import { ref as S, reactive as Nl, shallowRef as X, h as m, computed as Il, onMounted as Tl, onBeforeUnmount as hl, watch as jl, toRefs as Ol, nextTick as Al, resolveComponent as T, openBlock as a, createBlock as M, mergeProps as kl, withModifiers as wl, withCtx as n, createVNode as p, createElementBlock as i, Fragment as A, renderList as k, withDirectives as zl, createElementVNode as N, normalizeStyle as f, toDisplayString as y, createTextVNode as b, createCommentVNode as c, renderSlot as h, normalizeClass as D, withKeys as V, createSlots as nl, vShow as Cl, pushScopeId as xl, popScopeId as Ll } from "vue";
|
|
2
|
+
const El = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk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cxIDEzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Rl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
5
5
|
type: Array,
|
|
@@ -21,129 +21,131 @@ const Ll = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(u, { emit:
|
|
25
|
-
const z =
|
|
24
|
+
setup(u, { emit: g }) {
|
|
25
|
+
const z = S(!0), e = Nl({
|
|
26
26
|
model: {}
|
|
27
|
-
}), E =
|
|
27
|
+
}), E = S(!0), C = S(null), t = X({
|
|
28
28
|
render() {
|
|
29
|
-
return
|
|
30
|
-
src:
|
|
29
|
+
return m("img", {
|
|
30
|
+
src: El
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
}),
|
|
33
|
+
}), j = X({
|
|
34
34
|
render() {
|
|
35
|
-
return
|
|
36
|
-
src:
|
|
35
|
+
return m("img", {
|
|
36
|
+
src: _l
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
}), L = (s) => {
|
|
40
40
|
const r = s.target;
|
|
41
|
-
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight &&
|
|
41
|
+
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight && g("selectChangeScroll");
|
|
42
42
|
}, U = (s, r) => {
|
|
43
43
|
if (s) {
|
|
44
|
-
const
|
|
45
|
-
|
|
44
|
+
const I = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
45
|
+
I && I.addEventListener("scroll", L), g("handleVisibleChange", s, r);
|
|
46
46
|
}
|
|
47
|
-
}, F =
|
|
47
|
+
}, F = X({
|
|
48
48
|
render() {
|
|
49
|
-
return
|
|
50
|
-
src:
|
|
49
|
+
return m("img", {
|
|
50
|
+
src: Sl
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}), W =
|
|
53
|
+
}), W = Il(() => Object.assign([], u.options)), R = () => {
|
|
54
54
|
e.model = u.model;
|
|
55
|
-
}, _ = (s, r,
|
|
56
|
-
var
|
|
57
|
-
r ? (z.value = !1,
|
|
55
|
+
}, _ = (s, r, I) => {
|
|
56
|
+
var v;
|
|
57
|
+
r ? (z.value = !1, Al(() => {
|
|
58
58
|
var al;
|
|
59
|
-
(al = C.value) == null || al.validate((
|
|
60
|
-
if (
|
|
61
|
-
|
|
59
|
+
(al = C.value) == null || al.validate((bl) => {
|
|
60
|
+
if (bl)
|
|
61
|
+
g(I || "submit", e.model, s);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) : r ? (
|
|
66
|
-
},
|
|
67
|
-
|
|
65
|
+
})) : r ? (I === "reset" && ((v = C.value) == null || v.resetFields()), g(I || "submit", e.model, s)) : (z.value = !1, g(I || "submit", e.model, s, C.value));
|
|
66
|
+
}, Y = (s, r) => {
|
|
67
|
+
g("selectChange", s, r);
|
|
68
68
|
}, B = (s, r) => {
|
|
69
|
-
|
|
69
|
+
g("radioChange", s, r);
|
|
70
70
|
}, x = (s, r) => {
|
|
71
|
-
|
|
71
|
+
g("checkChange", s, r);
|
|
72
72
|
}, P = (s, r) => {
|
|
73
|
-
const
|
|
74
|
-
if (
|
|
75
|
-
|
|
73
|
+
const I = e.model[r].length;
|
|
74
|
+
if (I === 1) {
|
|
75
|
+
g("checkChange", s, r);
|
|
76
76
|
return;
|
|
77
77
|
} else
|
|
78
|
-
|
|
79
|
-
}, G = (s, r,
|
|
80
|
-
_(s, r,
|
|
78
|
+
I > 1 ? (e.model[r].shift(), g("checkChange", s, r)) : I < 1 && g("checkChange", s, r);
|
|
79
|
+
}, G = (s, r, I) => {
|
|
80
|
+
_(s, r, I);
|
|
81
81
|
}, H = (s, r) => {
|
|
82
82
|
s && (r == null ? void 0 : r.key) === "Enter" && _(void 0, !0, "submit");
|
|
83
83
|
}, K = (s, r) => {
|
|
84
|
-
var
|
|
85
|
-
(
|
|
84
|
+
var I;
|
|
85
|
+
(I = C.value) == null || I.validateField(r), g("dateChange", s, r);
|
|
86
86
|
}, l = (s, r) => {
|
|
87
|
-
|
|
87
|
+
g("calendarChange", s, r);
|
|
88
88
|
}, Z = (s, r) => {
|
|
89
|
-
|
|
89
|
+
g("onOk", s, r);
|
|
90
90
|
}, o = (s, r) => {
|
|
91
|
-
|
|
91
|
+
g("inputBlur", s, r);
|
|
92
92
|
}, d = (s, r) => {
|
|
93
|
-
|
|
93
|
+
g("inputFocus", s, r);
|
|
94
94
|
}, O = (s, r) => {
|
|
95
|
-
|
|
95
|
+
g("inputChange", s, r);
|
|
96
96
|
}, Q = (s, r) => {
|
|
97
|
-
|
|
97
|
+
g("inputInput", s, r);
|
|
98
98
|
}, yl = (s) => {
|
|
99
99
|
if (s) {
|
|
100
|
-
var r = document.getElementById(s),
|
|
101
|
-
|
|
100
|
+
var r = document.getElementById(s), I = r.offsetWidth, v = r.scrollWidth;
|
|
101
|
+
v > I ? E.value = !1 : E.value = !0;
|
|
102
102
|
} else
|
|
103
103
|
E.value = !0;
|
|
104
104
|
}, cl = (s, r) => {
|
|
105
|
-
const
|
|
106
|
-
return
|
|
105
|
+
const I = r.find((v) => v.code === s);
|
|
106
|
+
return I ? I.name : s;
|
|
107
107
|
}, ul = (s) => {
|
|
108
108
|
var r;
|
|
109
109
|
(r = C.value) == null || r.resetFields(s);
|
|
110
110
|
}, gl = (s) => {
|
|
111
111
|
var r;
|
|
112
112
|
(r = C.value) == null || r.clearValidate(s);
|
|
113
|
-
}, q =
|
|
113
|
+
}, q = S(!1), ll = () => {
|
|
114
114
|
window.innerWidth < 768, q.value = !1;
|
|
115
115
|
};
|
|
116
|
-
|
|
116
|
+
Tl(() => {
|
|
117
117
|
var s;
|
|
118
|
-
|
|
119
|
-
}),
|
|
120
|
-
window.removeEventListener("resize",
|
|
118
|
+
R(), (s = C.value) == null || s.resetFields(), window.addEventListener("resize", ll);
|
|
119
|
+
}), hl(() => {
|
|
120
|
+
window.removeEventListener("resize", ll);
|
|
121
121
|
}), jl(
|
|
122
122
|
() => u.fieldList,
|
|
123
123
|
(s, r) => {
|
|
124
|
-
s !== r &&
|
|
124
|
+
s !== r && R();
|
|
125
125
|
}
|
|
126
126
|
);
|
|
127
|
-
const
|
|
128
|
-
|
|
129
|
-
}, tl = (s) => {
|
|
130
|
-
s || (el.value += 1);
|
|
127
|
+
const el = S(0), J = S(0), ol = S(0), pl = () => {
|
|
128
|
+
el.value += 1;
|
|
131
129
|
}, fl = (s) => {
|
|
132
|
-
s || (
|
|
130
|
+
s || (J.value += 1), g("openChange", s);
|
|
131
|
+
}, tl = (s) => {
|
|
132
|
+
s || (J.value += 1), g("openDatePickerDaterange", s);
|
|
133
|
+
}, Dl = (s) => {
|
|
134
|
+
s || (ol.value += 1), g("openDatetimerange", s);
|
|
133
135
|
};
|
|
134
136
|
return {
|
|
135
|
-
...
|
|
137
|
+
...Ol(e),
|
|
136
138
|
formRef: C,
|
|
137
139
|
isShowTooltip: E,
|
|
138
140
|
states: e,
|
|
139
141
|
formOptions: W,
|
|
140
142
|
onSubmit: _,
|
|
141
|
-
selectChange:
|
|
143
|
+
selectChange: Y,
|
|
142
144
|
radioChange: B,
|
|
143
145
|
checkChange: x,
|
|
144
146
|
handleCheckedChange: P,
|
|
145
|
-
prefixIcon:
|
|
146
|
-
IconDropDown:
|
|
147
|
+
prefixIcon: t,
|
|
148
|
+
IconDropDown: j,
|
|
147
149
|
IconClear: F,
|
|
148
150
|
handleClick: G,
|
|
149
151
|
handleKeyUp: H,
|
|
@@ -158,115 +160,116 @@ const Ll = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
158
160
|
inputInput: Q,
|
|
159
161
|
noFormRule: z,
|
|
160
162
|
phoneWrap: q,
|
|
161
|
-
pickerKey:
|
|
162
|
-
pickerKeyDaterange:
|
|
163
|
+
pickerKey: el,
|
|
164
|
+
pickerKeyDaterange: J,
|
|
163
165
|
datetimerange: ol,
|
|
164
166
|
openDatePicker: pl,
|
|
165
167
|
openDatePickerDaterange: tl,
|
|
166
|
-
openDatetimerange:
|
|
168
|
+
openDatetimerange: Dl,
|
|
167
169
|
// spaceRule,
|
|
168
170
|
handleVisibleChange: U,
|
|
169
171
|
handleScroll: L,
|
|
170
172
|
visibilityChange: yl,
|
|
171
|
-
contentName: cl
|
|
173
|
+
contentName: cl,
|
|
174
|
+
openChange: fl
|
|
172
175
|
};
|
|
173
176
|
}
|
|
174
177
|
}, dl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIw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2MDdMOC44Nzg2IDE4LjkzOTNMMy44Nzg2IDIzLjkzOTNMNS45OTk5MiAyNi4wNjA3Wk0zLjg3ODYgMTMuOTM5M0wyLjgxNzk0IDE1TDQuOTM5MjYgMTcuMTIxM0w1Ljk5OTkyIDE2LjA2MDdMMy44Nzg2IDEzLjkzOTNaTTIuODE3OTQgMjVMMy44Nzg2IDI2LjA2MDdMNS45OTk5MiAyMy45MzkzTDQuOTM5MjYgMjIuODc4N0wyLjgxNzk0IDI1Wk02Ljc1NzI4IDE4LjkzOTNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
175
|
-
const
|
|
178
|
+
const Yl = (u, g) => {
|
|
176
179
|
const z = u.__vccOpts || u;
|
|
177
|
-
for (const [e, E] of
|
|
180
|
+
for (const [e, E] of g)
|
|
178
181
|
z[e] = E;
|
|
179
182
|
return z;
|
|
180
|
-
}, w = (u) => (
|
|
183
|
+
}, w = (u) => (xl("data-v-4ed155c7"), u = u(), Ll(), u), vl = { class: "header-title" }, Vl = { class: "title-content" }, Ul = {
|
|
181
184
|
key: 0,
|
|
182
185
|
class: "custom-required"
|
|
183
|
-
},
|
|
186
|
+
}, Fl = {
|
|
184
187
|
key: 0,
|
|
185
188
|
class: "custom-required"
|
|
186
|
-
},
|
|
189
|
+
}, Wl = ["src"], Bl = {
|
|
187
190
|
key: 0,
|
|
188
191
|
class: "custom-required"
|
|
189
|
-
},
|
|
190
|
-
key: 0,
|
|
191
|
-
class: "custom-required"
|
|
192
|
-
}, Gl = {
|
|
192
|
+
}, Zl = { class: "lable" }, Ql = { class: "lable_note" }, Gl = {
|
|
193
193
|
key: 0,
|
|
194
194
|
class: "custom-required"
|
|
195
195
|
}, Pl = {
|
|
196
196
|
key: 0,
|
|
197
197
|
class: "custom-required"
|
|
198
|
-
}, Hl = {
|
|
198
|
+
}, Hl = {
|
|
199
199
|
key: 0,
|
|
200
200
|
class: "custom-required"
|
|
201
|
-
}, Jl = {
|
|
201
|
+
}, Kl = { class: "lable" }, ql = { class: "lable_note" }, Jl = {
|
|
202
202
|
key: 0,
|
|
203
203
|
class: "custom-required"
|
|
204
204
|
}, Xl = {
|
|
205
205
|
key: 0,
|
|
206
206
|
class: "custom-required"
|
|
207
|
-
}, ml =
|
|
207
|
+
}, ml = {
|
|
208
|
+
key: 0,
|
|
209
|
+
class: "custom-required"
|
|
210
|
+
}, $l = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
208
211
|
src: dl,
|
|
209
212
|
alt: ""
|
|
210
|
-
}, null, -1)),
|
|
213
|
+
}, null, -1)), le = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
211
214
|
src: sl,
|
|
212
215
|
alt: ""
|
|
213
|
-
}, null, -1)),
|
|
216
|
+
}, null, -1)), ee = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
214
217
|
src: rl,
|
|
215
218
|
alt: ""
|
|
216
|
-
}, null, -1)),
|
|
219
|
+
}, null, -1)), oe = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
217
220
|
src: il,
|
|
218
221
|
alt: ""
|
|
219
|
-
}, null, -1)),
|
|
222
|
+
}, null, -1)), ae = {
|
|
220
223
|
key: 0,
|
|
221
224
|
class: "date_to"
|
|
222
|
-
},
|
|
225
|
+
}, ne = {
|
|
223
226
|
key: 0,
|
|
224
227
|
class: "custom-required"
|
|
225
|
-
},
|
|
228
|
+
}, de = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
226
229
|
src: dl,
|
|
227
230
|
alt: ""
|
|
228
|
-
}, null, -1)),
|
|
231
|
+
}, null, -1)), se = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
229
232
|
src: sl,
|
|
230
233
|
alt: ""
|
|
231
|
-
}, null, -1)),
|
|
234
|
+
}, null, -1)), re = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
232
235
|
src: rl,
|
|
233
236
|
alt: ""
|
|
234
|
-
}, null, -1)),
|
|
237
|
+
}, null, -1)), ie = /* @__PURE__ */ w(() => /* @__PURE__ */ N("img", {
|
|
235
238
|
src: il,
|
|
236
239
|
alt: ""
|
|
237
|
-
}, null, -1)),
|
|
238
|
-
key: 0,
|
|
239
|
-
class: "custom-required"
|
|
240
|
-
}, Me = {
|
|
240
|
+
}, null, -1)), Me = {
|
|
241
241
|
key: 0,
|
|
242
242
|
class: "custom-required"
|
|
243
243
|
}, ye = {
|
|
244
244
|
key: 0,
|
|
245
245
|
class: "custom-required"
|
|
246
246
|
}, ce = {
|
|
247
|
+
key: 0,
|
|
248
|
+
class: "custom-required"
|
|
249
|
+
}, ue = {
|
|
247
250
|
key: 0,
|
|
248
251
|
class: "phone_item_content_before"
|
|
249
|
-
},
|
|
252
|
+
}, ge = /* @__PURE__ */ w(() => /* @__PURE__ */ N("div", { class: "line_middle" }, "-", -1)), pe = /* @__PURE__ */ w(() => /* @__PURE__ */ N("div", { class: "line_middle" }, "-", -1)), fe = {
|
|
250
253
|
key: 1,
|
|
251
254
|
class: "line_middle"
|
|
252
255
|
}, te = {
|
|
253
256
|
key: 2,
|
|
254
257
|
class: "line_middle"
|
|
255
|
-
},
|
|
258
|
+
}, De = /* @__PURE__ */ w(() => /* @__PURE__ */ N("div", {
|
|
256
259
|
class: "line",
|
|
257
260
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
258
|
-
}, null, -1)),
|
|
261
|
+
}, null, -1)), be = {
|
|
259
262
|
key: 0,
|
|
260
263
|
class: "custom-required"
|
|
261
|
-
},
|
|
264
|
+
}, Ne = {
|
|
262
265
|
key: 0,
|
|
263
266
|
class: "custom-required"
|
|
264
267
|
};
|
|
265
|
-
function
|
|
266
|
-
const
|
|
267
|
-
return a(), M(K,
|
|
268
|
+
function Ie(u, g, z, e, E, C) {
|
|
269
|
+
const t = T("el-form-item"), j = T("el-input"), L = T("el-col"), U = T("el-row"), F = T("el-radio"), W = T("el-radio-group"), R = T("el-checkbox"), _ = T("el-checkbox-group"), Y = T("el-option"), B = T("el-select"), x = T("el-tooltip"), P = T("a-date-picker"), G = T("a-range-picker"), H = T("sinosoftCommonButton"), K = T("el-form");
|
|
270
|
+
return a(), M(K, kl({
|
|
268
271
|
"hide-required-asterisk": "",
|
|
269
|
-
onSubmit:
|
|
272
|
+
onSubmit: g[0] || (g[0] = wl(() => {
|
|
270
273
|
}, ["prevent"])),
|
|
271
274
|
model: z.model
|
|
272
275
|
}, e.formOptions, {
|
|
@@ -274,9 +277,9 @@ function Ne(u, p, z, e, E, C) {
|
|
|
274
277
|
ref: "formRef"
|
|
275
278
|
}), {
|
|
276
279
|
default: n(() => [
|
|
277
|
-
|
|
280
|
+
p(U, { gutter: 24 }, {
|
|
278
281
|
default: n(() => [
|
|
279
|
-
(a(!0), i(A, null, k(z.fieldList, (l, Z) =>
|
|
282
|
+
(a(!0), i(A, null, k(z.fieldList, (l, Z) => zl((a(), M(L, {
|
|
280
283
|
xs: l.xs ? l.xs : 24,
|
|
281
284
|
sm: l.sm ? l.sm : 24,
|
|
282
285
|
md: l.md ? l.md : 8,
|
|
@@ -285,35 +288,35 @@ function Ne(u, p, z, e, E, C) {
|
|
|
285
288
|
key: Z
|
|
286
289
|
}, {
|
|
287
290
|
default: n(() => [
|
|
288
|
-
|
|
289
|
-
style:
|
|
291
|
+
N("div", {
|
|
292
|
+
style: f(l.style)
|
|
290
293
|
}, [
|
|
291
|
-
l.type === "title" ? (a(), M(
|
|
294
|
+
l.type === "title" ? (a(), M(t, { key: 0 }, {
|
|
292
295
|
default: n(() => [
|
|
293
|
-
|
|
294
|
-
|
|
296
|
+
N("div", vl, [
|
|
297
|
+
N("span", Vl, y(l.title), 1)
|
|
295
298
|
])
|
|
296
299
|
]),
|
|
297
300
|
_: 2
|
|
298
|
-
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), M(
|
|
301
|
+
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), M(t, {
|
|
299
302
|
key: 1,
|
|
300
303
|
label: l.label,
|
|
301
304
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
302
305
|
class: "container_name"
|
|
303
306
|
}, {
|
|
304
307
|
label: n(() => [
|
|
305
|
-
l.slotLabelName ?
|
|
308
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
306
309
|
key: 0,
|
|
307
|
-
style:
|
|
310
|
+
style: f(l.labelStyle)
|
|
308
311
|
}, [
|
|
309
|
-
|
|
310
|
-
l.required ? (a(), i("span",
|
|
312
|
+
b(y(l.label) + " ", 1),
|
|
313
|
+
l.required ? (a(), i("span", Ul, "*")) : c("", !0)
|
|
311
314
|
], 4))
|
|
312
315
|
]),
|
|
313
316
|
default: n(() => [
|
|
314
|
-
|
|
317
|
+
p(U, { gutter: 20 }, {
|
|
315
318
|
default: n(() => [
|
|
316
|
-
|
|
319
|
+
p(L, {
|
|
317
320
|
xs: 24,
|
|
318
321
|
sm: 12,
|
|
319
322
|
md: 12,
|
|
@@ -321,14 +324,14 @@ function Ne(u, p, z, e, E, C) {
|
|
|
321
324
|
xl: 12
|
|
322
325
|
}, {
|
|
323
326
|
default: n(() => [
|
|
324
|
-
l.field.nameEnFamily ? (a(), M(
|
|
327
|
+
l.field.nameEnFamily ? (a(), M(t, {
|
|
325
328
|
key: 0,
|
|
326
329
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
327
330
|
prop: l.field.nameEnFamily,
|
|
328
331
|
class: "item-name item-name-top"
|
|
329
332
|
}, {
|
|
330
333
|
default: n(() => [
|
|
331
|
-
|
|
334
|
+
p(j, {
|
|
332
335
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
333
336
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
334
337
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
@@ -351,7 +354,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
351
354
|
]),
|
|
352
355
|
_: 2
|
|
353
356
|
}, 1024),
|
|
354
|
-
|
|
357
|
+
p(L, {
|
|
355
358
|
xs: 24,
|
|
356
359
|
sm: 12,
|
|
357
360
|
md: 12,
|
|
@@ -359,14 +362,14 @@ function Ne(u, p, z, e, E, C) {
|
|
|
359
362
|
xl: 12
|
|
360
363
|
}, {
|
|
361
364
|
default: n(() => [
|
|
362
|
-
l.field.nameEn ? (a(), M(
|
|
365
|
+
l.field.nameEn ? (a(), M(t, {
|
|
363
366
|
key: 0,
|
|
364
367
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
365
368
|
prop: l.field.nameEn,
|
|
366
369
|
class: "item-name item-name-top"
|
|
367
370
|
}, {
|
|
368
371
|
default: n(() => [
|
|
369
|
-
|
|
372
|
+
p(j, {
|
|
370
373
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
371
374
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
372
375
|
onChange: (o) => e.inputChange(o, l.field.nameEn),
|
|
@@ -392,9 +395,9 @@ function Ne(u, p, z, e, E, C) {
|
|
|
392
395
|
]),
|
|
393
396
|
_: 2
|
|
394
397
|
}, 1024),
|
|
395
|
-
|
|
398
|
+
p(U, { gutter: 20 }, {
|
|
396
399
|
default: n(() => [
|
|
397
|
-
|
|
400
|
+
p(L, {
|
|
398
401
|
xs: 24,
|
|
399
402
|
sm: 12,
|
|
400
403
|
md: 12,
|
|
@@ -402,14 +405,14 @@ function Ne(u, p, z, e, E, C) {
|
|
|
402
405
|
xl: 12
|
|
403
406
|
}, {
|
|
404
407
|
default: n(() => [
|
|
405
|
-
l.field.nameChFamily ? (a(), M(
|
|
408
|
+
l.field.nameChFamily ? (a(), M(t, {
|
|
406
409
|
key: 0,
|
|
407
410
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
408
411
|
prop: l.field.nameChFamily,
|
|
409
412
|
class: "item-name item-name-bottom"
|
|
410
413
|
}, {
|
|
411
414
|
default: n(() => [
|
|
412
|
-
|
|
415
|
+
p(j, {
|
|
413
416
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
414
417
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
415
418
|
onChange: (o) => e.inputChange(o, l.field.nameChFamily),
|
|
@@ -435,7 +438,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
435
438
|
]),
|
|
436
439
|
_: 2
|
|
437
440
|
}, 1024),
|
|
438
|
-
|
|
441
|
+
p(L, {
|
|
439
442
|
xs: 24,
|
|
440
443
|
sm: 12,
|
|
441
444
|
md: 12,
|
|
@@ -443,14 +446,14 @@ function Ne(u, p, z, e, E, C) {
|
|
|
443
446
|
xl: 12
|
|
444
447
|
}, {
|
|
445
448
|
default: n(() => [
|
|
446
|
-
l.field.nameCh ? (a(), M(
|
|
449
|
+
l.field.nameCh ? (a(), M(t, {
|
|
447
450
|
key: 0,
|
|
448
451
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
449
452
|
prop: l.field.nameCh,
|
|
450
453
|
class: "item-name item-name-bottom"
|
|
451
454
|
}, {
|
|
452
455
|
default: n(() => [
|
|
453
|
-
|
|
456
|
+
p(j, {
|
|
454
457
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
455
458
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
456
459
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
@@ -478,7 +481,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
478
481
|
}, 1024)
|
|
479
482
|
]),
|
|
480
483
|
_: 2
|
|
481
|
-
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), M(
|
|
484
|
+
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), M(t, {
|
|
482
485
|
key: 2,
|
|
483
486
|
label: l.label,
|
|
484
487
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -486,16 +489,16 @@ function Ne(u, p, z, e, E, C) {
|
|
|
486
489
|
class: "radio_row"
|
|
487
490
|
}, {
|
|
488
491
|
label: n(() => [
|
|
489
|
-
l.slotLabelName ?
|
|
492
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
490
493
|
key: 0,
|
|
491
|
-
style:
|
|
494
|
+
style: f(l.labelStyle)
|
|
492
495
|
}, [
|
|
493
|
-
|
|
494
|
-
l.required ? (a(), i("span",
|
|
496
|
+
b(y(l.label) + " ", 1),
|
|
497
|
+
l.required ? (a(), i("span", Fl, "*")) : c("", !0)
|
|
495
498
|
], 4))
|
|
496
499
|
]),
|
|
497
500
|
default: n(() => [
|
|
498
|
-
|
|
501
|
+
p(W, {
|
|
499
502
|
modelValue: e.states.model[l.field],
|
|
500
503
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
501
504
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -510,11 +513,11 @@ function Ne(u, p, z, e, E, C) {
|
|
|
510
513
|
key: d.code
|
|
511
514
|
}, {
|
|
512
515
|
default: n(() => [
|
|
513
|
-
|
|
516
|
+
N("img", {
|
|
514
517
|
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",
|
|
515
518
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
516
519
|
alt: ""
|
|
517
|
-
}, null, 8,
|
|
520
|
+
}, null, 8, Wl)
|
|
518
521
|
]),
|
|
519
522
|
_: 2
|
|
520
523
|
}, 1032, ["label"]))), 128))
|
|
@@ -524,7 +527,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
524
527
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
525
528
|
]),
|
|
526
529
|
_: 2
|
|
527
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), M(
|
|
530
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), M(t, {
|
|
528
531
|
key: 3,
|
|
529
532
|
label: l.label,
|
|
530
533
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -532,21 +535,21 @@ function Ne(u, p, z, e, E, C) {
|
|
|
532
535
|
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
533
536
|
}, {
|
|
534
537
|
label: n(() => [
|
|
535
|
-
l.slotLabelName ?
|
|
538
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
536
539
|
key: 0,
|
|
537
|
-
style:
|
|
540
|
+
style: f(l.labelStyle)
|
|
538
541
|
}, [
|
|
539
|
-
|
|
540
|
-
l.required ? (a(), i("span",
|
|
542
|
+
b(y(l.label) + " ", 1),
|
|
543
|
+
l.required ? (a(), i("span", Bl, "*")) : c("", !0)
|
|
541
544
|
], 4))
|
|
542
545
|
]),
|
|
543
546
|
default: n(() => [
|
|
544
|
-
|
|
547
|
+
p(W, {
|
|
545
548
|
modelValue: e.states.model[l.field],
|
|
546
549
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
547
550
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
548
551
|
onChange: (o) => e.radioChange(o, l.field),
|
|
549
|
-
style:
|
|
552
|
+
style: f(
|
|
550
553
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
551
554
|
),
|
|
552
555
|
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
@@ -561,7 +564,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
561
564
|
disabled: d.isDisabled
|
|
562
565
|
}, {
|
|
563
566
|
default: n(() => [
|
|
564
|
-
|
|
567
|
+
b(y(d.name), 1)
|
|
565
568
|
]),
|
|
566
569
|
_: 2
|
|
567
570
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -571,7 +574,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
571
574
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
572
575
|
]),
|
|
573
576
|
_: 2
|
|
574
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), M(
|
|
577
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), M(t, {
|
|
575
578
|
key: 4,
|
|
576
579
|
label: l.label,
|
|
577
580
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -579,17 +582,17 @@ function Ne(u, p, z, e, E, C) {
|
|
|
579
582
|
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
580
583
|
}, {
|
|
581
584
|
default: n(() => [
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
l.required ? (a(), i("span",
|
|
585
|
+
N("div", null, [
|
|
586
|
+
N("span", Zl, y(l.labelBefore), 1),
|
|
587
|
+
N("span", Ql, y(l.labelNode), 1),
|
|
588
|
+
l.required ? (a(), i("span", Gl, "*")) : c("", !0)
|
|
586
589
|
]),
|
|
587
|
-
|
|
590
|
+
p(W, {
|
|
588
591
|
modelValue: e.states.model[l.field],
|
|
589
592
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
590
593
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
591
594
|
onChange: (o) => e.radioChange(o, l.field),
|
|
592
|
-
style:
|
|
595
|
+
style: f(
|
|
593
596
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
594
597
|
),
|
|
595
598
|
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
@@ -603,7 +606,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
603
606
|
key: d.code
|
|
604
607
|
}, {
|
|
605
608
|
default: n(() => [
|
|
606
|
-
|
|
609
|
+
b(y(d.name), 1)
|
|
607
610
|
]),
|
|
608
611
|
_: 2
|
|
609
612
|
}, 1032, ["label"]))), 128))
|
|
@@ -613,41 +616,41 @@ function Ne(u, p, z, e, E, C) {
|
|
|
613
616
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
614
617
|
]),
|
|
615
618
|
_: 2
|
|
616
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), M(
|
|
619
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), M(t, {
|
|
617
620
|
key: 5,
|
|
618
621
|
label: l.label,
|
|
619
622
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
620
623
|
prop: l.field
|
|
621
624
|
}, {
|
|
622
625
|
label: n(() => [
|
|
623
|
-
l.slotLabelName ?
|
|
626
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
624
627
|
key: 0,
|
|
625
|
-
style:
|
|
628
|
+
style: f(l.labelStyle)
|
|
626
629
|
}, [
|
|
627
|
-
|
|
628
|
-
l.required ? (a(), i("span",
|
|
630
|
+
b(y(l.label) + " ", 1),
|
|
631
|
+
l.required ? (a(), i("span", Pl, "*")) : c("", !0)
|
|
629
632
|
], 4))
|
|
630
633
|
]),
|
|
631
634
|
default: n(() => [
|
|
632
|
-
|
|
635
|
+
p(_, {
|
|
633
636
|
modelValue: e.states.model[l.field],
|
|
634
637
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
635
638
|
onChange: (o) => e.checkChange(o, l.field),
|
|
636
639
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
637
|
-
style:
|
|
640
|
+
style: f(
|
|
638
641
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
639
642
|
)
|
|
640
643
|
}, {
|
|
641
644
|
default: n(() => {
|
|
642
645
|
var o;
|
|
643
646
|
return [
|
|
644
|
-
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(
|
|
647
|
+
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(R, {
|
|
645
648
|
key: d.code,
|
|
646
649
|
label: d.code,
|
|
647
650
|
disabled: d.isDisabled
|
|
648
651
|
}, {
|
|
649
652
|
default: n(() => [
|
|
650
|
-
|
|
653
|
+
b(y(d.name), 1)
|
|
651
654
|
]),
|
|
652
655
|
_: 2
|
|
653
656
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -657,41 +660,41 @@ function Ne(u, p, z, e, E, C) {
|
|
|
657
660
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
658
661
|
]),
|
|
659
662
|
_: 2
|
|
660
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), M(
|
|
663
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), M(t, {
|
|
661
664
|
key: 6,
|
|
662
665
|
label: l.label,
|
|
663
666
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
664
667
|
prop: l.field
|
|
665
668
|
}, {
|
|
666
669
|
label: n(() => [
|
|
667
|
-
l.slotLabelName ?
|
|
670
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
668
671
|
key: 0,
|
|
669
|
-
style:
|
|
672
|
+
style: f(l.labelStyle)
|
|
670
673
|
}, [
|
|
671
|
-
|
|
672
|
-
l.required ? (a(), i("span",
|
|
674
|
+
b(y(l.label) + " ", 1),
|
|
675
|
+
l.required ? (a(), i("span", Hl, "*")) : c("", !0)
|
|
673
676
|
], 4))
|
|
674
677
|
]),
|
|
675
678
|
default: n(() => [
|
|
676
|
-
|
|
679
|
+
p(_, {
|
|
677
680
|
modelValue: e.states.model[l.field],
|
|
678
681
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
679
682
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
680
683
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
681
|
-
style:
|
|
684
|
+
style: f(
|
|
682
685
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
683
686
|
)
|
|
684
687
|
}, {
|
|
685
688
|
default: n(() => {
|
|
686
689
|
var o;
|
|
687
690
|
return [
|
|
688
|
-
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(
|
|
691
|
+
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(R, {
|
|
689
692
|
key: d.code,
|
|
690
693
|
label: d.code,
|
|
691
694
|
disabled: d.isDisabled
|
|
692
695
|
}, {
|
|
693
696
|
default: n(() => [
|
|
694
|
-
|
|
697
|
+
b(y(d.name), 1)
|
|
695
698
|
]),
|
|
696
699
|
_: 2
|
|
697
700
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -701,7 +704,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
701
704
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
702
705
|
]),
|
|
703
706
|
_: 2
|
|
704
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (a(), M(
|
|
707
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (a(), M(t, {
|
|
705
708
|
key: 7,
|
|
706
709
|
label: l.label,
|
|
707
710
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -709,30 +712,30 @@ function Ne(u, p, z, e, E, C) {
|
|
|
709
712
|
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
710
713
|
}, {
|
|
711
714
|
default: n(() => [
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
l.required ? (a(), i("span",
|
|
715
|
+
N("div", null, [
|
|
716
|
+
N("span", Kl, y(l.labelBefore), 1),
|
|
717
|
+
N("span", ql, y(l.labelNode), 1),
|
|
718
|
+
l.required ? (a(), i("span", Jl, "*")) : c("", !0)
|
|
716
719
|
]),
|
|
717
|
-
|
|
720
|
+
p(_, {
|
|
718
721
|
modelValue: e.states.model[l.field],
|
|
719
722
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
720
723
|
onChange: (o) => e.checkChange(o, l.field),
|
|
721
724
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
722
|
-
style:
|
|
725
|
+
style: f(
|
|
723
726
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
724
727
|
)
|
|
725
728
|
}, {
|
|
726
729
|
default: n(() => {
|
|
727
730
|
var o;
|
|
728
731
|
return [
|
|
729
|
-
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(
|
|
732
|
+
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(R, {
|
|
730
733
|
key: d.code,
|
|
731
734
|
label: d.code,
|
|
732
735
|
disabled: d.isDisabled
|
|
733
736
|
}, {
|
|
734
737
|
default: n(() => [
|
|
735
|
-
|
|
738
|
+
b(y(d.name), 1)
|
|
736
739
|
]),
|
|
737
740
|
_: 2
|
|
738
741
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -742,7 +745,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
742
745
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
743
746
|
]),
|
|
744
747
|
_: 2
|
|
745
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (a(), M(
|
|
748
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (a(), M(t, {
|
|
746
749
|
key: 8,
|
|
747
750
|
label: l.label,
|
|
748
751
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -750,18 +753,18 @@ function Ne(u, p, z, e, E, C) {
|
|
|
750
753
|
prop: l.field
|
|
751
754
|
}, {
|
|
752
755
|
label: n(() => [
|
|
753
|
-
l.slotLabelName ?
|
|
756
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
754
757
|
key: 0,
|
|
755
|
-
style:
|
|
758
|
+
style: f(l.labelStyle)
|
|
756
759
|
}, [
|
|
757
|
-
|
|
758
|
-
l.required ? (a(), i("span",
|
|
760
|
+
b(y(l.label) + " ", 1),
|
|
761
|
+
l.required ? (a(), i("span", Xl, "*")) : c("", !0)
|
|
759
762
|
], 4))
|
|
760
763
|
]),
|
|
761
764
|
default: n(() => {
|
|
762
765
|
var o;
|
|
763
766
|
return [
|
|
764
|
-
|
|
767
|
+
p(x, {
|
|
765
768
|
"popper-class": "select-tooltip",
|
|
766
769
|
effect: "light",
|
|
767
770
|
content: e.contentName(e.states.model[l.field], (o = l.options) == null ? void 0 : o.data),
|
|
@@ -769,7 +772,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
769
772
|
disabled: e.isShowTooltip
|
|
770
773
|
}, {
|
|
771
774
|
default: n(() => [
|
|
772
|
-
|
|
775
|
+
p(B, {
|
|
773
776
|
class: D(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
774
777
|
id: l.field,
|
|
775
778
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
@@ -795,12 +798,12 @@ function Ne(u, p, z, e, E, C) {
|
|
|
795
798
|
default: n(() => {
|
|
796
799
|
var d;
|
|
797
800
|
return [
|
|
798
|
-
(a(!0), i(A, null, k((d = l.options) == null ? void 0 : d.data, (O) => (a(), M(
|
|
801
|
+
(a(!0), i(A, null, k((d = l.options) == null ? void 0 : d.data, (O) => (a(), M(Y, {
|
|
799
802
|
key: O.code,
|
|
800
803
|
label: O.name,
|
|
801
804
|
value: O.code
|
|
802
805
|
}, null, 8, ["label", "value"]))), 128)),
|
|
803
|
-
l.loading ? (a(), M(
|
|
806
|
+
l.loading ? (a(), M(Y, {
|
|
804
807
|
key: 0,
|
|
805
808
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
806
809
|
class: "select-loading",
|
|
@@ -813,14 +816,14 @@ function Ne(u, p, z, e, E, C) {
|
|
|
813
816
|
]),
|
|
814
817
|
_: 2
|
|
815
818
|
}, 1032, ["content", "disabled"]),
|
|
816
|
-
|
|
819
|
+
N("div", {
|
|
817
820
|
class: "item_tips_blow",
|
|
818
|
-
style:
|
|
821
|
+
style: f(l.tipsBlowStyle)
|
|
819
822
|
}, y(l.tipsBlow), 5)
|
|
820
823
|
];
|
|
821
824
|
}),
|
|
822
825
|
_: 2
|
|
823
|
-
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), M(
|
|
826
|
+
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), M(t, {
|
|
824
827
|
key: 9,
|
|
825
828
|
label: l.label,
|
|
826
829
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -828,12 +831,12 @@ function Ne(u, p, z, e, E, C) {
|
|
|
828
831
|
class: "date_item"
|
|
829
832
|
}, {
|
|
830
833
|
label: n(() => [
|
|
831
|
-
l.slotLabelName ?
|
|
834
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
832
835
|
key: 0,
|
|
833
|
-
style:
|
|
836
|
+
style: f(l.labelStyle)
|
|
834
837
|
}, [
|
|
835
|
-
|
|
836
|
-
l.required ? (a(), i("span",
|
|
838
|
+
b(y(l.label) + " ", 1),
|
|
839
|
+
l.required ? (a(), i("span", ml, "*")) : c("", !0)
|
|
837
840
|
], 4))
|
|
838
841
|
]),
|
|
839
842
|
default: n(() => [
|
|
@@ -870,38 +873,39 @@ function Ne(u, p, z, e, E, C) {
|
|
|
870
873
|
o,
|
|
871
874
|
typeof l.field == "string" ? l.field : ""
|
|
872
875
|
),
|
|
873
|
-
onBlur: e.openDatePicker
|
|
876
|
+
onBlur: e.openDatePicker,
|
|
877
|
+
onOpenChange: e.openChange
|
|
874
878
|
}, {
|
|
875
879
|
superPrevIcon: n(() => [
|
|
876
|
-
|
|
880
|
+
$l
|
|
877
881
|
]),
|
|
878
882
|
prevIcon: n(() => [
|
|
879
|
-
|
|
883
|
+
le
|
|
880
884
|
]),
|
|
881
885
|
nextIcon: n(() => [
|
|
882
|
-
|
|
886
|
+
ee
|
|
883
887
|
]),
|
|
884
888
|
superNextIcon: n(() => [
|
|
885
|
-
|
|
889
|
+
oe
|
|
886
890
|
]),
|
|
887
891
|
_: 2
|
|
888
|
-
}, 1032, ["allowClear", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onCalendarChange", "onOk", "onBlur"])),
|
|
889
|
-
l.showTo ? (a(), i("span",
|
|
892
|
+
}, 1032, ["allowClear", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onCalendarChange", "onOk", "onBlur", "onOpenChange"])),
|
|
893
|
+
l.showTo ? (a(), i("span", ae, y(l.showTo), 1)) : c("", !0)
|
|
890
894
|
]),
|
|
891
895
|
_: 2
|
|
892
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), M(
|
|
896
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), M(t, {
|
|
893
897
|
key: 10,
|
|
894
898
|
label: l.label,
|
|
895
899
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
896
900
|
prop: l.field
|
|
897
901
|
}, {
|
|
898
902
|
label: n(() => [
|
|
899
|
-
l.slotLabelName ?
|
|
903
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
900
904
|
key: 0,
|
|
901
|
-
style:
|
|
905
|
+
style: f(l.labelStyle)
|
|
902
906
|
}, [
|
|
903
|
-
|
|
904
|
-
l.required ? (a(), i("span",
|
|
907
|
+
b(y(l.label) + " ", 1),
|
|
908
|
+
l.required ? (a(), i("span", ne, "*")) : c("", !0)
|
|
905
909
|
], 4))
|
|
906
910
|
]),
|
|
907
911
|
default: n(() => [
|
|
@@ -941,34 +945,34 @@ function Ne(u, p, z, e, E, C) {
|
|
|
941
945
|
onOpenChange: e.openDatePickerDaterange
|
|
942
946
|
}, {
|
|
943
947
|
superPrevIcon: n(() => [
|
|
944
|
-
|
|
948
|
+
de
|
|
945
949
|
]),
|
|
946
950
|
prevIcon: n(() => [
|
|
947
|
-
|
|
951
|
+
se
|
|
948
952
|
]),
|
|
949
953
|
nextIcon: n(() => [
|
|
950
|
-
|
|
954
|
+
re
|
|
951
955
|
]),
|
|
952
956
|
superNextIcon: n(() => [
|
|
953
|
-
|
|
957
|
+
ie
|
|
954
958
|
]),
|
|
955
959
|
_: 2
|
|
956
960
|
}, 1032, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
957
961
|
]),
|
|
958
962
|
_: 2
|
|
959
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(), M(
|
|
963
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(), M(t, {
|
|
960
964
|
key: 11,
|
|
961
965
|
label: l.label,
|
|
962
966
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
963
967
|
prop: l.field
|
|
964
968
|
}, {
|
|
965
969
|
label: n(() => [
|
|
966
|
-
l.slotLabelName ?
|
|
970
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
967
971
|
key: 0,
|
|
968
|
-
style:
|
|
972
|
+
style: f(l.labelStyle)
|
|
969
973
|
}, [
|
|
970
|
-
|
|
971
|
-
l.required ? (a(), i("span",
|
|
974
|
+
b(y(l.label) + " ", 1),
|
|
975
|
+
l.required ? (a(), i("span", Me, "*")) : c("", !0)
|
|
972
976
|
], 4))
|
|
973
977
|
]),
|
|
974
978
|
default: n(() => [
|
|
@@ -1009,7 +1013,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1009
1013
|
}, 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
1014
|
]),
|
|
1011
1015
|
_: 2
|
|
1012
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), M(
|
|
1016
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), M(t, {
|
|
1013
1017
|
key: 12,
|
|
1014
1018
|
label: l.label,
|
|
1015
1019
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -1017,19 +1021,19 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1017
1021
|
class: "rule_err"
|
|
1018
1022
|
}, {
|
|
1019
1023
|
label: n(() => [
|
|
1020
|
-
l.slotLabelName ?
|
|
1024
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
1021
1025
|
key: 0,
|
|
1022
|
-
style:
|
|
1026
|
+
style: f(l.labelStyle)
|
|
1023
1027
|
}, [
|
|
1024
|
-
|
|
1025
|
-
l.required ? (a(), i("span",
|
|
1028
|
+
b(y(l.label) + " ", 1),
|
|
1029
|
+
l.required ? (a(), i("span", ye, "*")) : c("", !0)
|
|
1026
1030
|
], 4))
|
|
1027
1031
|
]),
|
|
1028
1032
|
default: n(() => [
|
|
1029
|
-
|
|
1033
|
+
h(u.$slots, l.slotItemName, {}, void 0, !0)
|
|
1030
1034
|
]),
|
|
1031
1035
|
_: 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(), M(
|
|
1036
|
+
}, 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(), M(t, {
|
|
1033
1037
|
key: 13,
|
|
1034
1038
|
label: l.label,
|
|
1035
1039
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
@@ -1037,20 +1041,20 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1037
1041
|
class: "phone_item"
|
|
1038
1042
|
}, {
|
|
1039
1043
|
label: n(() => [
|
|
1040
|
-
l.slotLabelName ?
|
|
1044
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
1041
1045
|
key: 0,
|
|
1042
|
-
style:
|
|
1046
|
+
style: f(l.labelStyle)
|
|
1043
1047
|
}, [
|
|
1044
|
-
|
|
1045
|
-
l.required ? (a(), i("span",
|
|
1048
|
+
b(y(l.label) + " ", 1),
|
|
1049
|
+
l.required ? (a(), i("span", ce, "*")) : c("", !0)
|
|
1046
1050
|
], 4))
|
|
1047
1051
|
]),
|
|
1048
1052
|
default: n(() => [
|
|
1049
|
-
|
|
1053
|
+
N("div", {
|
|
1050
1054
|
class: D(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1051
1055
|
}, [
|
|
1052
|
-
e.phoneWrap ? (a(), i("div",
|
|
1053
|
-
|
|
1056
|
+
e.phoneWrap ? (a(), i("div", ue, [
|
|
1057
|
+
p(x, {
|
|
1054
1058
|
"popper-class": "input-tooltip",
|
|
1055
1059
|
effect: "light",
|
|
1056
1060
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1071,7 +1075,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1071
1075
|
modelValue: e.states.model[l.field.nationCode],
|
|
1072
1076
|
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1073
1077
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1074
|
-
style:
|
|
1078
|
+
style: f("width:" + l.widthNation),
|
|
1075
1079
|
"fit-input-width": !0,
|
|
1076
1080
|
"suffix-icon": e.IconDropDown,
|
|
1077
1081
|
"clear-icon": e.IconClear
|
|
@@ -1079,7 +1083,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1079
1083
|
default: n(() => {
|
|
1080
1084
|
var d;
|
|
1081
1085
|
return [
|
|
1082
|
-
(a(!0), i(A, null, k((d = l.nationOptions) == null ? void 0 : d.data, (O, Q) => (a(), M(
|
|
1086
|
+
(a(!0), i(A, null, k((d = l.nationOptions) == null ? void 0 : d.data, (O, Q) => (a(), M(Y, {
|
|
1083
1087
|
label: O.name,
|
|
1084
1088
|
value: O.code,
|
|
1085
1089
|
key: Q
|
|
@@ -1092,8 +1096,8 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1092
1096
|
}),
|
|
1093
1097
|
_: 2
|
|
1094
1098
|
}, 1032, ["content", "disabled"]),
|
|
1095
|
-
|
|
1096
|
-
|
|
1099
|
+
ge,
|
|
1100
|
+
p(x, {
|
|
1097
1101
|
"popper-class": "input-tooltip",
|
|
1098
1102
|
effect: "light",
|
|
1099
1103
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1103,7 +1107,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1103
1107
|
default: n(() => {
|
|
1104
1108
|
var o;
|
|
1105
1109
|
return [
|
|
1106
|
-
l.field.areaCode ? (a(), M(
|
|
1110
|
+
l.field.areaCode ? (a(), M(j, {
|
|
1107
1111
|
key: 0,
|
|
1108
1112
|
class: D(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1109
1113
|
id: l.field.areaCode,
|
|
@@ -1136,9 +1140,9 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1136
1140
|
}),
|
|
1137
1141
|
_: 2
|
|
1138
1142
|
}, 1032, ["content", "disabled"]),
|
|
1139
|
-
|
|
1143
|
+
pe
|
|
1140
1144
|
])) : c("", !0),
|
|
1141
|
-
|
|
1145
|
+
p(x, {
|
|
1142
1146
|
"popper-class": "input-tooltip",
|
|
1143
1147
|
effect: "light",
|
|
1144
1148
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1162,7 +1166,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1162
1166
|
modelValue: e.states.model[l.field.nationCode],
|
|
1163
1167
|
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1164
1168
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1165
|
-
style:
|
|
1169
|
+
style: f("width:" + l.widthNation),
|
|
1166
1170
|
"fit-input-width": !0,
|
|
1167
1171
|
"suffix-icon": e.IconDropDown,
|
|
1168
1172
|
"clear-icon": e.IconClear
|
|
@@ -1170,7 +1174,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1170
1174
|
default: n(() => {
|
|
1171
1175
|
var d;
|
|
1172
1176
|
return [
|
|
1173
|
-
(a(!0), i(A, null, k((d = l.nationOptions) == null ? void 0 : d.data, (O, Q) => (a(), M(
|
|
1177
|
+
(a(!0), i(A, null, k((d = l.nationOptions) == null ? void 0 : d.data, (O, Q) => (a(), M(Y, {
|
|
1174
1178
|
label: O.name,
|
|
1175
1179
|
value: O.code,
|
|
1176
1180
|
key: Q
|
|
@@ -1183,8 +1187,8 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1183
1187
|
}),
|
|
1184
1188
|
_: 2
|
|
1185
1189
|
}, 1032, ["content", "disabled"]),
|
|
1186
|
-
e.phoneWrap ? c("", !0) : (a(), i("div",
|
|
1187
|
-
|
|
1190
|
+
e.phoneWrap ? c("", !0) : (a(), i("div", fe, " - ")),
|
|
1191
|
+
p(x, {
|
|
1188
1192
|
"popper-class": "input-tooltip",
|
|
1189
1193
|
effect: "light",
|
|
1190
1194
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1194,7 +1198,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1194
1198
|
default: n(() => {
|
|
1195
1199
|
var o;
|
|
1196
1200
|
return [
|
|
1197
|
-
l.field.areaCode && !e.phoneWrap ? (a(), M(
|
|
1201
|
+
l.field.areaCode && !e.phoneWrap ? (a(), M(j, {
|
|
1198
1202
|
key: 0,
|
|
1199
1203
|
class: D([
|
|
1200
1204
|
"tooltip-input",
|
|
@@ -1224,7 +1228,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1224
1228
|
"onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
|
|
1225
1229
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1226
1230
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1227
|
-
style:
|
|
1231
|
+
style: f("width:" + l.widthArea),
|
|
1228
1232
|
clearable: l.clearable
|
|
1229
1233
|
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : c("", !0)
|
|
1230
1234
|
];
|
|
@@ -1232,7 +1236,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1232
1236
|
_: 2
|
|
1233
1237
|
}, 1032, ["content", "disabled"]),
|
|
1234
1238
|
e.phoneWrap ? c("", !0) : (a(), i("div", te, " - ")),
|
|
1235
|
-
|
|
1239
|
+
p(x, {
|
|
1236
1240
|
"popper-class": "input-tooltip",
|
|
1237
1241
|
effect: "light",
|
|
1238
1242
|
content: e.states.model[typeof l.field.phoneNumber == "string" ? l.field.phoneNumber : ""],
|
|
@@ -1240,7 +1244,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1240
1244
|
disabled: e.isShowTooltip
|
|
1241
1245
|
}, {
|
|
1242
1246
|
default: n(() => [
|
|
1243
|
-
l.field.phoneNumber ? (a(), M(
|
|
1247
|
+
l.field.phoneNumber ? (a(), M(j, {
|
|
1244
1248
|
key: 0,
|
|
1245
1249
|
class: D([
|
|
1246
1250
|
"tooltip-input",
|
|
@@ -1269,7 +1273,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1269
1273
|
"onUpdate:modelValue": (o) => e.states.model[l.field.phoneNumber] = o,
|
|
1270
1274
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
|
|
1271
1275
|
placeholder: l.placeholder || "",
|
|
1272
|
-
style:
|
|
1276
|
+
style: f("width:" + l.widthPhoneNumber),
|
|
1273
1277
|
clearable: l.clearable
|
|
1274
1278
|
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : c("", !0)
|
|
1275
1279
|
]),
|
|
@@ -1278,31 +1282,31 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1278
1282
|
], 2)
|
|
1279
1283
|
]),
|
|
1280
1284
|
_: 2
|
|
1281
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), M(
|
|
1285
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), M(t, {
|
|
1282
1286
|
key: 14,
|
|
1283
1287
|
label: l.label
|
|
1284
1288
|
}, {
|
|
1285
1289
|
default: n(() => [
|
|
1286
|
-
|
|
1290
|
+
De
|
|
1287
1291
|
]),
|
|
1288
1292
|
_: 2
|
|
1289
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), M(
|
|
1293
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), M(t, {
|
|
1290
1294
|
key: 15,
|
|
1291
1295
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1292
1296
|
prop: l.field,
|
|
1293
1297
|
class: D(l.prepend ? "input-item" : "")
|
|
1294
1298
|
}, {
|
|
1295
1299
|
label: n(() => [
|
|
1296
|
-
l.slotLabelName ?
|
|
1300
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
1297
1301
|
key: 0,
|
|
1298
|
-
style:
|
|
1302
|
+
style: f(l.labelStyle)
|
|
1299
1303
|
}, [
|
|
1300
|
-
|
|
1301
|
-
l.required ? (a(), i("span",
|
|
1304
|
+
b(y(l.label) + " ", 1),
|
|
1305
|
+
l.required ? (a(), i("span", be, "*")) : c("", !0)
|
|
1302
1306
|
], 4))
|
|
1303
1307
|
]),
|
|
1304
1308
|
default: n(() => [
|
|
1305
|
-
|
|
1309
|
+
p(j, {
|
|
1306
1310
|
onBlur: (o) => e.inputBlur(
|
|
1307
1311
|
o,
|
|
1308
1312
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1339,37 +1343,37 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1339
1343
|
l.prepend ? {
|
|
1340
1344
|
name: "prepend",
|
|
1341
1345
|
fn: n(() => [
|
|
1342
|
-
|
|
1346
|
+
b(y(l.prepend), 1)
|
|
1343
1347
|
]),
|
|
1344
1348
|
key: "0"
|
|
1345
1349
|
} : void 0,
|
|
1346
1350
|
l.append ? {
|
|
1347
1351
|
name: "append",
|
|
1348
1352
|
fn: n(() => [
|
|
1349
|
-
|
|
1353
|
+
b(y(l.append), 1)
|
|
1350
1354
|
]),
|
|
1351
1355
|
key: "1"
|
|
1352
1356
|
} : void 0
|
|
1353
1357
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1354
1358
|
]),
|
|
1355
1359
|
_: 2
|
|
1356
|
-
}, 1032, ["rules", "prop", "class"])) : (a(), M(
|
|
1360
|
+
}, 1032, ["rules", "prop", "class"])) : (a(), M(t, {
|
|
1357
1361
|
key: 16,
|
|
1358
1362
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1359
1363
|
prop: l.field,
|
|
1360
1364
|
class: D(l.prepend ? "input-item" : "")
|
|
1361
1365
|
}, {
|
|
1362
1366
|
label: n(() => [
|
|
1363
|
-
l.slotLabelName ?
|
|
1367
|
+
l.slotLabelName ? h(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
1364
1368
|
key: 0,
|
|
1365
|
-
style:
|
|
1369
|
+
style: f(l.labelStyle)
|
|
1366
1370
|
}, [
|
|
1367
|
-
|
|
1368
|
-
l.required ? (a(), i("span",
|
|
1371
|
+
b(y(l.label) + " ", 1),
|
|
1372
|
+
l.required ? (a(), i("span", Ne, "*")) : c("", !0)
|
|
1369
1373
|
], 4))
|
|
1370
1374
|
]),
|
|
1371
1375
|
default: n(() => [
|
|
1372
|
-
|
|
1376
|
+
p(x, {
|
|
1373
1377
|
"popper-class": "input-tooltip",
|
|
1374
1378
|
effect: "light",
|
|
1375
1379
|
content: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
@@ -1377,7 +1381,7 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1377
1381
|
disabled: e.isShowTooltip
|
|
1378
1382
|
}, {
|
|
1379
1383
|
default: n(() => [
|
|
1380
|
-
|
|
1384
|
+
p(j, {
|
|
1381
1385
|
class: D(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1382
1386
|
id: l.field,
|
|
1383
1387
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
@@ -1401,14 +1405,14 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1401
1405
|
l.prepend ? {
|
|
1402
1406
|
name: "prepend",
|
|
1403
1407
|
fn: n(() => [
|
|
1404
|
-
|
|
1408
|
+
b(y(l.prepend), 1)
|
|
1405
1409
|
]),
|
|
1406
1410
|
key: "0"
|
|
1407
1411
|
} : void 0,
|
|
1408
1412
|
l.append ? {
|
|
1409
1413
|
name: "append",
|
|
1410
1414
|
fn: n(() => [
|
|
1411
|
-
|
|
1415
|
+
b(y(l.append), 1)
|
|
1412
1416
|
]),
|
|
1413
1417
|
key: "1"
|
|
1414
1418
|
} : void 0
|
|
@@ -1423,14 +1427,14 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1423
1427
|
]),
|
|
1424
1428
|
_: 2
|
|
1425
1429
|
}, 1032, ["xs", "sm", "md", "lg", "xl"])), [
|
|
1426
|
-
[
|
|
1430
|
+
[Cl, !l.isHide]
|
|
1427
1431
|
])), 128))
|
|
1428
1432
|
]),
|
|
1429
1433
|
_: 3
|
|
1430
1434
|
}),
|
|
1431
|
-
|
|
1435
|
+
p(t, { class: "btnsItem" }, {
|
|
1432
1436
|
default: n(() => [
|
|
1433
|
-
|
|
1437
|
+
h(u.$slots, "buttons", {
|
|
1434
1438
|
model: z.model,
|
|
1435
1439
|
onBtnClick: e.onSubmit
|
|
1436
1440
|
}, () => [
|
|
@@ -1458,12 +1462,12 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1458
1462
|
size: l.size,
|
|
1459
1463
|
fontSize: l.fontSize,
|
|
1460
1464
|
fontWeight: l.fontWeight,
|
|
1461
|
-
style:
|
|
1465
|
+
style: f(l.style),
|
|
1462
1466
|
class: D(l.class),
|
|
1463
1467
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1464
1468
|
}, {
|
|
1465
1469
|
default: n(() => [
|
|
1466
|
-
|
|
1470
|
+
b(y(l.name), 1)
|
|
1467
1471
|
]),
|
|
1468
1472
|
_: 2
|
|
1469
1473
|
}, 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)
|
|
@@ -1476,11 +1480,11 @@ function Ne(u, p, z, e, E, C) {
|
|
|
1476
1480
|
_: 3
|
|
1477
1481
|
}, 16, ["model", "label-position"]);
|
|
1478
1482
|
}
|
|
1479
|
-
const Ml = /* @__PURE__ */ Rl
|
|
1480
|
-
function
|
|
1481
|
-
|
|
1483
|
+
const Ml = /* @__PURE__ */ Yl(Rl, [["render", Ie], ["__scopeId", "data-v-4ed155c7"]]);
|
|
1484
|
+
function $(u, g = {}) {
|
|
1485
|
+
$.installed || ($.installed = !0, u.component("common-el-form", Ml));
|
|
1482
1486
|
}
|
|
1483
|
-
Ml.install =
|
|
1487
|
+
Ml.install = $;
|
|
1484
1488
|
export {
|
|
1485
1489
|
Ml as default
|
|
1486
1490
|
};
|