sinosoft-common-form 2.4.5 → 2.4.7
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 +203 -202
- 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 v, reactive as
|
|
1
|
+
import { ref as v, reactive as kl, shallowRef as al, h as nl, computed as wl, onMounted as zl, onBeforeUnmount as Cl, watch as xl, toRefs as Ll, nextTick as yl, resolveComponent as h, 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 t, toDisplayString as c, createTextVNode as T, createCommentVNode as u, renderSlot as j, normalizeClass as D, withKeys as U, createSlots as X, vShow as Yl, pushScopeId as vl, popScopeId as Rl } from "vue";
|
|
2
2
|
const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1Yx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EzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Wl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -22,133 +22,137 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
24
|
setup(p, { emit: g }) {
|
|
25
|
-
const C = v(!0), e =
|
|
25
|
+
const C = v(!0), e = kl({
|
|
26
26
|
model: {}
|
|
27
|
-
}), S = v(!0), x = v(null), N =
|
|
27
|
+
}), S = v(!0), x = v(null), N = al({
|
|
28
28
|
render() {
|
|
29
|
-
return
|
|
29
|
+
return nl("img", {
|
|
30
30
|
src: Vl
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
}), O =
|
|
33
|
+
}), O = al({
|
|
34
34
|
render() {
|
|
35
|
-
return
|
|
35
|
+
return nl("img", {
|
|
36
36
|
src: Ul
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
}),
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
}, F = (
|
|
43
|
-
if (
|
|
39
|
+
}), _ = (r) => {
|
|
40
|
+
const s = r.target;
|
|
41
|
+
s.scrollTop + s.clientHeight + 1 >= s.scrollHeight && g("selectChangeScroll");
|
|
42
|
+
}, F = (r, s) => {
|
|
43
|
+
if (r) {
|
|
44
44
|
const y = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
45
|
-
y && y.addEventListener("scroll",
|
|
45
|
+
y && y.addEventListener("scroll", _), g("handleVisibleChange", r, s);
|
|
46
46
|
}
|
|
47
|
-
}, W =
|
|
47
|
+
}, W = al({
|
|
48
48
|
render() {
|
|
49
|
-
return
|
|
49
|
+
return nl("img", {
|
|
50
50
|
src: Fl
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}), B =
|
|
53
|
+
}), B = wl(() => Object.assign([], p.options)), R = () => {
|
|
54
54
|
e.model = p.model;
|
|
55
|
-
}, Y = (
|
|
55
|
+
}, Y = (r, s, y) => {
|
|
56
56
|
var I;
|
|
57
|
-
|
|
58
|
-
var
|
|
59
|
-
(
|
|
60
|
-
if (
|
|
61
|
-
g(y || "submit", e.model,
|
|
57
|
+
s ? (C.value = !1, yl(() => {
|
|
58
|
+
var E;
|
|
59
|
+
(E = x.value) == null || E.validate((q) => {
|
|
60
|
+
if (q)
|
|
61
|
+
g(y || "submit", e.model, r);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) :
|
|
66
|
-
}, V = (
|
|
67
|
-
g("selectChange",
|
|
68
|
-
}, Z = (
|
|
69
|
-
g("radioChange",
|
|
70
|
-
}, L = (
|
|
71
|
-
g("checkChange",
|
|
72
|
-
},
|
|
73
|
-
const y = e.model[
|
|
65
|
+
})) : s ? (y === "reset" && ((I = x.value) == null || I.resetFields()), g(y || "submit", e.model, r)) : (C.value = !1, g(y || "submit", e.model, r, x.value));
|
|
66
|
+
}, V = (r, s) => {
|
|
67
|
+
g("selectChange", r, s);
|
|
68
|
+
}, Z = (r, s) => {
|
|
69
|
+
g("radioChange", r, s);
|
|
70
|
+
}, L = (r, s) => {
|
|
71
|
+
g("checkChange", r, s);
|
|
72
|
+
}, m = (r, s) => {
|
|
73
|
+
const y = e.model[s].length;
|
|
74
74
|
if (y === 1) {
|
|
75
|
-
g("checkChange",
|
|
75
|
+
g("checkChange", r, s);
|
|
76
76
|
return;
|
|
77
77
|
} else
|
|
78
|
-
y > 1 ? (e.model[
|
|
79
|
-
}, P = (
|
|
80
|
-
Y(
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
}, H = (
|
|
78
|
+
y > 1 ? (e.model[s].shift(), g("checkChange", r, s)) : y < 1 && g("checkChange", r, s);
|
|
79
|
+
}, P = (r, s, y) => {
|
|
80
|
+
Y(r, s, y);
|
|
81
|
+
}, $ = (r, s) => {
|
|
82
|
+
r && (s == null ? void 0 : s.key) === "Enter" && Y(void 0, !0, "submit");
|
|
83
|
+
}, H = (r, s, y) => {
|
|
84
84
|
var Ml, il;
|
|
85
|
-
const I = /* @__PURE__ */ new Date(),
|
|
86
|
-
|
|
87
|
-
}, l = (
|
|
88
|
-
g("
|
|
89
|
-
}, Q = (
|
|
90
|
-
g("
|
|
91
|
-
}, o = (
|
|
92
|
-
g("
|
|
93
|
-
}, d = (
|
|
94
|
-
g("
|
|
95
|
-
}, A = (
|
|
96
|
-
g("
|
|
97
|
-
}, G = (
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
if (s) {
|
|
101
|
-
var r = document.getElementById(s), y = r.offsetWidth, I = r.scrollWidth;
|
|
85
|
+
const I = /* @__PURE__ */ new Date(), E = I.getDate().toString().padStart(2, "0"), q = (I.getMonth() + 1).toString().padStart(2, "0"), J = I.getFullYear().toString(), ol = `${E}/${q}/${J}`;
|
|
86
|
+
r === ol && y ? ((Ml = x.value) == null || Ml.validateField(s), e.model[s] = y.format("DD/MM/YYYY"), g("dateChange", y.format("DD/MM/YYYY"), s)) : ((il = x.value) == null || il.validateField(s), g("dateChange", r, s));
|
|
87
|
+
}, l = (r, s) => {
|
|
88
|
+
g("onOk", r, s);
|
|
89
|
+
}, Q = (r, s) => {
|
|
90
|
+
g("inputBlur", r, s);
|
|
91
|
+
}, o = (r, s) => {
|
|
92
|
+
g("inputFocus", r, s);
|
|
93
|
+
}, d = (r, s) => {
|
|
94
|
+
g("inputChange", r, s);
|
|
95
|
+
}, A = (r, s) => {
|
|
96
|
+
g("inputInput", r, s);
|
|
97
|
+
}, G = (r) => {
|
|
98
|
+
if (r) {
|
|
99
|
+
var s = document.getElementById(r), y = s.offsetWidth, I = s.scrollWidth;
|
|
102
100
|
I > y ? S.value = !1 : S.value = !0;
|
|
103
101
|
} else
|
|
104
102
|
S.value = !0;
|
|
105
|
-
},
|
|
106
|
-
const y =
|
|
107
|
-
return y ? y.name :
|
|
108
|
-
},
|
|
109
|
-
var
|
|
110
|
-
(
|
|
111
|
-
}, bl = (
|
|
112
|
-
var
|
|
113
|
-
(
|
|
114
|
-
},
|
|
115
|
-
window.innerWidth < 768,
|
|
103
|
+
}, tl = (r, s) => {
|
|
104
|
+
const y = s.find((I) => I.code === r);
|
|
105
|
+
return y ? y.name : r;
|
|
106
|
+
}, Dl = (r) => {
|
|
107
|
+
var s;
|
|
108
|
+
(s = x.value) == null || s.resetFields(r);
|
|
109
|
+
}, bl = (r) => {
|
|
110
|
+
var s;
|
|
111
|
+
(s = x.value) == null || s.clearValidate(r);
|
|
112
|
+
}, ll = v(!1), sl = () => {
|
|
113
|
+
window.innerWidth < 768, ll.value = !1;
|
|
116
114
|
};
|
|
117
|
-
|
|
115
|
+
zl(() => {
|
|
118
116
|
var s;
|
|
119
|
-
R(), (s = x.value) == null || s.resetFields(), window.addEventListener("resize",
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}), Cl(
|
|
117
|
+
R(), (s = x.value) == null || s.resetFields(), window.addEventListener("resize", sl), document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((y, I) => {
|
|
118
|
+
I % 2 !== 0 && (y.classList.add("date-input-end"), y.setAttribute("disabled", !0), y.setAttribute("color", " rgba(0, 0, 0, 0.88)"));
|
|
119
|
+
});
|
|
120
|
+
}), Cl(() => {
|
|
121
|
+
window.removeEventListener("resize", sl);
|
|
122
|
+
}), xl(
|
|
123
123
|
() => p.fieldList,
|
|
124
|
-
(
|
|
125
|
-
|
|
124
|
+
(r, s) => {
|
|
125
|
+
r !== s && R();
|
|
126
126
|
}
|
|
127
127
|
);
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
},
|
|
131
|
-
const
|
|
132
|
-
if (
|
|
133
|
-
return
|
|
128
|
+
const K = v(0), el = v(0), rl = v(0), Nl = (r) => {
|
|
129
|
+
r === "" && (K.value += 1);
|
|
130
|
+
}, Tl = (r, s, y, I) => {
|
|
131
|
+
const E = {};
|
|
132
|
+
if (r.date() === s.date() && r.year() === s.year() && r.month() === s.month())
|
|
133
|
+
return E.border = "1px solid #a26628", E.borderRadius = "4px", E;
|
|
134
134
|
g("openStatusNumber", y == null ? void 0 : y.range, I);
|
|
135
|
-
},
|
|
136
|
-
e.model[
|
|
137
|
-
},
|
|
135
|
+
}, Il = (r, s, y) => {
|
|
136
|
+
e.model[s] = y.format("DD/MM/YYYY"), K.value += 1, H(r, s, y), g("getDefaultToady", y, s);
|
|
137
|
+
}, hl = (r, s) => {
|
|
138
|
+
g("calendarChange", r, s);
|
|
139
|
+
}, jl = (r, s, y, I) => {
|
|
138
140
|
if (I)
|
|
139
141
|
return e.model[y] = I;
|
|
140
|
-
|
|
142
|
+
r || (K.value += 1), g("openChange", r, y, I);
|
|
141
143
|
};
|
|
142
|
-
|
|
143
|
-
const
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
144
|
+
el.value = 1;
|
|
145
|
+
const Ol = (r, s, y, I, E) => {
|
|
146
|
+
r || (el.value += 1, yl(() => {
|
|
147
|
+
document.querySelectorAll(".ant-picker-range .ant-picker-input input").forEach((J, ol) => {
|
|
148
|
+
ol % 2 !== 0 && (J.classList.add("date-input-end"), J.setAttribute("color", " rgba(0, 0, 0, 0.88)"));
|
|
149
|
+
});
|
|
150
|
+
})), g("openDatePickerDaterange", r, s, y, I);
|
|
151
|
+
}, Al = (r) => {
|
|
152
|
+
r || (rl.value += 1), g("openDatetimerange", r);
|
|
149
153
|
};
|
|
150
154
|
return {
|
|
151
|
-
...
|
|
155
|
+
...Ll(e),
|
|
152
156
|
formRef: x,
|
|
153
157
|
isShowTooltip: S,
|
|
154
158
|
states: e,
|
|
@@ -157,46 +161,46 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
157
161
|
selectChange: V,
|
|
158
162
|
radioChange: Z,
|
|
159
163
|
checkChange: L,
|
|
160
|
-
handleCheckedChange:
|
|
164
|
+
handleCheckedChange: m,
|
|
161
165
|
prefixIcon: N,
|
|
162
166
|
IconDropDown: O,
|
|
163
167
|
IconClear: W,
|
|
164
168
|
handleClick: P,
|
|
165
|
-
handleKeyUp:
|
|
166
|
-
resetFieldsTest:
|
|
169
|
+
handleKeyUp: $,
|
|
170
|
+
resetFieldsTest: Dl,
|
|
167
171
|
clearValidateTest: bl,
|
|
168
172
|
dateChange: H,
|
|
169
|
-
calendarChange:
|
|
170
|
-
onOk:
|
|
171
|
-
inputBlur:
|
|
172
|
-
inputFocus:
|
|
173
|
-
inputChange:
|
|
174
|
-
inputInput:
|
|
173
|
+
calendarChange: hl,
|
|
174
|
+
onOk: l,
|
|
175
|
+
inputBlur: Q,
|
|
176
|
+
inputFocus: o,
|
|
177
|
+
inputChange: d,
|
|
178
|
+
inputInput: A,
|
|
175
179
|
noFormRule: C,
|
|
176
|
-
phoneWrap:
|
|
177
|
-
pickerKey:
|
|
178
|
-
pickerKeyDaterange:
|
|
179
|
-
datetimerange:
|
|
180
|
-
openDatePicker:
|
|
181
|
-
openDatePickerDaterange:
|
|
182
|
-
openDatetimerange:
|
|
180
|
+
phoneWrap: ll,
|
|
181
|
+
pickerKey: K,
|
|
182
|
+
pickerKeyDaterange: el,
|
|
183
|
+
datetimerange: rl,
|
|
184
|
+
openDatePicker: Nl,
|
|
185
|
+
openDatePickerDaterange: Ol,
|
|
186
|
+
openDatetimerange: Al,
|
|
183
187
|
// spaceRule,
|
|
184
188
|
handleVisibleChange: F,
|
|
185
|
-
handleScroll:
|
|
186
|
-
visibilityChange:
|
|
187
|
-
contentName:
|
|
188
|
-
openChange:
|
|
189
|
-
getCurrentStyle:
|
|
190
|
-
getDefaultToady:
|
|
189
|
+
handleScroll: _,
|
|
190
|
+
visibilityChange: G,
|
|
191
|
+
contentName: tl,
|
|
192
|
+
openChange: jl,
|
|
193
|
+
getCurrentStyle: Tl,
|
|
194
|
+
getDefaultToady: Il
|
|
191
195
|
};
|
|
192
196
|
}
|
|
193
|
-
},
|
|
197
|
+
}, cl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxl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TNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
194
198
|
const Bl = (p, g) => {
|
|
195
199
|
const C = p.__vccOpts || p;
|
|
196
200
|
for (const [e, S] of g)
|
|
197
201
|
C[e] = S;
|
|
198
202
|
return C;
|
|
199
|
-
}, z = (p) => (vl("data-v-
|
|
203
|
+
}, z = (p) => (vl("data-v-d280de1a"), p = p(), Rl(), p), Zl = { class: "header-title" }, Ql = { class: "title-content" }, Gl = {
|
|
200
204
|
key: 0,
|
|
201
205
|
class: "custom-required"
|
|
202
206
|
}, Pl = {
|
|
@@ -224,16 +228,16 @@ const Bl = (p, g) => {
|
|
|
224
228
|
key: 0,
|
|
225
229
|
class: "custom-required"
|
|
226
230
|
}, de = ["onClick"], se = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
227
|
-
src:
|
|
231
|
+
src: cl,
|
|
228
232
|
alt: ""
|
|
229
233
|
}, null, -1)), re = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
230
|
-
src:
|
|
234
|
+
src: ul,
|
|
231
235
|
alt: ""
|
|
232
236
|
}, null, -1)), Me = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
233
|
-
src:
|
|
237
|
+
src: gl,
|
|
234
238
|
alt: ""
|
|
235
239
|
}, null, -1)), ie = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
236
|
-
src:
|
|
240
|
+
src: pl,
|
|
237
241
|
alt: ""
|
|
238
242
|
}, null, -1)), ye = {
|
|
239
243
|
key: 0,
|
|
@@ -242,21 +246,21 @@ const Bl = (p, g) => {
|
|
|
242
246
|
key: 0,
|
|
243
247
|
class: "custom-required"
|
|
244
248
|
}, ue = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
245
|
-
src:
|
|
249
|
+
src: cl,
|
|
246
250
|
alt: ""
|
|
247
251
|
}, null, -1)), ge = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
248
|
-
src:
|
|
252
|
+
src: ul,
|
|
249
253
|
alt: ""
|
|
250
254
|
}, null, -1)), pe = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
251
|
-
src:
|
|
255
|
+
src: gl,
|
|
252
256
|
alt: ""
|
|
253
257
|
}, null, -1)), fe = /* @__PURE__ */ z(() => /* @__PURE__ */ b("img", {
|
|
254
|
-
src:
|
|
258
|
+
src: pl,
|
|
255
259
|
alt: ""
|
|
256
|
-
}, null, -1)),
|
|
260
|
+
}, null, -1)), te = {
|
|
257
261
|
key: 0,
|
|
258
262
|
class: "custom-required"
|
|
259
|
-
},
|
|
263
|
+
}, De = {
|
|
260
264
|
key: 0,
|
|
261
265
|
class: "custom-required"
|
|
262
266
|
}, be = {
|
|
@@ -282,7 +286,7 @@ const Bl = (p, g) => {
|
|
|
282
286
|
class: "custom-required"
|
|
283
287
|
};
|
|
284
288
|
function we(p, g, C, e, S, x) {
|
|
285
|
-
const N = h("el-form-item"), O = h("el-input"),
|
|
289
|
+
const N = h("el-form-item"), O = h("el-input"), _ = h("el-col"), F = h("el-row"), W = h("el-radio"), B = h("el-radio-group"), R = h("el-checkbox"), Y = h("el-checkbox-group"), V = h("el-option"), Z = h("el-select"), L = h("el-tooltip"), m = h("a-date-picker"), P = h("a-range-picker"), $ = h("sinosoftCommonButton"), H = h("el-form");
|
|
286
290
|
return a(), i(H, El({
|
|
287
291
|
"hide-required-asterisk": "",
|
|
288
292
|
onSubmit: g[0] || (g[0] = _l(() => {
|
|
@@ -296,7 +300,7 @@ function we(p, g, C, e, S, x) {
|
|
|
296
300
|
default: n(() => [
|
|
297
301
|
f(F, { gutter: 24 }, {
|
|
298
302
|
default: n(() => [
|
|
299
|
-
(a(!0), M(k, null, w(C.fieldList, (l, Q) => Sl((a(), i(
|
|
303
|
+
(a(!0), M(k, null, w(C.fieldList, (l, Q) => Sl((a(), i(_, {
|
|
300
304
|
xs: l.xs ? l.xs : 24,
|
|
301
305
|
sm: l.sm ? l.sm : 24,
|
|
302
306
|
md: l.md ? l.md : 8,
|
|
@@ -306,7 +310,7 @@ function we(p, g, C, e, S, x) {
|
|
|
306
310
|
}, {
|
|
307
311
|
default: n(() => [
|
|
308
312
|
b("div", {
|
|
309
|
-
style:
|
|
313
|
+
style: t(l.style)
|
|
310
314
|
}, [
|
|
311
315
|
l.type === "title" ? (a(), i(N, { key: 0 }, {
|
|
312
316
|
default: n(() => [
|
|
@@ -324,7 +328,7 @@ function we(p, g, C, e, S, x) {
|
|
|
324
328
|
label: n(() => [
|
|
325
329
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
326
330
|
key: 0,
|
|
327
|
-
style:
|
|
331
|
+
style: t(l.labelStyle)
|
|
328
332
|
}, [
|
|
329
333
|
T(c(l.label) + " ", 1),
|
|
330
334
|
l.required ? (a(), M("span", Gl, "*")) : u("", !0)
|
|
@@ -333,7 +337,7 @@ function we(p, g, C, e, S, x) {
|
|
|
333
337
|
default: n(() => [
|
|
334
338
|
f(F, { gutter: 20 }, {
|
|
335
339
|
default: n(() => [
|
|
336
|
-
f(
|
|
340
|
+
f(_, {
|
|
337
341
|
xs: 24,
|
|
338
342
|
sm: 12,
|
|
339
343
|
md: 12,
|
|
@@ -353,7 +357,7 @@ function we(p, g, C, e, S, x) {
|
|
|
353
357
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
354
358
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
355
359
|
onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
|
|
356
|
-
class:
|
|
360
|
+
class: D(
|
|
357
361
|
(l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
358
362
|
),
|
|
359
363
|
maxlength: l.maxlengthNameEnFamily,
|
|
@@ -371,7 +375,7 @@ function we(p, g, C, e, S, x) {
|
|
|
371
375
|
]),
|
|
372
376
|
_: 2
|
|
373
377
|
}, 1024),
|
|
374
|
-
f(
|
|
378
|
+
f(_, {
|
|
375
379
|
xs: 24,
|
|
376
380
|
sm: 12,
|
|
377
381
|
md: 12,
|
|
@@ -394,7 +398,7 @@ function we(p, g, C, e, S, x) {
|
|
|
394
398
|
maxlength: l.maxlengthNameEn,
|
|
395
399
|
modelValue: e.states.model[l.field.nameEn],
|
|
396
400
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
397
|
-
class:
|
|
401
|
+
class: D(
|
|
398
402
|
(l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
399
403
|
),
|
|
400
404
|
readonly: l.readonly,
|
|
@@ -414,7 +418,7 @@ function we(p, g, C, e, S, x) {
|
|
|
414
418
|
}, 1024),
|
|
415
419
|
f(F, { gutter: 20 }, {
|
|
416
420
|
default: n(() => [
|
|
417
|
-
f(
|
|
421
|
+
f(_, {
|
|
418
422
|
xs: 24,
|
|
419
423
|
sm: 12,
|
|
420
424
|
md: 12,
|
|
@@ -438,7 +442,7 @@ function we(p, g, C, e, S, x) {
|
|
|
438
442
|
"nameChFamily" in l.field ? l.field.nameCh : ""
|
|
439
443
|
),
|
|
440
444
|
maxlength: l.maxlengthNameChFamily,
|
|
441
|
-
class:
|
|
445
|
+
class: D(
|
|
442
446
|
(l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
443
447
|
),
|
|
444
448
|
modelValue: e.states.model[l.field.nameChFamily],
|
|
@@ -455,7 +459,7 @@ function we(p, g, C, e, S, x) {
|
|
|
455
459
|
]),
|
|
456
460
|
_: 2
|
|
457
461
|
}, 1024),
|
|
458
|
-
f(
|
|
462
|
+
f(_, {
|
|
459
463
|
xs: 24,
|
|
460
464
|
sm: 12,
|
|
461
465
|
md: 12,
|
|
@@ -475,7 +479,7 @@ function we(p, g, C, e, S, x) {
|
|
|
475
479
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
476
480
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
477
481
|
onInput: (o) => e.inputInput(o, l.field.nameCh),
|
|
478
|
-
class:
|
|
482
|
+
class: D(
|
|
479
483
|
(l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
480
484
|
),
|
|
481
485
|
maxlength: l.maxlengthNameCh,
|
|
@@ -508,7 +512,7 @@ function we(p, g, C, e, S, x) {
|
|
|
508
512
|
label: n(() => [
|
|
509
513
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
510
514
|
key: 0,
|
|
511
|
-
style:
|
|
515
|
+
style: t(l.labelStyle)
|
|
512
516
|
}, [
|
|
513
517
|
T(c(l.label) + " ", 1),
|
|
514
518
|
l.required ? (a(), M("span", Pl, "*")) : u("", !0)
|
|
@@ -549,12 +553,12 @@ function we(p, g, C, e, S, x) {
|
|
|
549
553
|
label: l.label,
|
|
550
554
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
551
555
|
prop: l.field,
|
|
552
|
-
class:
|
|
556
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
553
557
|
}, {
|
|
554
558
|
label: n(() => [
|
|
555
559
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
556
560
|
key: 0,
|
|
557
|
-
style:
|
|
561
|
+
style: t(l.labelStyle)
|
|
558
562
|
}, [
|
|
559
563
|
T(c(l.label) + " ", 1),
|
|
560
564
|
l.required ? (a(), M("span", Kl, "*")) : u("", !0)
|
|
@@ -566,10 +570,10 @@ function we(p, g, C, e, S, x) {
|
|
|
566
570
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
567
571
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
568
572
|
onChange: (o) => e.radioChange(o, l.field),
|
|
569
|
-
style:
|
|
573
|
+
style: t(
|
|
570
574
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
571
575
|
),
|
|
572
|
-
class:
|
|
576
|
+
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
573
577
|
}, {
|
|
574
578
|
default: n(() => {
|
|
575
579
|
var o;
|
|
@@ -596,7 +600,7 @@ function we(p, g, C, e, S, x) {
|
|
|
596
600
|
label: l.label,
|
|
597
601
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
598
602
|
prop: l.field,
|
|
599
|
-
class:
|
|
603
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
600
604
|
}, {
|
|
601
605
|
default: n(() => [
|
|
602
606
|
b("div", null, [
|
|
@@ -609,10 +613,10 @@ function we(p, g, C, e, S, x) {
|
|
|
609
613
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
610
614
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
611
615
|
onChange: (o) => e.radioChange(o, l.field),
|
|
612
|
-
style:
|
|
616
|
+
style: t(
|
|
613
617
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
614
618
|
),
|
|
615
|
-
class:
|
|
619
|
+
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
616
620
|
}, {
|
|
617
621
|
default: n(() => {
|
|
618
622
|
var o;
|
|
@@ -642,7 +646,7 @@ function we(p, g, C, e, S, x) {
|
|
|
642
646
|
label: n(() => [
|
|
643
647
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
644
648
|
key: 0,
|
|
645
|
-
style:
|
|
649
|
+
style: t(l.labelStyle)
|
|
646
650
|
}, [
|
|
647
651
|
T(c(l.label) + " ", 1),
|
|
648
652
|
l.required ? (a(), M("span", ml, "*")) : u("", !0)
|
|
@@ -654,7 +658,7 @@ function we(p, g, C, e, S, x) {
|
|
|
654
658
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
655
659
|
onChange: (o) => e.checkChange(o, l.field),
|
|
656
660
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
657
|
-
style:
|
|
661
|
+
style: t(
|
|
658
662
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
659
663
|
)
|
|
660
664
|
}, {
|
|
@@ -686,7 +690,7 @@ function we(p, g, C, e, S, x) {
|
|
|
686
690
|
label: n(() => [
|
|
687
691
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
688
692
|
key: 0,
|
|
689
|
-
style:
|
|
693
|
+
style: t(l.labelStyle)
|
|
690
694
|
}, [
|
|
691
695
|
T(c(l.label) + " ", 1),
|
|
692
696
|
l.required ? (a(), M("span", $l, "*")) : u("", !0)
|
|
@@ -698,7 +702,7 @@ function we(p, g, C, e, S, x) {
|
|
|
698
702
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
699
703
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
700
704
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
701
|
-
style:
|
|
705
|
+
style: t(
|
|
702
706
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
703
707
|
)
|
|
704
708
|
}, {
|
|
@@ -726,7 +730,7 @@ function we(p, g, C, e, S, x) {
|
|
|
726
730
|
label: l.label,
|
|
727
731
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
728
732
|
prop: l.field,
|
|
729
|
-
class:
|
|
733
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
730
734
|
}, {
|
|
731
735
|
default: n(() => [
|
|
732
736
|
b("div", null, [
|
|
@@ -739,7 +743,7 @@ function we(p, g, C, e, S, x) {
|
|
|
739
743
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
740
744
|
onChange: (o) => e.checkChange(o, l.field),
|
|
741
745
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
742
|
-
style:
|
|
746
|
+
style: t(
|
|
743
747
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
744
748
|
)
|
|
745
749
|
}, {
|
|
@@ -772,7 +776,7 @@ function we(p, g, C, e, S, x) {
|
|
|
772
776
|
label: n(() => [
|
|
773
777
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
774
778
|
key: 0,
|
|
775
|
-
style:
|
|
779
|
+
style: t(l.labelStyle)
|
|
776
780
|
}, [
|
|
777
781
|
T(c(l.label) + " ", 1),
|
|
778
782
|
l.required ? (a(), M("span", ae, "*")) : u("", !0)
|
|
@@ -790,7 +794,7 @@ function we(p, g, C, e, S, x) {
|
|
|
790
794
|
}, {
|
|
791
795
|
default: n(() => [
|
|
792
796
|
f(Z, {
|
|
793
|
-
class:
|
|
797
|
+
class: D(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
794
798
|
id: l.field,
|
|
795
799
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
796
800
|
"popper-class": l.selectPaging === !0 ? "single-select-loadmore" : "selectTriangles",
|
|
@@ -835,7 +839,7 @@ function we(p, g, C, e, S, x) {
|
|
|
835
839
|
}, 1032, ["content", "disabled"]),
|
|
836
840
|
b("div", {
|
|
837
841
|
class: "item_tips_blow",
|
|
838
|
-
style:
|
|
842
|
+
style: t(l.tipsBlowStyle)
|
|
839
843
|
}, c(l.tipsBlow), 5)
|
|
840
844
|
];
|
|
841
845
|
}),
|
|
@@ -850,14 +854,14 @@ function we(p, g, C, e, S, x) {
|
|
|
850
854
|
label: n(() => [
|
|
851
855
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
852
856
|
key: 0,
|
|
853
|
-
style:
|
|
857
|
+
style: t(l.labelStyle)
|
|
854
858
|
}, [
|
|
855
859
|
T(c(l.label) + " ", 1),
|
|
856
860
|
l.required ? (a(), M("span", ne, "*")) : u("", !0)
|
|
857
861
|
], 4))
|
|
858
862
|
]),
|
|
859
863
|
default: n(() => [
|
|
860
|
-
(a(), i(
|
|
864
|
+
(a(), i(m, {
|
|
861
865
|
size: "large",
|
|
862
866
|
allowClear: !!l.allowClear,
|
|
863
867
|
format: "DD/MM/YYYY",
|
|
@@ -875,7 +879,7 @@ function we(p, g, C, e, S, x) {
|
|
|
875
879
|
picker: l.picker,
|
|
876
880
|
placeholder: l.placeholder || l.label,
|
|
877
881
|
key: e.pickerKey,
|
|
878
|
-
class:
|
|
882
|
+
class: D(
|
|
879
883
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
880
884
|
),
|
|
881
885
|
presets: l == null ? void 0 : l.presets,
|
|
@@ -884,17 +888,13 @@ function we(p, g, C, e, S, x) {
|
|
|
884
888
|
l.field ? l.field : "",
|
|
885
889
|
l == null ? void 0 : l.defaultToady
|
|
886
890
|
),
|
|
887
|
-
onCalendarChange: (o) => e.calendarChange(
|
|
888
|
-
o,
|
|
889
|
-
typeof l.field == "string" ? l.field : ""
|
|
890
|
-
),
|
|
891
891
|
onOk: (o) => e.onOk(
|
|
892
892
|
o,
|
|
893
893
|
typeof l.field == "string" ? l.field : ""
|
|
894
894
|
),
|
|
895
895
|
onBlur: (o) => e.openDatePicker(e.states.model[l.field]),
|
|
896
896
|
onOpenChange: (o) => e.openChange(o, l == null ? void 0 : l.defaultToady, l.field, e.states.model[l.field])
|
|
897
|
-
},
|
|
897
|
+
}, X({
|
|
898
898
|
superPrevIcon: n(() => [
|
|
899
899
|
se
|
|
900
900
|
]),
|
|
@@ -914,7 +914,7 @@ function we(p, g, C, e, S, x) {
|
|
|
914
914
|
fn: n(({ current: o }) => [
|
|
915
915
|
b("div", {
|
|
916
916
|
class: "ant-picker-cell-inner",
|
|
917
|
-
style:
|
|
917
|
+
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady))
|
|
918
918
|
}, c(o.date()), 5)
|
|
919
919
|
]),
|
|
920
920
|
key: "0"
|
|
@@ -924,11 +924,11 @@ function we(p, g, C, e, S, x) {
|
|
|
924
924
|
fn: n(() => [
|
|
925
925
|
l != null && l.disabledDateToday ? (a(), M("span", {
|
|
926
926
|
key: 0,
|
|
927
|
-
class:
|
|
927
|
+
class: D([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"])
|
|
928
928
|
}, c((l == null ? void 0 : l.todayLanguage) || "Today"), 3)) : u("", !0),
|
|
929
929
|
l != null && l.disabledDateToday ? u("", !0) : (a(), M("span", {
|
|
930
930
|
key: 1,
|
|
931
|
-
class:
|
|
931
|
+
class: D([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
932
932
|
onClick: (o) => e.getDefaultToady(
|
|
933
933
|
e.states.model[l.field],
|
|
934
934
|
typeof l.field == "string" ? l.field : "",
|
|
@@ -938,7 +938,7 @@ function we(p, g, C, e, S, x) {
|
|
|
938
938
|
]),
|
|
939
939
|
key: "1"
|
|
940
940
|
} : void 0
|
|
941
|
-
]), 1032, ["allowClear", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "
|
|
941
|
+
]), 1032, ["allowClear", "defaultPickerValue", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onOk", "onBlur", "onOpenChange"])),
|
|
942
942
|
l.showTo ? (a(), M("span", ye, c(l.showTo), 1)) : u("", !0)
|
|
943
943
|
]),
|
|
944
944
|
_: 2
|
|
@@ -951,13 +951,14 @@ function we(p, g, C, e, S, x) {
|
|
|
951
951
|
label: n(() => [
|
|
952
952
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
953
953
|
key: 0,
|
|
954
|
-
style:
|
|
954
|
+
style: t(l.labelStyle)
|
|
955
955
|
}, [
|
|
956
956
|
T(c(l.label) + " ", 1),
|
|
957
957
|
l.required ? (a(), M("span", ce, "*")) : u("", !0)
|
|
958
958
|
], 4))
|
|
959
959
|
]),
|
|
960
960
|
default: n(() => [
|
|
961
|
+
T(" " + c(l == null ? void 0 : l.defaultPickerValue) + " ", 1),
|
|
961
962
|
(a(), i(P, {
|
|
962
963
|
"popper-class": "selectTriangles",
|
|
963
964
|
allowClear: !!l.allowClear,
|
|
@@ -975,14 +976,14 @@ function we(p, g, C, e, S, x) {
|
|
|
975
976
|
separator: l.separator || "To",
|
|
976
977
|
placeholder: l.placeholder,
|
|
977
978
|
size: "large",
|
|
978
|
-
class:
|
|
979
|
+
class: D(
|
|
979
980
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
980
981
|
),
|
|
981
982
|
key: e.pickerKeyDaterange,
|
|
982
983
|
onChange: (o) => e.dateChange(
|
|
983
984
|
o,
|
|
984
985
|
typeof l.field == "string" ? l.field : "",
|
|
985
|
-
|
|
986
|
+
l == null ? void 0 : l.defaultToady
|
|
986
987
|
),
|
|
987
988
|
onCalendarChange: (o) => e.calendarChange(
|
|
988
989
|
o,
|
|
@@ -993,7 +994,7 @@ function we(p, g, C, e, S, x) {
|
|
|
993
994
|
typeof l.field == "string" ? l.field : ""
|
|
994
995
|
),
|
|
995
996
|
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultToady, l.field)
|
|
996
|
-
},
|
|
997
|
+
}, X({
|
|
997
998
|
superPrevIcon: n(() => [
|
|
998
999
|
ue
|
|
999
1000
|
]),
|
|
@@ -1013,7 +1014,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1013
1014
|
fn: n(({ current: o, info: d }) => [
|
|
1014
1015
|
b("div", {
|
|
1015
1016
|
class: "ant-picker-cell-inner",
|
|
1016
|
-
style:
|
|
1017
|
+
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.defaultToady, d, l.field))
|
|
1017
1018
|
}, c(o.date()), 5)
|
|
1018
1019
|
]),
|
|
1019
1020
|
key: "0"
|
|
@@ -1030,10 +1031,10 @@ function we(p, g, C, e, S, x) {
|
|
|
1030
1031
|
label: n(() => [
|
|
1031
1032
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1032
1033
|
key: 0,
|
|
1033
|
-
style:
|
|
1034
|
+
style: t(l.labelStyle)
|
|
1034
1035
|
}, [
|
|
1035
1036
|
T(c(l.label) + " ", 1),
|
|
1036
|
-
l.required ? (a(), M("span",
|
|
1037
|
+
l.required ? (a(), M("span", te, "*")) : u("", !0)
|
|
1037
1038
|
], 4))
|
|
1038
1039
|
]),
|
|
1039
1040
|
default: n(() => [
|
|
@@ -1054,7 +1055,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1054
1055
|
separator: l.separator || "To",
|
|
1055
1056
|
placeholder: l.placeholder,
|
|
1056
1057
|
size: "large",
|
|
1057
|
-
class:
|
|
1058
|
+
class: D(
|
|
1058
1059
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1059
1060
|
),
|
|
1060
1061
|
key: e.datetimerange,
|
|
@@ -1084,10 +1085,10 @@ function we(p, g, C, e, S, x) {
|
|
|
1084
1085
|
label: n(() => [
|
|
1085
1086
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1086
1087
|
key: 0,
|
|
1087
|
-
style:
|
|
1088
|
+
style: t(l.labelStyle)
|
|
1088
1089
|
}, [
|
|
1089
1090
|
T(c(l.label) + " ", 1),
|
|
1090
|
-
l.required ? (a(), M("span",
|
|
1091
|
+
l.required ? (a(), M("span", De, "*")) : u("", !0)
|
|
1091
1092
|
], 4))
|
|
1092
1093
|
]),
|
|
1093
1094
|
default: n(() => [
|
|
@@ -1104,7 +1105,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1104
1105
|
label: n(() => [
|
|
1105
1106
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1106
1107
|
key: 0,
|
|
1107
|
-
style:
|
|
1108
|
+
style: t(l.labelStyle)
|
|
1108
1109
|
}, [
|
|
1109
1110
|
T(c(l.label) + " ", 1),
|
|
1110
1111
|
l.required ? (a(), M("span", be, "*")) : u("", !0)
|
|
@@ -1112,7 +1113,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1112
1113
|
]),
|
|
1113
1114
|
default: n(() => [
|
|
1114
1115
|
b("div", {
|
|
1115
|
-
class:
|
|
1116
|
+
class: D(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1116
1117
|
}, [
|
|
1117
1118
|
e.phoneWrap ? (a(), M("div", Ne, [
|
|
1118
1119
|
f(L, {
|
|
@@ -1127,7 +1128,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1127
1128
|
return [
|
|
1128
1129
|
l.field.nationCode ? (a(), i(Z, {
|
|
1129
1130
|
key: 0,
|
|
1130
|
-
class:
|
|
1131
|
+
class: D(["tooltip-select", (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]),
|
|
1131
1132
|
id: l.field.nationCode,
|
|
1132
1133
|
onMouseenter: (d) => e.visibilityChange(l.field.nationCode),
|
|
1133
1134
|
"popper-class": "selectTriangles",
|
|
@@ -1136,7 +1137,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1136
1137
|
modelValue: e.states.model[l.field.nationCode],
|
|
1137
1138
|
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1138
1139
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1139
|
-
style:
|
|
1140
|
+
style: t("width:" + l.widthNation),
|
|
1140
1141
|
"fit-input-width": !0,
|
|
1141
1142
|
"suffix-icon": e.IconDropDown,
|
|
1142
1143
|
"clear-icon": e.IconClear
|
|
@@ -1170,7 +1171,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1170
1171
|
return [
|
|
1171
1172
|
l.field.areaCode ? (a(), i(O, {
|
|
1172
1173
|
key: 0,
|
|
1173
|
-
class:
|
|
1174
|
+
class: D(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1174
1175
|
id: l.field.areaCode,
|
|
1175
1176
|
onMouseenter: (d) => e.visibilityChange(l.field.areaCode),
|
|
1176
1177
|
onBlur: (d) => e.inputBlur(
|
|
@@ -1215,7 +1216,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1215
1216
|
return [
|
|
1216
1217
|
l.field.nationCode && !e.phoneWrap ? (a(), i(Z, {
|
|
1217
1218
|
key: 0,
|
|
1218
|
-
class:
|
|
1219
|
+
class: D([
|
|
1219
1220
|
"tooltip-select",
|
|
1220
1221
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1221
1222
|
]),
|
|
@@ -1227,7 +1228,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1227
1228
|
modelValue: e.states.model[l.field.nationCode],
|
|
1228
1229
|
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1229
1230
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1230
|
-
style:
|
|
1231
|
+
style: t("width:" + l.widthNation),
|
|
1231
1232
|
"fit-input-width": !0,
|
|
1232
1233
|
"suffix-icon": e.IconDropDown,
|
|
1233
1234
|
"clear-icon": e.IconClear
|
|
@@ -1261,7 +1262,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1261
1262
|
return [
|
|
1262
1263
|
l.field.areaCode && !e.phoneWrap ? (a(), i(O, {
|
|
1263
1264
|
key: 0,
|
|
1264
|
-
class:
|
|
1265
|
+
class: D([
|
|
1265
1266
|
"tooltip-input",
|
|
1266
1267
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1267
1268
|
]),
|
|
@@ -1289,7 +1290,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1289
1290
|
"onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
|
|
1290
1291
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1291
1292
|
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1292
|
-
style:
|
|
1293
|
+
style: t("width:" + l.widthArea),
|
|
1293
1294
|
clearable: l.clearable
|
|
1294
1295
|
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : u("", !0)
|
|
1295
1296
|
];
|
|
@@ -1307,7 +1308,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1307
1308
|
default: n(() => [
|
|
1308
1309
|
l.field.phoneNumber ? (a(), i(O, {
|
|
1309
1310
|
key: 0,
|
|
1310
|
-
class:
|
|
1311
|
+
class: D([
|
|
1311
1312
|
"tooltip-input",
|
|
1312
1313
|
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1313
1314
|
]),
|
|
@@ -1334,7 +1335,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1334
1335
|
"onUpdate:modelValue": (o) => e.states.model[l.field.phoneNumber] = o,
|
|
1335
1336
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
|
|
1336
1337
|
placeholder: l.placeholder || "",
|
|
1337
|
-
style:
|
|
1338
|
+
style: t("width:" + l.widthPhoneNumber),
|
|
1338
1339
|
clearable: l.clearable
|
|
1339
1340
|
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : u("", !0)
|
|
1340
1341
|
]),
|
|
@@ -1355,12 +1356,12 @@ function we(p, g, C, e, S, x) {
|
|
|
1355
1356
|
key: 15,
|
|
1356
1357
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1357
1358
|
prop: l.field,
|
|
1358
|
-
class:
|
|
1359
|
+
class: D(l.prepend ? "input-item" : "")
|
|
1359
1360
|
}, {
|
|
1360
1361
|
label: n(() => [
|
|
1361
1362
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1362
1363
|
key: 0,
|
|
1363
|
-
style:
|
|
1364
|
+
style: t(l.labelStyle)
|
|
1364
1365
|
}, [
|
|
1365
1366
|
T(c(l.label) + " ", 1),
|
|
1366
1367
|
l.required ? (a(), M("span", Ae, "*")) : u("", !0)
|
|
@@ -1396,11 +1397,11 @@ function we(p, g, C, e, S, x) {
|
|
|
1396
1397
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1397
1398
|
showPassword: l.showPassword,
|
|
1398
1399
|
clearable: l.clearable,
|
|
1399
|
-
class:
|
|
1400
|
+
class: D(
|
|
1400
1401
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1401
1402
|
),
|
|
1402
1403
|
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1403
|
-
},
|
|
1404
|
+
}, X({ _: 2 }, [
|
|
1404
1405
|
l.prepend ? {
|
|
1405
1406
|
name: "prepend",
|
|
1406
1407
|
fn: n(() => [
|
|
@@ -1422,12 +1423,12 @@ function we(p, g, C, e, S, x) {
|
|
|
1422
1423
|
key: 16,
|
|
1423
1424
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1424
1425
|
prop: l.field,
|
|
1425
|
-
class:
|
|
1426
|
+
class: D(l.prepend ? "input-item" : "")
|
|
1426
1427
|
}, {
|
|
1427
1428
|
label: n(() => [
|
|
1428
1429
|
l.slotLabelName ? j(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1429
1430
|
key: 0,
|
|
1430
|
-
style:
|
|
1431
|
+
style: t(l.labelStyle)
|
|
1431
1432
|
}, [
|
|
1432
1433
|
T(c(l.label) + " ", 1),
|
|
1433
1434
|
l.required ? (a(), M("span", ke, "*")) : u("", !0)
|
|
@@ -1443,7 +1444,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1443
1444
|
}, {
|
|
1444
1445
|
default: n(() => [
|
|
1445
1446
|
f(O, {
|
|
1446
|
-
class:
|
|
1447
|
+
class: D(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1447
1448
|
id: l.field,
|
|
1448
1449
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
1449
1450
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1462,7 +1463,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1462
1463
|
showPassword: l.showPassword,
|
|
1463
1464
|
clearable: l.clearable,
|
|
1464
1465
|
onKeyup: U((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1465
|
-
},
|
|
1466
|
+
}, X({ _: 2 }, [
|
|
1466
1467
|
l.prepend ? {
|
|
1467
1468
|
name: "prepend",
|
|
1468
1469
|
fn: n(() => [
|
|
@@ -1500,7 +1501,7 @@ function we(p, g, C, e, S, x) {
|
|
|
1500
1501
|
onBtnClick: e.onSubmit
|
|
1501
1502
|
}, () => [
|
|
1502
1503
|
(a(!0), M(k, null, w(e.formOptions.btnConfig, (l, Q) => (a(), M("div", { key: Q }, [
|
|
1503
|
-
l.isShow ? (a(), i(
|
|
1504
|
+
l.isShow ? (a(), i($, {
|
|
1504
1505
|
key: 0,
|
|
1505
1506
|
btnCode: l.btnCode,
|
|
1506
1507
|
plain: l.plain,
|
|
@@ -1523,8 +1524,8 @@ function we(p, g, C, e, S, x) {
|
|
|
1523
1524
|
size: l.size,
|
|
1524
1525
|
fontSize: l.fontSize,
|
|
1525
1526
|
fontWeight: l.fontWeight,
|
|
1526
|
-
style:
|
|
1527
|
-
class:
|
|
1527
|
+
style: t(l.style),
|
|
1528
|
+
class: D(l.class),
|
|
1528
1529
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1529
1530
|
}, {
|
|
1530
1531
|
default: n(() => [
|
|
@@ -1541,11 +1542,11 @@ function we(p, g, C, e, S, x) {
|
|
|
1541
1542
|
_: 3
|
|
1542
1543
|
}, 16, ["model", "label-position"]);
|
|
1543
1544
|
}
|
|
1544
|
-
const
|
|
1545
|
-
function
|
|
1546
|
-
|
|
1545
|
+
const fl = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-d280de1a"]]);
|
|
1546
|
+
function dl(p, g = {}) {
|
|
1547
|
+
dl.installed || (dl.installed = !0, p.component("common-el-form", fl));
|
|
1547
1548
|
}
|
|
1548
|
-
|
|
1549
|
+
fl.install = dl;
|
|
1549
1550
|
export {
|
|
1550
|
-
|
|
1551
|
+
fl as default
|
|
1551
1552
|
};
|