sinosoft-common-form 1.6.7 → 1.6.8
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 +93 -93
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as W, reactive as $, shallowRef as ll, h as el, computed as ol, onMounted as al, onBeforeUnmount as nl, watch as dl, toRefs as sl, nextTick as rl, resolveComponent as D, openBlock as n, createBlock as i, mergeProps as il, withModifiers as yl, withCtx as d, createVNode as t, createElementBlock as r, Fragment as A, renderList as R, withDirectives as
|
|
1
|
+
import { ref as W, reactive as $, shallowRef as ll, h as el, computed as ol, onMounted as al, onBeforeUnmount as nl, watch as dl, toRefs as sl, nextTick as rl, resolveComponent as D, openBlock as n, createBlock as i, mergeProps as il, withModifiers as yl, withCtx as d, createVNode as t, createElementBlock as r, Fragment as A, renderList as R, withDirectives as pl, createElementVNode as N, normalizeStyle as g, toDisplayString as u, createTextVNode as _, createCommentVNode as f, renderSlot as M, normalizeClass as h, withKeys as F, createSlots as J, vShow as fl, pushScopeId as ul, popScopeId as cl } from "vue";
|
|
2
2
|
const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==", tl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -21,7 +21,7 @@ const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
21
21
|
},
|
|
22
22
|
options: Object
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
24
|
+
setup(p, { emit: c }) {
|
|
25
25
|
const w = W(!0), e = $({
|
|
26
26
|
model: {}
|
|
27
27
|
}), O = W(null), P = ll({
|
|
@@ -30,8 +30,8 @@ const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
30
30
|
src: bl
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
}), b = ol(() => Object.assign([],
|
|
34
|
-
e.model =
|
|
33
|
+
}), b = ol(() => Object.assign([], p.options)), k = () => {
|
|
34
|
+
e.model = p.model;
|
|
35
35
|
}, x = (a, s, C) => {
|
|
36
36
|
var Z;
|
|
37
37
|
s ? (w.value = !1, rl(() => {
|
|
@@ -43,11 +43,11 @@ const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
43
43
|
return !1;
|
|
44
44
|
});
|
|
45
45
|
})) : (C === "reset" && ((Z = O.value) == null || Z.resetFields()), c(C || "submit", e.model, a));
|
|
46
|
-
}, F = (a, s) => {
|
|
47
|
-
c("selectChange", a, s);
|
|
48
46
|
}, V = (a, s) => {
|
|
49
|
-
c("
|
|
47
|
+
c("selectChange", a, s);
|
|
50
48
|
}, U = (a, s) => {
|
|
49
|
+
c("radioChange", a, s);
|
|
50
|
+
}, v = (a, s) => {
|
|
51
51
|
c("checkChange", a, s);
|
|
52
52
|
}, E = (a, s) => {
|
|
53
53
|
const C = e.model[s].length;
|
|
@@ -89,7 +89,7 @@ const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
89
89
|
}), nl(() => {
|
|
90
90
|
window.removeEventListener("resize", T);
|
|
91
91
|
}), dl(
|
|
92
|
-
() =>
|
|
92
|
+
() => p.fieldList,
|
|
93
93
|
(a, s) => {
|
|
94
94
|
a !== s && k();
|
|
95
95
|
}
|
|
@@ -99,9 +99,9 @@ const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
99
99
|
states: e,
|
|
100
100
|
formOptions: b,
|
|
101
101
|
onSubmit: x,
|
|
102
|
-
selectChange:
|
|
103
|
-
radioChange:
|
|
104
|
-
checkChange:
|
|
102
|
+
selectChange: V,
|
|
103
|
+
radioChange: U,
|
|
104
|
+
checkChange: v,
|
|
105
105
|
handleCheckedChange: E,
|
|
106
106
|
prefixIcon: P,
|
|
107
107
|
handleClick: S,
|
|
@@ -121,12 +121,12 @@ const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
-
const hl = (
|
|
125
|
-
const w =
|
|
124
|
+
const hl = (p, c) => {
|
|
125
|
+
const w = p.__vccOpts || p;
|
|
126
126
|
for (const [e, O] of c)
|
|
127
127
|
w[e] = O;
|
|
128
128
|
return w;
|
|
129
|
-
}, Q = (
|
|
129
|
+
}, Q = (p) => (ul("data-v-ce3624e9"), p = p(), cl(), p), gl = { class: "header-title" }, _l = { class: "title-content" }, Cl = {
|
|
130
130
|
key: 0,
|
|
131
131
|
class: "custom-required"
|
|
132
132
|
}, Dl = {
|
|
@@ -150,18 +150,18 @@ const hl = (f, c) => {
|
|
|
150
150
|
}, Il = {
|
|
151
151
|
key: 0,
|
|
152
152
|
class: "custom-required"
|
|
153
|
-
}, vl = {
|
|
154
|
-
key: 0,
|
|
155
|
-
class: "date_to"
|
|
156
153
|
}, Fl = {
|
|
157
154
|
key: 0,
|
|
158
|
-
class: "
|
|
155
|
+
class: "date_to"
|
|
159
156
|
}, Vl = {
|
|
160
157
|
key: 0,
|
|
161
158
|
class: "custom-required"
|
|
162
159
|
}, Ul = {
|
|
163
160
|
key: 0,
|
|
164
161
|
class: "custom-required"
|
|
162
|
+
}, vl = {
|
|
163
|
+
key: 0,
|
|
164
|
+
class: "custom-required"
|
|
165
165
|
}, jl = {
|
|
166
166
|
key: 0,
|
|
167
167
|
class: "phone_item_content_before"
|
|
@@ -181,8 +181,8 @@ const hl = (f, c) => {
|
|
|
181
181
|
key: 0,
|
|
182
182
|
class: "custom-required"
|
|
183
183
|
};
|
|
184
|
-
function ql(
|
|
185
|
-
const b = D("el-form-item"), k = D("el-input"), x = D("el-col"),
|
|
184
|
+
function ql(p, c, w, e, O, P) {
|
|
185
|
+
const b = D("el-form-item"), k = D("el-input"), x = D("el-col"), V = D("el-row"), U = D("el-radio"), v = D("el-radio-group"), E = D("el-checkbox"), S = D("el-checkbox-group"), j = D("el-option"), z = D("el-select"), B = D("a-date-picker"), Y = D("a-range-picker"), q = D("sinosoftCommonButton"), H = D("el-form");
|
|
186
186
|
return n(), i(H, il({
|
|
187
187
|
"hide-required-asterisk": "",
|
|
188
188
|
onSubmit: c[0] || (c[0] = yl(() => {
|
|
@@ -193,9 +193,9 @@ function ql(f, c, w, e, O, P) {
|
|
|
193
193
|
ref: "formRef"
|
|
194
194
|
}), {
|
|
195
195
|
default: d(() => [
|
|
196
|
-
t(
|
|
196
|
+
t(V, { gutter: 20 }, {
|
|
197
197
|
default: d(() => [
|
|
198
|
-
(n(!0), r(A, null, R(w.fieldList, (l, L) =>
|
|
198
|
+
(n(!0), r(A, null, R(w.fieldList, (l, L) => pl((n(), i(x, {
|
|
199
199
|
xs: l.xs ? l.xs : 24,
|
|
200
200
|
sm: l.sm ? l.sm : 24,
|
|
201
201
|
md: l.md ? l.md : 8,
|
|
@@ -221,16 +221,16 @@ function ql(f, c, w, e, O, P) {
|
|
|
221
221
|
class: "container_name"
|
|
222
222
|
}, {
|
|
223
223
|
label: d(() => [
|
|
224
|
-
l.slotLabelName ? M(
|
|
224
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
225
225
|
key: 0,
|
|
226
226
|
style: g(l.labelStyle)
|
|
227
227
|
}, [
|
|
228
228
|
_(u(l.label) + " ", 1),
|
|
229
|
-
l.required ? (n(), r("span", Cl, "*")) :
|
|
229
|
+
l.required ? (n(), r("span", Cl, "*")) : f("", !0)
|
|
230
230
|
], 4))
|
|
231
231
|
]),
|
|
232
232
|
default: d(() => [
|
|
233
|
-
t(
|
|
233
|
+
t(V, { gutter: 20 }, {
|
|
234
234
|
default: d(() => [
|
|
235
235
|
t(x, {
|
|
236
236
|
xs: 24,
|
|
@@ -262,11 +262,11 @@ function ql(f, c, w, e, O, P) {
|
|
|
262
262
|
type: l.type ? l.type : "text",
|
|
263
263
|
placeholder: l.placeholderNameEnFamily,
|
|
264
264
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
|
|
265
|
-
onKeyup:
|
|
265
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
266
266
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
267
267
|
]),
|
|
268
268
|
_: 2
|
|
269
|
-
}, 1032, ["rules", "prop"])) :
|
|
269
|
+
}, 1032, ["rules", "prop"])) : f("", !0)
|
|
270
270
|
]),
|
|
271
271
|
_: 2
|
|
272
272
|
}, 1024),
|
|
@@ -300,18 +300,18 @@ function ql(f, c, w, e, O, P) {
|
|
|
300
300
|
type: l.type ? l.type : "text",
|
|
301
301
|
placeholder: l.placeholderNameEn,
|
|
302
302
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
|
|
303
|
-
onKeyup:
|
|
303
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
304
304
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
305
305
|
]),
|
|
306
306
|
_: 2
|
|
307
|
-
}, 1032, ["rules", "prop"])) :
|
|
307
|
+
}, 1032, ["rules", "prop"])) : f("", !0)
|
|
308
308
|
]),
|
|
309
309
|
_: 2
|
|
310
310
|
}, 1024)
|
|
311
311
|
]),
|
|
312
312
|
_: 2
|
|
313
313
|
}, 1024),
|
|
314
|
-
t(
|
|
314
|
+
t(V, { gutter: 20 }, {
|
|
315
315
|
default: d(() => [
|
|
316
316
|
t(x, {
|
|
317
317
|
xs: 24,
|
|
@@ -346,11 +346,11 @@ function ql(f, c, w, e, O, P) {
|
|
|
346
346
|
type: l.type ? l.type : "text",
|
|
347
347
|
placeholder: l.placeholderNameChFamily,
|
|
348
348
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
|
|
349
|
-
onKeyup:
|
|
349
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
350
350
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
351
351
|
]),
|
|
352
352
|
_: 2
|
|
353
|
-
}, 1032, ["rules", "prop"])) :
|
|
353
|
+
}, 1032, ["rules", "prop"])) : f("", !0)
|
|
354
354
|
]),
|
|
355
355
|
_: 2
|
|
356
356
|
}, 1024),
|
|
@@ -384,11 +384,11 @@ function ql(f, c, w, e, O, P) {
|
|
|
384
384
|
type: l.type ? l.type : "text",
|
|
385
385
|
placeholder: l.placeholderNameCh,
|
|
386
386
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
|
|
387
|
-
onKeyup:
|
|
387
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
388
388
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
389
389
|
]),
|
|
390
390
|
_: 2
|
|
391
|
-
}, 1032, ["rules", "prop"])) :
|
|
391
|
+
}, 1032, ["rules", "prop"])) : f("", !0)
|
|
392
392
|
]),
|
|
393
393
|
_: 2
|
|
394
394
|
}, 1024)
|
|
@@ -405,16 +405,16 @@ function ql(f, c, w, e, O, P) {
|
|
|
405
405
|
class: "radio_row"
|
|
406
406
|
}, {
|
|
407
407
|
label: d(() => [
|
|
408
|
-
l.slotLabelName ? M(
|
|
408
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
409
409
|
key: 0,
|
|
410
410
|
style: g(l.labelStyle)
|
|
411
411
|
}, [
|
|
412
412
|
_(u(l.label) + " ", 1),
|
|
413
|
-
l.required ? (n(), r("span", Dl, "*")) :
|
|
413
|
+
l.required ? (n(), r("span", Dl, "*")) : f("", !0)
|
|
414
414
|
], 4))
|
|
415
415
|
]),
|
|
416
416
|
default: d(() => [
|
|
417
|
-
t(
|
|
417
|
+
t(v, {
|
|
418
418
|
modelValue: e.states.model[l.field],
|
|
419
419
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
420
420
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -423,8 +423,8 @@ function ql(f, c, w, e, O, P) {
|
|
|
423
423
|
default: d(() => {
|
|
424
424
|
var o;
|
|
425
425
|
return [
|
|
426
|
-
(n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(
|
|
427
|
-
|
|
426
|
+
(n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(U, {
|
|
427
|
+
label: y.code,
|
|
428
428
|
size: "large",
|
|
429
429
|
key: y.code
|
|
430
430
|
}, {
|
|
@@ -436,7 +436,7 @@ function ql(f, c, w, e, O, P) {
|
|
|
436
436
|
}, null, 8, Ml)
|
|
437
437
|
]),
|
|
438
438
|
_: 2
|
|
439
|
-
}, 1032, ["
|
|
439
|
+
}, 1032, ["label"]))), 128))
|
|
440
440
|
];
|
|
441
441
|
}),
|
|
442
442
|
_: 2
|
|
@@ -451,16 +451,16 @@ function ql(f, c, w, e, O, P) {
|
|
|
451
451
|
class: h([l.labelNode ? "radio_Note" : "rule_err"])
|
|
452
452
|
}, {
|
|
453
453
|
label: d(() => [
|
|
454
|
-
l.slotLabelName ? M(
|
|
454
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
455
455
|
key: 0,
|
|
456
456
|
style: g(l.labelStyle)
|
|
457
457
|
}, [
|
|
458
458
|
_(u(l.label) + " ", 1),
|
|
459
|
-
l.required ? (n(), r("span", kl, "*")) :
|
|
459
|
+
l.required ? (n(), r("span", kl, "*")) : f("", !0)
|
|
460
460
|
], 4))
|
|
461
461
|
]),
|
|
462
462
|
default: d(() => [
|
|
463
|
-
t(
|
|
463
|
+
t(v, {
|
|
464
464
|
modelValue: e.states.model[l.field],
|
|
465
465
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
466
466
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -473,9 +473,9 @@ function ql(f, c, w, e, O, P) {
|
|
|
473
473
|
default: d(() => {
|
|
474
474
|
var o;
|
|
475
475
|
return [
|
|
476
|
-
(n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(
|
|
476
|
+
(n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(U, {
|
|
477
477
|
size: "large",
|
|
478
|
-
|
|
478
|
+
label: y.code,
|
|
479
479
|
key: y.code,
|
|
480
480
|
disabled: y.isDisabled
|
|
481
481
|
}, {
|
|
@@ -483,7 +483,7 @@ function ql(f, c, w, e, O, P) {
|
|
|
483
483
|
_(u(y.name), 1)
|
|
484
484
|
]),
|
|
485
485
|
_: 2
|
|
486
|
-
}, 1032, ["
|
|
486
|
+
}, 1032, ["label", "disabled"]))), 128))
|
|
487
487
|
];
|
|
488
488
|
}),
|
|
489
489
|
_: 2
|
|
@@ -501,9 +501,9 @@ function ql(f, c, w, e, O, P) {
|
|
|
501
501
|
N("div", null, [
|
|
502
502
|
N("span", Nl, u(l.labelBefore), 1),
|
|
503
503
|
N("span", Ol, u(l.labelNode), 1),
|
|
504
|
-
l.required ? (n(), r("span", Al, "*")) :
|
|
504
|
+
l.required ? (n(), r("span", Al, "*")) : f("", !0)
|
|
505
505
|
]),
|
|
506
|
-
t(
|
|
506
|
+
t(v, {
|
|
507
507
|
modelValue: e.states.model[l.field],
|
|
508
508
|
"onUpdate:modelValue": (o) => e.states.model[l.field] = o,
|
|
509
509
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
|
|
@@ -516,16 +516,16 @@ function ql(f, c, w, e, O, P) {
|
|
|
516
516
|
default: d(() => {
|
|
517
517
|
var o;
|
|
518
518
|
return [
|
|
519
|
-
(n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(
|
|
519
|
+
(n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(U, {
|
|
520
520
|
size: "large",
|
|
521
|
-
|
|
521
|
+
label: y.code,
|
|
522
522
|
key: y.code
|
|
523
523
|
}, {
|
|
524
524
|
default: d(() => [
|
|
525
525
|
_(u(y.name), 1)
|
|
526
526
|
]),
|
|
527
527
|
_: 2
|
|
528
|
-
}, 1032, ["
|
|
528
|
+
}, 1032, ["label"]))), 128))
|
|
529
529
|
];
|
|
530
530
|
}),
|
|
531
531
|
_: 2
|
|
@@ -539,12 +539,12 @@ function ql(f, c, w, e, O, P) {
|
|
|
539
539
|
prop: l.field
|
|
540
540
|
}, {
|
|
541
541
|
label: d(() => [
|
|
542
|
-
l.slotLabelName ? M(
|
|
542
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
543
543
|
key: 0,
|
|
544
544
|
style: g(l.labelStyle)
|
|
545
545
|
}, [
|
|
546
546
|
_(u(l.label) + " ", 1),
|
|
547
|
-
l.required ? (n(), r("span", Rl, "*")) :
|
|
547
|
+
l.required ? (n(), r("span", Rl, "*")) : f("", !0)
|
|
548
548
|
], 4))
|
|
549
549
|
]),
|
|
550
550
|
default: d(() => [
|
|
@@ -562,14 +562,14 @@ function ql(f, c, w, e, O, P) {
|
|
|
562
562
|
return [
|
|
563
563
|
(n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(E, {
|
|
564
564
|
key: y.code,
|
|
565
|
-
|
|
565
|
+
label: y.code,
|
|
566
566
|
disabled: y.isDisabled
|
|
567
567
|
}, {
|
|
568
568
|
default: d(() => [
|
|
569
569
|
_(u(y.name), 1)
|
|
570
570
|
]),
|
|
571
571
|
_: 2
|
|
572
|
-
}, 1032, ["
|
|
572
|
+
}, 1032, ["label", "disabled"]))), 128))
|
|
573
573
|
];
|
|
574
574
|
}),
|
|
575
575
|
_: 2
|
|
@@ -583,12 +583,12 @@ function ql(f, c, w, e, O, P) {
|
|
|
583
583
|
prop: l.field
|
|
584
584
|
}, {
|
|
585
585
|
label: d(() => [
|
|
586
|
-
l.slotLabelName ? M(
|
|
586
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
587
587
|
key: 0,
|
|
588
588
|
style: g(l.labelStyle)
|
|
589
589
|
}, [
|
|
590
590
|
_(u(l.label) + " ", 1),
|
|
591
|
-
l.required ? (n(), r("span", wl, "*")) :
|
|
591
|
+
l.required ? (n(), r("span", wl, "*")) : f("", !0)
|
|
592
592
|
], 4))
|
|
593
593
|
]),
|
|
594
594
|
default: d(() => [
|
|
@@ -606,14 +606,14 @@ function ql(f, c, w, e, O, P) {
|
|
|
606
606
|
return [
|
|
607
607
|
(n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(E, {
|
|
608
608
|
key: y.code,
|
|
609
|
-
|
|
609
|
+
label: y.code,
|
|
610
610
|
disabled: y.isDisabled
|
|
611
611
|
}, {
|
|
612
612
|
default: d(() => [
|
|
613
613
|
_(u(y.name), 1)
|
|
614
614
|
]),
|
|
615
615
|
_: 2
|
|
616
|
-
}, 1032, ["
|
|
616
|
+
}, 1032, ["label", "disabled"]))), 128))
|
|
617
617
|
];
|
|
618
618
|
}),
|
|
619
619
|
_: 2
|
|
@@ -628,12 +628,12 @@ function ql(f, c, w, e, O, P) {
|
|
|
628
628
|
prop: l.field
|
|
629
629
|
}, {
|
|
630
630
|
label: d(() => [
|
|
631
|
-
l.slotLabelName ? M(
|
|
631
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
632
632
|
key: 0,
|
|
633
633
|
style: g(l.labelStyle)
|
|
634
634
|
}, [
|
|
635
635
|
_(u(l.label) + " ", 1),
|
|
636
|
-
l.required ? (n(), r("span", xl, "*")) :
|
|
636
|
+
l.required ? (n(), r("span", xl, "*")) : f("", !0)
|
|
637
637
|
], 4))
|
|
638
638
|
]),
|
|
639
639
|
default: d(() => [
|
|
@@ -677,12 +677,12 @@ function ql(f, c, w, e, O, P) {
|
|
|
677
677
|
class: "date_item"
|
|
678
678
|
}, {
|
|
679
679
|
label: d(() => [
|
|
680
|
-
l.slotLabelName ? M(
|
|
680
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
681
681
|
key: 0,
|
|
682
682
|
style: g(l.labelStyle)
|
|
683
683
|
}, [
|
|
684
684
|
_(u(l.label) + " ", 1),
|
|
685
|
-
l.required ? (n(), r("span", Il, "*")) :
|
|
685
|
+
l.required ? (n(), r("span", Il, "*")) : f("", !0)
|
|
686
686
|
], 4))
|
|
687
687
|
]),
|
|
688
688
|
default: d(() => [
|
|
@@ -717,7 +717,7 @@ function ql(f, c, w, e, O, P) {
|
|
|
717
717
|
typeof l.field == "string" ? l.field : ""
|
|
718
718
|
)
|
|
719
719
|
}, null, 8, ["format", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "onChange", "onCalendarChange", "onOk"]),
|
|
720
|
-
l.showTo ? (n(), r("span",
|
|
720
|
+
l.showTo ? (n(), r("span", Fl, u(l.showTo), 1)) : f("", !0)
|
|
721
721
|
]),
|
|
722
722
|
_: 2
|
|
723
723
|
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (n(), i(b, {
|
|
@@ -727,12 +727,12 @@ function ql(f, c, w, e, O, P) {
|
|
|
727
727
|
prop: l.field
|
|
728
728
|
}, {
|
|
729
729
|
label: d(() => [
|
|
730
|
-
l.slotLabelName ? M(
|
|
730
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
731
731
|
key: 0,
|
|
732
732
|
style: g(l.labelStyle)
|
|
733
733
|
}, [
|
|
734
734
|
_(u(l.label) + " ", 1),
|
|
735
|
-
l.required ? (n(), r("span",
|
|
735
|
+
l.required ? (n(), r("span", Vl, "*")) : f("", !0)
|
|
736
736
|
], 4))
|
|
737
737
|
]),
|
|
738
738
|
default: d(() => [
|
|
@@ -747,7 +747,7 @@ function ql(f, c, w, e, O, P) {
|
|
|
747
747
|
value: e.states.model[l.field],
|
|
748
748
|
"onUpdate:value": (o) => e.states.model[l.field] = o,
|
|
749
749
|
suffixIcon: l.suffixIcon,
|
|
750
|
-
separator: "To",
|
|
750
|
+
separator: l.separator || "To",
|
|
751
751
|
placeholder: l.placeholder,
|
|
752
752
|
size: "large",
|
|
753
753
|
class: h(
|
|
@@ -765,7 +765,7 @@ function ql(f, c, w, e, O, P) {
|
|
|
765
765
|
o,
|
|
766
766
|
typeof l.field == "string" ? l.field : ""
|
|
767
767
|
)
|
|
768
|
-
}, null, 8, ["format", "valueFormat", "disabled-date", "disabled-time", "value", "onUpdate:value", "suffixIcon", "placeholder", "class", "onChange", "onCalendarChange", "onOk"])
|
|
768
|
+
}, null, 8, ["format", "valueFormat", "disabled-date", "disabled-time", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk"])
|
|
769
769
|
]),
|
|
770
770
|
_: 2
|
|
771
771
|
}, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (n(), i(b, {
|
|
@@ -776,16 +776,16 @@ function ql(f, c, w, e, O, P) {
|
|
|
776
776
|
class: "rule_err"
|
|
777
777
|
}, {
|
|
778
778
|
label: d(() => [
|
|
779
|
-
l.slotLabelName ? M(
|
|
779
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
780
780
|
key: 0,
|
|
781
781
|
style: g(l.labelStyle)
|
|
782
782
|
}, [
|
|
783
783
|
_(u(l.label) + " ", 1),
|
|
784
|
-
l.required ? (n(), r("span",
|
|
784
|
+
l.required ? (n(), r("span", Ul, "*")) : f("", !0)
|
|
785
785
|
], 4))
|
|
786
786
|
]),
|
|
787
787
|
default: d(() => [
|
|
788
|
-
M(
|
|
788
|
+
M(p.$slots, l.slotItemName, {}, void 0, !0)
|
|
789
789
|
]),
|
|
790
790
|
_: 2
|
|
791
791
|
}, 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 ? (n(), i(b, {
|
|
@@ -796,12 +796,12 @@ function ql(f, c, w, e, O, P) {
|
|
|
796
796
|
class: "phone_item"
|
|
797
797
|
}, {
|
|
798
798
|
label: d(() => [
|
|
799
|
-
l.slotLabelName ? M(
|
|
799
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
800
800
|
key: 0,
|
|
801
801
|
style: g(l.labelStyle)
|
|
802
802
|
}, [
|
|
803
803
|
_(u(l.label) + " ", 1),
|
|
804
|
-
l.required ? (n(), r("span",
|
|
804
|
+
l.required ? (n(), r("span", vl, "*")) : f("", !0)
|
|
805
805
|
], 4))
|
|
806
806
|
]),
|
|
807
807
|
default: d(() => {
|
|
@@ -836,7 +836,7 @@ function ql(f, c, w, e, O, P) {
|
|
|
836
836
|
];
|
|
837
837
|
}),
|
|
838
838
|
_: 2
|
|
839
|
-
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) :
|
|
839
|
+
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : f("", !0),
|
|
840
840
|
zl,
|
|
841
841
|
l.field.areaCode ? (n(), i(k, {
|
|
842
842
|
key: 1,
|
|
@@ -865,9 +865,9 @@ function ql(f, c, w, e, O, P) {
|
|
|
865
865
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
866
866
|
),
|
|
867
867
|
clearable: l.clearable
|
|
868
|
-
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) :
|
|
868
|
+
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : f("", !0),
|
|
869
869
|
Ll
|
|
870
|
-
])) :
|
|
870
|
+
])) : f("", !0),
|
|
871
871
|
l.field.nationCode && !e.phoneWrap ? (n(), i(z, {
|
|
872
872
|
key: 1,
|
|
873
873
|
"popper-class": "selectTriangles",
|
|
@@ -893,8 +893,8 @@ function ql(f, c, w, e, O, P) {
|
|
|
893
893
|
];
|
|
894
894
|
}),
|
|
895
895
|
_: 2
|
|
896
|
-
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) :
|
|
897
|
-
e.phoneWrap ?
|
|
896
|
+
}, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : f("", !0),
|
|
897
|
+
e.phoneWrap ? f("", !0) : (n(), r("div", Tl, "-")),
|
|
898
898
|
l.field.areaCode && !e.phoneWrap ? (n(), i(k, {
|
|
899
899
|
key: 3,
|
|
900
900
|
onBlur: (a) => e.inputBlur(
|
|
@@ -922,8 +922,8 @@ function ql(f, c, w, e, O, P) {
|
|
|
922
922
|
(l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
|
|
923
923
|
),
|
|
924
924
|
clearable: l.clearable
|
|
925
|
-
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) :
|
|
926
|
-
e.phoneWrap ?
|
|
925
|
+
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : f("", !0),
|
|
926
|
+
e.phoneWrap ? f("", !0) : (n(), r("div", El, "-")),
|
|
927
927
|
l.field.phoneNumber ? (n(), i(k, {
|
|
928
928
|
key: 5,
|
|
929
929
|
onBlur: (a) => e.inputBlur(
|
|
@@ -951,7 +951,7 @@ function ql(f, c, w, e, O, P) {
|
|
|
951
951
|
(l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
952
952
|
),
|
|
953
953
|
clearable: l.clearable
|
|
954
|
-
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) :
|
|
954
|
+
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : f("", !0)
|
|
955
955
|
], 2)
|
|
956
956
|
];
|
|
957
957
|
}),
|
|
@@ -971,12 +971,12 @@ function ql(f, c, w, e, O, P) {
|
|
|
971
971
|
class: h(l.prepend ? "input-item" : "")
|
|
972
972
|
}, {
|
|
973
973
|
label: d(() => [
|
|
974
|
-
l.slotLabelName ? M(
|
|
974
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
975
975
|
key: 0,
|
|
976
976
|
style: g(l.labelStyle)
|
|
977
977
|
}, [
|
|
978
978
|
_(u(l.label) + " ", 1),
|
|
979
|
-
l.required ? (n(), r("span", Bl, "*")) :
|
|
979
|
+
l.required ? (n(), r("span", Bl, "*")) : f("", !0)
|
|
980
980
|
], 4))
|
|
981
981
|
]),
|
|
982
982
|
default: d(() => [
|
|
@@ -1012,7 +1012,7 @@ function ql(f, c, w, e, O, P) {
|
|
|
1012
1012
|
class: h(
|
|
1013
1013
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1014
1014
|
),
|
|
1015
|
-
onKeyup:
|
|
1015
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1016
1016
|
}, J({ _: 2 }, [
|
|
1017
1017
|
l.prepend ? {
|
|
1018
1018
|
name: "prepend",
|
|
@@ -1038,12 +1038,12 @@ function ql(f, c, w, e, O, P) {
|
|
|
1038
1038
|
class: h(l.prepend ? "input-item" : "")
|
|
1039
1039
|
}, {
|
|
1040
1040
|
label: d(() => [
|
|
1041
|
-
l.slotLabelName ? M(
|
|
1041
|
+
l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
|
|
1042
1042
|
key: 0,
|
|
1043
1043
|
style: g(l.labelStyle)
|
|
1044
1044
|
}, [
|
|
1045
1045
|
_(u(l.label) + " ", 1),
|
|
1046
|
-
l.required ? (n(), r("span", Yl, "*")) :
|
|
1046
|
+
l.required ? (n(), r("span", Yl, "*")) : f("", !0)
|
|
1047
1047
|
], 4))
|
|
1048
1048
|
]),
|
|
1049
1049
|
default: d(() => [
|
|
@@ -1078,7 +1078,7 @@ function ql(f, c, w, e, O, P) {
|
|
|
1078
1078
|
class: h(
|
|
1079
1079
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1080
1080
|
),
|
|
1081
|
-
onKeyup:
|
|
1081
|
+
onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1082
1082
|
}, J({ _: 2 }, [
|
|
1083
1083
|
l.prepend ? {
|
|
1084
1084
|
name: "prepend",
|
|
@@ -1102,14 +1102,14 @@ function ql(f, c, w, e, O, P) {
|
|
|
1102
1102
|
]),
|
|
1103
1103
|
_: 2
|
|
1104
1104
|
}, 1032, ["xs", "sm", "md", "lg", "xl"])), [
|
|
1105
|
-
[
|
|
1105
|
+
[fl, !l.isHide]
|
|
1106
1106
|
])), 128))
|
|
1107
1107
|
]),
|
|
1108
1108
|
_: 3
|
|
1109
1109
|
}),
|
|
1110
1110
|
t(b, { class: "btnsItem" }, {
|
|
1111
1111
|
default: d(() => [
|
|
1112
|
-
M(
|
|
1112
|
+
M(p.$slots, "buttons", {
|
|
1113
1113
|
model: w.model,
|
|
1114
1114
|
onBtnClick: e.onSubmit
|
|
1115
1115
|
}, () => [
|
|
@@ -1145,7 +1145,7 @@ function ql(f, c, w, e, O, P) {
|
|
|
1145
1145
|
_(u(l.name), 1)
|
|
1146
1146
|
]),
|
|
1147
1147
|
_: 2
|
|
1148
|
-
}, 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"])) :
|
|
1148
|
+
}, 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"])) : f("", !0)
|
|
1149
1149
|
]))), 128))
|
|
1150
1150
|
], !0)
|
|
1151
1151
|
]),
|
|
@@ -1155,9 +1155,9 @@ function ql(f, c, w, e, O, P) {
|
|
|
1155
1155
|
_: 3
|
|
1156
1156
|
}, 16, ["model", "label-position"]);
|
|
1157
1157
|
}
|
|
1158
|
-
const X = /* @__PURE__ */ hl(tl, [["render", ql], ["__scopeId", "data-v-
|
|
1159
|
-
function K(
|
|
1160
|
-
K.installed || (K.installed = !0,
|
|
1158
|
+
const X = /* @__PURE__ */ hl(tl, [["render", ql], ["__scopeId", "data-v-ce3624e9"]]);
|
|
1159
|
+
function K(p, c = {}) {
|
|
1160
|
+
K.installed || (K.installed = !0, p.component("common-el-form", X));
|
|
1161
1161
|
}
|
|
1162
1162
|
X.install = K;
|
|
1163
1163
|
export {
|
package/common-form.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,g){typeof exports=="object"&&typeof module<"u"?module.exports=g(require("vue")):typeof define=="function"&&define.amd?define(["vue"],g):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=g(e.Vue))})(this,function(e){"use strict";const g="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==",U={props:{fieldList:{type:Array,required:!0,default:()=>({username:"",age:0,email:""})},model:{type:Object,required:!0,default:()=>({username:"",age:0,email:""})},options:Object},setup(r,{emit:t}){const f=e.ref(!0),o=e.reactive({model:{}}),y=e.ref(null),I=e.shallowRef({render(){return e.h("img",{src:g})}}),i=e.computed(()=>Object.assign([],r.options)),p=()=>{o.model=r.model},h=(n,d,c)=>{var z;d?(f.value=!1,e.nextTick(()=>{var F;(F=y.value)==null||F.validate(cl=>{if(cl)t(c||"submit",o.model,n);else return!1})})):(c==="reset"&&((z=y.value)==null||z.resetFields()),t(c||"submit",o.model,n))},k=(n,d)=>{t("selectChange",n,d)},C=(n,d)=>{t("radioChange",n,d)},N=(n,d)=>{t("checkChange",n,d)},B=(n,d)=>{const c=o.model[d].length;if(c===1){t("checkChange",n,d);return}else c>1?(o.model[d].shift(),t("checkChange",n,d)):c<1&&t("checkChange",n,d)},V=(n,d,c)=>{h(n,d,c)},x=(n,d)=>{n&&(d==null?void 0:d.key)==="Enter"&&h(void 0,!0,"submit")},w=(n,d)=>{t("dateChange",n,d)},A=(n,d)=>{t("calendarChange",n,d)},R=(n,d)=>{t("onOk",n,d)},S=(n,d)=>{console.log(y.value),t("inputBlur",n,d)},E=(n,d)=>{t("inputFocus",n,d)},l=(n,d)=>{t("inputChange",n,d)},D=(n,d)=>{t("inputInput",n,d)},a=n=>{var d;(d=y.value)==null||d.resetFields(n)},s=n=>{var d;(d=y.value)==null||d.clearValidate(n)},b=e.ref(!1),_=()=>{window.innerWidth<768?(console.log("屏幕宽度小于768px"),b.value=!0):b.value=!1};return e.onMounted(()=>{var n;p(),(n=y.value)==null||n.resetFields(),window.addEventListener("resize",_)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",_)}),e.watch(()=>r.fieldList,(n,d)=>{n!==d&&p()}),{...e.toRefs(o),formRef:y,states:o,formOptions:i,onSubmit:h,selectChange:k,radioChange:C,checkChange:N,handleCheckedChange:B,prefixIcon:I,handleClick:V,handleKeyUp:x,resetFieldsTest:a,clearValidateTest:s,dateChange:w,calendarChange:A,onOk:R,inputBlur:S,inputFocus:E,inputChange:l,inputInput:D,noFormRule:f,phoneWrap:b}}},pl="",yl="",T=(r,t)=>{const f=r.__vccOpts||r;for(const[o,y]of t)f[o]=y;return f},M=r=>(e.pushScopeId("data-v-33bb5ef5"),r=r(),e.popScopeId(),r),j={class:"header-title"},L={class:"title-content"},q={key:0,class:"custom-required"},Y={key:0,class:"custom-required"},H=["src"],K={key:0,class:"custom-required"},W={class:"lable"},Q={class:"lable_note"},P={key:0,class:"custom-required"},u={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},G={key:0,class:"custom-required"},J={key:0,class:"custom-required"},X={key:0,class:"date_to"},$={key:0,class:"custom-required"},v={key:0,class:"custom-required"},ll={key:0,class:"custom-required"},el={key:0,class:"phone_item_content_before"},ol=M(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),al=M(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),nl={key:2,class:"line_middle"},dl={key:4,class:"line_middle"},sl=M(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"39px 0"}},null,-1)),rl={key:0,class:"custom-required"},tl={key:0,class:"custom-required"};function il(r,t,f,o,y,I){const i=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input"),h=e.resolveComponent("el-col"),k=e.resolveComponent("el-row"),C=e.resolveComponent("el-radio"),N=e.resolveComponent("el-radio-group"),B=e.resolveComponent("el-checkbox"),V=e.resolveComponent("el-checkbox-group"),x=e.resolveComponent("el-option"),w=e.resolveComponent("el-select"),A=e.resolveComponent("a-date-picker"),R=e.resolveComponent("a-range-picker"),S=e.resolveComponent("sinosoftCommonButton"),E=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(E,e.mergeProps({"hide-required-asterisk":"",onSubmit:t[0]||(t[0]=e.withModifiers(()=>{},["prevent"])),model:f.model},o.formOptions,{"label-position":o.formOptions.labelPosition,ref:"formRef"}),{default:e.withCtx(()=>[e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.fieldList,(l,D)=>e.withDirectives((e.openBlock(),e.createBlock(h,{xs:l.xs?l.xs:24,sm:l.sm?l.sm:24,md:l.md?l.md:8,lg:l.lg?l.lg:8,xl:l.xl?l.xl:8,key:D},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?(e.openBlock(),e.createBlock(i,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",j,[e.createElementVNode("span",L,e.toDisplayString(l.title),1)])]),_:2},1024)):l.type==="name"&&typeof l.field!="string"&&l.field&&"nameEnFamily"in l.field&&l.rules&&"nameEnFamily"in l.rules?(e.openBlock(),e.createBlock(i,{key:1,label:l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,class:"container_name"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[e.createVNode(h,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEnFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEnFamily,prop:l.field.nameEnFamily,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEnFamily),onFocus:a=>o.inputFocus(a,l.field.nameEnFamily),onChange:a=>o.inputChange(a,l.field.nameEnFamily),onInput:a=>o.inputInput(a,l.field.nameEnFamily),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEnFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameEnFamily,modelValue:o.states.model[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEnFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(h,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEn?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEn,prop:l.field.nameEn,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEn),onFocus:a=>o.inputFocus(a,l.field.nameEn),onChange:a=>o.inputChange(a,l.field.nameEn),onInput:a=>o.inputInput(a,l.field.nameEn),maxlength:l.maxlengthNameEn,modelValue:o.states.model[l.field.nameEn],"onUpdate:modelValue":a=>o.states.model[l.field.nameEn]=a,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEn||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEn)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","class","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024),e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[e.createVNode(h,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameChFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameChFamily,prop:l.field.nameChFamily,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameChFamily),onFocus:a=>o.inputFocus(a,l.field.nameChFamily),onChange:a=>o.inputChange(a,l.field.nameChFamily),onInput:a=>o.inputInput(a,"nameChFamily"in l.field?l.field.nameCh:""),maxlength:l.maxlengthNameChFamily,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameChFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),modelValue:o.states.model[l.field.nameChFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameChFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","class","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(h,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameCh?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameCh,prop:l.field.nameCh,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameCh),onFocus:a=>o.inputFocus(a,l.field.nameCh),onChange:a=>o.inputChange(a,l.field.nameCh),onInput:a=>o.inputInput(a,l.field.nameCh),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameCh||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameCh,modelValue:o.states.model[l.field.nameCh],"onUpdate:modelValue":a=>o.states.model[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameCh)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","disabled"])):l.type==="gender"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:2,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"radio_row"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Y,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{value:s.code,size:"large",key:s.code},{default:e.withCtx(()=>[e.createElementVNode("img",{src:s.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,H)]),_:2},1032,["value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])):l.type==="radio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:3,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",K,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",value:s.code,key:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["value","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="radioNote"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:4,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",W,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",Q,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",P,"*")):e.createCommentVNode("",!0)]),e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",value:s.code,key:s.code},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="checkbox"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:5,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",u,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.checkChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(B,{key:s.code,value:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["value","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="checkboxRadio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:6,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Z,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.handleCheckedChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(B,{key:s.code,value:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["value","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="select"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:7,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",G,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{"popper-class":"selectTriangles",teleported:!1,modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.selectChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,placeholder:l.placeholder,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),clearable:l.clearable,"fit-input-width":!0},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(x,{key:s.code,label:s.name,value:s.code},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","placeholder","class","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])):l.type==="date"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:8,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"date_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(A,{size:"large",format:l.format||"DD/MM/YYYY",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,"disabled-date":l.disabledDate,suffixIcon:l.suffixIcon,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showToday:l.showToday,renderExtraFooter:l.extraFooter,inputReadOnly:l.readonly,mode:l.mode,picker:l.picker,placeholder:l.placeholder||l.label,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),onCalendarChange:a=>o.calendarChange(a,typeof l.field=="string"?l.field:""),onOk:a=>o.onOk(a,typeof l.field=="string"?l.field:"")},null,8,["format","valueFormat","value","onUpdate:value","disabled-date","suffixIcon","disabled","showToday","renderExtraFooter","inputReadOnly","mode","picker","placeholder","class","onChange","onCalendarChange","onOk"]),l.showTo?(e.openBlock(),e.createElementBlock("span",X,e.toDisplayString(l.showTo),1)):e.createCommentVNode("",!0)]),_:2},1032,["label","rules","prop"])):l.type==="daterange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:9,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",$,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(R,{"popper-class":"selectTriangles",teleported:!1,format:l.format||"DD/MM/YYYY HH:mm:ss",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY HH:mm:ss","disabled-date":l.disabledDate,"disabled-time":l==null?void 0:l.disabledRangeTime,"show-time":"",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,suffixIcon:l.suffixIcon,separator:"To",placeholder:l.placeholder,size:"large",class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),onCalendarChange:a=>o.calendarChange(a,typeof l.field=="string"?l.field:""),onOk:a=>o.onOk(a,typeof l.field=="string"?l.field:"")},null,8,["format","valueFormat","disabled-date","disabled-time","value","onUpdate:value","suffixIcon","placeholder","class","onChange","onCalendarChange","onOk"])]),_:2},1032,["label","rules","prop"])):l.type==="slotItem"?(e.openBlock(),e.createBlock(i,{key:10,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"rule_err"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",v,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.renderSlot(r.$slots,l.slotItemName,{},void 0,!0)]),_:2},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?(e.openBlock(),e.createBlock(i,{key:11,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.phoneNumber,prop:l.field.phoneNumber,class:"phone_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",ll,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>{var a,s,b,_;return[e.createElementVNode("div",{class:e.normalizeClass(o.phoneWrap?["phone_item_content","phone_item_content_wrap"]:"phone_item_content")},[o.phoneWrap?(e.openBlock(),e.createElementBlock("div",el,[l.field.nationCode?(e.openBlock(),e.createBlock(w,{key:0,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((a=l.nationOptions)==null?void 0:a.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":"areaCode_input"),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,c)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:c},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),ol,l.field.areaCode?(e.openBlock(),e.createBlock(p,{key:1,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((s=l.areaOptions)==null?void 0:s.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),al])):e.createCommentVNode("",!0),l.field.nationCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(w,{key:1,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((b=l.nationOptions)==null?void 0:b.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,c)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:c},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",nl,"-")),l.field.areaCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(p,{key:3,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((_=l.areaOptions)==null?void 0:_.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",dl,"-")),l.field.phoneNumber?(e.openBlock(),e.createBlock(p,{key:5,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.phoneNumber],"onUpdate:modelValue":n=>o.states.model[l.field.phoneNumber]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyPhoneNumber)&&!l.openDisabled,placeholder:l.placeholder||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyPhoneNumber||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0)],2)]}),_:2},1032,["label","rules","prop"])):l.type==="line"?(e.openBlock(),e.createBlock(i,{key:12,label:l.label},{default:e.withCtx(()=>[sl]),_:2},1032,["label"])):l.type==="number"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:13,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",rl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,modelModifiers:{number:!0},"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"number",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"])):(e.openBlock(),e.createBlock(i,{key:14,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",tl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"text",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"]))],4)]),_:2},1032,["xs","sm","md","lg","xl"])),[[e.vShow,!l.isHide]])),128))]),_:3}),e.createVNode(i,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"buttons",{model:f.model,onBtnClick:o.onSubmit},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.formOptions.btnConfig,(l,D)=>(e.openBlock(),e.createElementBlock("div",{key:D},[l.isShow?(e.openBlock(),e.createBlock(S,{key:0,btnCode:l.btnCode,plain:l.plain,primary:l.primary,info:l.info,text:l.text,debounced:l.debounced?l.debounced:!1,link:l.link,loading:l.loading,loadingColor:l.loadingColor,width:l.width,height:l.height,circle:l.circle,color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,borderStyle:l.borderStyle,borderWidth:l.borderWidth,icon:l.icon,size:l.size,fontSize:l.fontSize,fontWeight:l.fontWeight,style:e.normalizeStyle(l.style),class:e.normalizeClass(l.class),onHandleClick:a=>o.handleClick(a,l.isRule,l.emitName)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.name),1)]),_:2},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"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}const m=T(U,[["render",il],["__scopeId","data-v-33bb5ef5"]]);function O(r,t={}){O.installed||(O.installed=!0,r.component("common-el-form",m))}return m.install=O,m});
|
|
1
|
+
(function(e,g){typeof exports=="object"&&typeof module<"u"?module.exports=g(require("vue")):typeof define=="function"&&define.amd?define(["vue"],g):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=g(e.Vue))})(this,function(e){"use strict";const g="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==",U={props:{fieldList:{type:Array,required:!0,default:()=>({username:"",age:0,email:""})},model:{type:Object,required:!0,default:()=>({username:"",age:0,email:""})},options:Object},setup(r,{emit:t}){const f=e.ref(!0),o=e.reactive({model:{}}),y=e.ref(null),I=e.shallowRef({render(){return e.h("img",{src:g})}}),i=e.computed(()=>Object.assign([],r.options)),p=()=>{o.model=r.model},b=(n,d,c)=>{var z;d?(f.value=!1,e.nextTick(()=>{var F;(F=y.value)==null||F.validate(cl=>{if(cl)t(c||"submit",o.model,n);else return!1})})):(c==="reset"&&((z=y.value)==null||z.resetFields()),t(c||"submit",o.model,n))},k=(n,d)=>{t("selectChange",n,d)},C=(n,d)=>{t("radioChange",n,d)},N=(n,d)=>{t("checkChange",n,d)},B=(n,d)=>{const c=o.model[d].length;if(c===1){t("checkChange",n,d);return}else c>1?(o.model[d].shift(),t("checkChange",n,d)):c<1&&t("checkChange",n,d)},V=(n,d,c)=>{b(n,d,c)},x=(n,d)=>{n&&(d==null?void 0:d.key)==="Enter"&&b(void 0,!0,"submit")},w=(n,d)=>{t("dateChange",n,d)},A=(n,d)=>{t("calendarChange",n,d)},R=(n,d)=>{t("onOk",n,d)},S=(n,d)=>{console.log(y.value),t("inputBlur",n,d)},E=(n,d)=>{t("inputFocus",n,d)},l=(n,d)=>{t("inputChange",n,d)},D=(n,d)=>{t("inputInput",n,d)},a=n=>{var d;(d=y.value)==null||d.resetFields(n)},s=n=>{var d;(d=y.value)==null||d.clearValidate(n)},h=e.ref(!1),_=()=>{window.innerWidth<768?(console.log("屏幕宽度小于768px"),h.value=!0):h.value=!1};return e.onMounted(()=>{var n;p(),(n=y.value)==null||n.resetFields(),window.addEventListener("resize",_)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",_)}),e.watch(()=>r.fieldList,(n,d)=>{n!==d&&p()}),{...e.toRefs(o),formRef:y,states:o,formOptions:i,onSubmit:b,selectChange:k,radioChange:C,checkChange:N,handleCheckedChange:B,prefixIcon:I,handleClick:V,handleKeyUp:x,resetFieldsTest:a,clearValidateTest:s,dateChange:w,calendarChange:A,onOk:R,inputBlur:S,inputFocus:E,inputChange:l,inputInput:D,noFormRule:f,phoneWrap:h}}},pl="",yl="",T=(r,t)=>{const f=r.__vccOpts||r;for(const[o,y]of t)f[o]=y;return f},M=r=>(e.pushScopeId("data-v-ce3624e9"),r=r(),e.popScopeId(),r),j={class:"header-title"},L={class:"title-content"},q={key:0,class:"custom-required"},Y={key:0,class:"custom-required"},H=["src"],K={key:0,class:"custom-required"},W={class:"lable"},Q={class:"lable_note"},P={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},G={key:0,class:"custom-required"},J={key:0,class:"custom-required"},u={key:0,class:"custom-required"},X={key:0,class:"date_to"},$={key:0,class:"custom-required"},v={key:0,class:"custom-required"},ll={key:0,class:"custom-required"},el={key:0,class:"phone_item_content_before"},ol=M(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),al=M(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),nl={key:2,class:"line_middle"},dl={key:4,class:"line_middle"},sl=M(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"39px 0"}},null,-1)),rl={key:0,class:"custom-required"},tl={key:0,class:"custom-required"};function il(r,t,f,o,y,I){const i=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input"),b=e.resolveComponent("el-col"),k=e.resolveComponent("el-row"),C=e.resolveComponent("el-radio"),N=e.resolveComponent("el-radio-group"),B=e.resolveComponent("el-checkbox"),V=e.resolveComponent("el-checkbox-group"),x=e.resolveComponent("el-option"),w=e.resolveComponent("el-select"),A=e.resolveComponent("a-date-picker"),R=e.resolveComponent("a-range-picker"),S=e.resolveComponent("sinosoftCommonButton"),E=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(E,e.mergeProps({"hide-required-asterisk":"",onSubmit:t[0]||(t[0]=e.withModifiers(()=>{},["prevent"])),model:f.model},o.formOptions,{"label-position":o.formOptions.labelPosition,ref:"formRef"}),{default:e.withCtx(()=>[e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.fieldList,(l,D)=>e.withDirectives((e.openBlock(),e.createBlock(b,{xs:l.xs?l.xs:24,sm:l.sm?l.sm:24,md:l.md?l.md:8,lg:l.lg?l.lg:8,xl:l.xl?l.xl:8,key:D},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?(e.openBlock(),e.createBlock(i,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",j,[e.createElementVNode("span",L,e.toDisplayString(l.title),1)])]),_:2},1024)):l.type==="name"&&typeof l.field!="string"&&l.field&&"nameEnFamily"in l.field&&l.rules&&"nameEnFamily"in l.rules?(e.openBlock(),e.createBlock(i,{key:1,label:l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,class:"container_name"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEnFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEnFamily,prop:l.field.nameEnFamily,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEnFamily),onFocus:a=>o.inputFocus(a,l.field.nameEnFamily),onChange:a=>o.inputChange(a,l.field.nameEnFamily),onInput:a=>o.inputInput(a,l.field.nameEnFamily),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEnFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameEnFamily,modelValue:o.states.model[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEnFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEn?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEn,prop:l.field.nameEn,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEn),onFocus:a=>o.inputFocus(a,l.field.nameEn),onChange:a=>o.inputChange(a,l.field.nameEn),onInput:a=>o.inputInput(a,l.field.nameEn),maxlength:l.maxlengthNameEn,modelValue:o.states.model[l.field.nameEn],"onUpdate:modelValue":a=>o.states.model[l.field.nameEn]=a,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEn||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEn)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","class","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024),e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameChFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameChFamily,prop:l.field.nameChFamily,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameChFamily),onFocus:a=>o.inputFocus(a,l.field.nameChFamily),onChange:a=>o.inputChange(a,l.field.nameChFamily),onInput:a=>o.inputInput(a,"nameChFamily"in l.field?l.field.nameCh:""),maxlength:l.maxlengthNameChFamily,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameChFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),modelValue:o.states.model[l.field.nameChFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameChFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","class","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameCh?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameCh,prop:l.field.nameCh,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameCh),onFocus:a=>o.inputFocus(a,l.field.nameCh),onChange:a=>o.inputChange(a,l.field.nameCh),onInput:a=>o.inputInput(a,l.field.nameCh),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameCh||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameCh,modelValue:o.states.model[l.field.nameCh],"onUpdate:modelValue":a=>o.states.model[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameCh)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","disabled"])):l.type==="gender"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:2,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"radio_row"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Y,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{label:s.code,size:"large",key:s.code},{default:e.withCtx(()=>[e.createElementVNode("img",{src:s.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,H)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])):l.type==="radio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:3,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",K,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",label:s.code,key:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="radioNote"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:4,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",W,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",Q,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",P,"*")):e.createCommentVNode("",!0)]),e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",label:s.code,key:s.code},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="checkbox"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:5,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Z,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.checkChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(B,{key:s.code,label:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="checkboxRadio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:6,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",G,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.handleCheckedChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(B,{key:s.code,label:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="select"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:7,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{"popper-class":"selectTriangles",teleported:!1,modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.selectChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,placeholder:l.placeholder,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),clearable:l.clearable,"fit-input-width":!0},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(x,{key:s.code,label:s.name,value:s.code},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","placeholder","class","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])):l.type==="date"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:8,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"date_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",u,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(A,{size:"large",format:l.format||"DD/MM/YYYY",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,"disabled-date":l.disabledDate,suffixIcon:l.suffixIcon,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showToday:l.showToday,renderExtraFooter:l.extraFooter,inputReadOnly:l.readonly,mode:l.mode,picker:l.picker,placeholder:l.placeholder||l.label,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),onCalendarChange:a=>o.calendarChange(a,typeof l.field=="string"?l.field:""),onOk:a=>o.onOk(a,typeof l.field=="string"?l.field:"")},null,8,["format","valueFormat","value","onUpdate:value","disabled-date","suffixIcon","disabled","showToday","renderExtraFooter","inputReadOnly","mode","picker","placeholder","class","onChange","onCalendarChange","onOk"]),l.showTo?(e.openBlock(),e.createElementBlock("span",X,e.toDisplayString(l.showTo),1)):e.createCommentVNode("",!0)]),_:2},1032,["label","rules","prop"])):l.type==="daterange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:9,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",$,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(R,{"popper-class":"selectTriangles",teleported:!1,format:l.format||"DD/MM/YYYY HH:mm:ss",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY HH:mm:ss","disabled-date":l.disabledDate,"disabled-time":l==null?void 0:l.disabledRangeTime,"show-time":"",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,suffixIcon:l.suffixIcon,separator:l.separator||"To",placeholder:l.placeholder,size:"large",class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),onCalendarChange:a=>o.calendarChange(a,typeof l.field=="string"?l.field:""),onOk:a=>o.onOk(a,typeof l.field=="string"?l.field:"")},null,8,["format","valueFormat","disabled-date","disabled-time","value","onUpdate:value","suffixIcon","separator","placeholder","class","onChange","onCalendarChange","onOk"])]),_:2},1032,["label","rules","prop"])):l.type==="slotItem"?(e.openBlock(),e.createBlock(i,{key:10,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"rule_err"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",v,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.renderSlot(r.$slots,l.slotItemName,{},void 0,!0)]),_:2},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?(e.openBlock(),e.createBlock(i,{key:11,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.phoneNumber,prop:l.field.phoneNumber,class:"phone_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",ll,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>{var a,s,h,_;return[e.createElementVNode("div",{class:e.normalizeClass(o.phoneWrap?["phone_item_content","phone_item_content_wrap"]:"phone_item_content")},[o.phoneWrap?(e.openBlock(),e.createElementBlock("div",el,[l.field.nationCode?(e.openBlock(),e.createBlock(w,{key:0,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((a=l.nationOptions)==null?void 0:a.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":"areaCode_input"),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,c)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:c},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),ol,l.field.areaCode?(e.openBlock(),e.createBlock(p,{key:1,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((s=l.areaOptions)==null?void 0:s.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),al])):e.createCommentVNode("",!0),l.field.nationCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(w,{key:1,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((h=l.nationOptions)==null?void 0:h.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,c)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:c},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",nl,"-")),l.field.areaCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(p,{key:3,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((_=l.areaOptions)==null?void 0:_.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",dl,"-")),l.field.phoneNumber?(e.openBlock(),e.createBlock(p,{key:5,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.phoneNumber],"onUpdate:modelValue":n=>o.states.model[l.field.phoneNumber]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyPhoneNumber)&&!l.openDisabled,placeholder:l.placeholder||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyPhoneNumber||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0)],2)]}),_:2},1032,["label","rules","prop"])):l.type==="line"?(e.openBlock(),e.createBlock(i,{key:12,label:l.label},{default:e.withCtx(()=>[sl]),_:2},1032,["label"])):l.type==="number"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:13,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",rl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,modelModifiers:{number:!0},"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"number",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"])):(e.openBlock(),e.createBlock(i,{key:14,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",tl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"text",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"]))],4)]),_:2},1032,["xs","sm","md","lg","xl"])),[[e.vShow,!l.isHide]])),128))]),_:3}),e.createVNode(i,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"buttons",{model:f.model,onBtnClick:o.onSubmit},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.formOptions.btnConfig,(l,D)=>(e.openBlock(),e.createElementBlock("div",{key:D},[l.isShow?(e.openBlock(),e.createBlock(S,{key:0,btnCode:l.btnCode,plain:l.plain,primary:l.primary,info:l.info,text:l.text,debounced:l.debounced?l.debounced:!1,link:l.link,loading:l.loading,loadingColor:l.loadingColor,width:l.width,height:l.height,circle:l.circle,color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,borderStyle:l.borderStyle,borderWidth:l.borderWidth,icon:l.icon,size:l.size,fontSize:l.fontSize,fontWeight:l.fontWeight,style:e.normalizeStyle(l.style),class:e.normalizeClass(l.class),onHandleClick:a=>o.handleClick(a,l.isRule,l.emitName)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.name),1)]),_:2},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"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}const m=T(U,[["render",il],["__scopeId","data-v-ce3624e9"]]);function O(r,t={}){O.installed||(O.installed=!0,r.component("common-el-form",m))}return m.install=O,m});
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";[data-v-33bb5ef5] .el-date-editor{height:60px!important;width:100%!important}[data-v-33bb5ef5] .el-form-item{margin-bottom:12px}[data-v-33bb5ef5] .el-input__inner{height:42px;color:#1d1d1d}[data-v-33bb5ef5] .el-card__body{padding:0}[data-v-33bb5ef5] .el-form-item__label{height:auto!important;margin-bottom:4px!important}.form-item-title[data-v-33bb5ef5]{width:100%}[data-v-33bb5ef5] .el-checkbox-group .el-checkbox{display:flex;height:64px}.rule_err[data-v-33bb5ef5] .el-form-item__content,.radio_Note[data-v-33bb5ef5] .el-form-item__content{display:block}.radio_Note .lable[data-v-33bb5ef5]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular}.radio_Note .lable_note[data-v-33bb5ef5]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Regular}.container_name[data-v-33bb5ef5]{margin-bottom:0}.container_name[data-v-33bb5ef5] .el-form-item__content{width:calc(100% + 20px)}.container_name .el-row[data-v-33bb5ef5],.container_name .el-row[data-v-33bb5ef5] .el-form-item__content{width:100%}.container_name[data-v-33bb5ef5] .el-form-item__content{align-items:start}.container_name[data-v-33bb5ef5] .el-form-item{margin-bottom:0}.container_name .item-name[data-v-33bb5ef5]{width:100%;box-sizing:border-box}.container_name .item-name-top[data-v-33bb5ef5]{margin-bottom:12px;padding-right:0}.container_name .item-name-bottom[data-v-33bb5ef5]{margin-bottom:12px}.container_name[data-v-33bb5ef5] .is-error{margin-bottom:38px}.container_name[data-v-33bb5ef5] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}.btnsItem[data-v-33bb5ef5]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-33bb5ef5] .el-form-item__content{justify-content:right}label[data-v-33bb5ef5]{display:block}.title-content[data-v-33bb5ef5]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto light}[data-v-33bb5ef5] .el-input__wrapper{height:60px;border-radius:8px;padding:1px 16px}.date_item[data-v-33bb5ef5] .el-form-item__content .date_to{font-size:14px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular;position:absolute;right:-17.5px;top:18px}.date_item[data-v-33bb5ef5] .el-form-item__error{padding-top:8px!important}.phone_item[data-v-33bb5ef5] .el-form-item__content{display:flex}.phone_item[data-v-33bb5ef5] .el-form-item__content .el-select{width:180.03px}.phone_item[data-v-33bb5ef5] .el-form-item__content .line_middle{margin:0 4px}.phone_item[data-v-33bb5ef5] .el-input__suffix-inner{width:14px;padding-right:3px}.phone_item .phone_item_content[data-v-33bb5ef5]{display:flex;flex-wrap:nowrap;align-items:center;width:100%}.phone_item .phone_item_content .phone_item_content_before[data-v-33bb5ef5]{display:flex;flex-wrap:nowrap;align-items:center;width:100%;margin-bottom:12px}.phone_item .phone_item_content[data-v-33bb5ef5] .readonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-33bb5ef5] .readonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-33bb5ef5] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-33bb5ef5] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-33bb5ef5] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-33bb5ef5] .inputReadonly{width:180.03px}.phone_item .phone_item_content[data-v-33bb5ef5] .inputReadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-33bb5ef5] .inputReadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-33bb5ef5] .inputReadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content .areaCode_input[data-v-33bb5ef5]{width:180.03px}.phone_item .phone_item_content .areaCode_input .el-input__wrapper[data-v-33bb5ef5]{box-shadow:none!important;border:1px solid #c7c8ca!important}.phone_item .phone_item_content_wrap[data-v-33bb5ef5]{flex-wrap:wrap}.input-item[data-v-33bb5ef5] .el-input-group__prepend{border:1px solid #c7c8ca!important;border-top-left-radius:8px;border-bottom-left-radius:8px;border-right:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 0 0 16px;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}.input-item[data-v-33bb5ef5] .el-input__wrapper{border-left:0px!important;border-right:0px!important;box-shadow:none!important;border-radius:0!important;padding-left:8px;padding-right:8px;border-top:1px solid #c7c8ca;border-bottom:1px solid #c7c8ca}.input-item[data-v-33bb5ef5] .el-input-group__append{border:1px solid #c7c8ca!important;border-top-right-radius:8px;border-bottom-right-radius:8px;border-left:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 16px 0 0;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}[data-v-33bb5ef5] .is-error .areaCode_select .el-input__wrapper{box-shadow:none!important;border:1px solid #c7c8ca!important}[data-v-33bb5ef5] .el-select{width:100%}[data-v-33bb5ef5] .el-select .el-icon{height:15px}[data-v-33bb5ef5] .el-select .el-icon svg{display:none}[data-v-33bb5ef5] .el-select .el-icon:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjA3MTYgNC4wMDAwMUgxMS4wNjcxQzEwLjk5ODggNC4wMDAwMSAxMC45MzQ1IDQuMDMzNDkgMTAuODk0NCA0LjA4ODRMNy4wODk0NSA5LjMzMzA0TDMuMjg0NTQgNC4wODg0QzMuMjQ0MzYgNC4wMzM0OSAzLjE4MDA3IDQuMDAwMDEgMy4xMTE3NyA0LjAwMDAxSDIuMTA3M0MyLjAyMDI1IDQuMDAwMDEgMS45NjkzNiA0LjA5OTExIDIuMDIwMjUgNC4xNzAxTDYuNzQyNTcgMTAuNjgwNEM2LjkxNCAxMC45MTYxIDcuMjY0ODkgMTAuOTE2MSA3LjQzNDk4IDEwLjY4MDRMMTIuMTU3MyA0LjE3MDFDMTIuMjA5NSA0LjA5OTExIDEyLjE1ODYgNC4wMDAwMSAxMi4wNzE2IDQuMDAwMDFWNC4wMDAwMVoiIGZpbGw9IiNDN0M4Q0EiLz4KPC9zdmc+Cg==) center center no-repeat;position:absolute;width:15px;height:15px}.custom-required[data-v-33bb5ef5]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-33bb5ef5]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Regular;width:100%;word-wrap:break-word;white-space:normal}[data-v-33bb5ef5] .readonly .el-input-group__prepend,[data-v-33bb5ef5] .readonly .el-input-group__append{background-color:#f3f3f3!important}[data-v-33bb5ef5] .readonly .el-input__wrapper,[data-v-33bb5ef5] .readonly .el-textarea{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-33bb5ef5] .readonly .el-input__wrapper .el-input__inner,[data-v-33bb5ef5] .readonly .el-input__wrapper .el-textarea__inner,[data-v-33bb5ef5] .readonly .el-textarea .el-input__inner,[data-v-33bb5ef5] .readonly .el-textarea .el-textarea__inner,[data-v-33bb5ef5] .readonly .el-textarea__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-33bb5ef5] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-33bb5ef5] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-33bb5ef5] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}[data-v-33bb5ef5] .el-input.is-disabled .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #d9d9d9 inset}[data-v-33bb5ef5] .el-input__wrapper{border:1px solid #c7c8ca;box-shadow:none!important}[data-v-33bb5ef5] .is-error{margin-bottom:38px}[data-v-33bb5ef5] .is-error .el-input__wrapper{border:1px solid #fd3d38;box-shadow:none!important}[data-v-33bb5ef5] .is-error .el-input-group__prepend{border:1px solid #fd3d38!important;border-right:0px!important}[data-v-33bb5ef5] .is-error .el-input-group__append{border:1px solid #fd3d38!important;border-left:0px!important}[data-v-33bb5ef5] .el-select__wrapper{height:60px}[data-v-33bb5ef5] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}[data-v-33bb5ef5] .el-textarea__inner{border:1px solid #c7c8ca;box-shadow:none}.radio_row .el-radio.el-radio--large[data-v-33bb5ef5]{height:64px;line-height:64px}[data-v-33bb5ef5] .ant-picker{width:100%;height:60px}[data-v-33bb5ef5] ::-webkit-outer-spin-button,[data-v-33bb5ef5] ::-webkit-inner-spin-button{-webkit-appearance:none}[data-v-33bb5ef5] input[type=number]{-moz-appearance:textfield}.selectTriangles .el-popper__arrow:before{display:none!important}.el-popper.is-light{border:none!important}.selectTriangles .el-select-dropdown__list{margin:0!important;border-radius:2px;border:none!important}.selectTriangles .el-select-dropdown__item{min-height:40px!important;line-height:40px;height:auto;white-space:initial}
|
|
1
|
+
@charset "UTF-8";[data-v-ce3624e9] .el-date-editor{height:60px!important;width:100%!important}[data-v-ce3624e9] .el-form-item{margin-bottom:12px}[data-v-ce3624e9] .el-input__inner{height:42px;color:#1d1d1d}[data-v-ce3624e9] .el-card__body{padding:0}[data-v-ce3624e9] .el-form-item__label{height:auto!important;margin-bottom:4px!important}.form-item-title[data-v-ce3624e9]{width:100%}[data-v-ce3624e9] .el-checkbox-group .el-checkbox{display:flex;height:64px}.rule_err[data-v-ce3624e9] .el-form-item__content,.radio_Note[data-v-ce3624e9] .el-form-item__content{display:block}.radio_Note .lable[data-v-ce3624e9]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular}.radio_Note .lable_note[data-v-ce3624e9]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Regular}.container_name[data-v-ce3624e9]{margin-bottom:0}.container_name[data-v-ce3624e9] .el-form-item__content{width:calc(100% + 20px)}.container_name .el-row[data-v-ce3624e9],.container_name .el-row[data-v-ce3624e9] .el-form-item__content{width:100%}.container_name[data-v-ce3624e9] .el-form-item__content{align-items:start}.container_name[data-v-ce3624e9] .el-form-item{margin-bottom:0}.container_name .item-name[data-v-ce3624e9]{width:100%;box-sizing:border-box}.container_name .item-name-top[data-v-ce3624e9]{margin-bottom:12px;padding-right:0}.container_name .item-name-bottom[data-v-ce3624e9]{margin-bottom:12px}.container_name[data-v-ce3624e9] .is-error{margin-bottom:38px}.container_name[data-v-ce3624e9] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}.btnsItem[data-v-ce3624e9]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-ce3624e9] .el-form-item__content{justify-content:right}label[data-v-ce3624e9]{display:block}.title-content[data-v-ce3624e9]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto light}[data-v-ce3624e9] .el-input__wrapper{height:60px;border-radius:8px;padding:1px 16px}.date_item[data-v-ce3624e9] .el-form-item__content .date_to{font-size:14px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular;position:absolute;right:-17.5px;top:18px}.date_item[data-v-ce3624e9] .el-form-item__error{padding-top:8px!important}.phone_item[data-v-ce3624e9] .el-form-item__content{display:flex}.phone_item[data-v-ce3624e9] .el-form-item__content .el-select{width:180.03px}.phone_item[data-v-ce3624e9] .el-form-item__content .line_middle{margin:0 4px}.phone_item[data-v-ce3624e9] .el-input__suffix-inner{width:14px;padding-right:3px}.phone_item .phone_item_content[data-v-ce3624e9]{display:flex;flex-wrap:nowrap;align-items:center;width:100%}.phone_item .phone_item_content .phone_item_content_before[data-v-ce3624e9]{display:flex;flex-wrap:nowrap;align-items:center;width:100%;margin-bottom:12px}.phone_item .phone_item_content[data-v-ce3624e9] .readonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-ce3624e9] .readonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-ce3624e9] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-ce3624e9] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-ce3624e9] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-ce3624e9] .inputReadonly{width:180.03px}.phone_item .phone_item_content[data-v-ce3624e9] .inputReadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-ce3624e9] .inputReadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-ce3624e9] .inputReadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content .areaCode_input[data-v-ce3624e9]{width:180.03px}.phone_item .phone_item_content .areaCode_input .el-input__wrapper[data-v-ce3624e9]{box-shadow:none!important;border:1px solid #c7c8ca!important}.phone_item .phone_item_content_wrap[data-v-ce3624e9]{flex-wrap:wrap}.input-item[data-v-ce3624e9] .el-input-group__prepend{border:1px solid #c7c8ca!important;border-top-left-radius:8px;border-bottom-left-radius:8px;border-right:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 0 0 16px;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}.input-item[data-v-ce3624e9] .el-input__wrapper{border-left:0px!important;border-right:0px!important;box-shadow:none!important;border-radius:0!important;padding-left:8px;padding-right:8px;border-top:1px solid #c7c8ca;border-bottom:1px solid #c7c8ca}.input-item[data-v-ce3624e9] .el-input-group__append{border:1px solid #c7c8ca!important;border-top-right-radius:8px;border-bottom-right-radius:8px;border-left:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 16px 0 0;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}[data-v-ce3624e9] .is-error .areaCode_select .el-input__wrapper{box-shadow:none!important;border:1px solid #c7c8ca!important}[data-v-ce3624e9] .el-select{width:100%}[data-v-ce3624e9] .el-select .el-icon{height:15px}[data-v-ce3624e9] .el-select .el-icon svg{display:none}[data-v-ce3624e9] .el-select .el-icon:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjA3MTYgNC4wMDAwMUgxMS4wNjcxQzEwLjk5ODggNC4wMDAwMSAxMC45MzQ1IDQuMDMzNDkgMTAuODk0NCA0LjA4ODRMNy4wODk0NSA5LjMzMzA0TDMuMjg0NTQgNC4wODg0QzMuMjQ0MzYgNC4wMzM0OSAzLjE4MDA3IDQuMDAwMDEgMy4xMTE3NyA0LjAwMDAxSDIuMTA3M0MyLjAyMDI1IDQuMDAwMDEgMS45NjkzNiA0LjA5OTExIDIuMDIwMjUgNC4xNzAxTDYuNzQyNTcgMTAuNjgwNEM2LjkxNCAxMC45MTYxIDcuMjY0ODkgMTAuOTE2MSA3LjQzNDk4IDEwLjY4MDRMMTIuMTU3MyA0LjE3MDFDMTIuMjA5NSA0LjA5OTExIDEyLjE1ODYgNC4wMDAwMSAxMi4wNzE2IDQuMDAwMDFWNC4wMDAwMVoiIGZpbGw9IiNDN0M4Q0EiLz4KPC9zdmc+Cg==) center center no-repeat;position:absolute;width:15px;height:15px}.ant-picker[data-v-ce3624e9] .ant-picker-suffix{position:absolute;left:2px}.ant-picker-range[data-v-ce3624e9] .ant-picker-suffix{position:absolute;left:12px}[data-v-ce3624e9] .ant-picker-input input{margin-left:30px}[data-v-ce3624e9] .ant-picker .ant-picker-suffix .anticon svg{color:#000!important}.custom-required[data-v-ce3624e9]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-ce3624e9]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Regular;width:100%;word-wrap:break-word;white-space:normal}[data-v-ce3624e9] .readonly .el-input-group__prepend,[data-v-ce3624e9] .readonly .el-input-group__append{background-color:#f3f3f3!important}[data-v-ce3624e9] .readonly .el-input__wrapper,[data-v-ce3624e9] .readonly .el-textarea{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-ce3624e9] .readonly .el-input__wrapper .el-input__inner,[data-v-ce3624e9] .readonly .el-input__wrapper .el-textarea__inner,[data-v-ce3624e9] .readonly .el-textarea .el-input__inner,[data-v-ce3624e9] .readonly .el-textarea .el-textarea__inner,[data-v-ce3624e9] .readonly .el-textarea__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-ce3624e9] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-ce3624e9] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-ce3624e9] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}[data-v-ce3624e9] .el-input.is-disabled .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #d9d9d9 inset}[data-v-ce3624e9] .el-input__wrapper{border:1px solid #c7c8ca;box-shadow:none!important}[data-v-ce3624e9] .is-error{margin-bottom:38px}[data-v-ce3624e9] .is-error .el-input__wrapper{border:1px solid #fd3d38;box-shadow:none!important}[data-v-ce3624e9] .is-error .el-input-group__prepend{border:1px solid #fd3d38!important;border-right:0px!important}[data-v-ce3624e9] .is-error .el-input-group__append{border:1px solid #fd3d38!important;border-left:0px!important}[data-v-ce3624e9] .el-select__wrapper{height:60px}[data-v-ce3624e9] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}[data-v-ce3624e9] .el-textarea__inner{border:1px solid #c7c8ca;box-shadow:none}.radio_row .el-radio.el-radio--large[data-v-ce3624e9]{height:64px;line-height:64px}[data-v-ce3624e9] .ant-picker{width:100%;height:60px}[data-v-ce3624e9] ::-webkit-outer-spin-button,[data-v-ce3624e9] ::-webkit-inner-spin-button{-webkit-appearance:none}[data-v-ce3624e9] input[type=number]{-moz-appearance:textfield}.selectTriangles .el-popper__arrow:before{display:none!important}.el-popper.is-light{border:none!important}.selectTriangles .el-select-dropdown__list{margin:0!important;border-radius:2px;border:none!important}.selectTriangles .el-select-dropdown__item{min-height:40px!important;line-height:40px;height:auto;white-space:initial}
|