sinosoft-common-form 1.6.6 → 1.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/common-form.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { ref as W, reactive as $, shallowRef as ll, h as el, computed as ol, onMounted as al, onBeforeUnmount as nl, watch as dl, toRefs as sl, nextTick as rl, resolveComponent as D, openBlock as n, createBlock as i, mergeProps as il, withModifiers as yl, withCtx as d, createVNode as b, createElementBlock as r, Fragment as A, renderList as R, withDirectives as fl, createElementVNode as N, normalizeStyle as g, toDisplayString as u, createTextVNode as _, createCommentVNode as p, renderSlot as M, normalizeClass as h, withKeys as v, createSlots as J, vShow as pl, pushScopeId as ul, popScopeId as cl } from "vue";
2
- const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==", bl = {
1
+ import { ref as W, reactive as $, shallowRef as ll, h as el, computed as ol, onMounted as al, onBeforeUnmount as nl, watch as dl, toRefs as sl, nextTick as rl, resolveComponent as D, openBlock as n, createBlock as i, mergeProps as il, withModifiers as yl, withCtx as d, createVNode as t, createElementBlock as r, Fragment as A, renderList as R, withDirectives as pl, createElementVNode as N, normalizeStyle as g, toDisplayString as u, createTextVNode as _, createCommentVNode as f, renderSlot as M, normalizeClass as h, withKeys as F, createSlots as J, vShow as fl, pushScopeId as ul, popScopeId as cl } from "vue";
2
+ const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==", tl = {
3
3
  props: {
4
4
  fieldList: {
5
5
  type: Array,
@@ -21,17 +21,17 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
21
21
  },
22
22
  options: Object
23
23
  },
24
- setup(f, { emit: c }) {
24
+ setup(p, { emit: c }) {
25
25
  const w = W(!0), e = $({
26
26
  model: {}
27
27
  }), O = W(null), P = ll({
28
28
  render() {
29
29
  return el("img", {
30
- src: tl
30
+ src: bl
31
31
  });
32
32
  }
33
- }), t = ol(() => Object.assign([], f.options)), k = () => {
34
- e.model = f.model;
33
+ }), b = ol(() => Object.assign([], p.options)), k = () => {
34
+ e.model = p.model;
35
35
  }, x = (a, s, C) => {
36
36
  var Z;
37
37
  s ? (w.value = !1, rl(() => {
@@ -43,13 +43,13 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
43
43
  return !1;
44
44
  });
45
45
  })) : (C === "reset" && ((Z = O.value) == null || Z.resetFields()), c(C || "submit", e.model, a));
46
- }, F = (a, s) => {
47
- c("selectChange", a, s);
48
46
  }, V = (a, s) => {
49
- c("radioChange", a, s);
47
+ c("selectChange", a, s);
50
48
  }, U = (a, s) => {
49
+ c("radioChange", a, s);
50
+ }, v = (a, s) => {
51
51
  c("checkChange", a, s);
52
- }, T = (a, s) => {
52
+ }, E = (a, s) => {
53
53
  const C = e.model[s].length;
54
54
  if (C === 1) {
55
55
  c("checkChange", a, s);
@@ -80,16 +80,16 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
80
80
  }, y = (a) => {
81
81
  var s;
82
82
  (s = O.value) == null || s.clearValidate(a);
83
- }, I = W(!1), E = () => {
83
+ }, I = W(!1), T = () => {
84
84
  window.innerWidth < 768 ? (console.log("屏幕宽度小于768px"), I.value = !0) : I.value = !1;
85
85
  };
86
86
  return al(() => {
87
87
  var a;
88
- k(), (a = O.value) == null || a.resetFields(), window.addEventListener("resize", E);
88
+ k(), (a = O.value) == null || a.resetFields(), window.addEventListener("resize", T);
89
89
  }), nl(() => {
90
- window.removeEventListener("resize", E);
90
+ window.removeEventListener("resize", T);
91
91
  }), dl(
92
- () => f.fieldList,
92
+ () => p.fieldList,
93
93
  (a, s) => {
94
94
  a !== s && k();
95
95
  }
@@ -97,12 +97,12 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
97
97
  ...sl(e),
98
98
  formRef: O,
99
99
  states: e,
100
- formOptions: t,
100
+ formOptions: b,
101
101
  onSubmit: x,
102
- selectChange: F,
103
- radioChange: V,
104
- checkChange: U,
105
- handleCheckedChange: T,
102
+ selectChange: V,
103
+ radioChange: U,
104
+ checkChange: v,
105
+ handleCheckedChange: E,
106
106
  prefixIcon: P,
107
107
  handleClick: S,
108
108
  handleKeyUp: j,
@@ -121,12 +121,12 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
121
121
  };
122
122
  }
123
123
  };
