sinosoft-common-form 1.5.1 → 1.5.3

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 K, reactive as P, shallowRef as Z, h as G, computed as J, onMounted as X, watch as $, toRefs as ll, nextTick as el, resolveComponent as M, openBlock as a, createBlock as i, mergeProps as ol, withModifiers as al, withCtx as s, createVNode as g, createElementBlock as r, Fragment as A, renderList as k, withDirectives as nl, createElementVNode as C, normalizeStyle as t, toDisplayString as p, createTextVNode as b, createCommentVNode as u, renderSlot as D, normalizeClass as _, withKeys as F, createSlots as dl, vShow as sl, pushScopeId as rl, popScopeId as il } from "vue";
2
- const yl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==", pl = {
1
+ import { ref as q, reactive as G, shallowRef as J, h as X, computed as $, onMounted as ll, onBeforeUnmount as el, watch as ol, toRefs as al, nextTick as nl, resolveComponent as M, openBlock as a, createBlock as i, mergeProps as dl, withModifiers as sl, withCtx as d, createVNode as h, createElementBlock as r, Fragment as N, renderList as A, withDirectives as rl, createElementVNode as O, normalizeStyle as u, toDisplayString as t, createTextVNode as D, createCommentVNode as c, renderSlot as C, normalizeClass as _, withKeys as L, createSlots as il, vShow as yl, pushScopeId as pl, popScopeId as cl } from "vue";
2
+ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==", fl = {
3
3
  props: {
4
4
  fieldList: {
5
5
  type: Array,
@@ -21,331 +21,410 @@ const yl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
21
21
  },
22
22
  options: Object
23
23
  },
