act-plus 1.1.24 → 1.1.26

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.
@@ -1,6 +1,7 @@
1
1
  import { ref as R, inject as l, watch as j, resolveComponent as C, openBlock as s, createElementBlock as f, Fragment as y, renderList as q, unref as c, createBlock as i, resolveDynamicComponent as O, withCtx as _, createVNode as E, createCommentVNode as u, createTextVNode as B, toDisplayString as k } from "vue";
2
- import { _ as H, u as M } from "./index-d0c3be37.js";
2
+ import { _ as H, u as M } from "./index-2ebc799e.js";
3
3
  import "vue-router";
4
+ import "js-base64";
4
5
  import "element-plus";
5
6
  import "monaco-editor";
6
7
  const z = { class: "header-operate-container" }, G = {
@@ -91,7 +92,7 @@ const z = { class: "header-operate-container" }, G = {
91
92
  ]);
92
93
  };
93
94
  }
94
- }, X = /* @__PURE__ */ H(G, [["__scopeId", "data-v-20d66b80"]]);
95
+ }, Y = /* @__PURE__ */ H(G, [["__scopeId", "data-v-00d47037"]]);
95
96
  export {
96
- X as default
97
+ Y as default
97
98
  };
@@ -1,6 +1,7 @@
1
1
  import { ref as h, watch as I, resolveComponent as _, openBlock as i, createElementBlock as d, createVNode as u, unref as p, isRef as b, withCtx as m, createElementVNode as g, createBlock as w, createCommentVNode as C, createTextVNode as N, Fragment as B, renderList as E, normalizeClass as S } from "vue";
2
- import { _ as z } from "./index-d0c3be37.js";
2
+ import { _ as z } from "./index-2ebc799e.js";
3
3
  import "vue-router";
4
+ import "js-base64";
4
5
  import "element-plus";
5
6
  import "monaco-editor";
6
7
  const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["onClick"], P = {
@@ -85,7 +86,7 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
85
86
  ]);
86
87
  };
87
88
  }
88
- }, H = /* @__PURE__ */ z(R, [["__scopeId", "data-v-eac43c79"]]);
89
+ }, J = /* @__PURE__ */ z(R, [["__scopeId", "data-v-3437a309"]]);
89
90
  export {
90
- H as default
91
+ J as default
91
92
  };
@@ -1,36 +1,10 @@
1
- import { defineAsyncComponent as L, inject as R, reactive as fe, ref as $, watch as me, resolveComponent as y, openBlock as n, createBlock as p, withCtx as g, createElementVNode as H, createVNode as T, unref as l, createTextVNode as x, toDisplayString as K, createElementBlock as w, Fragment as A, renderList as W, mergeProps as h, createCommentVNode as J, resolveDynamicComponent as ye, isRef as be, toRaw as _e } from "vue";
2
- import { b as he, e as ge, r as Ve, c as Fe, _ as Ce, u as De, P as Te, a as Ke } from "./index-d0c3be37.js";
3
- import { ElMessage as G, ElNotification as we } from "element-plus";
1
+ import { defineAsyncComponent as S, inject as D, reactive as pe, ref as L, watch as me, resolveComponent as m, resolveDirective as ye, openBlock as r, createBlock as c, withCtx as _, createElementVNode as H, createVNode as $, unref as l, createTextVNode as R, toDisplayString as T, withDirectives as be, createElementBlock as K, Fragment as x, renderList as z, mergeProps as b, createCommentVNode as W, resolveDynamicComponent as _e, isRef as he, toRaw as Ve } from "vue";
2
+ import { _ as ge, u as Fe, P as Ce, a as De } from "./index-2ebc799e.js";
3
+ import { ElNotification as Te } from "element-plus";
4
4
  import "vue-router";
5
+ import "js-base64";
5
6
  import "monaco-editor";
