@dinert/element-plus 1.1.27 → 1.1.28
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/dist/element-plus.umd.js +2 -2
- package/dist/element-plus.umd.js.map +1 -1
- package/es/packages/components/form/src/index.mjs +105 -103
- package/es/packages/components/form/src/index.mjs.map +1 -1
- package/es/packages/components/form/utils/index.mjs +38 -34
- package/es/packages/components/form/utils/index.mjs.map +1 -1
- package/es/src/components/form/types/index.d.ts +2 -2
- package/es/style.css +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/src/components/form/types/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as R, toRefs as C, ref as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as R, toRefs as C, ref as y, onBeforeUpdate as F, computed as I, createVNode as t, resolveComponent as i, mergeProps as h, withModifiers as T, Fragment as S, isVNode as x, nextTick as _ } from "vue";
|
|
2
|
+
import L from "./input.mjs";
|
|
3
3
|
import U from "./input-number.mjs";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
4
|
+
import q from "./input-autocomplete.mjs";
|
|
5
|
+
import $ from "./select.mjs";
|
|
6
|
+
import A from "./select-v2.mjs";
|
|
7
|
+
import B from "./switch.mjs";
|
|
8
8
|
import M from "./date.mjs";
|
|
9
9
|
import V from "./radio.mjs";
|
|
10
10
|
import j from "./tree-select.mjs";
|
|
@@ -15,7 +15,7 @@ import N from "./slider.mjs";
|
|
|
15
15
|
import P from "./time-picker.mjs";
|
|
16
16
|
import z from "./time-select.mjs";
|
|
17
17
|
import H from "../../../hooks/useWindowResize.mjs";
|
|
18
|
-
import { customPlaceholder as v, labelMouseEnter as W, getTooltipValue as G, valueMouseEnter as J, getSpanValue as K, formItemSlot as g, renderSlot as
|
|
18
|
+
import { customPlaceholder as v, labelMouseEnter as W, getTooltipValue as G, valueMouseEnter as J, getSpanValue as K, formItemSlot as g, renderSlot as m } from "../utils/index.mjs";
|
|
19
19
|
import { getUuid as Q, dataTransformRod as X } from "../../../utils/tools.mjs";
|
|
20
20
|
import { ArrowUp as Y, ArrowDown as Z } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
21
21
|
import "../../../assets/scss/dinert-form.scss.mjs";
|
|
@@ -39,39 +39,39 @@ const Ce = /* @__PURE__ */ R({
|
|
|
39
39
|
emit: e
|
|
40
40
|
}) {
|
|
41
41
|
const {
|
|
42
|
-
form:
|
|
43
|
-
} = C(u), l =
|
|
44
|
-
|
|
45
|
-
},
|
|
42
|
+
form: a
|
|
43
|
+
} = C(u), l = y(a.value.packUp === void 0), p = y(!1), b = y(), f = y({}), d = (n, o) => {
|
|
44
|
+
f.value[n] = o;
|
|
45
|
+
}, k = y("form_" + Q());
|
|
46
46
|
F(() => {
|
|
47
|
-
|
|
47
|
+
f.value = {};
|
|
48
48
|
});
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
return Object.keys(
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
...
|
|
55
|
-
key:
|
|
49
|
+
const r = I(() => {
|
|
50
|
+
const n = [];
|
|
51
|
+
return Object.keys(a.value.formItem).forEach((o) => {
|
|
52
|
+
const c = a.value.formItem[o];
|
|
53
|
+
n.push({
|
|
54
|
+
...c,
|
|
55
|
+
key: o
|
|
56
56
|
});
|
|
57
|
-
}),
|
|
58
|
-
}),
|
|
59
|
-
let
|
|
60
|
-
|
|
61
|
-
const
|
|
62
|
-
|
|
57
|
+
}), n.sort((o, c) => (o.sort || 1 / 0) - (c.sort || 1 / 0)), n;
|
|
58
|
+
}), s = () => {
|
|
59
|
+
let n = document.querySelectorAll(`.${k.value} .el-form-left > div`);
|
|
60
|
+
n[0] && (p.value = !1, _(() => {
|
|
61
|
+
const o = n[0].getBoundingClientRect().top, c = n[n.length - 1].getBoundingClientRect().top;
|
|
62
|
+
o !== c ? p.value = !0 : (l.value || (l.value = !0), p.value = !1), n = null;
|
|
63
63
|
}));
|
|
64
64
|
};
|
|
65
65
|
return H(() => {
|
|
66
|
-
|
|
66
|
+
s();
|
|
67
67
|
}, 100, !0), {
|
|
68
|
-
formItemMap:
|
|
69
|
-
formClass:
|
|
70
|
-
formTypeRef:
|
|
71
|
-
formRef:
|
|
68
|
+
formItemMap: r,
|
|
69
|
+
formClass: k,
|
|
70
|
+
formTypeRef: f,
|
|
71
|
+
formRef: b,
|
|
72
72
|
packUp: l,
|
|
73
|
-
isArrow:
|
|
74
|
-
setFormTypeRefs:
|
|
73
|
+
isArrow: p,
|
|
74
|
+
setFormTypeRefs: d,
|
|
75
75
|
unfold: () => {
|
|
76
76
|
l.value ? l.value = !1 : l.value = !0, e("UnFold", l.value);
|
|
77
77
|
}
|
|
@@ -79,7 +79,7 @@ const Ce = /* @__PURE__ */ R({
|
|
|
79
79
|
},
|
|
80
80
|
render() {
|
|
81
81
|
let u;
|
|
82
|
-
return
|
|
82
|
+
return t(i("el-form"), h({
|
|
83
83
|
inline: !0
|
|
84
84
|
}, this.form, {
|
|
85
85
|
ref: (e) => {
|
|
@@ -90,27 +90,29 @@ const Ce = /* @__PURE__ */ R({
|
|
|
90
90
|
}, ["stop", "prevent"]),
|
|
91
91
|
key: this.form.key
|
|
92
92
|
}), {
|
|
93
|
-
default: () => [
|
|
93
|
+
default: () => [t(i("el-row"), h(this.form.row, {
|
|
94
94
|
class: "el-form-left"
|
|
95
95
|
}), ee(u = this.formItemMap.map((e) => {
|
|
96
|
-
const
|
|
96
|
+
const a = {};
|
|
97
97
|
let l = typeof e.vif == "function" ? e.vif(this.form.model) : e.vif;
|
|
98
98
|
l = l === void 0 && typeof this.form.vif == "function" ? this.form.vif(this.form.model) : l, l = l === void 0 ? !0 : l;
|
|
99
|
-
let
|
|
100
|
-
if (
|
|
99
|
+
let p = typeof e.show == "function" ? e.show(this.form.model) : e.show;
|
|
100
|
+
if (p = p === void 0 ? !0 : p, e.options = {
|
|
101
101
|
placeholder: v(typeof e.label == "function" ? e.label(this.form.model) : e.label, e.type),
|
|
102
102
|
...e.options
|
|
103
|
-
},
|
|
104
|
-
|
|
105
|
-
let
|
|
106
|
-
|
|
103
|
+
}, p || (a.display = "none"), l) {
|
|
104
|
+
const b = typeof this.form.showLabel == "function" ? this.form.showLabel(this.form.model) : this.form.showLabel;
|
|
105
|
+
let f = typeof e.showLabel == "function" ? e.showLabel(this.form.model) : e.showLabel;
|
|
106
|
+
e.required = e.required === void 0 ? e.required || this.form.required : e.required, f = f === void 0 ? f || b : f, e.required = f ? !1 : e.required;
|
|
107
|
+
let d = e.rules || [];
|
|
108
|
+
d = e.required ? [{
|
|
107
109
|
required: !0,
|
|
108
110
|
trigger: ["blur", "change"],
|
|
109
111
|
message: v(typeof e.label == "function" ? e.label(this.form.model) : e.label, e.type)
|
|
110
|
-
}].concat(
|
|
111
|
-
const
|
|
112
|
-
return
|
|
113
|
-
style:
|
|
112
|
+
}].concat(d) : d, d = f ? [] : d;
|
|
113
|
+
const k = f ? !0 : e.tempValueDisabled;
|
|
114
|
+
return t(i("el-col"), h({
|
|
115
|
+
style: a,
|
|
114
116
|
class: [e.type, e.key],
|
|
115
117
|
key: e.key
|
|
116
118
|
}, {
|
|
@@ -122,115 +124,115 @@ const Ce = /* @__PURE__ */ R({
|
|
|
122
124
|
...this.form.colLayout,
|
|
123
125
|
...e.colLayout
|
|
124
126
|
}), {
|
|
125
|
-
default: () => [
|
|
127
|
+
default: () => [t(i("el-form-item"), h({
|
|
126
128
|
key: e.key,
|
|
127
129
|
prop: e.key,
|
|
128
|
-
class: [e.labelWrap ? "label-wrap" : "",
|
|
130
|
+
class: [e.labelWrap ? "label-wrap" : "", f ? "show-label" : ""]
|
|
129
131
|
}, {
|
|
130
132
|
...e,
|
|
131
133
|
label: typeof e.label == "function" ? e.label(this.form.model) : e.label,
|
|
132
|
-
rules:
|
|
134
|
+
rules: d
|
|
133
135
|
}), {
|
|
134
|
-
label: () =>
|
|
136
|
+
label: () => t(i("dinert-tooltip"), {
|
|
135
137
|
key: e.key,
|
|
136
138
|
content: typeof e.label == "function" ? e.label(this.form.model) : e.label,
|
|
137
139
|
disabled: e.labelDisabled,
|
|
138
|
-
onLabelMouseEnter: (
|
|
140
|
+
onLabelMouseEnter: (r) => W(r, e, this)
|
|
139
141
|
}, null),
|
|
140
|
-
default: () =>
|
|
142
|
+
default: () => t(i("dinert-tooltip"), {
|
|
141
143
|
key: e.key,
|
|
142
144
|
content: String(G(this.form.model[e.key], e)),
|
|
143
|
-
disabled:
|
|
145
|
+
disabled: k,
|
|
144
146
|
item: e,
|
|
145
|
-
onLabelMouseEnter: (
|
|
147
|
+
onLabelMouseEnter: (r) => J(r, e, this.form.model[e.key], this)
|
|
146
148
|
}, {
|
|
147
149
|
// eslint-disable-next-line max-statements
|
|
148
150
|
default: () => {
|
|
149
|
-
var
|
|
150
|
-
const
|
|
151
|
-
let s =
|
|
151
|
+
var w, n;
|
|
152
|
+
const r = {};
|
|
153
|
+
let s = t("span", null, [X(K(this.form.model[e.key], e))]);
|
|
152
154
|
if (this.$slots[g(e.key)])
|
|
153
|
-
s = (
|
|
155
|
+
s = (n = (w = this.$slots)[g(e.key)]) == null ? void 0 : n.call(w, {
|
|
154
156
|
...e,
|
|
155
157
|
model: this.form.model
|
|
156
158
|
});
|
|
157
159
|
else {
|
|
158
|
-
if (
|
|
160
|
+
if (f || b && [!0, void 0].includes(f))
|
|
159
161
|
return s;
|
|
160
|
-
["input", "textarea"].includes(e.type) ? (
|
|
162
|
+
["input", "textarea"].includes(e.type) ? (m(["prefix", "suffix", "prepend", "append"], this, r, e), s = t(L, {
|
|
161
163
|
form: this.form,
|
|
162
164
|
formItem: e,
|
|
163
|
-
ref: (
|
|
164
|
-
},
|
|
165
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
166
|
+
}, r)) : ["input-number"].includes(e.type) ? (m(["decrease-icon", "increase-icon"], this, r, e), s = t(U, {
|
|
165
167
|
form: this.form,
|
|
166
168
|
formItem: e,
|
|
167
|
-
ref: (
|
|
168
|
-
},
|
|
169
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
170
|
+
}, r)) : ["input-autocomplete"].includes(e.type) ? (m(["prefix", "suffix", "prepend", "append", "loading"], this, r, e), s = t(q, {
|
|
169
171
|
form: this.form,
|
|
170
172
|
formItem: e,
|
|
171
|
-
ref: (
|
|
172
|
-
},
|
|
173
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
174
|
+
}, r)) : ["select"].includes(e.type) ? (m(["header", "footer", "prefix", "empty", "tag", "loading", "label"], this, r, e), s = t($, {
|
|
173
175
|
form: this.form,
|
|
174
176
|
formItem: e,
|
|
175
|
-
ref: (
|
|
176
|
-
},
|
|
177
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
178
|
+
}, r)) : ["select-v2"].includes(e.type) ? (m(["header", "footer", "prefix", "empty", "tag", "loading", "label"], this, r, e), s = t(A, {
|
|
177
179
|
form: this.form,
|
|
178
180
|
formItem: e,
|
|
179
|
-
ref: (
|
|
180
|
-
},
|
|
181
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
182
|
+
}, r)) : ["switch"].includes(e.type) ? (m(["active-action", "inactive-action"], this, r, e), s = t(B, {
|
|
181
183
|
form: this.form,
|
|
182
184
|
formItem: e,
|
|
183
|
-
ref: (
|
|
184
|
-
},
|
|
185
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
186
|
+
}, r)) : ["datetime", "date", "dates", "week", "month", "year", "years", "datetimerange", "daterange", "monthrange", "yearrange"].includes(e.type) ? (m(["range-separator", "prev-month", "next-month", "prev-year", "next-year"], this, r, e), s = t(M, {
|
|
185
187
|
form: this.form,
|
|
186
188
|
formItem: e,
|
|
187
|
-
ref: (
|
|
188
|
-
},
|
|
189
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
190
|
+
}, r)) : ["radio", "radio-button"].includes(e.type) ? s = t(V, {
|
|
189
191
|
form: this.form,
|
|
190
192
|
formItem: e,
|
|
191
|
-
ref: (
|
|
192
|
-
},
|
|
193
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
194
|
+
}, r) : ["tree-select"].includes(e.type) ? (m(["header", "footer", "prefix", "empty", "tag", "loading", "label"], this, r, e), s = t(j, {
|
|
193
195
|
form: this.form,
|
|
194
196
|
formItem: e,
|
|
195
|
-
ref: (
|
|
196
|
-
},
|
|
197
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
198
|
+
}, r)) : ["rate"].includes(e.type) ? s = t(D, {
|
|
197
199
|
form: this.form,
|
|
198
200
|
formItem: e,
|
|
199
|
-
ref: (
|
|
200
|
-
},
|
|
201
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
202
|
+
}, r) : ["checkbox", "checkbox-button"].includes(e.type) ? s = t(E, {
|
|
201
203
|
form: this.form,
|
|
202
204
|
formItem: e,
|
|
203
|
-
ref: (
|
|
204
|
-
},
|
|
205
|
-
ref: (
|
|
205
|
+
ref: (o) => this.setFormTypeRefs(e.key, o)
|
|
206
|
+
}, r) : ["cascader"].includes(e.type) ? (m(["empty"], this, r, e), s = t(O, {
|
|
207
|
+
ref: (o) => this.setFormTypeRefs(e.key, o),
|
|
206
208
|
form: this.form,
|
|
207
209
|
formItem: e
|
|
208
|
-
},
|
|
209
|
-
ref: (
|
|
210
|
+
}, r)) : ["slider"].includes(e.type) ? s = t(N, {
|
|
211
|
+
ref: (o) => this.setFormTypeRefs(e.key, o),
|
|
210
212
|
form: this.form,
|
|
211
213
|
formItem: e
|
|
212
|
-
},
|
|
213
|
-
ref: (
|
|
214
|
+
}, r) : ["time-picker"].includes(e.type) ? s = t(P, {
|
|
215
|
+
ref: (o) => this.setFormTypeRefs(e.key, o),
|
|
214
216
|
form: this.form,
|
|
215
217
|
formItem: e
|
|
216
|
-
},
|
|
217
|
-
ref: (
|
|
218
|
+
}, r) : ["time-select"].includes(e.type) && (s = t(z, {
|
|
219
|
+
ref: (o) => this.setFormTypeRefs(e.key, o),
|
|
218
220
|
form: this.form,
|
|
219
221
|
formItem: e
|
|
220
|
-
},
|
|
222
|
+
}, r));
|
|
221
223
|
}
|
|
222
224
|
return s;
|
|
223
225
|
},
|
|
224
226
|
defaultAfter: () => {
|
|
225
|
-
var
|
|
226
|
-
return (s = (
|
|
227
|
+
var r, s;
|
|
228
|
+
return (s = (r = this.$slots)[g("after_" + e.key)]) == null ? void 0 : s.call(r, {
|
|
227
229
|
...e,
|
|
228
230
|
model: this.form.model
|
|
229
231
|
});
|
|
230
232
|
},
|
|
231
233
|
defaultBefore: () => {
|
|
232
|
-
var
|
|
233
|
-
return (s = (
|
|
234
|
+
var r, s;
|
|
235
|
+
return (s = (r = this.$slots)[g("before_" + e.key)]) == null ? void 0 : s.call(r, {
|
|
234
236
|
...e,
|
|
235
237
|
model: this.form.model
|
|
236
238
|
});
|
|
@@ -241,21 +243,21 @@ const Ce = /* @__PURE__ */ R({
|
|
|
241
243
|
}
|
|
242
244
|
})) ? u : {
|
|
243
245
|
default: () => [u]
|
|
244
|
-
}), this.search &&
|
|
246
|
+
}), this.search && t(i("el-row"), {
|
|
245
247
|
class: ["el-form-right", this.isArrow ? "isArrow" : ""]
|
|
246
248
|
}, {
|
|
247
249
|
default: () => {
|
|
248
|
-
var e,
|
|
249
|
-
return [this.isArrow &&
|
|
250
|
+
var e, a;
|
|
251
|
+
return [this.isArrow && t(i("el-button"), {
|
|
250
252
|
class: "el-form-right-operation",
|
|
251
253
|
text: !0,
|
|
252
254
|
type: "primary",
|
|
253
255
|
onClick: this.unfold
|
|
254
256
|
}, {
|
|
255
|
-
default: () => [
|
|
256
|
-
default: () => [this.packUp ?
|
|
257
|
+
default: () => [t(i("el-icon"), null, {
|
|
258
|
+
default: () => [this.packUp ? t(Y, null, null) : t(Z, null, null)]
|
|
257
259
|
}), this.packUp ? "收起" : "展开"]
|
|
258
|
-
}), ((
|
|
260
|
+
}), ((a = (e = this.$slots).form_search) == null ? void 0 : a.call(e)) || t(S, null, [t(i("el-button"), h({
|
|
259
261
|
type: "primary",
|
|
260
262
|
onClick: () => this.$emit("SearchFn")
|
|
261
263
|
}, this.form.searchButton), {
|
|
@@ -263,7 +265,7 @@ const Ce = /* @__PURE__ */ R({
|
|
|
263
265
|
var l;
|
|
264
266
|
return [((l = this.form.searchButton) == null ? void 0 : l.message) || "搜索"];
|
|
265
267
|
}
|
|
266
|
-
}),
|
|
268
|
+
}), t(i("el-button"), h({
|
|
267
269
|
type: "primary",
|
|
268
270
|
plain: !0,
|
|
269
271
|
onClick: () => this.$emit("ResetFn")
|
|
@@ -274,12 +276,12 @@ const Ce = /* @__PURE__ */ R({
|
|
|
274
276
|
}
|
|
275
277
|
})])];
|
|
276
278
|
}
|
|
277
|
-
}), this.$slots.form_search_operations &&
|
|
279
|
+
}), this.$slots.form_search_operations && t(i("el-row"), {
|
|
278
280
|
class: "el-form-right-after"
|
|
279
281
|
}, {
|
|
280
282
|
default: () => {
|
|
281
|
-
var e,
|
|
282
|
-
return [(
|
|
283
|
+
var e, a;
|
|
284
|
+
return [(a = (e = this.$slots).form_search_operations) == null ? void 0 : a.call(e)];
|
|
283
285
|
}
|
|
284
286
|
})]
|
|
285
287
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../packages/components/form/src/index.tsx"],"sourcesContent":["import {defineComponent, ref, computed, nextTick, toRefs, onBeforeUpdate, withModifiers} from 'vue'\nimport CustomInput from './input'\nimport CustomInputNumber from './input-number'\nimport CustomInputAutocomplete from './input-autocomplete'\nimport CustomSelect from './select'\nimport CustomSelectV2 from './select-v2'\nimport CustomSwitch from './switch'\nimport CustomDate from './date'\nimport CustomRadio from './radio'\nimport CustomSelectTree from './tree-select'\nimport CustomRate from './rate'\nimport CustomCheckbox from './checkbox'\nimport CustomCascader from './cascader'\nimport CustomSlider from './slider'\nimport CustomTimePicker from './time-picker'\nimport CustomTimeSelect from './time-select'\n\nimport useWindowResize from '@packages/hooks/useWindowResize'\nimport {labelMouseEnter, valueMouseEnter, getTooltipValue, getSpanValue, formItemSlot, customPlaceholder, renderSlot} from '@packages/components/form/utils'\n\nimport {dataTransformRod, getUuid} from '@packages/utils/tools'\nimport {ElForm} from 'element-plus'\n\nimport {ArrowUp, ArrowDown} from '@element-plus/icons-vue'\n\n\nimport '@packages/assets/scss/dinert-form.scss'\n\nimport type {PropType} from 'vue'\nimport type {RewriteFormProps, CustomFormItemProps} from '@packages/components/form/types'\n\n// 展开还是收起状态\nexport default defineComponent({\n name: 'dinert-form',\n props: {\n form: {\n type: Object as PropType<RewriteFormProps>,\n default: () => ({})\n },\n search: {\n type: Boolean,\n default: true\n }\n },\n emits: ['UnFold', 'SearchFn', 'ResetFn'],\n setup(props, {emit}) {\n const {form} = toRefs(props)\n const packUp = ref(form.value.packUp === undefined)\n const isArrow = ref(false)\n const formRef = ref<InstanceType<typeof ElForm>>()\n const formTypeRef = ref<any>({})\n const setFormTypeRefs = (type: string, el: any) => {\n formTypeRef.value[type] = el\n }\n const formClass = ref('form_' + getUuid())\n\n onBeforeUpdate(() => {\n formTypeRef.value = {}\n })\n\n const formItemMap = computed(() => {\n const result: any = []\n Object.keys(form.value.formItem).forEach(key => {\n const value = form.value.formItem[key] as Partial<CustomFormItemProps>\n result.push({\n ...value,\n key: key,\n })\n })\n\n result.sort((a: any, b: any) => {\n return (a.sort || Infinity) - (b.sort || Infinity)\n })\n\n return result\n })\n\n const resizeForm = () => {\n let elFormLeft = document.querySelectorAll(`.${formClass.value} .el-form-left > div`) as any\n if (elFormLeft[0]) {\n isArrow.value = false\n nextTick(() => {\n const firstTop = elFormLeft[0].getBoundingClientRect().top\n const lastTop = elFormLeft[elFormLeft.length - 1].getBoundingClientRect().top\n const isHeight = firstTop !== lastTop\n if (isHeight) {\n isArrow.value = true\n } else {\n if (!packUp.value) {\n packUp.value = true\n }\n isArrow.value = false\n }\n elFormLeft = null\n })\n\n }\n }\n\n useWindowResize(() => {\n resizeForm()\n }, 100, true)\n\n\n const unfold = () => {\n if (packUp.value) {\n packUp.value = false\n } else {\n packUp.value = true\n }\n\n emit('UnFold', packUp.value)\n }\n\n\n return {\n formItemMap,\n formClass,\n formTypeRef,\n formRef,\n packUp,\n isArrow,\n\n setFormTypeRefs,\n unfold,\n }\n },\n render() {\n return (\n <el-form inline={true}\n {...this.form}\n ref={el => {this.formRef = el}}\n class={[this.formClass, this.packUp ? '' : 'packUp', 'dinert-form']}\n onSubmit={withModifiers(() => undefined, ['stop', 'prevent'])}\n key={this.form.key}>\n\n <el-row {...this.form.row} class=\"el-form-left\">\n {/* eslint-disable-next-line array-callback-return, consistent-return */}\n { this.formItemMap.map((item: CustomFormItemProps) => {\n const style: any = {}\n let vif = typeof item.vif === 'function' ? item.vif(this.form.model) : item.vif\n vif = vif === undefined ? typeof this.form.vif === 'function' ? this.form.vif(this.form.model) : vif : vif\n vif = vif === undefined ? true : vif\n\n let show = typeof item.show === 'function' ? item.show(this.form.model) : item.show\n show = show === undefined ? true : show\n item.options = {placeholder: customPlaceholder(typeof item.label === 'function' ? item.label(this.form.model) : item.label, item.type), ...item.options}\n\n\n if (!show) {\n style.display = 'none'\n }\n if (vif) {\n item.required = item.required === undefined ? item.required || this.form.required : item.required\n item.showLabel = item.showLabel === undefined ? item.showLabel || this.form.showLabel : item.showLabel\n\n let rules = item.rules || []\n rules = item.required ? [{required: true, trigger: ['blur', 'change'], message: customPlaceholder(typeof item.label === 'function' ? item.label(this.form.model) : item.label, item.type)}].concat(rules as any) : rules\n rules = item.showLabel ? [] : rules\n const valDisabled = item.showLabel ? true : item.tempValueDisabled\n\n return (\n <el-col\n style= {style}\n class={[item.type, item.key]}\n key={item.key}\n {\n ...{\n // xl: 3, // ≥1920px\n // lg: 4, // ≥1200px\n // md: 8, // ≥992px\n // sm: 12, // ≥768px\n // xs: 24, // <768px\n ...this.form.colLayout,\n ...item.colLayout\n }\n }\n >\n <el-form-item\n key={item.key}\n prop={item.key}\n class={[item.labelWrap ? 'label-wrap' : '', item.showLabel || this.form.showLabel ? 'show-label' : '']}\n {...{\n ...item,\n label: typeof item.label === 'function' ? item.label(this.form.model) : item.label,\n rules: rules\n }}\n v-slots={{\n label: () => {\n return (\n <dinert-tooltip\n key={item.key}\n content={typeof item.label === 'function' ? item.label(this.form.model) : item.label}\n disabled={item.labelDisabled}\n onLabelMouseEnter={(e: MouseEvent) => labelMouseEnter(e, item, this)}\n >\n </dinert-tooltip>\n )\n },\n default: () => {\n return (\n <dinert-tooltip\n key={item.key}\n content={String(getTooltipValue(this.form.model[item.key], item))}\n disabled={valDisabled}\n item={item}\n onLabelMouseEnter={(e: MouseEvent) => valueMouseEnter(e, item, this.form.model[item.key], this)}\n v-slots={\n {\n // eslint-disable-next-line max-statements\n default: () => {\n\n const slots: any = {}\n\n let componentResult = <span>{dataTransformRod(getSpanValue(this.form.model[item.key], item))}</span>\n\n if (this.$slots[formItemSlot(item.key)]) {\n\n componentResult = (this.$slots[formItemSlot(item.key)]?.({...item, model: this.form.model}))\n } else if (item.showLabel || (this.form.showLabel && [true, undefined].includes(item.showLabel))) {\n return componentResult\n } else if (['input', 'textarea'].includes(item.type)) {\n renderSlot(['prefix', 'suffix', 'prepend', 'append'], this, slots, item)\n componentResult = (<CustomInput form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomInput>)\n } else if (['input-number'].includes(item.type)) {\n renderSlot(['decrease-icon', 'increase-icon'], this, slots, item)\n componentResult = (<CustomInputNumber form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomInputNumber>)\n } else if (['input-autocomplete'].includes(item.type)) {\n renderSlot(['prefix', 'suffix', 'prepend', 'append', 'loading'], this, slots, item)\n componentResult = (<CustomInputAutocomplete form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomInputAutocomplete>)\n } else if (['select'].includes(item.type)) {\n renderSlot(['header', 'footer', 'prefix', 'empty', 'tag', 'loading', 'label'], this, slots, item)\n componentResult = (<CustomSelect form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomSelect>)\n } else if (['select-v2'].includes(item.type)) {\n renderSlot(['header', 'footer', 'prefix', 'empty', 'tag', 'loading', 'label'], this, slots, item)\n componentResult = (<CustomSelectV2 form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomSelectV2>)\n } else if (['switch'].includes(item.type)) {\n renderSlot(['active-action', 'inactive-action'], this, slots, item)\n componentResult = (<CustomSwitch form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomSwitch>)\n } else if ([\n 'datetime',\n 'date',\n 'dates',\n 'week',\n 'month',\n 'year',\n 'years',\n 'datetimerange',\n 'daterange',\n 'monthrange',\n 'yearrange',\n ].includes(item.type)) {\n renderSlot(['range-separator', 'prev-month', 'next-month', 'prev-year', 'next-year'], this, slots, item)\n componentResult = (<CustomDate form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomDate>)\n } else if (['radio', 'radio-button'].includes(item.type)) {\n componentResult = (<CustomRadio form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomRadio>)\n } else if (['tree-select'].includes(item.type)) {\n renderSlot(['header', 'footer', 'prefix', 'empty', 'tag', 'loading', 'label'], this, slots, item)\n componentResult = (<CustomSelectTree form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomSelectTree>)\n } else if (['rate'].includes(item.type)) {\n componentResult = (<CustomRate form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomRate>)\n } else if (['checkbox', 'checkbox-button'].includes(item.type)) {\n componentResult = (<CustomCheckbox form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomCheckbox>)\n } else if (['cascader'].includes(item.type)) {\n renderSlot(['empty'], this, slots, item)\n componentResult = (<CustomCascader ref={el => this.setFormTypeRefs(item.key, el)}\n form={this.form} formItem={item} v-slots={slots}></CustomCascader>)\n } else if (['slider'].includes(item.type)) {\n componentResult = (<CustomSlider ref={el => this.setFormTypeRefs(item.key, el)}\n form={this.form} formItem={item} v-slots={slots}></CustomSlider>)\n } else if (['time-picker'].includes(item.type)) {\n componentResult = (<CustomTimePicker ref={el => this.setFormTypeRefs(item.key, el)}\n form={this.form} formItem={item} v-slots={slots}></CustomTimePicker>)\n } else if (['time-select'].includes(item.type)) {\n componentResult = (<CustomTimeSelect ref={el => this.setFormTypeRefs(item.key, el)}\n form={this.form} formItem={item} v-slots={slots}></CustomTimeSelect>)\n }\n\n return componentResult\n },\n defaultAfter: () => this.$slots[formItemSlot('after_' + item.key)]?.({...item, model: this.form.model}),\n defaultBefore: () => this.$slots[formItemSlot('before_' + item.key)]?.({...item, model: this.form.model}),\n }\n }\n >\n </dinert-tooltip>\n )\n }\n }}\n >\n </el-form-item>\n </el-col>\n )\n }\n\n })\n }\n </el-row>\n {\n this.search\n && <el-row class={['el-form-right', this.isArrow ? 'isArrow' : '']}>\n {this.isArrow\n && <el-button class=\"el-form-right-operation\" text type=\"primary\"\n onClick={this.unfold}\n >\n <el-icon>\n {this.packUp ? <ArrowUp/> : <ArrowDown/>}\n </el-icon>\n {this.packUp ? '收起' : '展开'}\n </el-button>\n }\n {this.$slots.form_search?.()\n || (\n <>\n <el-button type=\"primary\" onClick={() => this.$emit('SearchFn')} {...this.form.searchButton}>{this.form.searchButton?.message || '搜索'}</el-button>\n <el-button type=\"primary\" plain\n onClick={() => this.$emit('ResetFn')}\n {...this.form.resetButton}\n >{this.form.searchButton?.message || '重置'}</el-button>\n </>\n )\n }\n </el-row>\n }\n {\n this.$slots.form_search_operations\n && <el-row class={'el-form-right-after'}>\n {this.$slots.form_search_operations?.()}\n </el-row>\n }\n </el-form>\n )\n }\n})\n"],"names":["_isSlot","s","Object","prototype","toString","call","_isVNode","defineComponent","name","props","form","type","default","search","Boolean","emits","setup","emit","toRefs","packUp","ref","value","undefined","isArrow","formRef","formTypeRef","setFormTypeRefs","el","formClass","getUuid","onBeforeUpdate","formItemMap","computed","result","keys","formItem","forEach","key","push","sort","a","b","Infinity","resizeForm","elFormLeft","document","querySelectorAll","nextTick","firstTop","getBoundingClientRect","top","lastTop","length","useWindowResize","unfold","render","_slot","_createVNode","_resolveComponent","_mergeProps","withModifiers","row","map","item","style","vif","model","show","options","placeholder","customPlaceholder","label","display","required","showLabel","rules","trigger","message","concat","valDisabled","tempValueDisabled","colLayout","labelWrap","labelDisabled","e","labelMouseEnter","String","getTooltipValue","valueMouseEnter","slots","componentResult","dataTransformRod","getSpanValue","$slots","formItemSlot","_b","_a","includes","renderSlot","CustomInput","CustomInputNumber","CustomInputAutocomplete","CustomSelect","CustomSelectV2","CustomSwitch","CustomDate","CustomRadio","CustomSelectTree","CustomRate","CustomCheckbox","CustomCascader","CustomSlider","CustomTimePicker","CustomTimeSelect","defaultAfter","defaultBefore","ArrowUp","ArrowDown","form_search","_Fragment","onClick","$emit","searchButton","resetButton","form_search_operations"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA0B+C,SAAAA,GAAAC,GAAA;AAAA,SAAA,OAAAA,KAAA,cAAAC,OAAAC,UAAAC,SAAAC,KAAAJ,CAAA,MAAAK,qBAAAA,CAAAA,EAAAL,CAAA;AAAA;AAM/C,MAAeM,uBAAgB;AAAA,EAC3BC,MAAM;AAAA,EACNC,OAAO;AAAA,IACHC,MAAM;AAAA,MACFC,MAAMT;AAAAA,MACNU,SAASA,OAAO,CAAA;AAAA,IACnB;AAAA,IACDC,QAAQ;AAAA,MACJF,MAAMG;AAAAA,MACNF,SAAS;AAAA,IACb;AAAA,EACH;AAAA,EACDG,OAAO,CAAC,UAAU,YAAY,SAAS;AAAA,EACvCC,MAAMP,GAAO;AAAA,IAACQ,MAAA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F,IAAA,KAAKtF,KAAKgH,iBAAV,gBAAA1B,EAAwBnB,YAAW,IAAI;AAAA;AAAA,UAAA,CAAA,GAAApB,EAAAC,EAAA,WAAA,GAAAC,EAAA;AAAA,YAAA,MAAA;AAAA,YAAA,OAAA;AAAA,YAAA,SAExH6D,MAAM,KAAKC,MAAM,SAAS;AAAA,UAAC,GAChC,KAAK/G,KAAKiH,WAAW,GAAA;AAAA,YAAA/G,SAAAA,MAAA;;AAAA,wBAC3BoF,IAAA,KAAKtF,KAAKgH,iBAAV,gBAAA1B,EAAwBnB,YAAW,IAAI;AAAA;AAAA,UAEhD,CAAA,CAAA,CAAA,CAAA;AAAA;AAAA,OAEA,GAGL,KAAKgB,OAAO+B,0BAAsBnE,EAAAC,EAAA,QAAA,GAAA;AAAA,QAAA,OAC5B;AAAA,MAAqB,GAAA;AAAA,QAAA9C,SAAAA,MAAAA;;AAClC,mBAAAmF,KAAAC,IAAA,KAAKH,QAAO+B,2BAAZ,gBAAA7B,EAAA,KAAAC,EAAsC;AAAA;AAAA,OAClC,CAAA;AAAA,IAAA,CAAA;AAAA,EAIb;AACJ,CAAC;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../packages/components/form/src/index.tsx"],"sourcesContent":["import {defineComponent, ref, computed, nextTick, toRefs, onBeforeUpdate, withModifiers} from 'vue'\nimport CustomInput from './input'\nimport CustomInputNumber from './input-number'\nimport CustomInputAutocomplete from './input-autocomplete'\nimport CustomSelect from './select'\nimport CustomSelectV2 from './select-v2'\nimport CustomSwitch from './switch'\nimport CustomDate from './date'\nimport CustomRadio from './radio'\nimport CustomSelectTree from './tree-select'\nimport CustomRate from './rate'\nimport CustomCheckbox from './checkbox'\nimport CustomCascader from './cascader'\nimport CustomSlider from './slider'\nimport CustomTimePicker from './time-picker'\nimport CustomTimeSelect from './time-select'\n\nimport useWindowResize from '@packages/hooks/useWindowResize'\nimport {labelMouseEnter, valueMouseEnter, getTooltipValue, getSpanValue, formItemSlot, customPlaceholder, renderSlot} from '@packages/components/form/utils'\n\nimport {dataTransformRod, getUuid} from '@packages/utils/tools'\nimport {ElForm} from 'element-plus'\n\nimport {ArrowUp, ArrowDown} from '@element-plus/icons-vue'\n\n\nimport '@packages/assets/scss/dinert-form.scss'\n\nimport type {PropType} from 'vue'\nimport type {RewriteFormProps, CustomFormItemProps} from '@packages/components/form/types'\n\n// 展开还是收起状态\nexport default defineComponent({\n name: 'dinert-form',\n props: {\n form: {\n type: Object as PropType<RewriteFormProps>,\n default: () => ({})\n },\n search: {\n type: Boolean,\n default: true\n }\n },\n emits: ['UnFold', 'SearchFn', 'ResetFn'],\n setup(props, {emit}) {\n const {form} = toRefs(props)\n const packUp = ref(form.value.packUp === undefined)\n const isArrow = ref(false)\n const formRef = ref<InstanceType<typeof ElForm>>()\n const formTypeRef = ref<any>({})\n const setFormTypeRefs = (type: string, el: any) => {\n formTypeRef.value[type] = el\n }\n const formClass = ref('form_' + getUuid())\n\n onBeforeUpdate(() => {\n formTypeRef.value = {}\n })\n\n const formItemMap = computed(() => {\n const result: any = []\n Object.keys(form.value.formItem).forEach(key => {\n const value = form.value.formItem[key] as Partial<CustomFormItemProps>\n result.push({\n ...value,\n key: key,\n })\n })\n\n result.sort((a: any, b: any) => {\n return (a.sort || Infinity) - (b.sort || Infinity)\n })\n\n return result\n })\n\n const resizeForm = () => {\n let elFormLeft = document.querySelectorAll(`.${formClass.value} .el-form-left > div`) as any\n if (elFormLeft[0]) {\n isArrow.value = false\n nextTick(() => {\n const firstTop = elFormLeft[0].getBoundingClientRect().top\n const lastTop = elFormLeft[elFormLeft.length - 1].getBoundingClientRect().top\n const isHeight = firstTop !== lastTop\n if (isHeight) {\n isArrow.value = true\n } else {\n if (!packUp.value) {\n packUp.value = true\n }\n isArrow.value = false\n }\n elFormLeft = null\n })\n\n }\n }\n\n useWindowResize(() => {\n resizeForm()\n }, 100, true)\n\n\n const unfold = () => {\n if (packUp.value) {\n packUp.value = false\n } else {\n packUp.value = true\n }\n\n emit('UnFold', packUp.value)\n }\n\n\n return {\n formItemMap,\n formClass,\n formTypeRef,\n formRef,\n packUp,\n isArrow,\n\n setFormTypeRefs,\n unfold,\n }\n },\n render() {\n return (\n <el-form inline={true}\n {...this.form}\n ref={el => {this.formRef = el}}\n class={[this.formClass, this.packUp ? '' : 'packUp', 'dinert-form']}\n onSubmit={withModifiers(() => undefined, ['stop', 'prevent'])}\n key={this.form.key}>\n\n <el-row {...this.form.row} class=\"el-form-left\">\n {/* eslint-disable-next-line array-callback-return, consistent-return */}\n { this.formItemMap.map((item: CustomFormItemProps) => {\n const style: any = {}\n let vif = typeof item.vif === 'function' ? item.vif(this.form.model) : item.vif\n vif = vif === undefined ? typeof this.form.vif === 'function' ? this.form.vif(this.form.model) : vif : vif\n vif = vif === undefined ? true : vif\n\n let show = typeof item.show === 'function' ? item.show(this.form.model) : item.show\n show = show === undefined ? true : show\n item.options = {placeholder: customPlaceholder(typeof item.label === 'function' ? item.label(this.form.model) : item.label, item.type), ...item.options}\n\n\n if (!show) {\n style.display = 'none'\n }\n if (vif) {\n const formShowLabel = typeof this.form.showLabel === 'function' ? this.form.showLabel(this.form.model) : this.form.showLabel\n let itemShowLabel = typeof item.showLabel === 'function' ? item.showLabel(this.form.model) : item.showLabel\n item.required = item.required === undefined ? item.required || this.form.required : item.required\n itemShowLabel = itemShowLabel === undefined ? itemShowLabel || formShowLabel : itemShowLabel\n item.required = itemShowLabel ? false : item.required\n\n let rules = item.rules || []\n rules = item.required ? [{required: true, trigger: ['blur', 'change'], message: customPlaceholder(typeof item.label === 'function' ? item.label(this.form.model) : item.label, item.type)}].concat(rules as any) : rules\n rules = itemShowLabel ? [] : rules\n const valDisabled = itemShowLabel ? true : item.tempValueDisabled\n\n return (\n <el-col\n style= {style}\n class={[item.type, item.key]}\n key={item.key}\n {\n ...{\n // xl: 3, // ≥1920px\n // lg: 4, // ≥1200px\n // md: 8, // ≥992px\n // sm: 12, // ≥768px\n // xs: 24, // <768px\n ...this.form.colLayout,\n ...item.colLayout\n }\n }\n >\n <el-form-item\n key={item.key}\n prop={item.key}\n class={[item.labelWrap ? 'label-wrap' : '', itemShowLabel ? 'show-label' : '']}\n {...{\n ...item,\n label: typeof item.label === 'function' ? item.label(this.form.model) : item.label,\n rules: rules\n }}\n v-slots={{\n label: () => {\n return (\n <dinert-tooltip\n key={item.key}\n content={typeof item.label === 'function' ? item.label(this.form.model) : item.label}\n disabled={item.labelDisabled}\n onLabelMouseEnter={(e: MouseEvent) => labelMouseEnter(e, item, this)}\n >\n </dinert-tooltip>\n )\n },\n default: () => {\n return (\n <dinert-tooltip\n key={item.key}\n content={String(getTooltipValue(this.form.model[item.key], item))}\n disabled={valDisabled}\n item={item}\n onLabelMouseEnter={(e: MouseEvent) => valueMouseEnter(e, item, this.form.model[item.key], this)}\n v-slots={\n {\n // eslint-disable-next-line max-statements\n default: () => {\n\n const slots: any = {}\n let componentResult = <span>{dataTransformRod(getSpanValue(this.form.model[item.key], item))}</span>\n\n if (this.$slots[formItemSlot(item.key)]) {\n componentResult = (this.$slots[formItemSlot(item.key)]?.({...item, model: this.form.model}))\n } else if (itemShowLabel || (formShowLabel && [true, undefined].includes(itemShowLabel))) {\n return componentResult\n } else if (['input', 'textarea'].includes(item.type)) {\n renderSlot(['prefix', 'suffix', 'prepend', 'append'], this, slots, item)\n componentResult = (<CustomInput form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomInput>)\n } else if (['input-number'].includes(item.type)) {\n renderSlot(['decrease-icon', 'increase-icon'], this, slots, item)\n componentResult = (<CustomInputNumber form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomInputNumber>)\n } else if (['input-autocomplete'].includes(item.type)) {\n renderSlot(['prefix', 'suffix', 'prepend', 'append', 'loading'], this, slots, item)\n componentResult = (<CustomInputAutocomplete form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomInputAutocomplete>)\n } else if (['select'].includes(item.type)) {\n renderSlot(['header', 'footer', 'prefix', 'empty', 'tag', 'loading', 'label'], this, slots, item)\n componentResult = (<CustomSelect form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomSelect>)\n } else if (['select-v2'].includes(item.type)) {\n renderSlot(['header', 'footer', 'prefix', 'empty', 'tag', 'loading', 'label'], this, slots, item)\n componentResult = (<CustomSelectV2 form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomSelectV2>)\n } else if (['switch'].includes(item.type)) {\n renderSlot(['active-action', 'inactive-action'], this, slots, item)\n componentResult = (<CustomSwitch form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomSwitch>)\n } else if ([\n 'datetime',\n 'date',\n 'dates',\n 'week',\n 'month',\n 'year',\n 'years',\n 'datetimerange',\n 'daterange',\n 'monthrange',\n 'yearrange',\n ].includes(item.type)) {\n renderSlot(['range-separator', 'prev-month', 'next-month', 'prev-year', 'next-year'], this, slots, item)\n componentResult = (<CustomDate form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomDate>)\n } else if (['radio', 'radio-button'].includes(item.type)) {\n componentResult = (<CustomRadio form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomRadio>)\n } else if (['tree-select'].includes(item.type)) {\n renderSlot(['header', 'footer', 'prefix', 'empty', 'tag', 'loading', 'label'], this, slots, item)\n componentResult = (<CustomSelectTree form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomSelectTree>)\n } else if (['rate'].includes(item.type)) {\n componentResult = (<CustomRate form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomRate>)\n } else if (['checkbox', 'checkbox-button'].includes(item.type)) {\n componentResult = (<CustomCheckbox form={this.form} formItem={item} v-slots={slots}\n ref={el => this.setFormTypeRefs(item.key, el)}></CustomCheckbox>)\n } else if (['cascader'].includes(item.type)) {\n renderSlot(['empty'], this, slots, item)\n componentResult = (<CustomCascader ref={el => this.setFormTypeRefs(item.key, el)}\n form={this.form} formItem={item} v-slots={slots}></CustomCascader>)\n } else if (['slider'].includes(item.type)) {\n componentResult = (<CustomSlider ref={el => this.setFormTypeRefs(item.key, el)}\n form={this.form} formItem={item} v-slots={slots}></CustomSlider>)\n } else if (['time-picker'].includes(item.type)) {\n componentResult = (<CustomTimePicker ref={el => this.setFormTypeRefs(item.key, el)}\n form={this.form} formItem={item} v-slots={slots}></CustomTimePicker>)\n } else if (['time-select'].includes(item.type)) {\n componentResult = (<CustomTimeSelect ref={el => this.setFormTypeRefs(item.key, el)}\n form={this.form} formItem={item} v-slots={slots}></CustomTimeSelect>)\n }\n\n return componentResult\n },\n defaultAfter: () => this.$slots[formItemSlot('after_' + item.key)]?.({...item, model: this.form.model}),\n defaultBefore: () => this.$slots[formItemSlot('before_' + item.key)]?.({...item, model: this.form.model}),\n }\n }\n >\n </dinert-tooltip>\n )\n }\n }}\n >\n </el-form-item>\n </el-col>\n )\n }\n\n })\n }\n </el-row>\n {\n this.search\n && <el-row class={['el-form-right', this.isArrow ? 'isArrow' : '']}>\n {this.isArrow\n && <el-button class=\"el-form-right-operation\" text type=\"primary\"\n onClick={this.unfold}\n >\n <el-icon>\n {this.packUp ? <ArrowUp/> : <ArrowDown/>}\n </el-icon>\n {this.packUp ? '收起' : '展开'}\n </el-button>\n }\n {this.$slots.form_search?.()\n || (\n <>\n <el-button type=\"primary\" onClick={() => this.$emit('SearchFn')} {...this.form.searchButton}>{this.form.searchButton?.message || '搜索'}</el-button>\n <el-button type=\"primary\" plain\n onClick={() => this.$emit('ResetFn')}\n {...this.form.resetButton}\n >{this.form.searchButton?.message || '重置'}</el-button>\n </>\n )\n }\n </el-row>\n }\n {\n this.$slots.form_search_operations\n && <el-row class={'el-form-right-after'}>\n {this.$slots.form_search_operations?.()}\n </el-row>\n }\n </el-form>\n )\n }\n})\n"],"names":["_isSlot","s","Object","prototype","toString","call","_isVNode","defineComponent","name","props","form","type","default","search","Boolean","emits","setup","emit","toRefs","packUp","ref","value","undefined","isArrow","formRef","formTypeRef","setFormTypeRefs","el","formClass","getUuid","onBeforeUpdate","formItemMap","computed","result","keys","formItem","forEach","key","push","sort","a","b","Infinity","resizeForm","elFormLeft","document","querySelectorAll","nextTick","firstTop","getBoundingClientRect","top","lastTop","length","useWindowResize","unfold","render","_slot","_createVNode","_resolveComponent","_mergeProps","withModifiers","row","map","item","style","vif","model","show","options","placeholder","customPlaceholder","label","display","formShowLabel","showLabel","itemShowLabel","required","rules","trigger","message","concat","valDisabled","tempValueDisabled","colLayout","labelWrap","labelDisabled","e","labelMouseEnter","String","getTooltipValue","valueMouseEnter","slots","componentResult","dataTransformRod","getSpanValue","$slots","formItemSlot","_b","_a","includes","renderSlot","CustomInput","CustomInputNumber","CustomInputAutocomplete","CustomSelect","CustomSelectV2","CustomSwitch","CustomDate","CustomRadio","CustomSelectTree","CustomRate","CustomCheckbox","CustomCascader","CustomSlider","CustomTimePicker","CustomTimeSelect","defaultAfter","defaultBefore","ArrowUp","ArrowDown","form_search","_Fragment","onClick","$emit","searchButton","resetButton","form_search_operations"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA0B+C,SAAAA,GAAAC,GAAA;AAAA,SAAA,OAAAA,KAAA,cAAAC,OAAAC,UAAAC,SAAAC,KAAAJ,CAAA,MAAAK,qBAAAA,CAAAA,EAAAL,CAAA;AAAA;AAM/C,MAAeM,uBAAgB;AAAA,EAC3BC,MAAM;AAAA,EACNC,OAAO;AAAA,IACHC,MAAM;AAAA,MACFC,MAAMT;AAAAA,MACNU,SAASA,OAAO,CAAA;AAAA,IACnB;AAAA,IACDC,QAAQ;AAAA,MACJF,MAAMG;AAAAA,MACNF,SAAS;AAAA,IACb;AAAA,EACH;AAAA,EACDG,OAAO,CAAC,UAAU,YAAY,SAAS;A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