sinosoft-common-form 1.4.8 → 1.5.0
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 +362 -360
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,123 +1,145 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
const
|
|
1
|
+
import { ref as K, reactive as P, shallowRef as Z, h as G, computed as J, onMounted as X, watch as $, toRefs as ll, nextTick as el, resolveComponent as M, openBlock as a, createBlock as i, mergeProps as ol, withModifiers as al, withCtx as s, createVNode as g, createElementBlock as r, Fragment as A, renderList as k, withDirectives as nl, createElementVNode as C, normalizeStyle as t, toDisplayString as p, createTextVNode as b, createCommentVNode as u, renderSlot as D, normalizeClass as _, withKeys as F, createSlots as dl, vShow as sl, pushScopeId as rl, popScopeId as il } from "vue";
|
|
2
|
+
const yl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==", pl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
5
5
|
type: Array,
|
|
6
|
-
required: !0
|
|
6
|
+
required: !0,
|
|
7
|
+
default: () => ({
|
|
8
|
+
username: "",
|
|
9
|
+
age: 0,
|
|
10
|
+
email: ""
|
|
11
|
+
})
|
|
12
|
+
},
|
|
13
|
+
model: {
|
|
14
|
+
type: Object,
|
|
15
|
+
required: !0,
|
|
16
|
+
default: () => ({
|
|
17
|
+
username: "",
|
|
18
|
+
age: 0,
|
|
19
|
+
email: ""
|
|
20
|
+
})
|
|
7
21
|
},
|
|
8
|
-
model: Object,
|
|
9
22
|
options: Object
|
|
10
23
|
},
|
|
11
|
-
setup(y, { emit:
|
|
12
|
-
const
|
|
24
|
+
setup(y, { emit: f }) {
|
|
25
|
+
const O = K(!0), e = P({
|
|
13
26
|
model: {}
|
|
14
|
-
}),
|
|
27
|
+
}), N = K(null), H = Z({
|
|
15
28
|
render() {
|
|
16
|
-
return
|
|
17
|
-
src:
|
|
29
|
+
return G("img", {
|
|
30
|
+
src: yl
|
|
18
31
|
});
|
|
19
32
|
}
|
|
20
|
-
}),
|
|
33
|
+
}), c = J(() => Object.assign([], y.options)), x = () => {
|
|
21
34
|
e.model = y.model;
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
}, w = (n, d, h) => {
|
|
36
|
+
var R;
|
|
37
|
+
d ? (O.value = !1, el(() => {
|
|
38
|
+
var m;
|
|
39
|
+
(m = N.value) == null || m.validate((Q) => {
|
|
40
|
+
if (Q)
|
|
41
|
+
f(h || "submit", e.model, n);
|
|
42
|
+
else
|
|
43
|
+
return !1;
|
|
26
44
|
});
|
|
27
|
-
})) : (
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
const
|
|
36
|
-
if (
|
|
37
|
-
|
|
45
|
+
})) : (h === "reset" && ((R = N.value) == null || R.resetFields()), f(h || "submit", e.model, n));
|
|
46
|
+
}, I = (n, d) => {
|
|
47
|
+
f("selectChange", n, d);
|
|
48
|
+
}, z = (n, d) => {
|
|
49
|
+
f("radioChange", n, d);
|
|
50
|
+
}, v = (n, d) => {
|
|
51
|
+
f("checkChange", n, d);
|
|
52
|
+
}, V = (n, d) => {
|
|
53
|
+
const h = e.model[d].length;
|
|
54
|
+
if (h === 1) {
|
|
55
|
+
f("checkChange", n, d);
|
|
38
56
|
return;
|
|
39
57
|
} else
|
|
40
|
-
|
|
41
|
-
}, U = (n,
|
|
42
|
-
|
|
43
|
-
}, T = (n,
|
|
44
|
-
n && (
|
|
45
|
-
}, L = (n,
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
console.log(
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
}, l = (n,
|
|
54
|
-
|
|
58
|
+
h > 1 ? (e.model[d].shift(), f("checkChange", n, d)) : h < 1 && f("checkChange", n, d);
|
|
59
|
+
}, U = (n, d, h) => {
|
|
60
|
+
w(n, d, h);
|
|
61
|
+
}, T = (n, d) => {
|
|
62
|
+
n && (d == null ? void 0 : d.key) === "Enter" && w(void 0, !0, "submit");
|
|
63
|
+
}, L = (n, d) => {
|
|
64
|
+
f("dateChange", n, d);
|
|
65
|
+
}, E = (n, d) => {
|
|
66
|
+
console.log(N.value), f("inputBlur", n, d);
|
|
67
|
+
}, S = (n, d) => {
|
|
68
|
+
f("inputFocus", n, d);
|
|
69
|
+
}, B = (n, d) => {
|
|
70
|
+
f("inputChange", n, d);
|
|
71
|
+
}, l = (n, d) => {
|
|
72
|
+
f("inputInput", n, d);
|
|
55
73
|
}, j = (n) => {
|
|
56
|
-
|
|
74
|
+
var d;
|
|
75
|
+
(d = N.value) == null || d.resetFields(n);
|
|
57
76
|
}, o = (n) => {
|
|
58
|
-
|
|
77
|
+
var d;
|
|
78
|
+
(d = N.value) == null || d.clearValidate(n);
|
|
59
79
|
};
|
|
60
|
-
return
|
|
61
|
-
|
|
62
|
-
|
|
80
|
+
return X(() => {
|
|
81
|
+
var n;
|
|
82
|
+
x(), (n = N.value) == null || n.resetFields();
|
|
83
|
+
}), $(
|
|
63
84
|
() => y.fieldList,
|
|
64
|
-
(n,
|
|
65
|
-
n !==
|
|
85
|
+
(n, d) => {
|
|
86
|
+
n !== d && x();
|
|
66
87
|
}
|
|
67
88
|
), {
|
|
68
|
-
...
|
|
69
|
-
formRef:
|
|
89
|
+
...ll(e),
|
|
90
|
+
formRef: N,
|
|
70
91
|
states: e,
|
|
71
|
-
formOptions:
|
|
72
|
-
onSubmit:
|
|
73
|
-
selectChange:
|
|
74
|
-
radioChange:
|
|
75
|
-
checkChange:
|
|
76
|
-
handleCheckedChange:
|
|
77
|
-
prefixIcon:
|
|
92
|
+
formOptions: c,
|
|
93
|
+
onSubmit: w,
|
|
94
|
+
selectChange: I,
|
|
95
|
+
radioChange: z,
|
|
96
|
+
checkChange: v,
|
|
97
|
+
handleCheckedChange: V,
|
|
98
|
+
prefixIcon: H,
|
|
78
99
|
handleClick: U,
|
|
79
100
|
handleKeyUp: T,
|
|
80
101
|
resetFieldsTest: j,
|
|
81
102
|
clearValidateTest: o,
|
|
82
103
|
dateChange: L,
|
|
83
|
-
inputBlur:
|
|
84
|
-
inputFocus:
|
|
85
|
-
inputChange:
|
|
104
|
+
inputBlur: E,
|
|
105
|
+
inputFocus: S,
|
|
106
|
+
inputChange: B,
|
|
86
107
|
inputInput: l,
|
|
87
|
-
noFormRule:
|
|
108
|
+
noFormRule: O
|
|
109
|
+
// spaceRule,
|
|
88
110
|
};
|
|
89
111
|
}
|
|
90
112
|
};
|
|
91
|
-
const
|
|
92
|
-
const
|
|
93
|
-
for (const [e,
|
|
94
|
-
|
|
95
|
-
return
|
|
96
|
-
},
|
|
113
|
+
const cl = (y, f) => {
|
|
114
|
+
const O = y.__vccOpts || y;
|
|
115
|
+
for (const [e, N] of f)
|
|
116
|
+
O[e] = N;
|
|
117
|
+
return O;
|
|
118
|
+
}, q = (y) => (rl("data-v-117e87ec"), y = y(), il(), y), ul = { class: "header-title" }, fl = { class: "title-content" }, tl = {
|
|
97
119
|
key: 0,
|
|
98
120
|
class: "custom-required"
|
|
99
|
-
},
|
|
121
|
+
}, bl = {
|
|
100
122
|
key: 0,
|
|
101
123
|
class: "custom-required"
|
|
102
|
-
},
|
|
124
|
+
}, hl = ["src"], gl = {
|
|
103
125
|
key: 0,
|
|
104
126
|
class: "custom-required"
|
|
105
|
-
},
|
|
127
|
+
}, _l = { class: "lable" }, Ml = { class: "lable_note" }, Dl = {
|
|
106
128
|
key: 0,
|
|
107
129
|
class: "custom-required"
|
|
108
|
-
},
|
|
130
|
+
}, Cl = {
|
|
109
131
|
key: 0,
|
|
110
132
|
class: "custom-required"
|
|
111
|
-
},
|
|
133
|
+
}, Nl = {
|
|
112
134
|
key: 0,
|
|
113
135
|
class: "custom-required"
|
|
114
|
-
},
|
|
136
|
+
}, Al = {
|
|
115
137
|
key: 0,
|
|
116
138
|
class: "custom-required"
|
|
117
|
-
},
|
|
139
|
+
}, kl = {
|
|
118
140
|
key: 0,
|
|
119
141
|
class: "custom-required"
|
|
120
|
-
},
|
|
142
|
+
}, Ol = {
|
|
121
143
|
key: 0,
|
|
122
144
|
class: "date_to"
|
|
123
145
|
}, xl = {
|
|
@@ -126,31 +148,31 @@ const yl = (y, t) => {
|
|
|
126
148
|
}, wl = {
|
|
127
149
|
key: 0,
|
|
128
150
|
class: "custom-required"
|
|
129
|
-
},
|
|
151
|
+
}, Rl = {
|
|
130
152
|
key: 0,
|
|
131
153
|
class: "custom-required"
|
|
132
|
-
}, Il = { class: "phone_item_content" },
|
|
154
|
+
}, Il = { class: "phone_item_content" }, Vl = /* @__PURE__ */ q(() => /* @__PURE__ */ C("div", { class: "line_middle" }, " - ", -1)), Ul = /* @__PURE__ */ q(() => /* @__PURE__ */ C("div", { class: "line_middle" }, " - ", -1)), jl = /* @__PURE__ */ q(() => /* @__PURE__ */ C("div", {
|
|
133
155
|
class: "line",
|
|
134
156
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
135
|
-
}, null, -1)),
|
|
157
|
+
}, null, -1)), Fl = {
|
|
136
158
|
key: 0,
|
|
137
159
|
class: "custom-required"
|
|
138
160
|
};
|
|
139
|
-
function
|
|
140
|
-
const
|
|
141
|
-
return
|
|
161
|
+
function zl(y, f, O, e, N, H) {
|
|
162
|
+
const c = M("el-form-item"), x = M("el-input"), w = M("el-radio"), I = M("el-radio-group"), z = M("el-checkbox"), v = M("el-checkbox-group"), V = M("el-option"), U = M("el-select"), T = M("el-date-picker"), L = M("el-col"), E = M("el-row"), S = M("sinosoft-common-button"), B = M("el-form");
|
|
163
|
+
return a(), i(B, ol({
|
|
142
164
|
"hide-required-asterisk": "",
|
|
143
|
-
onSubmit:
|
|
165
|
+
onSubmit: f[0] || (f[0] = al(() => {
|
|
144
166
|
}, ["prevent"])),
|
|
145
|
-
model:
|
|
167
|
+
model: O.model
|
|
146
168
|
}, e.formOptions, {
|
|
147
169
|
"label-position": e.formOptions.labelPosition,
|
|
148
170
|
ref: "formRef"
|
|
149
171
|
}), {
|
|
150
172
|
default: s(() => [
|
|
151
|
-
|
|
173
|
+
g(E, { gutter: 20 }, {
|
|
152
174
|
default: s(() => [
|
|
153
|
-
(
|
|
175
|
+
(a(!0), r(A, null, k(O.fieldList, (l, j) => nl((a(), i(L, {
|
|
154
176
|
xs: l.xs ? l.xs : 24,
|
|
155
177
|
sm: l.sm ? l.sm : 24,
|
|
156
178
|
md: l.md ? l.md : 8,
|
|
@@ -159,44 +181,45 @@ function jl(y, t, A, e, k, q) {
|
|
|
159
181
|
key: j
|
|
160
182
|
}, {
|
|
161
183
|
default: s(() => [
|
|
162
|
-
|
|
163
|
-
style:
|
|
184
|
+
C("div", {
|
|
185
|
+
style: t(l.style)
|
|
164
186
|
}, [
|
|
165
|
-
l.type === "title" ? (
|
|
187
|
+
l.type === "title" ? (a(), i(c, { key: 0 }, {
|
|
166
188
|
default: s(() => [
|
|
167
|
-
|
|
168
|
-
|
|
189
|
+
C("div", ul, [
|
|
190
|
+
C("span", fl, p(l.title), 1)
|
|
169
191
|
])
|
|
170
192
|
]),
|
|
171
193
|
_: 2
|
|
172
|
-
}, 1024)) : l.type === "name" ? (
|
|
194
|
+
}, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), i(c, {
|
|
173
195
|
key: 1,
|
|
174
196
|
label: l.label,
|
|
175
197
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
176
198
|
class: "container_name"
|
|
177
199
|
}, {
|
|
178
200
|
label: s(() => [
|
|
179
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
201
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
180
202
|
key: 0,
|
|
181
|
-
style:
|
|
203
|
+
style: t(l.labelStyle)
|
|
182
204
|
}, [
|
|
183
|
-
|
|
184
|
-
l.required ? (
|
|
205
|
+
b(p(l.label) + " ", 1),
|
|
206
|
+
l.required ? (a(), r("span", tl, "*")) : u("", !0)
|
|
185
207
|
], 4))
|
|
186
208
|
]),
|
|
187
209
|
default: s(() => [
|
|
188
|
-
i(
|
|
189
|
-
|
|
210
|
+
l.field.nameEnFamily ? (a(), i(c, {
|
|
211
|
+
key: 0,
|
|
212
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
|
|
190
213
|
prop: l.field.nameEnFamily,
|
|
191
214
|
class: "item-name"
|
|
192
215
|
}, {
|
|
193
216
|
default: s(() => [
|
|
194
|
-
|
|
217
|
+
g(x, {
|
|
195
218
|
onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
|
|
196
219
|
onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
|
|
197
220
|
onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
|
|
198
221
|
onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
|
|
199
|
-
class:
|
|
222
|
+
class: _((l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
|
|
200
223
|
maxlength: l.maxlengthNameEnFamily,
|
|
201
224
|
modelValue: e.states.model[l.field.nameEnFamily],
|
|
202
225
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEnFamily] = o,
|
|
@@ -204,18 +227,19 @@ function jl(y, t, A, e, k, q) {
|
|
|
204
227
|
type: l.type ? l.type : "text",
|
|
205
228
|
placeholder: l.placeholderNameEnFamily,
|
|
206
229
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
207
|
-
onKeyup:
|
|
230
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
208
231
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
209
232
|
]),
|
|
210
233
|
_: 2
|
|
211
|
-
}, 1032, ["rules", "prop"]),
|
|
212
|
-
i(
|
|
213
|
-
|
|
234
|
+
}, 1032, ["rules", "prop"])) : u("", !0),
|
|
235
|
+
l.field.nameEn ? (a(), i(c, {
|
|
236
|
+
key: 1,
|
|
237
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
|
|
214
238
|
prop: l.field.nameEn,
|
|
215
239
|
class: "item-name-right"
|
|
216
240
|
}, {
|
|
217
241
|
default: s(() => [
|
|
218
|
-
|
|
242
|
+
g(x, {
|
|
219
243
|
onBlur: (o) => e.inputBlur(o, l.field.nameEn),
|
|
220
244
|
onFocus: (o) => e.inputFocus(o, l.field.nameEn),
|
|
221
245
|
onChange: (o) => e.inputChange(o, l.field.nameEn),
|
|
@@ -223,52 +247,54 @@ function jl(y, t, A, e, k, q) {
|
|
|
223
247
|
maxlength: l.maxlengthNameEn,
|
|
224
248
|
modelValue: e.states.model[l.field.nameEn],
|
|
225
249
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
|
|
226
|
-
class:
|
|
250
|
+
class: _((l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
|
|
227
251
|
readonly: l.readonly,
|
|
228
252
|
type: l.type ? l.type : "text",
|
|
229
253
|
placeholder: l.placeholderNameEn,
|
|
230
254
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
231
|
-
onKeyup:
|
|
255
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
232
256
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
233
257
|
]),
|
|
234
258
|
_: 2
|
|
235
|
-
}, 1032, ["rules", "prop"]),
|
|
236
|
-
i(
|
|
237
|
-
|
|
259
|
+
}, 1032, ["rules", "prop"])) : u("", !0),
|
|
260
|
+
l.field.nameChFamily ? (a(), i(c, {
|
|
261
|
+
key: 2,
|
|
262
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
|
|
238
263
|
prop: l.field.nameChFamily,
|
|
239
264
|
class: "item-name item-name-bottom"
|
|
240
265
|
}, {
|
|
241
266
|
default: s(() => [
|
|
242
|
-
|
|
267
|
+
g(x, {
|
|
243
268
|
onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
|
|
244
269
|
onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
|
|
245
270
|
onChange: (o) => e.inputChange(o, l.field.nameChFamily),
|
|
246
|
-
onInput: (o) => e.inputInput(o, l.field.
|
|
271
|
+
onInput: (o) => e.inputInput(o, "nameChFamily" in l.field ? l.field.nameCh : ""),
|
|
247
272
|
maxlength: l.maxlengthNameChFamily,
|
|
248
|
-
class:
|
|
273
|
+
class: _((l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
|
|
249
274
|
modelValue: e.states.model[l.field.nameChFamily],
|
|
250
275
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameChFamily] = o,
|
|
251
276
|
readonly: l.readonly,
|
|
252
277
|
type: l.type ? l.type : "text",
|
|
253
278
|
placeholder: l.placeholderNameChFamily,
|
|
254
279
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
255
|
-
onKeyup:
|
|
280
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
256
281
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
257
282
|
]),
|
|
258
283
|
_: 2
|
|
259
|
-
}, 1032, ["rules", "prop"]),
|
|
260
|
-
i(
|
|
261
|
-
|
|
284
|
+
}, 1032, ["rules", "prop"])) : u("", !0),
|
|
285
|
+
l.field.nameCh ? (a(), i(c, {
|
|
286
|
+
key: 3,
|
|
287
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
|
|
262
288
|
prop: l.field.nameCh,
|
|
263
289
|
class: "item-name-right item-name-bottom"
|
|
264
290
|
}, {
|
|
265
291
|
default: s(() => [
|
|
266
|
-
|
|
292
|
+
g(x, {
|
|
267
293
|
onBlur: (o) => e.inputBlur(o, l.field.nameCh),
|
|
268
294
|
onFocus: (o) => e.inputFocus(o, l.field.nameCh),
|
|
269
295
|
onChange: (o) => e.inputChange(o, l.field.nameCh),
|
|
270
296
|
onInput: (o) => e.inputInput(o, l.field.nameCh),
|
|
271
|
-
class:
|
|
297
|
+
class: _((l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
|
|
272
298
|
maxlength: l.maxlengthNameCh,
|
|
273
299
|
modelValue: e.states.model[l.field.nameCh],
|
|
274
300
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nameCh] = o,
|
|
@@ -276,30 +302,31 @@ function jl(y, t, A, e, k, q) {
|
|
|
276
302
|
type: l.type ? l.type : "text",
|
|
277
303
|
placeholder: l.placeholderNameCh,
|
|
278
304
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
279
|
-
onKeyup:
|
|
305
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
280
306
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
281
307
|
]),
|
|
282
308
|
_: 2
|
|
283
|
-
}, 1032, ["rules", "prop"])
|
|
309
|
+
}, 1032, ["rules", "prop"])) : u("", !0)
|
|
284
310
|
]),
|
|
285
311
|
_: 2
|
|
286
|
-
}, 1032, ["label", "disabled"])) : l.type === "gender" ? (
|
|
312
|
+
}, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), i(c, {
|
|
287
313
|
key: 2,
|
|
288
314
|
label: l.label,
|
|
289
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules,
|
|
290
|
-
prop: l.field
|
|
315
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
316
|
+
prop: l.field,
|
|
317
|
+
class: "radio_row"
|
|
291
318
|
}, {
|
|
292
319
|
label: s(() => [
|
|
293
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
320
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
294
321
|
key: 0,
|
|
295
|
-
style:
|
|
322
|
+
style: t(l.labelStyle)
|
|
296
323
|
}, [
|
|
297
|
-
|
|
298
|
-
l.required ? (
|
|
324
|
+
b(p(l.label) + " ", 1),
|
|
325
|
+
l.required ? (a(), r("span", bl, "*")) : u("", !0)
|
|
299
326
|
], 4))
|
|
300
327
|
]),
|
|
301
328
|
default: s(() => [
|
|
302
|
-
|
|
329
|
+
g(I, {
|
|
303
330
|
modelValue: e.states.model[l.field],
|
|
304
331
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
305
332
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -308,299 +335,271 @@ function jl(y, t, A, e, k, q) {
|
|
|
308
335
|
default: s(() => {
|
|
309
336
|
var o;
|
|
310
337
|
return [
|
|
311
|
-
(
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
_: 2
|
|
326
|
-
}, 1032, ["label"]);
|
|
327
|
-
}), 128))
|
|
338
|
+
(a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(w, {
|
|
339
|
+
label: n.code,
|
|
340
|
+
size: "large",
|
|
341
|
+
key: n.code
|
|
342
|
+
}, {
|
|
343
|
+
default: s(() => [
|
|
344
|
+
C("img", {
|
|
345
|
+
src: n.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
346
|
+
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
347
|
+
alt: ""
|
|
348
|
+
}, null, 8, hl)
|
|
349
|
+
]),
|
|
350
|
+
_: 2
|
|
351
|
+
}, 1032, ["label"]))), 128))
|
|
328
352
|
];
|
|
329
353
|
}),
|
|
330
354
|
_: 2
|
|
331
355
|
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
|
|
332
356
|
]),
|
|
333
357
|
_: 2
|
|
334
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" ? (
|
|
358
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), i(c, {
|
|
335
359
|
key: 3,
|
|
336
360
|
label: l.label,
|
|
337
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules,
|
|
361
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
338
362
|
prop: l.field,
|
|
339
|
-
class:
|
|
363
|
+
class: _([l.labelNode ? "radio_Note" : "rule_err"])
|
|
340
364
|
}, {
|
|
341
365
|
label: s(() => [
|
|
342
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
366
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
343
367
|
key: 0,
|
|
344
|
-
style:
|
|
368
|
+
style: t(l.labelStyle)
|
|
345
369
|
}, [
|
|
346
|
-
|
|
347
|
-
l.required ? (
|
|
370
|
+
b(p(l.label) + " ", 1),
|
|
371
|
+
l.required ? (a(), r("span", gl, "*")) : u("", !0)
|
|
348
372
|
], 4))
|
|
349
373
|
]),
|
|
350
374
|
default: s(() => [
|
|
351
|
-
|
|
375
|
+
g(I, {
|
|
352
376
|
modelValue: e.states.model[l.field],
|
|
353
377
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
354
378
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
355
379
|
onChange: (o) => e.radioChange(o, l.field),
|
|
356
|
-
style:
|
|
380
|
+
style: t(
|
|
357
381
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
358
|
-
)
|
|
382
|
+
),
|
|
383
|
+
class: _(l.ways !== "column" ? "radio_row" : "")
|
|
359
384
|
}, {
|
|
360
385
|
default: s(() => {
|
|
361
386
|
var o;
|
|
362
387
|
return [
|
|
363
|
-
(
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
g(p(n[((f = l.options) == null ? void 0 : f.labelkey) || "name"]), 1)
|
|
374
|
-
];
|
|
375
|
-
}),
|
|
376
|
-
_: 2
|
|
377
|
-
}, 1032, ["label"]);
|
|
378
|
-
}), 128))
|
|
388
|
+
(a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(w, {
|
|
389
|
+
size: "large",
|
|
390
|
+
label: n.code,
|
|
391
|
+
key: n.code
|
|
392
|
+
}, {
|
|
393
|
+
default: s(() => [
|
|
394
|
+
b(p(n.name), 1)
|
|
395
|
+
]),
|
|
396
|
+
_: 2
|
|
397
|
+
}, 1032, ["label"]))), 128))
|
|
379
398
|
];
|
|
380
399
|
}),
|
|
381
400
|
_: 2
|
|
382
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style"])
|
|
401
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
383
402
|
]),
|
|
384
403
|
_: 2
|
|
385
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" ? (
|
|
404
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), i(c, {
|
|
386
405
|
key: 4,
|
|
387
406
|
label: l.label,
|
|
388
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules,
|
|
407
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
389
408
|
prop: l.field,
|
|
390
|
-
class:
|
|
409
|
+
class: _([l.labelNode ? "radio_Note" : "rule_err"])
|
|
391
410
|
}, {
|
|
392
411
|
default: s(() => [
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
l.required ? (
|
|
412
|
+
C("div", null, [
|
|
413
|
+
C("span", _l, p(l.labelBefore), 1),
|
|
414
|
+
C("span", Ml, p(l.labelNode), 1),
|
|
415
|
+
l.required ? (a(), r("span", Dl, "*")) : u("", !0)
|
|
397
416
|
]),
|
|
398
|
-
|
|
417
|
+
g(I, {
|
|
399
418
|
modelValue: e.states.model[l.field],
|
|
400
419
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
401
420
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
402
421
|
onChange: (o) => e.radioChange(o, l.field),
|
|
403
|
-
style:
|
|
422
|
+
style: t(
|
|
404
423
|
l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
|
|
405
|
-
)
|
|
424
|
+
),
|
|
425
|
+
class: _(l.ways !== "column" ? "radio_row" : "")
|
|
406
426
|
}, {
|
|
407
427
|
default: s(() => {
|
|
408
428
|
var o;
|
|
409
429
|
return [
|
|
410
|
-
(
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
g(p(n[((f = l.options) == null ? void 0 : f.labelkey) || "name"]), 1)
|
|
421
|
-
];
|
|
422
|
-
}),
|
|
423
|
-
_: 2
|
|
424
|
-
}, 1032, ["label"]);
|
|
425
|
-
}), 128))
|
|
430
|
+
(a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(w, {
|
|
431
|
+
size: "large",
|
|
432
|
+
label: n.code,
|
|
433
|
+
key: n.code
|
|
434
|
+
}, {
|
|
435
|
+
default: s(() => [
|
|
436
|
+
b(p(n.name), 1)
|
|
437
|
+
]),
|
|
438
|
+
_: 2
|
|
439
|
+
}, 1032, ["label"]))), 128))
|
|
426
440
|
];
|
|
427
441
|
}),
|
|
428
442
|
_: 2
|
|
429
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style"])
|
|
443
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
|
|
430
444
|
]),
|
|
431
445
|
_: 2
|
|
432
|
-
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" ? (
|
|
446
|
+
}, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), i(c, {
|
|
433
447
|
key: 5,
|
|
434
448
|
label: l.label,
|
|
435
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules,
|
|
449
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
436
450
|
prop: l.field
|
|
437
451
|
}, {
|
|
438
452
|
label: s(() => [
|
|
439
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
453
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
440
454
|
key: 0,
|
|
441
|
-
style:
|
|
455
|
+
style: t(l.labelStyle)
|
|
442
456
|
}, [
|
|
443
|
-
|
|
444
|
-
l.required ? (
|
|
457
|
+
b(p(l.label) + " ", 1),
|
|
458
|
+
l.required ? (a(), r("span", Cl, "*")) : u("", !0)
|
|
445
459
|
], 4))
|
|
446
460
|
]),
|
|
447
461
|
default: s(() => [
|
|
448
|
-
|
|
462
|
+
g(v, {
|
|
449
463
|
modelValue: e.states.model[l.field],
|
|
450
464
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
451
465
|
onChange: (o) => e.checkChange(o, l.field),
|
|
452
466
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
453
|
-
style:
|
|
467
|
+
style: t(
|
|
454
468
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
455
469
|
)
|
|
456
470
|
}, {
|
|
457
471
|
default: s(() => {
|
|
458
472
|
var o;
|
|
459
473
|
return [
|
|
460
|
-
(
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
g(p(n[((f = l.options) == null ? void 0 : f.labelkey) || "name"]), 1)
|
|
470
|
-
];
|
|
471
|
-
}),
|
|
472
|
-
_: 2
|
|
473
|
-
}, 1032, ["label"]);
|
|
474
|
-
}), 128))
|
|
474
|
+
(a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(z, {
|
|
475
|
+
key: n.code,
|
|
476
|
+
label: n.code
|
|
477
|
+
}, {
|
|
478
|
+
default: s(() => [
|
|
479
|
+
b(p(n.name), 1)
|
|
480
|
+
]),
|
|
481
|
+
_: 2
|
|
482
|
+
}, 1032, ["label"]))), 128))
|
|
475
483
|
];
|
|
476
484
|
}),
|
|
477
485
|
_: 2
|
|
478
486
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
479
487
|
]),
|
|
480
488
|
_: 2
|
|
481
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" ? (
|
|
489
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), i(c, {
|
|
482
490
|
key: 6,
|
|
483
491
|
label: l.label,
|
|
484
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules,
|
|
492
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
485
493
|
prop: l.field
|
|
486
494
|
}, {
|
|
487
495
|
label: s(() => [
|
|
488
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
496
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
489
497
|
key: 0,
|
|
490
|
-
style:
|
|
498
|
+
style: t(l.labelStyle)
|
|
491
499
|
}, [
|
|
492
|
-
|
|
493
|
-
l.required ? (
|
|
500
|
+
b(p(l.label) + " ", 1),
|
|
501
|
+
l.required ? (a(), r("span", Nl, "*")) : u("", !0)
|
|
494
502
|
], 4))
|
|
495
503
|
]),
|
|
496
504
|
default: s(() => [
|
|
497
|
-
|
|
505
|
+
g(v, {
|
|
498
506
|
modelValue: e.states.model[l.field],
|
|
499
507
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
500
508
|
onChange: (o) => e.handleCheckedChange(o, l.field),
|
|
501
509
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
502
|
-
style:
|
|
510
|
+
style: t(
|
|
503
511
|
l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
|
|
504
512
|
)
|
|
505
513
|
}, {
|
|
506
514
|
default: s(() => {
|
|
507
515
|
var o;
|
|
508
516
|
return [
|
|
509
|
-
(
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
g(p(n[((f = l.options) == null ? void 0 : f.labelkey) || "name"]), 1)
|
|
519
|
-
];
|
|
520
|
-
}),
|
|
521
|
-
_: 2
|
|
522
|
-
}, 1032, ["label"]);
|
|
523
|
-
}), 128))
|
|
517
|
+
(a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(z, {
|
|
518
|
+
key: n.code,
|
|
519
|
+
label: n.code
|
|
520
|
+
}, {
|
|
521
|
+
default: s(() => [
|
|
522
|
+
b(p(n.name), 1)
|
|
523
|
+
]),
|
|
524
|
+
_: 2
|
|
525
|
+
}, 1032, ["label"]))), 128))
|
|
524
526
|
];
|
|
525
527
|
}),
|
|
526
528
|
_: 2
|
|
527
529
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
|
|
528
530
|
]),
|
|
529
531
|
_: 2
|
|
530
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "select" ? (
|
|
532
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "select" && typeof l.field == "string" ? (a(), i(c, {
|
|
531
533
|
key: 7,
|
|
532
534
|
label: l.label,
|
|
533
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules,
|
|
535
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
534
536
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
535
537
|
prop: l.field
|
|
536
538
|
}, {
|
|
537
539
|
label: s(() => [
|
|
538
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
540
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
539
541
|
key: 0,
|
|
540
|
-
style:
|
|
542
|
+
style: t(l.labelStyle)
|
|
541
543
|
}, [
|
|
542
|
-
|
|
543
|
-
l.required ? (
|
|
544
|
+
b(p(l.label) + " ", 1),
|
|
545
|
+
l.required ? (a(), r("span", Al, "*")) : u("", !0)
|
|
544
546
|
], 4))
|
|
545
547
|
]),
|
|
546
548
|
default: s(() => [
|
|
547
|
-
|
|
549
|
+
g(U, {
|
|
548
550
|
"popper-class": "selectTriangles",
|
|
549
551
|
teleported: !1,
|
|
550
|
-
onChange: (o) => e.selectChange(o, l.field),
|
|
551
552
|
modelValue: e.states.model[l.field],
|
|
552
553
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
554
|
+
onChange: (o) => e.selectChange(o, l.field),
|
|
553
555
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
554
556
|
placeholder: l.placeholder,
|
|
555
|
-
class:
|
|
557
|
+
class: _((l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""),
|
|
556
558
|
clearable: l.clearable,
|
|
557
559
|
"fit-input-width": !0
|
|
558
560
|
}, {
|
|
559
561
|
default: s(() => {
|
|
560
562
|
var o;
|
|
561
563
|
return [
|
|
562
|
-
(
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
value: n[((f = l.options) == null ? void 0 : f.valueKey) || "code"]
|
|
568
|
-
}, null, 8, ["label", "value"]);
|
|
569
|
-
}), 128))
|
|
564
|
+
(a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(V, {
|
|
565
|
+
key: n.code,
|
|
566
|
+
label: n.name,
|
|
567
|
+
value: n.code
|
|
568
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
570
569
|
];
|
|
571
570
|
}),
|
|
572
571
|
_: 2
|
|
573
|
-
}, 1032, ["
|
|
574
|
-
|
|
572
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "placeholder", "class", "clearable"]),
|
|
573
|
+
C("div", {
|
|
575
574
|
class: "item_tips_blow",
|
|
576
|
-
style:
|
|
575
|
+
style: t(l.tipsBlowStyle)
|
|
577
576
|
}, p(l.tipsBlow), 5)
|
|
578
577
|
]),
|
|
579
578
|
_: 2
|
|
580
|
-
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" ? (
|
|
579
|
+
}, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), i(c, {
|
|
581
580
|
key: 8,
|
|
582
581
|
label: l.label,
|
|
583
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules,
|
|
582
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
584
583
|
prop: l.field,
|
|
585
584
|
class: "date_item"
|
|
586
585
|
}, {
|
|
587
586
|
label: s(() => [
|
|
588
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
587
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
589
588
|
key: 0,
|
|
590
|
-
style:
|
|
589
|
+
style: t(l.labelStyle)
|
|
591
590
|
}, [
|
|
592
|
-
|
|
593
|
-
l.required ? (
|
|
591
|
+
b(p(l.label) + " ", 1),
|
|
592
|
+
l.required ? (a(), r("span", kl, "*")) : u("", !0)
|
|
594
593
|
], 4))
|
|
595
594
|
]),
|
|
596
595
|
default: s(() => [
|
|
597
|
-
|
|
596
|
+
g(T, {
|
|
598
597
|
"popper-class": "selectTriangles",
|
|
599
598
|
teleported: !1,
|
|
600
599
|
format: "DD/MM/YYYY",
|
|
601
600
|
"value-format": "DD/MM/YYYY",
|
|
602
601
|
"disabled-date": l.disabledDate,
|
|
603
|
-
onChange: (o) => e.dateChange(o, l.field),
|
|
602
|
+
onChange: (o) => e.dateChange(o, typeof l.field == "string" ? l.field : ""),
|
|
604
603
|
"prefix-icon": e.prefixIcon,
|
|
605
604
|
modelValue: e.states.model[l.field],
|
|
606
605
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
@@ -609,32 +608,32 @@ function jl(y, t, A, e, k, q) {
|
|
|
609
608
|
type: l.type,
|
|
610
609
|
placeholder: l.placeholder || l.label
|
|
611
610
|
}, null, 8, ["disabled-date", "onChange", "prefix-icon", "modelValue", "onUpdate:modelValue", "disabled", "readonly", "type", "placeholder"]),
|
|
612
|
-
l.showTo ? (
|
|
611
|
+
l.showTo ? (a(), r("span", Ol, p(l.showTo), 1)) : u("", !0)
|
|
613
612
|
]),
|
|
614
613
|
_: 2
|
|
615
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" ? (
|
|
614
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(c, {
|
|
616
615
|
key: 9,
|
|
617
616
|
label: l.label,
|
|
618
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules,
|
|
617
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
619
618
|
prop: l.field
|
|
620
619
|
}, {
|
|
621
620
|
label: s(() => [
|
|
622
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
621
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
623
622
|
key: 0,
|
|
624
|
-
style:
|
|
623
|
+
style: t(l.labelStyle)
|
|
625
624
|
}, [
|
|
626
|
-
|
|
627
|
-
l.required ? (
|
|
625
|
+
b(p(l.label) + " ", 1),
|
|
626
|
+
l.required ? (a(), r("span", xl, "*")) : u("", !0)
|
|
628
627
|
], 4))
|
|
629
628
|
]),
|
|
630
629
|
default: s(() => [
|
|
631
|
-
|
|
630
|
+
g(T, {
|
|
632
631
|
"popper-class": "selectTriangles",
|
|
633
632
|
teleported: !1,
|
|
634
633
|
format: "DD/MM/YYYY",
|
|
635
634
|
"value-format": "DD/MM/YYYY",
|
|
636
635
|
"disabled-date": l.disabledDate,
|
|
637
|
-
onChange: (o) => e.dateChange(o, l.field),
|
|
636
|
+
onChange: (o) => e.dateChange(o, typeof l.field == "string" ? l.field : ""),
|
|
638
637
|
modelValue: e.states.model[l.field],
|
|
639
638
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
640
639
|
"prefix-icon": e.prefixIcon,
|
|
@@ -646,143 +645,146 @@ function jl(y, t, A, e, k, q) {
|
|
|
646
645
|
}, null, 8, ["disabled-date", "onChange", "modelValue", "onUpdate:modelValue", "prefix-icon", "start-placeholder", "end-placeholder"])
|
|
647
646
|
]),
|
|
648
647
|
_: 2
|
|
649
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (
|
|
648
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" && typeof l.field == "string" ? (a(), i(c, {
|
|
650
649
|
key: 10,
|
|
651
650
|
label: l.label,
|
|
652
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules,
|
|
651
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
653
652
|
prop: l.field,
|
|
654
653
|
class: "rule_err"
|
|
655
654
|
}, {
|
|
656
655
|
label: s(() => [
|
|
657
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
656
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
658
657
|
key: 0,
|
|
659
|
-
style:
|
|
658
|
+
style: t(l.labelStyle)
|
|
660
659
|
}, [
|
|
661
|
-
|
|
662
|
-
l.required ? (
|
|
660
|
+
b(p(l.label) + " ", 1),
|
|
661
|
+
l.required ? (a(), r("span", wl, "*")) : u("", !0)
|
|
663
662
|
], 4))
|
|
664
663
|
]),
|
|
665
664
|
default: s(() => [
|
|
666
665
|
D(y.$slots, l.slotItemName, {}, void 0, !0)
|
|
667
666
|
]),
|
|
668
667
|
_: 2
|
|
669
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "phone" ? (
|
|
668
|
+
}, 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(c, {
|
|
670
669
|
key: 11,
|
|
671
670
|
label: l.label,
|
|
672
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules.phoneNumber,
|
|
671
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
|
|
673
672
|
prop: l.field.phoneNumber,
|
|
674
673
|
class: "phone_item"
|
|
675
674
|
}, {
|
|
676
675
|
label: s(() => [
|
|
677
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
676
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
678
677
|
key: 0,
|
|
679
|
-
style:
|
|
678
|
+
style: t(l.labelStyle)
|
|
680
679
|
}, [
|
|
681
|
-
|
|
682
|
-
l.required ? (
|
|
680
|
+
b(p(l.label) + " ", 1),
|
|
681
|
+
l.required ? (a(), r("span", Rl, "*")) : u("", !0)
|
|
683
682
|
], 4))
|
|
684
683
|
]),
|
|
685
684
|
default: s(() => {
|
|
686
685
|
var o, n;
|
|
687
686
|
return [
|
|
688
|
-
|
|
689
|
-
i(U, {
|
|
687
|
+
C("div", Il, [
|
|
688
|
+
l.field.nationCode ? (a(), i(U, {
|
|
689
|
+
key: 0,
|
|
690
690
|
"popper-class": "selectTriangles",
|
|
691
691
|
teleported: !1,
|
|
692
|
-
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
692
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
693
693
|
modelValue: e.states.model[l.field.nationCode],
|
|
694
|
-
"onUpdate:modelValue": (
|
|
694
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
|
|
695
695
|
placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
|
|
696
|
-
class:
|
|
697
|
-
style:
|
|
696
|
+
class: _((l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""),
|
|
697
|
+
style: t("width:" + l.widthNation),
|
|
698
698
|
"fit-input-width": !0
|
|
699
699
|
}, {
|
|
700
700
|
default: s(() => {
|
|
701
|
-
var
|
|
701
|
+
var d;
|
|
702
702
|
return [
|
|
703
|
-
(
|
|
704
|
-
label:
|
|
705
|
-
value:
|
|
706
|
-
key:
|
|
703
|
+
(a(!0), r(A, null, k((d = l.nationOptions) == null ? void 0 : d.data, (h, R) => (a(), i(V, {
|
|
704
|
+
label: h.name,
|
|
705
|
+
value: h.code,
|
|
706
|
+
key: R
|
|
707
707
|
}, null, 8, ["label", "value"]))), 128))
|
|
708
708
|
];
|
|
709
709
|
}),
|
|
710
710
|
_: 2
|
|
711
|
-
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"]),
|
|
712
|
-
|
|
713
|
-
i(U, {
|
|
711
|
+
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : u("", !0),
|
|
712
|
+
Vl,
|
|
713
|
+
l.field.areaCode ? (a(), i(U, {
|
|
714
|
+
key: 1,
|
|
714
715
|
"popper-class": "selectTriangles",
|
|
715
716
|
teleported: !1,
|
|
716
|
-
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
717
|
+
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
717
718
|
modelValue: e.states.model[l.field.areaCode],
|
|
718
|
-
"onUpdate:modelValue": (
|
|
719
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
|
|
719
720
|
placeholder: ((n = l.areaOptions) == null ? void 0 : n.placeholder) || "",
|
|
720
|
-
class:
|
|
721
|
-
style:
|
|
721
|
+
class: _((l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_select"),
|
|
722
|
+
style: t("width:" + l.widthArea),
|
|
722
723
|
"fit-input-width": !0
|
|
723
724
|
}, {
|
|
724
725
|
default: s(() => {
|
|
725
|
-
var
|
|
726
|
+
var d;
|
|
726
727
|
return [
|
|
727
|
-
(
|
|
728
|
-
label:
|
|
729
|
-
value:
|
|
730
|
-
key:
|
|
728
|
+
(a(!0), r(A, null, k((d = l.areaOptions) == null ? void 0 : d.data, (h, R) => (a(), i(V, {
|
|
729
|
+
label: h.name,
|
|
730
|
+
value: h.code,
|
|
731
|
+
key: R
|
|
731
732
|
}, null, 8, ["label", "value"]))), 128))
|
|
732
733
|
];
|
|
733
734
|
}),
|
|
734
735
|
_: 2
|
|
735
|
-
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"]),
|
|
736
|
-
|
|
737
|
-
i(
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
736
|
+
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : u("", !0),
|
|
737
|
+
Ul,
|
|
738
|
+
l.field.phoneNumber ? (a(), i(x, {
|
|
739
|
+
key: 2,
|
|
740
|
+
onBlur: (d) => e.inputBlur(d, typeof l.field == "string" ? l.field : ""),
|
|
741
|
+
onFocus: (d) => e.inputFocus(d, typeof l.field == "string" ? l.field : ""),
|
|
742
|
+
onChange: (d) => e.inputChange(d, typeof l.field == "string" ? l.field : ""),
|
|
743
|
+
onInput: (d) => e.inputInput(d, typeof l.field == "string" ? l.field : ""),
|
|
742
744
|
maxlength: l.maxlength,
|
|
743
745
|
modelValue: e.states.model[l.field.phoneNumber],
|
|
744
|
-
"onUpdate:modelValue": (
|
|
746
|
+
"onUpdate:modelValue": (d) => e.states.model[l.field.phoneNumber] = d,
|
|
745
747
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
746
748
|
placeholder: l.placeholder || "",
|
|
747
|
-
class:
|
|
749
|
+
class: _((l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
|
|
748
750
|
clearable: l.clearable
|
|
749
|
-
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])
|
|
751
|
+
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : u("", !0)
|
|
750
752
|
])
|
|
751
753
|
];
|
|
752
754
|
}),
|
|
753
755
|
_: 2
|
|
754
|
-
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (
|
|
756
|
+
}, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(c, {
|
|
755
757
|
key: 12,
|
|
756
758
|
label: l.label
|
|
757
759
|
}, {
|
|
758
760
|
default: s(() => [
|
|
759
|
-
|
|
761
|
+
jl
|
|
760
762
|
]),
|
|
761
763
|
_: 2
|
|
762
|
-
}, 1032, ["label"])) : (
|
|
764
|
+
}, 1032, ["label"])) : (a(), i(c, {
|
|
763
765
|
key: 13,
|
|
764
|
-
rules: l.isHide || e.noFormRule ? [] : l.rules,
|
|
766
|
+
rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
|
|
765
767
|
prop: l.field,
|
|
766
|
-
class:
|
|
768
|
+
class: _(l.prepend ? "input-item" : "")
|
|
767
769
|
}, {
|
|
768
770
|
label: s(() => [
|
|
769
|
-
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (
|
|
771
|
+
l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
|
|
770
772
|
key: 0,
|
|
771
|
-
style:
|
|
773
|
+
style: t(l.labelStyle)
|
|
772
774
|
}, [
|
|
773
|
-
|
|
774
|
-
l.required ? (
|
|
775
|
+
b(p(l.label) + " ", 1),
|
|
776
|
+
l.required ? (a(), r("span", Fl, "*")) : u("", !0)
|
|
775
777
|
], 4))
|
|
776
778
|
]),
|
|
777
779
|
default: s(() => [
|
|
778
|
-
|
|
779
|
-
onBlur: (o) => e.inputBlur(o, l.field),
|
|
780
|
-
onFocus: (o) => e.inputFocus(o, l.field),
|
|
781
|
-
onChange: (o) => e.inputChange(o, l.field),
|
|
782
|
-
onInput: (o) => e.inputInput(o, l.field),
|
|
780
|
+
g(x, {
|
|
781
|
+
onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
|
|
782
|
+
onFocus: (o) => e.inputFocus(o, typeof l.field == "string" ? l.field : ""),
|
|
783
|
+
onChange: (o) => e.inputChange(o, typeof l.field == "string" ? l.field : ""),
|
|
784
|
+
onInput: (o) => e.inputInput(o, typeof l.field == "string" ? l.field : ""),
|
|
783
785
|
maxlength: l.maxlength,
|
|
784
|
-
modelValue: e.states.model[l.field],
|
|
785
|
-
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
786
|
+
modelValue: e.states.model[typeof l.field == "string" ? l.field : ""],
|
|
787
|
+
"onUpdate:modelValue": (o) => e.states.model[typeof l.field == "string" ? l.field : ""] = o,
|
|
786
788
|
"show-word-limit": l.showWordLimit,
|
|
787
789
|
readonly: l.readonly,
|
|
788
790
|
type: l.type ? l.type : "text",
|
|
@@ -790,20 +792,20 @@ function jl(y, t, A, e, k, q) {
|
|
|
790
792
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
791
793
|
showPassword: l.showPassword,
|
|
792
794
|
clearable: l.clearable,
|
|
793
|
-
class:
|
|
794
|
-
onKeyup:
|
|
795
|
-
},
|
|
795
|
+
class: _((l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
|
|
796
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
797
|
+
}, dl({ _: 2 }, [
|
|
796
798
|
l.prepend ? {
|
|
797
799
|
name: "prepend",
|
|
798
800
|
fn: s(() => [
|
|
799
|
-
|
|
801
|
+
b(p(l.prepend), 1)
|
|
800
802
|
]),
|
|
801
803
|
key: "0"
|
|
802
804
|
} : void 0,
|
|
803
805
|
l.append ? {
|
|
804
806
|
name: "append",
|
|
805
807
|
fn: s(() => [
|
|
806
|
-
|
|
808
|
+
b(p(l.append), 1)
|
|
807
809
|
]),
|
|
808
810
|
key: "1"
|
|
809
811
|
} : void 0
|
|
@@ -815,19 +817,19 @@ function jl(y, t, A, e, k, q) {
|
|
|
815
817
|
]),
|
|
816
818
|
_: 2
|
|
817
819
|
}, 1032, ["xs", "sm", "md", "lg", "xl"])), [
|
|
818
|
-
[
|
|
820
|
+
[sl, !l.isHide]
|
|
819
821
|
])), 128))
|
|
820
822
|
]),
|
|
821
823
|
_: 3
|
|
822
824
|
}),
|
|
823
|
-
|
|
825
|
+
g(c, { class: "btnsItem" }, {
|
|
824
826
|
default: s(() => [
|
|
825
827
|
D(y.$slots, "buttons", {
|
|
826
|
-
model:
|
|
828
|
+
model: O.model,
|
|
827
829
|
onBtnClick: e.onSubmit
|
|
828
830
|
}, () => [
|
|
829
|
-
(
|
|
830
|
-
l.isShow ? (
|
|
831
|
+
(a(!0), r(A, null, k(e.formOptions.btnConfig, (l, j) => (a(), r("div", { key: j }, [
|
|
832
|
+
l.isShow ? (a(), i(S, {
|
|
831
833
|
key: 0,
|
|
832
834
|
btnCode: l.btnCode,
|
|
833
835
|
plain: l.plain,
|
|
@@ -850,15 +852,15 @@ function jl(y, t, A, e, k, q) {
|
|
|
850
852
|
size: l.size,
|
|
851
853
|
fontSize: l.fontSize,
|
|
852
854
|
fontWeight: l.fontWeight,
|
|
853
|
-
style:
|
|
854
|
-
class:
|
|
855
|
+
style: t(l.style),
|
|
856
|
+
class: _(l.class),
|
|
855
857
|
onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
|
|
856
858
|
}, {
|
|
857
859
|
default: s(() => [
|
|
858
|
-
|
|
860
|
+
b(p(l.name), 1)
|
|
859
861
|
]),
|
|
860
862
|
_: 2
|
|
861
|
-
}, 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"])) :
|
|
863
|
+
}, 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"])) : u("", !0)
|
|
862
864
|
]))), 128))
|
|
863
865
|
], !0)
|
|
864
866
|
]),
|
|
@@ -868,11 +870,11 @@ function jl(y, t, A, e, k, q) {
|
|
|
868
870
|
_: 3
|
|
869
871
|
}, 16, ["model", "label-position"]);
|
|
870
872
|
}
|
|
871
|
-
const W = /* @__PURE__ */
|
|
872
|
-
function
|
|
873
|
-
|
|
873
|
+
const W = /* @__PURE__ */ cl(pl, [["render", zl], ["__scopeId", "data-v-117e87ec"]]);
|
|
874
|
+
function Y(y, f = {}) {
|
|
875
|
+
Y.installed || (Y.installed = !0, y.component("common-el-form", W));
|
|
874
876
|
}
|
|
875
|
-
W.install =
|
|
877
|
+
W.install = Y;
|
|
876
878
|
export {
|
|
877
879
|
W as default
|
|
878
880
|
};
|