act-plus 1.1.20 → 1.1.21

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.
Files changed (34) hide show
  1. package/act-plus.js +1 -1
  2. package/act-plus.umd.cjs +440 -440
  3. package/lib/{configBtns-3772e689.js → configBtns-9d56fe1b.js} +2 -2
  4. package/lib/{configFileds-d0911c87.js → configFileds-df2b6e7d.js} +3 -3
  5. package/lib/{configForm-ae4b725e.js → configForm-2212ebfa.js} +1 -1
  6. package/lib/{configTable-879063d4.js → configTable-8b2a4509.js} +92 -61
  7. package/lib/{cssMode-6d02ab39.js → cssMode-60916414.js} +1 -1
  8. package/lib/{dialogAddField-d6b18048.js → dialogAddField-9157d3b5.js} +246 -245
  9. package/lib/{dialogConfigBtn-75e37dc9.js → dialogConfigBtn-72c02278.js} +3 -3
  10. package/lib/dialogSiteComponentsParams-63d9dc34.js +71 -0
  11. package/lib/{enum-cc58b8fe.js → enum-ab7125f9.js} +2 -2
  12. package/lib/{freemarker2-205877bf.js → freemarker2-7d1ec253.js} +1 -1
  13. package/lib/{handlebars-2d920faa.js → handlebars-adf29031.js} +1 -1
  14. package/lib/{html-6b99359b.js → html-58c53b1f.js} +1 -1
  15. package/lib/{htmlMode-498c17d9.js → htmlMode-9eeb9724.js} +1 -1
  16. package/lib/{index-aff95ab9.js → index-06fc5662.js} +1 -1
  17. package/lib/{index-fb2754ee.js → index-0a69613f.js} +1 -1
  18. package/lib/{index-68063c4c.js → index-3777f35c.js} +1 -1
  19. package/lib/{index-da0a0bfe.js → index-4ad7a283.js} +40523 -40179
  20. package/lib/index-58369e5d.js +205 -0
  21. package/lib/index-d459ee4c.js +327 -0
  22. package/lib/{javascript-5e40fe11.js → javascript-0b7b04d0.js} +2 -2
  23. package/lib/{jsonMode-2a821e9e.js → jsonMode-9f14ee23.js} +1 -1
  24. package/lib/{liquid-dc78aaf7.js → liquid-4f7d6527.js} +1 -1
  25. package/lib/{python-e55144b2.js → python-009ef2aa.js} +1 -1
  26. package/lib/{razor-1fb88f53.js → razor-3094e84e.js} +1 -1
  27. package/lib/{tsMode-8d12d976.js → tsMode-90da8eb5.js} +1 -1
  28. package/lib/{typescript-97ed77ae.js → typescript-bb20f7ba.js} +1 -1
  29. package/lib/{xml-e843c667.js → xml-9f4bbbf1.js} +1 -1
  30. package/lib/{yaml-62bcf3fa.js → yaml-df4caa74.js} +1 -1
  31. package/package.json +1 -1
  32. package/style.css +1 -1
  33. package/lib/index-7c264775.js +0 -192
  34. package/lib/index-a36b2284.js +0 -304