124
- const hl = (f, c) => {
125
- const w = f.__vccOpts || f;
124
+ const hl = (p, c) => {
125
+ const w = p.__vccOpts || p;
126
126
  for (const [e, O] of c)
127
127
  w[e] = O;
128
128
  return w;
129
- }, Q = (f) => (ul("data-v-8c0e2e9d"), f = f(), cl(), f), gl = { class: "header-title" }, _l = { class: "title-content" }, Cl = {
129
+ }, Q = (p) => (ul("data-v-ce3624e9"), p = p(), cl(), p), gl = { class: "header-title" }, _l = { class: "title-content" }, Cl = {
130
130
  key: 0,
131
131
  class: "custom-required"
132
132
  }, Dl = {
@@ -150,25 +150,25 @@ const hl = (f, c) => {
150
150
  }, Il = {
151
151
  key: 0,
152
152
  class: "custom-required"
153
- }, vl = {
154
- key: 0,
155
- class: "date_to"
156
153
  }, Fl = {
157
154
  key: 0,
158
- class: "custom-required"
155
+ class: "date_to"
159
156
  }, Vl = {
160
157
  key: 0,
161
158
  class: "custom-required"
162
159
  }, Ul = {
163
160
  key: 0,
164
161
  class: "custom-required"
162
+ }, vl = {
163
+ key: 0,
164
+ class: "custom-required"
165
165
  }, jl = {
166
166
  key: 0,
167
167
  class: "phone_item_content_before"
168
- }, zl = /* @__PURE__ */ Q(() => /* @__PURE__ */ N("div", { class: "line_middle" }, "-", -1)), Ll = /* @__PURE__ */ Q(() => /* @__PURE__ */ N("div", { class: "line_middle" }, "-", -1)), El = {
168
+ }, zl = /* @__PURE__ */ Q(() => /* @__PURE__ */ N("div", { class: "line_middle" }, "-", -1)), Ll = /* @__PURE__ */ Q(() => /* @__PURE__ */ N("div", { class: "line_middle" }, "-", -1)), Tl = {
169
169
  key: 2,
170
170
  class: "line_middle"
171
- }, Tl = {
171
+ }, El = {
172
172
  key: 4,
173
173
  class: "line_middle"
174
174
  }, Sl = /* @__PURE__ */ Q(() => /* @__PURE__ */ N("div", {
@@ -181,8 +181,8 @@ const hl = (f, c) => {
181
181
  key: 0,
182
182
  class: "custom-required"
183
183
  };
184
- function ql(f, c, w, e, O, P) {
185
- const t = D("el-form-item"), k = D("el-input"), x = D("el-col"), F = D("el-row"), V = D("el-radio"), U = D("el-radio-group"), T = D("el-checkbox"), S = D("el-checkbox-group"), j = D("el-option"), z = D("el-select"), B = D("a-date-picker"), Y = D("a-range-picker"), q = D("sinosoftCommonButton"), H = D("el-form");
184
+ function ql(p, c, w, e, O, P) {
185
+ const b = D("el-form-item"), k = D("el-input"), x = D("el-col"), V = D("el-row"), U = D("el-radio"), v = D("el-radio-group"), E = D("el-checkbox"), S = D("el-checkbox-group"), j = D("el-option"), z = D("el-select"), B = D("a-date-picker"), Y = D("a-range-picker"), q = D("sinosoftCommonButton"), H = D("el-form");
186
186
  return n(), i(H, il({
187
187
  "hide-required-asterisk": "",
188
188
  onSubmit: c[0] || (c[0] = yl(() => {
@@ -193,9 +193,9 @@ function ql(f, c, w, e, O, P) {
193
193
  ref: "formRef"
194
194
  }), {
195
195
  default: d(() => [
196
- b(F, { gutter: 20 }, {
196
+ t(V, { gutter: 20 }, {
197
197
  default: d(() => [
198
- (n(!0), r(A, null, R(w.fieldList, (l, L) => fl((n(), i(x, {
198
+ (n(!0), r(A, null, R(w.fieldList, (l, L) => pl((n(), i(x, {
199
199
  xs: l.xs ? l.xs : 24,
200
200
  sm: l.sm ? l.sm : 24,
201
201
  md: l.md ? l.md : 8,
@@ -207,32 +207,32 @@ function ql(f, c, w, e, O, P) {
207
207
  N("div", {
208
208
  style: g(l.style)
209
209
  }, [
210
- l.type === "title" ? (n(), i(t, { key: 0 }, {
210
+ l.type === "title" ? (n(), i(b, { key: 0 }, {
211
211
  default: d(() => [
212
212
  N("div", gl, [
213
213
  N("span", _l, u(l.title), 1)
214
214
  ])
215
215
  ]),
216
216
  _: 2
217
- }, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (n(), i(t, {
217
+ }, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (n(), i(b, {
218
218
  key: 1,
219
219
  label: l.label,
220
220
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
221
221
  class: "container_name"
222
222
  }, {
223
223
  label: d(() => [
224
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
224
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
225
225
  key: 0,
226
226
  style: g(l.labelStyle)
227
227
  }, [
228
228
  _(u(l.label) + " ", 1),
229
- l.required ? (n(), r("span", Cl, "*")) : p("", !0)
229
+ l.required ? (n(), r("span", Cl, "*")) : f("", !0)
230
230
  ], 4))
231
231
  ]),
232
232
  default: d(() => [
233
- b(F, { gutter: 20 }, {
233
+ t(V, { gutter: 20 }, {
234
234
  default: d(() => [
235
- b(x, {
235
+ t(x, {
236
236
  xs: 24,
237
237
  sm: 12,
238
238
  md: 12,
@@ -240,14 +240,14 @@ function ql(f, c, w, e, O, P) {
240
240
  xl: 12
241
241
  }, {
242
242
  default: d(() => [
243
- l.field.nameEnFamily ? (n(), i(t, {
243
+ l.field.nameEnFamily ? (n(), i(b, {
244
244
  key: 0,
245
245
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
246
246
  prop: l.field.nameEnFamily,
247
247
  class: "item-name item-name-top"
248
248
  }, {
249
249
  default: d(() => [
250
- b(k, {
250
+ t(k, {
251
251
  onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
252
252
  onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
253
253
  onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
@@ -262,15 +262,15 @@ function ql(f, c, w, e, O, P) {
262
262
  type: l.type ? l.type : "text",
263
263
  placeholder: l.placeholderNameEnFamily,
264
264
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
265
- onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
265
+ onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
266
266
  }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
267
267
  ]),
268
268
  _: 2
269
- }, 1032, ["rules", "prop"])) : p("", !0)
269
+ }, 1032, ["rules", "prop"])) : f("", !0)
270
270
  ]),
271
271
  _: 2
272
272
  }, 1024),
273
- b(x, {
273
+ t(x, {
274
274
  xs: 24,
275
275
  sm: 12,
276
276
  md: 12,
@@ -278,14 +278,14 @@ function ql(f, c, w, e, O, P) {
278
278
  xl: 12
279
279
  }, {
280
280
  default: d(() => [
281
- l.field.nameEn ? (n(), i(t, {
281
+ l.field.nameEn ? (n(), i(b, {
282
282
  key: 0,
283
283
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
284
284
  prop: l.field.nameEn,
285
285
  class: "item-name item-name-top"
286
286
  }, {
287
287
  default: d(() => [
288
- b(k, {
288
+ t(k, {
289
289
  onBlur: (o) => e.inputBlur(o, l.field.nameEn),
290
290
  onFocus: (o) => e.inputFocus(o, l.field.nameEn),
291
291
  onChange: (o) => e.inputChange(o, l.field.nameEn),
@@ -300,20 +300,20 @@ function ql(f, c, w, e, O, P) {
300
300
  type: l.type ? l.type : "text",
301
301
  placeholder: l.placeholderNameEn,
302
302
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
303
- onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
303
+ onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
304
304
  }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
305
305
  ]),
306
306
  _: 2
307
- }, 1032, ["rules", "prop"])) : p("", !0)
307
+ }, 1032, ["rules", "prop"])) : f("", !0)
308
308
  ]),
309
309
  _: 2
310
310
  }, 1024)
311
311
  ]),
312
312
  _: 2
313
313
  }, 1024),
314
- b(F, { gutter: 20 }, {
314
+ t(V, { gutter: 20 }, {
315
315
  default: d(() => [
316
- b(x, {
316
+ t(x, {
317
317
  xs: 24,
318
318
  sm: 12,
319
319
  md: 12,
@@ -321,14 +321,14 @@ function ql(f, c, w, e, O, P) {
321
321
  xl: 12
322
322
  }, {
323
323
  default: d(() => [
324
- l.field.nameChFamily ? (n(), i(t, {
324
+ l.field.nameChFamily ? (n(), i(b, {
325
325
  key: 0,
326
326
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
327
327
  prop: l.field.nameChFamily,
328
328
  class: "item-name item-name-bottom"
329
329
  }, {
330
330
  default: d(() => [
331
- b(k, {
331
+ t(k, {
332
332
  onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
333
333
  onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
334
334
  onChange: (o) => e.inputChange(o, l.field.nameChFamily),
@@ -346,15 +346,15 @@ function ql(f, c, w, e, O, P) {
346
346
  type: l.type ? l.type : "text",
347
347
  placeholder: l.placeholderNameChFamily,
348
348
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
349
- onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
349
+ onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
350
350
  }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
351
351
  ]),
352
352
  _: 2
353
- }, 1032, ["rules", "prop"])) : p("", !0)
353
+ }, 1032, ["rules", "prop"])) : f("", !0)
354
354
  ]),
355
355
  _: 2
356
356
  }, 1024),
357
- b(x, {
357
+ t(x, {
358
358
  xs: 24,
359
359
  sm: 12,
360
360
  md: 12,
@@ -362,14 +362,14 @@ function ql(f, c, w, e, O, P) {
362
362
  xl: 12
363
363
  }, {
364
364
  default: d(() => [
365
- l.field.nameCh ? (n(), i(t, {
365
+ l.field.nameCh ? (n(), i(b, {
366
366
  key: 0,
367
367
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
368
368
  prop: l.field.nameCh,
369
369
  class: "item-name item-name-bottom"
370
370
  }, {
371
371
  default: d(() => [
372
- b(k, {
372
+ t(k, {
373
373
  onBlur: (o) => e.inputBlur(o, l.field.nameCh),
374
374
  onFocus: (o) => e.inputFocus(o, l.field.nameCh),
375
375
  onChange: (o) => e.inputChange(o, l.field.nameCh),
@@ -384,11 +384,11 @@ function ql(f, c, w, e, O, P) {
384
384
  type: l.type ? l.type : "text",
385
385
  placeholder: l.placeholderNameCh,
386
386
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
387
- onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
387
+ onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
388
388
  }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
389
389
  ]),
390
390
  _: 2
391
- }, 1032, ["rules", "prop"])) : p("", !0)
391
+ }, 1032, ["rules", "prop"])) : f("", !0)
392
392
  ]),
393
393
  _: 2
394
394
  }, 1024)
@@ -397,7 +397,7 @@ function ql(f, c, w, e, O, P) {
397
397
  }, 1024)
398
398
  ]),
399
399
  _: 2
400
- }, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (n(), i(t, {
400
+ }, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (n(), i(b, {
401
401
  key: 2,
402
402
  label: l.label,
403
403
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
@@ -405,16 +405,16 @@ function ql(f, c, w, e, O, P) {
405
405
  class: "radio_row"
406
406
  }, {
407
407
  label: d(() => [
408
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
408
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
409
409
  key: 0,
410
410
  style: g(l.labelStyle)
411
411
  }, [
412
412
  _(u(l.label) + " ", 1),
413
- l.required ? (n(), r("span", Dl, "*")) : p("", !0)
413
+ l.required ? (n(), r("span", Dl, "*")) : f("", !0)
414
414
  ], 4))
415
415
  ]),
416
416
  default: d(() => [
417
- b(U, {
417
+ t(v, {
418
418
  modelValue: e.states.model[l.field],
419
419
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
420
420
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
@@ -423,8 +423,8 @@ function ql(f, c, w, e, O, P) {
423
423
  default: d(() => {
424
424
  var o;
425
425
  return [
426
- (n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(V, {
427
- value: y.code,
426
+ (n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(U, {
427
+ label: y.code,
428
428
  size: "large",
429
429
  key: y.code
430
430
  }, {
@@ -436,14 +436,14 @@ function ql(f, c, w, e, O, P) {
436
436
  }, null, 8, Ml)
437
437
  ]),
438
438
  _: 2
439
- }, 1032, ["value"]))), 128))
439
+ }, 1032, ["label"]))), 128))
440
440
  ];
441
441
  }),
442
442
  _: 2
443
443
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
444
444
  ]),
445
445
  _: 2
446
- }, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (n(), i(t, {
446
+ }, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (n(), i(b, {
447
447
  key: 3,
448
448
  label: l.label,
449
449
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
@@ -451,16 +451,16 @@ function ql(f, c, w, e, O, P) {
451
451
  class: h([l.labelNode ? "radio_Note" : "rule_err"])
452
452
  }, {
453
453
  label: d(() => [
454
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
454
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
455
455
  key: 0,
456
456
  style: g(l.labelStyle)
457
457
  }, [
458
458
  _(u(l.label) + " ", 1),
459
- l.required ? (n(), r("span", kl, "*")) : p("", !0)
459
+ l.required ? (n(), r("span", kl, "*")) : f("", !0)
460
460
  ], 4))
461
461
  ]),
462
462
  default: d(() => [
463
- b(U, {
463
+ t(v, {
464
464
  modelValue: e.states.model[l.field],
465
465
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
466
466
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
@@ -473,9 +473,9 @@ function ql(f, c, w, e, O, P) {
473
473
  default: d(() => {
474
474
  var o;
475
475
  return [
476
- (n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(V, {
476
+ (n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(U, {
477
477
  size: "large",
478
- value: y.code,
478
+ label: y.code,
479
479
  key: y.code,
480
480
  disabled: y.isDisabled
481
481
  }, {
@@ -483,14 +483,14 @@ function ql(f, c, w, e, O, P) {
483
483
  _(u(y.name), 1)
484
484
  ]),
485
485
  _: 2
486
- }, 1032, ["value", "disabled"]))), 128))
486
+ }, 1032, ["label", "disabled"]))), 128))
487
487
  ];
488
488
  }),
489
489
  _: 2
490
490
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
491
491
  ]),
492
492
  _: 2
493
- }, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (n(), i(t, {
493
+ }, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (n(), i(b, {
494
494
  key: 4,
495
495
  label: l.label,
496
496
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
@@ -501,9 +501,9 @@ function ql(f, c, w, e, O, P) {
501
501
  N("div", null, [
502
502
  N("span", Nl, u(l.labelBefore), 1),
503
503
  N("span", Ol, u(l.labelNode), 1),
504
- l.required ? (n(), r("span", Al, "*")) : p("", !0)
504
+ l.required ? (n(), r("span", Al, "*")) : f("", !0)
505
505
  ]),
506
- b(U, {
506
+ t(v, {
507
507
  modelValue: e.states.model[l.field],
508
508
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
509
509
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
@@ -516,39 +516,39 @@ function ql(f, c, w, e, O, P) {
516
516
  default: d(() => {
517
517
  var o;
518
518
  return [
519
- (n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(V, {
519
+ (n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(U, {
520
520
  size: "large",
521
- value: y.code,
521
+ label: y.code,
522
522
  key: y.code
523
523
  }, {
524
524
  default: d(() => [
525
525
  _(u(y.name), 1)
526
526
  ]),
527
527
  _: 2
528
- }, 1032, ["value"]))), 128))
528
+ }, 1032, ["label"]))), 128))
529
529
  ];
530
530
  }),
531
531
  _: 2
532
532
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
533
533
  ]),
534
534
  _: 2
535
- }, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (n(), i(t, {
535
+ }, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (n(), i(b, {
536
536
  key: 5,
537
537
  label: l.label,
538
538
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
539
539
  prop: l.field
540
540
  }, {
541
541
  label: d(() => [
542
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
542
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
543
543
  key: 0,
544
544
  style: g(l.labelStyle)
545
545
  }, [
546
546
  _(u(l.label) + " ", 1),
547
- l.required ? (n(), r("span", Rl, "*")) : p("", !0)
547
+ l.required ? (n(), r("span", Rl, "*")) : f("", !0)
548
548
  ], 4))
549
549
  ]),
550
550
  default: d(() => [
551
- b(S, {
551
+ t(S, {
552
552
  modelValue: e.states.model[l.field],
553
553
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
554
554
  onChange: (o) => e.checkChange(o, l.field),
@@ -560,39 +560,39 @@ function ql(f, c, w, e, O, P) {
560
560
  default: d(() => {
561
561
  var o;
562
562
  return [
563
- (n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(T, {
563
+ (n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(E, {
564
564
  key: y.code,
565
- value: y.code,
565
+ label: y.code,
566
566
  disabled: y.isDisabled
567
567
  }, {
568
568
  default: d(() => [
569
569
  _(u(y.name), 1)
570
570
  ]),
571
571
  _: 2
572
- }, 1032, ["value", "disabled"]))), 128))
572
+ }, 1032, ["label", "disabled"]))), 128))
573
573
  ];
574
574
  }),
575
575
  _: 2
576
576
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
577
577
  ]),
578
578
  _: 2
579
- }, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (n(), i(t, {
579
+ }, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (n(), i(b, {
580
580
  key: 6,
581
581
  label: l.label,
582
582
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
583
583
  prop: l.field
584
584
  }, {
585
585
  label: d(() => [
586
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
586
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
587
587
  key: 0,
588
588
  style: g(l.labelStyle)
589
589
  }, [
590
590
  _(u(l.label) + " ", 1),
591
- l.required ? (n(), r("span", wl, "*")) : p("", !0)
591
+ l.required ? (n(), r("span", wl, "*")) : f("", !0)
592
592
  ], 4))
593
593
  ]),
594
594
  default: d(() => [
595
- b(S, {
595
+ t(S, {
596
596
  modelValue: e.states.model[l.field],
597
597
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
598
598
  onChange: (o) => e.handleCheckedChange(o, l.field),
@@ -604,23 +604,23 @@ function ql(f, c, w, e, O, P) {
604
604
  default: d(() => {
605
605
  var o;
606
606
  return [
607
- (n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(T, {
607
+ (n(!0), r(A, null, R((o = l.options) == null ? void 0 : o.data, (y) => (n(), i(E, {
608
608
  key: y.code,
609
- value: y.code,
609
+ label: y.code,
610
610
  disabled: y.isDisabled
611
611
  }, {
612
612
  default: d(() => [
613
613
  _(u(y.name), 1)
614
614
  ]),
615
615
  _: 2
616
- }, 1032, ["value", "disabled"]))), 128))
616
+ }, 1032, ["label", "disabled"]))), 128))
617
617
  ];
618
618
  }),
619
619
  _: 2
620
620
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
621
621
  ]),
622
622
  _: 2
623
- }, 1032, ["label", "rules", "prop"])) : l.type === "select" && typeof l.field == "string" ? (n(), i(t, {
623
+ }, 1032, ["label", "rules", "prop"])) : l.type === "select" && typeof l.field == "string" ? (n(), i(b, {
624
624
  key: 7,
625
625
  label: l.label,
626
626
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
@@ -628,16 +628,16 @@ function ql(f, c, w, e, O, P) {
628
628
  prop: l.field
629
629
  }, {
630
630
  label: d(() => [
631
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
631
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
632
632
  key: 0,
633
633
  style: g(l.labelStyle)
634
634
  }, [
635
635
  _(u(l.label) + " ", 1),
636
- l.required ? (n(), r("span", xl, "*")) : p("", !0)
636
+ l.required ? (n(), r("span", xl, "*")) : f("", !0)
637
637
  ], 4))
638
638
  ]),
639
639
  default: d(() => [
640
- b(z, {
640
+ t(z, {
641
641
  "popper-class": "selectTriangles",
642
642
  teleported: !1,
643
643
  modelValue: e.states.model[l.field],
@@ -669,7 +669,7 @@ function ql(f, c, w, e, O, P) {
669
669
  }, u(l.tipsBlow), 5)
670
670
  ]),
671
671
  _: 2
672
- }, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (n(), i(t, {
672
+ }, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (n(), i(b, {
673
673
  key: 8,
674
674
  label: l.label,
675
675
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
@@ -677,16 +677,16 @@ function ql(f, c, w, e, O, P) {
677
677
  class: "date_item"
678
678
  }, {
679
679
  label: d(() => [
680
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
680
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
681
681
  key: 0,
682
682
  style: g(l.labelStyle)
683
683
  }, [
684
684
  _(u(l.label) + " ", 1),
685
- l.required ? (n(), r("span", Il, "*")) : p("", !0)
685
+ l.required ? (n(), r("span", Il, "*")) : f("", !0)
686
686
  ], 4))
687
687
  ]),
688
688
  default: d(() => [
689
- b(B, {
689
+ t(B, {
690
690
  size: "large",
691
691
  format: l.format || "DD/MM/YYYY",
692
692
  valueFormat: (l == null ? void 0 : l.valueFormat) || "DD/MM/YYYY",
@@ -695,10 +695,11 @@ function ql(f, c, w, e, O, P) {
695
695
  "disabled-date": l.disabledDate,
696
696
  suffixIcon: l.suffixIcon,
697
697
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
698
+ showToday: l.showToday,
698
699
  renderExtraFooter: l.extraFooter,
699
700
  inputReadOnly: l.readonly,
700
- mode: l.type,
701
- picker: l.type,
701
+ mode: l.mode,
702
+ picker: l.picker,
702
703
  placeholder: l.placeholder || l.label,
703
704
  class: h(
704
705
  (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
@@ -715,37 +716,38 @@ function ql(f, c, w, e, O, P) {
715
716
  o,
716
717
  typeof l.field == "string" ? l.field : ""
717
718
  )
718
- }, null, 8, ["format", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "onChange", "onCalendarChange", "onOk"]),
719
- l.showTo ? (n(), r("span", vl, u(l.showTo), 1)) : p("", !0)
719
+ }, null, 8, ["format", "valueFormat", "value", "onUpdate:value", "disabled-date", "suffixIcon", "disabled", "showToday", "renderExtraFooter", "inputReadOnly", "mode", "picker", "placeholder", "class", "onChange", "onCalendarChange", "onOk"]),
720
+ l.showTo ? (n(), r("span", Fl, u(l.showTo), 1)) : f("", !0)
720
721
  ]),
721
722
  _: 2
722
- }, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (n(), i(t, {
723
+ }, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (n(), i(b, {
723
724
  key: 9,
724
725
  label: l.label,
725
726
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
726
727
  prop: l.field
727
728
  }, {
728
729
  label: d(() => [
729
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
730
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
730
731
  key: 0,
731
732
  style: g(l.labelStyle)
732
733
  }, [
733
734
  _(u(l.label) + " ", 1),
734
- l.required ? (n(), r("span", Fl, "*")) : p("", !0)
735
+ l.required ? (n(), r("span", Vl, "*")) : f("", !0)
735
736
  ], 4))
736
737
  ]),
737
738
  default: d(() => [
738
- b(Y, {
739
+ t(Y, {
739
740
  "popper-class": "selectTriangles",
740
741
  teleported: !1,
741
742
  format: l.format || "DD/MM/YYYY HH:mm:ss",
742
743
  valueFormat: (l == null ? void 0 : l.valueFormat) || "DD/MM/YYYY HH:mm:ss",
743
744
  "disabled-date": l.disabledDate,
745
+ "disabled-time": l == null ? void 0 : l.disabledRangeTime,
744
746
  "show-time": "",
745
747
  value: e.states.model[l.field],
746
748
  "onUpdate:value": (o) => e.states.model[l.field] = o,
747
749
  suffixIcon: l.suffixIcon,
748
- separator: "To",
750
+ separator: l.separator || "To",
749
751
  placeholder: l.placeholder,
750
752
  size: "large",
751
753
  class: h(
@@ -763,10 +765,10 @@ function ql(f, c, w, e, O, P) {
763
765
  o,
764
766
  typeof l.field == "string" ? l.field : ""
765
767
  )
766
- }, null, 8, ["format", "valueFormat", "disabled-date", "value", "onUpdate:value", "suffixIcon", "placeholder", "class", "onChange", "onCalendarChange", "onOk"])
768
+ }, null, 8, ["format", "valueFormat", "disabled-date", "disabled-time", "value", "onUpdate:value", "suffixIcon", "separator", "placeholder", "class", "onChange", "onCalendarChange", "onOk"])
767
769
  ]),
768
770
  _: 2
769
- }, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (n(), i(t, {
771
+ }, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (n(), i(b, {
770
772
  key: 10,
771
773
  label: l.label,
772
774
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
@@ -774,19 +776,19 @@ function ql(f, c, w, e, O, P) {
774
776
  class: "rule_err"
775
777
  }, {
776
778
  label: d(() => [
777
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
779
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
778
780
  key: 0,
779
781
  style: g(l.labelStyle)
780
782
  }, [
781
783
  _(u(l.label) + " ", 1),
782
- l.required ? (n(), r("span", Vl, "*")) : p("", !0)
784
+ l.required ? (n(), r("span", Ul, "*")) : f("", !0)
783
785
  ], 4))
784
786
  ]),
785
787
  default: d(() => [
786
- M(f.$slots, l.slotItemName, {}, void 0, !0)
788
+ M(p.$slots, l.slotItemName, {}, void 0, !0)
787
789
  ]),
788
790
  _: 2
789
- }, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (n(), i(t, {
791
+ }, 1032, ["label", "rules", "prop"])) : l.type === "phone" && typeof l.field != "string" && l.field && "phoneNumber" in l.field && l.rules && l.field.phoneNumber && "phoneNumber" in l.rules ? (n(), i(b, {
790
792
  key: 11,
791
793
  label: l.label,
792
794
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
@@ -794,16 +796,16 @@ function ql(f, c, w, e, O, P) {
794
796
  class: "phone_item"
795
797
  }, {
796
798
  label: d(() => [
797
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
799
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
798
800
  key: 0,
799
801
  style: g(l.labelStyle)
800
802
  }, [
801
803
  _(u(l.label) + " ", 1),
802
- l.required ? (n(), r("span", Ul, "*")) : p("", !0)
804
+ l.required ? (n(), r("span", vl, "*")) : f("", !0)
803
805
  ], 4))
804
806
  ]),
805
807
  default: d(() => {
806
- var o, y, I, E;
808
+ var o, y, I, T;
807
809
  return [
808
810
  N("div", {
809
811
  class: h(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
@@ -834,7 +836,7 @@ function ql(f, c, w, e, O, P) {
834
836
  ];
835
837
  }),
836
838
  _: 2
837
- }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : p("", !0),
839
+ }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : f("", !0),
838
840
  zl,
839
841
  l.field.areaCode ? (n(), i(k, {
840
842
  key: 1,
@@ -863,9 +865,9 @@ function ql(f, c, w, e, O, P) {
863
865
  (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
864
866
  ),
865
867
  clearable: l.clearable
866
- }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : p("", !0),
868
+ }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : f("", !0),
867
869
  Ll
868
- ])) : p("", !0),
870
+ ])) : f("", !0),
869
871
  l.field.nationCode && !e.phoneWrap ? (n(), i(z, {
870
872
  key: 1,
871
873
  "popper-class": "selectTriangles",
@@ -891,8 +893,8 @@ function ql(f, c, w, e, O, P) {
891
893
  ];
892
894
  }),
893
895
  _: 2
894
- }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : p("", !0),
895
- e.phoneWrap ? p("", !0) : (n(), r("div", El, "-")),
896
+ }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : f("", !0),
897
+ e.phoneWrap ? f("", !0) : (n(), r("div", Tl, "-")),
896
898
  l.field.areaCode && !e.phoneWrap ? (n(), i(k, {
897
899
  key: 3,
898
900
  onBlur: (a) => e.inputBlur(
@@ -915,13 +917,13 @@ function ql(f, c, w, e, O, P) {
915
917
  modelValue: e.states.model[l.field.areaCode],
916
918
  "onUpdate:modelValue": (a) => e.states.model[l.field.areaCode] = a,
917
919
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
918
- placeholder: ((E = l.areaOptions) == null ? void 0 : E.placeholder) || "",
920
+ placeholder: ((T = l.areaOptions) == null ? void 0 : T.placeholder) || "",
919
921
  class: h(
920
922
  (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "inputReadonly" : "areaCode_input"
921
923
  ),
922
924
  clearable: l.clearable
923
- }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : p("", !0),
924
- e.phoneWrap ? p("", !0) : (n(), r("div", Tl, "-")),
925
+ }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : f("", !0),
926
+ e.phoneWrap ? f("", !0) : (n(), r("div", El, "-")),
925
927
  l.field.phoneNumber ? (n(), i(k, {
926
928
  key: 5,
927
929
  onBlur: (a) => e.inputBlur(
@@ -949,12 +951,12 @@ function ql(f, c, w, e, O, P) {
949
951
  (l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
950
952
  ),
951
953
  clearable: l.clearable
952
- }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : p("", !0)
954
+ }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : f("", !0)
953
955
  ], 2)
954
956
  ];
955
957
  }),
956
958
  _: 2
957
- }, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (n(), i(t, {
959
+ }, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (n(), i(b, {
958
960
  key: 12,
959
961
  label: l.label
960
962
  }, {
@@ -962,23 +964,23 @@ function ql(f, c, w, e, O, P) {
962
964
  Sl
963
965
  ]),
964
966
  _: 2
965
- }, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (n(), i(t, {
967
+ }, 1032, ["label"])) : l.type === "number" && typeof l.field == "string" ? (n(), i(b, {
966
968
  key: 13,
967
969
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
968
970
  prop: l.field,
969
971
  class: h(l.prepend ? "input-item" : "")
970
972
  }, {
971
973
  label: d(() => [
972
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
974
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
973
975
  key: 0,
974
976
  style: g(l.labelStyle)
975
977
  }, [
976
978
  _(u(l.label) + " ", 1),
977
- l.required ? (n(), r("span", Bl, "*")) : p("", !0)
979
+ l.required ? (n(), r("span", Bl, "*")) : f("", !0)
978
980
  ], 4))
979
981
  ]),
980
982
  default: d(() => [
981
- b(k, {
983
+ t(k, {
982
984
  onBlur: (o) => e.inputBlur(
983
985
  o,
984
986
  typeof l.field == "string" ? l.field : ""
@@ -1010,7 +1012,7 @@ function ql(f, c, w, e, O, P) {
1010
1012
  class: h(
1011
1013
  (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
1012
1014
  ),
1013
- onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
1015
+ onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
1014
1016
  }, J({ _: 2 }, [
1015
1017
  l.prepend ? {
1016
1018
  name: "prepend",
@@ -1029,23 +1031,23 @@ function ql(f, c, w, e, O, P) {
1029
1031
  ]), 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "show-word-limit", "readonly", "type", "rows", "placeholder", "disabled", "showPassword", "clearable", "class", "onKeyup"])
1030
1032
  ]),
1031
1033
  _: 2
1032
- }, 1032, ["rules", "prop", "class"])) : (n(), i(t, {
1034
+ }, 1032, ["rules", "prop", "class"])) : (n(), i(b, {
1033
1035
  key: 14,
1034
1036
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
1035
1037
  prop: l.field,
1036
1038
  class: h(l.prepend ? "input-item" : "")
1037
1039
  }, {
1038
1040
  label: d(() => [
1039
- l.slotLabelName ? M(f.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
1041
+ l.slotLabelName ? M(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
1040
1042
  key: 0,
1041
1043
  style: g(l.labelStyle)
1042
1044
  }, [
1043
1045
  _(u(l.label) + " ", 1),
1044
- l.required ? (n(), r("span", Yl, "*")) : p("", !0)
1046
+ l.required ? (n(), r("span", Yl, "*")) : f("", !0)
1045
1047
  ], 4))
1046
1048
  ]),
1047
1049
  default: d(() => [
1048
- b(k, {
1050
+ t(k, {
1049
1051
  onBlur: (o) => e.inputBlur(
1050
1052
  o,
1051
1053
  typeof l.field == "string" ? l.field : ""
@@ -1076,7 +1078,7 @@ function ql(f, c, w, e, O, P) {
1076
1078
  class: h(
1077
1079
  (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
1078
1080
  ),
1079
- onKeyup: v((o) => e.handleKeyUp(l.enterable), ["enter"])
1081
+ onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
1080
1082
  }, J({ _: 2 }, [
1081
1083
  l.prepend ? {
1082
1084
  name: "prepend",
@@ -1100,14 +1102,14 @@ function ql(f, c, w, e, O, P) {
1100
1102
  ]),
1101
1103
  _: 2
1102
1104
  }, 1032, ["xs", "sm", "md", "lg", "xl"])), [
1103
- [pl, !l.isHide]
1105
+ [fl, !l.isHide]
1104
1106
  ])), 128))
1105
1107
  ]),
1106
1108
  _: 3
1107
1109
  }),
1108
- b(t, { class: "btnsItem" }, {
1110
+ t(b, { class: "btnsItem" }, {
1109
1111
  default: d(() => [
1110
- M(f.$slots, "buttons", {
1112
+ M(p.$slots, "buttons", {
1111
1113
  model: w.model,
1112
1114
  onBtnClick: e.onSubmit
1113
1115
  }, () => [
@@ -1143,7 +1145,7 @@ function ql(f, c, w, e, O, P) {
1143
1145
  _(u(l.name), 1)
1144
1146
  ]),
1145
1147
  _: 2
1146
- }, 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"])) : p("", !0)
1148
+ }, 1032, ["btnCode", "plain", "primary", "info", "text", "debounced", "link", "loading", "loadingColor", "width", "height", "circle", "color", "bgColor", "borderColor", "borderStyle", "borderWidth", "icon", "size", "fontSize", "fontWeight", "style", "class", "onHandleClick"])) : f("", !0)
1147
1149
  ]))), 128))
1148
1150
  ], !0)
1149
1151
  ]),
@@ -1153,9 +1155,9 @@ function ql(f, c, w, e, O, P) {
1153
1155
  _: 3
1154
1156
  }, 16, ["model", "label-position"]);
1155
1157
  }
1156
- const X = /* @__PURE__ */ hl(bl, [["render", ql], ["__scopeId", "data-v-8c0e2e9d"]]);
1157
- function K(f, c = {}) {
1158
- K.installed || (K.installed = !0, f.component("common-el-form", X));
1158
+ const X = /* @__PURE__ */ hl(tl, [["render", ql], ["__scopeId", "data-v-ce3624e9"]]);
1159
+ function K(p, c = {}) {
1160
+ K.installed || (K.installed = !0, p.component("common-el-form", X));
1159
1161
  }
1160
1162
  X.install = K;
1161
1163
  export {
@@ -1 +1 @@
1
- (function(e,g){typeof exports=="object"&&typeof module<"u"?module.exports=g(require("vue")):typeof define=="function"&&define.amd?define(["vue"],g):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=g(e.Vue))})(this,function(e){"use strict";const g="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==",U={props:{fieldList:{type:Array,required:!0,default:()=>({username:"",age:0,email:""})},model:{type:Object,required:!0,default:()=>({username:"",age:0,email:""})},options:Object},setup(r,{emit:t}){const f=e.ref(!0),o=e.reactive({model:{}}),y=e.ref(null),I=e.shallowRef({render(){return e.h("img",{src:g})}}),i=e.computed(()=>Object.assign([],r.options)),p=()=>{o.model=r.model},h=(n,d,c)=>{var z;d?(f.value=!1,e.nextTick(()=>{var F;(F=y.value)==null||F.validate(cl=>{if(cl)t(c||"submit",o.model,n);else return!1})})):(c==="reset"&&((z=y.value)==null||z.resetFields()),t(c||"submit",o.model,n))},k=(n,d)=>{t("selectChange",n,d)},C=(n,d)=>{t("radioChange",n,d)},N=(n,d)=>{t("checkChange",n,d)},B=(n,d)=>{const c=o.model[d].length;if(c===1){t("checkChange",n,d);return}else c>1?(o.model[d].shift(),t("checkChange",n,d)):c<1&&t("checkChange",n,d)},V=(n,d,c)=>{h(n,d,c)},x=(n,d)=>{n&&(d==null?void 0:d.key)==="Enter"&&h(void 0,!0,"submit")},D=(n,d)=>{t("dateChange",n,d)},A=(n,d)=>{t("calendarChange",n,d)},R=(n,d)=>{t("onOk",n,d)},S=(n,d)=>{console.log(y.value),t("inputBlur",n,d)},E=(n,d)=>{t("inputFocus",n,d)},l=(n,d)=>{t("inputChange",n,d)},w=(n,d)=>{t("inputInput",n,d)},a=n=>{var d;(d=y.value)==null||d.resetFields(n)},s=n=>{var d;(d=y.value)==null||d.clearValidate(n)},b=e.ref(!1),_=()=>{window.innerWidth<768?(console.log("屏幕宽度小于768px"),b.value=!0):b.value=!1};return e.onMounted(()=>{var n;p(),(n=y.value)==null||n.resetFields(),window.addEventListener("resize",_)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",_)}),e.watch(()=>r.fieldList,(n,d)=>{n!==d&&p()}),{...e.toRefs(o),formRef:y,states:o,formOptions:i,onSubmit:h,selectChange:k,radioChange:C,checkChange:N,handleCheckedChange:B,prefixIcon:I,handleClick:V,handleKeyUp:x,resetFieldsTest:a,clearValidateTest:s,dateChange:D,calendarChange:A,onOk:R,inputBlur:S,inputFocus:E,inputChange:l,inputInput:w,noFormRule:f,phoneWrap:b}}},pl="",yl="",T=(r,t)=>{const f=r.__vccOpts||r;for(const[o,y]of t)f[o]=y;return f},M=r=>(e.pushScopeId("data-v-8c0e2e9d"),r=r(),e.popScopeId(),r),j={class:"header-title"},L={class:"title-content"},q={key:0,class:"custom-required"},Y={key:0,class:"custom-required"},H=["src"],K={key:0,class:"custom-required"},W={class:"lable"},Q={class:"lable_note"},P={key:0,class:"custom-required"},u={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},G={key:0,class:"custom-required"},J={key:0,class:"custom-required"},X={key:0,class:"date_to"},$={key:0,class:"custom-required"},v={key:0,class:"custom-required"},ll={key:0,class:"custom-required"},el={key:0,class:"phone_item_content_before"},ol=M(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),al=M(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),nl={key:2,class:"line_middle"},dl={key:4,class:"line_middle"},sl=M(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"39px 0"}},null,-1)),rl={key:0,class:"custom-required"},tl={key:0,class:"custom-required"};function il(r,t,f,o,y,I){const i=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input"),h=e.resolveComponent("el-col"),k=e.resolveComponent("el-row"),C=e.resolveComponent("el-radio"),N=e.resolveComponent("el-radio-group"),B=e.resolveComponent("el-checkbox"),V=e.resolveComponent("el-checkbox-group"),x=e.resolveComponent("el-option"),D=e.resolveComponent("el-select"),A=e.resolveComponent("a-date-picker"),R=e.resolveComponent("a-range-picker"),S=e.resolveComponent("sinosoftCommonButton"),E=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(E,e.mergeProps({"hide-required-asterisk":"",onSubmit:t[0]||(t[0]=e.withModifiers(()=>{},["prevent"])),model:f.model},o.formOptions,{"label-position":o.formOptions.labelPosition,ref:"formRef"}),{default:e.withCtx(()=>[e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.fieldList,(l,w)=>e.withDirectives((e.openBlock(),e.createBlock(h,{xs:l.xs?l.xs:24,sm:l.sm?l.sm:24,md:l.md?l.md:8,lg:l.lg?l.lg:8,xl:l.xl?l.xl:8,key:w},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?(e.openBlock(),e.createBlock(i,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",j,[e.createElementVNode("span",L,e.toDisplayString(l.title),1)])]),_:2},1024)):l.type==="name"&&typeof l.field!="string"&&l.field&&"nameEnFamily"in l.field&&l.rules&&"nameEnFamily"in l.rules?(e.openBlock(),e.createBlock(i,{key:1,label:l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,class:"container_name"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[e.createVNode(h,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEnFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEnFamily,prop:l.field.nameEnFamily,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEnFamily),onFocus:a=>o.inputFocus(a,l.field.nameEnFamily),onChange:a=>o.inputChange(a,l.field.nameEnFamily),onInput:a=>o.inputInput(a,l.field.nameEnFamily),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEnFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameEnFamily,modelValue:o.states.model[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEnFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(h,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEn?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEn,prop:l.field.nameEn,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEn),onFocus:a=>o.inputFocus(a,l.field.nameEn),onChange:a=>o.inputChange(a,l.field.nameEn),onInput:a=>o.inputInput(a,l.field.nameEn),maxlength:l.maxlengthNameEn,modelValue:o.states.model[l.field.nameEn],"onUpdate:modelValue":a=>o.states.model[l.field.nameEn]=a,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEn||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEn)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","class","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024),e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[e.createVNode(h,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameChFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameChFamily,prop:l.field.nameChFamily,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameChFamily),onFocus:a=>o.inputFocus(a,l.field.nameChFamily),onChange:a=>o.inputChange(a,l.field.nameChFamily),onInput:a=>o.inputInput(a,"nameChFamily"in l.field?l.field.nameCh:""),maxlength:l.maxlengthNameChFamily,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameChFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),modelValue:o.states.model[l.field.nameChFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameChFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","class","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(h,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameCh?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameCh,prop:l.field.nameCh,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameCh),onFocus:a=>o.inputFocus(a,l.field.nameCh),onChange:a=>o.inputChange(a,l.field.nameCh),onInput:a=>o.inputInput(a,l.field.nameCh),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameCh||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameCh,modelValue:o.states.model[l.field.nameCh],"onUpdate:modelValue":a=>o.states.model[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameCh)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","disabled"])):l.type==="gender"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:2,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"radio_row"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Y,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{value:s.code,size:"large",key:s.code},{default:e.withCtx(()=>[e.createElementVNode("img",{src:s.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,H)]),_:2},1032,["value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])):l.type==="radio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:3,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",K,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",value:s.code,key:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["value","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="radioNote"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:4,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",W,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",Q,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",P,"*")):e.createCommentVNode("",!0)]),e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",value:s.code,key:s.code},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="checkbox"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:5,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",u,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.checkChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(B,{key:s.code,value:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["value","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="checkboxRadio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:6,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Z,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.handleCheckedChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(B,{key:s.code,value:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["value","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="select"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:7,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",G,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(D,{"popper-class":"selectTriangles",teleported:!1,modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.selectChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,placeholder:l.placeholder,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),clearable:l.clearable,"fit-input-width":!0},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(x,{key:s.code,label:s.name,value:s.code},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","placeholder","class","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])):l.type==="date"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:8,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"date_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(A,{size:"large",format:l.format||"DD/MM/YYYY",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,"disabled-date":l.disabledDate,suffixIcon:l.suffixIcon,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,renderExtraFooter:l.extraFooter,inputReadOnly:l.readonly,mode:l.type,picker:l.type,placeholder:l.placeholder||l.label,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),onCalendarChange:a=>o.calendarChange(a,typeof l.field=="string"?l.field:""),onOk:a=>o.onOk(a,typeof l.field=="string"?l.field:"")},null,8,["format","valueFormat","value","onUpdate:value","disabled-date","suffixIcon","disabled","renderExtraFooter","inputReadOnly","mode","picker","placeholder","class","onChange","onCalendarChange","onOk"]),l.showTo?(e.openBlock(),e.createElementBlock("span",X,e.toDisplayString(l.showTo),1)):e.createCommentVNode("",!0)]),_:2},1032,["label","rules","prop"])):l.type==="daterange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:9,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",$,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(R,{"popper-class":"selectTriangles",teleported:!1,format:l.format||"DD/MM/YYYY HH:mm:ss",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY HH:mm:ss","disabled-date":l.disabledDate,"show-time":"",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,suffixIcon:l.suffixIcon,separator:"To",placeholder:l.placeholder,size:"large",class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),onCalendarChange:a=>o.calendarChange(a,typeof l.field=="string"?l.field:""),onOk:a=>o.onOk(a,typeof l.field=="string"?l.field:"")},null,8,["format","valueFormat","disabled-date","value","onUpdate:value","suffixIcon","placeholder","class","onChange","onCalendarChange","onOk"])]),_:2},1032,["label","rules","prop"])):l.type==="slotItem"?(e.openBlock(),e.createBlock(i,{key:10,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"rule_err"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",v,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.renderSlot(r.$slots,l.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])):l.type==="phone"&&typeof l.field!="string"&&l.field&&"phoneNumber"in l.field&&l.rules&&l.field.phoneNumber&&"phoneNumber"in l.rules?(e.openBlock(),e.createBlock(i,{key:11,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.phoneNumber,prop:l.field.phoneNumber,class:"phone_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",ll,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>{var a,s,b,_;return[e.createElementVNode("div",{class:e.normalizeClass(o.phoneWrap?["phone_item_content","phone_item_content_wrap"]:"phone_item_content")},[o.phoneWrap?(e.openBlock(),e.createElementBlock("div",el,[l.field.nationCode?(e.openBlock(),e.createBlock(D,{key:0,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((a=l.nationOptions)==null?void 0:a.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":"areaCode_input"),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,c)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:c},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),ol,l.field.areaCode?(e.openBlock(),e.createBlock(p,{key:1,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((s=l.areaOptions)==null?void 0:s.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),al])):e.createCommentVNode("",!0),l.field.nationCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(D,{key:1,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((b=l.nationOptions)==null?void 0:b.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,c)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:c},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",nl,"-")),l.field.areaCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(p,{key:3,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((_=l.areaOptions)==null?void 0:_.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",dl,"-")),l.field.phoneNumber?(e.openBlock(),e.createBlock(p,{key:5,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.phoneNumber],"onUpdate:modelValue":n=>o.states.model[l.field.phoneNumber]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyPhoneNumber)&&!l.openDisabled,placeholder:l.placeholder||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyPhoneNumber||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0)],2)]}),_:2},1032,["label","rules","prop"])):l.type==="line"?(e.openBlock(),e.createBlock(i,{key:12,label:l.label},{default:e.withCtx(()=>[sl]),_:2},1032,["label"])):l.type==="number"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:13,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",rl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,modelModifiers:{number:!0},"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"number",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"])):(e.openBlock(),e.createBlock(i,{key:14,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",tl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"text",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"]))],4)]),_:2},1032,["xs","sm","md","lg","xl"])),[[e.vShow,!l.isHide]])),128))]),_:3}),e.createVNode(i,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"buttons",{model:f.model,onBtnClick:o.onSubmit},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.formOptions.btnConfig,(l,w)=>(e.openBlock(),e.createElementBlock("div",{key:w},[l.isShow?(e.openBlock(),e.createBlock(S,{key:0,btnCode:l.btnCode,plain:l.plain,primary:l.primary,info:l.info,text:l.text,debounced:l.debounced?l.debounced:!1,link:l.link,loading:l.loading,loadingColor:l.loadingColor,width:l.width,height:l.height,circle:l.circle,color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,borderStyle:l.borderStyle,borderWidth:l.borderWidth,icon:l.icon,size:l.size,fontSize:l.fontSize,fontWeight:l.fontWeight,style:e.normalizeStyle(l.style),class:e.normalizeClass(l.class),onHandleClick:a=>o.handleClick(a,l.isRule,l.emitName)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.name),1)]),_:2},1032,["btnCode","plain","primary","info","text","debounced","link","loading","loadingColor","width","height","circle","color","bgColor","borderColor","borderStyle","borderWidth","icon","size","fontSize","fontWeight","style","class","onHandleClick"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}const m=T(U,[["render",il],["__scopeId","data-v-8c0e2e9d"]]);function O(r,t={}){O.installed||(O.installed=!0,r.component("common-el-form",m))}return m.install=O,m});
1
+ (function(e,g){typeof exports=="object"&&typeof module<"u"?module.exports=g(require("vue")):typeof define=="function"&&define.amd?define(["vue"],g):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=g(e.Vue))})(this,function(e){"use strict";const g="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==",U={props:{fieldList:{type:Array,required:!0,default:()=>({username:"",age:0,email:""})},model:{type:Object,required:!0,default:()=>({username:"",age:0,email:""})},options:Object},setup(r,{emit:t}){const f=e.ref(!0),o=e.reactive({model:{}}),y=e.ref(null),I=e.shallowRef({render(){return e.h("img",{src:g})}}),i=e.computed(()=>Object.assign([],r.options)),p=()=>{o.model=r.model},b=(n,d,c)=>{var z;d?(f.value=!1,e.nextTick(()=>{var F;(F=y.value)==null||F.validate(cl=>{if(cl)t(c||"submit",o.model,n);else return!1})})):(c==="reset"&&((z=y.value)==null||z.resetFields()),t(c||"submit",o.model,n))},k=(n,d)=>{t("selectChange",n,d)},C=(n,d)=>{t("radioChange",n,d)},N=(n,d)=>{t("checkChange",n,d)},B=(n,d)=>{const c=o.model[d].length;if(c===1){t("checkChange",n,d);return}else c>1?(o.model[d].shift(),t("checkChange",n,d)):c<1&&t("checkChange",n,d)},V=(n,d,c)=>{b(n,d,c)},x=(n,d)=>{n&&(d==null?void 0:d.key)==="Enter"&&b(void 0,!0,"submit")},w=(n,d)=>{t("dateChange",n,d)},A=(n,d)=>{t("calendarChange",n,d)},R=(n,d)=>{t("onOk",n,d)},S=(n,d)=>{console.log(y.value),t("inputBlur",n,d)},E=(n,d)=>{t("inputFocus",n,d)},l=(n,d)=>{t("inputChange",n,d)},D=(n,d)=>{t("inputInput",n,d)},a=n=>{var d;(d=y.value)==null||d.resetFields(n)},s=n=>{var d;(d=y.value)==null||d.clearValidate(n)},h=e.ref(!1),_=()=>{window.innerWidth<768?(console.log("屏幕宽度小于768px"),h.value=!0):h.value=!1};return e.onMounted(()=>{var n;p(),(n=y.value)==null||n.resetFields(),window.addEventListener("resize",_)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",_)}),e.watch(()=>r.fieldList,(n,d)=>{n!==d&&p()}),{...e.toRefs(o),formRef:y,states:o,formOptions:i,onSubmit:b,selectChange:k,radioChange:C,checkChange:N,handleCheckedChange:B,prefixIcon:I,handleClick:V,handleKeyUp:x,resetFieldsTest:a,clearValidateTest:s,dateChange:w,calendarChange:A,onOk:R,inputBlur:S,inputFocus:E,inputChange:l,inputInput:D,noFormRule:f,phoneWrap:h}}},pl="",yl="",T=(r,t)=>{const f=r.__vccOpts||r;for(const[o,y]of t)f[o]=y;return f},M=r=>(e.pushScopeId("data-v-ce3624e9"),r=r(),e.popScopeId(),r),j={class:"header-title"},L={class:"title-content"},q={key:0,class:"custom-required"},Y={key:0,class:"custom-required"},H=["src"],K={key:0,class:"custom-required"},W={class:"lable"},Q={class:"lable_note"},P={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},G={key:0,class:"custom-required"},J={key:0,class:"custom-required"},u={key:0,class:"custom-required"},X={key:0,class:"date_to"},$={key:0,class:"custom-required"},v={key:0,class:"custom-required"},ll={key:0,class:"custom-required"},el={key:0,class:"phone_item_content_before"},ol=M(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),al=M(()=>e.createElementVNode("div",{class:"line_middle"},"-",-1)),nl={key:2,class:"line_middle"},dl={key:4,class:"line_middle"},sl=M(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"39px 0"}},null,-1)),rl={key:0,class:"custom-required"},tl={key:0,class:"custom-required"};function il(r,t,f,o,y,I){const i=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input"),b=e.resolveComponent("el-col"),k=e.resolveComponent("el-row"),C=e.resolveComponent("el-radio"),N=e.resolveComponent("el-radio-group"),B=e.resolveComponent("el-checkbox"),V=e.resolveComponent("el-checkbox-group"),x=e.resolveComponent("el-option"),w=e.resolveComponent("el-select"),A=e.resolveComponent("a-date-picker"),R=e.resolveComponent("a-range-picker"),S=e.resolveComponent("sinosoftCommonButton"),E=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(E,e.mergeProps({"hide-required-asterisk":"",onSubmit:t[0]||(t[0]=e.withModifiers(()=>{},["prevent"])),model:f.model},o.formOptions,{"label-position":o.formOptions.labelPosition,ref:"formRef"}),{default:e.withCtx(()=>[e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.fieldList,(l,D)=>e.withDirectives((e.openBlock(),e.createBlock(b,{xs:l.xs?l.xs:24,sm:l.sm?l.sm:24,md:l.md?l.md:8,lg:l.lg?l.lg:8,xl:l.xl?l.xl:8,key:D},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?(e.openBlock(),e.createBlock(i,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",j,[e.createElementVNode("span",L,e.toDisplayString(l.title),1)])]),_:2},1024)):l.type==="name"&&typeof l.field!="string"&&l.field&&"nameEnFamily"in l.field&&l.rules&&"nameEnFamily"in l.rules?(e.openBlock(),e.createBlock(i,{key:1,label:l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,class:"container_name"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",q,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEnFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEnFamily,prop:l.field.nameEnFamily,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEnFamily),onFocus:a=>o.inputFocus(a,l.field.nameEnFamily),onChange:a=>o.inputChange(a,l.field.nameEnFamily),onInput:a=>o.inputInput(a,l.field.nameEnFamily),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEnFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameEnFamily,modelValue:o.states.model[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEnFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameEn?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameEn,prop:l.field.nameEn,class:"item-name item-name-top"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameEn),onFocus:a=>o.inputFocus(a,l.field.nameEn),onChange:a=>o.inputChange(a,l.field.nameEn),onInput:a=>o.inputInput(a,l.field.nameEn),maxlength:l.maxlengthNameEn,modelValue:o.states.model[l.field.nameEn],"onUpdate:modelValue":a=>o.states.model[l.field.nameEn]=a,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameEn||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameEn)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","class","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024),e.createVNode(k,{gutter:20},{default:e.withCtx(()=>[e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameChFamily?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameChFamily,prop:l.field.nameChFamily,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameChFamily),onFocus:a=>o.inputFocus(a,l.field.nameChFamily),onChange:a=>o.inputChange(a,l.field.nameChFamily),onInput:a=>o.inputInput(a,"nameChFamily"in l.field?l.field.nameCh:""),maxlength:l.maxlengthNameChFamily,class:e.normalizeClass((l.isReadonly||l.isReadonlyNameChFamily||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),modelValue:o.states.model[l.field.nameChFamily],"onUpdate:modelValue":a=>o.states.model[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameChFamily)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","maxlength","class","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024),e.createVNode(b,{xs:24,sm:12,md:12,lg:12,xl:12},{default:e.withCtx(()=>[l.field.nameCh?(e.openBlock(),e.createBlock(i,{key:0,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.nameCh,prop:l.field.nameCh,class:"item-name item-name-bottom"},{default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,l.field.nameCh),onFocus:a=>o.inputFocus(a,l.field.nameCh),onChange:a=>o.inputChange(a,l.field.nameCh),onInput:a=>o.inputInput(a,l.field.nameCh),class:e.normalizeClass((l.isReadonly||l.isReadonlyNameCh||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),maxlength:l.maxlengthNameCh,modelValue:o.states.model[l.field.nameCh],"onUpdate:modelValue":a=>o.states.model[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNameCh)&&!l.openDisabled,onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},null,8,["onBlur","onFocus","onChange","onInput","class","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["label","disabled"])):l.type==="gender"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:2,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"radio_row"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Y,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{label:s.code,size:"large",key:s.code},{default:e.withCtx(()=>[e.createElementVNode("img",{src:s.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,H)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])):l.type==="radio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:3,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",K,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",label:s.code,key:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="radioNote"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:4,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",W,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",Q,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",P,"*")):e.createCommentVNode("",!0)]),e.createVNode(N,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,onChange:a=>o.radioChange(a,l.field),style:e.normalizeStyle(l.ways==="column"?"display: flex; align-items: flex-start;flex-flow: column nowrap; ":"display: flex; align-items: flex-start;flex-flow: row nowrap; "),class:e.normalizeClass(l.ways!=="column"?"radio_row":"")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(C,{size:"large",label:s.code,key:s.code},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style","class"])]),_:2},1032,["label","rules","prop","class"])):l.type==="checkbox"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:5,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",Z,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.checkChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(B,{key:s.code,label:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="checkboxRadio"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:6,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",G,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.handleCheckedChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(B,{key:s.code,label:s.code,disabled:s.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.name),1)]),_:2},1032,["label","disabled"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])):l.type==="select"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:7,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(w,{"popper-class":"selectTriangles",teleported:!1,modelValue:o.states.model[l.field],"onUpdate:modelValue":a=>o.states.model[l.field]=a,onChange:a=>o.selectChange(a,l.field),disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,placeholder:l.placeholder,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),clearable:l.clearable,"fit-input-width":!0},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,s=>(e.openBlock(),e.createBlock(x,{key:s.code,label:s.name,value:s.code},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","placeholder","class","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])):l.type==="date"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:8,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"date_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",u,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(A,{size:"large",format:l.format||"DD/MM/YYYY",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,"disabled-date":l.disabledDate,suffixIcon:l.suffixIcon,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showToday:l.showToday,renderExtraFooter:l.extraFooter,inputReadOnly:l.readonly,mode:l.mode,picker:l.picker,placeholder:l.placeholder||l.label,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),onCalendarChange:a=>o.calendarChange(a,typeof l.field=="string"?l.field:""),onOk:a=>o.onOk(a,typeof l.field=="string"?l.field:"")},null,8,["format","valueFormat","value","onUpdate:value","disabled-date","suffixIcon","disabled","showToday","renderExtraFooter","inputReadOnly","mode","picker","placeholder","class","onChange","onCalendarChange","onOk"]),l.showTo?(e.openBlock(),e.createElementBlock("span",X,e.toDisplayString(l.showTo),1)):e.createCommentVNode("",!0)]),_:2},1032,["label","rules","prop"])):l.type==="daterange"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:9,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",$,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(R,{"popper-class":"selectTriangles",teleported:!1,format:l.format||"DD/MM/YYYY HH:mm:ss",valueFormat:(l==null?void 0:l.valueFormat)||"DD/MM/YYYY HH:mm:ss","disabled-date":l.disabledDate,"disabled-time":l==null?void 0:l.disabledRangeTime,"show-time":"",value:o.states.model[l.field],"onUpdate:value":a=>o.states.model[l.field]=a,suffixIcon:l.suffixIcon,separator:l.separator||"To",placeholder:l.placeholder,size:"large",class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onChange:a=>o.dateChange(a,typeof l.field=="string"?l.field:""),onCalendarChange:a=>o.calendarChange(a,typeof l.field=="string"?l.field:""),onOk:a=>o.onOk(a,typeof l.field=="string"?l.field:"")},null,8,["format","valueFormat","disabled-date","disabled-time","value","onUpdate:value","suffixIcon","separator","placeholder","class","onChange","onCalendarChange","onOk"])]),_:2},1032,["label","rules","prop"])):l.type==="slotItem"?(e.openBlock(),e.createBlock(i,{key:10,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:"rule_err"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",v,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.renderSlot(r.$slots,l.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])):l.type==="phone"&&typeof l.field!="string"&&l.field&&"phoneNumber"in l.field&&l.rules&&l.field.phoneNumber&&"phoneNumber"in l.rules?(e.openBlock(),e.createBlock(i,{key:11,label:l.label,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules.phoneNumber,prop:l.field.phoneNumber,class:"phone_item"},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",ll,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>{var a,s,h,_;return[e.createElementVNode("div",{class:e.normalizeClass(o.phoneWrap?["phone_item_content","phone_item_content_wrap"]:"phone_item_content")},[o.phoneWrap?(e.openBlock(),e.createElementBlock("div",el,[l.field.nationCode?(e.openBlock(),e.createBlock(w,{key:0,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((a=l.nationOptions)==null?void 0:a.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":"areaCode_input"),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,c)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:c},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),ol,l.field.areaCode?(e.openBlock(),e.createBlock(p,{key:1,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((s=l.areaOptions)==null?void 0:s.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),al])):e.createCommentVNode("",!0),l.field.nationCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(w,{key:1,"popper-class":"selectTriangles",teleported:!1,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyNation)&&!l.openDisabled,modelValue:o.states.model[l.field.nationCode],"onUpdate:modelValue":n=>o.states.model[l.field.nationCode]=n,placeholder:((h=l.nationOptions)==null?void 0:h.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyNation||o.formOptions.isAllReadonly)&&!l.openDisabled?"selectreadonly":""),style:e.normalizeStyle("width:"+l.widthNation),"fit-input-width":!0},{default:e.withCtx(()=>{var n;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((n=l.nationOptions)==null?void 0:n.data,(d,c)=>(e.openBlock(),e.createBlock(x,{label:d.name,value:d.code,key:c},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder","class","style"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",nl,"-")),l.field.areaCode&&!o.phoneWrap?(e.openBlock(),e.createBlock(p,{key:3,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.areaCode],"onUpdate:modelValue":n=>o.states.model[l.field.areaCode]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyArea)&&!l.openDisabled,placeholder:((_=l.areaOptions)==null?void 0:_.placeholder)||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyArea||o.formOptions.isAllReadonly)&&!l.openDisabled?"inputReadonly":"areaCode_input"),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0),o.phoneWrap?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",dl,"-")),l.field.phoneNumber?(e.openBlock(),e.createBlock(p,{key:5,onBlur:n=>o.inputBlur(n,typeof l.field=="string"?l.field:""),onFocus:n=>o.inputFocus(n,typeof l.field=="string"?l.field:""),onChange:n=>o.inputChange(n,typeof l.field=="string"?l.field:""),onInput:n=>o.inputInput(n,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[l.field.phoneNumber],"onUpdate:modelValue":n=>o.states.model[l.field.phoneNumber]=n,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly||l.isReadonlyPhoneNumber)&&!l.openDisabled,placeholder:l.placeholder||"",class:e.normalizeClass((l.isReadonly||l.isReadonlyPhoneNumber||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),clearable:l.clearable},null,8,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","class","clearable"])):e.createCommentVNode("",!0)],2)]}),_:2},1032,["label","rules","prop"])):l.type==="line"?(e.openBlock(),e.createBlock(i,{key:12,label:l.label},{default:e.withCtx(()=>[sl]),_:2},1032,["label"])):l.type==="number"&&typeof l.field=="string"?(e.openBlock(),e.createBlock(i,{key:13,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",rl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,modelModifiers:{number:!0},"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"number",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"])):(e.openBlock(),e.createBlock(i,{key:14,rules:l.isHide||o.noFormRule||l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly?[]:l.rules,prop:l.field,class:e.normalizeClass(l.prepend?"input-item":"")},{label:e.withCtx(()=>[l.slotLabelName?e.renderSlot(r.$slots,l.slotLabelName,{key:1},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(l.labelStyle)},[e.createTextVNode(e.toDisplayString(l.label)+" ",1),l.required?(e.openBlock(),e.createElementBlock("span",tl,"*")):e.createCommentVNode("",!0)],4))]),default:e.withCtx(()=>[e.createVNode(p,{onBlur:a=>o.inputBlur(a,typeof l.field=="string"?l.field:""),onFocus:a=>o.inputFocus(a,typeof l.field=="string"?l.field:""),onChange:a=>o.inputChange(a,typeof l.field=="string"?l.field:""),onInput:a=>o.inputInput(a,typeof l.field=="string"?l.field:""),maxlength:l.maxlength,modelValue:o.states.model[typeof l.field=="string"?l.field:""],"onUpdate:modelValue":a=>o.states.model[typeof l.field=="string"?l.field:""]=a,"show-word-limit":l.showWordLimit,readonly:l.readonly,type:l.type?l.type:"text",rows:l.rows,placeholder:l.placeholder||l.label,disabled:(l.disabled||o.formOptions.isAllDisabled||o.formOptions.isAllReadonly||l.isReadonly)&&!l.openDisabled,showPassword:l.showPassword,clearable:l.clearable,class:e.normalizeClass((l.isReadonly||o.formOptions.isAllReadonly)&&!l.openDisabled?"readonly":""),onKeyup:e.withKeys(a=>o.handleKeyUp(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.prepend),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["onBlur","onFocus","onChange","onInput","maxlength","modelValue","onUpdate:modelValue","show-word-limit","readonly","type","rows","placeholder","disabled","showPassword","clearable","class","onKeyup"])]),_:2},1032,["rules","prop","class"]))],4)]),_:2},1032,["xs","sm","md","lg","xl"])),[[e.vShow,!l.isHide]])),128))]),_:3}),e.createVNode(i,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"buttons",{model:f.model,onBtnClick:o.onSubmit},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.formOptions.btnConfig,(l,D)=>(e.openBlock(),e.createElementBlock("div",{key:D},[l.isShow?(e.openBlock(),e.createBlock(S,{key:0,btnCode:l.btnCode,plain:l.plain,primary:l.primary,info:l.info,text:l.text,debounced:l.debounced?l.debounced:!1,link:l.link,loading:l.loading,loadingColor:l.loadingColor,width:l.width,height:l.height,circle:l.circle,color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,borderStyle:l.borderStyle,borderWidth:l.borderWidth,icon:l.icon,size:l.size,fontSize:l.fontSize,fontWeight:l.fontWeight,style:e.normalizeStyle(l.style),class:e.normalizeClass(l.class),onHandleClick:a=>o.handleClick(a,l.isRule,l.emitName)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.name),1)]),_:2},1032,["btnCode","plain","primary","info","text","debounced","link","loading","loadingColor","width","height","circle","color","bgColor","borderColor","borderStyle","borderWidth","icon","size","fontSize","fontWeight","style","class","onHandleClick"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}const m=T(U,[["render",il],["__scopeId","data-v-ce3624e9"]]);function O(r,t={}){O.installed||(O.installed=!0,r.component("common-el-form",m))}return m.install=O,m});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinosoft-common-form",
3
- "version": "1.6.6",
3
+ "version": "1.6.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-8c0e2e9d] .el-date-editor{height:60px!important;width:100%!important}[data-v-8c0e2e9d] .el-form-item{margin-bottom:12px}[data-v-8c0e2e9d] .el-input__inner{height:42px;color:#1d1d1d}[data-v-8c0e2e9d] .el-card__body{padding:0}[data-v-8c0e2e9d] .el-form-item__label{height:auto!important;margin-bottom:4px!important}.form-item-title[data-v-8c0e2e9d]{width:100%}[data-v-8c0e2e9d] .el-checkbox-group .el-checkbox{display:flex;height:64px}.rule_err[data-v-8c0e2e9d] .el-form-item__content,.radio_Note[data-v-8c0e2e9d] .el-form-item__content{display:block}.radio_Note .lable[data-v-8c0e2e9d]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular}.radio_Note .lable_note[data-v-8c0e2e9d]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Regular}.container_name[data-v-8c0e2e9d]{margin-bottom:0}.container_name[data-v-8c0e2e9d] .el-form-item__content{width:calc(100% + 20px)}.container_name .el-row[data-v-8c0e2e9d],.container_name .el-row[data-v-8c0e2e9d] .el-form-item__content{width:100%}.container_name[data-v-8c0e2e9d] .el-form-item__content{align-items:start}.container_name[data-v-8c0e2e9d] .el-form-item{margin-bottom:0}.container_name .item-name[data-v-8c0e2e9d]{width:100%;box-sizing:border-box}.container_name .item-name-top[data-v-8c0e2e9d]{margin-bottom:12px;padding-right:0}.container_name .item-name-bottom[data-v-8c0e2e9d]{margin-bottom:12px}.container_name[data-v-8c0e2e9d] .is-error{margin-bottom:38px}.container_name[data-v-8c0e2e9d] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}.btnsItem[data-v-8c0e2e9d]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-8c0e2e9d] .el-form-item__content{justify-content:right}label[data-v-8c0e2e9d]{display:block}.title-content[data-v-8c0e2e9d]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto light}[data-v-8c0e2e9d] .el-input__wrapper{height:60px;border-radius:8px;padding:1px 16px}.date_item[data-v-8c0e2e9d] .el-form-item__content .date_to{font-size:14px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular;position:absolute;right:-17.5px;top:18px}.date_item[data-v-8c0e2e9d] .el-form-item__error{padding-top:8px!important}.phone_item[data-v-8c0e2e9d] .el-form-item__content{display:flex}.phone_item[data-v-8c0e2e9d] .el-form-item__content .el-select{width:180.03px}.phone_item[data-v-8c0e2e9d] .el-form-item__content .line_middle{margin:0 4px}.phone_item[data-v-8c0e2e9d] .el-input__suffix-inner{width:14px;padding-right:3px}.phone_item .phone_item_content[data-v-8c0e2e9d]{display:flex;flex-wrap:nowrap;align-items:center;width:100%}.phone_item .phone_item_content .phone_item_content_before[data-v-8c0e2e9d]{display:flex;flex-wrap:nowrap;align-items:center;width:100%;margin-bottom:12px}.phone_item .phone_item_content[data-v-8c0e2e9d] .readonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-8c0e2e9d] .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-8c0e2e9d] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-8c0e2e9d] .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-8c0e2e9d] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-8c0e2e9d] .inputReadonly{width:180.03px}.phone_item .phone_item_content[data-v-8c0e2e9d] .inputReadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-8c0e2e9d] .inputReadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-8c0e2e9d] .inputReadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content .areaCode_input[data-v-8c0e2e9d]{width:180.03px}.phone_item .phone_item_content .areaCode_input .el-input__wrapper[data-v-8c0e2e9d]{box-shadow:none!important;border:1px solid #c7c8ca!important}.phone_item .phone_item_content_wrap[data-v-8c0e2e9d]{flex-wrap:wrap}.input-item[data-v-8c0e2e9d] .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-8c0e2e9d] .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-8c0e2e9d] .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-8c0e2e9d] .is-error .areaCode_select .el-input__wrapper{box-shadow:none!important;border:1px solid #c7c8ca!important}[data-v-8c0e2e9d] .el-select{width:100%}[data-v-8c0e2e9d] .el-select .el-icon{height:15px}[data-v-8c0e2e9d] .el-select .el-icon svg{display:none}[data-v-8c0e2e9d] .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-8c0e2e9d]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-8c0e2e9d]{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-8c0e2e9d] .readonly .el-input-group__prepend,[data-v-8c0e2e9d] .readonly .el-input-group__append{background-color:#f3f3f3!important}[data-v-8c0e2e9d] .readonly .el-input__wrapper,[data-v-8c0e2e9d] .readonly .el-textarea{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-8c0e2e9d] .readonly .el-input__wrapper .el-input__inner,[data-v-8c0e2e9d] .readonly .el-input__wrapper .el-textarea__inner,[data-v-8c0e2e9d] .readonly .el-textarea .el-input__inner,[data-v-8c0e2e9d] .readonly .el-textarea .el-textarea__inner,[data-v-8c0e2e9d] .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-8c0e2e9d] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-8c0e2e9d] .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-8c0e2e9d] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}[data-v-8c0e2e9d] .el-input.is-disabled .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #d9d9d9 inset}[data-v-8c0e2e9d] .el-input__wrapper{border:1px solid #c7c8ca;box-shadow:none!important}[data-v-8c0e2e9d] .is-error{margin-bottom:38px}[data-v-8c0e2e9d] .is-error .el-input__wrapper{border:1px solid #fd3d38;box-shadow:none!important}[data-v-8c0e2e9d] .is-error .el-input-group__prepend{border:1px solid #fd3d38!important;border-right:0px!important}[data-v-8c0e2e9d] .is-error .el-input-group__append{border:1px solid #fd3d38!important;border-left:0px!important}[data-v-8c0e2e9d] .el-select__wrapper{height:60px}[data-v-8c0e2e9d] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}[data-v-8c0e2e9d] .el-textarea__inner{border:1px solid #c7c8ca;box-shadow:none}.radio_row .el-radio.el-radio--large[data-v-8c0e2e9d]{height:64px;line-height:64px}[data-v-8c0e2e9d] .ant-picker{width:100%;height:60px}[data-v-8c0e2e9d] ::-webkit-outer-spin-button,[data-v-8c0e2e9d] ::-webkit-inner-spin-button{-webkit-appearance:none}[data-v-8c0e2e9d] input[type=number]{-moz-appearance:textfield}.selectTriangles .el-popper__arrow:before{display:none!important}.el-popper.is-light{border:none!important}.selectTriangles .el-select-dropdown__list{margin:0!important;border-radius:2px;border:none!important}.selectTriangles .el-select-dropdown__item{min-height:40px!important;line-height:40px;height:auto;white-space:initial}
1
+ @charset "UTF-8";[data-v-ce3624e9] .el-date-editor{height:60px!important;width:100%!important}[data-v-ce3624e9] .el-form-item{margin-bottom:12px}[data-v-ce3624e9] .el-input__inner{height:42px;color:#1d1d1d}[data-v-ce3624e9] .el-card__body{padding:0}[data-v-ce3624e9] .el-form-item__label{height:auto!important;margin-bottom:4px!important}.form-item-title[data-v-ce3624e9]{width:100%}[data-v-ce3624e9] .el-checkbox-group .el-checkbox{display:flex;height:64px}.rule_err[data-v-ce3624e9] .el-form-item__content,.radio_Note[data-v-ce3624e9] .el-form-item__content{display:block}.radio_Note .lable[data-v-ce3624e9]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular}.radio_Note .lable_note[data-v-ce3624e9]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Regular}.container_name[data-v-ce3624e9]{margin-bottom:0}.container_name[data-v-ce3624e9] .el-form-item__content{width:calc(100% + 20px)}.container_name .el-row[data-v-ce3624e9],.container_name .el-row[data-v-ce3624e9] .el-form-item__content{width:100%}.container_name[data-v-ce3624e9] .el-form-item__content{align-items:start}.container_name[data-v-ce3624e9] .el-form-item{margin-bottom:0}.container_name .item-name[data-v-ce3624e9]{width:100%;box-sizing:border-box}.container_name .item-name-top[data-v-ce3624e9]{margin-bottom:12px;padding-right:0}.container_name .item-name-bottom[data-v-ce3624e9]{margin-bottom:12px}.container_name[data-v-ce3624e9] .is-error{margin-bottom:38px}.container_name[data-v-ce3624e9] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}.btnsItem[data-v-ce3624e9]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-ce3624e9] .el-form-item__content{justify-content:right}label[data-v-ce3624e9]{display:block}.title-content[data-v-ce3624e9]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto light}[data-v-ce3624e9] .el-input__wrapper{height:60px;border-radius:8px;padding:1px 16px}.date_item[data-v-ce3624e9] .el-form-item__content .date_to{font-size:14px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Regular;position:absolute;right:-17.5px;top:18px}.date_item[data-v-ce3624e9] .el-form-item__error{padding-top:8px!important}.phone_item[data-v-ce3624e9] .el-form-item__content{display:flex}.phone_item[data-v-ce3624e9] .el-form-item__content .el-select{width:180.03px}.phone_item[data-v-ce3624e9] .el-form-item__content .line_middle{margin:0 4px}.phone_item[data-v-ce3624e9] .el-input__suffix-inner{width:14px;padding-right:3px}.phone_item .phone_item_content[data-v-ce3624e9]{display:flex;flex-wrap:nowrap;align-items:center;width:100%}.phone_item .phone_item_content .phone_item_content_before[data-v-ce3624e9]{display:flex;flex-wrap:nowrap;align-items:center;width:100%;margin-bottom:12px}.phone_item .phone_item_content[data-v-ce3624e9] .readonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-ce3624e9] .readonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-ce3624e9] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-ce3624e9] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-ce3624e9] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-ce3624e9] .inputReadonly{width:180.03px}.phone_item .phone_item_content[data-v-ce3624e9] .inputReadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}.phone_item .phone_item_content[data-v-ce3624e9] .inputReadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content[data-v-ce3624e9] .inputReadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}.phone_item .phone_item_content .areaCode_input[data-v-ce3624e9]{width:180.03px}.phone_item .phone_item_content .areaCode_input .el-input__wrapper[data-v-ce3624e9]{box-shadow:none!important;border:1px solid #c7c8ca!important}.phone_item .phone_item_content_wrap[data-v-ce3624e9]{flex-wrap:wrap}.input-item[data-v-ce3624e9] .el-input-group__prepend{border:1px solid #c7c8ca!important;border-top-left-radius:8px;border-bottom-left-radius:8px;border-right:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 0 0 16px;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}.input-item[data-v-ce3624e9] .el-input__wrapper{border-left:0px!important;border-right:0px!important;box-shadow:none!important;border-radius:0!important;padding-left:8px;padding-right:8px;border-top:1px solid #c7c8ca;border-bottom:1px solid #c7c8ca}.input-item[data-v-ce3624e9] .el-input-group__append{border:1px solid #c7c8ca!important;border-top-right-radius:8px;border-bottom-right-radius:8px;border-left:0px!important;box-shadow:none!important;background-color:unset!important;padding:0 16px 0 0;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular}[data-v-ce3624e9] .is-error .areaCode_select .el-input__wrapper{box-shadow:none!important;border:1px solid #c7c8ca!important}[data-v-ce3624e9] .el-select{width:100%}[data-v-ce3624e9] .el-select .el-icon{height:15px}[data-v-ce3624e9] .el-select .el-icon svg{display:none}[data-v-ce3624e9] .el-select .el-icon:before{content:"";background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjA3MTYgNC4wMDAwMUgxMS4wNjcxQzEwLjk5ODggNC4wMDAwMSAxMC45MzQ1IDQuMDMzNDkgMTAuODk0NCA0LjA4ODRMNy4wODk0NSA5LjMzMzA0TDMuMjg0NTQgNC4wODg0QzMuMjQ0MzYgNC4wMzM0OSAzLjE4MDA3IDQuMDAwMDEgMy4xMTE3NyA0LjAwMDAxSDIuMTA3M0MyLjAyMDI1IDQuMDAwMDEgMS45NjkzNiA0LjA5OTExIDIuMDIwMjUgNC4xNzAxTDYuNzQyNTcgMTAuNjgwNEM2LjkxNCAxMC45MTYxIDcuMjY0ODkgMTAuOTE2MSA3LjQzNDk4IDEwLjY4MDRMMTIuMTU3MyA0LjE3MDFDMTIuMjA5NSA0LjA5OTExIDEyLjE1ODYgNC4wMDAwMSAxMi4wNzE2IDQuMDAwMDFWNC4wMDAwMVoiIGZpbGw9IiNDN0M4Q0EiLz4KPC9zdmc+Cg==) center center no-repeat;position:absolute;width:15px;height:15px}.ant-picker[data-v-ce3624e9] .ant-picker-suffix{position:absolute;left:2px}.ant-picker-range[data-v-ce3624e9] .ant-picker-suffix{position:absolute;left:12px}[data-v-ce3624e9] .ant-picker-input input{margin-left:30px}[data-v-ce3624e9] .ant-picker .ant-picker-suffix .anticon svg{color:#000!important}.custom-required[data-v-ce3624e9]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-ce3624e9]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Regular;width:100%;word-wrap:break-word;white-space:normal}[data-v-ce3624e9] .readonly .el-input-group__prepend,[data-v-ce3624e9] .readonly .el-input-group__append{background-color:#f3f3f3!important}[data-v-ce3624e9] .readonly .el-input__wrapper,[data-v-ce3624e9] .readonly .el-textarea{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-ce3624e9] .readonly .el-input__wrapper .el-input__inner,[data-v-ce3624e9] .readonly .el-input__wrapper .el-textarea__inner,[data-v-ce3624e9] .readonly .el-textarea .el-input__inner,[data-v-ce3624e9] .readonly .el-textarea .el-textarea__inner,[data-v-ce3624e9] .readonly .el-textarea__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-ce3624e9] .selectreadonly .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #c7c8ca inset}[data-v-ce3624e9] .selectreadonly .el-input__wrapper .el-input__inner{background-color:#f3f3f3!important;font-size:14px;line-height:22px;color:#0b0b0b;font-weight:400;font-family:Roboto Regular;-webkit-text-fill-color:#0b0b0b!important}[data-v-ce3624e9] .selectreadonly :deep(.el-input.is-disabled .el-input__inner){-webkit-text-fill-color:#0b0b0b!important}[data-v-ce3624e9] .el-input.is-disabled .el-input__wrapper{background-color:#f3f3f3!important;box-shadow:0 0 0 1px #d9d9d9 inset}[data-v-ce3624e9] .el-input__wrapper{border:1px solid #c7c8ca;box-shadow:none!important}[data-v-ce3624e9] .is-error{margin-bottom:38px}[data-v-ce3624e9] .is-error .el-input__wrapper{border:1px solid #fd3d38;box-shadow:none!important}[data-v-ce3624e9] .is-error .el-input-group__prepend{border:1px solid #fd3d38!important;border-right:0px!important}[data-v-ce3624e9] .is-error .el-input-group__append{border:1px solid #fd3d38!important;border-left:0px!important}[data-v-ce3624e9] .el-select__wrapper{height:60px}[data-v-ce3624e9] .el-form-item__error{padding-top:4px!important;font-size:14px;line-height:22px;color:#fd3d38;font-weight:400;font-family:Roboto Regular}[data-v-ce3624e9] .el-textarea__inner{border:1px solid #c7c8ca;box-shadow:none}.radio_row .el-radio.el-radio--large[data-v-ce3624e9]{height:64px;line-height:64px}[data-v-ce3624e9] .ant-picker{width:100%;height:60px}[data-v-ce3624e9] ::-webkit-outer-spin-button,[data-v-ce3624e9] ::-webkit-inner-spin-button{-webkit-appearance:none}[data-v-ce3624e9] input[type=number]{-moz-appearance:textfield}.selectTriangles .el-popper__arrow:before{display:none!important}.el-popper.is-light{border:none!important}.selectTriangles .el-select-dropdown__list{margin:0!important;border-radius:2px;border:none!important}.selectTriangles .el-select-dropdown__item{min-height:40px!important;line-height:40px;height:auto;white-space:initial}