sinosoft-common-form 1.3.4 → 1.3.6

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 { reactive as W, ref as Q, shallowRef as m, h as P, computed as R, onMounted as Z, watch as G, toRefs as J, resolveComponent as _, openBlock as d, createBlock as t, mergeProps as X, withModifiers as $, withCtx as n, createVNode as b, createElementBlock as s, Fragment as D, renderList as I, withDirectives as ee, createElementVNode as x, normalizeStyle as f, toDisplayString as c, createTextVNode as i, createCommentVNode as C, renderSlot as N, withKeys as j, normalizeClass as T, createSlots as le, vShow as ae, pushScopeId as oe, popScopeId as de } from "vue";
2
- const ne = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==", se = {
1
+ import { ref as q, reactive as H, shallowRef as W, h as Q, computed as P, onMounted as Z, watch as G, toRefs as J, nextTick as X, resolveComponent as M, openBlock as n, createBlock as c, mergeProps as $, withModifiers as ee, withCtx as s, createVNode as b, createElementBlock as r, Fragment as I, renderList as x, withDirectives as le, createElementVNode as V, normalizeStyle as g, toDisplayString as p, createTextVNode as i, createCommentVNode as _, renderSlot as C, withKeys as v, normalizeClass as T, createSlots as oe, vShow as ae, pushScopeId as ne, popScopeId as de } from "vue";
2
+ const se = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjc1MDIgMS44NzY5NUgxMC4xMjUyVjAuODc2OTUzQzEwLjEyNTIgMC44MDgyMDMgMTAuMDY5IDAuNzUxOTUzIDEwLjAwMDIgMC43NTE5NTNIOS4xMjUyNUM5LjA1NjQ5IDAuNzUxOTUzIDkuMDAwMjUgMC44MDgyMDMgOS4wMDAyNSAwLjg3Njk1M1YxLjg3Njk1SDUuMDAwMjRWMC44NzY5NTNDNS4wMDAyNCAwLjgwODIwMyA0Ljk0Mzk5IDAuNzUxOTUzIDQuODc1MjQgMC43NTE5NTNINC4wMDAyNEMzLjkzMTQ5IDAuNzUxOTUzIDMuODc1MjQgMC44MDgyMDMgMy44NzUyNCAwLjg3Njk1M1YxLjg3Njk1SDEuMjUwMjRDMC45NzM2ODIgMS44NzY5NSAwLjc1MDI0NCAyLjEwMDM5IDAuNzUwMjQ0IDIuMzc2OTVWMTIuNzUyQzAuNzUwMjQ0IDEzLjAyODUgMC45NzM2ODIgMTMuMjUyIDEuMjUwMjQgMTMuMjUySDEyLjc1MDJDMTMuMDI2OCAxMy4yNTIgMTMuMjUwMiAxMy4wMjg1IDEzLjI1MDIgMTIuNzUyVjIuMzc2OTVDMTMuMjUwMiAyLjEwMDM5IDEzLjAyNjggMS44NzY5NSAxMi43NTAyIDEuODc2OTVaTTEyLjEyNTIgMTIuMTI3SDEuODc1MjRWNi4xODk0NUgxMi4xMjUyVjEyLjEyN1pNMS44NzUyNCA1LjEyNjk1VjMuMDAxOTVIMy44NzUyNFYzLjc1MTk1QzMuODc1MjQgMy44MjA3IDMuOTMxNDkgMy44NzY5NSA0LjAwMDI0IDMuODc2OTVINC44NzUyNEM0Ljk0Mzk5IDMuODc2OTUgNS4wMDAyNCAzLjgyMDcgNS4wMDAyNCAzLjc1MTk1VjMuMDAxOTVIOS4wMDAyNVYzLjc1MTk1QzkuMDAwMjUgMy44MjA3IDkuMDU2NDkgMy44NzY5NSA5LjEyNTI1IDMuODc2OTVIMTAuMDAwMkMxMC4wNjkgMy44NzY5NSAxMC4xMjUyIDMuODIwNyAxMC4xMjUyIDMuNzUxOTVWMy4wMDE5NUgxMi4xMjUyVjUuMTI2OTVIMS44NzUyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuODUiLz4KPC9zdmc+Cg==", re = {
3
3
  props: {
4
4
  fieldList: {
5
5
  type: Array,
@@ -8,97 +8,100 @@ const ne = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZX
8
8
  model: Object,
9
9
  options: Object
10
10
  },
11
- setup(u, { emit: h }) {
12
- const g = W({
11
+ setup(t, { emit: h }) {
12
+ const k = q(!0), o = H({
13
13
  model: {}
14
- }), a = Q(null), v = m({
14
+ }), N = q(null), m = W({
15
15
  render() {
16
- return P("img", {
17
- src: ne
16
+ return Q("img", {
17
+ src: se
18
18
  });
19
19
  }
20
- }), q = R(() => Object.assign([], u.options)), p = () => {
21
- g.model = u.model;
22
- }, k = (l, o, r) => {
23
- a.value && (o ? a.value.validate((y) => {
24
- if (y)
25
- h(r || "submit", g.model, l);
26
- else
27
- return !1;
28
- }) : r === "reset" ? a.value.resetFields() : h(r || "submit", g.model, l));
29
- }, V = (l, o) => {
30
- h("selectChange", l, o);
31
- }, w = (l, o) => {
32
- h("radioChange", l, o);
33
- }, O = (l, o) => {
34
- h("checkChange", l, o);
35
- }, z = (l, o) => {
36
- const r = g.model[o].length;
37
- r !== 1 && (r > 1 && g.model[o].shift(), h("checkChange", l, o));
38
- }, L = (l, o, r) => {
39
- k(l, o, r);
40
- }, A = (l, o) => {
41
- l && (o == null ? void 0 : o.key) === "Enter" && k(void 0, !0, "submit");
42
- }, S = (l, o) => {
43
- h("dateChange", l, o);
44
- }, E = (l, o) => {
45
- h("inputBlur", l, o);
46
- }, F = (l, o) => {
47
- h("inputFocus", l, o);
48
- }, B = (l, o) => {
49
- h("inputChange", l, o);
50
- }, K = (l, o) => {
51
- h("inputInput", l, o);
52
- }, e = (l) => {
53
- a.value.resetFields(l);
54
- }, U = (l) => {
55
- a.value.clearValidate(l);
20
+ }), y = P(() => Object.assign([], t.options)), D = () => {
21
+ o.model = t.model;
22
+ }, w = (a, d, u) => {
23
+ N.value && (d ? (k.value = !1, X(() => {
24
+ N.value.validate((f) => {
25
+ if (f)
26
+ h(u || "submit", o.model, a);
27
+ else
28
+ return !1;
29
+ });
30
+ })) : u === "reset" ? N.value.resetFields() : h(u || "submit", o.model, a));
31
+ }, U = (a, d) => {
32
+ h("selectChange", a, d);
33
+ }, F = (a, d) => {
34
+ h("radioChange", a, d);
35
+ }, z = (a, d) => {
36
+ h("checkChange", a, d);
37
+ }, O = (a, d) => {
38
+ const u = o.model[d].length;
39
+ u !== 1 && (u > 1 && o.model[d].shift(), h("checkChange", a, d));
40
+ }, L = (a, d, u) => {
41
+ w(a, d, u);
42
+ }, A = (a, d) => {
43
+ a && (d == null ? void 0 : d.key) === "Enter" && w(void 0, !0, "submit");
44
+ }, S = (a, d) => {
45
+ h("dateChange", a, d);
46
+ }, E = (a, d) => {
47
+ console.log(N.value), h("inputBlur", a, d);
48
+ }, B = (a, d) => {
49
+ h("inputFocus", a, d);
50
+ }, K = (a, d) => {
51
+ h("inputChange", a, d);
52
+ }, e = (a, d) => {
53
+ h("inputInput", a, d);
54
+ }, j = (a) => {
55
+ N.value.resetFields(a);
56
+ }, l = (a) => {
57
+ N.value.clearValidate(a);
56
58
  };
57
59
  return Z(() => {
58
- p(), a.value.resetFields();
59
- }), G(() => u.fieldList, (l, o) => {
60
- l !== o && p();
61
- }), {
62
- ...J(g),
63
- formRef: a,
64
- states: g,
65
- formOptions: q,
66
- onSubmit: k,
67
- selectChange: V,
68
- radioChange: w,
69
- checkChange: O,
70
- handleCheckedChange: z,
71
- prefixIcon: v,
60
+ D(), N.value.resetFields();
61
+ }), G(
62
+ () => t.fieldList,
63
+ (a, d) => {
64
+ a !== d && D();
65
+ }
66
+ ), {
67
+ ...J(o),
68
+ formRef: N,
69
+ states: o,
70
+ formOptions: y,
71
+ onSubmit: w,
72
+ selectChange: U,
73
+ radioChange: F,
74
+ checkChange: z,
75
+ handleCheckedChange: O,
76
+ prefixIcon: m,
72
77
  handleClick: L,
73
78
  handleKeyUp: A,
74
- resetFieldsTest: e,
75
- clearValidateTest: U,
79
+ resetFieldsTest: j,
80
+ clearValidateTest: l,
76
81
  dateChange: S,
77
82
  inputBlur: E,
78
- inputFocus: F,
79
- inputChange: B,
80
- inputInput: K
83
+ inputFocus: B,
84
+ inputChange: K,
85
+ inputInput: e,
86
+ noFormRule: k
81
87
  };
82
88
  }
83
89
  };
84
- const re = (u, h) => {
85
- const g = u.__vccOpts || u;
86
- for (const [a, v] of h)
87
- g[a] = v;
88
- return g;
89
- }, ue = (u) => (oe("data-v-25adf89a"), u = u(), de(), u), te = { class: "header-title" }, pe = { class: "title-content" }, ce = {
90
+ const ue = (t, h) => {
91
+ const k = t.__vccOpts || t;
92
+ for (const [o, N] of h)
93
+ k[o] = N;
94
+ return k;
95
+ }, te = (t) => (ne("data-v-03397e4e"), t = t(), de(), t), ce = { class: "header-title" }, pe = { class: "title-content" }, ye = {
90
96
  key: 0,
91
97
  class: "custom-required"
92
- }, ye = {
98
+ }, be = {
93
99
  key: 0,
94
100
  class: "custom-required"
95
- }, be = ["src"], ie = {
101
+ }, ie = ["src"], he = {
96
102
  key: 0,
97
103
  class: "custom-required"
98
- }, he = { class: "lable" }, fe = { class: "lable_note" }, ge = {
99
- key: 0,
100
- class: "custom-required"
101
- }, Me = {
104
+ }, fe = { class: "lable" }, ge = { class: "lable_note" }, Me = {
102
105
  key: 0,
103
106
  class: "custom-required"
104
107
  }, _e = {
@@ -119,194 +122,197 @@ const re = (u, h) => {
119
122
  }, Ie = {
120
123
  key: 0,
121
124
  class: "custom-required"
122
- }, xe = /* @__PURE__ */ ue(() => /* @__PURE__ */ x("div", {
125
+ }, xe = {
126
+ key: 0,
127
+ class: "custom-required"
128
+ }, Ve = /* @__PURE__ */ te(() => /* @__PURE__ */ V("div", {
123
129
  class: "line",
124
130
  style: { "border-top": "1px solid #e8e8e8", width: "100%", height: "0px", margin: "20px 0" }
125
- }, null, -1)), Ve = {
131
+ }, null, -1)), we = {
126
132
  key: 0,
127
133
  class: "custom-required"
128
134
  };
129
- function we(u, h, g, a, v, q) {
130
- const p = _("el-form-item"), k = _("el-input"), V = _("el-radio"), w = _("el-radio-group"), O = _("el-checkbox"), z = _("el-checkbox-group"), L = _("el-option"), A = _("el-select"), S = _("el-date-picker"), E = _("el-col"), F = _("el-row"), B = _("sinosoft-common-button"), K = _("el-form");
131
- return d(), t(K, X({
135
+ function Ue(t, h, k, o, N, m) {
136
+ const y = M("el-form-item"), D = M("el-input"), w = M("el-radio"), U = M("el-radio-group"), F = M("el-checkbox"), z = M("el-checkbox-group"), O = M("el-option"), L = M("el-select"), A = M("el-date-picker"), S = M("el-col"), E = M("el-row"), B = M("sinosoft-common-button"), K = M("el-form");
137
+ return n(), c(K, $({
132
138
  "hide-required-asterisk": "",
133
- onSubmit: h[0] || (h[0] = $(() => {
139
+ onSubmit: h[0] || (h[0] = ee(() => {
134
140
  }, ["prevent"])),
135
- model: g.model
136
- }, a.formOptions, {
137
- "label-position": a.formOptions.labelPosition,
141
+ model: k.model
142
+ }, o.formOptions, {
143
+ "label-position": o.formOptions.labelPosition,
138
144
  ref: "formRef"
139
145
  }), {
140
- default: n(() => [
141
- b(F, { gutter: 20 }, {
142
- default: n(() => [
143
- (d(!0), s(D, null, I(g.fieldList, (e, U) => ee((d(), t(E, {
146
+ default: s(() => [
147
+ b(E, { gutter: 20 }, {
148
+ default: s(() => [
149
+ (n(!0), r(I, null, x(k.fieldList, (e, j) => le((n(), c(S, {
144
150
  xs: e.xs ? e.xs : 24,
145
151
  sm: e.sm ? e.sm : 24,
146
152
  md: e.md ? e.md : 8,
147
153
  lg: e.lg ? e.lg : 8,
148
154
  xl: e.xl ? e.xl : 8,
149
- key: U
155
+ key: j
150
156
  }, {
151
- default: n(() => [
152
- x("div", {
153
- style: f(e.style)
157
+ default: s(() => [
158
+ V("div", {
159
+ style: g(e.style)
154
160
  }, [
155
- e.type === "title" ? (d(), t(p, { key: 0 }, {
156
- default: n(() => [
157
- x("div", te, [
158
- x("span", pe, c(e.title), 1)
161
+ e.type === "title" ? (n(), c(y, { key: 0 }, {
162
+ default: s(() => [
163
+ V("div", ce, [
164
+ V("span", pe, p(e.title), 1)
159
165
  ])
160
166
  ]),
161
167
  _: 2
162
- }, 1024)) : e.type === "name" ? (d(), t(p, {
168
+ }, 1024)) : e.type === "name" ? (n(), c(y, {
163
169
  key: 1,
164
170
  label: e.label,
165
- disabled: e.disabled || a.formOptions.isDisabled,
171
+ disabled: e.disabled || o.formOptions.isDisabled,
166
172
  class: "container_name"
167
173
  }, {
168
- label: n(() => [
169
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
174
+ label: s(() => [
175
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
170
176
  key: 0,
171
- style: f(e.labelStyle)
177
+ style: g(e.labelStyle)
172
178
  }, [
173
- i(c(e.label) + " ", 1),
174
- e.required ? (d(), s("span", ce, "*")) : C("", !0)
179
+ i(p(e.label) + " ", 1),
180
+ e.required ? (n(), r("span", ye, "*")) : _("", !0)
175
181
  ], 4))
176
182
  ]),
177
- default: n(() => [
178
- b(p, {
179
- rules: e.isHide ? [] : e.rules.nameEnFamily,
183
+ default: s(() => [
184
+ b(y, {
185
+ rules: e.isHide || o.noFormRule ? [] : e.rules.nameEnFamily,
180
186
  prop: e.field.nameEnFamily,
181
187
  class: "item-name"
182
188
  }, {
183
- default: n(() => [
184
- b(k, {
185
- onBlur: (l) => a.inputBlur(l, e.field.nameEnFamily),
186
- onFocus: (l) => a.inputFocus(l, e.field.nameEnFamily),
187
- onChange: (l) => a.inputChange(l, e.field.nameEnFamily),
188
- onInput: (l) => a.inputInput(l, e.field.nameEnFamily),
189
+ default: s(() => [
190
+ b(D, {
191
+ onBlur: (l) => o.inputBlur(l, e.field.nameEnFamily),
192
+ onFocus: (l) => o.inputFocus(l, e.field.nameEnFamily),
193
+ onChange: (l) => o.inputChange(l, e.field.nameEnFamily),
194
+ onInput: (l) => o.inputInput(l, e.field.nameEnFamily),
189
195
  maxlength: e.maxlengthNameEnFamily,
190
- modelValue: a.states.model[e.field.nameEnFamily],
191
- "onUpdate:modelValue": (l) => a.states.model[e.field.nameEnFamily] = l,
196
+ modelValue: o.states.model[e.field.nameEnFamily],
197
+ "onUpdate:modelValue": (l) => o.states.model[e.field.nameEnFamily] = l,
192
198
  readonly: e.readonly,
193
199
  type: e.type ? e.type : "text",
194
200
  placeholder: e.placeholderNameEnFamily,
195
- disabled: e.disabled || a.formOptions.isDisabled,
196
- onKeyup: j((l) => a.handleKeyUp(e.enterable), ["enter"])
201
+ disabled: e.disabled || o.formOptions.isDisabled,
202
+ onKeyup: v((l) => o.handleKeyUp(e.enterable), ["enter"])
197
203
  }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
198
204
  ]),
199
205
  _: 2
200
206
  }, 1032, ["rules", "prop"]),
201
- b(p, {
202
- rules: e.isHide ? [] : e.rules.nameEn,
207
+ b(y, {
208
+ rules: e.isHide || o.noFormRule ? [] : e.rules.nameEn,
203
209
  prop: e.field.nameEn,
204
210
  class: "item-name-right"
205
211
  }, {
206
- default: n(() => [
207
- b(k, {
208
- onBlur: (l) => a.inputBlur(l, e.field.nameEn),
209
- onFocus: (l) => a.inputFocus(l, e.field.nameEn),
210
- onChange: (l) => a.inputChange(l, e.field.nameEn),
211
- onInput: (l) => a.inputInput(l, e.field.nameEn),
212
+ default: s(() => [
213
+ b(D, {
214
+ onBlur: (l) => o.inputBlur(l, e.field.nameEn),
215
+ onFocus: (l) => o.inputFocus(l, e.field.nameEn),
216
+ onChange: (l) => o.inputChange(l, e.field.nameEn),
217
+ onInput: (l) => o.inputInput(l, e.field.nameEn),
212
218
  maxlength: e.maxlengthNameEn,
213
- modelValue: a.states.model[e.field.nameEn],
214
- "onUpdate:modelValue": (l) => a.states.model[e.field.nameEn] = l,
219
+ modelValue: o.states.model[e.field.nameEn],
220
+ "onUpdate:modelValue": (l) => o.states.model[e.field.nameEn] = l,
215
221
  readonly: e.readonly,
216
222
  type: e.type ? e.type : "text",
217
223
  placeholder: e.placeholderNameEn,
218
- disabled: e.disabled || a.formOptions.isDisabled,
219
- onKeyup: j((l) => a.handleKeyUp(e.enterable), ["enter"])
224
+ disabled: e.disabled || o.formOptions.isDisabled,
225
+ onKeyup: v((l) => o.handleKeyUp(e.enterable), ["enter"])
220
226
  }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
221
227
  ]),
222
228
  _: 2
223
229
  }, 1032, ["rules", "prop"]),
224
- b(p, {
225
- rules: e.isHide ? [] : e.rules.nameChFamily,
230
+ b(y, {
231
+ rules: e.isHide || o.noFormRule ? [] : e.rules.nameChFamily,
226
232
  prop: e.field.nameChFamily,
227
233
  class: "item-name"
228
234
  }, {
229
- default: n(() => [
230
- b(k, {
231
- onBlur: (l) => a.inputBlur(l, e.field.nameChFamily),
232
- onFocus: (l) => a.inputFocus(l, e.field.nameChFamily),
233
- onChange: (l) => a.inputChange(l, e.field.nameChFamily),
234
- onInput: (l) => a.inputInput(l, e.field.nameChFamily),
235
+ default: s(() => [
236
+ b(D, {
237
+ onBlur: (l) => o.inputBlur(l, e.field.nameChFamily),
238
+ onFocus: (l) => o.inputFocus(l, e.field.nameChFamily),
239
+ onChange: (l) => o.inputChange(l, e.field.nameChFamily),
240
+ onInput: (l) => o.inputInput(l, e.field.nameChFamily),
235
241
  maxlength: e.maxlengthNameChFamily,
236
- modelValue: a.states.model[e.field.nameChFamily],
237
- "onUpdate:modelValue": (l) => a.states.model[e.field.nameChFamily] = l,
242
+ modelValue: o.states.model[e.field.nameChFamily],
243
+ "onUpdate:modelValue": (l) => o.states.model[e.field.nameChFamily] = l,
238
244
  readonly: e.readonly,
239
245
  type: e.type ? e.type : "text",
240
246
  placeholder: e.placeholderNameChFamily,
241
- disabled: e.disabled || a.formOptions.isDisabled,
242
- onKeyup: j((l) => a.handleKeyUp(e.enterable), ["enter"])
247
+ disabled: e.disabled || o.formOptions.isDisabled,
248
+ onKeyup: v((l) => o.handleKeyUp(e.enterable), ["enter"])
243
249
  }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
244
250
  ]),
245
251
  _: 2
246
252
  }, 1032, ["rules", "prop"]),
247
- b(p, {
248
- rules: e.isHide ? [] : e.rules.nameCh,
253
+ b(y, {
254
+ rules: e.isHide || o.noFormRule ? [] : e.rules.nameCh,
249
255
  prop: e.field.nameCh,
250
256
  class: "item-name-right"
251
257
  }, {
252
- default: n(() => [
253
- b(k, {
254
- onBlur: (l) => a.inputBlur(l, e.field.nameCh),
255
- onFocus: (l) => a.inputFocus(l, e.field.nameCh),
256
- onChange: (l) => a.inputChange(l, e.field.nameCh),
257
- onInput: (l) => a.inputInput(l, e.field.nameCh),
258
+ default: s(() => [
259
+ b(D, {
260
+ onBlur: (l) => o.inputBlur(l, e.field.nameCh),
261
+ onFocus: (l) => o.inputFocus(l, e.field.nameCh),
262
+ onChange: (l) => o.inputChange(l, e.field.nameCh),
263
+ onInput: (l) => o.inputInput(l, e.field.nameCh),
258
264
  maxlength: e.maxlengthNameCh,
259
- modelValue: a.states.model[e.field.nameCh],
260
- "onUpdate:modelValue": (l) => a.states.model[e.field.nameCh] = l,
265
+ modelValue: o.states.model[e.field.nameCh],
266
+ "onUpdate:modelValue": (l) => o.states.model[e.field.nameCh] = l,
261
267
  readonly: e.readonly,
262
268
  type: e.type ? e.type : "text",
263
269
  placeholder: e.placeholderNameCh,
264
- disabled: e.disabled || a.formOptions.isDisabled,
265
- onKeyup: j((l) => a.handleKeyUp(e.enterable), ["enter"])
270
+ disabled: e.disabled || o.formOptions.isDisabled,
271
+ onKeyup: v((l) => o.handleKeyUp(e.enterable), ["enter"])
266
272
  }, null, 8, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "readonly", "type", "placeholder", "disabled", "onKeyup"])
267
273
  ]),
268
274
  _: 2
269
275
  }, 1032, ["rules", "prop"])
270
276
  ]),
271
277
  _: 2
272
- }, 1032, ["label", "disabled"])) : e.type === "gender" ? (d(), t(p, {
278
+ }, 1032, ["label", "disabled"])) : e.type === "gender" ? (n(), c(y, {
273
279
  key: 2,
274
280
  label: e.label,
275
- rules: e.isHide ? [] : e.rules,
281
+ rules: e.isHide || o.noFormRule ? [] : e.rules,
276
282
  prop: e.field
277
283
  }, {
278
- label: n(() => [
279
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
284
+ label: s(() => [
285
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
280
286
  key: 0,
281
- style: f(e.labelStyle)
287
+ style: g(e.labelStyle)
282
288
  }, [
283
- i(c(e.label) + " ", 1),
284
- e.required ? (d(), s("span", ye, "*")) : C("", !0)
289
+ i(p(e.label) + " ", 1),
290
+ e.required ? (n(), r("span", be, "*")) : _("", !0)
285
291
  ], 4))
286
292
  ]),
287
- default: n(() => [
288
- b(w, {
289
- modelValue: a.states.model[e.field],
290
- "onUpdate:modelValue": (l) => a.states.model[e.field] = l,
291
- disabled: e.disabled || a.formOptions.isDisabled,
292
- onChange: (l) => a.radioChange(l, e.field)
293
+ default: s(() => [
294
+ b(U, {
295
+ modelValue: o.states.model[e.field],
296
+ "onUpdate:modelValue": (l) => o.states.model[e.field] = l,
297
+ disabled: e.disabled || o.formOptions.isDisabled,
298
+ onChange: (l) => o.radioChange(l, e.field)
293
299
  }, {
294
- default: n(() => {
300
+ default: s(() => {
295
301
  var l;
296
302
  return [
297
- (d(!0), s(D, null, I((l = e.options) == null ? void 0 : l.data, (o) => {
298
- var r, y;
299
- return d(), t(V, {
300
- label: o[((r = e.options) == null ? void 0 : r.valueKey) || "code"],
303
+ (n(!0), r(I, null, x((l = e.options) == null ? void 0 : l.data, (a) => {
304
+ var d, u;
305
+ return n(), c(w, {
306
+ label: a[((d = e.options) == null ? void 0 : d.valueKey) || "code"],
301
307
  size: "large",
302
- key: o[((y = e.options) == null ? void 0 : y.valueKey) || "code"]
308
+ key: a[((u = e.options) == null ? void 0 : u.valueKey) || "code"]
303
309
  }, {
304
- default: n(() => [
305
- x("img", {
306
- src: o.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
310
+ default: s(() => [
311
+ V("img", {
312
+ src: a.code === "M" ? "http://192.168.5.200:9000/test/sex_img_M.png" : "http://192.168.5.200:9000/test/sex_img_F.png",
307
313
  style: { width: "44px", height: "44px", "margin-bottom": "-15px", "margin-left": "4px" },
308
314
  alt: ""
309
- }, null, 8, be)
315
+ }, null, 8, ie)
310
316
  ]),
311
317
  _: 2
312
318
  }, 1032, ["label"]);
@@ -317,43 +323,43 @@ function we(u, h, g, a, v, q) {
317
323
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
318
324
  ]),
319
325
  _: 2
320
- }, 1032, ["label", "rules", "prop"])) : e.type === "radio" ? (d(), t(p, {
326
+ }, 1032, ["label", "rules", "prop"])) : e.type === "radio" ? (n(), c(y, {
321
327
  key: 3,
322
328
  label: e.label,
323
- rules: e.isHide ? [] : e.rules,
329
+ rules: e.isHide || o.noFormRule ? [] : e.rules,
324
330
  prop: e.field,
325
331
  class: T([e.labelNode ? "radio_Note" : "rule_err"])
326
332
  }, {
327
- label: n(() => [
328
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
333
+ label: s(() => [
334
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
329
335
  key: 0,
330
- style: f(e.labelStyle)
336
+ style: g(e.labelStyle)
331
337
  }, [
332
- i(c(e.label) + " ", 1),
333
- e.required ? (d(), s("span", ie, "*")) : C("", !0)
338
+ i(p(e.label) + " ", 1),
339
+ e.required ? (n(), r("span", he, "*")) : _("", !0)
334
340
  ], 4))
335
341
  ]),
336
- default: n(() => [
337
- b(w, {
338
- modelValue: a.states.model[e.field],
339
- "onUpdate:modelValue": (l) => a.states.model[e.field] = l,
340
- disabled: e.disabled || a.formOptions.isDisabled,
341
- onChange: (l) => a.radioChange(l, e.field)
342
+ default: s(() => [
343
+ b(U, {
344
+ modelValue: o.states.model[e.field],
345
+ "onUpdate:modelValue": (l) => o.states.model[e.field] = l,
346
+ disabled: e.disabled || o.formOptions.isDisabled,
347
+ onChange: (l) => o.radioChange(l, e.field)
342
348
  }, {
343
- default: n(() => {
349
+ default: s(() => {
344
350
  var l;
345
351
  return [
346
- (d(!0), s(D, null, I((l = e.options) == null ? void 0 : l.data, (o) => {
347
- var r, y;
348
- return d(), t(V, {
352
+ (n(!0), r(I, null, x((l = e.options) == null ? void 0 : l.data, (a) => {
353
+ var d, u;
354
+ return n(), c(w, {
349
355
  size: "large",
350
- label: o[((r = e.options) == null ? void 0 : r.valueKey) || "code"],
351
- key: o[((y = e.options) == null ? void 0 : y.valueKey) || "code"]
356
+ label: a[((d = e.options) == null ? void 0 : d.valueKey) || "code"],
357
+ key: a[((u = e.options) == null ? void 0 : u.valueKey) || "code"]
352
358
  }, {
353
- default: n(() => {
354
- var M;
359
+ default: s(() => {
360
+ var f;
355
361
  return [
356
- i(c(o[((M = e.options) == null ? void 0 : M.labelkey) || "name"]), 1)
362
+ i(p(a[((f = e.options) == null ? void 0 : f.labelkey) || "name"]), 1)
357
363
  ];
358
364
  }),
359
365
  _: 2
@@ -365,39 +371,39 @@ function we(u, h, g, a, v, q) {
365
371
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
366
372
  ]),
367
373
  _: 2
368
- }, 1032, ["label", "rules", "prop", "class"])) : e.type === "radioNote" ? (d(), t(p, {
374
+ }, 1032, ["label", "rules", "prop", "class"])) : e.type === "radioNote" ? (n(), c(y, {
369
375
  key: 4,
370
376
  label: e.label,
371
- rules: e.isHide ? [] : e.rules,
377
+ rules: e.isHide || o.noFormRule ? [] : e.rules,
372
378
  prop: e.field,
373
379
  class: T([e.labelNode ? "radio_Note" : "rule_err"])
374
380
  }, {
375
- default: n(() => [
376
- x("div", null, [
377
- x("span", he, c(e.labelBefore), 1),
378
- x("span", fe, c(e.labelNode), 1),
379
- e.required ? (d(), s("span", ge, "*")) : C("", !0)
381
+ default: s(() => [
382
+ V("div", null, [
383
+ V("span", fe, p(e.labelBefore), 1),
384
+ V("span", ge, p(e.labelNode), 1),
385
+ e.required ? (n(), r("span", Me, "*")) : _("", !0)
380
386
  ]),
381
- b(w, {
382
- modelValue: a.states.model[e.field],
383
- "onUpdate:modelValue": (l) => a.states.model[e.field] = l,
384
- disabled: e.disabled || a.formOptions.isDisabled,
385
- onChange: (l) => a.radioChange(l, e.field)
387
+ b(U, {
388
+ modelValue: o.states.model[e.field],
389
+ "onUpdate:modelValue": (l) => o.states.model[e.field] = l,
390
+ disabled: e.disabled || o.formOptions.isDisabled,
391
+ onChange: (l) => o.radioChange(l, e.field)
386
392
  }, {
387
- default: n(() => {
393
+ default: s(() => {
388
394
  var l;
389
395
  return [
390
- (d(!0), s(D, null, I((l = e.options) == null ? void 0 : l.data, (o) => {
391
- var r, y;
392
- return d(), t(V, {
396
+ (n(!0), r(I, null, x((l = e.options) == null ? void 0 : l.data, (a) => {
397
+ var d, u;
398
+ return n(), c(w, {
393
399
  size: "large",
394
- label: o[((r = e.options) == null ? void 0 : r.valueKey) || "code"],
395
- key: o[((y = e.options) == null ? void 0 : y.valueKey) || "code"]
400
+ label: a[((d = e.options) == null ? void 0 : d.valueKey) || "code"],
401
+ key: a[((u = e.options) == null ? void 0 : u.valueKey) || "code"]
396
402
  }, {
397
- default: n(() => {
398
- var M;
403
+ default: s(() => {
404
+ var f;
399
405
  return [
400
- i(c(o[((M = e.options) == null ? void 0 : M.labelkey) || "name"]), 1)
406
+ i(p(a[((f = e.options) == null ? void 0 : f.labelkey) || "name"]), 1)
401
407
  ];
402
408
  }),
403
409
  _: 2
@@ -409,44 +415,44 @@ function we(u, h, g, a, v, q) {
409
415
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])
410
416
  ]),
411
417
  _: 2
412
- }, 1032, ["label", "rules", "prop", "class"])) : e.type === "checkbox" ? (d(), t(p, {
418
+ }, 1032, ["label", "rules", "prop", "class"])) : e.type === "checkbox" ? (n(), c(y, {
413
419
  key: 5,
414
420
  label: e.label,
415
- rules: e.isHide ? [] : e.rules,
421
+ rules: e.isHide || o.noFormRule ? [] : e.rules,
416
422
  prop: e.field
417
423
  }, {
418
- label: n(() => [
419
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
424
+ label: s(() => [
425
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
420
426
  key: 0,
421
- style: f(e.labelStyle)
427
+ style: g(e.labelStyle)
422
428
  }, [
423
- i(c(e.label) + " ", 1),
424
- e.required ? (d(), s("span", Me, "*")) : C("", !0)
429
+ i(p(e.label) + " ", 1),
430
+ e.required ? (n(), r("span", _e, "*")) : _("", !0)
425
431
  ], 4))
426
432
  ]),
427
- default: n(() => [
433
+ default: s(() => [
428
434
  b(z, {
429
- modelValue: a.states.model[e.field],
430
- "onUpdate:modelValue": (l) => a.states.model[e.field] = l,
431
- onChange: (l) => a.checkChange(l, e.field),
432
- disabled: e.disabled || a.formOptions.isDisabled,
433
- style: f(
435
+ modelValue: o.states.model[e.field],
436
+ "onUpdate:modelValue": (l) => o.states.model[e.field] = l,
437
+ onChange: (l) => o.checkChange(l, e.field),
438
+ disabled: e.disabled || o.formOptions.isDisabled,
439
+ style: g(
434
440
  e.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
435
441
  )
436
442
  }, {
437
- default: n(() => {
443
+ default: s(() => {
438
444
  var l;
439
445
  return [
440
- (d(!0), s(D, null, I((l = e.options) == null ? void 0 : l.data, (o) => {
441
- var r, y;
442
- return d(), t(O, {
443
- key: o[((r = e.options) == null ? void 0 : r.valueKey) || "code"],
444
- label: o[((y = e.options) == null ? void 0 : y.valueKey) || "code"]
446
+ (n(!0), r(I, null, x((l = e.options) == null ? void 0 : l.data, (a) => {
447
+ var d, u;
448
+ return n(), c(F, {
449
+ key: a[((d = e.options) == null ? void 0 : d.valueKey) || "code"],
450
+ label: a[((u = e.options) == null ? void 0 : u.valueKey) || "code"]
445
451
  }, {
446
- default: n(() => {
447
- var M;
452
+ default: s(() => {
453
+ var f;
448
454
  return [
449
- i(c(o[((M = e.options) == null ? void 0 : M.labelkey) || "name"]), 1)
455
+ i(p(a[((f = e.options) == null ? void 0 : f.labelkey) || "name"]), 1)
450
456
  ];
451
457
  }),
452
458
  _: 2
@@ -458,44 +464,44 @@ function we(u, h, g, a, v, q) {
458
464
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
459
465
  ]),
460
466
  _: 2
461
- }, 1032, ["label", "rules", "prop"])) : e.type === "checkboxRadio" ? (d(), t(p, {
467
+ }, 1032, ["label", "rules", "prop"])) : e.type === "checkboxRadio" ? (n(), c(y, {
462
468
  key: 6,
463
469
  label: e.label,
464
- rules: e.isHide ? [] : e.rules,
470
+ rules: e.isHide || o.noFormRule ? [] : e.rules,
465
471
  prop: e.field
466
472
  }, {
467
- label: n(() => [
468
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
473
+ label: s(() => [
474
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
469
475
  key: 0,
470
- style: f(e.labelStyle)
476
+ style: g(e.labelStyle)
471
477
  }, [
472
- i(c(e.label) + " ", 1),
473
- e.required ? (d(), s("span", _e, "*")) : C("", !0)
478
+ i(p(e.label) + " ", 1),
479
+ e.required ? (n(), r("span", Ce, "*")) : _("", !0)
474
480
  ], 4))
475
481
  ]),
476
- default: n(() => [
482
+ default: s(() => [
477
483
  b(z, {
478
- modelValue: a.states.model[e.field],
479
- "onUpdate:modelValue": (l) => a.states.model[e.field] = l,
480
- onChange: (l) => a.handleCheckedChange(l, e.field),
481
- disabled: e.disabled || a.formOptions.isDisabled,
482
- style: f(
484
+ modelValue: o.states.model[e.field],
485
+ "onUpdate:modelValue": (l) => o.states.model[e.field] = l,
486
+ onChange: (l) => o.handleCheckedChange(l, e.field),
487
+ disabled: e.disabled || o.formOptions.isDisabled,
488
+ style: g(
483
489
  e.ways === "row" ? "display: flex; align-items: flex-start;flex-flow: row nowrap; " : "display: flex; align-items: flex-start;flex-flow: column nowrap; "
484
490
  )
485
491
  }, {
486
- default: n(() => {
492
+ default: s(() => {
487
493
  var l;
488
494
  return [
489
- (d(!0), s(D, null, I((l = e.options) == null ? void 0 : l.data, (o) => {
490
- var r, y;
491
- return d(), t(O, {
492
- key: o[((r = e.options) == null ? void 0 : r.valueKey) || "code"],
493
- label: o[((y = e.options) == null ? void 0 : y.valueKey) || "code"]
495
+ (n(!0), r(I, null, x((l = e.options) == null ? void 0 : l.data, (a) => {
496
+ var d, u;
497
+ return n(), c(F, {
498
+ key: a[((d = e.options) == null ? void 0 : d.valueKey) || "code"],
499
+ label: a[((u = e.options) == null ? void 0 : u.valueKey) || "code"]
494
500
  }, {
495
- default: n(() => {
496
- var M;
501
+ default: s(() => {
502
+ var f;
497
503
  return [
498
- i(c(o[((M = e.options) == null ? void 0 : M.labelkey) || "name"]), 1)
504
+ i(p(a[((f = e.options) == null ? void 0 : f.labelkey) || "name"]), 1)
499
505
  ];
500
506
  }),
501
507
  _: 2
@@ -507,107 +513,107 @@ function we(u, h, g, a, v, q) {
507
513
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "disabled", "style"])
508
514
  ]),
509
515
  _: 2
510
- }, 1032, ["label", "rules", "prop"])) : e.type === "select" ? (d(), t(p, {
516
+ }, 1032, ["label", "rules", "prop"])) : e.type === "select" ? (n(), c(y, {
511
517
  key: 7,
512
518
  label: e.label,
513
- rules: e.isHide ? [] : e.rules,
514
- disabled: e.disabled || a.formOptions.isDisabled,
519
+ rules: e.isHide || o.noFormRule ? [] : e.rules,
520
+ disabled: e.disabled || o.formOptions.isDisabled,
515
521
  prop: e.field
516
522
  }, {
517
- label: n(() => [
518
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
523
+ label: s(() => [
524
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
519
525
  key: 0,
520
- style: f(e.labelStyle)
526
+ style: g(e.labelStyle)
521
527
  }, [
522
- i(c(e.label) + " ", 1),
523
- e.required ? (d(), s("span", Ce, "*")) : C("", !0)
528
+ i(p(e.label) + " ", 1),
529
+ e.required ? (n(), r("span", Ne, "*")) : _("", !0)
524
530
  ], 4))
525
531
  ]),
526
- default: n(() => [
527
- b(A, {
528
- onChange: (l) => a.selectChange(l, e.field),
529
- modelValue: a.states.model[e.field],
530
- "onUpdate:modelValue": (l) => a.states.model[e.field] = l,
531
- disabled: e.disabled || a.formOptions.isDisabled,
532
+ default: s(() => [
533
+ b(L, {
534
+ onChange: (l) => o.selectChange(l, e.field),
535
+ modelValue: o.states.model[e.field],
536
+ "onUpdate:modelValue": (l) => o.states.model[e.field] = l,
537
+ disabled: e.disabled || o.formOptions.isDisabled,
532
538
  placeholder: e.placeholder,
533
539
  clearable: e.clearable
534
540
  }, {
535
- default: n(() => {
541
+ default: s(() => {
536
542
  var l;
537
543
  return [
538
- (d(!0), s(D, null, I((l = e.options) == null ? void 0 : l.data, (o) => {
539
- var r, y, M;
540
- return d(), t(L, {
541
- key: o[((r = e.options) == null ? void 0 : r.valueKey) || "code"],
542
- label: o[((y = e.options) == null ? void 0 : y.labelkey) || "name"],
543
- value: o[((M = e.options) == null ? void 0 : M.valueKey) || "code"]
544
+ (n(!0), r(I, null, x((l = e.options) == null ? void 0 : l.data, (a) => {
545
+ var d, u, f;
546
+ return n(), c(O, {
547
+ key: a[((d = e.options) == null ? void 0 : d.valueKey) || "code"],
548
+ label: a[((u = e.options) == null ? void 0 : u.labelkey) || "name"],
549
+ value: a[((f = e.options) == null ? void 0 : f.valueKey) || "code"]
544
550
  }, null, 8, ["label", "value"]);
545
551
  }), 128))
546
552
  ];
547
553
  }),
548
554
  _: 2
549
555
  }, 1032, ["onChange", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "clearable"]),
550
- x("div", {
556
+ V("div", {
551
557
  class: "item_tips_blow",
552
- style: f(e.tipsBlowStyle)
553
- }, c(e.tipsBlow), 5)
558
+ style: g(e.tipsBlowStyle)
559
+ }, p(e.tipsBlow), 5)
554
560
  ]),
555
561
  _: 2
556
- }, 1032, ["label", "rules", "disabled", "prop"])) : e.type === "date" ? (d(), t(p, {
562
+ }, 1032, ["label", "rules", "disabled", "prop"])) : e.type === "date" ? (n(), c(y, {
557
563
  key: 8,
558
564
  label: e.label,
559
- rules: e.isHide ? [] : e.rules,
565
+ rules: e.isHide || o.noFormRule ? [] : e.rules,
560
566
  prop: e.field
561
567
  }, {
562
- label: n(() => [
563
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
568
+ label: s(() => [
569
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
564
570
  key: 0,
565
- style: f(e.labelStyle)
571
+ style: g(e.labelStyle)
566
572
  }, [
567
- i(c(e.label) + " ", 1),
568
- e.required ? (d(), s("span", Ne, "*")) : C("", !0)
573
+ i(p(e.label) + " ", 1),
574
+ e.required ? (n(), r("span", ke, "*")) : _("", !0)
569
575
  ], 4))
570
576
  ]),
571
- default: n(() => [
572
- b(S, {
577
+ default: s(() => [
578
+ b(A, {
573
579
  format: "DD/MM/YYYY",
574
580
  "value-format": "DD/MM/YYYY",
575
581
  "disabled-date": e.disabledDate,
576
- onChange: (l) => a.dateChange(l, e.field),
577
- "prefix-icon": a.prefixIcon,
578
- modelValue: a.states.model[e.field],
579
- "onUpdate:modelValue": (l) => a.states.model[e.field] = l,
580
- disabled: e.disabled || a.formOptions.isDisabled,
582
+ onChange: (l) => o.dateChange(l, e.field),
583
+ "prefix-icon": o.prefixIcon,
584
+ modelValue: o.states.model[e.field],
585
+ "onUpdate:modelValue": (l) => o.states.model[e.field] = l,
586
+ disabled: e.disabled || o.formOptions.isDisabled,
581
587
  readonly: e.readonly,
582
588
  type: e.type,
583
589
  placeholder: e.placeholder || e.label
584
590
  }, null, 8, ["disabled-date", "onChange", "prefix-icon", "modelValue", "onUpdate:modelValue", "disabled", "readonly", "type", "placeholder"])
585
591
  ]),
586
592
  _: 2
587
- }, 1032, ["label", "rules", "prop"])) : e.type === "daterange" ? (d(), t(p, {
593
+ }, 1032, ["label", "rules", "prop"])) : e.type === "daterange" ? (n(), c(y, {
588
594
  key: 9,
589
595
  label: e.label,
590
- rules: e.isHide ? [] : e.rules,
596
+ rules: e.isHide || o.noFormRule ? [] : e.rules,
591
597
  prop: e.field
592
598
  }, {
593
- label: n(() => [
594
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
599
+ label: s(() => [
600
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
595
601
  key: 0,
596
- style: f(e.labelStyle)
602
+ style: g(e.labelStyle)
597
603
  }, [
598
- i(c(e.label) + " ", 1),
599
- e.required ? (d(), s("span", ke, "*")) : C("", !0)
604
+ i(p(e.label) + " ", 1),
605
+ e.required ? (n(), r("span", De, "*")) : _("", !0)
600
606
  ], 4))
601
607
  ]),
602
- default: n(() => [
603
- b(S, {
608
+ default: s(() => [
609
+ b(A, {
604
610
  format: "DD/MM/YYYY",
605
611
  "value-format": "DD/MM/YYYY",
606
612
  "disabled-date": e.disabledDate,
607
- onChange: (l) => a.dateChange(l, e.field),
608
- modelValue: a.states.model[e.field],
609
- "onUpdate:modelValue": (l) => a.states.model[e.field] = l,
610
- "prefix-icon": a.prefixIcon,
613
+ onChange: (l) => o.dateChange(l, e.field),
614
+ modelValue: o.states.model[e.field],
615
+ "onUpdate:modelValue": (l) => o.states.model[e.field] = l,
616
+ "prefix-icon": o.prefixIcon,
611
617
  type: "daterange",
612
618
  "range-separator": "To",
613
619
  "start-placeholder": e.startPlaceholder,
@@ -616,72 +622,72 @@ function we(u, h, g, a, v, q) {
616
622
  }, null, 8, ["disabled-date", "onChange", "modelValue", "onUpdate:modelValue", "prefix-icon", "start-placeholder", "end-placeholder"])
617
623
  ]),
618
624
  _: 2
619
- }, 1032, ["label", "rules", "prop"])) : e.type === "slotItem" ? (d(), t(p, {
625
+ }, 1032, ["label", "rules", "prop"])) : e.type === "slotItem" ? (n(), c(y, {
620
626
  key: 10,
621
627
  label: e.label,
622
- rules: e.isHide ? [] : e.rules,
628
+ rules: e.isHide || o.noFormRule ? [] : e.rules,
623
629
  prop: e.field,
624
630
  class: "rule_err"
625
631
  }, {
626
- label: n(() => [
627
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
632
+ label: s(() => [
633
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
628
634
  key: 0,
629
- style: f(e.labelStyle)
635
+ style: g(e.labelStyle)
630
636
  }, [
631
- i(c(e.label) + " ", 1),
632
- e.required ? (d(), s("span", De, "*")) : C("", !0)
637
+ i(p(e.label) + " ", 1),
638
+ e.required ? (n(), r("span", Ie, "*")) : _("", !0)
633
639
  ], 4))
634
640
  ]),
635
- default: n(() => [
636
- N(u.$slots, e.slotItemName, {}, void 0, !0)
641
+ default: s(() => [
642
+ C(t.$slots, e.slotItemName, {}, void 0, !0)
637
643
  ]),
638
644
  _: 2
639
- }, 1032, ["label", "rules", "prop"])) : e.type === "phone" ? (d(), t(p, {
645
+ }, 1032, ["label", "rules", "prop"])) : e.type === "phone" ? (n(), c(y, {
640
646
  key: 11,
641
647
  label: e.label,
642
- rules: e.isHide ? [] : e.rules.phoneNumber,
648
+ rules: e.isHide || o.noFormRule ? [] : e.rules.phoneNumber,
643
649
  prop: e.field.phoneNumber,
644
650
  class: "phone_item"
645
651
  }, {
646
- label: n(() => [
647
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
652
+ label: s(() => [
653
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
648
654
  key: 0,
649
- style: f(e.labelStyle)
655
+ style: g(e.labelStyle)
650
656
  }, [
651
- i(c(e.label) + " ", 1),
652
- e.required ? (d(), s("span", Ie, "*")) : C("", !0)
657
+ i(p(e.label) + " ", 1),
658
+ e.required ? (n(), r("span", xe, "*")) : _("", !0)
653
659
  ], 4))
654
660
  ]),
655
- default: n(() => [
656
- b(k, {
657
- onBlur: (l) => a.inputBlur(l, e.field),
658
- onFocus: (l) => a.inputFocus(l, e.field),
659
- onChange: (l) => a.inputChange(l, e.field),
660
- onInput: (l) => a.inputInput(l, e.field),
661
+ default: s(() => [
662
+ b(D, {
663
+ onBlur: (l) => o.inputBlur(l, e.field),
664
+ onFocus: (l) => o.inputFocus(l, e.field),
665
+ onChange: (l) => o.inputChange(l, e.field),
666
+ onInput: (l) => o.inputInput(l, e.field),
661
667
  maxlength: e.maxlength,
662
- modelValue: a.states.model[e.field.phoneNumber],
663
- "onUpdate:modelValue": (l) => a.states.model[e.field.phoneNumber] = l,
664
- disabled: e.disabled || a.formOptions.isDisabled,
668
+ modelValue: o.states.model[e.field.phoneNumber],
669
+ "onUpdate:modelValue": (l) => o.states.model[e.field.phoneNumber] = l,
670
+ disabled: e.disabled || o.formOptions.isDisabled,
665
671
  placeholder: e.placeholder || "请选择",
666
672
  clearable: e.clearable
667
673
  }, {
668
- prepend: n(() => {
674
+ prepend: s(() => {
669
675
  var l;
670
676
  return [
671
- b(A, {
672
- disabled: e.disabled || a.formOptions.isDisabled,
673
- modelValue: a.states.model[e.field.areaCode],
674
- "onUpdate:modelValue": (o) => a.states.model[e.field.areaCode] = o,
677
+ b(L, {
678
+ disabled: e.disabled || o.formOptions.isDisabled,
679
+ modelValue: o.states.model[e.field.areaCode],
680
+ "onUpdate:modelValue": (a) => o.states.model[e.field.areaCode] = a,
675
681
  placeholder: ((l = e.options) == null ? void 0 : l.placeholder) || "请选择",
676
682
  style: { width: "115px" }
677
683
  }, {
678
- default: n(() => {
679
- var o;
684
+ default: s(() => {
685
+ var a;
680
686
  return [
681
- (d(!0), s(D, null, I((o = e.options) == null ? void 0 : o.data, (r, y) => (d(), t(L, {
682
- label: r.name,
683
- value: r.code,
684
- key: y
687
+ (n(!0), r(I, null, x((a = e.options) == null ? void 0 : a.data, (d, u) => (n(), c(O, {
688
+ label: d.name,
689
+ value: d.code,
690
+ key: u
685
691
  }, null, 8, ["label", "value"]))), 128))
686
692
  ];
687
693
  }),
@@ -693,58 +699,58 @@ function we(u, h, g, a, v, q) {
693
699
  }, 1032, ["onBlur", "onFocus", "onChange", "onInput", "maxlength", "modelValue", "onUpdate:modelValue", "disabled", "placeholder", "clearable"])
694
700
  ]),
695
701
  _: 2
696
- }, 1032, ["label", "rules", "prop"])) : e.type === "line" ? (d(), t(p, {
702
+ }, 1032, ["label", "rules", "prop"])) : e.type === "line" ? (n(), c(y, {
697
703
  key: 12,
698
704
  label: e.label
699
705
  }, {
700
- default: n(() => [
701
- xe
706
+ default: s(() => [
707
+ Ve
702
708
  ]),
703
709
  _: 2
704
- }, 1032, ["label"])) : (d(), t(p, {
710
+ }, 1032, ["label"])) : (n(), c(y, {
705
711
  key: 13,
706
- rules: e.isHide ? [] : e.rules,
712
+ rules: e.isHide || o.noFormRule ? [] : e.rules,
707
713
  prop: e.field,
708
714
  class: T(e.prepend ? "input-item" : "")
709
715
  }, {
710
- label: n(() => [
711
- e.slotLabelName ? N(u.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (d(), s("div", {
716
+ label: s(() => [
717
+ e.slotLabelName ? C(t.$slots, e.slotLabelName, { key: 1 }, void 0, !0) : (n(), r("div", {
712
718
  key: 0,
713
- style: f(e.labelStyle)
719
+ style: g(e.labelStyle)
714
720
  }, [
715
- i(c(e.label) + " ", 1),
716
- e.required ? (d(), s("span", Ve, "*")) : C("", !0)
721
+ i(p(e.label) + " ", 1),
722
+ e.required ? (n(), r("span", we, "*")) : _("", !0)
717
723
  ], 4))
718
724
  ]),
719
- default: n(() => [
720
- b(k, {
721
- onBlur: (l) => a.inputBlur(l, e.field),
722
- onFocus: (l) => a.inputFocus(l, e.field),
723
- onChange: (l) => a.inputChange(l, e.field),
724
- onInput: (l) => a.inputInput(l, e.field),
725
+ default: s(() => [
726
+ b(D, {
727
+ onBlur: (l) => o.inputBlur(l, e.field),
728
+ onFocus: (l) => o.inputFocus(l, e.field),
729
+ onChange: (l) => o.inputChange(l, e.field),
730
+ onInput: (l) => o.inputInput(l, e.field),
725
731
  maxlength: e.maxlength,
726
- modelValue: a.states.model[e.field],
727
- "onUpdate:modelValue": (l) => a.states.model[e.field] = l,
732
+ modelValue: o.states.model[e.field],
733
+ "onUpdate:modelValue": (l) => o.states.model[e.field] = l,
728
734
  "show-word-limit": e.showWordLimit,
729
735
  readonly: e.readonly,
730
736
  type: e.type ? e.type : "text",
731
737
  placeholder: e.placeholder || e.label,
732
- disabled: e.disabled || a.formOptions.isDisabled,
738
+ disabled: e.disabled || o.formOptions.isDisabled,
733
739
  showPassword: e.showPassword,
734
740
  clearable: e.clearable,
735
- onKeyup: j((l) => a.handleKeyUp(e.enterable), ["enter"])
736
- }, le({ _: 2 }, [
741
+ onKeyup: v((l) => o.handleKeyUp(e.enterable), ["enter"])
742
+ }, oe({ _: 2 }, [
737
743
  e.prepend ? {
738
744
  name: "prepend",
739
- fn: n(() => [
740
- i(c(e.prepend), 1)
745
+ fn: s(() => [
746
+ i(p(e.prepend), 1)
741
747
  ]),
742
748
  key: "0"
743
749
  } : void 0,
744
750
  e.append ? {
745
751
  name: "append",
746
- fn: n(() => [
747
- i(c(e.append), 1)
752
+ fn: s(() => [
753
+ i(p(e.append), 1)
748
754
  ]),
749
755
  key: "1"
750
756
  } : void 0
@@ -761,20 +767,21 @@ function we(u, h, g, a, v, q) {
761
767
  ]),
762
768
  _: 3
763
769
  }),
764
- b(p, { class: "btnsItem" }, {
765
- default: n(() => [
766
- N(u.$slots, "buttons", {
767
- model: g.model,
768
- onBtnClick: a.onSubmit
770
+ b(y, { class: "btnsItem" }, {
771
+ default: s(() => [
772
+ C(t.$slots, "buttons", {
773
+ model: k.model,
774
+ onBtnClick: o.onSubmit
769
775
  }, () => [
770
- (d(!0), s(D, null, I(a.formOptions.btnConfig, (e, U) => (d(), s("div", { key: U }, [
771
- e.isShow ? (d(), t(B, {
776
+ (n(!0), r(I, null, x(o.formOptions.btnConfig, (e, j) => (n(), r("div", { key: j }, [
777
+ e.isShow ? (n(), c(B, {
772
778
  key: 0,
773
779
  btnCode: e.btnCode,
774
780
  plain: e.plain,
775
781
  primary: e.primary,
776
782
  info: e.info,
777
783
  text: e.text,
784
+ debounced: e.debounced ? e.debounced : !1,
778
785
  link: e.link,
779
786
  loading: e.loading,
780
787
  loadingColor: e.loadingColor,
@@ -790,15 +797,15 @@ function we(u, h, g, a, v, q) {
790
797
  size: e.size,
791
798
  fontSize: e.fontSize,
792
799
  fontWeight: e.fontWeight,
793
- styleObj: { ...e.style },
800
+ style: g(e.style),
794
801
  class: T(e.class),
795
- onHandleClick: (l) => a.handleClick(l, e.isRule, e.emitName)
802
+ onHandleClick: (l) => o.handleClick(l, e.isRule, e.emitName)
796
803
  }, {
797
- default: n(() => [
798
- i(c(e.name), 1)
804
+ default: s(() => [
805
+ i(p(e.name), 1)
799
806
  ]),
800
807
  _: 2
801
- }, 1032, ["btnCode", "plain", "primary", "info", "text", "link", "loading", "loadingColor", "width", "height", "circle", "color", "bgColor", "borderColor", "borderStyle", "borderWidth", "icon", "size", "fontSize", "fontWeight", "styleObj", "class", "onHandleClick"])) : C("", !0)
808
+ }, 1032, ["btnCode", "plain", "primary", "info", "text", "debounced", "link", "loading", "loadingColor", "width", "height", "circle", "color", "bgColor", "borderColor", "borderStyle", "borderWidth", "icon", "size", "fontSize", "fontWeight", "style", "class", "onHandleClick"])) : _("", !0)
802
809
  ]))), 128))
803
810
  ], !0)
804
811
  ]),
@@ -808,11 +815,11 @@ function we(u, h, g, a, v, q) {
808
815
  _: 3
809
816
  }, 16, ["model", "label-position"]);
810
817
  }
811
- const H = /* @__PURE__ */ re(se, [["render", we], ["__scopeId", "data-v-25adf89a"]]);
812
- function Y(u, h = {}) {
813
- Y.installed || (Y.installed = !0, u.component("common-el-form", H));
818
+ const R = /* @__PURE__ */ ue(re, [["render", Ue], ["__scopeId", "data-v-03397e4e"]]);
819
+ function Y(t, h = {}) {
820
+ Y.installed || (Y.installed = !0, t.component("common-el-form", R));
814
821
  }
815
- H.install = Y;
822
+ R.install = Y;
816
823
  export {
817
- H as default
824
+ R as default
818
825
  };