@@ -1,192 +0,0 @@
1
- import { defineAsyncComponent as L, ref as V, watch as B, resolveComponent as u, unref as l, openBlock as t, createElementBlock as b, createVNode as H, normalizeStyle as W, withCtx as c, Fragment as h, renderList as v, withDirectives as j, createBlock as n, createCommentVNode as i, vShow as G, createTextVNode as S, toDisplayString as w } from "vue";
2
- import { _ as J, u as K, P as X, a as Z, T as N } from "./index-da0a0bfe.js";
3
- import "vue-router";
4
- import "element-plus";
5
- const ee = {
6
- key: 0,
7
- class: "search-module-container"
8
- }, le = {
9
- __name: "index",
10
- props: {
11
- data: { type: Object, default: () => ({}) }
12
- },
13
- emits: ["reset", "search"],
14
- setup($, { emit: x }) {
15
- const P = L(() => import("./index-e2f2023d.js")), { t: d } = K(), C = x, y = $;
16
- let p = V([]), g = V([]), f = V(!0);
17
- const E = (r) => f.value ? y.data.tableConfig.tableQueryRowWidth > r + 1 : !0, I = (r) => {
18
- p.value = (r || []).filter((o) => o.useScenes.includes("tableSearch"));
19
- }, M = (r) => {
20
- const o = (r || []).filter((s) => s.permissionCode === 1001);
21
- g.value = [...o, { btnName: d("act.reset"), permissionCode: "9999", btnColor: "info", btnIcon: "btn-reset" }];
22
- };
23
- B(
24
- () => y.data,
25
- (r, o) => {
26
- I(r.fields), M(r.buttons);
27
- },
28
- { immediate: !0 }
29
- );
30
- const m = (r) => {
31
- switch (r.permissionCode) {
32
- case "9999":
33
- p.value.forEach((s) => {
34
- s.fieldType.includes("&") ? s.queryValue = [] : s.queryValue = void 0;
35
- }), C("reset", []);
36
- break;
37
- default:
38
- const o = p.value.filter((s) => !!s.queryValue);
39
- C("search", o);
40
- break;
41
- }
42
- }, D = () => {
43
- f.value = !f.value;
44
- };
45
- return (r, o) => {
46
- var U;
47
- const s = u("el-input"), R = u("el-option"), Y = u("el-select"), z = u("el-select-v2"), A = u("el-cascader"), T = u("el-date-picker"), k = u("el-form-item"), O = u("a-svg-icon"), q = u("el-button"), Q = u("el-form");
48
- return l(p) && l(p).length ? (t(), b("div", ee, [
49
- H(Q, {
50
- style: W({ "--table-query-row": y.data.tableConfig.tableQueryRowWidth }),
51
- class: "form-content",
52
- ref: "elForm",
53
- "label-suffix": ":",
54
- "label-position": "right"
55
- }, {
56
- default: c(() => [
57
- (t(!0), b(h, null, v(l(p), (e, _) => j((t(), n(k, {
58
- key: _,
59
- class: "search-form-item",
60
- "label-width": y.data.tableConfig.tableQueryLabelWidth,
61
- label: e.fieldName
62
- }, {
63
- default: c(() => [
64
- e.fieldType === "input" || e.fieldType === "editor" ? (t(), n(s, {
65
- key: 0,
66
- modelValue: e.queryValue,
67
- "onUpdate:modelValue": (a) => e.queryValue = a,
68
- placeholder: `${l(d)("act.inputPlaceholder")}${e.fieldName}`,
69
- clearable: ""
70
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : i("", !0),
71
- e.fieldType === "inputNumber" ? (t(), n(l(P), {
72
- key: 1,
73
- modelValue: e.queryValue,
74
- "onUpdate:modelValue": (a) => e.queryValue = a,
75
- placeholder: `${l(d)("act.inputPlaceholder")}${e.fieldName}`,
76
- disabled: e.isFormDisabled,
77
- clearable: ""
78
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : ["select", "switch", "multipleSelect"].includes(e.fieldType) ? (t(), n(Y, {
79
- key: 2,
80
- modelValue: e.queryValue,
81
- "onUpdate:modelValue": (a) => e.queryValue = a,
82
- placeholder: `${l(d)("act.selectPlaceholder")}${e.fieldName}`,
83
- clearable: "",
84
- filterable: "",
85
- multiple: e.fieldType === "multipleSelect",
86
- "collapse-tags": e.fieldType === "multipleSelect",
87
- "collapse-tags-tooltip": e.fieldType === "multipleSelect",
88
- onChange: o[0] || (o[0] = (a) => m({ permissionCode: 1001 }))
89
- }, {
90
- default: c(() => [
91
- (t(!0), b(h, null, v(e.dataList, (a, F) => (t(), n(R, {
92
- key: F,
93
- label: a.key,
94
- value: a.value
95
- }, null, 8, ["label", "value"]))), 128))
96
- ]),
97
- _: 2
98
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "collapse-tags", "collapse-tags-tooltip"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (t(), n(z, {
99
- key: 3,
100
- modelValue: e.queryValue,
101
- "onUpdate:modelValue": (a) => e.queryValue = a,
102
- options: e.dataList,
103
- props: { ...l(X) },
104
- placeholder: `${l(d)("act.selectPlaceholder")}${e.fieldName}`,
105
- clearable: "",
106
- filterable: "",
107
- "collapse-tags": e.fieldType === "virtualizedMultipleSelect",
108
- "collapse-tags-tooltip": e.fieldType === "virtualizedMultipleSelect",
109
- multiple: e.fieldType === "virtualizedMultipleSelect",
110
- onChange: o[1] || (o[1] = (a) => m({ permissionCode: 1001 }))
111
- }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "collapse-tags", "collapse-tags-tooltip", "multiple"])) : e.fieldType === "provinceCascade" ? (t(), n(A, {
112
- key: 4,
113
- modelValue: e.queryValue,
114
- "onUpdate:modelValue": (a) => e.queryValue = a,
115
- options: e.dataList,
116
- props: { ...l(Z), [e.fieldUiType]: !0 },
117
- clearable: "",
118
- filterable: "",
119
- placeholder: l(d)("act.selectPlaceholder") + e.fieldName
120
- }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder"])) : e.fieldType === "date" ? (t(), n(T, {
121
- key: 5,
122
- modelValue: e.queryValue,
123
- "onUpdate:modelValue": (a) => e.queryValue = a,
124
- type: e.fieldUiType || "date",
125
- placeholder: `${l(d)("act.selectPlaceholder")}${l(d)("act.time")}`,
126
- "value-format": l(N)[e.fieldUiType] || "YYYY-MM-DD HH:mm:ss",
127
- onChange: o[2] || (o[2] = (a) => m({ permissionCode: 1001 }))
128
- }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "placeholder", "value-format"])) : e.fieldType === "dateRange" ? (t(), n(T, {
129
- key: 6,
130
- modelValue: e.queryValue,
131
- "onUpdate:modelValue": (a) => e.queryValue = a,
132
- type: e.fieldUiType || "date",
133
- "start-placeholder": l(d)("act.startTime"),
134
- "end-placeholder": l(d)("act.endTime"),
135
- "value-format": l(N)[e.fieldUiType] || "YYYY-MM-DD HH:mm:ss",
136
- onChange: o[3] || (o[3] = (a) => m({ permissionCode: 1001 }))
137
- }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "start-placeholder", "end-placeholder", "value-format"])) : i("", !0)
138
- ]),
139
- _: 2
140
- }, 1032, ["label-width", "label"])), [
141
- [G, E(_)]
142
- ])), 128)),
143
- l(p).length ? (t(), n(k, {
144
- key: 0,
145
- class: "search-form-btn",
146
- "label-width": "0"
147
- }, {
148
- default: c(() => [
149
- (t(!0), b(h, null, v(l(g), (e, _) => (t(), n(q, {
150
- key: _,
151
- type: e.btnColor,
152
- onClick: (a) => m(e)
153
- }, {
154
- default: c(() => [
155
- e.btnIcon ? (t(), n(O, {
156
- key: 0,
157
- class: "mr6",
158
- name: e.btnIcon,
159
- width: "12",
160
- height: "12",
161
- color: "#fff"
162
- }, null, 8, ["name"])) : i("", !0),
163
- S(" " + w(e.btnName), 1)
164
- ]),
165
- _: 2
166
- }, 1032, ["type", "onClick"]))), 128))
167
- ]),
168
- _: 1
169
- })) : i("", !0)
170
- ]),
171
- _: 1
172
- }, 8, ["style"]),
173
- ((U = l(p)) == null ? void 0 : U.length) > y.data.tableConfig.tableQueryRowWidth ? (t(), n(q, {
174
- key: 0,
175
- class: "expand",
176
- text: "",
177
- size: "small",
178
- icon: l(f) ? "ArrowDown" : "ArrowUp",
179
- onClick: D
180
- }, {
181
- default: c(() => [
182
- S(w(l(f) ? "展开" : "收起"), 1)
183
- ]),
184
- _: 1
185
- }, 8, ["icon"])) : i("", !0)
186
- ])) : i("", !0);
187
- };
188
- }
189
- }, re = /* @__PURE__ */ J(le, [["__scopeId", "data-v-bc068482"]]);
190
- export {
191
- re as default
192
- };
@@ -1,304 +0,0 @@
1
- import { defineAsyncComponent as B, inject as P, reactive as ue, ref as v, watch as pe, resolveComponent as y, openBlock as r, createBlock as p, withCtx as h, createElementVNode as z, createVNode as C, unref as l, createTextVNode as R, toDisplayString as T, createElementBlock as D, Fragment as L, renderList as W, createCommentVNode as J, resolveDynamicComponent as fe, isRef as me, toRaw as ye } from "vue";
2
- import { b as be, e as he, r as _e, c as ge, _ as Ve, u as Fe, P as Ce, T as G, a as Te } from "./index-da0a0bfe.js";
3
- import { ElMessage as H, ElNotification as De } from "element-plus";
4
- import "vue-router";
5
- const $ = be.create({
6
- baseURL: "",
7
- // ""
8
- timeout: 15e3
9
- });
10
- $.interceptors.request.use(
11
- (s) => {
12
- let b = sessionStorage.getItem("accessToken");
13
- return b && (s.headers.Authorization = "Bearer " + b), s.headers["Content-Type"] != "application/x-www-form-urlencoded" && (s.data = { ...s.data }, Reflect.has(s.data, "dynamicFilters") && (s.data.dynamicFilters = he(JSON.stringify(s.data.dynamicFilters)))), s;
14
- },
15
- (s) => Promise.reject(s)
16
- );
17
- $.interceptors.response.use(
18
- (s) => {
19
- const b = s.data;
20
- if (b.code == 200)
21
- return b;
22
- if (b.code == 401)
23
- sessionStorage.clear(), _e.replace("/"), ge(), H.error({ title: "错误", message: "登陆超时,请重新登录" });
24
- else
25
- return H.error({ title: "错误", message: b.msg }), Promise.reject(b.msg);
26
- },
27
- (s) => {
28
- if (s.response.status != -1)
29
- return Promise.reject(s);
30
- }
31
- );
32
- const we = { class: "no-config-field" }, Ke = { class: "dialog-footer" }, Ne = {
33
- __name: "index",
34
- props: {
35
- visible: { type: Boolean, default: !1 },
36
- title: { type: String, default: "" },
37
- data: { type: Object, default: () => ({}) }
38
- },
39
- emits: ["update:visible", "refresh"],
40
- setup(s, { emit: b }) {
41
- const Q = B(() => import("./index-e2f2023d.js")), X = B(() => import("./index-da0a0bfe.js").then((a) => a.l)), { t: c } = Fe(), Y = P("loadComponents"), x = P("formatDataType"), A = P("globalProps"), E = b, u = s;
42
- let g = ue((() => ({
43
- btnLoading: !1
44
- }))()), w = v([]), t = v({}), K = v(null), Z = {};
45
- const I = (a) => a.formColumnCol == null || a.customFiledsComponentes[a.customFiledsComponentes.customComponentName] ? 24 : a.formColumnCol ? a.formColumnCol : 24 / a.formRow, ee = (a) => {
46
- if (["input", "textarea"].includes(a.fieldType))
47
- return "blur";
48
- if (["select", "multipleSelect", "datetimerange", "treeSelect", "provinceCascade"].includes(a.fieldType))
49
- return "change";
50
- }, le = (a) => {
51
- if (!["input", "textarea"].includes(a) && ["multipleSelect", "dateRange"].includes(a))
52
- return [];
53
- }, ae = (a, m) => {
54
- if (["string"].includes(m))
55
- return a.join(";");
56
- if (["number"].includes(m))
57
- return Number(a);
58
- if (["array"].includes(m))
59
- return a;
60
- }, te = (a) => {
61
- if (["multipleSelect"].includes(a.fieldType))
62
- return u.data.rowData[a.fieldKey] ? u.data.rowData[a.fieldKey].split(";") : [];
63
- if (["dateRange"].includes(a.fieldType)) {
64
- const m = a.fieldKey.split("&");
65
- return u.data.rowData[a.fieldKey] = m.map((n) => u.data.rowData[n]), u.data.rowData[a.fieldKey];
66
- }
67
- return u.data.rowData[a.fieldKey];
68
- }, oe = (a) => $({ url: u.data.dataItem.requestUrl, method: "post", data: a });
69
- pe(
70
- () => u.visible,
71
- async (a, m) => {
72
- a && (u.data.formList.forEach(async (n) => {
73
- Z[n.fieldKey] = { submitFieldType: n.fieldSubmitType, isFormSetValue: n.isFormSetValue }, t.value[n.fieldKey] = Object.keys(u.data.rowData).length && n.isFormSetValue ? te(n) : le(n.fieldType);
74
- const { isFiledCustom: V, customComponentName: f, customComponentUrl: F } = n.customFiledsComponentes;
75
- if (V && !n.customFiledsComponentes[f]) {
76
- const _ = await Y(F, f);
77
- n.customFiledsComponentes[f] = _;
78
- }
79
- }), w.value = u.data.formList || []);
80
- }
81
- );
82
- const de = (a) => {
83
- N(), a();
84
- }, N = () => {
85
- w.value = [], K.value.resetFields(), E("update:visible", !1);
86
- }, se = (a) => {
87
- a && a.validate((m) => {
88
- if (m) {
89
- g.btnLoading = !0;
90
- const { dataItem: n, rowData: V } = u.data;
91
- let f = { ...ye(t.value) };
92
- Object.keys(f).forEach((d) => {
93
- d.includes("&") ? f[d].split("&").forEach((U, k) => {
94
- f[U] = f[d][k];
95
- }) : Array.isArray(f[d]) && (f[d] = ae(f[d], "string"));
96
- });
97
- const F = n.submitFields.filter((d) => d.matchType == "default").reduce((d, i) => (i.submitFieldType === "string" && (d[i.submitFieldName] = i.matchFieldName.toString()), d), {}), _ = n.submitFields.filter((d) => d.matchType == "match").reduce((d, i) => (Reflect.has(i, "submitFieldMatchOrigin") && i.submitFieldMatchOrigin != "rowData" ? Reflect.has(A.matchData, i.submitFieldMatchOrigin) && (d[i.submitFieldName] = x(i.submitFieldType, A.matchData[i.submitFieldMatchOrigin][i.matchFieldName])) : d[i.submitFieldName] = x(i.submitFieldType, V[i.matchFieldName]), d), {});
98
- oe({
99
- ...f,
100
- ...F,
101
- ..._
102
- }).then((d) => {
103
- try {
104
- De({ title: c("act.tip"), message: c("act.saveSuccessfully"), type: "success", duration: 2500 }), N(), E("refresh");
105
- } catch (i) {
106
- console.error(i);
107
- }
108
- g.btnLoading = !1;
109
- }).catch((d) => {
110
- console.error(d), g.btnLoading = !1;
111
- });
112
- }
113
- });
114
- };
115
- return (a, m) => {
116
- var M;
117
- const n = y("el-input"), V = y("el-option"), f = y("el-select"), F = y("el-select-v2"), _ = y("el-date-picker"), d = y("el-cascader"), i = y("el-switch"), U = y("el-form-item"), k = y("el-col"), ie = y("el-row"), re = y("el-form"), O = y("el-button"), ne = y("el-dialog");
118
- return r(), p(ne, {
119
- "model-value": u.visible,
120
- title: u.title,
121
- top: "5vh",
122
- width: (M = s.data.formConfig) == null ? void 0 : M.dialogWidth,
123
- "append-to-body": "",
124
- "destroy-on-close": "",
125
- "close-on-click-modal": !1,
126
- "before-close": de
127
- }, {
128
- footer: h(() => [
129
- z("span", Ke, [
130
- C(O, {
131
- loading: l(g).btnLoading,
132
- onClick: N
133
- }, {
134
- default: h(() => [
135
- R(T(l(c)("act.cancel")), 1)
136
- ]),
137
- _: 1
138
- }, 8, ["loading"]),
139
- C(O, {
140
- type: "primary",
141
- loading: l(g).btnLoading,
142
- onClick: m[1] || (m[1] = (S) => se(l(K)))
143
- }, {
144
- default: h(() => [
145
- R(T(l(c)("act.save")), 1)
146
- ]),
147
- _: 1
148
- }, 8, ["loading"])
149
- ])
150
- ]),
151
- default: h(() => {
152
- var S, j;
153
- return [
154
- C(re, {
155
- ref_key: "formRef",
156
- ref: K,
157
- model: l(t),
158
- "label-suffix": ":",
159
- "label-width": (S = s.data.formConfig) == null ? void 0 : S.formLabelWidth,
160
- "label-position": (j = s.data.formConfig) == null ? void 0 : j.formLabelPosition
161
- }, {
162
- default: h(() => [
163
- C(ie, { gutter: 40 }, {
164
- default: h(() => [
165
- (r(!0), D(L, null, W(l(w), (e, q) => (r(), p(k, {
166
- span: I(e),
167
- key: q
168
- }, {
169
- default: h(() => [
170
- e.customFiledsComponentes.isFiledCustom ? (r(), D(L, { key: 1 }, [
171
- e.customFiledsComponentes[e.customFiledsComponentes.customComponentName] ? (r(), p(fe(e.customFiledsComponentes[e.customFiledsComponentes.customComponentName]), {
172
- key: 0,
173
- fieldCofnigItem: e,
174
- rowData: u.data.rowData,
175
- form: l(t),
176
- "onUpdate:form": m[0] || (m[0] = (o) => me(t) ? t.value = o : t = o)
177
- }, null, 40, ["fieldCofnigItem", "rowData", "form"])) : (r(), D("div", {
178
- class: "no-config",
179
- key: q
180
- }, [
181
- z("span", we, "【" + T(e.fieldName) + "】", 1),
182
- R(T(l(c)("act.fieldCustom")), 1)
183
- ]))
184
- ], 64)) : (r(), p(U, {
185
- key: 0,
186
- label: e.fieldName,
187
- prop: e.fieldKey,
188
- rules: [{ required: e.isFormFieldRequired, message: l(c)("act.requiredMessage"), trigger: ee(e) }]
189
- }, {
190
- default: h(() => [
191
- e.fieldType === "input" ? (r(), p(n, {
192
- key: 0,
193
- modelValue: l(t)[e.fieldKey],
194
- "onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
195
- placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
196
- disabled: e.isFormDisabled,
197
- clearable: ""
198
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : J("", !0),
199
- e.fieldType === "inputNumber" ? (r(), p(l(Q), {
200
- key: 1,
201
- modelValue: l(t)[e.fieldKey],
202
- "onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
203
- placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
204
- disabled: e.isFormDisabled,
205
- clearable: ""
206
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "textarea" ? (r(), p(n, {
207
- key: 2,
208
- modelValue: l(t)[e.fieldKey],
209
- "onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
210
- type: "textarea",
211
- placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
212
- disabled: e.isFormDisabled,
213
- rows: 4
214
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : ["select", "multipleSelect"].includes(e.fieldType) ? (r(), p(f, {
215
- key: 3,
216
- modelValue: l(t)[e.fieldKey],
217
- "onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
218
- placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
219
- disabled: e.isFormDisabled,
220
- clearable: "",
221
- filterable: "",
222
- multiple: e.fieldType === "multipleSelect"
223
- }, {
224
- default: h(() => [
225
- (r(!0), D(L, null, W(e.dataList, (o, ce) => (r(), p(V, {
226
- key: ce,
227
- label: o.key,
228
- value: o.value
229
- }, null, 8, ["label", "value"]))), 128))
230
- ]),
231
- _: 2
232
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "multiple"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (r(), p(F, {
233
- key: 4,
234
- modelValue: l(t)[e.fieldKey],
235
- "onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
236
- options: e.dataList,
237
- props: { ...l(Ce) },
238
- placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
239
- disabled: e.isFormDisabled,
240
- clearable: "",
241
- filterable: "",
242
- multiple: e.fieldType === "virtualizedMultipleSelect"
243
- }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled", "multiple"])) : e.fieldType === "date" ? (r(), p(_, {
244
- key: 5,
245
- modelValue: l(t)[e.fieldKey],
246
- "onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
247
- type: e.fieldUiType,
248
- placeholder: `${l(c)("act.selectPlaceholder")}${l(c)("act.time")}`,
249
- "value-format": l(G)[e.fieldUiType],
250
- disabled: e.isFormDisabled
251
- }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "placeholder", "value-format", "disabled"])) : e.fieldType === "dateRange" ? (r(), p(_, {
252
- key: 6,
253
- modelValue: l(t)[e.fieldKey],
254
- "onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
255
- type: e.fieldUiType,
256
- "start-placeholder": l(c)("act.startTime"),
257
- "end-placeholder": l(c)("act.endTime"),
258
- "value-format": l(G)[e.fieldUiType],
259
- disabled: e.isFormDisabled
260
- }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "start-placeholder", "end-placeholder", "value-format", "disabled"])) : e.fieldType === "provinceCascade" ? (r(), p(d, {
261
- key: 7,
262
- modelValue: l(t)[e.fieldKey],
263
- "onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
264
- options: e.dataList,
265
- props: l(Te),
266
- clearable: "",
267
- filterable: "",
268
- placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
269
- disabled: e.isFormDisabled
270
- }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled"])) : e.fieldType === "switch" ? (r(), p(i, {
271
- key: 8,
272
- modelValue: l(t)[e.fieldKey],
273
- "onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
274
- "active-value": !0,
275
- "inactive-value": !1
276
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : e.fieldType === "editor" ? (r(), p(l(X), {
277
- key: 9,
278
- modelValue: l(t)[e.fieldKey],
279
- "onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
280
- disabled: e.isFormDisabled,
281
- placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`
282
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "placeholder"])) : J("", !0)
283
- ]),
284
- _: 2
285
- }, 1032, ["label", "prop", "rules"]))
286
- ]),
287
- _: 2
288
- }, 1032, ["span"]))), 128))
289
- ]),
290
- _: 1
291
- })
292
- ]),
293
- _: 1
294
- }, 8, ["model", "label-width", "label-position"])
295
- ];
296
- }),
297
- _: 1
298
- }, 8, ["model-value", "title", "width"]);
299
- };
300
- }
301
- }, Re = /* @__PURE__ */ Ve(Ne, [["__scopeId", "data-v-fdec5545"]]);
302
- export {
303
- Re as default
304
- };