sinosoft-common-form 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common-form.es.js +167 -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,25 @@ 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
|
-
const
|
|
131
|
+
const u = {};
|
|
132
132
|
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] =
|
|
133
|
+
return console.log(111111111), u.border = "1px solid #a26628", u.borderRadius = "4px", u;
|
|
134
|
+
}, Nl = (s, r, u) => {
|
|
135
|
+
console.log("getDefaultToady"), e.model[r] = u.format("DD/MM/YYYY"), sl(), G(s, r, u), g("getDefaultToady", u, r);
|
|
136
136
|
}, Tl = (s, r) => {
|
|
137
|
-
s || (m.value += 1),
|
|
137
|
+
s || (m.value += 1), g("openChange", s);
|
|
138
138
|
}, Il = (s, r) => {
|
|
139
|
-
s || (m.value += 1),
|
|
139
|
+
s || (m.value += 1), g("openDatePickerDaterange", s);
|
|
140
140
|
}, hl = (s) => {
|
|
141
|
-
s || (dl.value += 1),
|
|
141
|
+
s || (dl.value += 1), g("openDatetimerange", s);
|
|
142
142
|
};
|
|
143
143
|
return {
|
|
144
144
|
...xl(e),
|
|
@@ -150,49 +150,49 @@ const Vl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
150
150
|
selectChange: R,
|
|
151
151
|
radioChange: B,
|
|
152
152
|
checkChange: L,
|
|
153
|
-
handleCheckedChange:
|
|
153
|
+
handleCheckedChange: q,
|
|
154
154
|
prefixIcon: N,
|
|
155
155
|
IconDropDown: j,
|
|
156
156
|
IconClear: F,
|
|
157
|
-
handleClick:
|
|
158
|
-
handleKeyUp:
|
|
159
|
-
resetFieldsTest:
|
|
160
|
-
clearValidateTest:
|
|
161
|
-
dateChange:
|
|
157
|
+
handleClick: Q,
|
|
158
|
+
handleKeyUp: J,
|
|
159
|
+
resetFieldsTest: tl,
|
|
160
|
+
clearValidateTest: Dl,
|
|
161
|
+
dateChange: G,
|
|
162
162
|
calendarChange: l,
|
|
163
163
|
onOk: Z,
|
|
164
164
|
inputBlur: o,
|
|
165
165
|
inputFocus: d,
|
|
166
166
|
inputChange: O,
|
|
167
|
-
inputInput:
|
|
167
|
+
inputInput: P,
|
|
168
168
|
noFormRule: z,
|
|
169
169
|
phoneWrap: X,
|
|
170
170
|
pickerKey: nl,
|
|
171
171
|
pickerKeyDaterange: m,
|
|
172
172
|
datetimerange: dl,
|
|
173
|
-
openDatePicker:
|
|
173
|
+
openDatePicker: sl,
|
|
174
174
|
openDatePickerDaterange: Il,
|
|
175
175
|
openDatetimerange: hl,
|
|
176
176
|
// spaceRule,
|
|
177
177
|
handleVisibleChange: U,
|
|
178
178
|
handleScroll: E,
|
|
179
|
-
visibilityChange:
|
|
180
|
-
contentName:
|
|
179
|
+
visibilityChange: pl,
|
|
180
|
+
contentName: fl,
|
|
181
181
|
openChange: Tl,
|
|
182
182
|
getCurrentStyle: bl,
|
|
183
183
|
getDefaultToady: Nl
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
|
-
},
|
|
187
|
-
const Bl = (
|
|
188
|
-
const z =
|
|
189
|
-
for (const [e, _] of
|
|
186
|
+
}, il = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTguMDYwNyAxNi4wNjA3TDE3IDE1TDEyIDIwTDE3IDI1TDE4LjA2MDcgMjMuOTM5M0wxNC4xMjEzIDIwTDE4LjA2MDcgMTYuMDYwN1oiIGZpbGw9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C45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
187
|
+
const Bl = (p, g) => {
|
|
188
|
+
const z = p.__vccOpts || p;
|
|
189
|
+
for (const [e, _] of g)
|
|
190
190
|
z[e] = _;
|
|
191
191
|
return z;
|
|
192
|
-
}, w = (
|
|
192
|
+
}, w = (p) => (vl("data-v-a907344f"), p = p(), Rl(), p), Zl = { class: "header-title" }, Pl = { class: "title-content" }, Ql = {
|
|
193
193
|
key: 0,
|
|
194
194
|
class: "custom-required"
|
|
195
|
-
},
|
|
195
|
+
}, Gl = {
|
|
196
196
|
key: 0,
|
|
197
197
|
class: "custom-required"
|
|
198
198
|
}, Hl = ["src"], Kl = {
|
|
@@ -217,16 +217,16 @@ const Bl = (g, u) => {
|
|
|
217
217
|
key: 0,
|
|
218
218
|
class: "custom-required"
|
|
219
219
|
}, de = ["onClick"], se = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
220
|
-
src:
|
|
220
|
+
src: il,
|
|
221
221
|
alt: ""
|
|
222
222
|
}, null, -1)), re = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
223
|
-
src:
|
|
223
|
+
src: yl,
|
|
224
224
|
alt: ""
|
|
225
225
|
}, null, -1)), Me = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
226
|
-
src:
|
|
226
|
+
src: cl,
|
|
227
227
|
alt: ""
|
|
228
228
|
}, null, -1)), ie = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
229
|
-
src:
|
|
229
|
+
src: ul,
|
|
230
230
|
alt: ""
|
|
231
231
|
}, null, -1)), ye = {
|
|
232
232
|
key: 0,
|
|
@@ -235,16 +235,16 @@ const Bl = (g, u) => {
|
|
|
235
235
|
key: 0,
|
|
236
236
|
class: "custom-required"
|
|
237
237
|
}, ue = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
238
|
-
src:
|
|
238
|
+
src: il,
|
|
239
239
|
alt: ""
|
|
240
240
|
}, null, -1)), ge = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
241
|
-
src:
|
|
241
|
+
src: yl,
|
|
242
242
|
alt: ""
|
|
243
243
|
}, null, -1)), pe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
244
|
-
src:
|
|
244
|
+
src: cl,
|
|
245
245
|
alt: ""
|
|
246
246
|
}, null, -1)), fe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("img", {
|
|
247
|
-
src:
|
|
247
|
+
src: ul,
|
|
248
248
|
alt: ""
|
|
249
249
|
}, null, -1)), te = {
|
|
250
250
|
key: 0,
|
|
@@ -267,18 +267,18 @@ const Bl = (g, u) => {
|
|
|
267
267
|
}, Oe = /* @__PURE__ */ w(() => /* @__PURE__ */ b("div", {
|
|
268
268
|
class: "line",
|
|
269
269
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
270
|
-
}, null, -1)),
|
|
270
|
+
}, null, -1)), ke = {
|
|
271
271
|
key: 0,
|
|
272
272
|
class: "custom-required"
|
|
273
|
-
},
|
|
273
|
+
}, Ae = {
|
|
274
274
|
key: 0,
|
|
275
275
|
class: "custom-required"
|
|
276
276
|
};
|
|
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(
|
|
277
|
+
function we(p, g, z, e, _, C) {
|
|
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"), q = I("a-date-picker"), Q = I("a-range-picker"), J = I("sinosoftCommonButton"), G = I("el-form");
|
|
279
|
+
return a(), i(G, El({
|
|
280
280
|
"hide-required-asterisk": "",
|
|
281
|
-
onSubmit:
|
|
281
|
+
onSubmit: g[0] || (g[0] = _l(() => {
|
|
282
282
|
}, ["prevent"])),
|
|
283
283
|
model: z.model
|
|
284
284
|
}, e.formOptions, {
|
|
@@ -287,9 +287,9 @@ function we(g, u, z, e, _, C) {
|
|
|
287
287
|
"scroll-to-error": !0
|
|
288
288
|
}), {
|
|
289
289
|
default: n(() => [
|
|
290
|
-
|
|
290
|
+
f(U, { gutter: 24 }, {
|
|
291
291
|
default: n(() => [
|
|
292
|
-
(a(!0), M(
|
|
292
|
+
(a(!0), M(k, null, A(z.fieldList, (l, Z) => Sl((a(), i(E, {
|
|
293
293
|
xs: l.xs ? l.xs : 24,
|
|
294
294
|
sm: l.sm ? l.sm : 24,
|
|
295
295
|
md: l.md ? l.md : 8,
|
|
@@ -304,7 +304,7 @@ function we(g, u, z, e, _, C) {
|
|
|
304
304
|
l.type === "title" ? (a(), i(N, { key: 0 }, {
|
|
305
305
|
default: n(() => [
|
|
306
306
|
b("div", Zl, [
|
|
307
|
-
b("span",
|
|
307
|
+
b("span", Pl, y(l.title), 1)
|
|
308
308
|
])
|
|
309
309
|
]),
|
|
310
310
|
_: 2
|
|
@@ -315,18 +315,18 @@ function we(g, u, z, e, _, C) {
|
|
|
315
315
|
class: "container_name"
|
|
316
316
|
}, {
|
|
317
317
|
label: n(() => [
|
|
318
|
-
l.slotLabelName ? h(
|
|
318
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
319
319
|
key: 0,
|
|
320
320
|
style: t(l.labelStyle)
|
|
321
321
|
}, [
|
|
322
322
|
T(y(l.label) + " ", 1),
|
|
323
|
-
l.required ? (a(), M("span",
|
|
323
|
+
l.required ? (a(), M("span", Ql, "*")) : c("", !0)
|
|
324
324
|
], 4))
|
|
325
325
|
]),
|
|
326
326
|
default: n(() => [
|
|
327
|
-
|
|
327
|
+
f(U, { gutter: 20 }, {
|
|
328
328
|
default: n(() => [
|
|
329
|
-
|
|
329
|
+
f(E, {
|
|
330
330
|
xs: 24,
|
|
331
331
|
sm: 12,
|
|
332
332
|
md: 12,
|
|
@@ -341,7 +341,7 @@ function we(g, u, z, e, _, C) {
|
|
|
341
341
|
class: "item-name item-name-top"
|
|
342
342
|
}, {
|
|
343
343
|
default: n(() => [
|
|
344
|
-
|
|
344
|
+
f(j, {
|
|
345
345
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
346
346
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
347
347
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
@@ -364,7 +364,7 @@ function we(g, u, z, e, _, C) {
|
|
|
364
364
|
]),
|
|
365
365
|
_: 2
|
|
366
366
|
}, 1024),
|
|
367
|
-
|
|
367
|
+
f(E, {
|
|
368
368
|
xs: 24,
|
|
369
369
|
sm: 12,
|
|
370
370
|
md: 12,
|
|
@@ -379,7 +379,7 @@ function we(g, u, z, e, _, C) {
|
|
|
379
379
|
class: "item-name item-name-top"
|
|
380
380
|
}, {
|
|
381
381
|
default: n(() => [
|
|
382
|
-
|
|
382
|
+
f(j, {
|
|
383
383
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
384
384
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
385
385
|
onChange: (o) => e.inputChange(o, l.field.nameEn),
|
|
@@ -405,9 +405,9 @@ function we(g, u, z, e, _, C) {
|
|
|
405
405
|
]),
|
|
406
406
|
_: 2
|
|
407
407
|
}, 1024),
|
|
408
|
-
|
|
408
|
+
f(U, { gutter: 20 }, {
|
|
409
409
|
default: n(() => [
|
|
410
|
-
|
|
410
|
+
f(E, {
|
|
411
411
|
xs: 24,
|
|
412
412
|
sm: 12,
|
|
413
413
|
md: 12,
|
|
@@ -422,7 +422,7 @@ function we(g, u, z, e, _, C) {
|
|
|
422
422
|
class: "item-name item-name-bottom"
|
|
423
423
|
}, {
|
|
424
424
|
default: n(() => [
|
|
425
|
-
|
|
425
|
+
f(j, {
|
|
426
426
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
427
427
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
428
428
|
onChange: (o) => e.inputChange(o, l.field.nameChFamily),
|
|
@@ -448,7 +448,7 @@ function we(g, u, z, e, _, C) {
|
|
|
448
448
|
]),
|
|
449
449
|
_: 2
|
|
450
450
|
}, 1024),
|
|
451
|
-
|
|
451
|
+
f(E, {
|
|
452
452
|
xs: 24,
|
|
453
453
|
sm: 12,
|
|
454
454
|
md: 12,
|
|
@@ -463,7 +463,7 @@ function we(g, u, z, e, _, C) {
|
|
|
463
463
|
class: "item-name item-name-bottom"
|
|
464
464
|
}, {
|
|
465
465
|
default: n(() => [
|
|
466
|
-
|
|
466
|
+
f(j, {
|
|
467
467
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
468
468
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
469
469
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
@@ -499,16 +499,16 @@ function we(g, u, z, e, _, C) {
|
|
|
499
499
|
class: "radio_row"
|
|
500
500
|
}, {
|
|
501
501
|
label: n(() => [
|
|
502
|
-
l.slotLabelName ? h(
|
|
502
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
503
503
|
key: 0,
|
|
504
504
|
style: t(l.labelStyle)
|
|
505
505
|
}, [
|
|
506
506
|
T(y(l.label) + " ", 1),
|
|
507
|
-
l.required ? (a(), M("span",
|
|
507
|
+
l.required ? (a(), M("span", Gl, "*")) : c("", !0)
|
|
508
508
|
], 4))
|
|
509
509
|
]),
|
|
510
510
|
default: n(() => [
|
|
511
|
-
|
|
511
|
+
f(W, {
|
|
512
512
|
modelValue: e.states.model[l.field],
|
|
513
513
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
514
514
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -517,7 +517,7 @@ function we(g, u, z, e, _, C) {
|
|
|
517
517
|
default: n(() => {
|
|
518
518
|
var o;
|
|
519
519
|
return [
|
|
520
|
-
(a(!0), M(
|
|
520
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
521
521
|
label: d.code,
|
|
522
522
|
size: "large",
|
|
523
523
|
key: d.code
|
|
@@ -545,7 +545,7 @@ function we(g, u, z, e, _, C) {
|
|
|
545
545
|
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
546
546
|
}, {
|
|
547
547
|
label: n(() => [
|
|
548
|
-
l.slotLabelName ? h(
|
|
548
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
549
549
|
key: 0,
|
|
550
550
|
style: t(l.labelStyle)
|
|
551
551
|
}, [
|
|
@@ -554,7 +554,7 @@ function we(g, u, z, e, _, C) {
|
|
|
554
554
|
], 4))
|
|
555
555
|
]),
|
|
556
556
|
default: n(() => [
|
|
557
|
-
|
|
557
|
+
f(W, {
|
|
558
558
|
modelValue: e.states.model[l.field],
|
|
559
559
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
560
560
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -567,7 +567,7 @@ function we(g, u, z, e, _, C) {
|
|
|
567
567
|
default: n(() => {
|
|
568
568
|
var o;
|
|
569
569
|
return [
|
|
570
|
-
(a(!0), M(
|
|
570
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
571
571
|
size: "large",
|
|
572
572
|
label: d.code,
|
|
573
573
|
key: d.code,
|
|
@@ -597,7 +597,7 @@ function we(g, u, z, e, _, C) {
|
|
|
597
597
|
b("span", Jl, y(l.labelNode), 1),
|
|
598
598
|
l.required ? (a(), M("span", Xl, "*")) : c("", !0)
|
|
599
599
|
]),
|
|
600
|
-
|
|
600
|
+
f(W, {
|
|
601
601
|
modelValue: e.states.model[l.field],
|
|
602
602
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
603
603
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -610,7 +610,7 @@ function we(g, u, z, e, _, C) {
|
|
|
610
610
|
default: n(() => {
|
|
611
611
|
var o;
|
|
612
612
|
return [
|
|
613
|
-
(a(!0), M(
|
|
613
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(F, {
|
|
614
614
|
size: "large",
|
|
615
615
|
label: d.code,
|
|
616
616
|
key: d.code
|
|
@@ -633,7 +633,7 @@ function we(g, u, z, e, _, C) {
|
|
|
633
633
|
prop: l.field
|
|
634
634
|
}, {
|
|
635
635
|
label: n(() => [
|
|
636
|
-
l.slotLabelName ? h(
|
|
636
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
637
637
|
key: 0,
|
|
638
638
|
style: t(l.labelStyle)
|
|
639
639
|
}, [
|
|
@@ -642,7 +642,7 @@ function we(g, u, z, e, _, C) {
|
|
|
642
642
|
], 4))
|
|
643
643
|
]),
|
|
644
644
|
default: n(() => [
|
|
645
|
-
|
|
645
|
+
f(S, {
|
|
646
646
|
modelValue: e.states.model[l.field],
|
|
647
647
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
648
648
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -654,7 +654,7 @@ function we(g, u, z, e, _, C) {
|
|
|
654
654
|
default: n(() => {
|
|
655
655
|
var o;
|
|
656
656
|
return [
|
|
657
|
-
(a(!0), M(
|
|
657
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
658
658
|
key: d.code,
|
|
659
659
|
label: d.code,
|
|
660
660
|
disabled: d.isDisabled
|
|
@@ -677,7 +677,7 @@ function we(g, u, z, e, _, C) {
|
|
|
677
677
|
prop: l.field
|
|
678
678
|
}, {
|
|
679
679
|
label: n(() => [
|
|
680
|
-
l.slotLabelName ? h(
|
|
680
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
681
681
|
key: 0,
|
|
682
682
|
style: t(l.labelStyle)
|
|
683
683
|
}, [
|
|
@@ -686,7 +686,7 @@ function we(g, u, z, e, _, C) {
|
|
|
686
686
|
], 4))
|
|
687
687
|
]),
|
|
688
688
|
default: n(() => [
|
|
689
|
-
|
|
689
|
+
f(S, {
|
|
690
690
|
modelValue: e.states.model[l.field],
|
|
691
691
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
692
692
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
@@ -698,7 +698,7 @@ function we(g, u, z, e, _, C) {
|
|
|
698
698
|
default: n(() => {
|
|
699
699
|
var o;
|
|
700
700
|
return [
|
|
701
|
-
(a(!0), M(
|
|
701
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
702
702
|
key: d.code,
|
|
703
703
|
label: d.code,
|
|
704
704
|
disabled: d.isDisabled
|
|
@@ -727,7 +727,7 @@ function we(g, u, z, e, _, C) {
|
|
|
727
727
|
b("span", ee, y(l.labelNode), 1),
|
|
728
728
|
l.required ? (a(), M("span", oe, "*")) : c("", !0)
|
|
729
729
|
]),
|
|
730
|
-
|
|
730
|
+
f(S, {
|
|
731
731
|
modelValue: e.states.model[l.field],
|
|
732
732
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
733
733
|
onChange: (o) => e.checkChange(o, l.field),
|
|
@@ -739,7 +739,7 @@ function we(g, u, z, e, _, C) {
|
|
|
739
739
|
default: n(() => {
|
|
740
740
|
var o;
|
|
741
741
|
return [
|
|
742
|
-
(a(!0), M(
|
|
742
|
+
(a(!0), M(k, null, A((o = l.options) == null ? void 0 : o.data, (d) => (a(), i(v, {
|
|
743
743
|
key: d.code,
|
|
744
744
|
label: d.code,
|
|
745
745
|
disabled: d.isDisabled
|
|
@@ -763,7 +763,7 @@ function we(g, u, z, e, _, C) {
|
|
|
763
763
|
prop: l.field
|
|
764
764
|
}, {
|
|
765
765
|
label: n(() => [
|
|
766
|
-
l.slotLabelName ? h(
|
|
766
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
767
767
|
key: 0,
|
|
768
768
|
style: t(l.labelStyle)
|
|
769
769
|
}, [
|
|
@@ -774,7 +774,7 @@ function we(g, u, z, e, _, C) {
|
|
|
774
774
|
default: n(() => {
|
|
775
775
|
var o;
|
|
776
776
|
return [
|
|
777
|
-
|
|
777
|
+
f(L, {
|
|
778
778
|
"popper-class": "select-tooltip",
|
|
779
779
|
effect: "light",
|
|
780
780
|
content: e.contentName(e.states.model[l.field], (o = l.options) == null ? void 0 : o.data),
|
|
@@ -782,7 +782,7 @@ function we(g, u, z, e, _, C) {
|
|
|
782
782
|
disabled: e.isShowTooltip
|
|
783
783
|
}, {
|
|
784
784
|
default: n(() => [
|
|
785
|
-
|
|
785
|
+
f(B, {
|
|
786
786
|
class: D(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
787
787
|
id: l.field,
|
|
788
788
|
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
@@ -808,7 +808,7 @@ function we(g, u, z, e, _, C) {
|
|
|
808
808
|
default: n(() => {
|
|
809
809
|
var d;
|
|
810
810
|
return [
|
|
811
|
-
(a(!0), M(
|
|
811
|
+
(a(!0), M(k, null, A((d = l.options) == null ? void 0 : d.data, (O) => (a(), i(R, {
|
|
812
812
|
key: O.code,
|
|
813
813
|
label: O.name,
|
|
814
814
|
value: O.code
|
|
@@ -841,7 +841,7 @@ function we(g, u, z, e, _, C) {
|
|
|
841
841
|
class: "date_item"
|
|
842
842
|
}, {
|
|
843
843
|
label: n(() => [
|
|
844
|
-
l.slotLabelName ? h(
|
|
844
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
845
845
|
key: 0,
|
|
846
846
|
style: t(l.labelStyle)
|
|
847
847
|
}, [
|
|
@@ -850,7 +850,7 @@ function we(g, u, z, e, _, C) {
|
|
|
850
850
|
], 4))
|
|
851
851
|
]),
|
|
852
852
|
default: n(() => [
|
|
853
|
-
(a(), i(
|
|
853
|
+
(a(), i(q, {
|
|
854
854
|
size: "large",
|
|
855
855
|
allowClear: !!l.allowClear,
|
|
856
856
|
format: "DD/MM/YYYY",
|
|
@@ -887,7 +887,7 @@ function we(g, u, z, e, _, C) {
|
|
|
887
887
|
),
|
|
888
888
|
onBlur: e.openDatePicker,
|
|
889
889
|
onOpenChange: (o) => e.openChange(o, l == null ? void 0 : l.defaultToady)
|
|
890
|
-
},
|
|
890
|
+
}, K({
|
|
891
891
|
superPrevIcon: n(() => [
|
|
892
892
|
se
|
|
893
893
|
]),
|
|
@@ -922,7 +922,12 @@ function we(g, u, z, e, _, C) {
|
|
|
922
922
|
l != null && l.disabledDateToday ? c("", !0) : (a(), M("span", {
|
|
923
923
|
key: 1,
|
|
924
924
|
class: D([l != null && l.disabledDateToday ? "disabledDateToday" : "todayClass"]),
|
|
925
|
-
onClick: (o) => e.getDefaultToady(
|
|
925
|
+
onClick: (o) => e.getDefaultToady(
|
|
926
|
+
o,
|
|
927
|
+
typeof l.field == "string" ? l.field : "",
|
|
928
|
+
(l == null ? void 0 : l.defaultToady) || /* @__PURE__ */ new Date(),
|
|
929
|
+
l.field
|
|
930
|
+
)
|
|
926
931
|
}, "Toady", 10, de))
|
|
927
932
|
]),
|
|
928
933
|
key: "1"
|
|
@@ -938,7 +943,7 @@ function we(g, u, z, e, _, C) {
|
|
|
938
943
|
prop: l.field
|
|
939
944
|
}, {
|
|
940
945
|
label: n(() => [
|
|
941
|
-
l.slotLabelName ? h(
|
|
946
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
942
947
|
key: 0,
|
|
943
948
|
style: t(l.labelStyle)
|
|
944
949
|
}, [
|
|
@@ -947,10 +952,10 @@ function we(g, u, z, e, _, C) {
|
|
|
947
952
|
], 4))
|
|
948
953
|
]),
|
|
949
954
|
default: n(() => [
|
|
950
|
-
(a(), i(
|
|
955
|
+
(a(), i(Q, {
|
|
951
956
|
"popper-class": "selectTriangles",
|
|
952
957
|
allowClear: !!l.allowClear,
|
|
953
|
-
defaultPickerValue: l == null ? void 0 : l.
|
|
958
|
+
defaultPickerValue: l == null ? void 0 : l.defaultPickerValue,
|
|
954
959
|
format: l.format || "DD/MM/YYYY",
|
|
955
960
|
valueFormat: (l == null ? void 0 : l.valueFormat) || "DD/MM/YYYY",
|
|
956
961
|
"disabled-date": l.disabledDate,
|
|
@@ -971,7 +976,7 @@ function we(g, u, z, e, _, C) {
|
|
|
971
976
|
onChange: (o) => e.dateChange(
|
|
972
977
|
o,
|
|
973
978
|
typeof l.field == "string" ? l.field : "",
|
|
974
|
-
l == null ? void 0 : l.
|
|
979
|
+
l == null ? void 0 : l.defaultPickerValue
|
|
975
980
|
),
|
|
976
981
|
onCalendarChange: (o) => e.calendarChange(
|
|
977
982
|
o,
|
|
@@ -981,8 +986,8 @@ function we(g, u, z, e, _, C) {
|
|
|
981
986
|
o,
|
|
982
987
|
typeof l.field == "string" ? l.field : ""
|
|
983
988
|
),
|
|
984
|
-
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.
|
|
985
|
-
},
|
|
989
|
+
onOpenChange: (o) => e.openDatePickerDaterange(o, l == null ? void 0 : l.defaultPickerValue)
|
|
990
|
+
}, K({
|
|
986
991
|
superPrevIcon: n(() => [
|
|
987
992
|
ue
|
|
988
993
|
]),
|
|
@@ -997,12 +1002,12 @@ function we(g, u, z, e, _, C) {
|
|
|
997
1002
|
]),
|
|
998
1003
|
_: 2
|
|
999
1004
|
}, [
|
|
1000
|
-
l != null && l.
|
|
1005
|
+
l != null && l.defaultPickerValue ? {
|
|
1001
1006
|
name: "dateRender",
|
|
1002
1007
|
fn: n(({ current: o }) => [
|
|
1003
1008
|
b("div", {
|
|
1004
1009
|
class: "ant-picker-cell-inner",
|
|
1005
|
-
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.
|
|
1010
|
+
style: t(e.getCurrentStyle(o, l == null ? void 0 : l.defaultPickerValue))
|
|
1006
1011
|
}, y(o.date()), 5)
|
|
1007
1012
|
]),
|
|
1008
1013
|
key: "0"
|
|
@@ -1017,7 +1022,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1017
1022
|
prop: l.field
|
|
1018
1023
|
}, {
|
|
1019
1024
|
label: n(() => [
|
|
1020
|
-
l.slotLabelName ? h(
|
|
1025
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1021
1026
|
key: 0,
|
|
1022
1027
|
style: t(l.labelStyle)
|
|
1023
1028
|
}, [
|
|
@@ -1026,7 +1031,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1026
1031
|
], 4))
|
|
1027
1032
|
]),
|
|
1028
1033
|
default: n(() => [
|
|
1029
|
-
(a(), i(
|
|
1034
|
+
(a(), i(Q, {
|
|
1030
1035
|
"popper-class": "selectTriangles",
|
|
1031
1036
|
allowClear: !!l.allowClear,
|
|
1032
1037
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -1071,7 +1076,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1071
1076
|
class: "rule_err"
|
|
1072
1077
|
}, {
|
|
1073
1078
|
label: n(() => [
|
|
1074
|
-
l.slotLabelName ? h(
|
|
1079
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1075
1080
|
key: 0,
|
|
1076
1081
|
style: t(l.labelStyle)
|
|
1077
1082
|
}, [
|
|
@@ -1080,7 +1085,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1080
1085
|
], 4))
|
|
1081
1086
|
]),
|
|
1082
1087
|
default: n(() => [
|
|
1083
|
-
h(
|
|
1088
|
+
h(p.$slots, l.slotItemName, {}, void 0, !0)
|
|
1084
1089
|
]),
|
|
1085
1090
|
_: 2
|
|
1086
1091
|
}, 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 +1096,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1091
1096
|
class: "phone_item"
|
|
1092
1097
|
}, {
|
|
1093
1098
|
label: n(() => [
|
|
1094
|
-
l.slotLabelName ? h(
|
|
1099
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1095
1100
|
key: 0,
|
|
1096
1101
|
style: t(l.labelStyle)
|
|
1097
1102
|
}, [
|
|
@@ -1104,7 +1109,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1104
1109
|
class: D(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1105
1110
|
}, [
|
|
1106
1111
|
e.phoneWrap ? (a(), M("div", Ne, [
|
|
1107
|
-
|
|
1112
|
+
f(L, {
|
|
1108
1113
|
"popper-class": "input-tooltip",
|
|
1109
1114
|
effect: "light",
|
|
1110
1115
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1133,10 +1138,10 @@ function we(g, u, z, e, _, C) {
|
|
|
1133
1138
|
default: n(() => {
|
|
1134
1139
|
var d;
|
|
1135
1140
|
return [
|
|
1136
|
-
(a(!0), M(
|
|
1141
|
+
(a(!0), M(k, null, A((d = l.nationOptions) == null ? void 0 : d.data, (O, P) => (a(), i(R, {
|
|
1137
1142
|
label: O.name,
|
|
1138
1143
|
value: O.code,
|
|
1139
|
-
key:
|
|
1144
|
+
key: P
|
|
1140
1145
|
}, null, 8, ["label", "value"]))), 128))
|
|
1141
1146
|
];
|
|
1142
1147
|
}),
|
|
@@ -1147,7 +1152,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1147
1152
|
_: 2
|
|
1148
1153
|
}, 1032, ["content", "disabled"]),
|
|
1149
1154
|
Te,
|
|
1150
|
-
|
|
1155
|
+
f(L, {
|
|
1151
1156
|
"popper-class": "input-tooltip",
|
|
1152
1157
|
effect: "light",
|
|
1153
1158
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1192,7 +1197,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1192
1197
|
}, 1032, ["content", "disabled"]),
|
|
1193
1198
|
Ie
|
|
1194
1199
|
])) : c("", !0),
|
|
1195
|
-
|
|
1200
|
+
f(L, {
|
|
1196
1201
|
"popper-class": "input-tooltip",
|
|
1197
1202
|
effect: "light",
|
|
1198
1203
|
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
@@ -1224,10 +1229,10 @@ function we(g, u, z, e, _, C) {
|
|
|
1224
1229
|
default: n(() => {
|
|
1225
1230
|
var d;
|
|
1226
1231
|
return [
|
|
1227
|
-
(a(!0), M(
|
|
1232
|
+
(a(!0), M(k, null, A((d = l.nationOptions) == null ? void 0 : d.data, (O, P) => (a(), i(R, {
|
|
1228
1233
|
label: O.name,
|
|
1229
1234
|
value: O.code,
|
|
1230
|
-
key:
|
|
1235
|
+
key: P
|
|
1231
1236
|
}, null, 8, ["label", "value"]))), 128))
|
|
1232
1237
|
];
|
|
1233
1238
|
}),
|
|
@@ -1238,7 +1243,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1238
1243
|
_: 2
|
|
1239
1244
|
}, 1032, ["content", "disabled"]),
|
|
1240
1245
|
e.phoneWrap ? c("", !0) : (a(), M("div", he, " - ")),
|
|
1241
|
-
|
|
1246
|
+
f(L, {
|
|
1242
1247
|
"popper-class": "input-tooltip",
|
|
1243
1248
|
effect: "light",
|
|
1244
1249
|
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
@@ -1286,7 +1291,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1286
1291
|
_: 2
|
|
1287
1292
|
}, 1032, ["content", "disabled"]),
|
|
1288
1293
|
e.phoneWrap ? c("", !0) : (a(), M("div", je, " - ")),
|
|
1289
|
-
|
|
1294
|
+
f(L, {
|
|
1290
1295
|
"popper-class": "input-tooltip",
|
|
1291
1296
|
effect: "light",
|
|
1292
1297
|
content: e.states.model[typeof l.field.phoneNumber == "string" ? l.field.phoneNumber : ""],
|
|
@@ -1347,16 +1352,16 @@ function we(g, u, z, e, _, C) {
|
|
|
1347
1352
|
class: D(l.prepend ? "input-item" : "")
|
|
1348
1353
|
}, {
|
|
1349
1354
|
label: n(() => [
|
|
1350
|
-
l.slotLabelName ? h(
|
|
1355
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1351
1356
|
key: 0,
|
|
1352
1357
|
style: t(l.labelStyle)
|
|
1353
1358
|
}, [
|
|
1354
1359
|
T(y(l.label) + " ", 1),
|
|
1355
|
-
l.required ? (a(), M("span",
|
|
1360
|
+
l.required ? (a(), M("span", ke, "*")) : c("", !0)
|
|
1356
1361
|
], 4))
|
|
1357
1362
|
]),
|
|
1358
1363
|
default: n(() => [
|
|
1359
|
-
|
|
1364
|
+
f(j, {
|
|
1360
1365
|
onBlur: (o) => e.inputBlur(
|
|
1361
1366
|
o,
|
|
1362
1367
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1389,7 +1394,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1389
1394
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1390
1395
|
),
|
|
1391
1396
|
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1392
|
-
},
|
|
1397
|
+
}, K({ _: 2 }, [
|
|
1393
1398
|
l.prepend ? {
|
|
1394
1399
|
name: "prepend",
|
|
1395
1400
|
fn: n(() => [
|
|
@@ -1414,16 +1419,16 @@ function we(g, u, z, e, _, C) {
|
|
|
1414
1419
|
class: D(l.prepend ? "input-item" : "")
|
|
1415
1420
|
}, {
|
|
1416
1421
|
label: n(() => [
|
|
1417
|
-
l.slotLabelName ? h(
|
|
1422
|
+
l.slotLabelName ? h(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), M("div", {
|
|
1418
1423
|
key: 0,
|
|
1419
1424
|
style: t(l.labelStyle)
|
|
1420
1425
|
}, [
|
|
1421
1426
|
T(y(l.label) + " ", 1),
|
|
1422
|
-
l.required ? (a(), M("span",
|
|
1427
|
+
l.required ? (a(), M("span", Ae, "*")) : c("", !0)
|
|
1423
1428
|
], 4))
|
|
1424
1429
|
]),
|
|
1425
1430
|
default: n(() => [
|
|
1426
|
-
|
|
1431
|
+
f(L, {
|
|
1427
1432
|
"popper-class": "input-tooltip",
|
|
1428
1433
|
effect: "light",
|
|
1429
1434
|
content: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
@@ -1431,7 +1436,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1431
1436
|
disabled: e.isShowTooltip
|
|
1432
1437
|
}, {
|
|
1433
1438
|
default: n(() => [
|
|
1434
|
-
|
|
1439
|
+
f(j, {
|
|
1435
1440
|
class: D(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1436
1441
|
id: l.field,
|
|
1437
1442
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
@@ -1451,7 +1456,7 @@ function we(g, u, z, e, _, C) {
|
|
|
1451
1456
|
showPassword: l.showPassword,
|
|
1452
1457
|
clearable: l.clearable,
|
|
1453
1458
|
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1454
|
-
},
|
|
1459
|
+
}, K({ _: 2 }, [
|
|
1455
1460
|
l.prepend ? {
|
|
1456
1461
|
name: "prepend",
|
|
1457
1462
|
fn: n(() => [
|
|
@@ -1482,14 +1487,14 @@ function we(g, u, z, e, _, C) {
|
|
|
1482
1487
|
]),
|
|
1483
1488
|
_: 3
|
|
1484
1489
|
}),
|
|
1485
|
-
|
|
1490
|
+
f(N, { class: "btnsItem" }, {
|
|
1486
1491
|
default: n(() => [
|
|
1487
|
-
h(
|
|
1492
|
+
h(p.$slots, "buttons", {
|
|
1488
1493
|
model: z.model,
|
|
1489
1494
|
onBtnClick: e.onSubmit
|
|
1490
1495
|
}, () => [
|
|
1491
|
-
(a(!0), M(
|
|
1492
|
-
l.isShow ? (a(), i(
|
|
1496
|
+
(a(!0), M(k, null, A(e.formOptions.btnConfig, (l, Z) => (a(), M("div", { key: Z }, [
|
|
1497
|
+
l.isShow ? (a(), i(J, {
|
|
1493
1498
|
key: 0,
|
|
1494
1499
|
btnCode: l.btnCode,
|
|
1495
1500
|
plain: l.plain,
|
|
@@ -1530,11 +1535,11 @@ function we(g, u, z, e, _, C) {
|
|
|
1530
1535
|
_: 3
|
|
1531
1536
|
}, 16, ["model", "label-position"]);
|
|
1532
1537
|
}
|
|
1533
|
-
const
|
|
1534
|
-
function ol(
|
|
1535
|
-
ol.installed || (ol.installed = !0,
|
|
1538
|
+
const gl = /* @__PURE__ */ Bl(Wl, [["render", we], ["__scopeId", "data-v-a907344f"]]);
|
|
1539
|
+
function ol(p, g = {}) {
|
|
1540
|
+
ol.installed || (ol.installed = !0, p.component("common-el-form", gl));
|
|
1536
1541
|
}
|
|
1537
|
-
|
|
1542
|
+
gl.install = ol;
|
|
1538
1543
|
export {
|
|
1539
|
-
|
|
1544
|
+
gl as default
|
|
1540
1545
|
};
|