6
- const M = he.create({
7
- baseURL: "",
8
- // ""
9
- timeout: 15e3
10
- });
11
- M.interceptors.request.use(
12
- (r) => {
13
- let b = sessionStorage.getItem("accessToken");
14
- return b && (r.headers.Authorization = "Bearer " + b), r.headers["Content-Type"] != "application/x-www-form-urlencoded" && (r.data = { ...r.data }, Reflect.has(r.data, "dynamicFilters") && (r.data.dynamicFilters = ge(JSON.stringify(r.data.dynamicFilters)))), r;
15
- },
16
- (r) => Promise.reject(r)
17
- );
18
- M.interceptors.response.use(
19
- (r) => {
20
- const b = r.data;
21
- if (b.code == 200)
22
- return b;
23
- if (b.code == 401)
24
- sessionStorage.clear(), Ve.replace("/"), Fe(), G.error({ title: "错误", message: "登陆超时,请重新登录" });
25
- else
26
- return G.error({ title: "错误", message: b.msg }), Promise.reject(b.msg);
27
- },
28
- (r) => {
29
- if (r.response.status != -1)
30
- return Promise.reject(r);
31
- }
32
- );
33
- const Ne = { class: "no-config-field" }, Ue = { class: "dialog-footer" }, ke = {
7
+ const Ke = { class: "no-config-field" }, we = { class: "dialog-footer" }, Ne = {
34
8
  __name: "index",
35
9
  props: {
36
10
  visible: { type: Boolean, default: !1 },
@@ -38,272 +12,275 @@ const Ne = { class: "no-config-field" }, Ue = { class: "dialog-footer" }, ke = {
38
12
  data: { type: Object, default: () => ({}) }
39
13
  },
40
14
  emits: ["update:visible", "refresh"],
41
- setup(r, { emit: b }) {
42
- const Q = L(() => import("./index-e2f2023d.js")), X = L(() => import("./index-d0c3be37.js").then((o) => o.m)), Z = L(() => import("./index-d0c3be37.js").then((o) => o.l)), { t: c } = De(), I = R("loadComponents"), E = R("formatDataType"), O = R("globalProps"), j = b, u = r;
43
- let C = fe((() => ({
15
+ setup(C, { emit: G }) {
16
+ const J = S(() => import("./index-2ebc799e.js").then((o) => o.f)), Q = S(() => import("./index-2ebc799e.js").then((o) => o.e)), X = S(() => import("./index-2ebc799e.js").then((o) => o.d)), { t: i } = Fe(), M = D("request"), Z = D("loadComponents"), A = D("formatDataType"), E = D("globalProps"), O = G, u = C;
17
+ let g = pe((() => ({
44
18
  btnLoading: !1
45
- }))()), N = $([]), a = $({}), U = $(null), ee = {};
46
- const _ = (o) => new Function("", o.fieldUiProps)() || {}, le = (o) => o.formColumnCol == null || o.customFiledsComponentes[o.customFiledsComponentes.customComponentName] ? 24 : o.formColumnCol ? o.formColumnCol : 24 / o.formRow, oe = (o) => {
19
+ }))()), w = L([]), a = L({}), N = L(null), I = {};
20
+ const y = (o) => new Function("", o.fieldUiProps)() || {}, ee = (o) => o.formColumnCol == null || o.customFiledsComponentes[o.customFiledsComponentes.customComponentName] ? 24 : o.formColumnCol ? o.formColumnCol : 24 / o.formRow, le = (o) => {
47
21
  if (["input", "textarea"].includes(o.fieldType))
48
22
  return "blur";
49
23
  if (["select", "multipleSelect", "datetimerange", "treeSelect", "provinceCascade"].includes(o.fieldType))
50
24
  return "change";
51
- }, ae = (o) => {
25
+ }, oe = (o) => {
52
26
  if (!["input", "textarea"].includes(o) && ["multipleSelect", "dateRange"].includes(o))
53
27
  return [];
54
- }, te = (o, f) => {
28
+ }, ae = (o, f) => {
55
29
  if (["string"].includes(f))
56
30
  return o.join(";");
57
31
  if (["number"].includes(f))
58
32
  return Number(o);
59
33
  if (["array"].includes(f))
60
34
  return o;
61
- }, de = (o) => {
35
+ }, te = (o) => {
62
36
  if (["multipleSelect"].includes(o.fieldType))
63
37
  return u.data.rowData[o.fieldKey] ? u.data.rowData[o.fieldKey].split(";") : [];
64
38
  if (["dateRange"].includes(o.fieldType)) {
65
39
  const f = o.fieldKey.split("&");
66
- return u.data.rowData[o.fieldKey] = f.map((s) => u.data.rowData[s]), u.data.rowData[o.fieldKey];
40
+ return u.data.rowData[o.fieldKey] = f.map((n) => u.data.rowData[n]), u.data.rowData[o.fieldKey];
67
41
  }
68
42
  return u.data.rowData[o.fieldKey];
69
- }, re = (o) => M({ url: u.data.dataItem.requestUrl, method: "post", data: o });
43
+ }, de = (o) => M({ url: u.data.dataItem.requestUrl, method: "post", data: o });
70
44
  me(
71
45
  () => u.visible,
72
46
  async (o, f) => {
73
- o && (u.data.formList.sort((s, V) => s.sort - V.sort).forEach(async (s) => {
74
- ee[s.fieldKey] = { submitFieldType: s.fieldSubmitType, isFormSetValue: s.isFormSetValue }, a.value[s.fieldKey] = Object.keys(u.data.rowData).length && s.isFormSetValue ? de(s) : ae(s.fieldType);
75
- const { isFiledCustom: V, customComponentName: m, customComponentUrl: D } = s.customFiledsComponentes;
76
- if (V && !s.customFiledsComponentes[m]) {
77
- const F = await I(D, m);
78
- s.customFiledsComponentes[m] = F;
47
+ o && (u.data.formList.sort((n, h) => n.sort - h.sort).forEach(async (n) => {
48
+ I[n.fieldKey] = { submitFieldType: n.fieldSubmitType, isFormSetValue: n.isFormSetValue }, a.value[n.fieldKey] = Object.keys(u.data.rowData).length && n.isFormSetValue ? te(n) : oe(n.fieldType);
49
+ const { isFiledCustom: h, customComponentName: p, customComponentUrl: F } = n.customFiledsComponentes;
50
+ if (h && !n.customFiledsComponentes[p]) {
51
+ const V = await Z(F, p);
52
+ n.customFiledsComponentes[p] = V;
79
53
  }
80
- }), console.log(u.data.formList), N.value = u.data.formList || []);
54
+ }), console.log(u.data.formList), w.value = u.data.formList || []);
81
55
  }
82
56
  );
83
- const se = (o) => {
84
- k(), o();
85
- }, k = () => {
86
- N.value = [], U.value.resetFields(), j("update:visible", !1);
57
+ const re = (o) => {
58
+ U(), o();
59
+ }, U = () => {
60
+ w.value = [], N.value.resetFields(), O("update:visible", !1);
87
61
  }, ne = (o) => {
88
62
  o && o.validate((f) => {
89
63
  if (f) {
90
- C.btnLoading = !0;
91
- const { dataItem: s, rowData: V } = u.data;
92
- let m = { ..._e(a.value) };
93
- Object.keys(m).forEach((d) => {
94
- d.includes("&") ? m[d].split("&").forEach((P, S) => {
95
- m[P] = m[d][S];
96
- }) : Array.isArray(m[d]) && (m[d] = te(m[d], "string"));
64
+ g.btnLoading = !0;
65
+ const { dataItem: n, rowData: h } = u.data;
66
+ let p = { ...Ve(a.value) };
67
+ Object.keys(p).forEach((d) => {
68
+ d.includes("&") ? p[d].split("&").forEach((k, v) => {
69
+ p[k] = p[d][v];
70
+ }) : Array.isArray(p[d]) && (p[d] = ae(p[d], "string"));
97
71
  });
98
- const D = s.submitFields.filter((d) => d.matchType == "default").reduce((d, i) => (i.submitFieldType === "string" && (d[i.submitFieldName] = i.matchFieldName.toString()), d), {}), F = s.submitFields.filter((d) => d.matchType == "match").reduce((d, i) => (Reflect.has(i, "submitFieldMatchOrigin") && i.submitFieldMatchOrigin != "rowData" ? Reflect.has(O.matchData, i.submitFieldMatchOrigin) && (d[i.submitFieldName] = E(i.submitFieldType, O.matchData[i.submitFieldMatchOrigin][i.matchFieldName])) : d[i.submitFieldName] = E(i.submitFieldType, V[i.matchFieldName]), d), {});
99
- re({
100
- ...m,
101
- ...D,
102
- ...F
72
+ const F = n.submitFields.filter((d) => d.matchType == "default").reduce((d, s) => (s.submitFieldType === "string" && (d[s.submitFieldName] = s.matchFieldName.toString()), d), {}), V = n.submitFields.filter((d) => d.matchType == "match").reduce((d, s) => (Reflect.has(s, "submitFieldMatchOrigin") && s.submitFieldMatchOrigin != "rowData" ? Reflect.has(E.matchData, s.submitFieldMatchOrigin) && (d[s.submitFieldName] = A(s.submitFieldType, E.matchData[s.submitFieldMatchOrigin][s.matchFieldName])) : d[s.submitFieldName] = A(s.submitFieldType, h[s.matchFieldName]), d), {});
73
+ de({
74
+ ...p,
75
+ ...F,
76
+ ...V
103
77
  }).then((d) => {
104
78
  try {
105
- we({ title: c("act.tip"), message: c("act.saveSuccessfully"), type: "success", duration: 2500 }), k(), j("refresh");
106
- } catch (i) {
107
- console.error(i);
79
+ Te({ title: i("act.tip"), message: i("act.saveSuccessfully"), type: "success", duration: 2500 }), U(), O("refresh");
80
+ } catch (s) {
81
+ console.error(s);
108
82
  }
109
- C.btnLoading = !1;
83
+ g.btnLoading = !1;
110
84
  }).catch((d) => {
111
- console.error(d), C.btnLoading = !1;
85
+ console.error(d), g.btnLoading = !1;
112
86
  });
113
87
  }
114
88
  });
115
89
  };
116
90
  return (o, f) => {
117
- var q;
118
- const s = y("el-input"), V = y("el-option"), m = y("el-select"), D = y("el-select-v2"), F = y("el-date-picker"), d = y("el-cascader"), i = y("el-switch"), P = y("el-form-item"), S = y("el-col"), ie = y("el-row"), ce = y("el-form"), Y = y("el-button"), ue = y("el-dialog");
119
- return n(), p(ue, {
91
+ var Y;
92
+ const n = m("el-input"), h = m("el-option"), p = m("el-select"), F = m("el-select-v2"), V = m("el-date-picker"), d = m("el-cascader"), s = m("el-switch"), k = m("el-form-item"), v = m("el-col"), se = m("el-row"), ie = m("el-form"), q = m("el-button"), ce = m("el-dialog"), ue = ye("debounce");
93
+ return r(), c(ce, {
120
94
  "model-value": u.visible,
121
95
  title: u.title,
122
96
  top: "5vh",
123
- width: (q = r.data.formConfig) == null ? void 0 : q.dialogWidth,
97
+ width: (Y = C.data.formConfig) == null ? void 0 : Y.dialogWidth,
124
98
  "append-to-body": "",
125
99
  "destroy-on-close": "",
126
100
  "close-on-click-modal": !1,
127
- "before-close": se
101
+ "before-close": re
128
102
  }, {
129
- footer: g(() => [
130
- H("span", Ue, [
131
- T(Y, {
132
- loading: l(C).btnLoading,
133
- onClick: k
103
+ footer: _(() => [
104
+ H("span", we, [
105
+ $(q, {
106
+ loading: l(g).btnLoading,
107
+ onClick: U
134
108
  }, {
135
- default: g(() => [
136
- x(K(l(c)("act.cancel")), 1)
109
+ default: _(() => [
110
+ R(T(l(i)("act.cancel")), 1)
137
111
  ]),
138
112
  _: 1
139
113
  }, 8, ["loading"]),
140
- T(Y, {
114
+ be((r(), c(q, {
141
115
  type: "primary",
142
- loading: l(C).btnLoading,
143
- onClick: f[1] || (f[1] = (v) => ne(l(U)))
116
+ loading: l(g).btnLoading,
117
+ onClick: f[1] || (f[1] = (P) => ne(l(N)))
144
118
  }, {
145
- default: g(() => [
146
- x(K(l(c)("act.save")), 1)
119
+ default: _(() => [
120
+ R(T(l(i)("act.save")), 1)
147
121
  ]),
148
122
  _: 1
149
- }, 8, ["loading"])
123
+ }, 8, ["loading"])), [
124
+ [ue]
125
+ ])
150
126
  ])
151
127
  ]),
152
- default: g(() => {
153
- var v, B;
128
+ default: _(() => {
129
+ var P, j;
154
130
  return [
155
- T(ce, {
131
+ $(ie, {
156
132
  ref_key: "formRef",
157
- ref: U,
133
+ ref: N,
158
134
  model: l(a),
159
135
  "label-suffix": ":",
160
- "label-width": (v = r.data.formConfig) == null ? void 0 : v.formLabelWidth,
161
- "label-position": (B = r.data.formConfig) == null ? void 0 : B.formLabelPosition
136
+ "label-width": (P = C.data.formConfig) == null ? void 0 : P.formLabelWidth,
137
+ "label-position": (j = C.data.formConfig) == null ? void 0 : j.formLabelPosition
162
138
  }, {
163
- default: g(() => [
164
- T(ie, { gutter: 40 }, {
165
- default: g(() => [
166
- (n(!0), w(A, null, W(l(N), (e, z) => (n(), p(S, {
167
- span: le(e),
168
- key: z
139
+ default: _(() => [
140
+ $(se, { gutter: 40 }, {
141
+ default: _(() => [
142
+ (r(!0), K(x, null, z(l(w), (e, B) => (r(), c(v, {
143
+ span: ee(e),
144
+ key: B
169
145
  }, {
170
- default: g(() => [
171
- e.customFiledsComponentes.isFiledCustom ? (n(), w(A, { key: 1 }, [
172
- e.customFiledsComponentes[e.customFiledsComponentes.customComponentName] ? (n(), p(ye(e.customFiledsComponentes[e.customFiledsComponentes.customComponentName]), {
146
+ default: _(() => [
147
+ e.customFiledsComponentes.isFiledCustom ? (r(), K(x, { key: 1 }, [
148
+ e.customFiledsComponentes[e.customFiledsComponentes.customComponentName] ? (r(), c(_e(e.customFiledsComponentes[e.customFiledsComponentes.customComponentName]), {
173
149
  key: 0,
174
150
  fieldCofnigItem: e,
175
151
  rowData: u.data.rowData,
176
152
  form: l(a),
177
- "onUpdate:form": f[0] || (f[0] = (t) => be(a) ? a.value = t : a = t)
178
- }, null, 40, ["fieldCofnigItem", "rowData", "form"])) : (n(), w("div", {
153
+ "onUpdate:form": f[0] || (f[0] = (t) => he(a) ? a.value = t : a = t)
154
+ }, null, 40, ["fieldCofnigItem", "rowData", "form"])) : (r(), K("div", {
179
155
  class: "no-config",
180
- key: z
156
+ key: B
181
157
  }, [
182
- H("span", Ne, "【" + K(e.fieldName) + "】", 1),
183
- x(K(l(c)("act.fieldCustom")), 1)
158
+ H("span", Ke, "【" + T(e.fieldName) + "】", 1),
159
+ R(T(l(i)("act.fieldCustom")), 1)
184
160
  ]))
185
- ], 64)) : (n(), p(P, {
161
+ ], 64)) : (r(), c(k, {
186
162
  key: 0,
187
163
  label: e.fieldName,
188
164
  prop: e.fieldKey,
189
- rules: [{ required: e.isFormFieldRequired, message: l(c)("act.requiredMessage"), trigger: oe(e) }]
165
+ rules: [{ required: e.isFormFieldRequired, message: l(i)("act.requiredMessage"), trigger: le(e) }]
190
166
  }, {
191
- default: g(() => [
192
- e.fieldType === "input" ? (n(), p(s, h({
167
+ default: _(() => [
168
+ e.fieldType === "input" ? (r(), c(n, b({
193
169
  key: 0,
194
170
  modelValue: l(a)[e.fieldKey],
195
171
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
196
- placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
172
+ placeholder: `${l(i)("act.inputPlaceholder")}${e.fieldName}`,
197
173
  clearable: "",
198
174
  ref_for: !0
199
- }, _(e), {
175
+ }, y(e), {
200
176
  disabled: e.isFormDisabled
201
- }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : J("", !0),
202
- e.fieldType === "inputNumber" ? (n(), p(l(Q), h({
177
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : W("", !0),
178
+ e.fieldType === "inputNumber" ? (r(), c(l(J), b({
203
179
  key: 1,
204
180
  modelValue: l(a)[e.fieldKey],
205
181
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
206
- placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
182
+ placeholder: `${l(i)("act.inputPlaceholder")}${e.fieldName}`,
207
183
  clearable: "",
208
184
  ref_for: !0
209
- }, _(e), {
185
+ }, y(e), {
210
186
  disabled: e.isFormDisabled
211
- }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "textarea" ? (n(), p(s, h({
187
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "textarea" ? (r(), c(n, b({
212
188
  key: 2,
213
189
  modelValue: l(a)[e.fieldKey],
214
190
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
215
- placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
191
+ placeholder: `${l(i)("act.inputPlaceholder")}${e.fieldName}`,
216
192
  rows: 4,
217
193
  ref_for: !0
218
- }, _(e), {
194
+ }, y(e), {
219
195
  type: "textarea",
220
196
  disabled: e.isFormDisabled
221
- }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : ["select", "multipleSelect"].includes(e.fieldType) ? (n(), p(m, h({
197
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : ["select", "multipleSelect"].includes(e.fieldType) ? (r(), c(p, b({
222
198
  key: 3,
223
199
  modelValue: l(a)[e.fieldKey],
224
200
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
225
- placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
201
+ placeholder: `${l(i)("act.selectPlaceholder")}${e.fieldName}`,
226
202
  clearable: "",
227
203
  filterable: "",
228
204
  ref_for: !0
229
- }, _(e), {
205
+ }, y(e), {
230
206
  multiple: e.fieldType === "multipleSelect",
231
207
  disabled: e.isFormDisabled
232
208
  }), {
233
- default: g(() => [
234
- (n(!0), w(A, null, W(e.dataList, (t, pe) => (n(), p(V, {
235
- key: pe,
209
+ default: _(() => [
210
+ (r(!0), K(x, null, z(e.dataList, (t, fe) => (r(), c(h, {
211
+ key: fe,
236
212
  label: t.key,
237
213
  value: t.value
238
214
  }, null, 8, ["label", "value"]))), 128))
239
215
  ]),
240
216
  _: 2
241
- }, 1040, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "disabled"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (n(), p(D, h({
217
+ }, 1040, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "disabled"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (r(), c(F, b({
242
218
  key: 4,
243
219
  modelValue: l(a)[e.fieldKey],
244
220
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
245
221
  options: e.dataList,
246
- props: { ...l(Te) },
247
- placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
222
+ props: { ...l(Ce) },
223
+ placeholder: `${l(i)("act.selectPlaceholder")}${e.fieldName}`,
248
224
  clearable: "",
249
225
  filterable: "",
250
226
  ref_for: !0
251
- }, _(e), {
227
+ }, y(e), {
252
228
  disabled: e.isFormDisabled,
253
229
  multiple: e.fieldType === "virtualizedMultipleSelect"
254
- }), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled", "multiple"])) : e.fieldType === "date" ? (n(), p(F, h({
230
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled", "multiple"])) : e.fieldType === "date" ? (r(), c(V, b({
255
231
  key: 5,
256
232
  modelValue: l(a)[e.fieldKey],
257
233
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
258
234
  type: "date",
259
- placeholder: `${l(c)("act.selectPlaceholder")}${l(c)("act.time")}`,
235
+ placeholder: `${l(i)("act.selectPlaceholder")}${l(i)("act.time")}`,
260
236
  "value-format": "YYYY-MM-DD HH:mm:ss",
261
237
  ref_for: !0
262
- }, _(e), {
238
+ }, y(e), {
263
239
  disabled: e.isFormDisabled
264
- }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "dateRange" ? (n(), p(F, h({
240
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "dateRange" ? (r(), c(V, b({
265
241
  key: 6,
266
242
  modelValue: l(a)[e.fieldKey],
267
243
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
268
244
  type: "daterange",
269
- "start-placeholder": l(c)("act.startTime"),
270
- "end-placeholder": l(c)("act.endTime"),
245
+ "start-placeholder": l(i)("act.startTime"),
246
+ "end-placeholder": l(i)("act.endTime"),
271
247
  "value-format": "YYYY-MM-DD HH:mm:ss",
272
248
  ref_for: !0
273
- }, _(e), {
249
+ }, y(e), {
274
250
  disabled: e.isFormDisabled
275
- }), null, 16, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "disabled"])) : e.fieldType === "provinceCascade" ? (n(), p(d, h({
251
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "disabled"])) : e.fieldType === "provinceCascade" ? (r(), c(d, b({
276
252
  key: 7,
277
253
  modelValue: l(a)[e.fieldKey],
278
254
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
279
255
  options: e.dataList,
280
- props: l(Ke),
256
+ props: l(De),
281
257
  clearable: "",
282
258
  filterable: "",
283
- placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
259
+ placeholder: `${l(i)("act.selectPlaceholder")}${e.fieldName}`,
284
260
  ref_for: !0
285
- }, _(e), {
261
+ }, y(e), {
286
262
  disabled: e.isFormDisabled
287
- }), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled"])) : e.fieldType === "switch" ? (n(), p(i, {
263
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled"])) : e.fieldType === "switch" ? (r(), c(s, {
288
264
  key: 8,
289
265
  modelValue: l(a)[e.fieldKey],
290
266
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
291
267
  "active-value": !0,
292
268
  "inactive-value": !1
293
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : e.fieldType === "upload" ? (n(), p(l(X), h({
269
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : e.fieldType === "upload" ? (r(), c(l(Q), b({
294
270
  key: 9,
295
271
  class: "form-upload",
296
272
  modelValue: l(a)[e.fieldKey],
297
273
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
274
+ request: l(M),
298
275
  ref_for: !0
299
- }, _(e)), null, 16, ["modelValue", "onUpdate:modelValue"])) : e.fieldType === "editor" ? (n(), p(l(Z), h({
276
+ }, y(e)), null, 16, ["modelValue", "onUpdate:modelValue", "request"])) : e.fieldType === "editor" ? (r(), c(l(X), b({
300
277
  key: 10,
301
278
  modelValue: l(a)[e.fieldKey],
302
279
  "onUpdate:modelValue": (t) => l(a)[e.fieldKey] = t,
303
280
  disabled: e.isFormDisabled,
304
- placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
281
+ placeholder: `${l(i)("act.inputPlaceholder")}${e.fieldName}`,
305
282
  ref_for: !0
306
- }, _(e)), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "placeholder"])) : J("", !0)
283
+ }, y(e)), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "placeholder"])) : W("", !0)
307
284
  ]),
308
285
  _: 2
309
286
  }, 1032, ["label", "prop", "rules"]))
@@ -322,7 +299,7 @@ const Ne = { class: "no-config-field" }, Ue = { class: "dialog-footer" }, ke = {
322
299
  }, 8, ["model-value", "title", "width"]);
323
300
  };
324
301
  }
325
- }, xe = /* @__PURE__ */ Ce(ke, [["__scopeId", "data-v-4734dc60"]]);
302
+ }, Re = /* @__PURE__ */ ge(Ne, [["__scopeId", "data-v-58ff2aa1"]]);
326
303
  export {
327
- xe as default
304
+ Re as default
328
305
  };