sinosoft-common-form 1.4.6 → 1.4.8

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