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