act-plus 1.1.34 → 1.1.36

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