24
- setup(y, { emit: f }) {
25
- const O = K(!0), e = P({
24
+ setup(p, { emit: g }) {
25
+ const w = q(!0), e = G({
26
26
  model: {}
27
- }), N = K(null), m = Z({
27
+ }), k = q(null), K = J({
28
28
  render() {
29
- return G("img", {
30
- src: yl
29
+ return X("img", {
30
+ src: tl
31
31
  });
32
32
  }
33
- }), c = J(() => Object.assign([], y.options)), x = () => {
34
- e.model = y.model;
35
- }, w = (n, d, h) => {
33
+ }), b = $(() => Object.assign([], p.options)), x = () => {
34
+ e.model = p.model;
35
+ }, I = (s, n, f) => {
36
36
  var R;
37
- d ? (O.value = !1, el(() => {
38
- var H;
39
- (H = N.value) == null || H.validate((Q) => {
40
- if (Q)
41
- f(h || "submit", e.model, n);
37
+ n ? (w.value = !1, nl(() => {
38
+ var Q;
39
+ (Q = k.value) == null || Q.validate((Z) => {
40
+ if (Z)
41
+ g(f || "submit", e.model, s);
42
42
  else
43
43
  return !1;
44
44
  });
45
- })) : (h === "reset" && ((R = N.value) == null || R.resetFields()), f(h || "submit", e.model, n));
46
- }, I = (n, d) => {
47
- f("selectChange", n, d);
48
- }, z = (n, d) => {
49
- f("radioChange", n, d);
50
- }, v = (n, d) => {
51
- f("checkChange", n, d);
52
- }, V = (n, d) => {
53
- const h = e.model[d].length;
54
- if (h === 1) {
55
- f("checkChange", n, d);
45
+ })) : (f === "reset" && ((R = k.value) == null || R.resetFields()), g(f || "submit", e.model, s));
46
+ }, j = (s, n) => {
47
+ g("selectChange", s, n);
48
+ }, v = (s, n) => {
49
+ g("radioChange", s, n);
50
+ }, F = (s, n) => {
51
+ g("checkChange", s, n);
52
+ }, E = (s, n) => {
53
+ const f = e.model[n].length;
54
+ if (f === 1) {
55
+ g("checkChange", s, n);
56
56
  return;
57
57
  } else
58
- h > 1 ? (e.model[d].shift(), f("checkChange", n, d)) : h < 1 && f("checkChange", n, d);
59
- }, U = (n, d, h) => {
60
- w(n, d, h);
61
- }, T = (n, d) => {
62
- n && (d == null ? void 0 : d.key) === "Enter" && w(void 0, !0, "submit");
63
- }, L = (n, d) => {
64
- f("dateChange", n, d);
65
- }, E = (n, d) => {
66
- console.log(N.value), f("inputBlur", n, d);
67
- }, S = (n, d) => {
68
- f("inputFocus", n, d);
69
- }, B = (n, d) => {
70
- f("inputChange", n, d);
71
- }, l = (n, d) => {
72
- f("inputInput", n, d);
73
- }, j = (n) => {
74
- var d;
75
- (d = N.value) == null || d.resetFields(n);
76
- }, o = (n) => {
77
- var d;
78
- (d = N.value) == null || d.clearValidate(n);
79
- };
80
- return X(() => {
58
+ f > 1 ? (e.model[n].shift(), g("checkChange", s, n)) : f < 1 && g("checkChange", s, n);
59
+ }, S = (s, n, f) => {
60
+ I(s, n, f);
61
+ }, V = (s, n) => {
62
+ s && (n == null ? void 0 : n.key) === "Enter" && I(void 0, !0, "submit");
63
+ }, U = (s, n) => {
64
+ g("dateChange", s, n);
65
+ }, m = (s, n) => {
66
+ console.log(k.value), g("inputBlur", s, n);
67
+ }, B = (s, n) => {
68
+ g("inputFocus", s, n);
69
+ }, Y = (s, n) => {
70
+ g("inputChange", s, n);
71
+ }, l = (s, n) => {
72
+ g("inputInput", s, n);
73
+ }, z = (s) => {
74
+ var n;
75
+ (n = k.value) == null || n.resetFields(s);
76
+ }, o = (s) => {
81
77
  var n;
82
- x(), (n = N.value) == null || n.resetFields();
83
- }), $(
84
- () => y.fieldList,
85
- (n, d) => {
86
- n !== d && x();
78
+ (n = k.value) == null || n.clearValidate(s);
79
+ }, y = q(!1), T = () => {
80
+ window.innerWidth < 768 ? (console.log("屏幕宽度小于768px"), y.value = !0) : y.value = !1;
81
+ };
82
+ return ll(() => {
83
+ var s;
84
+ x(), (s = k.value) == null || s.resetFields(), window.addEventListener("resize", T);
85
+ }), el(() => {
86
+ window.removeEventListener("resize", T);
87
+ }), ol(
88
+ () => p.fieldList,
89
+ (s, n) => {
90
+ s !== n && x();
87
91
  }
88
92
  ), {
89
- ...ll(e),
90
- formRef: N,
93
+ ...al(e),
94
+ formRef: k,
91
95
  states: e,
92
- formOptions: c,
93
- onSubmit: w,
94
- selectChange: I,
95
- radioChange: z,
96
- checkChange: v,
97
- handleCheckedChange: V,
98
- prefixIcon: m,
99
- handleClick: U,
100
- handleKeyUp: T,
101
- resetFieldsTest: j,
96
+ formOptions: b,
97
+ onSubmit: I,
98
+ selectChange: j,
99
+ radioChange: v,
100
+ checkChange: F,
101
+ handleCheckedChange: E,
102
+ prefixIcon: K,
103
+ handleClick: S,
104
+ handleKeyUp: V,
105
+ resetFieldsTest: z,
102
106
  clearValidateTest: o,
103
- dateChange: L,
104
- inputBlur: E,
105
- inputFocus: S,
106
- inputChange: B,
107
+ dateChange: U,
108
+ inputBlur: m,
109
+ inputFocus: B,
110
+ inputChange: Y,
107
111
  inputInput: l,
108
- noFormRule: O
112
+ noFormRule: w,
113
+ phoneWrap: y
109
114
  // spaceRule,
110
115
  };
111
116
  }
112
117
  };
113
- const cl = (y, f) => {
114
- const O = y.__vccOpts || y;
115
- for (const [e, N] of f)
116
- O[e] = N;
117
- return O;
118
- }, q = (y) => (rl("data-v-33a0cf2d"), y = y(), il(), y), ul = { class: "header-title" }, fl = { class: "title-content" }, tl = {
118
+ const ul = (p, g) => {
119
+ const w = p.__vccOpts || p;
120
+ for (const [e, k] of g)
121
+ w[e] = k;
122
+ return w;
123
+ }, H = (p) => (pl("data-v-6d71b8fc"), p = p(), cl(), p), bl = { class: "header-title" }, hl = { class: "title-content" }, gl = {
119
124
  key: 0,
120
125
  class: "custom-required"
121
- }, bl = {
126
+ }, _l = {
122
127
  key: 0,
123
128
  class: "custom-required"
124
- }, hl = ["src"], gl = {
129
+ }, Dl = ["src"], Ml = {
125
130
  key: 0,
126
131
  class: "custom-required"
127
- }, _l = { class: "lable" }, Ml = { class: "lable_note" }, Dl = {
132
+ }, Cl = { class: "lable" }, Nl = { class: "lable_note" }, Al = {
128
133
  key: 0,
129
134
  class: "custom-required"
130
- }, Cl = {
135
+ }, Ol = {
131
136
  key: 0,
132
137
  class: "custom-required"
133
- }, Nl = {
138
+ }, kl = {
134
139
  key: 0,
135
140
  class: "custom-required"
136
- }, Al = {
141
+ }, Rl = {
137
142
  key: 0,
138
143
  class: "custom-required"
139
- }, kl = {
144
+ }, wl = {
140
145
  key: 0,
141
146
  class: "custom-required"
142
- }, Ol = {
147
+ }, xl = {
143
148
  key: 0,
144
149
  class: "date_to"
145
- }, xl = {
150
+ }, Il = {
146
151
  key: 0,
147
152
  class: "custom-required"
148
- }, wl = {
153
+ }, Vl = {
149
154
  key: 0,
150
155
  class: "custom-required"
151
- }, Rl = {
156
+ }, Ul = {
152
157
  key: 0,
153
158
  class: "custom-required"
154
- }, Il = { class: "phone_item_content" }, Vl = /* @__PURE__ */ q(() => /* @__PURE__ */ C("div", { class: "line_middle" }, " - ", -1)), Ul = /* @__PURE__ */ q(() => /* @__PURE__ */ C("div", { class: "line_middle" }, " - ", -1)), jl = /* @__PURE__ */ q(() => /* @__PURE__ */ C("div", {
159
+ }, jl = {
160
+ key: 0,
161
+ class: "phone_item_content_before"
162
+ }, vl = /* @__PURE__ */ H(() => /* @__PURE__ */ O("div", { class: "line_middle" }, "-", -1)), Fl = /* @__PURE__ */ H(() => /* @__PURE__ */ O("div", { class: "line_middle" }, "-", -1)), zl = {
163
+ key: 2,
164
+ class: "line_middle"
165
+ }, Tl = {
166
+ key: 4,
167
+ class: "line_middle"
168
+ }, Ll = /* @__PURE__ */ H(() => /* @__PURE__ */ O("div", {
155
169
  class: "line",
156
170
  style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "39px 0" }
157
- }, null, -1)), Fl = {
171
+ }, null, -1)), El = {
158
172
  key: 0,
159
173
  class: "custom-required"
160
174
  };
161
- function zl(y, f, O, e, N, m) {
162
- const c = M("el-form-item"), x = M("el-input"), w = M("el-radio"), I = M("el-radio-group"), z = M("el-checkbox"), v = M("el-checkbox-group"), V = M("el-option"), U = M("el-select"), T = M("el-date-picker"), L = M("el-col"), E = M("el-row"), S = M("sinosoft-common-button"), B = M("el-form");
163
- return a(), i(B, ol({
175
+ function Sl(p, g, w, e, k, K) {
176
+ const b = M("el-form-item"), x = M("el-input"), I = M("el-col"), j = M("el-row"), v = M("el-radio"), F = M("el-radio-group"), E = M("el-checkbox"), S = M("el-checkbox-group"), V = M("el-option"), U = M("el-select"), m = M("el-date-picker"), B = M("sinosoft-common-button"), Y = M("el-form");
177
+ return a(), i(Y, dl({
164
178
  "hide-required-asterisk": "",
165
- onSubmit: f[0] || (f[0] = al(() => {
179
+ onSubmit: g[0] || (g[0] = sl(() => {
166
180
  }, ["prevent"])),
167
- model: O.model
181
+ model: w.model
168
182
  }, e.formOptions, {
169
183
  "label-position": e.formOptions.labelPosition,
170
184
  ref: "formRef"
171
185
  }), {
172
- default: s(() => [
173
- g(E, { gutter: 20 }, {
174
- default: s(() => [
175
- (a(!0), r(A, null, k(O.fieldList, (l, j) => nl((a(), i(L, {
186
+ default: d(() => [
187
+ h(j, { gutter: 20 }, {
188
+ default: d(() => [
189
+ (a(!0), r(N, null, A(w.fieldList, (l, z) => rl((a(), i(I, {
176
190
  xs: l.xs ? l.xs : 24,
177
191
  sm: l.sm ? l.sm : 24,
178
192
  md: l.md ? l.md : 8,
179
193
  lg: l.lg ? l.lg : 8,
180
194
  xl: l.xl ? l.xl : 8,
181
- key: j
195
+ key: z
182
196
  }, {
183
- default: s(() => [
184
- C("div", {
185
- style: t(l.style)
197
+ default: d(() => [
198
+ O("div", {
199
+ style: u(l.style)
186
200
  }, [
187
- l.type === "title" ? (a(), i(c, { key: 0 }, {
188
- default: s(() => [
189
- C("div", ul, [
190
- C("span", fl, p(l.title), 1)
201
+ l.type === "title" ? (a(), i(b, { key: 0 }, {
202
+ default: d(() => [
203
+ O("div", bl, [
204
+ O("span", hl, t(l.title), 1)
191
205
  ])
192
206
  ]),
193
207
  _: 2
194
- }, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), i(c, {
208
+ }, 1024)) : l.type === "name" && typeof l.field != "string" && l.field && "nameEnFamily" in l.field && l.rules && "nameEnFamily" in l.rules ? (a(), i(b, {
195
209
  key: 1,
196
210
  label: l.label,
197
211
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
198
212
  class: "container_name"
199
213
  }, {
200
- label: s(() => [
201
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
214
+ label: d(() => [
215
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
202
216
  key: 0,
203
- style: t(l.labelStyle)
217
+ style: u(l.labelStyle)
204
218
  }, [
205
- b(p(l.label) + " ", 1),
206
- l.required ? (a(), r("span", tl, "*")) : u("", !0)
219
+ D(t(l.label) + " ", 1),
220
+ l.required ? (a(), r("span", gl, "*")) : c("", !0)
207
221
  ], 4))
208
222
  ]),
209
- default: s(() => [
210
- l.field.nameEnFamily ? (a(), i(c, {
211
- key: 0,
212
- rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
213
- prop: l.field.nameEnFamily,
214
- class: "item-name"
215
- }, {
216
- default: s(() => [
217
- g(x, {
218
- onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
219
- onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
220
- onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
221
- onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
222
- class: _((l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
223
- maxlength: l.maxlengthNameEnFamily,
224
- modelValue: e.states.model[l.field.nameEnFamily],
225
- "onUpdate:modelValue": (o) => e.states.model[l.field.nameEnFamily] = o,
226
- readonly: l.readonly,
227
- type: l.type ? l.type : "text",
228
- placeholder: l.placeholderNameEnFamily,
229
- disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
230
- onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
231
- }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
232
- ]),
233
- _: 2
234
- }, 1032, ["rules", "prop"])) : u("", !0),
235
- l.field.nameEn ? (a(), i(c, {
236
- key: 1,
237
- rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
238
- prop: l.field.nameEn,
239
- class: "item-name-right"
240
- }, {
241
- default: s(() => [
242
- g(x, {
243
- onBlur: (o) => e.inputBlur(o, l.field.nameEn),
244
- onFocus: (o) => e.inputFocus(o, l.field.nameEn),
245
- onChange: (o) => e.inputChange(o, l.field.nameEn),
246
- onInput: (o) => e.inputInput(o, l.field.nameEn),
247
- maxlength: l.maxlengthNameEn,
248
- modelValue: e.states.model[l.field.nameEn],
249
- "onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
250
- class: _((l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
251
- readonly: l.readonly,
252
- type: l.type ? l.type : "text",
253
- placeholder: l.placeholderNameEn,
254
- disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
255
- onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
256
- }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
257
- ]),
258
- _: 2
259
- }, 1032, ["rules", "prop"])) : u("", !0),
260
- l.field.nameChFamily ? (a(), i(c, {
261
- key: 2,
262
- rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
263
- prop: l.field.nameChFamily,
264
- class: "item-name item-name-bottom"
265
- }, {
266
- default: s(() => [
267
- g(x, {
268
- onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
269
- onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
270
- onChange: (o) => e.inputChange(o, l.field.nameChFamily),
271
- onInput: (o) => e.inputInput(o, "nameChFamily" in l.field ? l.field.nameCh : ""),
272
- maxlength: l.maxlengthNameChFamily,
273
- class: _((l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
274
- modelValue: e.states.model[l.field.nameChFamily],
275
- "onUpdate:modelValue": (o) => e.states.model[l.field.nameChFamily] = o,
276
- readonly: l.readonly,
277
- type: l.type ? l.type : "text",
278
- placeholder: l.placeholderNameChFamily,
279
- disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
280
- onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
281
- }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
223
+ default: d(() => [
224
+ h(j, { gutter: 20 }, {
225
+ default: d(() => [
226
+ h(I, {
227
+ xs: 24,
228
+ sm: 12,
229
+ md: 12,
230
+ lg: 12,
231
+ xl: 12
232
+ }, {
233
+ default: d(() => [
234
+ l.field.nameEnFamily ? (a(), i(b, {
235
+ key: 0,
236
+ rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEnFamily,
237
+ prop: l.field.nameEnFamily,
238
+ class: "item-name item-name-top"
239
+ }, {
240
+ default: d(() => [
241
+ h(x, {
242
+ onBlur: (o) => e.inputBlur(o, l.field.nameEnFamily),
243
+ onFocus: (o) => e.inputFocus(o, l.field.nameEnFamily),
244
+ onChange: (o) => e.inputChange(o, l.field.nameEnFamily),
245
+ onInput: (o) => e.inputInput(o, l.field.nameEnFamily),
246
+ class: _(
247
+ (l.isReadonly || l.isReadonlyNameEnFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
248
+ ),
249
+ maxlength: l.maxlengthNameEnFamily,
250
+ modelValue: e.states.model[l.field.nameEnFamily],
251
+ "onUpdate:modelValue": (o) => e.states.model[l.field.nameEnFamily] = o,
252
+ readonly: l.readonly,
253
+ type: l.type ? l.type : "text",
254
+ placeholder: l.placeholderNameEnFamily,
255
+ disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEnFamily) && !l.openDisabled,
256
+ onKeyup: L((o) => e.handleKeyUp(l.enterable), ["enter"])
257
+ }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
258
+ ]),
259
+ _: 2
260
+ }, 1032, ["rules", "prop"])) : c("", !0)
261
+ ]),
262
+ _: 2
263
+ }, 1024),
264
+ h(I, {
265
+ xs: 24,
266
+ sm: 12,
267
+ md: 12,
268
+ lg: 12,
269
+ xl: 12
270
+ }, {
271
+ default: d(() => [
272
+ l.field.nameEn ? (a(), i(b, {
273
+ key: 0,
274
+ rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameEn,
275
+ prop: l.field.nameEn,
276
+ class: "item-name item-name-top"
277
+ }, {
278
+ default: d(() => [
279
+ h(x, {
280
+ onBlur: (o) => e.inputBlur(o, l.field.nameEn),
281
+ onFocus: (o) => e.inputFocus(o, l.field.nameEn),
282
+ onChange: (o) => e.inputChange(o, l.field.nameEn),
283
+ onInput: (o) => e.inputInput(o, l.field.nameEn),
284
+ maxlength: l.maxlengthNameEn,
285
+ modelValue: e.states.model[l.field.nameEn],
286
+ "onUpdate:modelValue": (o) => e.states.model[l.field.nameEn] = o,
287
+ class: _(
288
+ (l.isReadonly || l.isReadonlyNameEn || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
289
+ ),
290
+ readonly: l.readonly,
291
+ type: l.type ? l.type : "text",
292
+ placeholder: l.placeholderNameEn,
293
+ disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameEn) && !l.openDisabled,
294
+ onKeyup: L((o) => e.handleKeyUp(l.enterable), ["enter"])
295
+ }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "class", "readonly", "type", "placeholder", "disabled", "onKeyup"])
296
+ ]),
297
+ _: 2
298
+ }, 1032, ["rules", "prop"])) : c("", !0)
299
+ ]),
300
+ _: 2
301
+ }, 1024)
282
302
  ]),
283
303
  _: 2
284
- }, 1032, ["rules", "prop"])) : u("", !0),
285
- l.field.nameCh ? (a(), i(c, {
286
- key: 3,
287
- rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
288
- prop: l.field.nameCh,
289
- class: "item-name-right item-name-bottom"
290
- }, {
291
- default: s(() => [
292
- g(x, {
293
- onBlur: (o) => e.inputBlur(o, l.field.nameCh),
294
- onFocus: (o) => e.inputFocus(o, l.field.nameCh),
295
- onChange: (o) => e.inputChange(o, l.field.nameCh),
296
- onInput: (o) => e.inputInput(o, l.field.nameCh),
297
- class: _((l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
298
- maxlength: l.maxlengthNameCh,
299
- modelValue: e.states.model[l.field.nameCh],
300
- "onUpdate:modelValue": (o) => e.states.model[l.field.nameCh] = o,
301
- readonly: l.readonly,
302
- type: l.type ? l.type : "text",
303
- placeholder: l.placeholderNameCh,
304
- disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
305
- onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
306
- }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
304
+ }, 1024),
305
+ h(j, { gutter: 20 }, {
306
+ default: d(() => [
307
+ h(I, {
308
+ xs: 24,
309
+ sm: 12,
310
+ md: 12,
311
+ lg: 12,
312
+ xl: 12
313
+ }, {
314
+ default: d(() => [
315
+ l.field.nameChFamily ? (a(), i(b, {
316
+ key: 0,
317
+ rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameChFamily,
318
+ prop: l.field.nameChFamily,
319
+ class: "item-name item-name-bottom"
320
+ }, {
321
+ default: d(() => [
322
+ h(x, {
323
+ onBlur: (o) => e.inputBlur(o, l.field.nameChFamily),
324
+ onFocus: (o) => e.inputFocus(o, l.field.nameChFamily),
325
+ onChange: (o) => e.inputChange(o, l.field.nameChFamily),
326
+ onInput: (o) => e.inputInput(
327
+ o,
328
+ "nameChFamily" in l.field ? l.field.nameCh : ""
329
+ ),
330
+ maxlength: l.maxlengthNameChFamily,
331
+ class: _(
332
+ (l.isReadonly || l.isReadonlyNameChFamily || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
333
+ ),
334
+ modelValue: e.states.model[l.field.nameChFamily],
335
+ "onUpdate:modelValue": (o) => e.states.model[l.field.nameChFamily] = o,
336
+ readonly: l.readonly,
337
+ type: l.type ? l.type : "text",
338
+ placeholder: l.placeholderNameChFamily,
339
+ disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameChFamily) && !l.openDisabled,
340
+ onKeyup: L((o) => e.handleKeyUp(l.enterable), ["enter"])
341
+ }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "class", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
342
+ ]),
343
+ _: 2
344
+ }, 1032, ["rules", "prop"])) : c("", !0)
345
+ ]),
346
+ _: 2
347
+ }, 1024),
348
+ h(I, {
349
+ xs: 24,
350
+ sm: 12,
351
+ md: 12,
352
+ lg: 12,
353
+ xl: 12
354
+ }, {
355
+ default: d(() => [
356
+ l.field.nameCh ? (a(), i(b, {
357
+ key: 0,
358
+ rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.nameCh,
359
+ prop: l.field.nameCh,
360
+ class: "item-name item-name-bottom"
361
+ }, {
362
+ default: d(() => [
363
+ h(x, {
364
+ onBlur: (o) => e.inputBlur(o, l.field.nameCh),
365
+ onFocus: (o) => e.inputFocus(o, l.field.nameCh),
366
+ onChange: (o) => e.inputChange(o, l.field.nameCh),
367
+ onInput: (o) => e.inputInput(o, l.field.nameCh),
368
+ class: _(
369
+ (l.isReadonly || l.isReadonlyNameCh || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
370
+ ),
371
+ maxlength: l.maxlengthNameCh,
372
+ modelValue: e.states.model[l.field.nameCh],
373
+ "onUpdate:modelValue": (o) => e.states.model[l.field.nameCh] = o,
374
+ readonly: l.readonly,
375
+ type: l.type ? l.type : "text",
376
+ placeholder: l.placeholderNameCh,
377
+ disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNameCh) && !l.openDisabled,
378
+ onKeyup: L((o) => e.handleKeyUp(l.enterable), ["enter"])
379
+ }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "class", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
380
+ ]),
381
+ _: 2
382
+ }, 1032, ["rules", "prop"])) : c("", !0)
383
+ ]),
384
+ _: 2
385
+ }, 1024)
307
386
  ]),
308
387
  _: 2
309
- }, 1032, ["rules", "prop"])) : u("", !0)
388
+ }, 1024)
310
389
  ]),
311
390
  _: 2
312
- }, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), i(c, {
391
+ }, 1032, ["label", "disabled"])) : l.type === "gender" && typeof l.field == "string" ? (a(), i(b, {
313
392
  key: 2,
314
393
  label: l.label,
315
394
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
316
395
  prop: l.field,
317
396
  class: "radio_row"
318
397
  }, {
319
- label: s(() => [
320
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
398
+ label: d(() => [
399
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
321
400
  key: 0,
322
- style: t(l.labelStyle)
401
+ style: u(l.labelStyle)
323
402
  }, [
324
- b(p(l.label) + " ", 1),
325
- l.required ? (a(), r("span", bl, "*")) : u("", !0)
403
+ D(t(l.label) + " ", 1),
404
+ l.required ? (a(), r("span", _l, "*")) : c("", !0)
326
405
  ], 4))
327
406
  ]),
328
- default: s(() => [
329
- g(I, {
407
+ default: d(() => [
408
+ h(F, {
330
409
  modelValue: e.states.model[l.field],
331
410
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
332
411
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
333
412
  onChange: (o) => e.radioChange(o, l.field)
334
413
  }, {
335
- default: s(() => {
414
+ default: d(() => {
336
415
  var o;
337
416
  return [
338
- (a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(w, {
339
- label: n.code,
417
+ (a(!0), r(N, null, A((o = l.options) == null ? void 0 : o.data, (y) => (a(), i(v, {
418
+ label: y.code,
340
419
  size: "large",
341
- key: n.code
420
+ key: y.code
342
421
  }, {
343
- default: s(() => [
344
- C("img", {
345
- src: n.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
422
+ default: d(() => [
423
+ O("img", {
424
+ src: y.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
346
425
  style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
347
426
  alt: ""
348
- }, null, 8, hl)
427
+ }, null, 8, Dl)
349
428
  ]),
350
429
  _: 2
351
430
  }, 1032, ["label"]))), 128))
@@ -355,43 +434,43 @@ function zl(y, f, O, e, N, m) {
355
434
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
356
435
  ]),
357
436
  _: 2
358
- }, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), i(c, {
437
+ }, 1032, ["label", "rules", "prop"])) : l.type === "radio" && typeof l.field == "string" ? (a(), i(b, {
359
438
  key: 3,
360
439
  label: l.label,
361
440
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
362
441
  prop: l.field,
363
442
  class: _([l.labelNode ? "radio_Note" : "rule_err"])
364
443
  }, {
365
- label: s(() => [
366
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
444
+ label: d(() => [
445
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
367
446
  key: 0,
368
- style: t(l.labelStyle)
447
+ style: u(l.labelStyle)
369
448
  }, [
370
- b(p(l.label) + " ", 1),
371
- l.required ? (a(), r("span", gl, "*")) : u("", !0)
449
+ D(t(l.label) + " ", 1),
450
+ l.required ? (a(), r("span", Ml, "*")) : c("", !0)
372
451
  ], 4))
373
452
  ]),
374
- default: s(() => [
375
- g(I, {
453
+ default: d(() => [
454
+ h(F, {
376
455
  modelValue: e.states.model[l.field],
377
456
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
378
457
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
379
458
  onChange: (o) => e.radioChange(o, l.field),
380
- style: t(
459
+ style: u(
381
460
  l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
382
461
  ),
383
462
  class: _(l.ways !== "column" ? "radio_row" : "")
384
463
  }, {
385
- default: s(() => {
464
+ default: d(() => {
386
465
  var o;
387
466
  return [
388
- (a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(w, {
467
+ (a(!0), r(N, null, A((o = l.options) == null ? void 0 : o.data, (y) => (a(), i(v, {
389
468
  size: "large",
390
- label: n.code,
391
- key: n.code
469
+ label: y.code,
470
+ key: y.code
392
471
  }, {
393
- default: s(() => [
394
- b(p(n.name), 1)
472
+ default: d(() => [
473
+ D(t(y.name), 1)
395
474
  ]),
396
475
  _: 2
397
476
  }, 1032, ["label"]))), 128))
@@ -401,39 +480,39 @@ function zl(y, f, O, e, N, m) {
401
480
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
402
481
  ]),
403
482
  _: 2
404
- }, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), i(c, {
483
+ }, 1032, ["label", "rules", "prop", "class"])) : l.type === "radioNote" && typeof l.field == "string" ? (a(), i(b, {
405
484
  key: 4,
406
485
  label: l.label,
407
486
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
408
487
  prop: l.field,
409
488
  class: _([l.labelNode ? "radio_Note" : "rule_err"])
410
489
  }, {
411
- default: s(() => [
412
- C("div", null, [
413
- C("span", _l, p(l.labelBefore), 1),
414
- C("span", Ml, p(l.labelNode), 1),
415
- l.required ? (a(), r("span", Dl, "*")) : u("", !0)
490
+ default: d(() => [
491
+ O("div", null, [
492
+ O("span", Cl, t(l.labelBefore), 1),
493
+ O("span", Nl, t(l.labelNode), 1),
494
+ l.required ? (a(), r("span", Al, "*")) : c("", !0)
416
495
  ]),
417
- g(I, {
496
+ h(F, {
418
497
  modelValue: e.states.model[l.field],
419
498
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
420
499
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
421
500
  onChange: (o) => e.radioChange(o, l.field),
422
- style: t(
501
+ style: u(
423
502
  l.ways === "column" ? "display: flex; align-items: flex-start;flex-flow: column nowrap; " : "display: flex; align-items: flex-start;flex-flow: row nowrap; "
424
503
  ),
425
504
  class: _(l.ways !== "column" ? "radio_row" : "")
426
505
  }, {
427
- default: s(() => {
506
+ default: d(() => {
428
507
  var o;
429
508
  return [
430
- (a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(w, {
509
+ (a(!0), r(N, null, A((o = l.options) == null ? void 0 : o.data, (y) => (a(), i(v, {
431
510
  size: "large",
432
- label: n.code,
433
- key: n.code
511
+ label: y.code,
512
+ key: y.code
434
513
  }, {
435
- default: s(() => [
436
- b(p(n.name), 1)
514
+ default: d(() => [
515
+ D(t(y.name), 1)
437
516
  ]),
438
517
  _: 2
439
518
  }, 1032, ["label"]))), 128))
@@ -443,40 +522,40 @@ function zl(y, f, O, e, N, m) {
443
522
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "style", "class"])
444
523
  ]),
445
524
  _: 2
446
- }, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), i(c, {
525
+ }, 1032, ["label", "rules", "prop", "class"])) : l.type === "checkbox" && typeof l.field == "string" ? (a(), i(b, {
447
526
  key: 5,
448
527
  label: l.label,
449
528
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
450
529
  prop: l.field
451
530
  }, {
452
- label: s(() => [
453
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
531
+ label: d(() => [
532
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
454
533
  key: 0,
455
- style: t(l.labelStyle)
534
+ style: u(l.labelStyle)
456
535
  }, [
457
- b(p(l.label) + " ", 1),
458
- l.required ? (a(), r("span", Cl, "*")) : u("", !0)
536
+ D(t(l.label) + " ", 1),
537
+ l.required ? (a(), r("span", Ol, "*")) : c("", !0)
459
538
  ], 4))
460
539
  ]),
461
- default: s(() => [
462
- g(v, {
540
+ default: d(() => [
541
+ h(S, {
463
542
  modelValue: e.states.model[l.field],
464
543
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
465
544
  onChange: (o) => e.checkChange(o, l.field),
466
545
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
467
- style: t(
546
+ style: u(
468
547
  l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
469
548
  )
470
549
  }, {
471
- default: s(() => {
550
+ default: d(() => {
472
551
  var o;
473
552
  return [
474
- (a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(z, {
475
- key: n.code,
476
- label: n.code
553
+ (a(!0), r(N, null, A((o = l.options) == null ? void 0 : o.data, (y) => (a(), i(E, {
554
+ key: y.code,
555
+ label: y.code
477
556
  }, {
478
- default: s(() => [
479
- b(p(n.name), 1)
557
+ default: d(() => [
558
+ D(t(y.name), 1)
480
559
  ]),
481
560
  _: 2
482
561
  }, 1032, ["label"]))), 128))
@@ -486,40 +565,40 @@ function zl(y, f, O, e, N, m) {
486
565
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
487
566
  ]),
488
567
  _: 2
489
- }, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), i(c, {
568
+ }, 1032, ["label", "rules", "prop"])) : l.type === "checkboxRadio" && typeof l.field == "string" ? (a(), i(b, {
490
569
  key: 6,
491
570
  label: l.label,
492
571
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
493
572
  prop: l.field
494
573
  }, {
495
- label: s(() => [
496
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
574
+ label: d(() => [
575
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
497
576
  key: 0,
498
- style: t(l.labelStyle)
577
+ style: u(l.labelStyle)
499
578
  }, [
500
- b(p(l.label) + " ", 1),
501
- l.required ? (a(), r("span", Nl, "*")) : u("", !0)
579
+ D(t(l.label) + " ", 1),
580
+ l.required ? (a(), r("span", kl, "*")) : c("", !0)
502
581
  ], 4))
503
582
  ]),
504
- default: s(() => [
505
- g(v, {
583
+ default: d(() => [
584
+ h(S, {
506
585
  modelValue: e.states.model[l.field],
507
586
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
508
587
  onChange: (o) => e.handleCheckedChange(o, l.field),
509
588
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
510
- style: t(
589
+ style: u(
511
590
  l.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
512
591
  )
513
592
  }, {
514
- default: s(() => {
593
+ default: d(() => {
515
594
  var o;
516
595
  return [
517
- (a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(z, {
518
- key: n.code,
519
- label: n.code
596
+ (a(!0), r(N, null, A((o = l.options) == null ? void 0 : o.data, (y) => (a(), i(E, {
597
+ key: y.code,
598
+ label: y.code
520
599
  }, {
521
- default: s(() => [
522
- b(p(n.name), 1)
600
+ default: d(() => [
601
+ D(t(y.name), 1)
523
602
  ]),
524
603
  _: 2
525
604
  }, 1032, ["label"]))), 128))
@@ -529,24 +608,24 @@ function zl(y, f, O, e, N, m) {
529
608
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
530
609
  ]),
531
610
  _: 2
532
- }, 1032, ["label", "rules", "prop"])) : l.type === "select" && typeof l.field == "string" ? (a(), i(c, {
611
+ }, 1032, ["label", "rules", "prop"])) : l.type === "select" && typeof l.field == "string" ? (a(), i(b, {
533
612
  key: 7,
534
613
  label: l.label,
535
614
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
536
615
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
537
616
  prop: l.field
538
617
  }, {
539
- label: s(() => [
540
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
618
+ label: d(() => [
619
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
541
620
  key: 0,
542
- style: t(l.labelStyle)
621
+ style: u(l.labelStyle)
543
622
  }, [
544
- b(p(l.label) + " ", 1),
545
- l.required ? (a(), r("span", Al, "*")) : u("", !0)
623
+ D(t(l.label) + " ", 1),
624
+ l.required ? (a(), r("span", Rl, "*")) : c("", !0)
546
625
  ], 4))
547
626
  ]),
548
- default: s(() => [
549
- g(U, {
627
+ default: d(() => [
628
+ h(U, {
550
629
  "popper-class": "selectTriangles",
551
630
  teleported: !1,
552
631
  modelValue: e.states.model[l.field],
@@ -554,86 +633,97 @@ function zl(y, f, O, e, N, m) {
554
633
  onChange: (o) => e.selectChange(o, l.field),
555
634
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
556
635
  placeholder: l.placeholder,
557
- class: _((l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""),
636
+ class: _(
637
+ (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
638
+ ),
558
639
  clearable: l.clearable,
559
640
  "fit-input-width": !0
560
641
  }, {
561
- default: s(() => {
642
+ default: d(() => {
562
643
  var o;
563
644
  return [
564
- (a(!0), r(A, null, k((o = l.options) == null ? void 0 : o.data, (n) => (a(), i(V, {
565
- key: n.code,
566
- label: n.name,
567
- value: n.code
645
+ (a(!0), r(N, null, A((o = l.options) == null ? void 0 : o.data, (y) => (a(), i(V, {
646
+ key: y.code,
647
+ label: y.name,
648
+ value: y.code
568
649
  }, null, 8, ["label", "value"]))), 128))
569
650
  ];
570
651
  }),
571
652
  _: 2
572
653
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "placeholder", "class", "clearable"]),
573
- C("div", {
654
+ O("div", {
574
655
  class: "item_tips_blow",
575
- style: t(l.tipsBlowStyle)
576
- }, p(l.tipsBlow), 5)
656
+ style: u(l.tipsBlowStyle)
657
+ }, t(l.tipsBlow), 5)
577
658
  ]),
578
659
  _: 2
579
- }, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), i(c, {
660
+ }, 1032, ["label", "rules", "disabled", "prop"])) : l.type === "date" && typeof l.field == "string" ? (a(), i(b, {
580
661
  key: 8,
581
662
  label: l.label,
582
663
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
583
664
  prop: l.field,
584
665
  class: "date_item"
585
666
  }, {
586
- label: s(() => [
587
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
667
+ label: d(() => [
668
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
588
669
  key: 0,
589
- style: t(l.labelStyle)
670
+ style: u(l.labelStyle)
590
671
  }, [
591
- b(p(l.label) + " ", 1),
592
- l.required ? (a(), r("span", kl, "*")) : u("", !0)
672
+ D(t(l.label) + " ", 1),
673
+ l.required ? (a(), r("span", wl, "*")) : c("", !0)
593
674
  ], 4))
594
675
  ]),
595
- default: s(() => [
596
- g(T, {
676
+ default: d(() => [
677
+ h(m, {
597
678
  "popper-class": "selectTriangles",
598
679
  teleported: !1,
599
680
  format: "DD/MM/YYYY",
600
681
  "value-format": "DD/MM/YYYY",
601
682
  "disabled-date": l.disabledDate,
602
- onChange: (o) => e.dateChange(o, typeof l.field == "string" ? l.field : ""),
683
+ onChange: (o) => e.dateChange(
684
+ o,
685
+ typeof l.field == "string" ? l.field : ""
686
+ ),
603
687
  "prefix-icon": e.prefixIcon,
604
688
  modelValue: e.states.model[l.field],
605
689
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
606
690
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
607
691
  readonly: l.readonly,
608
692
  type: l.type,
609
- placeholder: l.placeholder || l.label
610
- }, null, 8, ["disabled-date", "onChange", "prefix-icon", "modelValue", "onUpdate:modelValue", "disabled", "readonly", "type", "placeholder"]),
611
- l.showTo ? (a(), r("span", Ol, p(l.showTo), 1)) : u("", !0)
693
+ placeholder: l.placeholder || l.label,
694
+ class: _(
695
+ (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
696
+ )
697
+ }, null, 8, ["disabled-date", "onChange", "prefix-icon", "modelValue", "onUpdate:modelValue", "disabled", "readonly", "type", "placeholder", "class"]),
698
+ l.showTo ? (a(), r("span", xl, t(l.showTo), 1)) : c("", !0)
612
699
  ]),
613
700
  _: 2
614
- }, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(c, {
701
+ }, 1032, ["label", "rules", "prop"])) : l.type === "daterange" && typeof l.field == "string" ? (a(), i(b, {
615
702
  key: 9,
616
703
  label: l.label,
617
704
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
618
705
  prop: l.field
619
706
  }, {
620
- label: s(() => [
621
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
707
+ label: d(() => [
708
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
622
709
  key: 0,
623
- style: t(l.labelStyle)
710
+ style: u(l.labelStyle)
624
711
  }, [
625
- b(p(l.label) + " ", 1),
626
- l.required ? (a(), r("span", xl, "*")) : u("", !0)
712
+ D(t(l.label) + " ", 1),
713
+ l.required ? (a(), r("span", Il, "*")) : c("", !0)
627
714
  ], 4))
628
715
  ]),
629
- default: s(() => [
630
- g(T, {
716
+ default: d(() => [
717
+ h(m, {
631
718
  "popper-class": "selectTriangles",
632
719
  teleported: !1,
633
720
  format: "DD/MM/YYYY",
634
721
  "value-format": "DD/MM/YYYY",
635
722
  "disabled-date": l.disabledDate,
636
- onChange: (o) => e.dateChange(o, typeof l.field == "string" ? l.field : ""),
723
+ onChange: (o) => e.dateChange(
724
+ o,
725
+ typeof l.field == "string" ? l.field : ""
726
+ ),
637
727
  modelValue: e.states.model[l.field],
638
728
  "onUpdate:modelValue": (o) => e.states.model[l.field] = o,
639
729
  "prefix-icon": e.prefixIcon,
@@ -641,147 +731,238 @@ function zl(y, f, O, e, N, m) {
641
731
  "range-separator": "To",
642
732
  "start-placeholder": l.startPlaceholder,
643
733
  "end-placeholder": l.endPlaceholder,
644
- size: "large"
645
- }, null, 8, ["disabled-date", "onChange", "modelValue", "onUpdate:modelValue", "prefix-icon", "start-placeholder", "end-placeholder"])
734
+ size: "large",
735
+ class: _(
736
+ (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
737
+ )
738
+ }, null, 8, ["disabled-date", "onChange", "modelValue", "onUpdate:modelValue", "prefix-icon", "start-placeholder", "end-placeholder", "class"])
646
739
  ]),
647
740
  _: 2
648
- }, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), i(c, {
741
+ }, 1032, ["label", "rules", "prop"])) : l.type === "slotItem" ? (a(), i(b, {
649
742
  key: 10,
650
743
  label: l.label,
651
744
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
652
745
  prop: l.field,
653
746
  class: "rule_err"
654
747
  }, {
655
- label: s(() => [
656
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
748
+ label: d(() => [
749
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
657
750
  key: 0,
658
- style: t(l.labelStyle)
751
+ style: u(l.labelStyle)
659
752
  }, [
660
- b(p(l.label) + " ", 1),
661
- l.required ? (a(), r("span", wl, "*")) : u("", !0)
753
+ D(t(l.label) + " ", 1),
754
+ l.required ? (a(), r("span", Vl, "*")) : c("", !0)
662
755
  ], 4))
663
756
  ]),
664
- default: s(() => [
665
- D(y.$slots, l.slotItemName, {}, void 0, !0)
757
+ default: d(() => [
758
+ C(p.$slots, l.slotItemName, {}, void 0, !0)
666
759
  ]),
667
760
  _: 2
668
- }, 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 ? (a(), i(c, {
761
+ }, 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 ? (a(), i(b, {
669
762
  key: 11,
670
763
  label: l.label,
671
764
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules.phoneNumber,
672
765
  prop: l.field.phoneNumber,
673
766
  class: "phone_item"
674
767
  }, {
675
- label: s(() => [
676
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
768
+ label: d(() => [
769
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
677
770
  key: 0,
678
- style: t(l.labelStyle)
771
+ style: u(l.labelStyle)
679
772
  }, [
680
- b(p(l.label) + " ", 1),
681
- l.required ? (a(), r("span", Rl, "*")) : u("", !0)
773
+ D(t(l.label) + " ", 1),
774
+ l.required ? (a(), r("span", Ul, "*")) : c("", !0)
682
775
  ], 4))
683
776
  ]),
684
- default: s(() => {
685
- var o, n;
777
+ default: d(() => {
778
+ var o, y, T, s;
686
779
  return [
687
- C("div", Il, [
688
- l.field.nationCode ? (a(), i(U, {
689
- key: 0,
780
+ O("div", {
781
+ class: _(e.phoneWrap ? ["phone_item_content", "phone_item_content_wrap"] : "phone_item_content")
782
+ }, [
783
+ e.phoneWrap ? (a(), r("div", jl, [
784
+ l.field.nationCode ? (a(), i(U, {
785
+ key: 0,
786
+ "popper-class": "selectTriangles",
787
+ teleported: !1,
788
+ disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
789
+ modelValue: e.states.model[l.field.nationCode],
790
+ "onUpdate:modelValue": (n) => e.states.model[l.field.nationCode] = n,
791
+ placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
792
+ class: _(
793
+ (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
794
+ ),
795
+ style: u("width:" + l.widthNation),
796
+ "fit-input-width": !0
797
+ }, {
798
+ default: d(() => {
799
+ var n;
800
+ return [
801
+ (a(!0), r(N, null, A((n = l.nationOptions) == null ? void 0 : n.data, (f, R) => (a(), i(V, {
802
+ label: f.name,
803
+ value: f.code,
804
+ key: R
805
+ }, null, 8, ["label", "value"]))), 128))
806
+ ];
807
+ }),
808
+ _: 2
809
+ }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : c("", !0),
810
+ vl,
811
+ l.field.areaCode ? (a(), i(U, {
812
+ key: 1,
813
+ "popper-class": "selectTriangles",
814
+ teleported: !1,
815
+ disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
816
+ modelValue: e.states.model[l.field.areaCode],
817
+ "onUpdate:modelValue": (n) => e.states.model[l.field.areaCode] = n,
818
+ placeholder: ((y = l.areaOptions) == null ? void 0 : y.placeholder) || "",
819
+ class: _(
820
+ (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_select"
821
+ ),
822
+ style: u("width:" + l.widthArea),
823
+ "fit-input-width": !0
824
+ }, {
825
+ default: d(() => {
826
+ var n;
827
+ return [
828
+ (a(!0), r(N, null, A((n = l.areaOptions) == null ? void 0 : n.data, (f, R) => (a(), i(V, {
829
+ label: f.name,
830
+ value: f.code,
831
+ key: R
832
+ }, null, 8, ["label", "value"]))), 128))
833
+ ];
834
+ }),
835
+ _: 2
836
+ }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : c("", !0),
837
+ Fl
838
+ ])) : c("", !0),
839
+ l.field.nationCode && !e.phoneWrap ? (a(), i(U, {
840
+ key: 1,
690
841
  "popper-class": "selectTriangles",
691
842
  teleported: !1,
692
843
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyNation) && !l.openDisabled,
693
844
  modelValue: e.states.model[l.field.nationCode],
694
- "onUpdate:modelValue": (d) => e.states.model[l.field.nationCode] = d,
695
- placeholder: ((o = l.nationOptions) == null ? void 0 : o.placeholder) || "",
696
- class: _((l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""),
697
- style: t("width:" + l.widthNation),
845
+ "onUpdate:modelValue": (n) => e.states.model[l.field.nationCode] = n,
846
+ placeholder: ((T = l.nationOptions) == null ? void 0 : T.placeholder) || "",
847
+ class: _(
848
+ (l.isReadonly || l.isReadonlyNation || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : ""
849
+ ),
850
+ style: u("width:" + l.widthNation),
698
851
  "fit-input-width": !0
699
852
  }, {
700
- default: s(() => {
701
- var d;
853
+ default: d(() => {
854
+ var n;
702
855
  return [
703
- (a(!0), r(A, null, k((d = l.nationOptions) == null ? void 0 : d.data, (h, R) => (a(), i(V, {
704
- label: h.name,
705
- value: h.code,
856
+ (a(!0), r(N, null, A((n = l.nationOptions) == null ? void 0 : n.data, (f, R) => (a(), i(V, {
857
+ label: f.name,
858
+ value: f.code,
706
859
  key: R
707
860
  }, null, 8, ["label", "value"]))), 128))
708
861
  ];
709
862
  }),
710
863
  _: 2
711
- }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : u("", !0),
712
- Vl,
713
- l.field.areaCode ? (a(), i(U, {
714
- key: 1,
864
+ }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : c("", !0),
865
+ e.phoneWrap ? c("", !0) : (a(), r("div", zl, "-")),
866
+ l.field.areaCode && !e.phoneWrap ? (a(), i(U, {
867
+ key: 3,
715
868
  "popper-class": "selectTriangles",
716
869
  teleported: !1,
717
870
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyArea) && !l.openDisabled,
718
871
  modelValue: e.states.model[l.field.areaCode],
719
- "onUpdate:modelValue": (d) => e.states.model[l.field.areaCode] = d,
720
- placeholder: ((n = l.areaOptions) == null ? void 0 : n.placeholder) || "",
721
- class: _((l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_select"),
722
- style: t("width:" + l.widthArea),
872
+ "onUpdate:modelValue": (n) => e.states.model[l.field.areaCode] = n,
873
+ placeholder: ((s = l.areaOptions) == null ? void 0 : s.placeholder) || "",
874
+ class: _(
875
+ (l.isReadonly || l.isReadonlyArea || e.formOptions.isAllReadonly) && !l.openDisabled ? "selectreadonly" : "areaCode_select"
876
+ ),
877
+ style: u("width:" + l.widthArea),
723
878
  "fit-input-width": !0
724
879
  }, {
725
- default: s(() => {
726
- var d;
880
+ default: d(() => {
881
+ var n;
727
882
  return [
728
- (a(!0), r(A, null, k((d = l.areaOptions) == null ? void 0 : d.data, (h, R) => (a(), i(V, {
729
- label: h.name,
730
- value: h.code,
883
+ (a(!0), r(N, null, A((n = l.areaOptions) == null ? void 0 : n.data, (f, R) => (a(), i(V, {
884
+ label: f.name,
885
+ value: f.code,
731
886
  key: R
732
887
  }, null, 8, ["label", "value"]))), 128))
733
888
  ];
734
889
  }),
735
890
  _: 2
736
- }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : u("", !0),
737
- Ul,
891
+ }, 1032, ["disabled", "modelValue", "onUpdate:modelValue", "placeholder", "class", "style"])) : c("", !0),
892
+ e.phoneWrap ? c("", !0) : (a(), r("div", Tl, "-")),
738
893
  l.field.phoneNumber ? (a(), i(x, {
739
- key: 2,
740
- onBlur: (d) => e.inputBlur(d, typeof l.field == "string" ? l.field : ""),
741
- onFocus: (d) => e.inputFocus(d, typeof l.field == "string" ? l.field : ""),
742
- onChange: (d) => e.inputChange(d, typeof l.field == "string" ? l.field : ""),
743
- onInput: (d) => e.inputInput(d, typeof l.field == "string" ? l.field : ""),
894
+ key: 5,
895
+ onBlur: (n) => e.inputBlur(
896
+ n,
897
+ typeof l.field == "string" ? l.field : ""
898
+ ),
899
+ onFocus: (n) => e.inputFocus(
900
+ n,
901
+ typeof l.field == "string" ? l.field : ""
902
+ ),
903
+ onChange: (n) => e.inputChange(
904
+ n,
905
+ typeof l.field == "string" ? l.field : ""
906
+ ),
907
+ onInput: (n) => e.inputInput(
908
+ n,
909
+ typeof l.field == "string" ? l.field : ""
910
+ ),
744
911
  maxlength: l.maxlength,
745
912
  modelValue: e.states.model[l.field.phoneNumber],
746
- "onUpdate:modelValue": (d) => e.states.model[l.field.phoneNumber] = d,
747
- disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
913
+ "onUpdate:modelValue": (n) => e.states.model[l.field.phoneNumber] = n,
914
+ disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly || l.isReadonlyPhoneNumber) && !l.openDisabled,
748
915
  placeholder: l.placeholder || "",
749
- class: _((l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
916
+ class: _(
917
+ (l.isReadonly || l.isReadonlyPhoneNumber || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
918
+ ),
750
919
  clearable: l.clearable
751
- }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : u("", !0)
752
- ])
920
+ }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "class", "clearable"])) : c("", !0)
921
+ ], 2)
753
922
  ];
754
923
  }),
755
924
  _: 2
756
- }, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(c, {
925
+ }, 1032, ["label", "rules", "prop"])) : l.type === "line" ? (a(), i(b, {
757
926
  key: 12,
758
927
  label: l.label
759
928
  }, {
760
- default: s(() => [
761
- jl
929
+ default: d(() => [
930
+ Ll
762
931
  ]),
763
932
  _: 2
764
- }, 1032, ["label"])) : (a(), i(c, {
933
+ }, 1032, ["label"])) : (a(), i(b, {
765
934
  key: 13,
766
935
  rules: l.isHide || e.noFormRule || l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly ? [] : l.rules,
767
936
  prop: l.field,
768
937
  class: _(l.prepend ? "input-item" : "")
769
938
  }, {
770
- label: s(() => [
771
- l.slotLabelName ? D(y.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
939
+ label: d(() => [
940
+ l.slotLabelName ? C(p.$slots, l.slotLabelName, { key: 1 }, void 0, !0) : (a(), r("div", {
772
941
  key: 0,
773
- style: t(l.labelStyle)
942
+ style: u(l.labelStyle)
774
943
  }, [
775
- b(p(l.label) + " ", 1),
776
- l.required ? (a(), r("span", Fl, "*")) : u("", !0)
944
+ D(t(l.label) + " ", 1),
945
+ l.required ? (a(), r("span", El, "*")) : c("", !0)
777
946
  ], 4))
778
947
  ]),
779
- default: s(() => [
780
- g(x, {
781
- onBlur: (o) => e.inputBlur(o, typeof l.field == "string" ? l.field : ""),
782
- onFocus: (o) => e.inputFocus(o, typeof l.field == "string" ? l.field : ""),
783
- onChange: (o) => e.inputChange(o, typeof l.field == "string" ? l.field : ""),
784
- onInput: (o) => e.inputInput(o, typeof l.field == "string" ? l.field : ""),
948
+ default: d(() => [
949
+ h(x, {
950
+ onBlur: (o) => e.inputBlur(
951
+ o,
952
+ typeof l.field == "string" ? l.field : ""
953
+ ),
954
+ onFocus: (o) => e.inputFocus(
955
+ o,
956
+ typeof l.field == "string" ? l.field : ""
957
+ ),
958
+ onChange: (o) => e.inputChange(
959
+ o,
960
+ typeof l.field == "string" ? l.field : ""
961
+ ),
962
+ onInput: (o) => e.inputInput(
963
+ o,
964
+ typeof l.field == "string" ? l.field : ""
965
+ ),
785
966
  maxlength: l.maxlength,
786
967
  modelValue: e.states.model[typeof l.field == "string" ? l.field : ""],
787
968
  "onUpdate:modelValue": (o) => e.states.model[typeof l.field == "string" ? l.field : ""] = o,
@@ -792,20 +973,22 @@ function zl(y, f, O, e, N, m) {
792
973
  disabled: (l.disabled || e.formOptions.isAllDisabled || e.formOptions.isAllReadonly || l.isReadonly) && !l.openDisabled,
793
974
  showPassword: l.showPassword,
794
975
  clearable: l.clearable,
795
- class: _((l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""),
796
- onKeyup: F((o) => e.handleKeyUp(l.enterable), ["enter"])
797
- }, dl({ _: 2 }, [
976
+ class: _(
977
+ (l.isReadonly || e.formOptions.isAllReadonly) && !l.openDisabled ? "readonly" : ""
978
+ ),
979
+ onKeyup: L((o) => e.handleKeyUp(l.enterable), ["enter"])
980
+ }, il({ _: 2 }, [
798
981
  l.prepend ? {
799
982
  name: "prepend",
800
- fn: s(() => [
801
- b(p(l.prepend), 1)
983
+ fn: d(() => [
984
+ D(t(l.prepend), 1)
802
985
  ]),
803
986
  key: "0"
804
987
  } : void 0,
805
988
  l.append ? {
806
989
  name: "append",
807
- fn: s(() => [
808
- b(p(l.append), 1)
990
+ fn: d(() => [
991
+ D(t(l.append), 1)
809
992
  ]),
810
993
  key: "1"
811
994
  } : void 0
@@ -817,19 +1000,19 @@ function zl(y, f, O, e, N, m) {
817
1000
  ]),
818
1001
  _: 2
819
1002
  }, 1032, ["xs", "sm", "md", "lg", "xl"])), [
820
- [sl, !l.isHide]
1003
+ [yl, !l.isHide]
821
1004
  ])), 128))
822
1005
  ]),
823
1006
  _: 3
824
1007
  }),
825
- g(c, { class: "btnsItem" }, {
826
- default: s(() => [
827
- D(y.$slots, "buttons", {
828
- model: O.model,
1008
+ h(b, { class: "btnsItem" }, {
1009
+ default: d(() => [
1010
+ C(p.$slots, "buttons", {
1011
+ model: w.model,
829
1012
  onBtnClick: e.onSubmit
830
1013
  }, () => [
831
- (a(!0), r(A, null, k(e.formOptions.btnConfig, (l, j) => (a(), r("div", { key: j }, [
832
- l.isShow ? (a(), i(S, {
1014
+ (a(!0), r(N, null, A(e.formOptions.btnConfig, (l, z) => (a(), r("div", { key: z }, [
1015
+ l.isShow ? (a(), i(B, {
833
1016
  key: 0,
834
1017
  btnCode: l.btnCode,
835
1018
  plain: l.plain,
@@ -852,15 +1035,15 @@ function zl(y, f, O, e, N, m) {
852
1035
  size: l.size,
853
1036
  fontSize: l.fontSize,
854
1037
  fontWeight: l.fontWeight,
855
- style: t(l.style),
1038
+ style: u(l.style),
856
1039
  class: _(l.class),
857
1040
  onHandleClick: (o) => e.handleClick(o, l.isRule, l.emitName)
858
1041
  }, {
859
- default: s(() => [
860
- b(p(l.name), 1)
1042
+ default: d(() => [
1043
+ D(t(l.name), 1)
861
1044
  ]),
862
1045
  _: 2
863
- }, 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"])) : u("", !0)
1046
+ }, 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"])) : c("", !0)
864
1047
  ]))), 128))
865
1048
  ], !0)
866
1049
  ]),
@@ -870,11 +1053,11 @@ function zl(y, f, O, e, N, m) {
870
1053
  _: 3
871
1054
  }, 16, ["model", "label-position"]);
872
1055
  }
873
- const W = /* @__PURE__ */ cl(pl, [["render", zl], ["__scopeId", "data-v-33a0cf2d"]]);
874
- function Y(y, f = {}) {
875
- Y.installed || (Y.installed = !0, y.component("common-el-form", W));
1056
+ const P = /* @__PURE__ */ ul(fl, [["render", Sl], ["__scopeId", "data-v-6d71b8fc"]]);
1057
+ function W(p, g = {}) {
1058
+ W.installed || (W.installed = !0, p.component("common-el-form", P));
876
1059
  }
877
- W.install = Y;
1060
+ P.install = W;
878
1061
  export {
879
- W as default
1062
+ P as default
880
1063
  };