sinosoft-common-form 1.6.9 → 1.7.1
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 +30 -28
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as W, reactive as $, shallowRef as ll, h as el, computed as ol, onMounted as al, onBeforeUnmount as nl, watch as dl, toRefs as sl, nextTick as rl, resolveComponent as k, openBlock as n, createBlock as i, mergeProps as il, withModifiers as yl, withCtx as d, createVNode as b, createElementBlock as r, Fragment as N, renderList as R, withDirectives as fl, createElementVNode as O, normalizeStyle as g, toDisplayString as u, createTextVNode as _, createCommentVNode as p, renderSlot as C, normalizeClass as t, withKeys as
|
|
1
|
+
import { ref as W, reactive as $, shallowRef as ll, h as el, computed as ol, onMounted as al, onBeforeUnmount as nl, watch as dl, toRefs as sl, nextTick as rl, resolveComponent as k, openBlock as n, createBlock as i, mergeProps as il, withModifiers as yl, withCtx as d, createVNode as b, createElementBlock as r, Fragment as N, renderList as R, withDirectives as fl, createElementVNode as O, normalizeStyle as g, toDisplayString as u, createTextVNode as _, createCommentVNode as p, renderSlot as C, normalizeClass as t, withKeys as v, createSlots as J, vShow as pl, pushScopeId as ul, popScopeId as cl } from "vue";
|
|
2
2
|
const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==", tl = {
|
|
3
3
|
props: {
|
|
4
4
|
fieldList: {
|
|
@@ -43,9 +43,9 @@ const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
43
43
|
return !1;
|
|
44
44
|
});
|
|
45
45
|
})) : (D === "reset" && ((Z = A.value) == null || Z.resetFields()), h(D || "submit", e.model, a));
|
|
46
|
-
},
|
|
46
|
+
}, V = (a, s) => {
|
|
47
47
|
h("selectChange", a, s);
|
|
48
|
-
},
|
|
48
|
+
}, F = (a, s) => {
|
|
49
49
|
h("radioChange", a, s);
|
|
50
50
|
}, U = (a, s) => {
|
|
51
51
|
h("checkChange", a, s);
|
|
@@ -99,8 +99,8 @@ const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
|
|
|
99
99
|
states: e,
|
|
100
100
|
formOptions: c,
|
|
101
101
|
onSubmit: x,
|
|
102
|
-
selectChange:
|
|
103
|
-
radioChange:
|
|
102
|
+
selectChange: V,
|
|
103
|
+
radioChange: F,
|
|
104
104
|
checkChange: U,
|
|
105
105
|
handleCheckedChange: E,
|
|
106
106
|
prefixIcon: Q,
|
|
@@ -126,7 +126,7 @@ const hl = (f, h) => {
|
|
|
126
126
|
for (const [e, A] of h)
|
|
127
127
|
w[e] = A;
|
|
128
128
|
return w;
|
|
129
|
-
}, P = (f) => (ul("data-v-
|
|
129
|
+
}, P = (f) => (ul("data-v-d43fb550"), f = f(), cl(), f), gl = { class: "header-title" }, _l = { class: "title-content" }, Cl = {
|
|
130
130
|
key: 0,
|
|
131
131
|
class: "custom-required"
|
|
132
132
|
}, Dl = {
|
|
@@ -150,13 +150,13 @@ const hl = (f, h) => {
|
|
|
150
150
|
}, Il = {
|
|
151
151
|
key: 0,
|
|
152
152
|
class: "custom-required"
|
|
153
|
-
},
|
|
153
|
+
}, vl = {
|
|
154
154
|
key: 0,
|
|
155
155
|
class: "date_to"
|
|
156
|
-
},
|
|
156
|
+
}, Vl = {
|
|
157
157
|
key: 0,
|
|
158
158
|
class: "custom-required"
|
|
159
|
-
},
|
|
159
|
+
}, Fl = {
|
|
160
160
|
key: 0,
|
|
161
161
|
class: "custom-required"
|
|
162
162
|
}, Ul = {
|
|
@@ -185,7 +185,7 @@ const hl = (f, h) => {
|
|
|
185
185
|
class: "custom-required"
|
|
186
186
|
};
|
|
187
187
|
function Hl(f, h, w, e, A, Q) {
|
|
188
|
-
const c = k("el-form-item"), M = k("el-input"), x = k("el-col"),
|
|
188
|
+
const c = k("el-form-item"), M = k("el-input"), x = k("el-col"), V = k("el-row"), F = k("el-radio"), U = k("el-radio-group"), E = k("el-checkbox"), S = k("el-checkbox-group"), j = k("el-option"), T = k("el-select"), Y = k("a-date-picker"), B = k("a-range-picker"), q = k("sinosoftCommonButton"), H = k("el-form");
|
|
189
189
|
return n(), i(H, il({
|
|
190
190
|
"hide-required-asterisk": "",
|
|
191
191
|
onSubmit: h[0] || (h[0] = yl(() => {
|
|
@@ -196,7 +196,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
196
196
|
ref: "formRef"
|
|
197
197
|
}), {
|
|
198
198
|
default: d(() => [
|
|
199
|
-
b(
|
|
199
|
+
b(V, { gutter: 20 }, {
|
|
200
200
|
default: d(() => [
|
|
201
201
|
(n(!0), r(N, null, R(w.fieldList, (l, z) => fl((n(), i(x, {
|
|
202
202
|
xs: l.xs ? l.xs : 24,
|
|
@@ -233,7 +233,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
233
233
|
], 4))
|
|
234
234
|
]),
|
|
235
235
|
default: d(() => [
|
|
236
|
-
b(
|
|
236
|
+
b(V, { gutter: 20 }, {
|
|
237
237
|
default: d(() => [
|
|
238
238
|
b(x, {
|
|
239
239
|
xs: 24,
|
|
@@ -265,7 +265,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
265
265
|
type: l.type ? l.type : "text",
|
|
266
266
|
placeholder: l.placeholderNameEnFamily,
|
|
267
267
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
|
|
268
|
-
onKeyup:
|
|
268
|
+
onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
269
269
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
270
270
|
]),
|
|
271
271
|
_: 2
|
|
@@ -303,7 +303,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
303
303
|
type: l.type ? l.type : "text",
|
|
304
304
|
placeholder: l.placeholderNameEn,
|
|
305
305
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
|
|
306
|
-
onKeyup:
|
|
306
|
+
onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
307
307
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
308
308
|
]),
|
|
309
309
|
_: 2
|
|
@@ -314,7 +314,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
314
314
|
]),
|
|
315
315
|
_: 2
|
|
316
316
|
}, 1024),
|
|
317
|
-
b(
|
|
317
|
+
b(V, { gutter: 20 }, {
|
|
318
318
|
default: d(() => [
|
|
319
319
|
b(x, {
|
|
320
320
|
xs: 24,
|
|
@@ -349,7 +349,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
349
349
|
type: l.type ? l.type : "text",
|
|
350
350
|
placeholder: l.placeholderNameChFamily,
|
|
351
351
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
|
|
352
|
-
onKeyup:
|
|
352
|
+
onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
353
353
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
354
354
|
]),
|
|
355
355
|
_: 2
|
|
@@ -387,7 +387,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
387
387
|
type: l.type ? l.type : "text",
|
|
388
388
|
placeholder: l.placeholderNameCh,
|
|
389
389
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
|
|
390
|
-
onKeyup:
|
|
390
|
+
onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
391
391
|
}, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
|
|
392
392
|
]),
|
|
393
393
|
_: 2
|
|
@@ -426,7 +426,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
426
426
|
default: d(() => {
|
|
427
427
|
var o;
|
|
428
428
|
return [
|
|
429
|
-
(n(!0), r(N, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(
|
|
429
|
+
(n(!0), r(N, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(F, {
|
|
430
430
|
label: y.code,
|
|
431
431
|
size: "large",
|
|
432
432
|
key: y.code
|
|
@@ -476,7 +476,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
476
476
|
default: d(() => {
|
|
477
477
|
var o;
|
|
478
478
|
return [
|
|
479
|
-
(n(!0), r(N, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(
|
|
479
|
+
(n(!0), r(N, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(F, {
|
|
480
480
|
size: "large",
|
|
481
481
|
label: y.code,
|
|
482
482
|
key: y.code,
|
|
@@ -519,7 +519,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
519
519
|
default: d(() => {
|
|
520
520
|
var o;
|
|
521
521
|
return [
|
|
522
|
-
(n(!0), r(N, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(
|
|
522
|
+
(n(!0), r(N, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(F, {
|
|
523
523
|
size: "large",
|
|
524
524
|
label: y.code,
|
|
525
525
|
key: y.code
|
|
@@ -720,7 +720,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
720
720
|
typeof l.field == "string" ? l.field : ""
|
|
721
721
|
)
|
|
722
722
|
}, null, 8, ["format", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "onChange", "onCalendarChange", "onOk"]),
|
|
723
|
-
l.showTo ? (n(), r("span",
|
|
723
|
+
l.showTo ? (n(), r("span", vl, u(l.showTo), 1)) : p("", !0)
|
|
724
724
|
]),
|
|
725
725
|
_: 2
|
|
726
726
|
}, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (n(), i(c, {
|
|
@@ -735,7 +735,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
735
735
|
style: g(l.labelStyle)
|
|
736
736
|
}, [
|
|
737
737
|
_(u(l.label) + " ", 1),
|
|
738
|
-
l.required ? (n(), r("span",
|
|
738
|
+
l.required ? (n(), r("span", Vl, "*")) : p("", !0)
|
|
739
739
|
], 4))
|
|
740
740
|
]),
|
|
741
741
|
default: d(() => [
|
|
@@ -786,7 +786,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
786
786
|
style: g(l.labelStyle)
|
|
787
787
|
}, [
|
|
788
788
|
_(u(l.label) + " ", 1),
|
|
789
|
-
l.required ? (n(), r("span",
|
|
789
|
+
l.required ? (n(), r("span", Fl, "*")) : p("", !0)
|
|
790
790
|
], 4))
|
|
791
791
|
]),
|
|
792
792
|
default: d(() => [
|
|
@@ -913,7 +913,8 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
913
913
|
a,
|
|
914
914
|
typeof l.field == "string" ? l.field : ""
|
|
915
915
|
),
|
|
916
|
-
maxlength: l.maxlengthAreaCode
|
|
916
|
+
maxlength: l.maxlengthAreaCode || 5,
|
|
917
|
+
oninput: "value=value.replace(/[^\\d.]/g,'')",
|
|
917
918
|
modelValue: e.states.model[l.field.areaCode],
|
|
918
919
|
"onUpdate:modelValue": (a) => e.states.model[l.field.areaCode] = a,
|
|
919
920
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
@@ -970,7 +971,8 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
970
971
|
a,
|
|
971
972
|
typeof l.field == "string" ? l.field : ""
|
|
972
973
|
),
|
|
973
|
-
maxlength: l.maxlengthAreaCode
|
|
974
|
+
maxlength: l.maxlengthAreaCode || 5,
|
|
975
|
+
oninput: "value=value.replace(/[^\\d.]/g,'')",
|
|
974
976
|
modelValue: e.states.model[l.field.areaCode],
|
|
975
977
|
"onUpdate:modelValue": (a) => e.states.model[l.field.areaCode] = a,
|
|
976
978
|
disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
|
|
@@ -1069,7 +1071,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
1069
1071
|
class: t(
|
|
1070
1072
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1071
1073
|
),
|
|
1072
|
-
onKeyup:
|
|
1074
|
+
onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1073
1075
|
}, J({ _: 2 }, [
|
|
1074
1076
|
l.prepend ? {
|
|
1075
1077
|
name: "prepend",
|
|
@@ -1135,7 +1137,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
1135
1137
|
class: t(
|
|
1136
1138
|
(l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
|
|
1137
1139
|
),
|
|
1138
|
-
onKeyup:
|
|
1140
|
+
onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
|
|
1139
1141
|
}, J({ _: 2 }, [
|
|
1140
1142
|
l.prepend ? {
|
|
1141
1143
|
name: "prepend",
|
|
@@ -1212,7 +1214,7 @@ function Hl(f, h, w, e, A, Q) {
|
|
|
1212
1214
|
_: 3
|
|
1213
1215
|
}, 16, ["model", "label-position"]);
|
|
1214
1216
|
}
|
|
1215
|
-
const X = /* @__PURE__ */ hl(tl, [["render", Hl], ["__scopeId", "data-v-
|
|
1217
|
+
const X = /* @__PURE__ */ hl(tl, [["render", Hl], ["__scopeId", "data-v-d43fb550"]]);
|
|
1216
1218
|
function K(f, h = {}) {
|
|
1217
1219
|
K.installed || (K.installed = !0, f.component("common-el-form", X));
|
|
1218
1220
|
}
|
package/common-form.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,k){typeof exports=="object"&&typeof module<"u"?module.exports=k(require("vue")):typeof define=="function"&&define.amd?define(["vue"],k):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=k(e.Vue))})(this,function(e){"use strict";const k="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==",T={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:c}){const f=e.ref(!0),o=e.reactive({model:{}}),y=e.ref(null),I=e.shallowRef({render(){return e.h("img",{src:k})}}),t=e.computed(()=>Object.assign([],r.options)),p=()=>{o.model=r.model},b=(n,d,i)=>{var z;d?(f.value=!1,e.nextTick(()=>{var F;(F=y.value)==null||F.validate(pl=>{if(pl)c(i||"submit",o.model,n);else return!1})})):(i==="reset"&&((z=y.value)==null||z.resetFields()),c(i||"submit",o.model,n))},g=(n,d)=>{c("selectChange",n,d)},C=(n,d)=>{c("radioChange",n,d)},N=(n,d)=>{c("checkChange",n,d)},_=(n,d)=>{const i=o.model[d].length;if(i===1){c("checkChange",n,d);return}else i>1?(o.model[d].shift(),c("checkChange",n,d)):i<1&&c("checkChange",n,d)},V=(n,d,i)=>{b(n,d,i)},x=(n,d)=>{n&&(d==null?void 0:d.key)==="Enter"&&b(void 0,!0,"submit")},w=(n,d)=>{c("dateChange",n,d)},m=(n,d)=>{c("calendarChange",n,d)},M=(n,d)=>{c("onOk",n,d)},S=(n,d)=>{console.log(y.value),c("inputBlur",n,d)},E=(n,d)=>{c("inputFocus",n,d)},l=(n,d)=>{c("inputChange",n,d)},D=(n,d)=>{c("inputInput",n,d)},a=n=>{var d;(d=y.value)==null||d.resetFields(n)},s=n=>{var d;(d=y.value)==null||d.clearValidate(n)},h=e.ref(!1),B=()=>{window.innerWidth<768?(console.log("屏幕宽度小于768px"),h.value=!0):h.value=!1};return e.onMounted(()=>{var n;p(),(n=y.value)==null||n.resetFields(),window.addEventListener("resize",B)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",B)}),e.watch(()=>r.fieldList,(n,d)=>{n!==d&&p()}),{...e.toRefs(o),formRef:y,states:o,formOptions:t,onSubmit:b,selectChange:g,radioChange:C,checkChange:N,handleCheckedChange:_,prefixIcon:I,handleClick:V,handleKeyUp:x,resetFieldsTest:a,clearValidateTest:s,dateChange:w,calendarChange:m,onOk:M,inputBlur:S,inputFocus:E,inputChange:l,inputInput:D,noFormRule:f,phoneWrap:h}}},yl="",fl="",U=(r,c)=>{const f=r.__vccOpts||r;for(const[o,y]of c)f[o]=y;return f},O=r=>(e.pushScopeId("data-v-e8648b8d"),r=r(),e.popScopeId(),r),j={class:"header-title"},L={class:"title-content"},Y={key:0,class:"custom-required"},q={key:0,class:"custom-required"},H=["src"],K={key:0,class:"custom-required"},W={class:"lable"},P={class:"lable_note"},Q={key:0,class:"custom-required"},u={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},G={key:0,class:"custom-required"},J={key:0,class:"custom-required"},X={key:0,class:"date_to"},$={key:0,class:"custom-required"},v={key:0,class:"custom-required"},ll={key:0,class:"custom-required"},el={key:0,class:"custom-required"},ol={key:0,class:"phone_item_content_before"},al=O(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),nl=O(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),dl={key:2,class:"line_middle"},sl={key:4,class:"line_middle"},rl=O(()=>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"},cl={key:0,class:"custom-required"};function il(r,c,f,o,y,I){const t=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input"),b=e.resolveComponent("el-col"),g=e.resolveComponent("el-row"),C=e.resolveComponent("el-radio"),N=e.resolveComponent("el-radio-group"),_=e.resolveComponent("el-checkbox"),V=e.resolveComponent("el-checkbox-group"),x=e.resolveComponent("el-option"),w=e.resolveComponent("el-select"),m=e.resolveComponent("a-date-picker"),M=e.resolveComponent("a-range-picker"),S=e.resolveComponent("sinosoftCommonButton"),E=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(E,e.mergeProps({"hide-required-asterisk":"",onSubmit:c[0]||(c[0]=e.withModifiers(()=>{},["prevent"])),model:f.model},o.formOptions,{"label-position":o.formOptions.labelPosition,ref:"formRef"}),{default:e.withCtx(()=>[e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.fieldList,(l,D)=>e.withDirectives((e.openBlock(),e.createBlock(b,{xs:l.xs?l.xs:24,sm:l.sm?l.sm:24,md:l.md?l.md:8,lg:l.lg?l.lg:8,xl:l.xl?l.xl:8,key:D},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?(e.openBlock(),e.createBlock(t,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",j,[e.createElementVNode("span",L,e.toDisplayString(l.title),1)])]),_:2},1024)):l.type==="name"&&typeof l.field!="string"&&l.field&&"nameEnFamily"in l.field&&l.rules&&"nameEnFamily"in l.rules?(e.openBlock(),e.createBlock(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",Y,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEnFamily?(e.openBlock(),e.createBlock(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(p,{onBlur:a=>o.inputBlur(a,l.field.nameEnFamily),onFocus:a=>o.inputFocus(a,l.field.nameEnFamily),onChange:a=>o.inputChange(a,l.field.nameEnFamily),onInput:a=>o.inputInput(a,l.field.nameEnFamily),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEnFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameEnFamily,modelValue:o.states.model[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEnFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEn?(e.openBlock(),e.createBlock(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(p,{onBlur:a=>o.inputBlur(a,l.field.nameEn),onFocus:a=>o.inputFocus(a,l.field.nameEn),onChange:a=>o.inputChange(a,l.field.nameEn),onInput:a=>o.inputInput(a,l.field.nameEn),maxlength:l.maxlengthNameEn,modelValue:o.states.model[l.field.nameEn],"onUpdate:modelValue":a=>o.states.model[l.field.nameEn]=a,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEn||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEn)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","class","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024),e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameChFamily?(e.openBlock(),e.createBlock(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(p,{onBlur:a=>o.inputBlur(a,l.field.nameChFamily),onFocus:a=>o.inputFocus(a,l.field.nameChFamily),onChange:a=>o.inputChange(a,l.field.nameChFamily),onInput:a=>o.inputInput(a,"nameChFamily"in l.field?l.field.nameCh:""),maxlength:l.maxlengthNameChFamily,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameChFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),modelValue:o.states.model[l.field.nameChFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameChFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","class","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameCh?(e.openBlock(),e.createBlock(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(p,{onBlur:a=>o.inputBlur(a,l.field.nameCh),onFocus:a=>o.inputFocus(a,l.field.nameCh),onChange:a=>o.inputChange(a,l.field.nameCh),onInput:a=>o.inputInput(a,l.field.nameCh),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameCh||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameCh,modelValue:o.states.model[l.field.nameCh],"onUpdate:modelValue":a=>o.states.model[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameCh)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","disabled"])):l.type==="gender"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(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",q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{label:s.code,size:"large",key:s.code},{default:e.withCtx(()=>[e.createElementVNode("img",{src:s.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,H)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])):l.type==="radio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(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",K,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",label:s.code,key:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="radioNote"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(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",W,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",P,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",Q,"*")):e.createCommentVNode("",!0)]),e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",label:s.code,key:s.code},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="checkbox"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(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",u,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.checkChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(_,{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",Z,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.handleCheckedChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(_,{key:s.code,label:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="select"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:7,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",G,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{"popper-class":"selectTriangles",teleported:!1,modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.selectChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,placeholder:l.placeholder,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),clearable:l.clearable,"fit-input-width":!0},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(x,{key:s.code,label:s.name,value:s.code},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","placeholder","class","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])):l.type==="date"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:8,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"date_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(m,{size:"large",format:l.format||"DD/MM/YYYY",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,"disabled-date":l.disabledDate,suffixIcon:l.suffixIcon,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showToday:l.showToday,renderExtraFooter:l.extraFooter,inputReadOnly:l.readonly,mode:l.mode,picker:l.picker,placeholder:l.placeholder||l.label,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),onCalendarChange:a=>o.calendarChange(a,typeof l.field=="string"?l.field:""),onOk:a=>o.onOk(a,typeof l.field=="string"?l.field:"")},null,8,["format","valueFormat","value","onUpdate:value","disabled-date","suffixIcon","disabled","showToday","renderExtraFooter","inputReadOnly","mode","picker","placeholder","class","onChange","onCalendarChange","onOk"]),l.showTo?(e.openBlock(),e.createElementBlock("span",X,e.toDisplayString(l.showTo),1)):e.createCommentVNode("",!0)]),_:2},1032,["label","rules","prop"])):l.type==="daterange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:9,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",$,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(M,{"popper-class":"selectTriangles",teleported:!1,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:"")},null,8,["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: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",v,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(M,{"popper-class":"selectTriangles",teleported:!1,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,["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:11,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",ll,"*")):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:12,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",el,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>{var a,s,h,B;return[e.createElementVNode("div",{class:e.normalizeClass(o.phoneWrap?["phone_item_content","phone_item_content_wrap"]:"phone_item_content")},[o.phoneWrap?(e.openBlock(),e.createElementBlock("div",ol,[l.field.nationCode?(e.openBlock(),e.createBlock(w,{key:0,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((a=l.nationOptions)==null?void 0:a.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":"areaCode_input"),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,i)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:i},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),al,l.field.areaCode?(e.openBlock(),e.createBlock(p,{key:1,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlengthAreaCode??5,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),nl])):e.createCommentVNode("",!0),l.field.nationCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(w,{key:1,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((h=l.nationOptions)==null?void 0:h.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,i)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:i},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",dl,"-")),l.field.areaCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(p,{key:3,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlengthAreaCode??5,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:((B=l.areaOptions)==null?void 0:B.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",sl,"-")),l.field.phoneNumber?(e.openBlock(),e.createBlock(p,{key:5,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.phoneNumber],"onUpdate:modelValue":n=>o.states.model[l.field.phoneNumber]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyPhoneNumber)&&!l.openDisabled,placeholder:l.placeholder||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyPhoneNumber||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0)],2)]}),_:2},1032,["label","rules","prop"])):l.type==="line"?(e.openBlock(),e.createBlock(t,{key:13,label:l.label},{default:e.withCtx(()=>[rl]),_:2},1032,["label"])):l.type==="number"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:14,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",tl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,modelModifiers:{number:!0},"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"number",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"])):(e.openBlock(),e.createBlock(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",cl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"text",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"]))],4)]),_:2},1032,["xs","sm","md","lg","xl"])),[[e.vShow,!l.isHide]])),128))]),_:3}),e.createVNode(t,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"buttons",{model:f.model,onBtnClick:o.onSubmit},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.formOptions.btnConfig,(l,D)=>(e.openBlock(),e.createElementBlock("div",{key:D},[l.isShow?(e.openBlock(),e.createBlock(S,{key:0,btnCode:l.btnCode,plain:l.plain,primary:l.primary,info:l.info,text:l.text,debounced:l.debounced?l.debounced:!1,link:l.link,loading:l.loading,loadingColor:l.loadingColor,width:l.width,height:l.height,circle:l.circle,color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,borderStyle:l.borderStyle,borderWidth:l.borderWidth,icon:l.icon,size:l.size,fontSize:l.fontSize,fontWeight:l.fontWeight,style:e.normalizeStyle(l.style),class:e.normalizeClass(l.class),onHandleClick:a=>o.handleClick(a,l.isRule,l.emitName)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.name),1)]),_:2},1032,["btnCode","plain","primary","info","text","debounced","link","loading","loadingColor","width","height","circle","color","bgColor","borderColor","borderStyle","borderWidth","icon","size","fontSize","fontWeight","style","class","onHandleClick"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}const A=U(T,[["render",il],["__scopeId","data-v-e8648b8d"]]);function R(r,c={}){R.installed||(R.installed=!0,r.component("common-el-form",A))}return A.install=R,A});
|
|
1
|
+
(function(e,k){typeof exports=="object"&&typeof module<"u"?module.exports=k(require("vue")):typeof define=="function"&&define.amd?define(["vue"],k):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=k(e.Vue))})(this,function(e){"use strict";const k="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==",T={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:c}){const f=e.ref(!0),o=e.reactive({model:{}}),y=e.ref(null),I=e.shallowRef({render(){return e.h("img",{src:k})}}),t=e.computed(()=>Object.assign([],r.options)),p=()=>{o.model=r.model},b=(n,d,i)=>{var z;d?(f.value=!1,e.nextTick(()=>{var F;(F=y.value)==null||F.validate(pl=>{if(pl)c(i||"submit",o.model,n);else return!1})})):(i==="reset"&&((z=y.value)==null||z.resetFields()),c(i||"submit",o.model,n))},g=(n,d)=>{c("selectChange",n,d)},C=(n,d)=>{c("radioChange",n,d)},N=(n,d)=>{c("checkChange",n,d)},_=(n,d)=>{const i=o.model[d].length;if(i===1){c("checkChange",n,d);return}else i>1?(o.model[d].shift(),c("checkChange",n,d)):i<1&&c("checkChange",n,d)},V=(n,d,i)=>{b(n,d,i)},x=(n,d)=>{n&&(d==null?void 0:d.key)==="Enter"&&b(void 0,!0,"submit")},w=(n,d)=>{c("dateChange",n,d)},m=(n,d)=>{c("calendarChange",n,d)},M=(n,d)=>{c("onOk",n,d)},S=(n,d)=>{console.log(y.value),c("inputBlur",n,d)},E=(n,d)=>{c("inputFocus",n,d)},l=(n,d)=>{c("inputChange",n,d)},D=(n,d)=>{c("inputInput",n,d)},a=n=>{var d;(d=y.value)==null||d.resetFields(n)},s=n=>{var d;(d=y.value)==null||d.clearValidate(n)},h=e.ref(!1),B=()=>{window.innerWidth<768?(console.log("屏幕宽度小于768px"),h.value=!0):h.value=!1};return e.onMounted(()=>{var n;p(),(n=y.value)==null||n.resetFields(),window.addEventListener("resize",B)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",B)}),e.watch(()=>r.fieldList,(n,d)=>{n!==d&&p()}),{...e.toRefs(o),formRef:y,states:o,formOptions:t,onSubmit:b,selectChange:g,radioChange:C,checkChange:N,handleCheckedChange:_,prefixIcon:I,handleClick:V,handleKeyUp:x,resetFieldsTest:a,clearValidateTest:s,dateChange:w,calendarChange:m,onOk:M,inputBlur:S,inputFocus:E,inputChange:l,inputInput:D,noFormRule:f,phoneWrap:h}}},yl="",fl="",U=(r,c)=>{const f=r.__vccOpts||r;for(const[o,y]of c)f[o]=y;return f},O=r=>(e.pushScopeId("data-v-d43fb550"),r=r(),e.popScopeId(),r),j={class:"header-title"},L={class:"title-content"},Y={key:0,class:"custom-required"},q={key:0,class:"custom-required"},H=["src"],K={key:0,class:"custom-required"},W={class:"lable"},u={class:"lable_note"},P={key:0,class:"custom-required"},Q={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},G={key:0,class:"custom-required"},J={key:0,class:"custom-required"},X={key:0,class:"date_to"},$={key:0,class:"custom-required"},v={key:0,class:"custom-required"},ll={key:0,class:"custom-required"},el={key:0,class:"custom-required"},ol={key:0,class:"phone_item_content_before"},al=O(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),nl=O(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),dl={key:2,class:"line_middle"},sl={key:4,class:"line_middle"},rl=O(()=>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"},cl={key:0,class:"custom-required"};function il(r,c,f,o,y,I){const t=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input"),b=e.resolveComponent("el-col"),g=e.resolveComponent("el-row"),C=e.resolveComponent("el-radio"),N=e.resolveComponent("el-radio-group"),_=e.resolveComponent("el-checkbox"),V=e.resolveComponent("el-checkbox-group"),x=e.resolveComponent("el-option"),w=e.resolveComponent("el-select"),m=e.resolveComponent("a-date-picker"),M=e.resolveComponent("a-range-picker"),S=e.resolveComponent("sinosoftCommonButton"),E=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(E,e.mergeProps({"hide-required-asterisk":"",onSubmit:c[0]||(c[0]=e.withModifiers(()=>{},["prevent"])),model:f.model},o.formOptions,{"label-position":o.formOptions.labelPosition,ref:"formRef"}),{default:e.withCtx(()=>[e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.fieldList,(l,D)=>e.withDirectives((e.openBlock(),e.createBlock(b,{xs:l.xs?l.xs:24,sm:l.sm?l.sm:24,md:l.md?l.md:8,lg:l.lg?l.lg:8,xl:l.xl?l.xl:8,key:D},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?(e.openBlock(),e.createBlock(t,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",j,[e.createElementVNode("span",L,e.toDisplayString(l.title),1)])]),_:2},1024)):l.type==="name"&&typeof l.field!="string"&&l.field&&"nameEnFamily"in l.field&&l.rules&&"nameEnFamily"in l.rules?(e.openBlock(),e.createBlock(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",Y,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEnFamily?(e.openBlock(),e.createBlock(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(p,{onBlur:a=>o.inputBlur(a,l.field.nameEnFamily),onFocus:a=>o.inputFocus(a,l.field.nameEnFamily),onChange:a=>o.inputChange(a,l.field.nameEnFamily),onInput:a=>o.inputInput(a,l.field.nameEnFamily),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEnFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameEnFamily,modelValue:o.states.model[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEnFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEn?(e.openBlock(),e.createBlock(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(p,{onBlur:a=>o.inputBlur(a,l.field.nameEn),onFocus:a=>o.inputFocus(a,l.field.nameEn),onChange:a=>o.inputChange(a,l.field.nameEn),onInput:a=>o.inputInput(a,l.field.nameEn),maxlength:l.maxlengthNameEn,modelValue:o.states.model[l.field.nameEn],"onUpdate:modelValue":a=>o.states.model[l.field.nameEn]=a,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEn||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEn)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","class","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024),e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameChFamily?(e.openBlock(),e.createBlock(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(p,{onBlur:a=>o.inputBlur(a,l.field.nameChFamily),onFocus:a=>o.inputFocus(a,l.field.nameChFamily),onChange:a=>o.inputChange(a,l.field.nameChFamily),onInput:a=>o.inputInput(a,"nameChFamily"in l.field?l.field.nameCh:""),maxlength:l.maxlengthNameChFamily,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameChFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),modelValue:o.states.model[l.field.nameChFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameChFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","class","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameCh?(e.openBlock(),e.createBlock(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(p,{onBlur:a=>o.inputBlur(a,l.field.nameCh),onFocus:a=>o.inputFocus(a,l.field.nameCh),onChange:a=>o.inputChange(a,l.field.nameCh),onInput:a=>o.inputInput(a,l.field.nameCh),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameCh||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameCh,modelValue:o.states.model[l.field.nameCh],"onUpdate:modelValue":a=>o.states.model[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameCh)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","disabled"])):l.type==="gender"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(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",q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{label:s.code,size:"large",key:s.code},{default:e.withCtx(()=>[e.createElementVNode("img",{src:s.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,H)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])):l.type==="radio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(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",K,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",label:s.code,key:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="radioNote"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(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",W,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",u,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",P,"*")):e.createCommentVNode("",!0)]),e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",label:s.code,key:s.code},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="checkbox"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(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",Q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.checkChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(_,{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",Z,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.handleCheckedChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(_,{key:s.code,label:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="select"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:7,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",G,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{"popper-class":"selectTriangles",teleported:!1,modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.selectChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,placeholder:l.placeholder,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),clearable:l.clearable,"fit-input-width":!0},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(x,{key:s.code,label:s.name,value:s.code},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","placeholder","class","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])):l.type==="date"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:8,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"date_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(m,{size:"large",format:l.format||"DD/MM/YYYY",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,"disabled-date":l.disabledDate,suffixIcon:l.suffixIcon,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showToday:l.showToday,renderExtraFooter:l.extraFooter,inputReadOnly:l.readonly,mode:l.mode,picker:l.picker,placeholder:l.placeholder||l.label,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),onCalendarChange:a=>o.calendarChange(a,typeof l.field=="string"?l.field:""),onOk:a=>o.onOk(a,typeof l.field=="string"?l.field:"")},null,8,["format","valueFormat","value","onUpdate:value","disabled-date","suffixIcon","disabled","showToday","renderExtraFooter","inputReadOnly","mode","picker","placeholder","class","onChange","onCalendarChange","onOk"]),l.showTo?(e.openBlock(),e.createElementBlock("span",X,e.toDisplayString(l.showTo),1)):e.createCommentVNode("",!0)]),_:2},1032,["label","rules","prop"])):l.type==="daterange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:9,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",$,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(M,{"popper-class":"selectTriangles",teleported:!1,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:"")},null,8,["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: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",v,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(M,{"popper-class":"selectTriangles",teleported:!1,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,["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:11,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",ll,"*")):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:12,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",el,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>{var a,s,h,B;return[e.createElementVNode("div",{class:e.normalizeClass(o.phoneWrap?["phone_item_content","phone_item_content_wrap"]:"phone_item_content")},[o.phoneWrap?(e.openBlock(),e.createElementBlock("div",ol,[l.field.nationCode?(e.openBlock(),e.createBlock(w,{key:0,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((a=l.nationOptions)==null?void 0:a.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":"areaCode_input"),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,i)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:i},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),al,l.field.areaCode?(e.openBlock(),e.createBlock(p,{key:1,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.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),nl])):e.createCommentVNode("",!0),l.field.nationCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(w,{key:1,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((h=l.nationOptions)==null?void 0:h.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,i)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:i},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",dl,"-")),l.field.areaCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(p,{key:3,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.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:((B=l.areaOptions)==null?void 0:B.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",sl,"-")),l.field.phoneNumber?(e.openBlock(),e.createBlock(p,{key:5,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.phoneNumber],"onUpdate:modelValue":n=>o.states.model[l.field.phoneNumber]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyPhoneNumber)&&!l.openDisabled,placeholder:l.placeholder||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyPhoneNumber||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0)],2)]}),_:2},1032,["label","rules","prop"])):l.type==="line"?(e.openBlock(),e.createBlock(t,{key:13,label:l.label},{default:e.withCtx(()=>[rl]),_:2},1032,["label"])):l.type==="number"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(t,{key:14,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",tl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,modelModifiers:{number:!0},"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"number",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"])):(e.openBlock(),e.createBlock(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",cl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"text",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"]))],4)]),_:2},1032,["xs","sm","md","lg","xl"])),[[e.vShow,!l.isHide]])),128))]),_:3}),e.createVNode(t,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"buttons",{model:f.model,onBtnClick:o.onSubmit},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.formOptions.btnConfig,(l,D)=>(e.openBlock(),e.createElementBlock("div",{key:D},[l.isShow?(e.openBlock(),e.createBlock(S,{key:0,btnCode:l.btnCode,plain:l.plain,primary:l.primary,info:l.info,text:l.text,debounced:l.debounced?l.debounced:!1,link:l.link,loading:l.loading,loadingColor:l.loadingColor,width:l.width,height:l.height,circle:l.circle,color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,borderStyle:l.borderStyle,borderWidth:l.borderWidth,icon:l.icon,size:l.size,fontSize:l.fontSize,fontWeight:l.fontWeight,style:e.normalizeStyle(l.style),class:e.normalizeClass(l.class),onHandleClick:a=>o.handleClick(a,l.isRule,l.emitName)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.name),1)]),_:2},1032,["btnCode","plain","primary","info","text","debounced","link","loading","loadingColor","width","height","circle","color","bgColor","borderColor","borderStyle","borderWidth","icon","size","fontSize","fontWeight","style","class","onHandleClick"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}const A=U(T,[["render",il],["__scopeId","data-v-d43fb550"]]);function R(r,c={}){R.installed||(R.installed=!0,r.component("common-el-form",A))}return A.install=R,A});
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";[data-v-e8648b8d] .el-date-editor{height:60px!important;width:100%!important}[data-v-e8648b8d] .el-form-item{margin-bottom:12px}[data-v-e8648b8d] .el-input__inner{height:42px;color:#1d1d1d}[data-v-e8648b8d] .el-card__body{padding:0}[data-v-e8648b8d] .el-form-item__label{height:auto!important;margin-bottom:4px!important}.form-item-title[data-v-e8648b8d]{width:100%}[data-v-e8648b8d] .el-checkbox-group .el-checkbox{display:flex;height:64px}.rule_err[data-v-e8648b8d] .el-form-item__content,.radio_Note[data-v-e8648b8d] .el-form-item__content{display:block}.radio_Note .lable[data-v-e8648b8d]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular}.radio_Note .lable_note[data-v-e8648b8d]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Regular}.container_name[data-v-e8648b8d]{margin-bottom:0}.container_name[data-v-e8648b8d] .el-form-item__content{width:calc(100% + 20px)}.container_name .el-row[data-v-e8648b8d],.container_name .el-row[data-v-e8648b8d] .el-form-item__content{width:100%}.container_name[data-v-e8648b8d] .el-form-item__content{align-items:start}.container_name[data-v-e8648b8d] .el-form-item{margin-bottom:0}.container_name .item-name[data-v-e8648b8d]{width:100%;box-sizing:border-box}.container_name .item-name-top[data-v-e8648b8d]{margin-bottom:12px;padding-right:0}.container_name .item-name-bottom[data-v-e8648b8d]{margin-bottom:12px}.container_name[data-v-e8648b8d] .is-error{margin-bottom:38px}.container_name[data-v-e8648b8d] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}.btnsItem[data-v-e8648b8d]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-e8648b8d] .el-form-item__content{justify-content:right}label[data-v-e8648b8d]{display:block}.title-content[data-v-e8648b8d]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto light}[data-v-e8648b8d] .el-input__wrapper{height:60px;border-radius:8px;padding:1px 16px}.date_item[data-v-e8648b8d] .el-form-item__content .date_to{font-size:14px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular;position:absolute;right:-17.5px;top:18px}.date_item[data-v-e8648b8d] .el-form-item__error{padding-top:8px!important}.phone_item[data-v-e8648b8d] .el-form-item__content{display:flex}.phone_item[data-v-e8648b8d] .el-form-item__content .el-select{width:180.03px}.phone_item[data-v-e8648b8d] .el-form-item__content .line_middle{margin:0 4px}.phone_item[data-v-e8648b8d] .el-input__suffix-inner{width:14px;padding-right:3px}.phone_item .phone_item_content[data-v-e8648b8d]{display:flex;flex-wrap:nowrap;align-items:center;width:100%}.phone_item .phone_item_content .phone_item_content_before[data-v-e8648b8d]{display:flex;flex-wrap:nowrap;align-items:center;width:100%;margin-bottom:12px}.phone_item .phone_item_content[data-v-e8648b8d] .readonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-e8648b8d] .readonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-e8648b8d] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-e8648b8d] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-e8648b8d] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-e8648b8d] .inputReadonly{width:180.03px}.phone_item .phone_item_content[data-v-e8648b8d] .inputReadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-e8648b8d] .inputReadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-e8648b8d] .inputReadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content .areaCode_input[data-v-e8648b8d]{width:180.03px}.phone_item .phone_item_content .areaCode_input .el-input__wrapper[data-v-e8648b8d]{box-shadow:none!important;border:1px solid #c7c8ca!important}.phone_item .phone_item_content_wrap[data-v-e8648b8d]{flex-wrap:wrap}.input-item[data-v-e8648b8d] .el-input-group__prepend{border:1px solid #c7c8ca!important;border-top-left-radius:8px;border-bottom-left-radius:8px;border-right:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 0 0 16px;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}.input-item[data-v-e8648b8d] .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-e8648b8d] .el-input-group__append{border:1px solid #c7c8ca!important;border-top-right-radius:8px;border-bottom-right-radius:8px;border-left:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 16px 0 0;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}[data-v-e8648b8d] .is-error .areaCode_select .el-input__wrapper{box-shadow:none!important;border:1px solid #c7c8ca!important}[data-v-e8648b8d] .el-select{width:100%}[data-v-e8648b8d] .el-select .el-icon{height:15px}[data-v-e8648b8d] .el-select .el-icon svg{display:none}[data-v-e8648b8d] .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-e8648b8d] .ant-picker-suffix{position:absolute;left:2px}.ant-picker-range[data-v-e8648b8d] .ant-picker-suffix{position:absolute;left:12px}[data-v-e8648b8d] .ant-picker-input input{margin-left:30px}[data-v-e8648b8d] .ant-picker .ant-picker-suffix .anticon svg{color:#000!important}.custom-required[data-v-e8648b8d]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-e8648b8d]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Regular;width:100%;word-wrap:break-word;white-space:normal}[data-v-e8648b8d] .readonly .el-input-group__prepend,[data-v-e8648b8d] .readonly .el-input-group__append{background-color:#f3f3f3!important}[data-v-e8648b8d] .readonly .el-input__wrapper,[data-v-e8648b8d] .readonly .el-textarea{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-e8648b8d] .readonly .el-input__wrapper .el-input__inner,[data-v-e8648b8d] .readonly .el-input__wrapper .el-textarea__inner,[data-v-e8648b8d] .readonly .el-textarea .el-input__inner,[data-v-e8648b8d] .readonly .el-textarea .el-textarea__inner,[data-v-e8648b8d] .readonly .el-textarea__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-e8648b8d] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-e8648b8d] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-e8648b8d] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}[data-v-e8648b8d] .el-input.is-disabled .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #d9d9d9 inset}[data-v-e8648b8d] .el-input__wrapper{border:1px solid #c7c8ca;box-shadow:none!important}[data-v-e8648b8d] .is-error{margin-bottom:38px}[data-v-e8648b8d] .is-error .el-input__wrapper{border:1px solid #fd3d38;box-shadow:none!important}[data-v-e8648b8d] .is-error .el-input-group__prepend{border:1px solid #fd3d38!important;border-right:0px!important}[data-v-e8648b8d] .is-error .el-input-group__append{border:1px solid #fd3d38!important;border-left:0px!important}[data-v-e8648b8d] .el-select__wrapper{height:60px}[data-v-e8648b8d] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}[data-v-e8648b8d] .el-textarea__inner{border:1px solid #c7c8ca;box-shadow:none}.radio_row .el-radio.el-radio--large[data-v-e8648b8d]{height:64px;line-height:64px}[data-v-e8648b8d] .ant-picker{width:100%;height:60px}[data-v-e8648b8d] ::-webkit-outer-spin-button,[data-v-e8648b8d] ::-webkit-inner-spin-button{-webkit-appearance:none}[data-v-e8648b8d] input[type=number]{-moz-appearance:textfield}.selectTriangles .el-popper__arrow:before{display:none!important}.el-popper.is-light{border:none!important}.selectTriangles .el-select-dropdown__list{margin:0!important;border-radius:2px;border:none!important}.selectTriangles .el-select-dropdown__item{min-height:40px!important;line-height:40px;height:auto;white-space:initial}
|
|
1
|
+
@charset "UTF-8";[data-v-d43fb550] .el-date-editor{height:60px!important;width:100%!important}[data-v-d43fb550] .el-form-item{margin-bottom:12px}[data-v-d43fb550] .el-input__inner{height:42px;color:#1d1d1d}[data-v-d43fb550] .el-card__body{padding:0}[data-v-d43fb550] .el-form-item__label{height:auto!important;margin-bottom:4px!important}.form-item-title[data-v-d43fb550]{width:100%}[data-v-d43fb550] .el-checkbox-group .el-checkbox{display:flex;height:64px}.rule_err[data-v-d43fb550] .el-form-item__content,.radio_Note[data-v-d43fb550] .el-form-item__content{display:block}.radio_Note .lable[data-v-d43fb550]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular}.radio_Note .lable_note[data-v-d43fb550]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Regular}.container_name[data-v-d43fb550]{margin-bottom:0}.container_name[data-v-d43fb550] .el-form-item__content{width:calc(100% + 20px)}.container_name .el-row[data-v-d43fb550],.container_name .el-row[data-v-d43fb550] .el-form-item__content{width:100%}.container_name[data-v-d43fb550] .el-form-item__content{align-items:start}.container_name[data-v-d43fb550] .el-form-item{margin-bottom:0}.container_name .item-name[data-v-d43fb550]{width:100%;box-sizing:border-box}.container_name .item-name-top[data-v-d43fb550]{margin-bottom:12px;padding-right:0}.container_name .item-name-bottom[data-v-d43fb550]{margin-bottom:12px}.container_name[data-v-d43fb550] .is-error{margin-bottom:38px}.container_name[data-v-d43fb550] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}.btnsItem[data-v-d43fb550]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-d43fb550] .el-form-item__content{justify-content:right}label[data-v-d43fb550]{display:block}.title-content[data-v-d43fb550]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto light}[data-v-d43fb550] .el-input__wrapper{height:60px;border-radius:8px;padding:1px 16px}.date_item[data-v-d43fb550] .el-form-item__content .date_to{font-size:14px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular;position:absolute;right:-17.5px;top:18px}.date_item[data-v-d43fb550] .el-form-item__error{padding-top:8px!important}.phone_item[data-v-d43fb550] .el-form-item__content{display:flex}.phone_item[data-v-d43fb550] .el-form-item__content .el-select{width:180.03px}.phone_item[data-v-d43fb550] .el-form-item__content .line_middle{margin:0 4px}.phone_item[data-v-d43fb550] .el-input__suffix-inner{width:14px;padding-right:3px}.phone_item .phone_item_content[data-v-d43fb550]{display:flex;flex-wrap:nowrap;align-items:center;width:100%}.phone_item .phone_item_content .phone_item_content_before[data-v-d43fb550]{display:flex;flex-wrap:nowrap;align-items:center;width:100%;margin-bottom:12px}.phone_item .phone_item_content[data-v-d43fb550] .readonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-d43fb550] .readonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-d43fb550] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-d43fb550] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-d43fb550] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-d43fb550] .inputReadonly{width:180.03px}.phone_item .phone_item_content[data-v-d43fb550] .inputReadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-d43fb550] .inputReadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-d43fb550] .inputReadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content .areaCode_input[data-v-d43fb550]{width:180.03px}.phone_item .phone_item_content .areaCode_input .el-input__wrapper[data-v-d43fb550]{box-shadow:none!important;border:1px solid #c7c8ca!important}.phone_item .phone_item_content_wrap[data-v-d43fb550]{flex-wrap:wrap}.input-item[data-v-d43fb550] .el-input-group__prepend{border:1px solid #c7c8ca!important;border-top-left-radius:8px;border-bottom-left-radius:8px;border-right:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 0 0 16px;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}.input-item[data-v-d43fb550] .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-d43fb550] .el-input-group__append{border:1px solid #c7c8ca!important;border-top-right-radius:8px;border-bottom-right-radius:8px;border-left:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 16px 0 0;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}[data-v-d43fb550] .is-error .areaCode_select .el-input__wrapper{box-shadow:none!important;border:1px solid #c7c8ca!important}[data-v-d43fb550] .el-select{width:100%}[data-v-d43fb550] .el-select .el-icon{height:15px}[data-v-d43fb550] .el-select .el-icon svg{display:none}[data-v-d43fb550] .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-d43fb550] .ant-picker-suffix{position:absolute;left:2px}.ant-picker-range[data-v-d43fb550] .ant-picker-suffix{position:absolute;left:12px}[data-v-d43fb550] .ant-picker-input input{margin-left:30px}[data-v-d43fb550] .ant-picker .ant-picker-suffix .anticon svg{color:#000!important}.custom-required[data-v-d43fb550]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-d43fb550]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Regular;width:100%;word-wrap:break-word;white-space:normal}[data-v-d43fb550] .readonly .el-input-group__prepend,[data-v-d43fb550] .readonly .el-input-group__append{background-color:#f3f3f3!important}[data-v-d43fb550] .readonly .el-input__wrapper,[data-v-d43fb550] .readonly .el-textarea{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-d43fb550] .readonly .el-input__wrapper .el-input__inner,[data-v-d43fb550] .readonly .el-input__wrapper .el-textarea__inner,[data-v-d43fb550] .readonly .el-textarea .el-input__inner,[data-v-d43fb550] .readonly .el-textarea .el-textarea__inner,[data-v-d43fb550] .readonly .el-textarea__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-d43fb550] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-d43fb550] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-d43fb550] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}[data-v-d43fb550] .el-input.is-disabled .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #d9d9d9 inset}[data-v-d43fb550] .el-input__wrapper{border:1px solid #c7c8ca;box-shadow:none!important}[data-v-d43fb550] .is-error{margin-bottom:38px}[data-v-d43fb550] .is-error .el-input__wrapper{border:1px solid #fd3d38;box-shadow:none!important}[data-v-d43fb550] .is-error .el-input-group__prepend{border:1px solid #fd3d38!important;border-right:0px!important}[data-v-d43fb550] .is-error .el-input-group__append{border:1px solid #fd3d38!important;border-left:0px!important}[data-v-d43fb550] .el-select__wrapper{height:60px}[data-v-d43fb550] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}[data-v-d43fb550] .el-textarea__inner{border:1px solid #c7c8ca;box-shadow:none}.radio_row .el-radio.el-radio--large[data-v-d43fb550]{height:64px;line-height:64px}[data-v-d43fb550] .ant-picker{width:100%;height:60px}[data-v-d43fb550] ::-webkit-outer-spin-button,[data-v-d43fb550] ::-webkit-inner-spin-button{-webkit-appearance:none}[data-v-d43fb550] input[type=number]{-moz-appearance:textfield}.selectTriangles .el-popper__arrow:before{display:none!important}.el-popper.is-light{border:none!important}.selectTriangles .el-select-dropdown__list{margin:0!important;border-radius:2px;border:none!important}.selectTriangles .el-select-dropdown__item{min-height:40px!important;line-height:40px;height:auto;white-space:initial}
|