sinosoft-common-form 1.9.3 → 1.9.5
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 +578 -505
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
const Ll = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyID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QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==",
|
|
1
|
+
import { ref as R, reactive as bl, shallowRef as J, h as X, computed as Nl, onMounted as Il, onBeforeUnmount as Tl, watch as jl, toRefs as hl, nextTick as Ol, resolveComponent as T, openBlock as a, createBlock as M, mergeProps as Al, withModifiers as kl, withCtx as n, createVNode as g, createElementBlock as i, Fragment as A, renderList as k, withDirectives as wl, createElementVNode as I, normalizeStyle as t, toDisplayString as y, createTextVNode as N, createCommentVNode as c, renderSlot as j, normalizeClass as D, withKeys as V, createSlots as nl, vShow as zl, pushScopeId as Cl, popScopeId as xl } from "vue";
|
|
2
|
+
const Ll = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTND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jIzTDkuOTI5MjEgMTAuOTU3Nkw3Ljk5NzkgMTMuMjYwNEw2LjcxMjMgMTMuMjY2MkM2LjYyNjczIDEzLjI2NjIgNi41NTY3MSAxMy4xOTgxIDYuNTU2NzEgMTMuMTEwNkM2LjU1NjcxIDEzLjA3MzcgNi41NzAzMiAxMy4wMzg3IDYuNTkzNjYgMTMuMDA5NUw5LjEyNDAxIDkuOTk0ODVMNi41OTM2NiA2Ljk4MjE2QzYuNTcwMTYgNi45NTM2NiA2LjU1NzEyIDYuOTE3OTcgNi41NTY3MSA2Ljg4MTAyQzYuNTU2NzEgNi43OTU0NSA2LjYyNjczIDYuNzI1NDMgNi43MTIzIDYuNzI1NDNMNy45OTc5IDYuNzMxMjdMOS45MjkyMSA5LjAzNkwxMS44NjA1IDYuNzMzMjFMMTMuMTQ0MiA2LjcyNzM4QzEzLjIyOTggNi43MjczOCAxMy4yOTk4IDYuNzk1NDUgMTMuMjk5OCA2Ljg4Mjk3QzEzLjI5OTggNi45MTk5MiAxMy4yODYyIDYuOTU0OTMgMTMuMjYyOCA2Ljk4NDExTDEwLjczNjQgOS45OTY4TDEzLjI2NDggMTMuMDExNEMxMy4yODgxIDEzLjA0MDYgMTMuMzAxNyAxMy4wNzU2IDEzLjMwMTcgMTMuMTEyNkMxMy4zMDE3IDEzLjE5ODEgMTMuMjMxNyAxMy4yNjgyIDEzLjE0NjEgMTMuMjY4MloiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==", Sl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
5
5
|
type: Array,
|
|
@@ -21,163 +21,163 @@ const Ll = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const
|
|
24
|
+
setup(u, { emit: p }) {
|
|
25
|
+
const z = R(!0), e = bl({
|
|
26
26
|
model: {}
|
|
27
|
-
}), E =
|
|
27
|
+
}), E = R(!0), C = R(null), f = J({
|
|
28
28
|
render() {
|
|
29
|
-
return
|
|
29
|
+
return X("img", {
|
|
30
30
|
src: Ll
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
}), h =
|
|
33
|
+
}), h = J({
|
|
34
34
|
render() {
|
|
35
|
-
return
|
|
35
|
+
return X("img", {
|
|
36
36
|
src: El
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
}),
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
if (
|
|
44
|
-
const
|
|
45
|
-
|
|
39
|
+
}), L = (s) => {
|
|
40
|
+
const r = s.target;
|
|
41
|
+
r.scrollTop + r.clientHeight + 1 >= r.scrollHeight && p("selectChangeScroll");
|
|
42
|
+
}, U = (s, r) => {
|
|
43
|
+
if (s) {
|
|
44
|
+
const b = document.querySelector(".single-select-loadmore .el-select-dropdown__wrap");
|
|
45
|
+
b && b.addEventListener("scroll", L), p("handleVisibleChange", s, r);
|
|
46
46
|
}
|
|
47
|
-
},
|
|
47
|
+
}, F = J({
|
|
48
48
|
render() {
|
|
49
|
-
return
|
|
49
|
+
return X("img", {
|
|
50
50
|
src: _l
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
54
|
-
e.model =
|
|
55
|
-
}, _ = (
|
|
56
|
-
var
|
|
57
|
-
|
|
58
|
-
var
|
|
59
|
-
(
|
|
60
|
-
if (
|
|
61
|
-
p(
|
|
53
|
+
}), W = Nl(() => Object.assign([], u.options)), Y = () => {
|
|
54
|
+
e.model = u.model;
|
|
55
|
+
}, _ = (s, r, b) => {
|
|
56
|
+
var S;
|
|
57
|
+
r ? (z.value = !1, Ol(() => {
|
|
58
|
+
var al;
|
|
59
|
+
(al = C.value) == null || al.validate((Dl) => {
|
|
60
|
+
if (Dl)
|
|
61
|
+
p(b || "submit", e.model, s);
|
|
62
62
|
else
|
|
63
63
|
return !1;
|
|
64
64
|
});
|
|
65
|
-
})) :
|
|
66
|
-
},
|
|
67
|
-
p("selectChange",
|
|
68
|
-
},
|
|
69
|
-
p("radioChange",
|
|
70
|
-
},
|
|
71
|
-
p("checkChange",
|
|
72
|
-
},
|
|
73
|
-
const
|
|
74
|
-
if (
|
|
75
|
-
p("checkChange",
|
|
65
|
+
})) : r ? (b === "reset" && ((S = C.value) == null || S.resetFields()), p(b || "submit", e.model, s)) : (z.value = !1, p(b || "submit", e.model, s, C.value));
|
|
66
|
+
}, v = (s, r) => {
|
|
67
|
+
p("selectChange", s, r);
|
|
68
|
+
}, B = (s, r) => {
|
|
69
|
+
p("radioChange", s, r);
|
|
70
|
+
}, x = (s, r) => {
|
|
71
|
+
p("checkChange", s, r);
|
|
72
|
+
}, P = (s, r) => {
|
|
73
|
+
const b = e.model[r].length;
|
|
74
|
+
if (b === 1) {
|
|
75
|
+
p("checkChange", s, r);
|
|
76
76
|
return;
|
|
77
77
|
} else
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
_(
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
},
|
|
84
|
-
var
|
|
85
|
-
(
|
|
86
|
-
}, l = (
|
|
87
|
-
p("calendarChange",
|
|
88
|
-
},
|
|
89
|
-
p("onOk",
|
|
90
|
-
}, o = (
|
|
91
|
-
p("inputBlur",
|
|
92
|
-
},
|
|
93
|
-
p("inputFocus",
|
|
94
|
-
},
|
|
95
|
-
p("inputChange",
|
|
96
|
-
},
|
|
97
|
-
p("inputInput",
|
|
98
|
-
},
|
|
99
|
-
if (
|
|
100
|
-
var
|
|
101
|
-
|
|
78
|
+
b > 1 ? (e.model[r].shift(), p("checkChange", s, r)) : b < 1 && p("checkChange", s, r);
|
|
79
|
+
}, G = (s, r, b) => {
|
|
80
|
+
_(s, r, b);
|
|
81
|
+
}, H = (s, r) => {
|
|
82
|
+
s && (r == null ? void 0 : r.key) === "Enter" && _(void 0, !0, "submit");
|
|
83
|
+
}, K = (s, r) => {
|
|
84
|
+
var b;
|
|
85
|
+
(b = C.value) == null || b.validateField(r), p("dateChange", s, r);
|
|
86
|
+
}, l = (s, r) => {
|
|
87
|
+
p("calendarChange", s, r);
|
|
88
|
+
}, Z = (s, r) => {
|
|
89
|
+
p("onOk", s, r);
|
|
90
|
+
}, o = (s, r) => {
|
|
91
|
+
p("inputBlur", s, r);
|
|
92
|
+
}, d = (s, r) => {
|
|
93
|
+
p("inputFocus", s, r);
|
|
94
|
+
}, O = (s, r) => {
|
|
95
|
+
p("inputChange", s, r);
|
|
96
|
+
}, Q = (s, r) => {
|
|
97
|
+
p("inputInput", s, r);
|
|
98
|
+
}, yl = (s) => {
|
|
99
|
+
if (s) {
|
|
100
|
+
var r = document.getElementById(s), b = r.offsetWidth, S = r.scrollWidth;
|
|
101
|
+
console.log("Input Width:", b), console.log("Content Width:", S), console.log("document.getElementById", document.getElementById(s)), S > b ? E.value = !1 : E.value = !0;
|
|
102
102
|
} else
|
|
103
103
|
E.value = !0;
|
|
104
|
-
},
|
|
105
|
-
const
|
|
106
|
-
return
|
|
107
|
-
},
|
|
108
|
-
var
|
|
109
|
-
(
|
|
110
|
-
}, gl = (
|
|
111
|
-
var
|
|
112
|
-
(
|
|
113
|
-
},
|
|
114
|
-
window.innerWidth < 768
|
|
104
|
+
}, cl = (s, r) => {
|
|
105
|
+
const b = r.find((S) => S.code === s);
|
|
106
|
+
return b ? b.name : s;
|
|
107
|
+
}, ul = (s) => {
|
|
108
|
+
var r;
|
|
109
|
+
(r = C.value) == null || r.resetFields(s);
|
|
110
|
+
}, gl = (s) => {
|
|
111
|
+
var r;
|
|
112
|
+
(r = C.value) == null || r.clearValidate(s);
|
|
113
|
+
}, q = R(!1), $ = () => {
|
|
114
|
+
window.innerWidth < 768, q.value = !1;
|
|
115
115
|
};
|
|
116
116
|
Il(() => {
|
|
117
|
-
var
|
|
118
|
-
|
|
117
|
+
var s;
|
|
118
|
+
Y(), (s = C.value) == null || s.resetFields(), window.addEventListener("resize", $);
|
|
119
119
|
}), Tl(() => {
|
|
120
|
-
window.removeEventListener("resize",
|
|
120
|
+
window.removeEventListener("resize", $);
|
|
121
121
|
}), jl(
|
|
122
|
-
() =>
|
|
123
|
-
(
|
|
124
|
-
|
|
122
|
+
() => u.fieldList,
|
|
123
|
+
(s, r) => {
|
|
124
|
+
s !== r && Y();
|
|
125
125
|
}
|
|
126
126
|
);
|
|
127
|
-
const
|
|
128
|
-
|
|
129
|
-
},
|
|
130
|
-
|
|
131
|
-
}, fl = (
|
|
132
|
-
|
|
127
|
+
const ll = R(0), el = R(0), ol = R(0), pl = () => {
|
|
128
|
+
ll.value += 1;
|
|
129
|
+
}, tl = (s) => {
|
|
130
|
+
s || (el.value += 1);
|
|
131
|
+
}, fl = (s) => {
|
|
132
|
+
s || (ol.value += 1);
|
|
133
133
|
};
|
|
134
134
|
return {
|
|
135
|
-
...
|
|
136
|
-
formRef:
|
|
135
|
+
...hl(e),
|
|
136
|
+
formRef: C,
|
|
137
137
|
isShowTooltip: E,
|
|
138
138
|
states: e,
|
|
139
|
-
formOptions:
|
|
139
|
+
formOptions: W,
|
|
140
140
|
onSubmit: _,
|
|
141
|
-
selectChange:
|
|
142
|
-
radioChange:
|
|
143
|
-
checkChange:
|
|
144
|
-
handleCheckedChange:
|
|
141
|
+
selectChange: v,
|
|
142
|
+
radioChange: B,
|
|
143
|
+
checkChange: x,
|
|
144
|
+
handleCheckedChange: P,
|
|
145
145
|
prefixIcon: f,
|
|
146
146
|
IconDropDown: h,
|
|
147
|
-
IconClear:
|
|
148
|
-
handleClick:
|
|
149
|
-
handleKeyUp:
|
|
150
|
-
resetFieldsTest:
|
|
147
|
+
IconClear: F,
|
|
148
|
+
handleClick: G,
|
|
149
|
+
handleKeyUp: H,
|
|
150
|
+
resetFieldsTest: ul,
|
|
151
151
|
clearValidateTest: gl,
|
|
152
|
-
dateChange:
|
|
152
|
+
dateChange: K,
|
|
153
153
|
calendarChange: l,
|
|
154
|
-
onOk:
|
|
154
|
+
onOk: Z,
|
|
155
155
|
inputBlur: o,
|
|
156
|
-
inputFocus:
|
|
157
|
-
inputChange:
|
|
158
|
-
inputInput:
|
|
159
|
-
noFormRule:
|
|
160
|
-
phoneWrap:
|
|
161
|
-
pickerKey:
|
|
162
|
-
pickerKeyDaterange:
|
|
163
|
-
datetimerange:
|
|
156
|
+
inputFocus: d,
|
|
157
|
+
inputChange: O,
|
|
158
|
+
inputInput: Q,
|
|
159
|
+
noFormRule: z,
|
|
160
|
+
phoneWrap: q,
|
|
161
|
+
pickerKey: ll,
|
|
162
|
+
pickerKeyDaterange: el,
|
|
163
|
+
datetimerange: ol,
|
|
164
164
|
openDatePicker: pl,
|
|
165
|
-
openDatePickerDaterange:
|
|
165
|
+
openDatePickerDaterange: tl,
|
|
166
166
|
openDatetimerange: fl,
|
|
167
167
|
// spaceRule,
|
|
168
|
-
handleVisibleChange:
|
|
169
|
-
handleScroll:
|
|
170
|
-
visibilityChange:
|
|
171
|
-
contentName:
|
|
168
|
+
handleVisibleChange: U,
|
|
169
|
+
handleScroll: L,
|
|
170
|
+
visibilityChange: yl,
|
|
171
|
+
contentName: cl
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
},
|
|
175
|
-
const
|
|
176
|
-
const
|
|
174
|
+
}, dl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR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MzkzTDQuOTM5MjYgMjIuODc4N0wyLjgxNzk0IDI1Wk02Ljc1NzI4IDE4LjkzOTNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=";
|
|
175
|
+
const Rl = (u, p) => {
|
|
176
|
+
const z = u.__vccOpts || u;
|
|
177
177
|
for (const [e, E] of p)
|
|
178
|
-
|
|
179
|
-
return
|
|
180
|
-
},
|
|
178
|
+
z[e] = E;
|
|
179
|
+
return z;
|
|
180
|
+
}, w = (u) => (Cl("data-v-ee2711c4"), u = u(), xl(), u), Yl = { class: "header-title" }, vl = { class: "title-content" }, Vl = {
|
|
181
181
|
key: 0,
|
|
182
182
|
class: "custom-required"
|
|
183
183
|
}, Ul = {
|
|
@@ -201,20 +201,20 @@ const Yl = (g, p) => {
|
|
|
201
201
|
}, Jl = {
|
|
202
202
|
key: 0,
|
|
203
203
|
class: "custom-required"
|
|
204
|
-
},
|
|
204
|
+
}, Xl = {
|
|
205
205
|
key: 0,
|
|
206
206
|
class: "custom-required"
|
|
207
|
-
},
|
|
208
|
-
src:
|
|
207
|
+
}, ml = /* @__PURE__ */ w(() => /* @__PURE__ */ I("img", {
|
|
208
|
+
src: dl,
|
|
209
209
|
alt: ""
|
|
210
|
-
}, null, -1)), $l = /* @__PURE__ */
|
|
211
|
-
src:
|
|
210
|
+
}, null, -1)), $l = /* @__PURE__ */ w(() => /* @__PURE__ */ I("img", {
|
|
211
|
+
src: sl,
|
|
212
212
|
alt: ""
|
|
213
|
-
}, null, -1)), le = /* @__PURE__ */
|
|
214
|
-
src:
|
|
213
|
+
}, null, -1)), le = /* @__PURE__ */ w(() => /* @__PURE__ */ I("img", {
|
|
214
|
+
src: rl,
|
|
215
215
|
alt: ""
|
|
216
|
-
}, null, -1)), ee = /* @__PURE__ */
|
|
217
|
-
src:
|
|
216
|
+
}, null, -1)), ee = /* @__PURE__ */ w(() => /* @__PURE__ */ I("img", {
|
|
217
|
+
src: il,
|
|
218
218
|
alt: ""
|
|
219
219
|
}, null, -1)), oe = {
|
|
220
220
|
key: 0,
|
|
@@ -222,22 +222,22 @@ const Yl = (g, p) => {
|
|
|
222
222
|
}, ae = {
|
|
223
223
|
key: 0,
|
|
224
224
|
class: "custom-required"
|
|
225
|
-
}, ne = /* @__PURE__ */
|
|
226
|
-
src:
|
|
225
|
+
}, ne = /* @__PURE__ */ w(() => /* @__PURE__ */ I("img", {
|
|
226
|
+
src: dl,
|
|
227
227
|
alt: ""
|
|
228
|
-
}, null, -1)), de = /* @__PURE__ */
|
|
229
|
-
src:
|
|
228
|
+
}, null, -1)), de = /* @__PURE__ */ w(() => /* @__PURE__ */ I("img", {
|
|
229
|
+
src: sl,
|
|
230
230
|
alt: ""
|
|
231
|
-
}, null, -1)), se = /* @__PURE__ */
|
|
232
|
-
src:
|
|
231
|
+
}, null, -1)), se = /* @__PURE__ */ w(() => /* @__PURE__ */ I("img", {
|
|
232
|
+
src: rl,
|
|
233
233
|
alt: ""
|
|
234
|
-
}, null, -1)), re = /* @__PURE__ */
|
|
235
|
-
src:
|
|
234
|
+
}, null, -1)), re = /* @__PURE__ */ w(() => /* @__PURE__ */ I("img", {
|
|
235
|
+
src: il,
|
|
236
236
|
alt: ""
|
|
237
|
-
}, null, -1)),
|
|
237
|
+
}, null, -1)), ie = {
|
|
238
238
|
key: 0,
|
|
239
239
|
class: "custom-required"
|
|
240
|
-
},
|
|
240
|
+
}, Me = {
|
|
241
241
|
key: 0,
|
|
242
242
|
class: "custom-required"
|
|
243
243
|
}, ye = {
|
|
@@ -246,74 +246,74 @@ const Yl = (g, p) => {
|
|
|
246
246
|
}, ce = {
|
|
247
247
|
key: 0,
|
|
248
248
|
class: "phone_item_content_before"
|
|
249
|
-
}, ue = /* @__PURE__ */
|
|
250
|
-
key:
|
|
249
|
+
}, ue = /* @__PURE__ */ w(() => /* @__PURE__ */ I("div", { class: "line_middle" }, "-", -1)), ge = /* @__PURE__ */ w(() => /* @__PURE__ */ I("div", { class: "line_middle" }, "-", -1)), pe = {
|
|
250
|
+
key: 1,
|
|
251
251
|
class: "line_middle"
|
|
252
|
-
},
|
|
253
|
-
key:
|
|
252
|
+
}, te = {
|
|
253
|
+
key: 2,
|
|
254
254
|
class: "line_middle"
|
|
255
|
-
}, fe = /* @__PURE__ */
|
|
255
|
+
}, fe = /* @__PURE__ */ w(() => /* @__PURE__ */ I("div", {
|
|
256
256
|
class: "line",
|
|
257
257
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
258
|
-
}, null, -1)),
|
|
258
|
+
}, null, -1)), De = {
|
|
259
259
|
key: 0,
|
|
260
260
|
class: "custom-required"
|
|
261
|
-
},
|
|
261
|
+
}, be = {
|
|
262
262
|
key: 0,
|
|
263
263
|
class: "custom-required"
|
|
264
264
|
};
|
|
265
|
-
function
|
|
266
|
-
const f =
|
|
267
|
-
return a(),
|
|
265
|
+
function Ne(u, p, z, e, E, C) {
|
|
266
|
+
const f = T("el-form-item"), h = T("el-input"), L = T("el-col"), U = T("el-row"), F = T("el-radio"), W = T("el-radio-group"), Y = T("el-checkbox"), _ = T("el-checkbox-group"), v = T("el-option"), B = T("el-select"), x = T("el-tooltip"), P = T("a-date-picker"), G = T("a-range-picker"), H = T("sinosoftCommonButton"), K = T("el-form");
|
|
267
|
+
return a(), M(K, Al({
|
|
268
268
|
"hide-required-asterisk": "",
|
|
269
269
|
onSubmit: p[0] || (p[0] = kl(() => {
|
|
270
270
|
}, ["prevent"])),
|
|
271
|
-
model:
|
|
271
|
+
model: z.model
|
|
272
272
|
}, e.formOptions, {
|
|
273
273
|
"label-position": e.formOptions.labelPosition,
|
|
274
274
|
ref: "formRef"
|
|
275
275
|
}), {
|
|
276
276
|
default: n(() => [
|
|
277
|
-
|
|
277
|
+
g(U, { gutter: 24 }, {
|
|
278
278
|
default: n(() => [
|
|
279
|
-
(a(!0),
|
|
279
|
+
(a(!0), i(A, null, k(z.fieldList, (l, Z) => wl((a(), M(L, {
|
|
280
280
|
xs: l.xs ? l.xs : 24,
|
|
281
281
|
sm: l.sm ? l.sm : 24,
|
|
282
282
|
md: l.md ? l.md : 8,
|
|
283
283
|
lg: l.lg ? l.lg : 8,
|
|
284
284
|
xl: l.xl ? l.xl : 8,
|
|
285
|
-
key:
|
|
285
|
+
key: Z
|
|
286
286
|
}, {
|
|
287
287
|
default: n(() => [
|
|
288
288
|
I("div", {
|
|
289
|
-
style:
|
|
289
|
+
style: t(l.style)
|
|
290
290
|
}, [
|
|
291
|
-
l.type === "title" ? (a(),
|
|
291
|
+
l.type === "title" ? (a(), M(f, { key: 0 }, {
|
|
292
292
|
default: n(() => [
|
|
293
|
-
I("div",
|
|
294
|
-
I("span",
|
|
293
|
+
I("div", Yl, [
|
|
294
|
+
I("span", vl, y(l.title), 1)
|
|
295
295
|
])
|
|
296
296
|
]),
|
|
297
297
|
_: 2
|
|
298
|
-
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(),
|
|
298
|
+
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), M(f, {
|
|
299
299
|
key: 1,
|
|
300
300
|
label: l.label,
|
|
301
301
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
302
302
|
class: "container_name"
|
|
303
303
|
}, {
|
|
304
304
|
label: n(() => [
|
|
305
|
-
l.slotLabelName ?
|
|
305
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
306
306
|
key: 0,
|
|
307
|
-
style:
|
|
307
|
+
style: t(l.labelStyle)
|
|
308
308
|
}, [
|
|
309
|
-
|
|
310
|
-
l.required ? (a(),
|
|
309
|
+
N(y(l.label) + " ", 1),
|
|
310
|
+
l.required ? (a(), i("span", Vl, "*")) : c("", !0)
|
|
311
311
|
], 4))
|
|
312
312
|
]),
|
|
313
313
|
default: n(() => [
|
|
314
|
-
|
|
314
|
+
g(U, { gutter: 20 }, {
|
|
315
315
|
default: n(() => [
|
|
316
|
-
|
|
316
|
+
g(L, {
|
|
317
317
|
xs: 24,
|
|
318
318
|
sm: 12,
|
|
319
319
|
md: 12,
|
|
@@ -321,19 +321,19 @@ function be(g, p, w, e, E, x) {
|
|
|
321
321
|
xl: 12
|
|
322
322
|
}, {
|
|
323
323
|
default: n(() => [
|
|
324
|
-
l.field.nameEnFamily ? (a(),
|
|
324
|
+
l.field.nameEnFamily ? (a(), M(f, {
|
|
325
325
|
key: 0,
|
|
326
326
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
327
327
|
prop: l.field.nameEnFamily,
|
|
328
328
|
class: "item-name item-name-top"
|
|
329
329
|
}, {
|
|
330
330
|
default: n(() => [
|
|
331
|
-
|
|
331
|
+
g(h, {
|
|
332
332
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
333
333
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
334
334
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
335
335
|
onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
|
|
336
|
-
class:
|
|
336
|
+
class: D(
|
|
337
337
|
(l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
338
338
|
),
|
|
339
339
|
maxlength: l.maxlengthNameEnFamily,
|
|
@@ -343,15 +343,15 @@ function be(g, p, w, e, E, x) {
|
|
|
343
343
|
type: l.type ? l.type : "text",
|
|
344
344
|
placeholder: l.placeholderNameEnFamily,
|
|
345
345
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
|
|
346
|
-
onKeyup:
|
|
346
|
+
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
347
347
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
348
348
|
]),
|
|
349
349
|
_: 2
|
|
350
|
-
}, 1032, ["rules", "prop"])) :
|
|
350
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
351
351
|
]),
|
|
352
352
|
_: 2
|
|
353
353
|
}, 1024),
|
|
354
|
-
|
|
354
|
+
g(L, {
|
|
355
355
|
xs: 24,
|
|
356
356
|
sm: 12,
|
|
357
357
|
md: 12,
|
|
@@ -359,14 +359,14 @@ function be(g, p, w, e, E, x) {
|
|
|
359
359
|
xl: 12
|
|
360
360
|
}, {
|
|
361
361
|
default: n(() => [
|
|
362
|
-
l.field.nameEn ? (a(),
|
|
362
|
+
l.field.nameEn ? (a(), M(f, {
|
|
363
363
|
key: 0,
|
|
364
364
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
365
365
|
prop: l.field.nameEn,
|
|
366
366
|
class: "item-name item-name-top"
|
|
367
367
|
}, {
|
|
368
368
|
default: n(() => [
|
|
369
|
-
|
|
369
|
+
g(h, {
|
|
370
370
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
371
371
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
372
372
|
onChange: (o) => e.inputChange(o, l.field.nameEn),
|
|
@@ -374,27 +374,27 @@ function be(g, p, w, e, E, x) {
|
|
|
374
374
|
maxlength: l.maxlengthNameEn,
|
|
375
375
|
modelValue: e.states.model[l.field.nameEn],
|
|
376
376
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
377
|
-
class:
|
|
377
|
+
class: D(
|
|
378
378
|
(l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
379
379
|
),
|
|
380
380
|
readonly: l.readonly,
|
|
381
381
|
type: l.type ? l.type : "text",
|
|
382
382
|
placeholder: l.placeholderNameEn,
|
|
383
383
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
|
|
384
|
-
onKeyup:
|
|
384
|
+
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
385
385
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
386
386
|
]),
|
|
387
387
|
_: 2
|
|
388
|
-
}, 1032, ["rules", "prop"])) :
|
|
388
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
389
389
|
]),
|
|
390
390
|
_: 2
|
|
391
391
|
}, 1024)
|
|
392
392
|
]),
|
|
393
393
|
_: 2
|
|
394
394
|
}, 1024),
|
|
395
|
-
|
|
395
|
+
g(U, { gutter: 20 }, {
|
|
396
396
|
default: n(() => [
|
|
397
|
-
|
|
397
|
+
g(L, {
|
|
398
398
|
xs: 24,
|
|
399
399
|
sm: 12,
|
|
400
400
|
md: 12,
|
|
@@ -402,14 +402,14 @@ function be(g, p, w, e, E, x) {
|
|
|
402
402
|
xl: 12
|
|
403
403
|
}, {
|
|
404
404
|
default: n(() => [
|
|
405
|
-
l.field.nameChFamily ? (a(),
|
|
405
|
+
l.field.nameChFamily ? (a(), M(f, {
|
|
406
406
|
key: 0,
|
|
407
407
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
408
408
|
prop: l.field.nameChFamily,
|
|
409
409
|
class: "item-name item-name-bottom"
|
|
410
410
|
}, {
|
|
411
411
|
default: n(() => [
|
|
412
|
-
|
|
412
|
+
g(h, {
|
|
413
413
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
414
414
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
415
415
|
onChange: (o) => e.inputChange(o, l.field.nameChFamily),
|
|
@@ -418,7 +418,7 @@ function be(g, p, w, e, E, x) {
|
|
|
418
418
|
"nameChFamily" in l.field ? l.field.nameCh : ""
|
|
419
419
|
),
|
|
420
420
|
maxlength: l.maxlengthNameChFamily,
|
|
421
|
-
class:
|
|
421
|
+
class: D(
|
|
422
422
|
(l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
423
423
|
),
|
|
424
424
|
modelValue: e.states.model[l.field.nameChFamily],
|
|
@@ -427,15 +427,15 @@ function be(g, p, w, e, E, x) {
|
|
|
427
427
|
type: l.type ? l.type : "text",
|
|
428
428
|
placeholder: l.placeholderNameChFamily,
|
|
429
429
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
|
|
430
|
-
onKeyup:
|
|
430
|
+
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
431
431
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
432
432
|
]),
|
|
433
433
|
_: 2
|
|
434
|
-
}, 1032, ["rules", "prop"])) :
|
|
434
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
435
435
|
]),
|
|
436
436
|
_: 2
|
|
437
437
|
}, 1024),
|
|
438
|
-
|
|
438
|
+
g(L, {
|
|
439
439
|
xs: 24,
|
|
440
440
|
sm: 12,
|
|
441
441
|
md: 12,
|
|
@@ -443,19 +443,19 @@ function be(g, p, w, e, E, x) {
|
|
|
443
443
|
xl: 12
|
|
444
444
|
}, {
|
|
445
445
|
default: n(() => [
|
|
446
|
-
l.field.nameCh ? (a(),
|
|
446
|
+
l.field.nameCh ? (a(), M(f, {
|
|
447
447
|
key: 0,
|
|
448
448
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
449
449
|
prop: l.field.nameCh,
|
|
450
450
|
class: "item-name item-name-bottom"
|
|
451
451
|
}, {
|
|
452
452
|
default: n(() => [
|
|
453
|
-
|
|
453
|
+
g(h, {
|
|
454
454
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
455
455
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
456
456
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
457
457
|
onInput: (o) => e.inputInput(o, l.field.nameCh),
|
|
458
|
-
class:
|
|
458
|
+
class: D(
|
|
459
459
|
(l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
460
460
|
),
|
|
461
461
|
maxlength: l.maxlengthNameCh,
|
|
@@ -465,11 +465,11 @@ function be(g, p, w, e, E, x) {
|
|
|
465
465
|
type: l.type ? l.type : "text",
|
|
466
466
|
placeholder: l.placeholderNameCh,
|
|
467
467
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
|
|
468
|
-
onKeyup:
|
|
468
|
+
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
469
469
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
470
470
|
]),
|
|
471
471
|
_: 2
|
|
472
|
-
}, 1032, ["rules", "prop"])) :
|
|
472
|
+
}, 1032, ["rules", "prop"])) : c("", !0)
|
|
473
473
|
]),
|
|
474
474
|
_: 2
|
|
475
475
|
}, 1024)
|
|
@@ -478,7 +478,7 @@ function be(g, p, w, e, E, x) {
|
|
|
478
478
|
}, 1024)
|
|
479
479
|
]),
|
|
480
480
|
_: 2
|
|
481
|
-
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(),
|
|
481
|
+
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), M(f, {
|
|
482
482
|
key: 2,
|
|
483
483
|
label: l.label,
|
|
484
484
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -486,16 +486,16 @@ function be(g, p, w, e, E, x) {
|
|
|
486
486
|
class: "radio_row"
|
|
487
487
|
}, {
|
|
488
488
|
label: n(() => [
|
|
489
|
-
l.slotLabelName ?
|
|
489
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
490
490
|
key: 0,
|
|
491
|
-
style:
|
|
491
|
+
style: t(l.labelStyle)
|
|
492
492
|
}, [
|
|
493
|
-
|
|
494
|
-
l.required ? (a(),
|
|
493
|
+
N(y(l.label) + " ", 1),
|
|
494
|
+
l.required ? (a(), i("span", Ul, "*")) : c("", !0)
|
|
495
495
|
], 4))
|
|
496
496
|
]),
|
|
497
497
|
default: n(() => [
|
|
498
|
-
|
|
498
|
+
g(W, {
|
|
499
499
|
modelValue: e.states.model[l.field],
|
|
500
500
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
501
501
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -504,14 +504,14 @@ function be(g, p, w, e, E, x) {
|
|
|
504
504
|
default: n(() => {
|
|
505
505
|
var o;
|
|
506
506
|
return [
|
|
507
|
-
(a(!0),
|
|
508
|
-
label:
|
|
507
|
+
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(F, {
|
|
508
|
+
label: d.code,
|
|
509
509
|
size: "large",
|
|
510
|
-
key:
|
|
510
|
+
key: d.code
|
|
511
511
|
}, {
|
|
512
512
|
default: n(() => [
|
|
513
513
|
I("img", {
|
|
514
|
-
src:
|
|
514
|
+
src: d.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
515
515
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
516
516
|
alt: ""
|
|
517
517
|
}, null, 8, Fl)
|
|
@@ -524,44 +524,44 @@ function be(g, p, w, e, E, x) {
|
|
|
524
524
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
525
525
|
]),
|
|
526
526
|
_: 2
|
|
527
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(),
|
|
527
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), M(f, {
|
|
528
528
|
key: 3,
|
|
529
529
|
label: l.label,
|
|
530
530
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
531
531
|
prop: l.field,
|
|
532
|
-
class:
|
|
532
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
533
533
|
}, {
|
|
534
534
|
label: n(() => [
|
|
535
|
-
l.slotLabelName ?
|
|
535
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
536
536
|
key: 0,
|
|
537
|
-
style:
|
|
537
|
+
style: t(l.labelStyle)
|
|
538
538
|
}, [
|
|
539
|
-
|
|
540
|
-
l.required ? (a(),
|
|
539
|
+
N(y(l.label) + " ", 1),
|
|
540
|
+
l.required ? (a(), i("span", Wl, "*")) : c("", !0)
|
|
541
541
|
], 4))
|
|
542
542
|
]),
|
|
543
543
|
default: n(() => [
|
|
544
|
-
|
|
544
|
+
g(W, {
|
|
545
545
|
modelValue: e.states.model[l.field],
|
|
546
546
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
547
547
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
548
548
|
onChange: (o) => e.radioChange(o, l.field),
|
|
549
|
-
style:
|
|
549
|
+
style: t(
|
|
550
550
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
551
551
|
),
|
|
552
|
-
class:
|
|
552
|
+
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
553
553
|
}, {
|
|
554
554
|
default: n(() => {
|
|
555
555
|
var o;
|
|
556
556
|
return [
|
|
557
|
-
(a(!0),
|
|
557
|
+
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(F, {
|
|
558
558
|
size: "large",
|
|
559
|
-
label:
|
|
560
|
-
key:
|
|
561
|
-
disabled:
|
|
559
|
+
label: d.code,
|
|
560
|
+
key: d.code,
|
|
561
|
+
disabled: d.isDisabled
|
|
562
562
|
}, {
|
|
563
563
|
default: n(() => [
|
|
564
|
-
|
|
564
|
+
N(y(d.name), 1)
|
|
565
565
|
]),
|
|
566
566
|
_: 2
|
|
567
567
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -571,39 +571,39 @@ function be(g, p, w, e, E, x) {
|
|
|
571
571
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
572
572
|
]),
|
|
573
573
|
_: 2
|
|
574
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(),
|
|
574
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), M(f, {
|
|
575
575
|
key: 4,
|
|
576
576
|
label: l.label,
|
|
577
577
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
578
578
|
prop: l.field,
|
|
579
|
-
class:
|
|
579
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
580
580
|
}, {
|
|
581
581
|
default: n(() => [
|
|
582
582
|
I("div", null, [
|
|
583
|
-
I("span", Bl,
|
|
584
|
-
I("span", Zl,
|
|
585
|
-
l.required ? (a(),
|
|
583
|
+
I("span", Bl, y(l.labelBefore), 1),
|
|
584
|
+
I("span", Zl, y(l.labelNode), 1),
|
|
585
|
+
l.required ? (a(), i("span", Ql, "*")) : c("", !0)
|
|
586
586
|
]),
|
|
587
|
-
|
|
587
|
+
g(W, {
|
|
588
588
|
modelValue: e.states.model[l.field],
|
|
589
589
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
590
590
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
591
591
|
onChange: (o) => e.radioChange(o, l.field),
|
|
592
|
-
style:
|
|
592
|
+
style: t(
|
|
593
593
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
594
594
|
),
|
|
595
|
-
class:
|
|
595
|
+
class: D(l.ways !== "column" ? "radio_row" : "")
|
|
596
596
|
}, {
|
|
597
597
|
default: n(() => {
|
|
598
598
|
var o;
|
|
599
599
|
return [
|
|
600
|
-
(a(!0),
|
|
600
|
+
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(F, {
|
|
601
601
|
size: "large",
|
|
602
|
-
label:
|
|
603
|
-
key:
|
|
602
|
+
label: d.code,
|
|
603
|
+
key: d.code
|
|
604
604
|
}, {
|
|
605
605
|
default: n(() => [
|
|
606
|
-
|
|
606
|
+
N(y(d.name), 1)
|
|
607
607
|
]),
|
|
608
608
|
_: 2
|
|
609
609
|
}, 1032, ["label"]))), 128))
|
|
@@ -613,41 +613,41 @@ function be(g, p, w, e, E, x) {
|
|
|
613
613
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
614
614
|
]),
|
|
615
615
|
_: 2
|
|
616
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(),
|
|
616
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), M(f, {
|
|
617
617
|
key: 5,
|
|
618
618
|
label: l.label,
|
|
619
619
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
620
620
|
prop: l.field
|
|
621
621
|
}, {
|
|
622
622
|
label: n(() => [
|
|
623
|
-
l.slotLabelName ?
|
|
623
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
624
624
|
key: 0,
|
|
625
|
-
style:
|
|
625
|
+
style: t(l.labelStyle)
|
|
626
626
|
}, [
|
|
627
|
-
|
|
628
|
-
l.required ? (a(),
|
|
627
|
+
N(y(l.label) + " ", 1),
|
|
628
|
+
l.required ? (a(), i("span", Gl, "*")) : c("", !0)
|
|
629
629
|
], 4))
|
|
630
630
|
]),
|
|
631
631
|
default: n(() => [
|
|
632
|
-
|
|
632
|
+
g(_, {
|
|
633
633
|
modelValue: e.states.model[l.field],
|
|
634
634
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
635
635
|
onChange: (o) => e.checkChange(o, l.field),
|
|
636
636
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
637
|
-
style:
|
|
637
|
+
style: t(
|
|
638
638
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
639
639
|
)
|
|
640
640
|
}, {
|
|
641
641
|
default: n(() => {
|
|
642
642
|
var o;
|
|
643
643
|
return [
|
|
644
|
-
(a(!0),
|
|
645
|
-
key:
|
|
646
|
-
label:
|
|
647
|
-
disabled:
|
|
644
|
+
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(Y, {
|
|
645
|
+
key: d.code,
|
|
646
|
+
label: d.code,
|
|
647
|
+
disabled: d.isDisabled
|
|
648
648
|
}, {
|
|
649
649
|
default: n(() => [
|
|
650
|
-
|
|
650
|
+
N(y(d.name), 1)
|
|
651
651
|
]),
|
|
652
652
|
_: 2
|
|
653
653
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -657,41 +657,41 @@ function be(g, p, w, e, E, x) {
|
|
|
657
657
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
658
658
|
]),
|
|
659
659
|
_: 2
|
|
660
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(),
|
|
660
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), M(f, {
|
|
661
661
|
key: 6,
|
|
662
662
|
label: l.label,
|
|
663
663
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
664
664
|
prop: l.field
|
|
665
665
|
}, {
|
|
666
666
|
label: n(() => [
|
|
667
|
-
l.slotLabelName ?
|
|
667
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
668
668
|
key: 0,
|
|
669
|
-
style:
|
|
669
|
+
style: t(l.labelStyle)
|
|
670
670
|
}, [
|
|
671
|
-
|
|
672
|
-
l.required ? (a(),
|
|
671
|
+
N(y(l.label) + " ", 1),
|
|
672
|
+
l.required ? (a(), i("span", Pl, "*")) : c("", !0)
|
|
673
673
|
], 4))
|
|
674
674
|
]),
|
|
675
675
|
default: n(() => [
|
|
676
|
-
|
|
676
|
+
g(_, {
|
|
677
677
|
modelValue: e.states.model[l.field],
|
|
678
678
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
679
679
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
680
680
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
681
|
-
style:
|
|
681
|
+
style: t(
|
|
682
682
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
683
683
|
)
|
|
684
684
|
}, {
|
|
685
685
|
default: n(() => {
|
|
686
686
|
var o;
|
|
687
687
|
return [
|
|
688
|
-
(a(!0),
|
|
689
|
-
key:
|
|
690
|
-
label:
|
|
691
|
-
disabled:
|
|
688
|
+
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(Y, {
|
|
689
|
+
key: d.code,
|
|
690
|
+
label: d.code,
|
|
691
|
+
disabled: d.isDisabled
|
|
692
692
|
}, {
|
|
693
693
|
default: n(() => [
|
|
694
|
-
|
|
694
|
+
N(y(d.name), 1)
|
|
695
695
|
]),
|
|
696
696
|
_: 2
|
|
697
697
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -701,38 +701,38 @@ function be(g, p, w, e, E, x) {
|
|
|
701
701
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
702
702
|
]),
|
|
703
703
|
_: 2
|
|
704
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (a(),
|
|
704
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxNote" && typeof l.field == "string" ? (a(), M(f, {
|
|
705
705
|
key: 7,
|
|
706
706
|
label: l.label,
|
|
707
707
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
708
708
|
prop: l.field,
|
|
709
|
-
class:
|
|
709
|
+
class: D([l.labelNode ? "radio_Note" : "rule_err"])
|
|
710
710
|
}, {
|
|
711
711
|
default: n(() => [
|
|
712
712
|
I("div", null, [
|
|
713
|
-
I("span", Hl,
|
|
714
|
-
I("span", Kl,
|
|
715
|
-
l.required ? (a(),
|
|
713
|
+
I("span", Hl, y(l.labelBefore), 1),
|
|
714
|
+
I("span", Kl, y(l.labelNode), 1),
|
|
715
|
+
l.required ? (a(), i("span", ql, "*")) : c("", !0)
|
|
716
716
|
]),
|
|
717
|
-
|
|
717
|
+
g(_, {
|
|
718
718
|
modelValue: e.states.model[l.field],
|
|
719
719
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
720
720
|
onChange: (o) => e.checkChange(o, l.field),
|
|
721
721
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
722
|
-
style:
|
|
722
|
+
style: t(
|
|
723
723
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
724
724
|
)
|
|
725
725
|
}, {
|
|
726
726
|
default: n(() => {
|
|
727
727
|
var o;
|
|
728
728
|
return [
|
|
729
|
-
(a(!0),
|
|
730
|
-
key:
|
|
731
|
-
label:
|
|
732
|
-
disabled:
|
|
729
|
+
(a(!0), i(A, null, k((o = l.options) == null ? void 0 : o.data, (d) => (a(), M(Y, {
|
|
730
|
+
key: d.code,
|
|
731
|
+
label: d.code,
|
|
732
|
+
disabled: d.isDisabled
|
|
733
733
|
}, {
|
|
734
734
|
default: n(() => [
|
|
735
|
-
|
|
735
|
+
N(y(d.name), 1)
|
|
736
736
|
]),
|
|
737
737
|
_: 2
|
|
738
738
|
}, 1032, ["label", "disabled"]))), 128))
|
|
@@ -742,7 +742,7 @@ function be(g, p, w, e, E, x) {
|
|
|
742
742
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
743
743
|
]),
|
|
744
744
|
_: 2
|
|
745
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (a(),
|
|
745
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "select" && typeof l.field == "string" ? (a(), M(f, {
|
|
746
746
|
key: 8,
|
|
747
747
|
label: l.label,
|
|
748
748
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -750,18 +750,18 @@ function be(g, p, w, e, E, x) {
|
|
|
750
750
|
prop: l.field
|
|
751
751
|
}, {
|
|
752
752
|
label: n(() => [
|
|
753
|
-
l.slotLabelName ?
|
|
753
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
754
754
|
key: 0,
|
|
755
|
-
style:
|
|
755
|
+
style: t(l.labelStyle)
|
|
756
756
|
}, [
|
|
757
|
-
|
|
758
|
-
l.required ? (a(),
|
|
757
|
+
N(y(l.label) + " ", 1),
|
|
758
|
+
l.required ? (a(), i("span", Jl, "*")) : c("", !0)
|
|
759
759
|
], 4))
|
|
760
760
|
]),
|
|
761
761
|
default: n(() => {
|
|
762
762
|
var o;
|
|
763
763
|
return [
|
|
764
|
-
|
|
764
|
+
g(x, {
|
|
765
765
|
"popper-class": "select-tooltip",
|
|
766
766
|
effect: "light",
|
|
767
767
|
content: e.contentName(e.states.model[l.field], (o = l.options) == null ? void 0 : o.data),
|
|
@@ -769,15 +769,15 @@ function be(g, p, w, e, E, x) {
|
|
|
769
769
|
disabled: e.isShowTooltip
|
|
770
770
|
}, {
|
|
771
771
|
default: n(() => [
|
|
772
|
-
|
|
773
|
-
class:
|
|
772
|
+
g(B, {
|
|
773
|
+
class: D(["tooltip-select", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""]),
|
|
774
774
|
id: l.field,
|
|
775
|
-
onMouseenter: (
|
|
775
|
+
onMouseenter: (d) => e.visibilityChange(l.field),
|
|
776
776
|
"popper-class": l.selectPaging === !0 ? "single-select-loadmore" : "selectTriangles",
|
|
777
777
|
teleported: !1,
|
|
778
778
|
modelValue: e.states.model[l.field],
|
|
779
|
-
"onUpdate:modelValue": (
|
|
780
|
-
onChange: (
|
|
779
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field] = d,
|
|
780
|
+
onChange: (d) => e.selectChange(d, l.field),
|
|
781
781
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
782
782
|
placeholder: l.placeholder,
|
|
783
783
|
clearable: l.clearable,
|
|
@@ -790,22 +790,22 @@ function be(g, p, w, e, E, x) {
|
|
|
790
790
|
multiple: l.multiple,
|
|
791
791
|
"multiple-limit": l.multipleLimit,
|
|
792
792
|
"reserve-keyword": !1,
|
|
793
|
-
onVisibleChange: (
|
|
793
|
+
onVisibleChange: (d) => e.handleVisibleChange(d, l.field)
|
|
794
794
|
}, {
|
|
795
795
|
default: n(() => {
|
|
796
|
-
var
|
|
796
|
+
var d;
|
|
797
797
|
return [
|
|
798
|
-
(a(!0),
|
|
799
|
-
key:
|
|
800
|
-
label:
|
|
801
|
-
value:
|
|
798
|
+
(a(!0), i(A, null, k((d = l.options) == null ? void 0 : d.data, (O) => (a(), M(v, {
|
|
799
|
+
key: O.code,
|
|
800
|
+
label: O.name,
|
|
801
|
+
value: O.code
|
|
802
802
|
}, null, 8, ["label", "value"]))), 128)),
|
|
803
|
-
l.loading ? (a(),
|
|
803
|
+
l.loading ? (a(), M(v, {
|
|
804
804
|
key: 0,
|
|
805
805
|
label: l.selectLoadingText ? l.selectLoadingText : "Loading...",
|
|
806
806
|
class: "select-loading",
|
|
807
807
|
disabled: ""
|
|
808
|
-
}, null, 8, ["label"])) :
|
|
808
|
+
}, null, 8, ["label"])) : c("", !0)
|
|
809
809
|
];
|
|
810
810
|
}),
|
|
811
811
|
_: 2
|
|
@@ -815,12 +815,12 @@ function be(g, p, w, e, E, x) {
|
|
|
815
815
|
}, 1032, ["content", "disabled"]),
|
|
816
816
|
I("div", {
|
|
817
817
|
class: "item_tips_blow",
|
|
818
|
-
style:
|
|
819
|
-
},
|
|
818
|
+
style: t(l.tipsBlowStyle)
|
|
819
|
+
}, y(l.tipsBlow), 5)
|
|
820
820
|
];
|
|
821
821
|
}),
|
|
822
822
|
_: 2
|
|
823
|
-
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(),
|
|
823
|
+
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), M(f, {
|
|
824
824
|
key: 9,
|
|
825
825
|
label: l.label,
|
|
826
826
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -828,16 +828,16 @@ function be(g, p, w, e, E, x) {
|
|
|
828
828
|
class: "date_item"
|
|
829
829
|
}, {
|
|
830
830
|
label: n(() => [
|
|
831
|
-
l.slotLabelName ?
|
|
831
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
832
832
|
key: 0,
|
|
833
|
-
style:
|
|
833
|
+
style: t(l.labelStyle)
|
|
834
834
|
}, [
|
|
835
|
-
|
|
836
|
-
l.required ? (a(),
|
|
835
|
+
N(y(l.label) + " ", 1),
|
|
836
|
+
l.required ? (a(), i("span", Xl, "*")) : c("", !0)
|
|
837
837
|
], 4))
|
|
838
838
|
]),
|
|
839
839
|
default: n(() => [
|
|
840
|
-
(a(),
|
|
840
|
+
(a(), M(P, {
|
|
841
841
|
size: "large",
|
|
842
842
|
allowClear: !!l.allowClear,
|
|
843
843
|
format: "DD/MM/YYYY",
|
|
@@ -854,7 +854,7 @@ function be(g, p, w, e, E, x) {
|
|
|
854
854
|
picker: l.picker,
|
|
855
855
|
placeholder: l.placeholder || l.label,
|
|
856
856
|
key: e.pickerKey,
|
|
857
|
-
class:
|
|
857
|
+
class: D(
|
|
858
858
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
859
859
|
),
|
|
860
860
|
presets: l.presets,
|
|
@@ -873,7 +873,7 @@ function be(g, p, w, e, E, x) {
|
|
|
873
873
|
onBlur: e.openDatePicker
|
|
874
874
|
}, {
|
|
875
875
|
superPrevIcon: n(() => [
|
|
876
|
-
|
|
876
|
+
ml
|
|
877
877
|
]),
|
|
878
878
|
prevIcon: n(() => [
|
|
879
879
|
$l
|
|
@@ -886,26 +886,26 @@ function be(g, p, w, e, E, x) {
|
|
|
886
886
|
]),
|
|
887
887
|
_: 2
|
|
888
888
|
}, 1032, ["allowClear", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "presets", "onChange", "onCalendarChange", "onOk", "onBlur"])),
|
|
889
|
-
l.showTo ? (a(),
|
|
889
|
+
l.showTo ? (a(), i("span", oe, y(l.showTo), 1)) : c("", !0)
|
|
890
890
|
]),
|
|
891
891
|
_: 2
|
|
892
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(),
|
|
892
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), M(f, {
|
|
893
893
|
key: 10,
|
|
894
894
|
label: l.label,
|
|
895
895
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
896
896
|
prop: l.field
|
|
897
897
|
}, {
|
|
898
898
|
label: n(() => [
|
|
899
|
-
l.slotLabelName ?
|
|
899
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
900
900
|
key: 0,
|
|
901
|
-
style:
|
|
901
|
+
style: t(l.labelStyle)
|
|
902
902
|
}, [
|
|
903
|
-
|
|
904
|
-
l.required ? (a(),
|
|
903
|
+
N(y(l.label) + " ", 1),
|
|
904
|
+
l.required ? (a(), i("span", ae, "*")) : c("", !0)
|
|
905
905
|
], 4))
|
|
906
906
|
]),
|
|
907
907
|
default: n(() => [
|
|
908
|
-
(a(),
|
|
908
|
+
(a(), M(G, {
|
|
909
909
|
"popper-class": "selectTriangles",
|
|
910
910
|
allowClear: !!l.allowClear,
|
|
911
911
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -922,7 +922,7 @@ function be(g, p, w, e, E, x) {
|
|
|
922
922
|
separator: l.separator || "To",
|
|
923
923
|
placeholder: l.placeholder,
|
|
924
924
|
size: "large",
|
|
925
|
-
class:
|
|
925
|
+
class: D(
|
|
926
926
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
927
927
|
),
|
|
928
928
|
key: e.pickerKeyDaterange,
|
|
@@ -956,23 +956,23 @@ function be(g, p, w, e, E, x) {
|
|
|
956
956
|
}, 1032, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
957
957
|
]),
|
|
958
958
|
_: 2
|
|
959
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(),
|
|
959
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "datetimerange" && typeof l.field == "string" ? (a(), M(f, {
|
|
960
960
|
key: 11,
|
|
961
961
|
label: l.label,
|
|
962
962
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
963
963
|
prop: l.field
|
|
964
964
|
}, {
|
|
965
965
|
label: n(() => [
|
|
966
|
-
l.slotLabelName ?
|
|
966
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
967
967
|
key: 0,
|
|
968
|
-
style:
|
|
968
|
+
style: t(l.labelStyle)
|
|
969
969
|
}, [
|
|
970
|
-
|
|
971
|
-
l.required ? (a(),
|
|
970
|
+
N(y(l.label) + " ", 1),
|
|
971
|
+
l.required ? (a(), i("span", ie, "*")) : c("", !0)
|
|
972
972
|
], 4))
|
|
973
973
|
]),
|
|
974
974
|
default: n(() => [
|
|
975
|
-
(a(),
|
|
975
|
+
(a(), M(G, {
|
|
976
976
|
"popper-class": "selectTriangles",
|
|
977
977
|
allowClear: !!l.allowClear,
|
|
978
978
|
defaultPickerValue: l == null ? void 0 : l.defaultValue,
|
|
@@ -989,7 +989,7 @@ function be(g, p, w, e, E, x) {
|
|
|
989
989
|
separator: l.separator || "To",
|
|
990
990
|
placeholder: l.placeholder,
|
|
991
991
|
size: "large",
|
|
992
|
-
class:
|
|
992
|
+
class: D(
|
|
993
993
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
994
994
|
),
|
|
995
995
|
key: e.datetimerange,
|
|
@@ -1009,7 +1009,7 @@ function be(g, p, w, e, E, x) {
|
|
|
1009
1009
|
}, null, 8, ["allowClear", "defaultPickerValue", "format", "valueFormat", "disabled-date", "disabled-time", "showTime", "mode", "picker", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk", "onOpenChange"]))
|
|
1010
1010
|
]),
|
|
1011
1011
|
_: 2
|
|
1012
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(),
|
|
1012
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), M(f, {
|
|
1013
1013
|
key: 12,
|
|
1014
1014
|
label: l.label,
|
|
1015
1015
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
@@ -1017,19 +1017,19 @@ function be(g, p, w, e, E, x) {
|
|
|
1017
1017
|
class: "rule_err"
|
|
1018
1018
|
}, {
|
|
1019
1019
|
label: n(() => [
|
|
1020
|
-
l.slotLabelName ?
|
|
1020
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
1021
1021
|
key: 0,
|
|
1022
|
-
style:
|
|
1022
|
+
style: t(l.labelStyle)
|
|
1023
1023
|
}, [
|
|
1024
|
-
|
|
1025
|
-
l.required ? (a(),
|
|
1024
|
+
N(y(l.label) + " ", 1),
|
|
1025
|
+
l.required ? (a(), i("span", Me, "*")) : c("", !0)
|
|
1026
1026
|
], 4))
|
|
1027
1027
|
]),
|
|
1028
1028
|
default: n(() => [
|
|
1029
|
-
|
|
1029
|
+
j(u.$slots, l.slotItemName, {}, void 0, !0)
|
|
1030
1030
|
]),
|
|
1031
1031
|
_: 2
|
|
1032
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (a(),
|
|
1032
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (a(), M(f, {
|
|
1033
1033
|
key: 13,
|
|
1034
1034
|
label: l.label,
|
|
1035
1035
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
@@ -1037,175 +1037,248 @@ function be(g, p, w, e, E, x) {
|
|
|
1037
1037
|
class: "phone_item"
|
|
1038
1038
|
}, {
|
|
1039
1039
|
label: n(() => [
|
|
1040
|
-
l.slotLabelName ?
|
|
1040
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
1041
1041
|
key: 0,
|
|
1042
|
-
style:
|
|
1042
|
+
style: t(l.labelStyle)
|
|
1043
1043
|
}, [
|
|
1044
|
-
|
|
1045
|
-
l.required ? (a(),
|
|
1044
|
+
N(y(l.label) + " ", 1),
|
|
1045
|
+
l.required ? (a(), i("span", ye, "*")) : c("", !0)
|
|
1046
1046
|
], 4))
|
|
1047
1047
|
]),
|
|
1048
|
-
default: n(() =>
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1060
|
-
modelValue: e.states.model[l.field.nationCode],
|
|
1061
|
-
"onUpdate:modelValue": (y) => e.states.model[l.field.nationCode] = y,
|
|
1062
|
-
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1063
|
-
class: N(
|
|
1064
|
-
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"
|
|
1065
|
-
),
|
|
1066
|
-
style: D("width:" + l.widthNation),
|
|
1067
|
-
"fit-input-width": !0,
|
|
1068
|
-
"suffix-icon": e.IconDropDown,
|
|
1069
|
-
"clear-icon": e.IconClear
|
|
1070
|
-
}, {
|
|
1071
|
-
default: n(() => {
|
|
1072
|
-
var y;
|
|
1073
|
-
return [
|
|
1074
|
-
(a(!0), r(A, null, k((y = l.nationOptions) == null ? void 0 : y.data, (R, G) => (a(), i(V, {
|
|
1075
|
-
label: R.name,
|
|
1076
|
-
value: R.code,
|
|
1077
|
-
key: G
|
|
1078
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
1079
|
-
];
|
|
1080
|
-
}),
|
|
1081
|
-
_: 2
|
|
1082
|
-
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : u("", !0),
|
|
1083
|
-
ue,
|
|
1084
|
-
l.field.areaCode ? (a(), i(h, {
|
|
1085
|
-
key: 1,
|
|
1086
|
-
onBlur: (y) => e.inputBlur(
|
|
1087
|
-
y,
|
|
1088
|
-
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1089
|
-
),
|
|
1090
|
-
onFocus: (y) => e.inputFocus(
|
|
1091
|
-
y,
|
|
1092
|
-
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1093
|
-
),
|
|
1094
|
-
onChange: (y) => e.inputChange(
|
|
1095
|
-
y,
|
|
1096
|
-
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1097
|
-
),
|
|
1098
|
-
onInput: (y) => e.inputInput(
|
|
1099
|
-
y,
|
|
1100
|
-
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1101
|
-
),
|
|
1102
|
-
maxlength: l.maxlengthAreaCode || 5,
|
|
1103
|
-
oninput: "value=value.replace(/[^\\d.]/g,'')",
|
|
1104
|
-
modelValue: e.states.model[l.field.areaCode],
|
|
1105
|
-
"onUpdate:modelValue": (y) => e.states.model[l.field.areaCode] = y,
|
|
1106
|
-
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1107
|
-
placeholder: ((M = l.areaOptions) == null ? void 0 : M.placeholder) || "",
|
|
1108
|
-
class: N(
|
|
1109
|
-
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1110
|
-
),
|
|
1111
|
-
clearable: l.clearable
|
|
1112
|
-
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : u("", !0),
|
|
1113
|
-
ge
|
|
1114
|
-
])) : u("", !0),
|
|
1115
|
-
l.field.nationCode && !e.phoneWrap ? (a(), i(Z, {
|
|
1116
|
-
key: 1,
|
|
1117
|
-
"opper-class": "selectTriangles",
|
|
1118
|
-
teleported: !1,
|
|
1119
|
-
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1120
|
-
modelValue: e.states.model[l.field.nationCode],
|
|
1121
|
-
"onUpdate:modelValue": (y) => e.states.model[l.field.nationCode] = y,
|
|
1122
|
-
placeholder: ((L = l.nationOptions) == null ? void 0 : L.placeholder) || "",
|
|
1123
|
-
class: N(
|
|
1124
|
-
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1125
|
-
),
|
|
1126
|
-
style: D("width:" + l.widthNation),
|
|
1127
|
-
"fit-input-width": !0,
|
|
1128
|
-
"suffix-icon": e.IconDropDown,
|
|
1129
|
-
"clear-icon": e.IconClear
|
|
1048
|
+
default: n(() => [
|
|
1049
|
+
I("div", {
|
|
1050
|
+
class: D(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
1051
|
+
}, [
|
|
1052
|
+
e.phoneWrap ? (a(), i("div", ce, [
|
|
1053
|
+
g(x, {
|
|
1054
|
+
"popper-class": "input-tooltip",
|
|
1055
|
+
effect: "light",
|
|
1056
|
+
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
1057
|
+
placement: "top",
|
|
1058
|
+
disabled: e.isShowTooltip
|
|
1130
1059
|
}, {
|
|
1131
1060
|
default: n(() => {
|
|
1132
|
-
var
|
|
1061
|
+
var o;
|
|
1133
1062
|
return [
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1063
|
+
l.field.nationCode ? (a(), M(B, {
|
|
1064
|
+
key: 0,
|
|
1065
|
+
class: D(["tooltip-select", (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_input"]),
|
|
1066
|
+
id: l.field.nationCode,
|
|
1067
|
+
onMouseenter: (d) => e.visibilityChange(l.field.nationCode),
|
|
1068
|
+
"popper-class": "selectTriangles",
|
|
1069
|
+
teleported: !1,
|
|
1070
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1071
|
+
modelValue: e.states.model[l.field.nationCode],
|
|
1072
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1073
|
+
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1074
|
+
style: t("width:" + l.widthNation),
|
|
1075
|
+
"fit-input-width": !0,
|
|
1076
|
+
"suffix-icon": e.IconDropDown,
|
|
1077
|
+
"clear-icon": e.IconClear
|
|
1078
|
+
}, {
|
|
1079
|
+
default: n(() => {
|
|
1080
|
+
var d;
|
|
1081
|
+
return [
|
|
1082
|
+
(a(!0), i(A, null, k((d = l.nationOptions) == null ? void 0 : d.data, (O, Q) => (a(), M(v, {
|
|
1083
|
+
label: O.name,
|
|
1084
|
+
value: O.code,
|
|
1085
|
+
key: Q
|
|
1086
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1087
|
+
];
|
|
1088
|
+
}),
|
|
1089
|
+
_: 2
|
|
1090
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : c("", !0)
|
|
1139
1091
|
];
|
|
1140
1092
|
}),
|
|
1141
1093
|
_: 2
|
|
1142
|
-
}, 1032, ["
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
),
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1094
|
+
}, 1032, ["content", "disabled"]),
|
|
1095
|
+
ue,
|
|
1096
|
+
g(x, {
|
|
1097
|
+
"popper-class": "input-tooltip",
|
|
1098
|
+
effect: "light",
|
|
1099
|
+
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
1100
|
+
placement: "top",
|
|
1101
|
+
disabled: e.isShowTooltip
|
|
1102
|
+
}, {
|
|
1103
|
+
default: n(() => {
|
|
1104
|
+
var o;
|
|
1105
|
+
return [
|
|
1106
|
+
l.field.areaCode ? (a(), M(h, {
|
|
1107
|
+
key: 0,
|
|
1108
|
+
class: D(["tooltip-input", (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"]),
|
|
1109
|
+
id: l.field.areaCode,
|
|
1110
|
+
onMouseenter: (d) => e.visibilityChange(l.field.areaCode),
|
|
1111
|
+
onBlur: (d) => e.inputBlur(
|
|
1112
|
+
d,
|
|
1113
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1114
|
+
),
|
|
1115
|
+
onFocus: (d) => e.inputFocus(
|
|
1116
|
+
d,
|
|
1117
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1118
|
+
),
|
|
1119
|
+
onChange: (d) => e.inputChange(
|
|
1120
|
+
d,
|
|
1121
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1122
|
+
),
|
|
1123
|
+
onInput: (d) => e.inputInput(
|
|
1124
|
+
d,
|
|
1125
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1126
|
+
),
|
|
1127
|
+
maxlength: l.maxlengthAreaCode || 5,
|
|
1128
|
+
oninput: "value=value.replace(/[^\\d.]/g,'')",
|
|
1129
|
+
modelValue: e.states.model[l.field.areaCode],
|
|
1130
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
|
|
1131
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1132
|
+
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1133
|
+
clearable: l.clearable
|
|
1134
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : c("", !0)
|
|
1135
|
+
];
|
|
1136
|
+
}),
|
|
1137
|
+
_: 2
|
|
1138
|
+
}, 1032, ["content", "disabled"]),
|
|
1139
|
+
ge
|
|
1140
|
+
])) : c("", !0),
|
|
1141
|
+
g(x, {
|
|
1142
|
+
"popper-class": "input-tooltip",
|
|
1143
|
+
effect: "light",
|
|
1144
|
+
content: e.states.model[typeof l.field.nationCode == "string" ? l.field.nationCode : ""],
|
|
1145
|
+
placement: "top",
|
|
1146
|
+
disabled: e.isShowTooltip
|
|
1147
|
+
}, {
|
|
1148
|
+
default: n(() => {
|
|
1149
|
+
var o;
|
|
1150
|
+
return [
|
|
1151
|
+
l.field.nationCode && !e.phoneWrap ? (a(), M(B, {
|
|
1152
|
+
key: 0,
|
|
1153
|
+
class: D([
|
|
1154
|
+
"tooltip-select",
|
|
1155
|
+
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1156
|
+
]),
|
|
1157
|
+
id: l.field.nationCode,
|
|
1158
|
+
onMouseenter: (d) => e.visibilityChange(l.field.nationCode),
|
|
1159
|
+
"opper-class": "selectTriangles",
|
|
1160
|
+
teleported: !1,
|
|
1161
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1162
|
+
modelValue: e.states.model[l.field.nationCode],
|
|
1163
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
1164
|
+
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
1165
|
+
style: t("width:" + l.widthNation),
|
|
1166
|
+
"fit-input-width": !0,
|
|
1167
|
+
"suffix-icon": e.IconDropDown,
|
|
1168
|
+
"clear-icon": e.IconClear
|
|
1169
|
+
}, {
|
|
1170
|
+
default: n(() => {
|
|
1171
|
+
var d;
|
|
1172
|
+
return [
|
|
1173
|
+
(a(!0), i(A, null, k((d = l.nationOptions) == null ? void 0 : d.data, (O, Q) => (a(), M(v, {
|
|
1174
|
+
label: O.name,
|
|
1175
|
+
value: O.code,
|
|
1176
|
+
key: Q
|
|
1177
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1178
|
+
];
|
|
1179
|
+
}),
|
|
1180
|
+
_: 2
|
|
1181
|
+
}, 1032, ["id", "onMouseenter", "disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style", "suffix-icon", "clear-icon"])) : c("", !0)
|
|
1182
|
+
];
|
|
1183
|
+
}),
|
|
1184
|
+
_: 2
|
|
1185
|
+
}, 1032, ["content", "disabled"]),
|
|
1186
|
+
e.phoneWrap ? c("", !0) : (a(), i("div", pe, " - ")),
|
|
1187
|
+
g(x, {
|
|
1188
|
+
"popper-class": "input-tooltip",
|
|
1189
|
+
effect: "light",
|
|
1190
|
+
content: e.states.model[typeof l.field.areaCode == "string" ? l.field.areaCode : ""],
|
|
1191
|
+
placement: "top",
|
|
1192
|
+
disabled: e.isShowTooltip
|
|
1193
|
+
}, {
|
|
1194
|
+
default: n(() => {
|
|
1195
|
+
var o;
|
|
1196
|
+
return [
|
|
1197
|
+
l.field.areaCode && !e.phoneWrap ? (a(), M(h, {
|
|
1198
|
+
key: 0,
|
|
1199
|
+
class: D([
|
|
1200
|
+
"tooltip-input",
|
|
1201
|
+
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
1202
|
+
]),
|
|
1203
|
+
id: l.field.areaCode,
|
|
1204
|
+
onMouseenter: (d) => e.visibilityChange(l.field.areaCode),
|
|
1205
|
+
onBlur: (d) => e.inputBlur(
|
|
1206
|
+
d,
|
|
1207
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1208
|
+
),
|
|
1209
|
+
onFocus: (d) => e.inputFocus(
|
|
1210
|
+
d,
|
|
1211
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1212
|
+
),
|
|
1213
|
+
onChange: (d) => e.inputChange(
|
|
1214
|
+
d,
|
|
1215
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1216
|
+
),
|
|
1217
|
+
onInput: (d) => e.inputInput(
|
|
1218
|
+
d,
|
|
1219
|
+
typeof l.field == "string" ? l.field : l.field.areaCode
|
|
1220
|
+
),
|
|
1221
|
+
maxlength: l.maxlengthAreaCode || 5,
|
|
1222
|
+
oninput: "value=value.replace(/[^\\d.]/g,'')",
|
|
1223
|
+
modelValue: e.states.model[l.field.areaCode],
|
|
1224
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
|
|
1225
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
1226
|
+
placeholder: ((o = l.areaOptions) == null ? void 0 : o.placeholder) || "",
|
|
1227
|
+
style: t("width:" + l.widthArea),
|
|
1228
|
+
clearable: l.clearable
|
|
1229
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : c("", !0)
|
|
1230
|
+
];
|
|
1231
|
+
}),
|
|
1232
|
+
_: 2
|
|
1233
|
+
}, 1032, ["content", "disabled"]),
|
|
1234
|
+
e.phoneWrap ? c("", !0) : (a(), i("div", te, " - ")),
|
|
1235
|
+
g(x, {
|
|
1236
|
+
"popper-class": "input-tooltip",
|
|
1237
|
+
effect: "light",
|
|
1238
|
+
content: e.states.model[typeof l.field.phoneNumber == "string" ? l.field.phoneNumber : ""],
|
|
1239
|
+
placement: "top",
|
|
1240
|
+
disabled: e.isShowTooltip
|
|
1241
|
+
}, {
|
|
1242
|
+
default: n(() => [
|
|
1243
|
+
l.field.phoneNumber ? (a(), M(h, {
|
|
1244
|
+
key: 0,
|
|
1245
|
+
class: D([
|
|
1246
|
+
"tooltip-input",
|
|
1247
|
+
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1248
|
+
]),
|
|
1249
|
+
id: l.field.phoneNumber,
|
|
1250
|
+
onMouseenter: (o) => e.visibilityChange(l.field.phoneNumber),
|
|
1251
|
+
onBlur: (o) => e.inputBlur(
|
|
1252
|
+
o,
|
|
1253
|
+
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1254
|
+
),
|
|
1255
|
+
onFocus: (o) => e.inputFocus(
|
|
1256
|
+
o,
|
|
1257
|
+
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1258
|
+
),
|
|
1259
|
+
onChange: (o) => e.inputChange(
|
|
1260
|
+
o,
|
|
1261
|
+
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1262
|
+
),
|
|
1263
|
+
onInput: (o) => e.inputInput(
|
|
1264
|
+
o,
|
|
1265
|
+
typeof l.field == "string" ? l.field : l.field.phoneNumber
|
|
1266
|
+
),
|
|
1267
|
+
maxlength: l.maxlength,
|
|
1268
|
+
modelValue: e.states.model[l.field.phoneNumber],
|
|
1269
|
+
"onUpdate:modelValue": (o) => e.states.model[l.field.phoneNumber] = o,
|
|
1270
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
|
|
1271
|
+
placeholder: l.placeholder || "",
|
|
1272
|
+
style: t("width:" + l.widthPhoneNumber),
|
|
1273
|
+
clearable: l.clearable
|
|
1274
|
+
}, null, 8, ["id", "onMouseenter", "onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "style", "clearable"])) : c("", !0)
|
|
1275
|
+
]),
|
|
1276
|
+
_: 2
|
|
1277
|
+
}, 1032, ["content", "disabled"])
|
|
1278
|
+
], 2)
|
|
1279
|
+
]),
|
|
1207
1280
|
_: 2
|
|
1208
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(),
|
|
1281
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), M(f, {
|
|
1209
1282
|
key: 14,
|
|
1210
1283
|
label: l.label
|
|
1211
1284
|
}, {
|
|
@@ -1213,23 +1286,23 @@ function be(g, p, w, e, E, x) {
|
|
|
1213
1286
|
fe
|
|
1214
1287
|
]),
|
|
1215
1288
|
_: 2
|
|
1216
|
-
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(),
|
|
1289
|
+
}, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (a(), M(f, {
|
|
1217
1290
|
key: 15,
|
|
1218
1291
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1219
1292
|
prop: l.field,
|
|
1220
|
-
class:
|
|
1293
|
+
class: D(l.prepend ? "input-item" : "")
|
|
1221
1294
|
}, {
|
|
1222
1295
|
label: n(() => [
|
|
1223
|
-
l.slotLabelName ?
|
|
1296
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
1224
1297
|
key: 0,
|
|
1225
|
-
style:
|
|
1298
|
+
style: t(l.labelStyle)
|
|
1226
1299
|
}, [
|
|
1227
|
-
|
|
1228
|
-
l.required ? (a(),
|
|
1300
|
+
N(y(l.label) + " ", 1),
|
|
1301
|
+
l.required ? (a(), i("span", De, "*")) : c("", !0)
|
|
1229
1302
|
], 4))
|
|
1230
1303
|
]),
|
|
1231
1304
|
default: n(() => [
|
|
1232
|
-
|
|
1305
|
+
g(h, {
|
|
1233
1306
|
onBlur: (o) => e.inputBlur(
|
|
1234
1307
|
o,
|
|
1235
1308
|
typeof l.field == "string" ? l.field : ""
|
|
@@ -1258,45 +1331,45 @@ function be(g, p, w, e, E, x) {
|
|
|
1258
1331
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1259
1332
|
showPassword: l.showPassword,
|
|
1260
1333
|
clearable: l.clearable,
|
|
1261
|
-
class:
|
|
1334
|
+
class: D(
|
|
1262
1335
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1263
1336
|
),
|
|
1264
|
-
onKeyup:
|
|
1265
|
-
},
|
|
1337
|
+
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1338
|
+
}, nl({ _: 2 }, [
|
|
1266
1339
|
l.prepend ? {
|
|
1267
1340
|
name: "prepend",
|
|
1268
1341
|
fn: n(() => [
|
|
1269
|
-
|
|
1342
|
+
N(y(l.prepend), 1)
|
|
1270
1343
|
]),
|
|
1271
1344
|
key: "0"
|
|
1272
1345
|
} : void 0,
|
|
1273
1346
|
l.append ? {
|
|
1274
1347
|
name: "append",
|
|
1275
1348
|
fn: n(() => [
|
|
1276
|
-
|
|
1349
|
+
N(y(l.append), 1)
|
|
1277
1350
|
]),
|
|
1278
1351
|
key: "1"
|
|
1279
1352
|
} : void 0
|
|
1280
1353
|
]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
|
|
1281
1354
|
]),
|
|
1282
1355
|
_: 2
|
|
1283
|
-
}, 1032, ["rules", "prop", "class"])) : (a(),
|
|
1356
|
+
}, 1032, ["rules", "prop", "class"])) : (a(), M(f, {
|
|
1284
1357
|
key: 16,
|
|
1285
1358
|
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
1286
1359
|
prop: l.field,
|
|
1287
|
-
class:
|
|
1360
|
+
class: D(l.prepend ? "input-item" : "")
|
|
1288
1361
|
}, {
|
|
1289
1362
|
label: n(() => [
|
|
1290
|
-
l.slotLabelName ?
|
|
1363
|
+
l.slotLabelName ? j(u.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), i("div", {
|
|
1291
1364
|
key: 0,
|
|
1292
|
-
style:
|
|
1365
|
+
style: t(l.labelStyle)
|
|
1293
1366
|
}, [
|
|
1294
|
-
|
|
1295
|
-
l.required ? (a(),
|
|
1367
|
+
N(y(l.label) + " ", 1),
|
|
1368
|
+
l.required ? (a(), i("span", be, "*")) : c("", !0)
|
|
1296
1369
|
], 4))
|
|
1297
1370
|
]),
|
|
1298
1371
|
default: n(() => [
|
|
1299
|
-
|
|
1372
|
+
g(x, {
|
|
1300
1373
|
"popper-class": "input-tooltip",
|
|
1301
1374
|
effect: "light",
|
|
1302
1375
|
content: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
@@ -1304,8 +1377,8 @@ function be(g, p, w, e, E, x) {
|
|
|
1304
1377
|
disabled: e.isShowTooltip
|
|
1305
1378
|
}, {
|
|
1306
1379
|
default: n(() => [
|
|
1307
|
-
|
|
1308
|
-
class:
|
|
1380
|
+
g(h, {
|
|
1381
|
+
class: D(["tooltip-input", (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""]),
|
|
1309
1382
|
id: l.field,
|
|
1310
1383
|
onMouseenter: (o) => e.visibilityChange(l.field),
|
|
1311
1384
|
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
@@ -1323,19 +1396,19 @@ function be(g, p, w, e, E, x) {
|
|
|
1323
1396
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
1324
1397
|
showPassword: l.showPassword,
|
|
1325
1398
|
clearable: l.clearable,
|
|
1326
|
-
onKeyup:
|
|
1327
|
-
},
|
|
1399
|
+
onKeyup: V((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1400
|
+
}, nl({ _: 2 }, [
|
|
1328
1401
|
l.prepend ? {
|
|
1329
1402
|
name: "prepend",
|
|
1330
1403
|
fn: n(() => [
|
|
1331
|
-
|
|
1404
|
+
N(y(l.prepend), 1)
|
|
1332
1405
|
]),
|
|
1333
1406
|
key: "0"
|
|
1334
1407
|
} : void 0,
|
|
1335
1408
|
l.append ? {
|
|
1336
1409
|
name: "append",
|
|
1337
1410
|
fn: n(() => [
|
|
1338
|
-
|
|
1411
|
+
N(y(l.append), 1)
|
|
1339
1412
|
]),
|
|
1340
1413
|
key: "1"
|
|
1341
1414
|
} : void 0
|
|
@@ -1350,19 +1423,19 @@ function be(g, p, w, e, E, x) {
|
|
|
1350
1423
|
]),
|
|
1351
1424
|
_: 2
|
|
1352
1425
|
}, 1032, ["xs", "sm", "md", "lg", "xl"])), [
|
|
1353
|
-
[
|
|
1426
|
+
[zl, !l.isHide]
|
|
1354
1427
|
])), 128))
|
|
1355
1428
|
]),
|
|
1356
1429
|
_: 3
|
|
1357
1430
|
}),
|
|
1358
|
-
|
|
1431
|
+
g(f, { class: "btnsItem" }, {
|
|
1359
1432
|
default: n(() => [
|
|
1360
|
-
|
|
1361
|
-
model:
|
|
1433
|
+
j(u.$slots, "buttons", {
|
|
1434
|
+
model: z.model,
|
|
1362
1435
|
onBtnClick: e.onSubmit
|
|
1363
1436
|
}, () => [
|
|
1364
|
-
(a(!0),
|
|
1365
|
-
l.isShow ? (a(),
|
|
1437
|
+
(a(!0), i(A, null, k(e.formOptions.btnConfig, (l, Z) => (a(), i("div", { key: Z }, [
|
|
1438
|
+
l.isShow ? (a(), M(H, {
|
|
1366
1439
|
key: 0,
|
|
1367
1440
|
btnCode: l.btnCode,
|
|
1368
1441
|
plain: l.plain,
|
|
@@ -1385,15 +1458,15 @@ function be(g, p, w, e, E, x) {
|
|
|
1385
1458
|
size: l.size,
|
|
1386
1459
|
fontSize: l.fontSize,
|
|
1387
1460
|
fontWeight: l.fontWeight,
|
|
1388
|
-
style:
|
|
1389
|
-
class:
|
|
1461
|
+
style: t(l.style),
|
|
1462
|
+
class: D(l.class),
|
|
1390
1463
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
1391
1464
|
}, {
|
|
1392
1465
|
default: n(() => [
|
|
1393
|
-
|
|
1466
|
+
N(y(l.name), 1)
|
|
1394
1467
|
]),
|
|
1395
1468
|
_: 2
|
|
1396
|
-
}, 1032, ["btnCode", "plain", "primary", "info", "text", "debounced", "link", "loading", "loadingColor", "width", "height", "circle", "color", "bgColor", "borderColor", "borderStyle", "borderWidth", "icon", "size", "fontSize", "fontWeight", "style", "class", "onHandleClick"])) :
|
|
1469
|
+
}, 1032, ["btnCode", "plain", "primary", "info", "text", "debounced", "link", "loading", "loadingColor", "width", "height", "circle", "color", "bgColor", "borderColor", "borderStyle", "borderWidth", "icon", "size", "fontSize", "fontWeight", "style", "class", "onHandleClick"])) : c("", !0)
|
|
1397
1470
|
]))), 128))
|
|
1398
1471
|
], !0)
|
|
1399
1472
|
]),
|
|
@@ -1403,11 +1476,11 @@ function be(g, p, w, e, E, x) {
|
|
|
1403
1476
|
_: 3
|
|
1404
1477
|
}, 16, ["model", "label-position"]);
|
|
1405
1478
|
}
|
|
1406
|
-
const
|
|
1407
|
-
function
|
|
1408
|
-
|
|
1479
|
+
const Ml = /* @__PURE__ */ Rl(Sl, [["render", Ne], ["__scopeId", "data-v-ee2711c4"]]);
|
|
1480
|
+
function m(u, p = {}) {
|
|
1481
|
+
m.installed || (m.installed = !0, u.component("common-el-form", Ml));
|
|
1409
1482
|
}
|
|
1410
|
-
|
|
1483
|
+
Ml.install = m;
|
|
1411
1484
|
export {
|
|
1412
|
-
|
|
1485
|
+
Ml as default
|
|
1413
1486
|
};
|