sinosoft-common-form 2.0.2 → 2.0.3
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 +168 -162
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as Y, reactive as
|
|
1
|
+
import { ref as Y, reactive as kl, shallowRef as ll, h as el, computed as Al, 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 A, withDirectives as Sl, createElementVNode as b, normalizeStyle as t, toDisplayString as y, createTextVNode as T, createCommentVNode as c, renderSlot as h, normalizeClass as D, withKeys as V, createSlots as K, vShow as Yl, pushScopeId as vl, popScopeId as Rl } from "vue";
|
|
2
2
|
const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1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IDEzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Wl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -21,8 +21,8 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const z = Y(!0), e =
|
|
24
|
+
setup(p, { emit: g }) {
|
|
25
|
+
const z = Y(!0), e = kl({
|
|
26
26
|
model: {}
|
|
27
27
|
}), _ = Y(!0), C = Y(null), N = ll({
|
|
28
28
|
render() {
|
|
@@ -38,11 +38,11 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
38
38
|
}
|
|
39
39
|
}), E = (s) => {
|
|
40
40
|
const r = s.target;
|
|
41
|
-
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight &&
|
|
41
|
+
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight && g("selectChangeScroll");
|
|
42
42
|
}, U = (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), g("handleVisibleChange", s, r);
|
|
46
46
|
}
|
|
47
47
|
}, F = ll({
|
|
48
48
|
render() {
|
|
@@ -50,65 +50,65 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
50
50
|
src: Fl
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}), W =
|
|
54
|
-
e.model =
|
|
55
|
-
}, S = (s, r,
|
|
53
|
+
}), W = Al(() => Object.assign([], p.options)), v = () => {
|
|
54
|
+
e.model = p.model;
|
|
55
|
+
}, S = (s, r, u) => {
|
|
56
56
|
var x;
|
|
57
57
|
r ? (z.value = !1, Ll(() => {
|
|
58
|
-
var
|
|
59
|
-
(
|
|
58
|
+
var H;
|
|
59
|
+
(H = C.value) == null || H.validate(($) => {
|
|
60
60
|
if ($)
|
|
61
|
-
u
|
|
61
|
+
g(u || "submit", e.model, s);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) : r ? (
|
|
65
|
+
})) : r ? (u === "reset" && ((x = C.value) == null || x.resetFields()), g(u || "submit", e.model, s)) : (z.value = !1, g(u || "submit", e.model, s, C.value));
|
|
66
66
|
}, R = (s, r) => {
|
|
67
|
-
|
|
67
|
+
g("selectChange", s, r);
|
|
68
68
|
}, B = (s, r) => {
|
|
69
|
-
|
|
69
|
+
g("radioChange", s, r);
|
|
70
70
|
}, L = (s, r) => {
|
|
71
|
-
|
|
72
|
-
},
|
|
73
|
-
const
|
|
74
|
-
if (
|
|
75
|
-
|
|
71
|
+
g("checkChange", s, r);
|
|
72
|
+
}, q = (s, r) => {
|
|
73
|
+
const u = e.model[r].length;
|
|
74
|
+
if (u === 1) {
|
|
75
|
+
g("checkChange", s, r);
|
|
76
76
|
return;
|
|
77
77
|
} else
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
S(s, r,
|
|
81
|
-
},
|
|
78
|
+
u > 1 ? (e.model[r].shift(), g("checkChange", s, r)) : u < 1 && g("checkChange", s, r);
|
|
79
|
+
}, Q = (s, r, u) => {
|
|
80
|
+
S(s, r, u);
|
|
81
|
+
}, J = (s, r) => {
|
|
82
82
|
s && (r == null ? void 0 : r.key) === "Enter" && S(void 0, !0, "submit");
|
|
83
|
-
},
|
|
84
|
-
var
|
|
85
|
-
const x = /* @__PURE__ */ new Date(),
|
|
86
|
-
s === Ol &&
|
|
83
|
+
}, G = (s, r, u) => {
|
|
84
|
+
var rl, Ml;
|
|
85
|
+
const x = /* @__PURE__ */ new Date(), H = x.getDate().toString().padStart(2, "0"), $ = (x.getMonth() + 1).toString().padStart(2, "0"), jl = x.getFullYear().toString(), Ol = `${H}/${$}/${jl}`;
|
|
86
|
+
s === Ol && u ? ((rl = C.value) == null || rl.validateField(r), e.model[r] = u.format("DD/MM/YYYY"), g("dateChange", u.format("DD/MM/YYYY"), r)) : ((Ml = C.value) == null || Ml.validateField(r), g("dateChange", s, r));
|
|
87
87
|
}, l = (s, r) => {
|
|
88
|
-
|
|
88
|
+
g("calendarChange", s, r);
|
|
89
89
|
}, Z = (s, r) => {
|
|
90
|
-
|
|
90
|
+
g("onOk", s, r);
|
|
91
91
|
}, o = (s, r) => {
|
|
92
|
-
|
|
92
|
+
g("inputBlur", s, r);
|
|
93
93
|
}, d = (s, r) => {
|
|
94
|
-
|
|
94
|
+
g("inputFocus", s, r);
|
|
95
95
|
}, O = (s, r) => {
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
},
|
|
96
|
+
g("inputChange", s, r);
|
|
97
|
+
}, P = (s, r) => {
|
|
98
|
+
g("inputInput", s, r);
|
|
99
|
+
}, pl = (s) => {
|
|
100
100
|
if (s) {
|
|
101
|
-
var r = document.getElementById(s),
|
|
102
|
-
x >
|
|
101
|
+
var r = document.getElementById(s), u = r.offsetWidth, x = r.scrollWidth;
|
|
102
|
+
x > u ? _.value = !1 : _.value = !0;
|
|
103
103
|
} else
|
|
104
104
|
_.value = !0;
|
|
105
|
-
},
|
|
106
|
-
const
|
|
107
|
-
return
|
|
108
|
-
},
|
|
105
|
+
}, fl = (s, r) => {
|
|
106
|
+
const u = r.find((x) => x.code === s);
|
|
107
|
+
return u ? u.name : s;
|
|
108
|
+
}, tl = (s) => {
|
|
109
109
|
var r;
|
|
110
110
|
(r = C.value) == null || r.resetFields(s);
|
|
111
|
-
},
|
|
111
|
+
}, Dl = (s) => {
|
|
112
112
|
var r;
|
|
113
113
|
(r = C.value) == null || r.clearValidate(s);
|
|
114
114
|
}, X = Y(!1), al = () => {
|
|
@@ -120,25 +120,26 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
120
120
|
}), zl(() => {
|
|
121
121
|
window.removeEventListener("resize", al);
|
|
122
122
|
}), Cl(
|
|
123
|
-
() =>
|
|
123
|
+
() => p.fieldList,
|
|
124
124
|
(s, r) => {
|
|
125
125
|
s !== r && v();
|
|
126
126
|
}
|
|
127
127
|
);
|
|
128
|
-
const nl = Y(0), m = Y(0), dl = Y(0),
|
|
128
|
+
const nl = Y(0), m = Y(0), dl = Y(0), sl = () => {
|
|
129
129
|
nl.value += 1;
|
|
130
130
|
}, bl = (s, r) => {
|
|
131
|
-
|
|
131
|
+
console.log(s, "current");
|
|
132
|
+
const u = {};
|
|
132
133
|
if (s.date() === r.date() && s.year() === r.year() && s.month() === r.month())
|
|
133
|
-
return
|
|
134
|
-
}, Nl = (s, r) => {
|
|
135
|
-
console.log("getDefaultToady"), e.model[r] =
|
|
134
|
+
return console.log(111111111), u.border = "1px solid #a26628", u.borderRadius = "4px", u;
|
|
135
|
+
}, Nl = (s, r, u) => {
|
|
136
|
+
console.log("getDefaultToady"), e.model[r] = u.format("DD/MM/YYYY"), sl(), G(s, r, u), g("getDefaultToady", u, r);
|
|
136
137
|
}, Tl = (s, r) => {
|
|
137
|
-
s || (m.value += 1),
|
|
138
|
+
s || (m.value += 1), g("openChange", s);
|
|
138
139
|
}, Il = (s, r) => {
|
|
139
|
-
s || (m.value += 1),
|
|
140
|
+
s || (m.value += 1), g("openDatePickerDaterange", s);
|
|
140
141
|
}, hl = (s) => {
|
|
141
|
-
s || (dl.value += 1),
|
|
142
|
+
s || (dl.value += 1), g("openDatetimerange", s);
|
|
142
143
|
};
|
|
143
144
|
return {
|
|
144
145
|
...xl(e),
|
|
@@ -150,49 +151,49 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
150
151
|
selectChange: R,
|
|
151
152
|
radioChange: B,
|
|
152
153
|
checkChange: L,
|
|
153
|
-
handleCheckedChange:
|
|
154
|
+
handleCheckedChange: q,
|
|
154
155
|
prefixIcon: N,
|
|
155
156
|
IconDropDown: j,
|
|
156
157
|
IconClear: F,
|
|
157
|
-
handleClick:
|
|
158
|
-
handleKeyUp:
|
|
159
|
-
resetFieldsTest:
|
|
160
|
-
clearValidateTest:
|
|
161
|
-
dateChange:
|
|
158
|
+
handleClick: Q,
|
|
159
|
+
handleKeyUp: J,
|
|
160
|
+
resetFieldsTest: tl,
|
|
161
|
+
clearValidateTest: Dl,
|
|
162
|
+
dateChange: G,
|
|
162
163
|
calendarChange: l,
|
|
163
164
|
onOk: Z,
|
|
164
165
|
inputBlur: o,
|
|
165
166
|
inputFocus: d,
|
|
166
167
|
inputChange: O,
|
|
167
|
-
inputInput:
|
|
168
|
+
inputInput: P,
|
|
168
169
|
noFormRule: z,
|
|
169
170
|
phoneWrap: X,
|
|
170
171
|
pickerKey: nl,
|
|
171
172
|
pickerKeyDaterange: m,
|
|
172
173
|
datetimerange: dl,
|
|
173
|
-
openDatePicker:
|
|
174
|
+
openDatePicker: sl,
|
|
174
175
|
openDatePickerDaterange: Il,
|
|
175
176
|
openDatetimerange: hl,
|
|
176
177
|
// spaceRule,
|
|
177
178
|
handleVisibleChange: U,
|
|
178
179
|
handleScroll: E,
|
|
179
|
-
visibilityChange:
|
|
180
|
-
contentName:
|
|
180
|
+
visibilityChange: pl,
|
|
181
|
+
contentName: fl,
|
|
181
182
|
openChange: Tl,
|
|
182
183
|
getCurrentStyle: bl,
|
|
183
184
|
getDefaultToady: Nl
|
|
184
185
|
};
|
|
185
186
|
}
|
|
186
|
-
},
|
|
187
|
-
const Bl = (
|
|
188
|
-
const z =
|
|
189
|
-
for (const [e, _] of
|
|
187
|
+
}, il = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTguMDYwNyAxNi4wNjA3TDE3IDE1TDEyIDIwTDE3IDI1TDE4LjA2MDcgMjMuOTM5M0wxNC4xMjEzIDIwTDE4LjA2MDcgMTY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S4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
188
|
+
const Bl = (p, g) => {
|
|
189
|
+
const z = p.__vccOpts || p;
|
|
190
|
+
for (const [e, _] of g)
|
|
190
191
|
z[e] = _;
|
|
191
192
|
return z;
|
|
192
|
-
}, w = (
|
|
193
|
+
}, w = (p) => (vl("data-v-1c484f0b"), p = p(), Rl(), p), Zl = { class: "header-title" }, Pl = { class: "title-content" }, Ql = {
|
|
193
194
|
key: 0,
|
|
194
195
|
class: "custom-required"
|
|
195
|
-
},
|
|
196
|
+
}, Gl = {
|
|
196
197
|
key: 0,
|
|
197
198
|
class: "custom-required"
|
|
198
199
|
}, Hl = ["src"], Kl = {
|
|
@@ -217,16 +218,16 @@ const Bl = (g, u) => {
|
|
|
217
218
|
key: 0,
|
|
218
219
|
class: "custom-required"
|
|
219
220
|
}, de = ["onClick"], se = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
220
|
-
src:
|
|
221
|
+
src: il,
|
|
221
222
|
alt: ""
|
|
222
223
|
}, null, -1)), re = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
223
|
-
src:
|
|
224
|
+
src: yl,
|
|
224
225
|
alt: ""
|
|
225
226
|
}, null, -1)), Me = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
226
|
-
src:
|
|
227
|
+
src: cl,
|
|
227
228
|
alt: ""
|
|
228
229
|
}, null, -1)), ie = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
229
|
-
src:
|
|
230
|
+
src: ul,
|
|
230
231
|
alt: ""
|
|
231
232
|
}, null, -1)), ye = {
|
|
232
233
|
key: 0,
|
|
@@ -235,16 +236,16 @@ const Bl = (g, u) => {
|
|
|
235
236
|
key: 0,
|
|
236
237
|
class: "custom-required"
|
|
237
238
|
}, ue = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
238
|
-
src:
|
|
239
|
+
src: il,
|
|
239
240
|
alt: ""
|
|
240
241
|
}, null, -1)), ge = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
241
|
-
src:
|
|
242
|
+
src: yl,
|
|
242
243
|
alt: ""
|
|
243
244
|
}, null, -1)), pe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
244
|
-
src:
|
|
245
|
+
src: cl,
|
|
245
246
|
alt: ""
|
|
246
247
|
}, null, -1)), fe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
247
|
-
src:
|
|
248
|
+
src: ul,
|
|
248
249
|
alt: ""
|
|
249
250
|
}, null, -1)), te = {
|
|
250
251
|
key: 0,
|
|
@@ -267,18 +268,18 @@ const Bl = (g, u) => {
|
|
|
267
268
|
}, Oe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", {
|
|
268
269
|
class: "line",
|
|
269
270
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
270
|
-
}, null, -1)),
|
|
271
|
+
}, null, -1)), ke = {
|
|
271
272
|
key: 0,
|
|
272
273
|
class: "custom-required"
|
|
273
|
-
},
|
|
274
|
+
}, Ae = {
|
|
274
275
|
key: 0,
|
|
275
276
|
class: "custom-required"
|
|
276
277
|
};
|
|
277
|
-
function we(
|
|
278
|
-
const N = I("el-form-item"), j = I("el-input"), E = I("el-col"), U = I("el-row"), F = I("el-radio"), W = I("el-radio-group"), v = I("el-checkbox"), S = I("el-checkbox-group"), R = I("el-option"), B = I("el-select"), L = I("el-tooltip"),
|
|
279
|
-
return a(), i(
|
|
278
|
+
function we(p, g, z, e, _, C) {
|
|
279
|
+
const N = I("el-form-item"), j = I("el-input"), E = I("el-col"), U = I("el-row"), F = I("el-radio"), W = I("el-radio-group"), v = I("el-checkbox"), S = I("el-checkbox-group"), R = I("el-option"), B = I("el-select"), L = I("el-tooltip"), q = I("a-date-picker"), Q = I("a-range-picker"), J = I("sinosoftCommonButton"), G = I("el-form");
|
|
280
|
+
return a(), i(G, El({
|
|
280
281
|
"hide-required-asterisk": "",
|
|
281
|
-
onSubmit:
|
|
282
|
+
onSubmit: g[0] || (g[0] = _l(() => {
|
|
282
283
|
}, ["prevent"])),
|
|
283
284
|
model: z.model
|
|
284
285
|
}, e.formOptions, {
|
|
@@ -287,9 +288,9 @@ function we(g, u, z, e, _, C) {
|
|
|
287
288
|
"scroll-to-error": !0
|
|
288
289
|
}), {
|
|
289
290
|
default: n(() => [
|
|
290
|
-
|
|
291
|
+
f(U, { gutter: 24 }, {
|
|
291
292
|
default: n(() => [
|
|
292
|
-
(a(!0), M(
|
|
293
|
+
(a(!0), M(k, null, A(z.fieldList, (l, Z) => Sl((a(), i(E, {
|
|
293
294
|
xs: l.xs ? l.xs : 24,
|
|
294
295
|
sm: l.sm ? l.sm : 24,
|
|
295
296
|
md: l.md ? l.md : 8,
|
|
@@ -304,7 +305,7 @@ function we(g, u, z, e, _, C) {
|
|
|
304
305
|
l.type === "title" ? (a(), i(N, { key: 0 }, {
|
|
305
306
|
default: n(() => [
|
|
306
307
|
b("div", Zl, [
|
|
307
|
-
b("span",
|
|
308
|
+
b("span", Pl, y(l.title), 1)
|
|
308
309
|
])
|
|
309
310
|
]),
|
|
310
311
|
_: 2
|
|
@@ -315,18 +316,18 @@ function we(g, u, z, e, _, C) {
|
|
|
315
316
|
class: "container_name"
|
|
316
317
|
}, {
|
|
317
318
|
label: n(() => [
|
|
318
|
-
l.slotLabelName ? h(
|
|
319
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
319
320
|
key: 0,
|
|
320
321
|
style: t(l.labelStyle)
|
|
321
322
|
}, [
|
|
322
323
|
T(y(l.label) + " ", 1),
|
|
323
|
-
l.required ? (a(), M("span",
|
|
324
|
+
l.required ? (a(), M("span", Ql, "*")) : c("", !0)
|
|
324
325
|
], 4))
|
|
325
326
|
]),
|
|
326
327
|
default: n(() => [
|
|
327
|
-
|
|
328
|
+
f(U, { gutter: 20 }, {
|
|
328
329
|
default: n(() => [
|
|
329
|
-
|
|
330
|
+
f(E, {
|
|
330
331
|
xs: 24,
|
|
331
332
|
sm: 12,
|
|
332
333
|
md: 12,
|
|
@@ -341,7 +342,7 @@ function we(g, u, z, e, _, C) {
|
|
|
341
342
|
class: "item-name item-name-top"
|
|
342
343
|
}, {
|
|
343
344
|
default: n(() => [
|
|
344
|
-
|
|
345
|
+
f(j, {
|
|
345
346
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
346
347
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
347
348
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
@@ -364,7 +365,7 @@ function we(g, u, z, e, _, C) {
|
|
|
364
365
|
]),
|
|
365
366
|
_: 2
|
|
366
367
|
}, 1024),
|
|
367
|
-
|
|
368
|
+
f(E, {
|
|
368
369
|
xs: 24,
|
|
369
370
|
sm: 12,
|
|
370
371
|
md: 12,
|
|
@@ -379,7 +380,7 @@ function we(g, u, z, e, _, C) {
|
|
|
379
380
|
class: "item-name item-name-top"
|
|
380
381
|
}, {
|
|
381
382
|
default: n(() => [
|
|
382
|
-
|
|
383
|
+
f(j, {
|
|
383
384
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
384
385
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
385
386
|
onChange: (o) => e.inputChange(o, l.field.nameEn),
|
|
@@ -405,9 +406,9 @@ function we(g, u, z, e, _, C) {
|
|
|
405
406
|
]),
|
|
406
407
|
_: 2
|
|
407
408
|
}, 1024),
|
|
408
|
-
|
|
409
|
+
f(U, { gutter: 20 }, {
|
|
409
410
|
default: n(() => [
|
|
410
|
-
|
|
411
|
+
f(E, {
|
|
411
412
|
xs: 24,
|
|
412
413
|
sm: 12,
|
|
413
414
|
md: 12,
|
|
@@ -422,7 +423,7 @@ function we(g, u, z, e, _, C) {
|
|
|
422
423
|
class: "item-name item-name-bottom"
|
|
423
424
|
}, {
|
|
424
425
|
default: n(() => [
|
|
425
|
-
|
|
426
|
+
f(j, {
|
|
426
427
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
427
428
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
428
429
|
onChange: (o) => e.inputChange(o, l.field.nameChFamily),
|
|
@@ -448,7 +449,7 @@ function we(g, u, z, e, _, C) {
|
|
|
448
449
|
]),
|
|
449
450
|
_: 2
|
|
450
451
|
}, 1024),
|
|
451
|
-
|
|
452
|
+
f(E, {
|
|
452
453
|
xs: 24,
|
|
453
454
|
sm: 12,
|
|
454
455
|
md: 12,
|
|
@@ -463,7 +464,7 @@ function we(g, u, z, e, _, C) {
|
|
|
463
464
|
class: "item-name item-name-bottom"
|
|
464
465
|
}, {
|
|
465
466
|
default: n(() => [
|
|
466
|
-
|
|
467
|
+
f(j, {
|
|
467
468
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
468
469
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
469
470
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
@@ -499,16 +500,16 @@ function we(g, u, z, e, _, C) {
|
|
|
499
500
|
class: "radio_row"
|
|
500
501
|
}, {
|
|
501
502
|
label: n(() => [
|
|
502
|
-
l.slotLabelName ? h(
|
|
503
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
503
504
|
key: 0,
|
|
504
505
|
style: t(l.labelStyle)
|
|
505
506
|
}, [
|
|
506
507
|
T(y(l.label) + " ", 1),
|
|
507
|
-
l.required ? (a(), M("span",
|
|
508
|
+
l.required ? (a(), M("span", Gl, "*")) : c("", !0)
|
|
508
509
|
], 4))
|
|
509
510
|
]),
|
|
510
511
|
default: n(() => [
|
|
511
|
-
|
|
512
|
+
f(W, {
|
|
512
513
|
modelValue: e.states.model[l.field],
|
|
513
514
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
514
515
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -517,7 +518,7 @@ function we(g, u, z, e, _, C) {
|
|
|
517
518
|
default: n(() => {
|
|
518
519
|
var o;
|
|
519
520
|
return [
|
|
520
|
-
(a(!0), M(
|
|
521
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
521
522
|
label: d.code,
|
|
522
523
|
size: "large",
|
|
523
524
|
key: d.code
|
|
@@ -545,7 +546,7 @@ function we(g, u, z, e, _, C) {
|
|
|
545
546
|
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
546
547
|
}, {
|
|
547
548
|
label: n(() => [
|
|
548
|
-
l.slotLabelName ? h(
|
|
549
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
549
550
|
key: 0,
|
|
550
551
|
style: t(l.labelStyle)
|
|
551
552
|
}, [
|
|
@@ -554,7 +555,7 @@ function we(g, u, z, e, _, C) {
|
|
|
554
555
|
], 4))
|
|
555
556
|
]),
|
|
556
557
|
default: n(() => [
|
|
557
|
-
|
|
558
|
+
f(W, {
|
|
558
559
|
modelValue: e.states.model[l.field],
|
|
559
560
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
560
561
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -567,7 +568,7 @@ function we(g, u, z, e, _, C) {
|
|
|
567
568
|
default: n(() => {
|
|
568
569
|
var o;
|
|
569
570
|
return [
|
|
570
|
-
(a(!0), M(
|
|
571
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
571
572
|
size: "large",
|
|
572
573
|
label: d.code,
|
|
573
574
|
key: d.code,
|
|
@@ -597,7 +598,7 @@ function we(g, u, z, e, _, C) {
|
|
|
597
598
|
b("span", Jl, y(l.labelNode), 1),
|
|
598
599
|
l.required ? (a(), M("span", Xl, "*")) : c("", !0)
|
|
599
600
|
]),
|
|
600
|
-
|
|
601
|
+
f(W, {
|
|
601
602
|
modelValue: e.states.model[l.field],
|
|
602
603
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
603
604
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -610,7 +611,7 @@ function we(g, u, z, e, _, C) {
|
|
|
610
611
|
default: n(() => {
|
|
611
612
|
var o;
|
|
612
613
|
return [
|
|
613
|
-
(a(!0), M(
|
|
614
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
614
615
|
size: "large",
|
|
615
616
|
label: d.code,
|
|
616
617
|
key: d.code
|
|
@@ -633,7 +634,7 @@ function we(g, u, z, e, _, C) {
|
|
|
633
634
|
prop: l.field
|
|
634
635
|
}, {
|
|
635
636
|
label: n(() => [
|
|
636
|
-
l.slotLabelName ? h(
|
|
637
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
637
638
|
key: 0,
|
|
638
639
|
style: t(l.labelStyle)
|
|
639
640
|
}, [
|
|
@@ -642,7 +643,7 @@ function we(g, u, z, e, _, C) {
|
|
|
642
643
|
], 4))
|
|
643
644
|
]),
|
|
644
645
|
default: n(() => [
|
|
645
|
-
|
|
646
|
+
f(S, {
|
|
646
647
|
modelValue: e.states.model[l.field],
|
|
647
648
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
648
649
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -654,7 +655,7 @@ function we(g, u, z, e, _, C) {
|
|
|
654
655
|
default: n(() => {
|
|
655
656
|
var o;
|
|
656
657
|
return [
|
|
657
|
-
(a(!0), M(
|
|
658
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
658
659
|
key: d.code,
|
|
659
660
|
label: d.code,
|
|
660
661
|
disabled: d.isDisabled
|
|
@@ -677,7 +678,7 @@ function we(g, u, z, e, _, C) {
|
|
|
677
678
|
prop: l.field
|
|
678
679
|
}, {
|
|
679
680
|
label: n(() => [
|
|
680
|
-
l.slotLabelName ? h(
|
|
681
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
681
682
|
key: 0,
|
|
682
683
|
style: t(l.labelStyle)
|
|
683
684
|
}, [
|
|
@@ -686,7 +687,7 @@ function we(g, u, z, e, _, C) {
|
|
|
686
687
|
], 4))
|
|
687
688
|
]),
|
|
688
689
|
default: n(() => [
|
|
689
|
-
|
|
690
|
+
f(S, {
|
|
690
691
|
modelValue: e.states.model[l.field],
|
|
691
692
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
692
693
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
@@ -698,7 +699,7 @@ function we(g, u, z, e, _, C) {
|
|
|
698
699
|
default: n(() => {
|
|
699
700
|
var o;
|
|
700
701
|
return [
|
|
701
|
-
(a(!0), M(
|
|
702
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
702
703
|
key: d.code,
|
|
703
704
|
label: d.code,
|
|
704
705
|
disabled: d.isDisabled
|
|
@@ -727,7 +728,7 @@ function we(g, u, z, e, _, C) {
|
|
|
727
728
|
b("span", ee, y(l.labelNode), 1),
|
|
728
729
|
l.required ? (a(), M("span", oe, "*")) : c("", !0)
|
|
729
730
|
]),
|
|
730
|
-
|
|
731
|
+
f(S, {
|
|
731
732
|
modelValue: e.states.model[l.field],
|
|
732
733
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
733
734
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -739,7 +740,7 @@ function we(g, u, z, e, _, C) {
|
|
|
739
740
|
default: n(() => {
|
|
740
741
|
var o;
|
|
741
742
|
return [
|
|
742
|
-
(a(!0), M(
|
|
743
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
743
744
|
key: d.code,
|
|
744
745
|
label: d.code,
|
|
745
746
|
disabled: d.isDisabled
|
|
@@ -763,7 +764,7 @@ function we(g, u, z, e, _, C) {
|
|
|
763
764
|
prop: l.field
|
|
764
765
|
}, {
|
|
765
766
|
label: n(() => [
|
|
766
|
-
l.slotLabelName ? h(
|
|
767
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
767
768
|
key: 0,
|
|
768
769
|
style: t(l.labelStyle)
|
|
769
770
|
}, [
|
|
@@ -774,7 +775,7 @@ function we(g, u, z, e, _, C) {
|
|
|
774
775
|
default: n(() => {
|
|
775
776
|
var o;
|
|
776
777
|
return [
|
|
777
|
-
|
|
778
|
+
f(L, {
|
|
778
779
|
"popper-class": "select-tooltip",
|
|
779
780
|
effect: "light",
|
|
780
781
|
content: e.contentName(e.states.model[l.field], (o = l.options) == null ? void 0 : o.data),
|
|
@@ -782,7 +783,7 @@ function we(g, u, z, e, _, C) {
|
|
|
782
783
|
disabled: e.isShowTooltip
|
|
783
784
|
}, {
|
|
784
785
|
default: n(() => [
|
|
785
|
-
|
|
786
|
+
f(B, {
|
|
786
787
|
class: D(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
787
788
|
id: l.field,
|
|
788
789
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
@@ -808,7 +809,7 @@ function we(g, u, z, e, _, C) {
|
|
|
808
809
|
default: n(() => {
|
|
809
810
|
var d;
|
|
810
811
|
return [
|
|
811
|
-
(a(!0), M(
|
|
812
|
+
(a(!0), M(k, null, A((d = l.options) == null ? void 0 : d.data, (O) => (a(), i(R, {
|
|
812
813
|
key: O.code,
|
|
813
814
|
label: O.name,
|
|
814
815
|
value: O.code
|
|
@@ -841,7 +842,7 @@ function we(g, u, z, e, _, C) {
|
|
|
841
842
|
class: "date_item"
|
|
842
843
|
}, {
|
|
843
844
|
label: n(() => [
|
|
844
|
-
l.slotLabelName ? h(
|
|
845
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
845
846
|
key: 0,
|
|
846
847
|
style: t(l.labelStyle)
|
|
847
848
|
}, [
|
|
@@ -850,7 +851,7 @@ function we(g, u, z, e, _, C) {
|
|
|
850
851
|
], 4))
|
|
851
852
|
]),
|
|
852
853
|
default: n(() => [
|
|
853
|
-
(a(), i(
|
|
854
|
+
(a(), i(q, {
|
|
854
855
|
size: "large",
|
|
855
856
|
allowClear: !!l.allowClear,
|
|
856
857
|
format: "DD/MM/YYYY",
|
|
@@ -887,7 +888,7 @@ function we(g, u, z, e, _, C) {
|
|
|
887
888
|
),
|
|
888
889
|
onBlur: e.openDatePicker,
|
|
889
890
|
onOpenChange: (o) => e.openChange(o, l == null ? void 0 : l.defaultToady)
|
|
890
|
-
},
|
|
891
|
+
}, K({
|
|
891
892
|
superPrevIcon: n(() => [
|
|
892
893
|
se
|
|
893
894
|
]),
|
|
@@ -922,7 +923,12 @@ function we(g, u, z, e, _, C) {
|
|
|
922
923
|
l != null && l.disabledDateToday ? c("", !0) : (a(), M("span", {
|
|
923
924
|
key: 1,
|
|
924
925
|
class: D([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
925
|
-
onClick: (o) => e.getDefaultToady(
|
|
926
|
+
onClick: (o) => e.getDefaultToady(
|
|
927
|
+
o,
|
|
928
|
+
typeof l.field == "string" ? l.field : "",
|
|
929
|
+
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date(),
|
|
930
|
+
l.field
|
|
931
|
+
)
|
|
926
932
|
}, "Toady", 10, de))
|
|
927
933
|
]),
|
|
928
934
|
key: "1"
|
|
@@ -938,7 +944,7 @@ function we(g, u, z, e, _, C) {
|
|
|
938
944
|
prop: l.field
|
|
939
945
|
}, {
|
|
940
946
|
label: n(() => [
|
|
941
|
-
l.slotLabelName ? h(
|
|
947
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
942
948
|
key: 0,
|
|
943
949
|
style: t(l.labelStyle)
|
|
944
950
|
}, [
|
|
@@ -947,10 +953,10 @@ function we(g, u, z, e, _, C) {
|
|
|
947
953
|
], 4))
|
|
948
954
|
]),
|
|
949
955
|
default: n(() => [
|
|
950
|
-
(a(), i(
|
|
956
|
+
(a(), i(Q, {
|
|
951
957
|
"popper-class": "selectTriangles",
|
|
952
958
|
allowClear: !!l.allowClear,
|
|
953
|
-
defaultPickerValue: l == null ? void 0 : l.
|
|
959
|
+
defaultPickerValue: l == null ? void 0 : l.defaultPickerValue,
|
|
954
960
|
format: l.format || "DD/MM/YYYY",
|
|
955
961
|
valueFormat: (l == null ? void 0 : l.valueFormat) || "DD/MM/YYYY",
|
|
956
962
|
"disabled-date": l.disabledDate,
|
|
@@ -971,7 +977,7 @@ function we(g, u, z, e, _, C) {
|
|
|
971
977
|
onChange: (o) => e.dateChange(
|
|
972
978
|
o,
|
|
973
979
|
typeof l.field == "string" ? l.field : "",
|
|
974
|
-
l == null ? void 0 : l.
|
|
980
|
+
l == null ? void 0 : l.defaultPickerValue
|
|
975
981
|
),
|
|
976
982
|
onCalendarChange: (o) => e.calendarChange(
|
|
977
983
|
o,
|
|
@@ -981,8 +987,8 @@ function we(g, u, z, e, _, C) {
|
|
|
981
987
|
o,
|
|
982
988
|
typeof l.field == "string" ? l.field : ""
|
|
983
989
|
),
|
|
984
|
-
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.
|
|
985
|
-
},
|
|
990
|
+
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultPickerValue)
|
|
991
|
+
}, K({
|
|
986
992
|
superPrevIcon: n(() => [
|
|
987
993
|
ue
|
|
988
994
|
]),
|
|
@@ -997,12 +1003,12 @@ function we(g, u, z, e, _, C) {
|
|
|
997
1003
|
]),
|
|
998
1004
|
_: 2
|
|
999
1005
|
}, [
|
|
1000
|
-
l != null && l.
|
|
1006
|
+
l != null && l.defaultPickerValue ? {
|
|
1001
1007
|
name: "dateRender",
|
|
1002
1008
|
fn: n(({ current: o }) => [
|
|
1003
1009
|
b("div", {
|
|
1004
1010
|
class: "ant-picker-cell-inner",
|
|
1005
|
-
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.
|
|
1011
|
+
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.defaultPickerValue))
|
|
1006
1012
|
}, y(o.date()), 5)
|
|
1007
1013
|
]),
|
|
1008
1014
|
key: "0"
|
|
@@ -1017,7 +1023,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1017
1023
|
prop: l.field
|
|
1018
1024
|
}, {
|
|
1019
1025
|
label: n(() => [
|
|
1020
|
-
l.slotLabelName ? h(
|
|
1026
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1021
1027
|
key: 0,
|
|
1022
1028
|
style: t(l.labelStyle)
|
|
1023
1029
|
}, [
|
|
@@ -1026,7 +1032,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1026
1032
|
], 4))
|
|
1027
1033
|
]),
|
|
1028
1034
|
default: n(() => [
|
|
1029
|
-
(a(), i(
|
|
1035
|
+
(a(), i(Q, {
|
|
1030
1036
|
"popper-class": "selectTriangles",
|
|
1031
1037
|
allowClear: !!l.allowClear,
|
|
1032
1038
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1071,7 +1077,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1071
1077
|
class: "rule_err"
|
|
1072
1078
|
}, {
|
|
1073
1079
|
label: n(() => [
|
|
1074
|
-
l.slotLabelName ? h(
|
|
1080
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1075
1081
|
key: 0,
|
|
1076
1082
|
style: t(l.labelStyle)
|
|
1077
1083
|
}, [
|
|
@@ -1080,7 +1086,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1080
1086
|
], 4))
|
|
1081
1087
|
]),
|
|
1082
1088
|
default: n(() => [
|
|
1083
|
-
h(
|
|
1089
|
+
h(p.$slots, l.slotItemName, {}, void 0, !0)
|
|
1084
1090
|
]),
|
|
1085
1091
|
_: 2
|
|
1086
1092
|
}, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (a(), i(N, {
|
|
@@ -1091,7 +1097,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1091
1097
|
class: "phone_item"
|
|
1092
1098
|
}, {
|
|
1093
1099
|
label: n(() => [
|
|
1094
|
-
l.slotLabelName ? h(
|
|
1100
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1095
1101
|
key: 0,
|
|
1096
1102
|
style: t(l.labelStyle)
|
|
1097
1103
|
}, [
|
|
@@ -1104,7 +1110,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1104
1110
|
class: D(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1105
1111
|
}, [
|
|
1106
1112
|
e.phoneWrap ? (a(), M("div", Ne, [
|
|
1107
|
-
|
|
1113
|
+
f(L, {
|
|
1108
1114
|
"popper-class": "input-tooltip",
|
|
1109
1115
|
effect: "light",
|
|
1110
1116
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1133,10 +1139,10 @@ function we(g, u, z, e, _, C) {
|
|
|
1133
1139
|
default: n(() => {
|
|
1134
1140
|
var d;
|
|
1135
1141
|
return [
|
|
1136
|
-
(a(!0), M(
|
|
1142
|
+
(a(!0), M(k, null, A((d = l.nationOptions) == null ? void 0 : d.data, (O, P) => (a(), i(R, {
|
|
1137
1143
|
label: O.name,
|
|
1138
1144
|
value: O.code,
|
|
1139
|
-
key:
|
|
1145
|
+
key: P
|
|
1140
1146
|
}, null, 8, ["label", "value"]))), 128))
|
|
1141
1147
|
];
|
|
1142
1148
|
}),
|
|
@@ -1147,7 +1153,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1147
1153
|
_: 2
|
|
1148
1154
|
}, 1032, ["content", "disabled"]),
|
|
1149
1155
|
Te,
|
|
1150
|
-
|
|
1156
|
+
f(L, {
|
|
1151
1157
|
"popper-class": "input-tooltip",
|
|
1152
1158
|
effect: "light",
|
|
1153
1159
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1192,7 +1198,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1192
1198
|
}, 1032, ["content", "disabled"]),
|
|
1193
1199
|
Ie
|
|
1194
1200
|
])) : c("", !0),
|
|
1195
|
-
|
|
1201
|
+
f(L, {
|
|
1196
1202
|
"popper-class": "input-tooltip",
|
|
1197
1203
|
effect: "light",
|
|
1198
1204
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1224,10 +1230,10 @@ function we(g, u, z, e, _, C) {
|
|
|
1224
1230
|
default: n(() => {
|
|
1225
1231
|
var d;
|
|
1226
1232
|
return [
|
|
1227
|
-
(a(!0), M(
|
|
1233
|
+
(a(!0), M(k, null, A((d = l.nationOptions) == null ? void 0 : d.data, (O, P) => (a(), i(R, {
|
|
1228
1234
|
label: O.name,
|
|
1229
1235
|
value: O.code,
|
|
1230
|
-
key:
|
|
1236
|
+
key: P
|
|
1231
1237
|
}, null, 8, ["label", "value"]))), 128))
|
|
1232
1238
|
];
|
|
1233
1239
|
}),
|
|
@@ -1238,7 +1244,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1238
1244
|
_: 2
|
|
1239
1245
|
}, 1032, ["content", "disabled"]),
|
|
1240
1246
|
e.phoneWrap ? c("", !0) : (a(), M("div", he, " - ")),
|
|
1241
|
-
|
|
1247
|
+
f(L, {
|
|
1242
1248
|
"popper-class": "input-tooltip",
|
|
1243
1249
|
effect: "light",
|
|
1244
1250
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1286,7 +1292,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1286
1292
|
_: 2
|
|
1287
1293
|
}, 1032, ["content", "disabled"]),
|
|
1288
1294
|
e.phoneWrap ? c("", !0) : (a(), M("div", je, " - ")),
|
|
1289
|
-
|
|
1295
|
+
f(L, {
|
|
1290
1296
|
"popper-class": "input-tooltip",
|
|
1291
1297
|
effect: "light",
|
|
1292
1298
|
content: e.states.model[typeof l.field.phoneNumber == "string" ? l.field.phoneNumber : ""],
|
|
@@ -1347,16 +1353,16 @@ function we(g, u, z, e, _, C) {
|
|
|
1347
1353
|
class: D(l.prepend ? "input-item" : "")
|
|
1348
1354
|
}, {
|
|
1349
1355
|
label: n(() => [
|
|
1350
|
-
l.slotLabelName ? h(
|
|
1356
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1351
1357
|
key: 0,
|
|
1352
1358
|
style: t(l.labelStyle)
|
|
1353
1359
|
}, [
|
|
1354
1360
|
T(y(l.label) + " ", 1),
|
|
1355
|
-
l.required ? (a(), M("span",
|
|
1361
|
+
l.required ? (a(), M("span", ke, "*")) : c("", !0)
|
|
1356
1362
|
], 4))
|
|
1357
1363
|
]),
|
|
1358
1364
|
default: n(() => [
|
|
1359
|
-
|
|
1365
|
+
f(j, {
|
|
1360
1366
|
onBlur: (o) => e.inputBlur(
|
|
1361
1367
|
o,
|
|
1362
1368
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1389,7 +1395,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1389
1395
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1390
1396
|
),
|
|
1391
1397
|
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1392
|
-
},
|
|
1398
|
+
}, K({ _: 2 }, [
|
|
1393
1399
|
l.prepend ? {
|
|
1394
1400
|
name: "prepend",
|
|
1395
1401
|
fn: n(() => [
|
|
@@ -1414,16 +1420,16 @@ function we(g, u, z, e, _, C) {
|
|
|
1414
1420
|
class: D(l.prepend ? "input-item" : "")
|
|
1415
1421
|
}, {
|
|
1416
1422
|
label: n(() => [
|
|
1417
|
-
l.slotLabelName ? h(
|
|
1423
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1418
1424
|
key: 0,
|
|
1419
1425
|
style: t(l.labelStyle)
|
|
1420
1426
|
}, [
|
|
1421
1427
|
T(y(l.label) + " ", 1),
|
|
1422
|
-
l.required ? (a(), M("span",
|
|
1428
|
+
l.required ? (a(), M("span", Ae, "*")) : c("", !0)
|
|
1423
1429
|
], 4))
|
|
1424
1430
|
]),
|
|
1425
1431
|
default: n(() => [
|
|
1426
|
-
|
|
1432
|
+
f(L, {
|
|
1427
1433
|
"popper-class": "input-tooltip",
|
|
1428
1434
|
effect: "light",
|
|
1429
1435
|
content: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
@@ -1431,7 +1437,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1431
1437
|
disabled: e.isShowTooltip
|
|
1432
1438
|
}, {
|
|
1433
1439
|
default: n(() => [
|
|
1434
|
-
|
|
1440
|
+
f(j, {
|
|
1435
1441
|
class: D(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1436
1442
|
id: l.field,
|
|
1437
1443
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
@@ -1451,7 +1457,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1451
1457
|
showPassword: l.showPassword,
|
|
1452
1458
|
clearable: l.clearable,
|
|
1453
1459
|
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1454
|
-
},
|
|
1460
|
+
}, K({ _: 2 }, [
|
|
1455
1461
|
l.prepend ? {
|
|
1456
1462
|
name: "prepend",
|
|
1457
1463
|
fn: n(() => [
|
|
@@ -1482,14 +1488,14 @@ function we(g, u, z, e, _, C) {
|
|
|
1482
1488
|
]),
|
|
1483
1489
|
_: 3
|
|
1484
1490
|
}),
|
|
1485
|
-
|
|
1491
|
+
f(N, { class: "btnsItem" }, {
|
|
1486
1492
|
default: n(() => [
|
|
1487
|
-
h(
|
|
1493
|
+
h(p.$slots, "buttons", {
|
|
1488
1494
|
model: z.model,
|
|
1489
1495
|
onBtnClick: e.onSubmit
|
|
1490
1496
|
}, () => [
|
|
1491
|
-
(a(!0), M(
|
|
1492
|
-
l.isShow ? (a(), i(
|
|
1497
|
+
(a(!0), M(k, null, A(e.formOptions.btnConfig, (l, Z) => (a(), M("div", { key: Z }, [
|
|
1498
|
+
l.isShow ? (a(), i(J, {
|
|
1493
1499
|
key: 0,
|
|
1494
1500
|
btnCode: l.btnCode,
|
|
1495
1501
|
plain: l.plain,
|
|
@@ -1530,11 +1536,11 @@ function we(g, u, z, e, _, C) {
|
|
|
1530
1536
|
_: 3
|
|
1531
1537
|
}, 16, ["model", "label-position"]);
|
|
1532
1538
|
}
|
|
1533
|
-
const
|
|
1534
|
-
function ol(
|
|
1535
|
-
ol.installed || (ol.installed = !0,
|
|
1539
|
+
const gl = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-1c484f0b"]]);
|
|
1540
|
+
function ol(p, g = {}) {
|
|
1541
|
+
ol.installed || (ol.installed = !0, p.component("common-el-form", gl));
|
|
1536
1542
|
}
|
|
1537
|
-
|
|
1543
|
+
gl.install = ol;
|
|
1538
1544
|
export {
|
|
1539
|
-
|
|
1545
|
+
gl as default
|
|
1540
1546
|
};
|