sinosoft-common-form 2.3.5 → 2.3.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 +190 -185
- 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 v, reactive as Al, shallowRef as el, h as ol, computed as kl, onMounted as wl, onBeforeUnmount as zl, watch as Cl, toRefs as xl, nextTick as Ll, resolveComponent as I, openBlock as a, createBlock as i, mergeProps as El, withModifiers as _l, withCtx as n, createVNode as f, createElementBlock as M, Fragment as k, renderList as w, withDirectives as Sl, createElementVNode as b, normalizeStyle as D, toDisplayString as y, createTextVNode as T, createCommentVNode as g, renderSlot as h, normalizeClass as t, withKeys as U, createSlots as K, vShow as Yl, pushScopeId as vl, popScopeId as Rl } from "vue";
|
|
2
2
|
const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Nj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MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Wl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -21,175 +21,180 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(p, { emit:
|
|
25
|
-
const C =
|
|
24
|
+
setup(p, { emit: c }) {
|
|
25
|
+
const C = v(!0), e = Al({
|
|
26
26
|
model: {}
|
|
27
|
-
}),
|
|
27
|
+
}), S = v(!0), x = v(null), N = el({
|
|
28
28
|
render() {
|
|
29
|
-
return
|
|
29
|
+
return ol("img", {
|
|
30
30
|
src: Vl
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
}), O =
|
|
33
|
+
}), O = el({
|
|
34
34
|
render() {
|
|
35
|
-
return
|
|
35
|
+
return ol("img", {
|
|
36
36
|
src: Ul
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
}), E = (s) => {
|
|
40
40
|
const r = s.target;
|
|
41
|
-
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight &&
|
|
42
|
-
},
|
|
41
|
+
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight && c("selectChangeScroll");
|
|
42
|
+
}, F = (s, r) => {
|
|
43
43
|
if (s) {
|
|
44
|
-
const
|
|
45
|
-
|
|
44
|
+
const u = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
45
|
+
u && u.addEventListener("scroll", E), c("handleVisibleChange", s, r);
|
|
46
46
|
}
|
|
47
|
-
},
|
|
47
|
+
}, W = el({
|
|
48
48
|
render() {
|
|
49
|
-
return
|
|
49
|
+
return ol("img", {
|
|
50
50
|
src: Fl
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), B = kl(() => Object.assign([], p.options)), R = () => {
|
|
54
54
|
e.model = p.model;
|
|
55
|
-
},
|
|
55
|
+
}, Y = (s, r, u) => {
|
|
56
56
|
var j;
|
|
57
57
|
r ? (C.value = !1, Ll(() => {
|
|
58
|
-
var
|
|
59
|
-
(
|
|
60
|
-
if (
|
|
61
|
-
u
|
|
58
|
+
var _;
|
|
59
|
+
(_ = x.value) == null || _.validate((ll) => {
|
|
60
|
+
if (ll)
|
|
61
|
+
c(u || "submit", e.model, s);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) : r ? (
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
|
|
65
|
+
})) : r ? (u === "reset" && ((j = x.value) == null || j.resetFields()), c(u || "submit", e.model, s)) : (C.value = !1, c(u || "submit", e.model, s, x.value));
|
|
66
|
+
}, V = (s, r) => {
|
|
67
|
+
c("selectChange", s, r);
|
|
68
|
+
}, Z = (s, r) => {
|
|
69
|
+
c("radioChange", s, r);
|
|
70
70
|
}, L = (s, r) => {
|
|
71
|
-
|
|
71
|
+
c("checkChange", s, r);
|
|
72
72
|
}, q = (s, r) => {
|
|
73
|
-
const
|
|
74
|
-
if (
|
|
75
|
-
|
|
73
|
+
const u = e.model[r].length;
|
|
74
|
+
if (u === 1) {
|
|
75
|
+
c("checkChange", s, r);
|
|
76
76
|
return;
|
|
77
77
|
} else
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
|
|
78
|
+
u > 1 ? (e.model[r].shift(), c("checkChange", s, r)) : u < 1 && c("checkChange", s, r);
|
|
79
|
+
}, P = (s, r, u) => {
|
|
80
|
+
Y(s, r, u);
|
|
81
81
|
}, J = (s, r) => {
|
|
82
|
-
s && (r == null ? void 0 : r.key) === "Enter" &&
|
|
83
|
-
},
|
|
84
|
-
var
|
|
85
|
-
const j = /* @__PURE__ */ new Date(),
|
|
86
|
-
s === Ol &&
|
|
82
|
+
s && (r == null ? void 0 : r.key) === "Enter" && Y(void 0, !0, "submit");
|
|
83
|
+
}, H = (s, r, u) => {
|
|
84
|
+
var Ml, il;
|
|
85
|
+
const j = /* @__PURE__ */ new Date(), _ = j.getDate().toString().padStart(2, "0"), ll = (j.getMonth() + 1).toString().padStart(2, "0"), jl = j.getFullYear().toString(), Ol = `${_}/${ll}/${jl}`;
|
|
86
|
+
s === Ol && u ? ((Ml = x.value) == null || Ml.validateField(r), e.model[r] = u.format("DD/MM/YYYY"), c("dateChange", u.format("DD/MM/YYYY"), r)) : (console.log(111111), (il = x.value) == null || il.validateField(r), c("dateChange", s, r));
|
|
87
87
|
}, l = (s, r) => {
|
|
88
|
-
|
|
89
|
-
},
|
|
90
|
-
|
|
88
|
+
console.log(s, "calendarChange"), c("calendarChange", s, r);
|
|
89
|
+
}, Q = (s, r) => {
|
|
90
|
+
c("onOk", s, r);
|
|
91
91
|
}, o = (s, r) => {
|
|
92
|
-
|
|
92
|
+
c("inputBlur", s, r);
|
|
93
93
|
}, d = (s, r) => {
|
|
94
|
-
|
|
94
|
+
c("inputFocus", s, r);
|
|
95
95
|
}, A = (s, r) => {
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
},
|
|
96
|
+
c("inputChange", s, r);
|
|
97
|
+
}, G = (s, r) => {
|
|
98
|
+
c("inputInput", s, r);
|
|
99
|
+
}, fl = (s) => {
|
|
100
100
|
if (s) {
|
|
101
|
-
var r = document.getElementById(s),
|
|
102
|
-
j >
|
|
101
|
+
var r = document.getElementById(s), u = r.offsetWidth, j = r.scrollWidth;
|
|
102
|
+
j > u ? S.value = !1 : S.value = !0;
|
|
103
103
|
} else
|
|
104
|
-
|
|
105
|
-
},
|
|
106
|
-
const
|
|
107
|
-
return
|
|
108
|
-
},
|
|
104
|
+
S.value = !0;
|
|
105
|
+
}, Dl = (s, r) => {
|
|
106
|
+
const u = r.find((j) => j.code === s);
|
|
107
|
+
return u ? u.name : s;
|
|
108
|
+
}, tl = (s) => {
|
|
109
109
|
var r;
|
|
110
110
|
(r = x.value) == null || r.resetFields(s);
|
|
111
|
-
},
|
|
111
|
+
}, bl = (s) => {
|
|
112
112
|
var r;
|
|
113
113
|
(r = x.value) == null || r.clearValidate(s);
|
|
114
|
-
}, X =
|
|
114
|
+
}, X = v(!1), nl = () => {
|
|
115
115
|
window.innerWidth < 768, X.value = !1;
|
|
116
116
|
};
|
|
117
117
|
wl(() => {
|
|
118
118
|
var s;
|
|
119
|
-
|
|
119
|
+
R(), (s = x.value) == null || s.resetFields(), window.addEventListener("resize", nl);
|
|
120
120
|
}), zl(() => {
|
|
121
|
-
window.removeEventListener("resize",
|
|
121
|
+
window.removeEventListener("resize", nl);
|
|
122
122
|
}), Cl(
|
|
123
123
|
() => p.fieldList,
|
|
124
124
|
(s, r) => {
|
|
125
|
-
s !== r &&
|
|
125
|
+
s !== r && R();
|
|
126
126
|
}
|
|
127
127
|
);
|
|
128
|
-
const m =
|
|
128
|
+
const m = v(0), $ = v(0), dl = v(0), sl = () => {
|
|
129
129
|
m.value += 1;
|
|
130
|
-
},
|
|
131
|
-
const
|
|
130
|
+
}, Nl = (s, r, u, j) => {
|
|
131
|
+
const _ = {};
|
|
132
132
|
if (s.date() === r.date() && s.year() === r.year() && s.month() === r.month())
|
|
133
|
-
return
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
133
|
+
return _.border = "1px solid #a26628", _.borderRadius = "4px", _;
|
|
134
|
+
c("openStatusNumber", u == null ? void 0 : u.range, j);
|
|
135
|
+
}, Tl = (s, r, u) => {
|
|
136
|
+
e.model[r] = u.format("DD/MM/YYYY"), sl(), H(s, r, u), c("getDefaultToady", u, r);
|
|
137
|
+
}, Il = (s, r) => {
|
|
138
|
+
s || (m.value += 1), c("openChange", s);
|
|
139
|
+
};
|
|
140
|
+
$.value = 1;
|
|
141
|
+
const rl = (s, r, u) => {
|
|
142
|
+
s || ($.value += 1), c("openDatePickerDaterange", s);
|
|
143
|
+
};
|
|
144
|
+
rl(!0);
|
|
145
|
+
const hl = (s) => {
|
|
146
|
+
s || (dl.value += 1), c("openDatetimerange", s);
|
|
142
147
|
};
|
|
143
148
|
return {
|
|
144
149
|
...xl(e),
|
|
145
150
|
formRef: x,
|
|
146
|
-
isShowTooltip:
|
|
151
|
+
isShowTooltip: S,
|
|
147
152
|
states: e,
|
|
148
|
-
formOptions:
|
|
149
|
-
onSubmit:
|
|
150
|
-
selectChange:
|
|
151
|
-
radioChange:
|
|
153
|
+
formOptions: B,
|
|
154
|
+
onSubmit: Y,
|
|
155
|
+
selectChange: V,
|
|
156
|
+
radioChange: Z,
|
|
152
157
|
checkChange: L,
|
|
153
158
|
handleCheckedChange: q,
|
|
154
159
|
prefixIcon: N,
|
|
155
160
|
IconDropDown: O,
|
|
156
|
-
IconClear:
|
|
157
|
-
handleClick:
|
|
161
|
+
IconClear: W,
|
|
162
|
+
handleClick: P,
|
|
158
163
|
handleKeyUp: J,
|
|
159
|
-
resetFieldsTest:
|
|
160
|
-
clearValidateTest:
|
|
161
|
-
dateChange:
|
|
164
|
+
resetFieldsTest: tl,
|
|
165
|
+
clearValidateTest: bl,
|
|
166
|
+
dateChange: H,
|
|
162
167
|
calendarChange: l,
|
|
163
|
-
onOk:
|
|
168
|
+
onOk: Q,
|
|
164
169
|
inputBlur: o,
|
|
165
170
|
inputFocus: d,
|
|
166
171
|
inputChange: A,
|
|
167
|
-
inputInput:
|
|
172
|
+
inputInput: G,
|
|
168
173
|
noFormRule: C,
|
|
169
174
|
phoneWrap: X,
|
|
170
175
|
pickerKey: m,
|
|
171
|
-
pickerKeyDaterange:
|
|
176
|
+
pickerKeyDaterange: $,
|
|
172
177
|
datetimerange: dl,
|
|
173
178
|
openDatePicker: sl,
|
|
174
|
-
openDatePickerDaterange:
|
|
179
|
+
openDatePickerDaterange: rl,
|
|
175
180
|
openDatetimerange: hl,
|
|
176
181
|
// spaceRule,
|
|
177
|
-
handleVisibleChange:
|
|
182
|
+
handleVisibleChange: F,
|
|
178
183
|
handleScroll: E,
|
|
179
|
-
visibilityChange:
|
|
180
|
-
contentName:
|
|
181
|
-
openChange:
|
|
182
|
-
getCurrentStyle:
|
|
183
|
-
getDefaultToady:
|
|
184
|
+
visibilityChange: fl,
|
|
185
|
+
contentName: Dl,
|
|
186
|
+
openChange: Il,
|
|
187
|
+
getCurrentStyle: Nl,
|
|
188
|
+
getDefaultToady: Tl
|
|
184
189
|
};
|
|
185
190
|
}
|
|
186
|
-
},
|
|
187
|
-
const Bl = (p,
|
|
191
|
+
}, yl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGgg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kzOTNMMy44Nzg2IDIzLjkzOTNMNS45OTk5MiAyNi4wNjA3Wk0zLjg3ODYgMTMuOTM5M0wyLjgxNzk0IDE1TDQuOTM5MjYgMTcuMTIxM0w1Ljk5OTkyIDE2LjA2MDdMMy44Nzg2IDEzLjkzOTNaTTIuODE3OTQgMjVMMy44Nzg2IDI2LjA2MDdMNS45OTk5MiAyMy45MzkzTDQuOTM5MjYgMjIuODc4N0wyLjgxNzk0IDI1Wk02Ljc1NzI4IDE4LjkzOTNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
192
|
+
const Bl = (p, c) => {
|
|
188
193
|
const C = p.__vccOpts || p;
|
|
189
|
-
for (const [e,
|
|
190
|
-
C[e] =
|
|
194
|
+
for (const [e, S] of c)
|
|
195
|
+
C[e] = S;
|
|
191
196
|
return C;
|
|
192
|
-
}, z = (p) => (vl("data-v-
|
|
197
|
+
}, z = (p) => (vl("data-v-242be595"), p = p(), Rl(), p), Zl = { class: "header-title" }, Ql = { class: "title-content" }, Gl = {
|
|
193
198
|
key: 0,
|
|
194
199
|
class: "custom-required"
|
|
195
200
|
}, Pl = {
|
|
@@ -217,16 +222,16 @@ const Bl = (p, u) => {
|
|
|
217
222
|
key: 0,
|
|
218
223
|
class: "custom-required"
|
|
219
224
|
}, de = ["onClick"], se = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
220
|
-
src:
|
|
225
|
+
src: yl,
|
|
221
226
|
alt: ""
|
|
222
227
|
}, null, -1)), re = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
223
|
-
src:
|
|
228
|
+
src: cl,
|
|
224
229
|
alt: ""
|
|
225
230
|
}, null, -1)), Me = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
226
|
-
src:
|
|
231
|
+
src: ul,
|
|
227
232
|
alt: ""
|
|
228
233
|
}, null, -1)), ie = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
229
|
-
src:
|
|
234
|
+
src: gl,
|
|
230
235
|
alt: ""
|
|
231
236
|
}, null, -1)), ye = {
|
|
232
237
|
key: 0,
|
|
@@ -235,16 +240,16 @@ const Bl = (p, u) => {
|
|
|
235
240
|
key: 0,
|
|
236
241
|
class: "custom-required"
|
|
237
242
|
}, ue = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
238
|
-
src:
|
|
243
|
+
src: yl,
|
|
239
244
|
alt: ""
|
|
240
245
|
}, null, -1)), ge = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
241
|
-
src:
|
|
246
|
+
src: cl,
|
|
242
247
|
alt: ""
|
|
243
248
|
}, null, -1)), pe = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
244
|
-
src:
|
|
249
|
+
src: ul,
|
|
245
250
|
alt: ""
|
|
246
251
|
}, null, -1)), fe = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
247
|
-
src:
|
|
252
|
+
src: gl,
|
|
248
253
|
alt: ""
|
|
249
254
|
}, null, -1)), De = {
|
|
250
255
|
key: 0,
|
|
@@ -274,11 +279,11 @@ const Bl = (p, u) => {
|
|
|
274
279
|
key: 0,
|
|
275
280
|
class: "custom-required"
|
|
276
281
|
};
|
|
277
|
-
function we(p,
|
|
278
|
-
const N = I("el-form-item"), O = I("el-input"), E = I("el-col"),
|
|
279
|
-
return a(), i(
|
|
282
|
+
function we(p, c, C, e, S, x) {
|
|
283
|
+
const N = I("el-form-item"), O = I("el-input"), E = I("el-col"), F = I("el-row"), W = I("el-radio"), B = I("el-radio-group"), R = I("el-checkbox"), Y = I("el-checkbox-group"), V = I("el-option"), Z = I("el-select"), L = I("el-tooltip"), q = I("a-date-picker"), P = I("a-range-picker"), J = I("sinosoftCommonButton"), H = I("el-form");
|
|
284
|
+
return a(), i(H, El({
|
|
280
285
|
"hide-required-asterisk": "",
|
|
281
|
-
onSubmit:
|
|
286
|
+
onSubmit: c[1] || (c[1] = _l(() => {
|
|
282
287
|
}, ["prevent"])),
|
|
283
288
|
model: C.model
|
|
284
289
|
}, e.formOptions, {
|
|
@@ -287,15 +292,15 @@ function we(p, u, C, e, _, x) {
|
|
|
287
292
|
"scroll-to-error": !0
|
|
288
293
|
}), {
|
|
289
294
|
default: n(() => [
|
|
290
|
-
f(
|
|
295
|
+
f(F, { gutter: 24 }, {
|
|
291
296
|
default: n(() => [
|
|
292
|
-
(a(!0), M(k, null, w(C.fieldList, (l,
|
|
297
|
+
(a(!0), M(k, null, w(C.fieldList, (l, Q) => Sl((a(), i(E, {
|
|
293
298
|
xs: l.xs ? l.xs : 24,
|
|
294
299
|
sm: l.sm ? l.sm : 24,
|
|
295
300
|
md: l.md ? l.md : 8,
|
|
296
301
|
lg: l.lg ? l.lg : 8,
|
|
297
302
|
xl: l.xl ? l.xl : 8,
|
|
298
|
-
key:
|
|
303
|
+
key: Q
|
|
299
304
|
}, {
|
|
300
305
|
default: n(() => [
|
|
301
306
|
b("div", {
|
|
@@ -320,11 +325,11 @@ function we(p, u, C, e, _, x) {
|
|
|
320
325
|
style: D(l.labelStyle)
|
|
321
326
|
}, [
|
|
322
327
|
T(y(l.label) + " ", 1),
|
|
323
|
-
l.required ? (a(), M("span", Gl, "*")) :
|
|
328
|
+
l.required ? (a(), M("span", Gl, "*")) : g("", !0)
|
|
324
329
|
], 4))
|
|
325
330
|
]),
|
|
326
331
|
default: n(() => [
|
|
327
|
-
f(
|
|
332
|
+
f(F, { gutter: 20 }, {
|
|
328
333
|
default: n(() => [
|
|
329
334
|
f(E, {
|
|
330
335
|
xs: 24,
|
|
@@ -356,11 +361,11 @@ function we(p, u, C, e, _, x) {
|
|
|
356
361
|
type: l.type ? l.type : "text",
|
|
357
362
|
placeholder: l.placeholderNameEnFamily,
|
|
358
363
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
|
|
359
|
-
onKeyup:
|
|
364
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
360
365
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
361
366
|
]),
|
|
362
367
|
_: 2
|
|
363
|
-
}, 1032, ["rules", "prop"])) :
|
|
368
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
364
369
|
]),
|
|
365
370
|
_: 2
|
|
366
371
|
}, 1024),
|
|
@@ -394,18 +399,18 @@ function we(p, u, C, e, _, x) {
|
|
|
394
399
|
type: l.type ? l.type : "text",
|
|
395
400
|
placeholder: l.placeholderNameEn,
|
|
396
401
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
|
|
397
|
-
onKeyup:
|
|
402
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
398
403
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
399
404
|
]),
|
|
400
405
|
_: 2
|
|
401
|
-
}, 1032, ["rules", "prop"])) :
|
|
406
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
402
407
|
]),
|
|
403
408
|
_: 2
|
|
404
409
|
}, 1024)
|
|
405
410
|
]),
|
|
406
411
|
_: 2
|
|
407
412
|
}, 1024),
|
|
408
|
-
f(
|
|
413
|
+
f(F, { gutter: 20 }, {
|
|
409
414
|
default: n(() => [
|
|
410
415
|
f(E, {
|
|
411
416
|
xs: 24,
|
|
@@ -440,11 +445,11 @@ function we(p, u, C, e, _, x) {
|
|
|
440
445
|
type: l.type ? l.type : "text",
|
|
441
446
|
placeholder: l.placeholderNameChFamily,
|
|
442
447
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
|
|
443
|
-
onKeyup:
|
|
448
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
444
449
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
445
450
|
]),
|
|
446
451
|
_: 2
|
|
447
|
-
}, 1032, ["rules", "prop"])) :
|
|
452
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
448
453
|
]),
|
|
449
454
|
_: 2
|
|
450
455
|
}, 1024),
|
|
@@ -478,11 +483,11 @@ function we(p, u, C, e, _, x) {
|
|
|
478
483
|
type: l.type ? l.type : "text",
|
|
479
484
|
placeholder: l.placeholderNameCh,
|
|
480
485
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
|
|
481
|
-
onKeyup:
|
|
486
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
482
487
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
483
488
|
]),
|
|
484
489
|
_: 2
|
|
485
|
-
}, 1032, ["rules", "prop"])) :
|
|
490
|
+
}, 1032, ["rules", "prop"])) : g("", !0)
|
|
486
491
|
]),
|
|
487
492
|
_: 2
|
|
488
493
|
}, 1024)
|
|
@@ -504,11 +509,11 @@ function we(p, u, C, e, _, x) {
|
|
|
504
509
|
style: D(l.labelStyle)
|
|
505
510
|
}, [
|
|
506
511
|
T(y(l.label) + " ", 1),
|
|
507
|
-
l.required ? (a(), M("span", Pl, "*")) :
|
|
512
|
+
l.required ? (a(), M("span", Pl, "*")) : g("", !0)
|
|
508
513
|
], 4))
|
|
509
514
|
]),
|
|
510
515
|
default: n(() => [
|
|
511
|
-
f(
|
|
516
|
+
f(B, {
|
|
512
517
|
modelValue: e.states.model[l.field],
|
|
513
518
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
514
519
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -517,7 +522,7 @@ function we(p, u, C, e, _, x) {
|
|
|
517
522
|
default: n(() => {
|
|
518
523
|
var o;
|
|
519
524
|
return [
|
|
520
|
-
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(
|
|
525
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(W, {
|
|
521
526
|
label: d.code,
|
|
522
527
|
size: "large",
|
|
523
528
|
key: d.code
|
|
@@ -550,11 +555,11 @@ function we(p, u, C, e, _, x) {
|
|
|
550
555
|
style: D(l.labelStyle)
|
|
551
556
|
}, [
|
|
552
557
|
T(y(l.label) + " ", 1),
|
|
553
|
-
l.required ? (a(), M("span", Kl, "*")) :
|
|
558
|
+
l.required ? (a(), M("span", Kl, "*")) : g("", !0)
|
|
554
559
|
], 4))
|
|
555
560
|
]),
|
|
556
561
|
default: n(() => [
|
|
557
|
-
f(
|
|
562
|
+
f(B, {
|
|
558
563
|
modelValue: e.states.model[l.field],
|
|
559
564
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
560
565
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -567,7 +572,7 @@ function we(p, u, C, e, _, x) {
|
|
|
567
572
|
default: n(() => {
|
|
568
573
|
var o;
|
|
569
574
|
return [
|
|
570
|
-
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(
|
|
575
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(W, {
|
|
571
576
|
size: "large",
|
|
572
577
|
label: d.code,
|
|
573
578
|
key: d.code,
|
|
@@ -595,9 +600,9 @@ function we(p, u, C, e, _, x) {
|
|
|
595
600
|
b("div", null, [
|
|
596
601
|
b("span", ql, y(l.labelBefore), 1),
|
|
597
602
|
b("span", Jl, y(l.labelNode), 1),
|
|
598
|
-
l.required ? (a(), M("span", Xl, "*")) :
|
|
603
|
+
l.required ? (a(), M("span", Xl, "*")) : g("", !0)
|
|
599
604
|
]),
|
|
600
|
-
f(
|
|
605
|
+
f(B, {
|
|
601
606
|
modelValue: e.states.model[l.field],
|
|
602
607
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
603
608
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -610,7 +615,7 @@ function we(p, u, C, e, _, x) {
|
|
|
610
615
|
default: n(() => {
|
|
611
616
|
var o;
|
|
612
617
|
return [
|
|
613
|
-
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(
|
|
618
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(W, {
|
|
614
619
|
size: "large",
|
|
615
620
|
label: d.code,
|
|
616
621
|
key: d.code
|
|
@@ -638,11 +643,11 @@ function we(p, u, C, e, _, x) {
|
|
|
638
643
|
style: D(l.labelStyle)
|
|
639
644
|
}, [
|
|
640
645
|
T(y(l.label) + " ", 1),
|
|
641
|
-
l.required ? (a(), M("span", ml, "*")) :
|
|
646
|
+
l.required ? (a(), M("span", ml, "*")) : g("", !0)
|
|
642
647
|
], 4))
|
|
643
648
|
]),
|
|
644
649
|
default: n(() => [
|
|
645
|
-
f(
|
|
650
|
+
f(Y, {
|
|
646
651
|
modelValue: e.states.model[l.field],
|
|
647
652
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
648
653
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -654,7 +659,7 @@ function we(p, u, C, e, _, x) {
|
|
|
654
659
|
default: n(() => {
|
|
655
660
|
var o;
|
|
656
661
|
return [
|
|
657
|
-
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(
|
|
662
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(R, {
|
|
658
663
|
key: d.code,
|
|
659
664
|
label: d.code,
|
|
660
665
|
disabled: d.isDisabled
|
|
@@ -682,11 +687,11 @@ function we(p, u, C, e, _, x) {
|
|
|
682
687
|
style: D(l.labelStyle)
|
|
683
688
|
}, [
|
|
684
689
|
T(y(l.label) + " ", 1),
|
|
685
|
-
l.required ? (a(), M("span", $l, "*")) :
|
|
690
|
+
l.required ? (a(), M("span", $l, "*")) : g("", !0)
|
|
686
691
|
], 4))
|
|
687
692
|
]),
|
|
688
693
|
default: n(() => [
|
|
689
|
-
f(
|
|
694
|
+
f(Y, {
|
|
690
695
|
modelValue: e.states.model[l.field],
|
|
691
696
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
692
697
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
@@ -698,7 +703,7 @@ function we(p, u, C, e, _, x) {
|
|
|
698
703
|
default: n(() => {
|
|
699
704
|
var o;
|
|
700
705
|
return [
|
|
701
|
-
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(
|
|
706
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(R, {
|
|
702
707
|
key: d.code,
|
|
703
708
|
label: d.code,
|
|
704
709
|
disabled: d.isDisabled
|
|
@@ -725,9 +730,9 @@ function we(p, u, C, e, _, x) {
|
|
|
725
730
|
b("div", null, [
|
|
726
731
|
b("span", le, y(l.labelBefore), 1),
|
|
727
732
|
b("span", ee, y(l.labelNode), 1),
|
|
728
|
-
l.required ? (a(), M("span", oe, "*")) :
|
|
733
|
+
l.required ? (a(), M("span", oe, "*")) : g("", !0)
|
|
729
734
|
]),
|
|
730
|
-
f(
|
|
735
|
+
f(Y, {
|
|
731
736
|
modelValue: e.states.model[l.field],
|
|
732
737
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
733
738
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -739,7 +744,7 @@ function we(p, u, C, e, _, x) {
|
|
|
739
744
|
default: n(() => {
|
|
740
745
|
var o;
|
|
741
746
|
return [
|
|
742
|
-
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(
|
|
747
|
+
(a(!0), M(k, null, w((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(R, {
|
|
743
748
|
key: d.code,
|
|
744
749
|
label: d.code,
|
|
745
750
|
disabled: d.isDisabled
|
|
@@ -768,7 +773,7 @@ function we(p, u, C, e, _, x) {
|
|
|
768
773
|
style: D(l.labelStyle)
|
|
769
774
|
}, [
|
|
770
775
|
T(y(l.label) + " ", 1),
|
|
771
|
-
l.required ? (a(), M("span", ae, "*")) :
|
|
776
|
+
l.required ? (a(), M("span", ae, "*")) : g("", !0)
|
|
772
777
|
], 4))
|
|
773
778
|
]),
|
|
774
779
|
default: n(() => {
|
|
@@ -782,7 +787,7 @@ function we(p, u, C, e, _, x) {
|
|
|
782
787
|
disabled: e.isShowTooltip
|
|
783
788
|
}, {
|
|
784
789
|
default: n(() => [
|
|
785
|
-
f(
|
|
790
|
+
f(Z, {
|
|
786
791
|
class: t(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
787
792
|
id: l.field,
|
|
788
793
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
@@ -808,17 +813,17 @@ function we(p, u, C, e, _, x) {
|
|
|
808
813
|
default: n(() => {
|
|
809
814
|
var d;
|
|
810
815
|
return [
|
|
811
|
-
(a(!0), M(k, null, w((d = l.options) == null ? void 0 : d.data, (A) => (a(), i(
|
|
816
|
+
(a(!0), M(k, null, w((d = l.options) == null ? void 0 : d.data, (A) => (a(), i(V, {
|
|
812
817
|
key: A.code,
|
|
813
818
|
label: A.name,
|
|
814
819
|
value: A.code
|
|
815
820
|
}, null, 8, ["label", "value"]))), 128)),
|
|
816
|
-
l.loading ? (a(), i(
|
|
821
|
+
l.loading ? (a(), i(V, {
|
|
817
822
|
key: 0,
|
|
818
823
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
819
824
|
class: "select-loading",
|
|
820
825
|
disabled: ""
|
|
821
|
-
}, null, 8, ["label"])) :
|
|
826
|
+
}, null, 8, ["label"])) : g("", !0)
|
|
822
827
|
];
|
|
823
828
|
}),
|
|
824
829
|
_: 2
|
|
@@ -846,7 +851,7 @@ function we(p, u, C, e, _, x) {
|
|
|
846
851
|
style: D(l.labelStyle)
|
|
847
852
|
}, [
|
|
848
853
|
T(y(l.label) + " ", 1),
|
|
849
|
-
l.required ? (a(), M("span", ne, "*")) :
|
|
854
|
+
l.required ? (a(), M("span", ne, "*")) : g("", !0)
|
|
850
855
|
], 4))
|
|
851
856
|
]),
|
|
852
857
|
default: n(() => [
|
|
@@ -875,7 +880,7 @@ function we(p, u, C, e, _, x) {
|
|
|
875
880
|
onChange: (o) => e.dateChange(
|
|
876
881
|
o,
|
|
877
882
|
typeof l.field == "string" ? l.field : "",
|
|
878
|
-
l == null ? void 0 : l.
|
|
883
|
+
l == null ? void 0 : l.defaultPickerValue
|
|
879
884
|
),
|
|
880
885
|
onCalendarChange: (o) => e.calendarChange(
|
|
881
886
|
o,
|
|
@@ -918,22 +923,21 @@ function we(p, u, C, e, _, x) {
|
|
|
918
923
|
l != null && l.disabledDateToday ? (a(), M("span", {
|
|
919
924
|
key: 0,
|
|
920
925
|
class: t([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"])
|
|
921
|
-
}, y((l == null ? void 0 : l.
|
|
922
|
-
l != null && l.disabledDateToday ?
|
|
926
|
+
}, y((l == null ? void 0 : l.todayLanguage) || "Toady"), 3)) : g("", !0),
|
|
927
|
+
l != null && l.disabledDateToday ? g("", !0) : (a(), M("span", {
|
|
923
928
|
key: 1,
|
|
924
929
|
class: t([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
925
930
|
onClick: (o) => e.getDefaultToady(
|
|
926
931
|
e.states.model[l.field],
|
|
927
932
|
typeof l.field == "string" ? l.field : "",
|
|
928
|
-
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date()
|
|
929
|
-
l.field
|
|
933
|
+
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date()
|
|
930
934
|
)
|
|
931
|
-
}, y((l
|
|
935
|
+
}, y((l == null ? void 0 : l.todayLanguage) || "Toady"), 11, de))
|
|
932
936
|
]),
|
|
933
937
|
key: "1"
|
|
934
938
|
} : void 0
|
|
935
939
|
]), 1032, ["allowClear", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onCalendarChange", "onOk", "onBlur", "onOpenChange"])),
|
|
936
|
-
l.showTo ? (a(), M("span", ye, y(l.showTo), 1)) :
|
|
940
|
+
l.showTo ? (a(), M("span", ye, y(l.showTo), 1)) : g("", !0)
|
|
937
941
|
]),
|
|
938
942
|
_: 2
|
|
939
943
|
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(N, {
|
|
@@ -948,11 +952,11 @@ function we(p, u, C, e, _, x) {
|
|
|
948
952
|
style: D(l.labelStyle)
|
|
949
953
|
}, [
|
|
950
954
|
T(y(l.label) + " ", 1),
|
|
951
|
-
l.required ? (a(), M("span", ce, "*")) :
|
|
955
|
+
l.required ? (a(), M("span", ce, "*")) : g("", !0)
|
|
952
956
|
], 4))
|
|
953
957
|
]),
|
|
954
958
|
default: n(() => [
|
|
955
|
-
(a(), i(
|
|
959
|
+
(a(), i(P, {
|
|
956
960
|
"popper-class": "selectTriangles",
|
|
957
961
|
allowClear: !!l.allowClear,
|
|
958
962
|
defaultPickerValue: l == null ? void 0 : l.defaultPickerValue,
|
|
@@ -976,12 +980,13 @@ function we(p, u, C, e, _, x) {
|
|
|
976
980
|
onChange: (o) => e.dateChange(
|
|
977
981
|
o,
|
|
978
982
|
typeof l.field == "string" ? l.field : "",
|
|
979
|
-
l == null ? void 0 : l.defaultToady
|
|
983
|
+
(l == null ? void 0 : l.defaultToady) || (l == null ? void 0 : l.defaultToady2)
|
|
980
984
|
),
|
|
981
985
|
onCalendarChange: (o) => e.calendarChange(
|
|
982
986
|
o,
|
|
983
987
|
typeof l.field == "string" ? l.field : ""
|
|
984
988
|
),
|
|
989
|
+
onPanelChange: c[0] || (c[0] = (o) => p.panelChange(p.value, p.mode)),
|
|
985
990
|
onOk: (o) => e.onOk(
|
|
986
991
|
o,
|
|
987
992
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1004,10 +1009,10 @@ function we(p, u, C, e, _, x) {
|
|
|
1004
1009
|
}, [
|
|
1005
1010
|
l != null && l.defaultToady ? {
|
|
1006
1011
|
name: "dateRender",
|
|
1007
|
-
fn: n(({ current: o }) => [
|
|
1012
|
+
fn: n(({ current: o, info: d }) => [
|
|
1008
1013
|
b("div", {
|
|
1009
1014
|
class: "ant-picker-cell-inner",
|
|
1010
|
-
style: D(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
1015
|
+
style: D(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady, d, l.field))
|
|
1011
1016
|
}, y(o.date()), 5)
|
|
1012
1017
|
]),
|
|
1013
1018
|
key: "0"
|
|
@@ -1027,11 +1032,11 @@ function we(p, u, C, e, _, x) {
|
|
|
1027
1032
|
style: D(l.labelStyle)
|
|
1028
1033
|
}, [
|
|
1029
1034
|
T(y(l.label) + " ", 1),
|
|
1030
|
-
l.required ? (a(), M("span", De, "*")) :
|
|
1035
|
+
l.required ? (a(), M("span", De, "*")) : g("", !0)
|
|
1031
1036
|
], 4))
|
|
1032
1037
|
]),
|
|
1033
1038
|
default: n(() => [
|
|
1034
|
-
(a(), i(
|
|
1039
|
+
(a(), i(P, {
|
|
1035
1040
|
"popper-class": "selectTriangles",
|
|
1036
1041
|
allowClear: !!l.allowClear,
|
|
1037
1042
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1081,7 +1086,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1081
1086
|
style: D(l.labelStyle)
|
|
1082
1087
|
}, [
|
|
1083
1088
|
T(y(l.label) + " ", 1),
|
|
1084
|
-
l.required ? (a(), M("span", te, "*")) :
|
|
1089
|
+
l.required ? (a(), M("span", te, "*")) : g("", !0)
|
|
1085
1090
|
], 4))
|
|
1086
1091
|
]),
|
|
1087
1092
|
default: n(() => [
|
|
@@ -1101,7 +1106,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1101
1106
|
style: D(l.labelStyle)
|
|
1102
1107
|
}, [
|
|
1103
1108
|
T(y(l.label) + " ", 1),
|
|
1104
|
-
l.required ? (a(), M("span", be, "*")) :
|
|
1109
|
+
l.required ? (a(), M("span", be, "*")) : g("", !0)
|
|
1105
1110
|
], 4))
|
|
1106
1111
|
]),
|
|
1107
1112
|
default: n(() => [
|
|
@@ -1119,7 +1124,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1119
1124
|
default: n(() => {
|
|
1120
1125
|
var o;
|
|
1121
1126
|
return [
|
|
1122
|
-
l.field.nationCode ? (a(), i(
|
|
1127
|
+
l.field.nationCode ? (a(), i(Z, {
|
|
1123
1128
|
key: 0,
|
|
1124
1129
|
class: t(["tooltip-select", (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]),
|
|
1125
1130
|
id: l.field.nationCode,
|
|
@@ -1138,15 +1143,15 @@ function we(p, u, C, e, _, x) {
|
|
|
1138
1143
|
default: n(() => {
|
|
1139
1144
|
var d;
|
|
1140
1145
|
return [
|
|
1141
|
-
(a(!0), M(k, null, w((d = l.nationOptions) == null ? void 0 : d.data, (A,
|
|
1146
|
+
(a(!0), M(k, null, w((d = l.nationOptions) == null ? void 0 : d.data, (A, G) => (a(), i(V, {
|
|
1142
1147
|
label: A.name,
|
|
1143
1148
|
value: A.code,
|
|
1144
|
-
key:
|
|
1149
|
+
key: G
|
|
1145
1150
|
}, null, 8, ["label", "value"]))), 128))
|
|
1146
1151
|
];
|
|
1147
1152
|
}),
|
|
1148
1153
|
_: 2
|
|
1149
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1154
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : g("", !0)
|
|
1150
1155
|
];
|
|
1151
1156
|
}),
|
|
1152
1157
|
_: 2
|
|
@@ -1190,13 +1195,13 @@ function we(p, u, C, e, _, x) {
|
|
|
1190
1195
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1191
1196
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1192
1197
|
clearable: l.clearable
|
|
1193
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) :
|
|
1198
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : g("", !0)
|
|
1194
1199
|
];
|
|
1195
1200
|
}),
|
|
1196
1201
|
_: 2
|
|
1197
1202
|
}, 1032, ["content", "disabled"]),
|
|
1198
1203
|
Ie
|
|
1199
|
-
])) :
|
|
1204
|
+
])) : g("", !0),
|
|
1200
1205
|
f(L, {
|
|
1201
1206
|
"popper-class": "input-tooltip",
|
|
1202
1207
|
effect: "light",
|
|
@@ -1207,7 +1212,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1207
1212
|
default: n(() => {
|
|
1208
1213
|
var o;
|
|
1209
1214
|
return [
|
|
1210
|
-
l.field.nationCode && !e.phoneWrap ? (a(), i(
|
|
1215
|
+
l.field.nationCode && !e.phoneWrap ? (a(), i(Z, {
|
|
1211
1216
|
key: 0,
|
|
1212
1217
|
class: t([
|
|
1213
1218
|
"tooltip-select",
|
|
@@ -1229,20 +1234,20 @@ function we(p, u, C, e, _, x) {
|
|
|
1229
1234
|
default: n(() => {
|
|
1230
1235
|
var d;
|
|
1231
1236
|
return [
|
|
1232
|
-
(a(!0), M(k, null, w((d = l.nationOptions) == null ? void 0 : d.data, (A,
|
|
1237
|
+
(a(!0), M(k, null, w((d = l.nationOptions) == null ? void 0 : d.data, (A, G) => (a(), i(V, {
|
|
1233
1238
|
label: A.name,
|
|
1234
1239
|
value: A.code,
|
|
1235
|
-
key:
|
|
1240
|
+
key: G
|
|
1236
1241
|
}, null, 8, ["label", "value"]))), 128))
|
|
1237
1242
|
];
|
|
1238
1243
|
}),
|
|
1239
1244
|
_: 2
|
|
1240
|
-
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) :
|
|
1245
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : g("", !0)
|
|
1241
1246
|
];
|
|
1242
1247
|
}),
|
|
1243
1248
|
_: 2
|
|
1244
1249
|
}, 1032, ["content", "disabled"]),
|
|
1245
|
-
e.phoneWrap ?
|
|
1250
|
+
e.phoneWrap ? g("", !0) : (a(), M("div", he, " - ")),
|
|
1246
1251
|
f(L, {
|
|
1247
1252
|
"popper-class": "input-tooltip",
|
|
1248
1253
|
effect: "light",
|
|
@@ -1285,12 +1290,12 @@ function we(p, u, C, e, _, x) {
|
|
|
1285
1290
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1286
1291
|
style: D("width:" + l.widthArea),
|
|
1287
1292
|
clearable: l.clearable
|
|
1288
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1293
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1289
1294
|
];
|
|
1290
1295
|
}),
|
|
1291
1296
|
_: 2
|
|
1292
1297
|
}, 1032, ["content", "disabled"]),
|
|
1293
|
-
e.phoneWrap ?
|
|
1298
|
+
e.phoneWrap ? g("", !0) : (a(), M("div", je, " - ")),
|
|
1294
1299
|
f(L, {
|
|
1295
1300
|
"popper-class": "input-tooltip",
|
|
1296
1301
|
effect: "light",
|
|
@@ -1330,7 +1335,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1330
1335
|
placeholder: l.placeholder || "",
|
|
1331
1336
|
style: D("width:" + l.widthPhoneNumber),
|
|
1332
1337
|
clearable: l.clearable
|
|
1333
|
-
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) :
|
|
1338
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : g("", !0)
|
|
1334
1339
|
]),
|
|
1335
1340
|
_: 2
|
|
1336
1341
|
}, 1032, ["content", "disabled"])
|
|
@@ -1357,7 +1362,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1357
1362
|
style: D(l.labelStyle)
|
|
1358
1363
|
}, [
|
|
1359
1364
|
T(y(l.label) + " ", 1),
|
|
1360
|
-
l.required ? (a(), M("span", Ae, "*")) :
|
|
1365
|
+
l.required ? (a(), M("span", Ae, "*")) : g("", !0)
|
|
1361
1366
|
], 4))
|
|
1362
1367
|
]),
|
|
1363
1368
|
default: n(() => [
|
|
@@ -1393,7 +1398,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1393
1398
|
class: t(
|
|
1394
1399
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1395
1400
|
),
|
|
1396
|
-
onKeyup:
|
|
1401
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1397
1402
|
}, K({ _: 2 }, [
|
|
1398
1403
|
l.prepend ? {
|
|
1399
1404
|
name: "prepend",
|
|
@@ -1424,7 +1429,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1424
1429
|
style: D(l.labelStyle)
|
|
1425
1430
|
}, [
|
|
1426
1431
|
T(y(l.label) + " ", 1),
|
|
1427
|
-
l.required ? (a(), M("span", ke, "*")) :
|
|
1432
|
+
l.required ? (a(), M("span", ke, "*")) : g("", !0)
|
|
1428
1433
|
], 4))
|
|
1429
1434
|
]),
|
|
1430
1435
|
default: n(() => [
|
|
@@ -1455,7 +1460,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1455
1460
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1456
1461
|
showPassword: l.showPassword,
|
|
1457
1462
|
clearable: l.clearable,
|
|
1458
|
-
onKeyup:
|
|
1463
|
+
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1459
1464
|
}, K({ _: 2 }, [
|
|
1460
1465
|
l.prepend ? {
|
|
1461
1466
|
name: "prepend",
|
|
@@ -1493,7 +1498,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1493
1498
|
model: C.model,
|
|
1494
1499
|
onBtnClick: e.onSubmit
|
|
1495
1500
|
}, () => [
|
|
1496
|
-
(a(!0), M(k, null, w(e.formOptions.btnConfig, (l,
|
|
1501
|
+
(a(!0), M(k, null, w(e.formOptions.btnConfig, (l, Q) => (a(), M("div", { key: Q }, [
|
|
1497
1502
|
l.isShow ? (a(), i(J, {
|
|
1498
1503
|
key: 0,
|
|
1499
1504
|
btnCode: l.btnCode,
|
|
@@ -1525,7 +1530,7 @@ function we(p, u, C, e, _, x) {
|
|
|
1525
1530
|
T(y(l.name), 1)
|
|
1526
1531
|
]),
|
|
1527
1532
|
_: 2
|
|
1528
|
-
}, 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"])) :
|
|
1533
|
+
}, 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"])) : g("", !0)
|
|
1529
1534
|
]))), 128))
|
|
1530
1535
|
], !0)
|
|
1531
1536
|
]),
|
|
@@ -1535,11 +1540,11 @@ function we(p, u, C, e, _, x) {
|
|
|
1535
1540
|
_: 3
|
|
1536
1541
|
}, 16, ["model", "label-position"]);
|
|
1537
1542
|
}
|
|
1538
|
-
const
|
|
1539
|
-
function
|
|
1540
|
-
|
|
1543
|
+
const pl = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-242be595"]]);
|
|
1544
|
+
function al(p, c = {}) {
|
|
1545
|
+
al.installed || (al.installed = !0, p.component("common-el-form", pl));
|
|
1541
1546
|
}
|
|
1542
|
-
|
|
1547
|
+
pl.install = al;
|
|
1543
1548
|
export {
|
|
1544
|
-
|
|
1549
|
+
pl as default
|
|
1545
1550
|
};
|