sinosoft-common-form 1.7.7 → 1.7.9
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 +52 -48
- 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 P, reactive as ol, shallowRef as dl, h as nl, computed as sl, onMounted as rl, onBeforeUnmount as Ml, watch as il, toRefs as yl, nextTick as ul, resolveComponent as T, openBlock as d, createBlock as M, mergeProps as cl, withModifiers as pl, withCtx as n, createVNode as g, createElementBlock as r, Fragment as
|
|
1
|
+
import { ref as P, reactive as ol, shallowRef as dl, h as nl, computed as sl, onMounted as rl, onBeforeUnmount as Ml, watch as il, toRefs as yl, nextTick as ul, resolveComponent as T, openBlock as d, createBlock as M, mergeProps as cl, withModifiers as pl, withCtx as n, createVNode as g, createElementBlock as r, Fragment as w, renderList as A, withDirectives as fl, createElementVNode as N, normalizeStyle as p, toDisplayString as y, createTextVNode as t, createCommentVNode as u, renderSlot as h, normalizeClass as b, withKeys as _, createSlots as J, vShow as gl, pushScopeId as bl, popScopeId as Dl } from "vue";
|
|
2
2
|
const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAw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B3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
32
32
|
}
|
|
33
33
|
}), f = sl(() => Object.assign([], c.options)), O = () => {
|
|
34
34
|
e.model = c.model;
|
|
35
|
-
},
|
|
35
|
+
}, C = (o, s, I) => {
|
|
36
36
|
var q;
|
|
37
37
|
s ? (z.value = !1, ul(() => {
|
|
38
38
|
var K;
|
|
@@ -57,9 +57,9 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
57
57
|
} else
|
|
58
58
|
I > 1 ? (e.model[s].shift(), D("checkChange", o, s)) : I < 1 && D("checkChange", o, s);
|
|
59
59
|
}, v = (o, s, I) => {
|
|
60
|
-
|
|
60
|
+
C(o, s, I);
|
|
61
61
|
}, S = (o, s) => {
|
|
62
|
-
o && (s == null ? void 0 : s.key) === "Enter" &&
|
|
62
|
+
o && (s == null ? void 0 : s.key) === "Enter" && C(void 0, !0, "submit");
|
|
63
63
|
}, Y = (o, s) => {
|
|
64
64
|
var I;
|
|
65
65
|
(I = j.value) == null || I.validateField(s), D("dateChange", o, s);
|
|
@@ -81,8 +81,8 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
81
81
|
}, i = (o) => {
|
|
82
82
|
var s;
|
|
83
83
|
(s = j.value) == null || s.clearValidate(o);
|
|
84
|
-
},
|
|
85
|
-
window.innerWidth < 768 ?
|
|
84
|
+
}, x = P(!1), F = () => {
|
|
85
|
+
window.innerWidth < 768 ? x.value = !0 : x.value = !1;
|
|
86
86
|
};
|
|
87
87
|
return rl(() => {
|
|
88
88
|
var o;
|
|
@@ -99,7 +99,7 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
99
99
|
formRef: j,
|
|
100
100
|
states: e,
|
|
101
101
|
formOptions: f,
|
|
102
|
-
onSubmit:
|
|
102
|
+
onSubmit: C,
|
|
103
103
|
selectChange: L,
|
|
104
104
|
radioChange: E,
|
|
105
105
|
checkChange: R,
|
|
@@ -117,7 +117,7 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
117
117
|
inputChange: l,
|
|
118
118
|
inputInput: U,
|
|
119
119
|
noFormRule: z,
|
|
120
|
-
phoneWrap:
|
|
120
|
+
phoneWrap: x
|
|
121
121
|
// spaceRule,
|
|
122
122
|
};
|
|
123
123
|
}
|
|
@@ -127,19 +127,19 @@ const Il = (c, D) => {
|
|
|
127
127
|
for (const [e, j] of D)
|
|
128
128
|
z[e] = j;
|
|
129
129
|
return z;
|
|
130
|
-
},
|
|
130
|
+
}, k = (c) => (bl("data-v-69e03e70"), c = c(), Dl(), c), hl = { class: "header-title" }, Tl = { class: "title-content" }, Ol = {
|
|
131
131
|
key: 0,
|
|
132
132
|
class: "custom-required"
|
|
133
133
|
}, jl = {
|
|
134
134
|
key: 0,
|
|
135
135
|
class: "custom-required"
|
|
136
|
-
},
|
|
136
|
+
}, wl = ["src"], Al = {
|
|
137
137
|
key: 0,
|
|
138
138
|
class: "custom-required"
|
|
139
|
-
},
|
|
139
|
+
}, kl = { class: "lable" }, zl = { class: "lable_note" }, Cl = {
|
|
140
140
|
key: 0,
|
|
141
141
|
class: "custom-required"
|
|
142
|
-
},
|
|
142
|
+
}, xl = {
|
|
143
143
|
key: 0,
|
|
144
144
|
class: "custom-required"
|
|
145
145
|
}, _l = {
|
|
@@ -154,16 +154,16 @@ const Il = (c, D) => {
|
|
|
154
154
|
}, vl = {
|
|
155
155
|
key: 0,
|
|
156
156
|
class: "custom-required"
|
|
157
|
-
}, Sl = /* @__PURE__ */
|
|
157
|
+
}, Sl = /* @__PURE__ */ k(() => /* @__PURE__ */ N("img", {
|
|
158
158
|
src: X,
|
|
159
159
|
alt: ""
|
|
160
|
-
}, null, -1)), Yl = /* @__PURE__ */
|
|
160
|
+
}, null, -1)), Yl = /* @__PURE__ */ k(() => /* @__PURE__ */ N("img", {
|
|
161
161
|
src: m,
|
|
162
162
|
alt: ""
|
|
163
|
-
}, null, -1)), Ul = /* @__PURE__ */
|
|
163
|
+
}, null, -1)), Ul = /* @__PURE__ */ k(() => /* @__PURE__ */ N("img", {
|
|
164
164
|
src: $,
|
|
165
165
|
alt: ""
|
|
166
|
-
}, null, -1)), Fl = /* @__PURE__ */
|
|
166
|
+
}, null, -1)), Fl = /* @__PURE__ */ k(() => /* @__PURE__ */ N("img", {
|
|
167
167
|
src: ll,
|
|
168
168
|
alt: ""
|
|
169
169
|
}, null, -1)), Wl = {
|
|
@@ -172,16 +172,16 @@ const Il = (c, D) => {
|
|
|
172
172
|
}, Bl = {
|
|
173
173
|
key: 0,
|
|
174
174
|
class: "custom-required"
|
|
175
|
-
}, Zl = /* @__PURE__ */
|
|
175
|
+
}, Zl = /* @__PURE__ */ k(() => /* @__PURE__ */ N("img", {
|
|
176
176
|
src: X,
|
|
177
177
|
alt: ""
|
|
178
|
-
}, null, -1)), Gl = /* @__PURE__ */
|
|
178
|
+
}, null, -1)), Gl = /* @__PURE__ */ k(() => /* @__PURE__ */ N("img", {
|
|
179
179
|
src: m,
|
|
180
180
|
alt: ""
|
|
181
|
-
}, null, -1)), Pl = /* @__PURE__ */
|
|
181
|
+
}, null, -1)), Pl = /* @__PURE__ */ k(() => /* @__PURE__ */ N("img", {
|
|
182
182
|
src: $,
|
|
183
183
|
alt: ""
|
|
184
|
-
}, null, -1)), Hl = /* @__PURE__ */
|
|
184
|
+
}, null, -1)), Hl = /* @__PURE__ */ k(() => /* @__PURE__ */ N("img", {
|
|
185
185
|
src: ll,
|
|
186
186
|
alt: ""
|
|
187
187
|
}, null, -1)), Ql = {
|
|
@@ -196,13 +196,13 @@ const Il = (c, D) => {
|
|
|
196
196
|
}, Jl = {
|
|
197
197
|
key: 0,
|
|
198
198
|
class: "phone_item_content_before"
|
|
199
|
-
}, Xl = /* @__PURE__ */
|
|
199
|
+
}, Xl = /* @__PURE__ */ k(() => /* @__PURE__ */ N("div", { class: "line_middle" }, "-", -1)), ml = /* @__PURE__ */ k(() => /* @__PURE__ */ N("div", { class: "line_middle" }, "-", -1)), $l = {
|
|
200
200
|
key: 2,
|
|
201
201
|
class: "line_middle"
|
|
202
202
|
}, le = {
|
|
203
203
|
key: 4,
|
|
204
204
|
class: "line_middle"
|
|
205
|
-
}, ee = /* @__PURE__ */
|
|
205
|
+
}, ee = /* @__PURE__ */ k(() => /* @__PURE__ */ N("div", {
|
|
206
206
|
class: "line",
|
|
207
207
|
style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
|
|
208
208
|
}, null, -1)), ae = {
|
|
@@ -213,7 +213,7 @@ const Il = (c, D) => {
|
|
|
213
213
|
class: "custom-required"
|
|
214
214
|
};
|
|
215
215
|
function de(c, D, z, e, j, Q) {
|
|
216
|
-
const f = T("el-form-item"), O = T("el-input"),
|
|
216
|
+
const f = T("el-form-item"), O = T("el-input"), C = T("el-col"), L = T("el-row"), E = T("el-radio"), R = T("el-radio-group"), V = T("el-checkbox"), v = T("el-checkbox-group"), S = T("el-option"), Y = T("el-select"), B = T("a-date-picker"), W = T("a-range-picker"), Z = T("sinosoftCommonButton"), G = T("el-form");
|
|
217
217
|
return d(), M(G, cl({
|
|
218
218
|
"hide-required-asterisk": "",
|
|
219
219
|
onSubmit: D[0] || (D[0] = pl(() => {
|
|
@@ -226,7 +226,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
226
226
|
default: n(() => [
|
|
227
227
|
g(L, { gutter: 24 }, {
|
|
228
228
|
default: n(() => [
|
|
229
|
-
(d(!0), r(
|
|
229
|
+
(d(!0), r(w, null, A(z.fieldList, (l, U) => fl((d(), M(C, {
|
|
230
230
|
xs: l.xs ? l.xs : 24,
|
|
231
231
|
sm: l.sm ? l.sm : 24,
|
|
232
232
|
md: l.md ? l.md : 8,
|
|
@@ -263,7 +263,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
263
263
|
default: n(() => [
|
|
264
264
|
g(L, { gutter: 20 }, {
|
|
265
265
|
default: n(() => [
|
|
266
|
-
g(
|
|
266
|
+
g(C, {
|
|
267
267
|
xs: 24,
|
|
268
268
|
sm: 12,
|
|
269
269
|
md: 12,
|
|
@@ -301,7 +301,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
301
301
|
]),
|
|
302
302
|
_: 2
|
|
303
303
|
}, 1024),
|
|
304
|
-
g(
|
|
304
|
+
g(C, {
|
|
305
305
|
xs: 24,
|
|
306
306
|
sm: 12,
|
|
307
307
|
md: 12,
|
|
@@ -344,7 +344,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
344
344
|
}, 1024),
|
|
345
345
|
g(L, { gutter: 20 }, {
|
|
346
346
|
default: n(() => [
|
|
347
|
-
g(
|
|
347
|
+
g(C, {
|
|
348
348
|
xs: 24,
|
|
349
349
|
sm: 12,
|
|
350
350
|
md: 12,
|
|
@@ -385,7 +385,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
385
385
|
]),
|
|
386
386
|
_: 2
|
|
387
387
|
}, 1024),
|
|
388
|
-
g(
|
|
388
|
+
g(C, {
|
|
389
389
|
xs: 24,
|
|
390
390
|
sm: 12,
|
|
391
391
|
md: 12,
|
|
@@ -454,7 +454,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
454
454
|
default: n(() => {
|
|
455
455
|
var a;
|
|
456
456
|
return [
|
|
457
|
-
(d(!0), r(
|
|
457
|
+
(d(!0), r(w, null, A((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(E, {
|
|
458
458
|
label: i.code,
|
|
459
459
|
size: "large",
|
|
460
460
|
key: i.code
|
|
@@ -464,7 +464,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
464
464
|
src: i.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
|
|
465
465
|
style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
|
|
466
466
|
alt: ""
|
|
467
|
-
}, null, 8,
|
|
467
|
+
}, null, 8, wl)
|
|
468
468
|
]),
|
|
469
469
|
_: 2
|
|
470
470
|
}, 1032, ["label"]))), 128))
|
|
@@ -487,7 +487,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
487
487
|
style: p(l.labelStyle)
|
|
488
488
|
}, [
|
|
489
489
|
t(y(l.label) + " ", 1),
|
|
490
|
-
l.required ? (d(), r("span",
|
|
490
|
+
l.required ? (d(), r("span", Al, "*")) : u("", !0)
|
|
491
491
|
], 4))
|
|
492
492
|
]),
|
|
493
493
|
default: n(() => [
|
|
@@ -504,7 +504,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
504
504
|
default: n(() => {
|
|
505
505
|
var a;
|
|
506
506
|
return [
|
|
507
|
-
(d(!0), r(
|
|
507
|
+
(d(!0), r(w, null, A((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(E, {
|
|
508
508
|
size: "large",
|
|
509
509
|
label: i.code,
|
|
510
510
|
key: i.code,
|
|
@@ -530,9 +530,9 @@ function de(c, D, z, e, j, Q) {
|
|
|
530
530
|
}, {
|
|
531
531
|
default: n(() => [
|
|
532
532
|
N("div", null, [
|
|
533
|
-
N("span",
|
|
533
|
+
N("span", kl, y(l.labelBefore), 1),
|
|
534
534
|
N("span", zl, y(l.labelNode), 1),
|
|
535
|
-
l.required ? (d(), r("span",
|
|
535
|
+
l.required ? (d(), r("span", Cl, "*")) : u("", !0)
|
|
536
536
|
]),
|
|
537
537
|
g(R, {
|
|
538
538
|
modelValue: e.states.model[l.field],
|
|
@@ -547,7 +547,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
547
547
|
default: n(() => {
|
|
548
548
|
var a;
|
|
549
549
|
return [
|
|
550
|
-
(d(!0), r(
|
|
550
|
+
(d(!0), r(w, null, A((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(E, {
|
|
551
551
|
size: "large",
|
|
552
552
|
label: i.code,
|
|
553
553
|
key: i.code
|
|
@@ -575,7 +575,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
575
575
|
style: p(l.labelStyle)
|
|
576
576
|
}, [
|
|
577
577
|
t(y(l.label) + " ", 1),
|
|
578
|
-
l.required ? (d(), r("span",
|
|
578
|
+
l.required ? (d(), r("span", xl, "*")) : u("", !0)
|
|
579
579
|
], 4))
|
|
580
580
|
]),
|
|
581
581
|
default: n(() => [
|
|
@@ -591,7 +591,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
591
591
|
default: n(() => {
|
|
592
592
|
var a;
|
|
593
593
|
return [
|
|
594
|
-
(d(!0), r(
|
|
594
|
+
(d(!0), r(w, null, A((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(V, {
|
|
595
595
|
key: i.code,
|
|
596
596
|
label: i.code,
|
|
597
597
|
disabled: i.isDisabled
|
|
@@ -635,7 +635,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
635
635
|
default: n(() => {
|
|
636
636
|
var a;
|
|
637
637
|
return [
|
|
638
|
-
(d(!0), r(
|
|
638
|
+
(d(!0), r(w, null, A((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(V, {
|
|
639
639
|
key: i.code,
|
|
640
640
|
label: i.code,
|
|
641
641
|
disabled: i.isDisabled
|
|
@@ -676,7 +676,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
676
676
|
default: n(() => {
|
|
677
677
|
var a;
|
|
678
678
|
return [
|
|
679
|
-
(d(!0), r(
|
|
679
|
+
(d(!0), r(w, null, A((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(V, {
|
|
680
680
|
key: i.code,
|
|
681
681
|
label: i.code,
|
|
682
682
|
disabled: i.isDisabled
|
|
@@ -721,12 +721,16 @@ function de(c, D, z, e, j, Q) {
|
|
|
721
721
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
722
722
|
),
|
|
723
723
|
clearable: l.clearable,
|
|
724
|
-
"fit-input-width": !0
|
|
724
|
+
"fit-input-width": !0,
|
|
725
|
+
filterable: l.filterable,
|
|
726
|
+
"allow-create": l.allowCreate,
|
|
727
|
+
"default-first-option": "",
|
|
728
|
+
"reserve-keyword": !1
|
|
725
729
|
}, {
|
|
726
730
|
default: n(() => {
|
|
727
731
|
var a;
|
|
728
732
|
return [
|
|
729
|
-
(d(!0), r(
|
|
733
|
+
(d(!0), r(w, null, A((a = l.options) == null ? void 0 : a.data, (i) => (d(), M(S, {
|
|
730
734
|
key: i.code,
|
|
731
735
|
label: i.name,
|
|
732
736
|
value: i.code
|
|
@@ -734,7 +738,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
734
738
|
];
|
|
735
739
|
}),
|
|
736
740
|
_: 2
|
|
737
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "placeholder", "class", "clearable"]),
|
|
741
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "placeholder", "class", "clearable", "filterable", "allow-create"]),
|
|
738
742
|
N("div", {
|
|
739
743
|
class: "item_tips_blow",
|
|
740
744
|
style: p(l.tipsBlowStyle)
|
|
@@ -960,7 +964,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
960
964
|
], 4))
|
|
961
965
|
]),
|
|
962
966
|
default: n(() => {
|
|
963
|
-
var a, i,
|
|
967
|
+
var a, i, x, F;
|
|
964
968
|
return [
|
|
965
969
|
N("div", {
|
|
966
970
|
class: b(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
|
|
@@ -983,7 +987,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
983
987
|
default: n(() => {
|
|
984
988
|
var o;
|
|
985
989
|
return [
|
|
986
|
-
(d(!0), r(
|
|
990
|
+
(d(!0), r(w, null, A((o = l.nationOptions) == null ? void 0 : o.data, (s, I) => (d(), M(S, {
|
|
987
991
|
label: s.name,
|
|
988
992
|
value: s.code,
|
|
989
993
|
key: I
|
|
@@ -1031,7 +1035,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
1031
1035
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
|
|
1032
1036
|
modelValue: e.states.model[l.field.nationCode],
|
|
1033
1037
|
"onUpdate:modelValue": (o) => e.states.model[l.field.nationCode] = o,
|
|
1034
|
-
placeholder: ((
|
|
1038
|
+
placeholder: ((x = l.nationOptions) == null ? void 0 : x.placeholder) || "",
|
|
1035
1039
|
class: b(
|
|
1036
1040
|
(l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
|
|
1037
1041
|
),
|
|
@@ -1041,7 +1045,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
1041
1045
|
default: n(() => {
|
|
1042
1046
|
var o;
|
|
1043
1047
|
return [
|
|
1044
|
-
(d(!0), r(
|
|
1048
|
+
(d(!0), r(w, null, A((o = l.nationOptions) == null ? void 0 : o.data, (s, I) => (d(), M(S, {
|
|
1045
1049
|
label: s.name,
|
|
1046
1050
|
value: s.code,
|
|
1047
1051
|
key: I
|
|
@@ -1272,7 +1276,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
1272
1276
|
model: z.model,
|
|
1273
1277
|
onBtnClick: e.onSubmit
|
|
1274
1278
|
}, () => [
|
|
1275
|
-
(d(!0), r(
|
|
1279
|
+
(d(!0), r(w, null, A(e.formOptions.btnConfig, (l, U) => (d(), r("div", { key: U }, [
|
|
1276
1280
|
l.isShow ? (d(), M(Z, {
|
|
1277
1281
|
key: 0,
|
|
1278
1282
|
btnCode: l.btnCode,
|
|
@@ -1314,7 +1318,7 @@ function de(c, D, z, e, j, Q) {
|
|
|
1314
1318
|
_: 3
|
|
1315
1319
|
}, 16, ["model", "label-position"]);
|
|
1316
1320
|
}
|
|
1317
|
-
const el = /* @__PURE__ */ Il(Nl, [["render", de], ["__scopeId", "data-v-
|
|
1321
|
+
const el = /* @__PURE__ */ Il(Nl, [["render", de], ["__scopeId", "data-v-69e03e70"]]);
|
|
1318
1322
|
function H(c, D = {}) {
|
|
1319
1323
|
H.installed || (H.installed = !0, c.component("common-el-form", el));
|
|
1320
1324
|
}
|
package/common-form.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,N){typeof exports=="object"&&typeof module<"u"?module.exports=N(require("vue")):typeof define=="function"&&define.amd?define(["vue"],N):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=N(e.Vue))})(this,function(e){"use strict";const N="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==",Y={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:i}){const g=e.ref(!0),o=e.reactive({model:{}}),p=e.ref(null),R=e.shallowRef({render(){return e.h("img",{src:N})}}),t=e.computed(()=>Object.assign([],r.options)),M=()=>{o.model=r.model},f=(n,d,c)=>{var u;d?(g.value=!1,e.nextTick(()=>{var F;(F=p.value)==null||F.validate(Ol=>{if(Ol)i(c||"submit",o.model,n);else return!1})})):d?(c==="reset"&&((u=p.value)==null||u.resetFields()),i(c||"submit",o.model,n)):(g.value=!1,i(c||"submit",o.model,n,p.value))},k=(n,d)=>{i("selectChange",n,d)},b=(n,d)=>{i("radioChange",n,d)},h=(n,d)=>{i("checkChange",n,d)},C=(n,d)=>{const c=o.model[d].length;if(c===1){i("checkChange",n,d);return}else c>1?(o.model[d].shift(),i("checkChange",n,d)):c<1&&i("checkChange",n,d)},w=(n,d,c)=>{f(n,d,c)},T=(n,d)=>{n&&(d==null?void 0:d.key)==="Enter"&&f(void 0,!0,"submit")},I=(n,d)=>{var c;(c=p.value)==null||c.validateField(d),i("dateChange",n,d)},E=(n,d)=>{i("calendarChange",n,d)},z=(n,d)=>{i("onOk",n,d)},B=(n,d)=>{i("inputBlur",n,d)},V=(n,d)=>{i("inputFocus",n,d)},l=(n,d)=>{i("inputChange",n,d)},x=(n,d)=>{i("inputInput",n,d)},a=n=>{var d;(d=p.value)==null||d.resetFields(n)},s=n=>{var d;(d=p.value)==null||d.clearValidate(n)},D=e.ref(!1),O=()=>{window.innerWidth<768?D.value=!0:D.value=!1};return e.onMounted(()=>{var n;M(),(n=p.value)==null||n.resetFields(),window.addEventListener("resize",O)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",O)}),e.watch(()=>r.fieldList,(n,d)=>{n!==d&&M()}),{...e.toRefs(o),formRef:p,states:o,formOptions:t,onSubmit:f,selectChange:k,radioChange:b,checkChange:h,handleCheckedChange:C,prefixIcon:R,handleClick:w,handleKeyUp:T,resetFieldsTest:a,clearValidateTest:s,dateChange:I,calendarChange:E,onOk:z,inputBlur:B,inputFocus:V,inputChange:l,inputInput:x,noFormRule:g,phoneWrap:D}}},_="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPS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MDdMNS45OTk5MiAyMy45MzkzTDQuOTM5MjYgMjIuODc4N0wyLjgxNzk0IDI1Wk02Ljc1NzI4IDE4LjkzOTNMMi44MTc5NCAyMi44Nzg3TDQuOTM5MjYgMjVMOC44Nzg2IDIxLjA2MDdMNi43NTcyOCAxOC45MzkzWk0yLjgxNzk0IDE3LjEyMTNMNi43NTcyOCAyMS4wNjA3TDguODc4NiAxOC45MzkzTDQuOTM5MjYgMTVMMi44MTc5NCAxNy4xMjEzWiIgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMC4yNSIgbWFzaz0idXJsKCNwYXRoLTMtaW5zaWRlLTJfNDIxXzgxNTkpIi8+Cjwvc3ZnPgo=",zl="",jl="",U=(r,i)=>{const g=r.__vccOpts||r;for(const[o,p]of i)g[o]=p;return g},y=r=>(e.pushScopeId("data-v-f15a0c48"),r=r(),e.popScopeId(),r),W={class:"header-title"},Z={class:"title-content"},G={key:0,class:"custom-required"},P={key:0,class:"custom-required"},H=["src"],Q={key:0,class:"custom-required"},K={class:"lable"},q={class:"lable_note"},J={key:0,class:"custom-required"},X={key:0,class:"custom-required"},$={key:0,class:"custom-required"},v={class:"lable"},ll={class:"lable_note"},el={key:0,class:"custom-required"},ol={key:0,class:"custom-required"},al={key:0,class:"custom-required"},nl=y(()=>e.createElementVNode("img",{src:_,alt:""},null,-1)),dl=y(()=>e.createElementVNode("img",{src:L,alt:""},null,-1)),sl=y(()=>e.createElementVNode("img",{src:m,alt:""},null,-1)),rl=y(()=>e.createElementVNode("img",{src:S,alt:""},null,-1)),tl={key:0,class:"date_to"},il={key:0,class:"custom-required"},cl=y(()=>e.createElementVNode("img",{src:_,alt:""},null,-1)),Ml=y(()=>e.createElementVNode("img",{src:L,alt:""},null,-1)),yl=y(()=>e.createElementVNode("img",{src:m,alt:""},null,-1)),pl=y(()=>e.createElementVNode("img",{src:S,alt:""},null,-1)),gl={key:0,class:"custom-required"},fl={key:0,class:"custom-required"},Dl={key:0,class:"custom-required"},Nl={key:0,class:"phone_item_content_before"},kl=y(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),bl=y(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),hl={key:2,class:"line_middle"},Cl={key:4,class:"line_middle"},wl=y(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"39px 0"}},null,-1)),Tl={key:0,class:"custom-required"},Il={key:0,class:"custom-required"};function xl(r,i,g,o,p,R){const t=e.resolveComponent("el-form-item"),M=e.resolveComponent("el-input"),f=e.resolveComponent("el-col"),k=e.resolveComponent("el-row"),b=e.resolveComponent("el-radio"),h=e.resolveComponent("el-radio-group"),C=e.resolveComponent("el-checkbox"),w=e.resolveComponent("el-checkbox-group"),T=e.resolveComponent("el-option"),I=e.resolveComponent("el-select"),E=e.resolveComponent("a-date-picker"),z=e.resolveComponent("a-range-picker"),B=e.resolveComponent("sinosoftCommonButton"),V=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(V,e.mergeProps({"hide-required-asterisk":"",onSubmit:i[0]||(i[0]=e.withModifiers(()=>{},["prevent"])),model:g.model},o.formOptions,{"label-position":o.formOptions.labelPosition,ref:"formRef"}),{default:e.withCtx(()=>[e.createVNode(k,{gutter:24},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.fieldList,(l,x)=>e.withDirectives((e.openBlock(),e.createBlock(f,{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:x},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?(e.openBlock(),e.createBlock(t,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",W,[e.createElementVNode("span",Z,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(t,{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",G,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[e.createVNode(f,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEnFamily?(e.openBlock(),e.createBlock(t,{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(M,{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(f,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEn?(e.openBlock(),e.createBlock(t,{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(M,{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(f,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameChFamily?(e.openBlock(),e.createBlock(t,{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(M,{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(f,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameCh?(e.openBlock(),e.createBlock(t,{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(M,{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(t,{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",P,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(h,{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(b,{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(t,{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",Q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(h,{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(b,{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(t,{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",K,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",q,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)]),e.createVNode(h,{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(b,{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(t,{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",X,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{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(C,{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(t,{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",$,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{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(C,{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==="checkboxNote"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:7,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",v,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",ll,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",el,"*")):e.createCommentVNode("",!0)]),e.createVNode(w,{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(C,{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","class"])):l.type==="select"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:8,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",ol,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(I,{"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(T,{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(t,{key:9,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",al,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(E,{size:"large",allowClear:!!l.allowClear,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:"")},{superPrevIcon:e.withCtx(()=>[nl]),prevIcon:e.withCtx(()=>[dl]),nextIcon:e.withCtx(()=>[sl]),superNextIcon:e.withCtx(()=>[rl]),_:2},1032,["allowClear","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",tl,e.toDisplayString(l.showTo),1)):e.createCommentVNode("",!0)]),_:2},1032,["label","rules","prop"])):l.type==="daterange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:10,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",il,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(z,{"popper-class":"selectTriangles",allowClear:!!l.allowClear,defaultPickerValue:l==null?void 0:l.defaultValue,format:l.format||"DD/MM/YYYY",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY","disabled-date":l.disabledDate,"disabled-time":l==null?void 0:l.disabledRangeTime,showTime:l.showTime,mode:l.mode,picker:l.picker,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:"")},{superPrevIcon:e.withCtx(()=>[cl]),prevIcon:e.withCtx(()=>[Ml]),nextIcon:e.withCtx(()=>[yl]),superNextIcon:e.withCtx(()=>[pl]),_:2},1032,["allowClear","defaultPickerValue","format","valueFormat","disabled-date","disabled-time","showTime","mode","picker","value","onUpdate:value","suffixIcon","separator","placeholder","class","onChange","onCalendarChange","onOk"])]),_:2},1032,["label","rules","prop"])):l.type==="datetimerange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:11,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",gl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(z,{"popper-class":"selectTriangles",allowClear:!!l.allowClear,defaultPickerValue:l==null?void 0:l.defaultValue,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,showTime:l.showTime,mode:l.mode,picker:l.picker,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,["allowClear","defaultPickerValue","format","valueFormat","disabled-date","disabled-time","showTime","mode","picker","value","onUpdate:value","suffixIcon","separator","placeholder","class","onChange","onCalendarChange","onOk"])]),_:2},1032,["label","rules","prop"])):l.type==="slotItem"?(e.openBlock(),e.createBlock(t,{key:12,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",fl,"*")):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(t,{key:13,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",Dl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>{var a,s,D,O;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",Nl,[l.field.nationCode?(e.openBlock(),e.createBlock(I,{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(T,{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),kl,l.field.areaCode?(e.openBlock(),e.createBlock(M,{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.maxlengthAreaCode||5,oninput:"value=value.replace(/[^\\d.]/g,'')",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),bl])):e.createCommentVNode("",!0),l.field.nationCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(I,{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:((D=l.nationOptions)==null?void 0:D.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(T,{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",hl," - ")),l.field.areaCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(M,{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.maxlengthAreaCode||5,oninput:"value=value.replace(/[^\\d.]/g,'')",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:((O=l.areaOptions)==null?void 0:O.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),style:e.normalizeStyle("width:"+l.widthArea),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","style","clearable"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Cl," - ")),l.field.phoneNumber?(e.openBlock(),e.createBlock(M,{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":""),style:e.normalizeStyle("width:"+l.widthPhoneNumber),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","style","clearable"])):e.createCommentVNode("",!0)],2)]}),_:2},1032,["label","rules","prop"])):l.type==="line"?(e.openBlock(),e.createBlock(t,{key:14,label:l.label},{default:e.withCtx(()=>[wl]),_:2},1032,["label"])):l.type==="number"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:15,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(M,{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:"number",rows:l.rows,placeholder:l.placeholder||l.label,oninput:"value=value.replace(/[^\\d.]/g,'')",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(t,{key:16,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",Il,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(M,{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(t,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"buttons",{model:g.model,onBtnClick:o.onSubmit},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.formOptions.btnConfig,(l,x)=>(e.openBlock(),e.createElementBlock("div",{key:x},[l.isShow?(e.openBlock(),e.createBlock(B,{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 j=U(Y,[["render",xl],["__scopeId","data-v-f15a0c48"]]);function A(r,i={}){A.installed||(A.installed=!0,r.component("common-el-form",j))}return j.install=A,j});
|
|
1
|
+
(function(e,N){typeof exports=="object"&&typeof module<"u"?module.exports=N(require("vue")):typeof define=="function"&&define.amd?define(["vue"],N):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=N(e.Vue))})(this,function(e){"use strict";const N="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEy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SAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==",Y={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:i}){const g=e.ref(!0),o=e.reactive({model:{}}),p=e.ref(null),R=e.shallowRef({render(){return e.h("img",{src:N})}}),t=e.computed(()=>Object.assign([],r.options)),M=()=>{o.model=r.model},f=(n,d,c)=>{var u;d?(g.value=!1,e.nextTick(()=>{var F;(F=p.value)==null||F.validate(Ol=>{if(Ol)i(c||"submit",o.model,n);else return!1})})):d?(c==="reset"&&((u=p.value)==null||u.resetFields()),i(c||"submit",o.model,n)):(g.value=!1,i(c||"submit",o.model,n,p.value))},k=(n,d)=>{i("selectChange",n,d)},b=(n,d)=>{i("radioChange",n,d)},h=(n,d)=>{i("checkChange",n,d)},C=(n,d)=>{const c=o.model[d].length;if(c===1){i("checkChange",n,d);return}else c>1?(o.model[d].shift(),i("checkChange",n,d)):c<1&&i("checkChange",n,d)},w=(n,d,c)=>{f(n,d,c)},T=(n,d)=>{n&&(d==null?void 0:d.key)==="Enter"&&f(void 0,!0,"submit")},I=(n,d)=>{var c;(c=p.value)==null||c.validateField(d),i("dateChange",n,d)},E=(n,d)=>{i("calendarChange",n,d)},z=(n,d)=>{i("onOk",n,d)},B=(n,d)=>{i("inputBlur",n,d)},V=(n,d)=>{i("inputFocus",n,d)},l=(n,d)=>{i("inputChange",n,d)},x=(n,d)=>{i("inputInput",n,d)},a=n=>{var d;(d=p.value)==null||d.resetFields(n)},s=n=>{var d;(d=p.value)==null||d.clearValidate(n)},D=e.ref(!1),O=()=>{window.innerWidth<768?D.value=!0:D.value=!1};return e.onMounted(()=>{var n;M(),(n=p.value)==null||n.resetFields(),window.addEventListener("resize",O)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",O)}),e.watch(()=>r.fieldList,(n,d)=>{n!==d&&M()}),{...e.toRefs(o),formRef:p,states:o,formOptions:t,onSubmit:f,selectChange:k,radioChange:b,checkChange:h,handleCheckedChange:C,prefixIcon:R,handleClick:w,handleKeyUp:T,resetFieldsTest:a,clearValidateTest:s,dateChange:I,calendarChange:E,onOk:z,inputBlur:B,inputFocus:V,inputChange:l,inputInput:x,noFormRule:g,phoneWrap:D}}},_="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4wNjA3IDE2LjA2MDdMMTEgMTVMNiAyMEwxMSAyNUwxMi4wNjA3IDIzLjkzOTNMOC4xMjEzMiAyMEwxMi4wNjA3IDE2LjA2MDdaIiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTguMDYwNyAxNi4wNjA3TDE3IDE1TDEyIDIwTDE3IDI1TDE4LjA2MDcgMjMuOTM5M0wxNC4xMjEzIDIwTDE4LjA2MDcgMTYuMDYwN1oiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuMjUiLz4KPC9zdmc+Cg==",L="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyMiA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkI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70"),r=r(),e.popScopeId(),r),W={class:"header-title"},Z={class:"title-content"},G={key:0,class:"custom-required"},P={key:0,class:"custom-required"},H=["src"],Q={key:0,class:"custom-required"},K={class:"lable"},q={class:"lable_note"},J={key:0,class:"custom-required"},X={key:0,class:"custom-required"},$={key:0,class:"custom-required"},v={class:"lable"},ll={class:"lable_note"},el={key:0,class:"custom-required"},ol={key:0,class:"custom-required"},al={key:0,class:"custom-required"},nl=y(()=>e.createElementVNode("img",{src:_,alt:""},null,-1)),dl=y(()=>e.createElementVNode("img",{src:L,alt:""},null,-1)),sl=y(()=>e.createElementVNode("img",{src:m,alt:""},null,-1)),rl=y(()=>e.createElementVNode("img",{src:S,alt:""},null,-1)),tl={key:0,class:"date_to"},il={key:0,class:"custom-required"},cl=y(()=>e.createElementVNode("img",{src:_,alt:""},null,-1)),Ml=y(()=>e.createElementVNode("img",{src:L,alt:""},null,-1)),yl=y(()=>e.createElementVNode("img",{src:m,alt:""},null,-1)),pl=y(()=>e.createElementVNode("img",{src:S,alt:""},null,-1)),gl={key:0,class:"custom-required"},fl={key:0,class:"custom-required"},Dl={key:0,class:"custom-required"},Nl={key:0,class:"phone_item_content_before"},kl=y(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),bl=y(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),hl={key:2,class:"line_middle"},Cl={key:4,class:"line_middle"},wl=y(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"39px 0"}},null,-1)),Tl={key:0,class:"custom-required"},Il={key:0,class:"custom-required"};function xl(r,i,g,o,p,R){const t=e.resolveComponent("el-form-item"),M=e.resolveComponent("el-input"),f=e.resolveComponent("el-col"),k=e.resolveComponent("el-row"),b=e.resolveComponent("el-radio"),h=e.resolveComponent("el-radio-group"),C=e.resolveComponent("el-checkbox"),w=e.resolveComponent("el-checkbox-group"),T=e.resolveComponent("el-option"),I=e.resolveComponent("el-select"),E=e.resolveComponent("a-date-picker"),z=e.resolveComponent("a-range-picker"),B=e.resolveComponent("sinosoftCommonButton"),V=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(V,e.mergeProps({"hide-required-asterisk":"",onSubmit:i[0]||(i[0]=e.withModifiers(()=>{},["prevent"])),model:g.model},o.formOptions,{"label-position":o.formOptions.labelPosition,ref:"formRef"}),{default:e.withCtx(()=>[e.createVNode(k,{gutter:24},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.fieldList,(l,x)=>e.withDirectives((e.openBlock(),e.createBlock(f,{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:x},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?(e.openBlock(),e.createBlock(t,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",W,[e.createElementVNode("span",Z,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(t,{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",G,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[e.createVNode(f,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEnFamily?(e.openBlock(),e.createBlock(t,{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(M,{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(f,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEn?(e.openBlock(),e.createBlock(t,{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(M,{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(f,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameChFamily?(e.openBlock(),e.createBlock(t,{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(M,{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(f,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameCh?(e.openBlock(),e.createBlock(t,{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(M,{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(t,{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",P,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(h,{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(b,{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(t,{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",Q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(h,{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(b,{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(t,{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",K,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",q,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)]),e.createVNode(h,{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(b,{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(t,{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",X,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{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(C,{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(t,{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",$,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{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(C,{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==="checkboxNote"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:7,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",v,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",ll,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",el,"*")):e.createCommentVNode("",!0)]),e.createVNode(w,{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(C,{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","class"])):l.type==="select"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:8,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",ol,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(I,{"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,filterable:l.filterable,"allow-create":l.allowCreate,"default-first-option":"","reserve-keyword":!1},{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(T,{key:s.code,label:s.name,value:s.code},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","placeholder","class","clearable","filterable","allow-create"]),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(t,{key:9,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",al,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(E,{size:"large",allowClear:!!l.allowClear,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:"")},{superPrevIcon:e.withCtx(()=>[nl]),prevIcon:e.withCtx(()=>[dl]),nextIcon:e.withCtx(()=>[sl]),superNextIcon:e.withCtx(()=>[rl]),_:2},1032,["allowClear","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",tl,e.toDisplayString(l.showTo),1)):e.createCommentVNode("",!0)]),_:2},1032,["label","rules","prop"])):l.type==="daterange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:10,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",il,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(z,{"popper-class":"selectTriangles",allowClear:!!l.allowClear,defaultPickerValue:l==null?void 0:l.defaultValue,format:l.format||"DD/MM/YYYY",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY","disabled-date":l.disabledDate,"disabled-time":l==null?void 0:l.disabledRangeTime,showTime:l.showTime,mode:l.mode,picker:l.picker,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:"")},{superPrevIcon:e.withCtx(()=>[cl]),prevIcon:e.withCtx(()=>[Ml]),nextIcon:e.withCtx(()=>[yl]),superNextIcon:e.withCtx(()=>[pl]),_:2},1032,["allowClear","defaultPickerValue","format","valueFormat","disabled-date","disabled-time","showTime","mode","picker","value","onUpdate:value","suffixIcon","separator","placeholder","class","onChange","onCalendarChange","onOk"])]),_:2},1032,["label","rules","prop"])):l.type==="datetimerange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:11,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",gl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(z,{"popper-class":"selectTriangles",allowClear:!!l.allowClear,defaultPickerValue:l==null?void 0:l.defaultValue,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,showTime:l.showTime,mode:l.mode,picker:l.picker,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,["allowClear","defaultPickerValue","format","valueFormat","disabled-date","disabled-time","showTime","mode","picker","value","onUpdate:value","suffixIcon","separator","placeholder","class","onChange","onCalendarChange","onOk"])]),_:2},1032,["label","rules","prop"])):l.type==="slotItem"?(e.openBlock(),e.createBlock(t,{key:12,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",fl,"*")):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(t,{key:13,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",Dl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>{var a,s,D,O;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",Nl,[l.field.nationCode?(e.openBlock(),e.createBlock(I,{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(T,{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),kl,l.field.areaCode?(e.openBlock(),e.createBlock(M,{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.maxlengthAreaCode||5,oninput:"value=value.replace(/[^\\d.]/g,'')",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),bl])):e.createCommentVNode("",!0),l.field.nationCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(I,{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:((D=l.nationOptions)==null?void 0:D.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(T,{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",hl," - ")),l.field.areaCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(M,{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.maxlengthAreaCode||5,oninput:"value=value.replace(/[^\\d.]/g,'')",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:((O=l.areaOptions)==null?void 0:O.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),style:e.normalizeStyle("width:"+l.widthArea),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","style","clearable"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Cl," - ")),l.field.phoneNumber?(e.openBlock(),e.createBlock(M,{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":""),style:e.normalizeStyle("width:"+l.widthPhoneNumber),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","style","clearable"])):e.createCommentVNode("",!0)],2)]}),_:2},1032,["label","rules","prop"])):l.type==="line"?(e.openBlock(),e.createBlock(t,{key:14,label:l.label},{default:e.withCtx(()=>[wl]),_:2},1032,["label"])):l.type==="number"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:15,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(M,{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:"number",rows:l.rows,placeholder:l.placeholder||l.label,oninput:"value=value.replace(/[^\\d.]/g,'')",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(t,{key:16,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",Il,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(M,{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(t,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"buttons",{model:g.model,onBtnClick:o.onSubmit},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.formOptions.btnConfig,(l,x)=>(e.openBlock(),e.createElementBlock("div",{key:x},[l.isShow?(e.openBlock(),e.createBlock(B,{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 j=U(Y,[["render",xl],["__scopeId","data-v-69e03e70"]]);function A(r,i={}){A.installed||(A.installed=!0,r.component("common-el-form",j))}return j.install=A,j});
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";[data-v-f15a0c48] .el-date-editor{height:60px!important;width:100%!important}[data-v-f15a0c48] .el-form-item{margin-bottom:12px}[data-v-f15a0c48] .el-input__inner{height:42px;color:#1d1d1d}[data-v-f15a0c48] .el-card__body{padding:0}[data-v-f15a0c48] .el-form-item__label{height:auto!important;margin-bottom:4px!important}.form-item-title[data-v-f15a0c48]{width:100%}[data-v-f15a0c48] .el-checkbox-group .el-checkbox{display:flex;height:64px}.rule_err[data-v-f15a0c48] .el-form-item__content,.radio_Note[data-v-f15a0c48] .el-form-item__content{display:block}.radio_Note .lable[data-v-f15a0c48]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular,sans-serif}.radio_Note .lable_note[data-v-f15a0c48]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Regular,sans-serif}.container_name[data-v-f15a0c48]{margin-bottom:0}.container_name[data-v-f15a0c48] .el-form-item__content{width:calc(100% + 20px)}.container_name .el-row[data-v-f15a0c48],.container_name .el-row[data-v-f15a0c48] .el-form-item__content{width:100%}.container_name[data-v-f15a0c48] .el-form-item__content{align-items:start}.container_name[data-v-f15a0c48] .el-form-item{margin-bottom:0}.container_name .item-name[data-v-f15a0c48]{width:100%;box-sizing:border-box}.container_name .item-name-top[data-v-f15a0c48]{margin-bottom:12px;padding-right:0}.container_name .item-name-bottom[data-v-f15a0c48]{margin-bottom:12px}.container_name[data-v-f15a0c48] .is-error{margin-bottom:38px}.container_name[data-v-f15a0c48] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular,sans-serif}.btnsItem[data-v-f15a0c48]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-f15a0c48] .el-form-item__content{justify-content:right}label[data-v-f15a0c48]{display:block}.title-content[data-v-f15a0c48]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto light,sans-serif}[data-v-f15a0c48] .el-input__wrapper{height:60px;border-radius:8px;padding:1px 16px}.date_item[data-v-f15a0c48] .el-form-item__content .date_to{font-size:14px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular,sans-serif;position:absolute;right:-17.5px;top:18px}.phone_item[data-v-f15a0c48] .el-form-item__content{display:flex}.phone_item[data-v-f15a0c48] .el-form-item__content .el-select{width:180.03px}.phone_item[data-v-f15a0c48] .el-form-item__content .line_middle{margin:0 8px}.phone_item[data-v-f15a0c48] .el-input__suffix-inner{width:14px;padding-right:3px}.phone_item .phone_item_content[data-v-f15a0c48]{display:flex;flex-wrap:nowrap;align-items:center;width:100%}.phone_item .phone_item_content .phone_item_content_before[data-v-f15a0c48]{display:flex;flex-wrap:nowrap;align-items:center;width:100%;margin-bottom:12px}.phone_item .phone_item_content[data-v-f15a0c48] .readonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-f15a0c48] .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,sans-serif;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-f15a0c48] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-f15a0c48] .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,sans-serif;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-f15a0c48] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-f15a0c48] .inputReadonly{width:180.03px}.phone_item .phone_item_content[data-v-f15a0c48] .inputReadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-f15a0c48] .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,sans-serif;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-f15a0c48] .inputReadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content .areaCode_input[data-v-f15a0c48]{width:180.03px}.phone_item .phone_item_content .areaCode_input .el-input__wrapper[data-v-f15a0c48]{box-shadow:none!important;border:1px solid #c7c8ca!important}.phone_item .phone_item_content_wrap[data-v-f15a0c48]{flex-wrap:wrap}.input-item[data-v-f15a0c48] .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,sans-serif}.input-item[data-v-f15a0c48] .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-f15a0c48] .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,sans-serif}[data-v-f15a0c48] .is-error .areaCode_select .el-input__wrapper{box-shadow:none!important;border:1px solid #c7c8ca!important}[data-v-f15a0c48] .el-select{width:100%}[data-v-f15a0c48] .el-select .el-icon{height:15px}[data-v-f15a0c48] .el-select .el-icon svg{display:none}[data-v-f15a0c48] .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-f15a0c48] .ant-picker-suffix{position:absolute;left:2px}.ant-picker-range[data-v-f15a0c48] .ant-picker-suffix{position:absolute;left:12px}[data-v-f15a0c48] .ant-picker-input input{margin-left:30px}[data-v-f15a0c48] .ant-picker .ant-picker-suffix .anticon svg{color:#000!important}.custom-required[data-v-f15a0c48]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-f15a0c48]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Regular,sans-serif;width:100%;word-wrap:break-word;white-space:normal}[data-v-f15a0c48] .readonly .el-input-group__prepend,[data-v-f15a0c48] .readonly .el-input-group__append{background-color:#f3f3f3!important}[data-v-f15a0c48] .readonly .el-input__wrapper,[data-v-f15a0c48] .readonly .el-textarea{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-f15a0c48] .readonly .el-input__wrapper .el-input__inner,[data-v-f15a0c48] .readonly .el-input__wrapper .el-textarea__inner,[data-v-f15a0c48] .readonly .el-textarea .el-input__inner,[data-v-f15a0c48] .readonly .el-textarea .el-textarea__inner,[data-v-f15a0c48] .readonly .el-textarea__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular,sans-serif;-webkit-text-fill-color:#0b0b0b!important}[data-v-f15a0c48] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-f15a0c48] .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,sans-serif;-webkit-text-fill-color:#0b0b0b!important}[data-v-f15a0c48] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}[data-v-f15a0c48] .el-input.is-disabled .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #d9d9d9 inset}[data-v-f15a0c48] .el-input__wrapper{border:1px solid #c7c8ca;box-shadow:none!important}[data-v-f15a0c48] .is-error{margin-bottom:38px}[data-v-f15a0c48] .is-error .el-input__wrapper{border:1px solid #fd3d38;box-shadow:none!important}[data-v-f15a0c48] .is-error .el-input-group__prepend{border:1px solid #fd3d38!important;border-right:0px!important}[data-v-f15a0c48] .is-error .el-input-group__append{border:1px solid #fd3d38!important;border-left:0px!important}[data-v-f15a0c48] .el-select__wrapper{height:60px}[data-v-f15a0c48] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular,sans-serif}[data-v-f15a0c48] .el-textarea__inner{border:1px solid #c7c8ca;box-shadow:none}.radio_row .el-radio.el-radio--large[data-v-f15a0c48]{height:64px;line-height:64px}[data-v-f15a0c48] .ant-picker{width:100%;height:60px}[data-v-f15a0c48] ::-webkit-outer-spin-button,[data-v-f15a0c48] ::-webkit-inner-spin-button{-webkit-appearance:none}[data-v-f15a0c48] 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}
|
|
1
|
+
@charset "UTF-8";[data-v-69e03e70] .el-date-editor{height:60px!important;width:100%!important}[data-v-69e03e70] .el-form-item{margin-bottom:12px}[data-v-69e03e70] .el-input__inner{height:42px;color:#1d1d1d}[data-v-69e03e70] .el-card__body{padding:0}[data-v-69e03e70] .el-form-item__label{height:auto!important;margin-bottom:4px!important}.form-item-title[data-v-69e03e70]{width:100%}[data-v-69e03e70] .el-checkbox-group .el-checkbox{display:flex;height:64px}.rule_err[data-v-69e03e70] .el-form-item__content,.radio_Note[data-v-69e03e70] .el-form-item__content{display:block}.radio_Note .lable[data-v-69e03e70]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular,sans-serif}.radio_Note .lable_note[data-v-69e03e70]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Regular,sans-serif}.container_name[data-v-69e03e70]{margin-bottom:0}.container_name[data-v-69e03e70] .el-form-item__content{width:calc(100% + 20px)}.container_name .el-row[data-v-69e03e70],.container_name .el-row[data-v-69e03e70] .el-form-item__content{width:100%}.container_name[data-v-69e03e70] .el-form-item__content{align-items:start}.container_name[data-v-69e03e70] .el-form-item{margin-bottom:0}.container_name .item-name[data-v-69e03e70]{width:100%;box-sizing:border-box}.container_name .item-name-top[data-v-69e03e70]{margin-bottom:12px;padding-right:0}.container_name .item-name-bottom[data-v-69e03e70]{margin-bottom:12px}.container_name[data-v-69e03e70] .is-error{margin-bottom:38px}.container_name[data-v-69e03e70] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular,sans-serif}.btnsItem[data-v-69e03e70]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-69e03e70] .el-form-item__content{justify-content:right}label[data-v-69e03e70]{display:block}.title-content[data-v-69e03e70]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto light,sans-serif}[data-v-69e03e70] .el-input__wrapper{height:60px;border-radius:8px;padding:1px 16px}.date_item[data-v-69e03e70] .el-form-item__content .date_to{font-size:14px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular,sans-serif;position:absolute;right:-17.5px;top:18px}.phone_item[data-v-69e03e70] .el-form-item__content{display:flex}.phone_item[data-v-69e03e70] .el-form-item__content .el-select{width:180.03px}.phone_item[data-v-69e03e70] .el-form-item__content .line_middle{margin:0 8px}.phone_item[data-v-69e03e70] .el-input__suffix-inner{width:14px;padding-right:3px}.phone_item .phone_item_content[data-v-69e03e70]{display:flex;flex-wrap:nowrap;align-items:center;width:100%}.phone_item .phone_item_content .phone_item_content_before[data-v-69e03e70]{display:flex;flex-wrap:nowrap;align-items:center;width:100%;margin-bottom:12px}.phone_item .phone_item_content[data-v-69e03e70] .readonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-69e03e70] .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,sans-serif;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-69e03e70] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-69e03e70] .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,sans-serif;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-69e03e70] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-69e03e70] .inputReadonly{width:180.03px}.phone_item .phone_item_content[data-v-69e03e70] .inputReadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-69e03e70] .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,sans-serif;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-69e03e70] .inputReadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content .areaCode_input[data-v-69e03e70]{width:180.03px}.phone_item .phone_item_content .areaCode_input .el-input__wrapper[data-v-69e03e70]{box-shadow:none!important;border:1px solid #c7c8ca!important}.phone_item .phone_item_content_wrap[data-v-69e03e70]{flex-wrap:wrap}.input-item[data-v-69e03e70] .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,sans-serif}.input-item[data-v-69e03e70] .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-69e03e70] .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,sans-serif}[data-v-69e03e70] .is-error .areaCode_select .el-input__wrapper{box-shadow:none!important;border:1px solid #c7c8ca!important}[data-v-69e03e70] .el-select{width:100%}[data-v-69e03e70] .el-select .el-icon{height:15px}[data-v-69e03e70] .el-select .el-icon svg{display:none}[data-v-69e03e70] .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-69e03e70] .ant-picker-suffix{position:absolute;left:2px}.ant-picker-range[data-v-69e03e70] .ant-picker-suffix{position:absolute;left:12px}[data-v-69e03e70] .ant-picker-input input{margin-left:30px}[data-v-69e03e70] .ant-picker .ant-picker-suffix .anticon svg{color:#000!important}.custom-required[data-v-69e03e70]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-69e03e70]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Regular,sans-serif;width:100%;word-wrap:break-word;white-space:normal}[data-v-69e03e70] .readonly .el-input-group__prepend,[data-v-69e03e70] .readonly .el-input-group__append{background-color:#f3f3f3!important}[data-v-69e03e70] .readonly .el-input__wrapper,[data-v-69e03e70] .readonly .el-textarea{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-69e03e70] .readonly .el-input__wrapper .el-input__inner,[data-v-69e03e70] .readonly .el-input__wrapper .el-textarea__inner,[data-v-69e03e70] .readonly .el-textarea .el-input__inner,[data-v-69e03e70] .readonly .el-textarea .el-textarea__inner,[data-v-69e03e70] .readonly .el-textarea__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular,sans-serif;-webkit-text-fill-color:#0b0b0b!important}[data-v-69e03e70] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-69e03e70] .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,sans-serif;-webkit-text-fill-color:#0b0b0b!important}[data-v-69e03e70] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}[data-v-69e03e70] .el-input.is-disabled .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #d9d9d9 inset}[data-v-69e03e70] .el-input__wrapper{border:1px solid #c7c8ca;box-shadow:none!important}[data-v-69e03e70] .is-error{margin-bottom:38px}[data-v-69e03e70] .is-error .el-input__wrapper{border:1px solid #fd3d38;box-shadow:none!important}[data-v-69e03e70] .is-error .el-input-group__prepend{border:1px solid #fd3d38!important;border-right:0px!important}[data-v-69e03e70] .is-error .el-input-group__append{border:1px solid #fd3d38!important;border-left:0px!important}[data-v-69e03e70] .el-select__wrapper{height:60px}[data-v-69e03e70] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular,sans-serif}[data-v-69e03e70] .el-textarea__inner{border:1px solid #c7c8ca;box-shadow:none}.radio_row .el-radio.el-radio--large[data-v-69e03e70]{height:64px;line-height:64px}[data-v-69e03e70] .ant-picker{width:100%;height:60px}[data-v-69e03e70] ::-webkit-outer-spin-button,[data-v-69e03e70] ::-webkit-inner-spin-button{-webkit-appearance:none}[data-v-69e03e70] 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}
|