@skyfox2000/webui 1.6.13 → 1.6.15

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/lib/assets/modules/{baseLayout-p7VibDY4.js → baseLayout-Cia1cG5l.js} +3 -3
  2. package/lib/assets/modules/{file-upload-D7C_mOmO.js → file-upload-D1gRZv8j.js} +1 -1
  3. package/lib/assets/modules/{index-BQN_a3GE.js → index-MgDOEHr_.js} +2 -2
  4. package/lib/assets/modules/{index-CEBo0bZK.js → index-Ye0JfNsM.js} +1 -1
  5. package/lib/assets/modules/{index-CWI8upr0.js → index-xnHQyu3E.js} +2 -2
  6. package/lib/assets/modules/{menuTabs-RYgm30Xy.js → menuTabs-C3imgUBh.js} +36 -36
  7. package/lib/assets/modules/{toolIcon-CUIeCTuV.js → toolIcon-DFf-Ttkx.js} +1 -1
  8. package/lib/assets/modules/{upload-template-Bl7C0exv.js → upload-template-BDrBVe4E.js} +1059 -1060
  9. package/lib/assets/modules/{uploadList-DIvGI7qL.js → uploadList-BreC8S8m.js} +4 -4
  10. package/lib/es/AceEditor/index.js +3 -3
  11. package/lib/es/BasicLayout/index.js +2 -2
  12. package/lib/es/Error403/index.js +1 -1
  13. package/lib/es/Error404/index.js +1 -1
  14. package/lib/es/ExcelForm/index.js +52 -52
  15. package/lib/es/MenuLayout/index.js +2 -2
  16. package/lib/es/TemplateFile/index.js +4 -4
  17. package/lib/es/UploadForm/index.js +4 -4
  18. package/lib/locales/default.en-US.d.ts +19 -19
  19. package/lib/locales/default.zh-CN.d.ts +2 -7
  20. package/lib/webui.css +1 -1
  21. package/lib/webui.es.js +1300 -1297
  22. package/package.json +1 -1
  23. package/src/components/content/table/index.vue +3 -0
  24. package/src/components/form/input/index.vue +3 -3
  25. package/src/components/form/input/inputNumber.vue +2 -3
  26. package/src/components/form/input/inputPassword.vue +2 -3
  27. package/src/components/form/propEditor/index.vue +4 -6
  28. package/src/components/form/radio/index.vue +1 -1
  29. package/src/components/form/switch/index.vue +20 -8
  30. package/src/components/form/textarea/index.vue +2 -4
  31. package/src/components/form/timePicker/index.vue +2 -3
  32. package/src/components/form/upload/imageList.vue +7 -9
  33. package/src/locales/default.en-US.ts +22 -24
  34. package/src/locales/default.zh-CN.ts +4 -14
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ue, ref as R, computed as I, watch as $, resolveDirective as de, openBlock as d, createElementBlock as m, normalizeClass as z, unref as n, createElementVNode as w, withDirectives as b, createBlock as V, mergeProps as G, withCtx as v, createVNode as p, createTextVNode as E, toDisplayString as U, createCommentVNode as y, Fragment as pe, renderList as me } from "vue";
2
- import { _ as H } from "./index-CEBo0bZK.js";
3
- import { a as B, _ as K } from "./toolIcon-CUIeCTuV.js";
2
+ import { _ as H } from "./index-Ye0JfNsM.js";
3
+ import { a as B, _ as K } from "./toolIcon-DFf-Ttkx.js";
4
4
  import { httpPost as N, ResStatus as j } from "@skyfox2000/fapi";
5
- import { L as X, u as Y, $ as a, v as fe, _ as he } from "./upload-template-Bl7C0exv.js";
5
+ import { L as X, u as Y, $ as a, v as fe, _ as he } from "./upload-template-BDrBVe4E.js";
6
6
  import F from "vue-m-message";
7
7
  import { Upload as J, Tag as we, Popconfirm as ve, Progress as xe } from "ant-design-vue";
8
- import { U as r, f as be, p as W } from "./file-upload-D7C_mOmO.js";
8
+ import { U as r, f as be, p as W } from "./file-upload-D1gRZv8j.js";
9
9
  import { combineParams as Z } from "@skyfox2000/microbase";
10
10
  import "async-validator";
11
11
  import "dayjs";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as V, defineAsyncComponent as J, ref as m, watch as K, onMounted as W, openBlock as p, createElementBlock as x, Fragment as z, createElementVNode as f, toDisplayString as $, unref as l, createVNode as N, createBlock as A, withKeys as v, withModifiers as w, normalizeClass as O, withCtx as L, createCommentVNode as q } from "vue";
2
2
  import "ant-design-vue";
3
- import { _ as D } from "../../assets/modules/toolIcon-CUIeCTuV.js";
3
+ import { _ as D } from "../../assets/modules/toolIcon-DFf-Ttkx.js";
4
4
  import "@skyfox2000/fapi";
5
- import { $ as b } from "../../assets/modules/upload-template-Bl7C0exv.js";
5
+ import { $ as b } from "../../assets/modules/upload-template-BDrBVe4E.js";
6
6
  import "vue-m-message";
7
- import { _ as Q } from "../../assets/modules/index-CWI8upr0.js";
7
+ import { _ as Q } from "../../assets/modules/index-xnHQyu3E.js";
8
8
  import "@skyfox2000/microbase";
9
9
  import "async-validator";
10
10
  import "dayjs";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, openBlock as o, createBlock as t, withCtx as s, createElementVNode as C, normalizeClass as x, createVNode as w, KeepAlive as y, unref as n, resolveDynamicComponent as I } from "vue";
2
- import { _ as g } from "../../assets/modules/baseLayout-p7VibDY4.js";
3
- import { an as A, a as S } from "../../assets/modules/upload-template-Bl7C0exv.js";
2
+ import { _ as g } from "../../assets/modules/baseLayout-Cia1cG5l.js";
3
+ import { am as A, a as S } from "../../assets/modules/upload-template-BDrBVe4E.js";
4
4
  import "@skyfox2000/microbase";
5
5
  import "@skyfox2000/fapi";
6
6
  import b from "vue-m-message";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, openBlock as n, createBlock as p, unref as r, withCtx as e, createVNode as m, createTextVNode as c, toDisplayString as a } from "vue";
2
- import { r as s } from "../../assets/modules/upload-template-Bl7C0exv.js";
2
+ import { r as s } from "../../assets/modules/upload-template-BDrBVe4E.js";
3
3
  import "@skyfox2000/microbase";
4
4
  import "@skyfox2000/fapi";
5
5
  import "vue-m-message";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, openBlock as n, createBlock as p, unref as e, withCtx as r, createVNode as m, createTextVNode as a, toDisplayString as c } from "vue";
2
- import { r as u } from "../../assets/modules/upload-template-Bl7C0exv.js";
2
+ import { r as u } from "../../assets/modules/upload-template-BDrBVe4E.js";
3
3
  import "@skyfox2000/microbase";
4
4
  import "@skyfox2000/fapi";
5
5
  import "vue-m-message";
@@ -1,11 +1,11 @@
1
- import { defineComponent as be, ref as p, computed as S, watch as H, onMounted as he, openBlock as f, createBlock as Q, unref as r, withCtx as D, renderSlot as W, createElementBlock as g, createVNode as _, createTextVNode as Z, toDisplayString as E, createCommentVNode as B, createElementVNode as b, normalizeClass as Fe, Fragment as ie, renderList as ne } from "vue";
2
- import { _ as J } from "../../assets/modules/index-CEBo0bZK.js";
1
+ import { defineComponent as be, ref as p, computed as S, watch as Q, onMounted as he, openBlock as f, createBlock as H, unref as r, withCtx as D, renderSlot as W, createElementBlock as g, createVNode as _, createTextVNode as Y, toDisplayString as E, createCommentVNode as B, createElementVNode as b, normalizeClass as Fe, Fragment as ie, renderList as ne } from "vue";
2
+ import { _ as J } from "../../assets/modules/index-Ye0JfNsM.js";
3
3
  import { Modal as Ce, Upload as ce, Space as Ue } from "ant-design-vue";
4
4
  import { httpGet as _e, ResStatus as de } from "@skyfox2000/fapi";
5
- import { $ as a, H as Ee, Z as Te, S as Re } from "../../assets/modules/upload-template-Bl7C0exv.js";
5
+ import { $ as a, G as Ee, Y as Re, R as Te } from "../../assets/modules/upload-template-BDrBVe4E.js";
6
6
  import m from "vue-m-message";
7
- import { c as pe, _ as Y, a as Se, p as De, i as ke } from "../../assets/modules/index-BQN_a3GE.js";
8
- import { A as Pe, p as Le, U as ue } from "../../assets/modules/file-upload-D7C_mOmO.js";
7
+ import { c as pe, _ as Z, a as Se, p as De, i as ke } from "../../assets/modules/index-MgDOEHr_.js";
8
+ import { A as Pe, p as Le, U as ue } from "../../assets/modules/file-upload-D1gRZv8j.js";
9
9
  import "@skyfox2000/microbase";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
@@ -93,16 +93,16 @@ const Ke = (t) => t.includes(",") || t.includes(`
93
93
  }, Oe = { class: "flex gap-4 relative" }, Ve = {
94
94
  key: 1,
95
95
  class: "w-[22%] flex-grow overflow-hidden flex flex-col"
96
- }, je = { class: "bg-gray-50 p-2 rounded border flex-grow flex flex-col" }, qe = {
96
+ }, je = { class: "bg-gray-50 p-2 rounded border flex-grow flex flex-col" }, Ge = {
97
97
  key: 0,
98
98
  class: "text-gray-500"
99
- }, Ge = {
99
+ }, qe = {
100
100
  key: 1,
101
101
  class: "flex flex-col"
102
- }, Ie = { class: "overflow-y-auto" }, Xe = { class: "text-[13px] text-gray-600" }, He = { class: "pl-5 mt-1 mb-0" }, Qe = {
102
+ }, Ie = { class: "overflow-y-auto" }, Xe = { class: "text-[13px] text-gray-600" }, Qe = { class: "pl-5 mt-1 mb-0" }, He = {
103
103
  key: 0,
104
104
  class: "mt-3"
105
- }, We = { class: "text-[12px] text-gray-600 p-1" }, Ze = { class: "text-[13px] text-gray-600" }, Je = { class: "pl-5 mt-1 mb-0" }, Ye = { class: "text-[12px] text-gray-600" }, fl = /* @__PURE__ */ be({
105
+ }, We = { class: "text-[12px] text-gray-600 p-1" }, Ye = { class: "text-[13px] text-gray-600" }, Je = { class: "pl-5 mt-1 mb-0" }, Ze = { class: "text-[12px] text-gray-600" }, fl = /* @__PURE__ */ be({
106
106
  __name: "excelForm",
107
107
  props: {
108
108
  title: {},
@@ -142,33 +142,33 @@ const Ke = (t) => t.includes(",") || t.includes(`
142
142
  return a("webui.components.content.dialog.chooseExcelOrCsvFile");
143
143
  }
144
144
  }), M = p(a("webui.components.content.dialog.validationRules")), A = p("warning"), z = p(a("webui.components.content.dialog.duplicateData")), O = p("warning");
145
- H(
145
+ Q(
146
146
  () => l.visible.value,
147
147
  () => {
148
- w.value = l.visible.value, w.value && (j(), e.previewUrl && G());
148
+ w.value = l.visible.value, w.value && (j(), e.previewUrl && q());
149
149
  }
150
- ), H(
150
+ ), Q(
151
151
  () => w.value,
152
152
  () => {
153
153
  l.visible.value = w.value, w.value || j();
154
154
  }
155
- ), H(
155
+ ), Q(
156
156
  () => e.previewUrl,
157
157
  () => {
158
- w.value && e.previewUrl && G();
158
+ w.value && e.previewUrl && q();
159
159
  },
160
160
  { deep: !0 }
161
161
  );
162
- const T = p(e.uploadParams), k = S(() => {
162
+ const R = p(e.uploadParams), k = S(() => {
163
163
  var o;
164
- return (o = T.value) == null ? void 0 : o.uploadUrl;
164
+ return (o = R.value) == null ? void 0 : o.uploadUrl;
165
165
  }), C = S(() => {
166
166
  var o;
167
- return (o = T.value) == null ? void 0 : o.duplicateRules;
167
+ return (o = R.value) == null ? void 0 : o.duplicateRules;
168
168
  }), P = S(() => {
169
169
  var o;
170
- return (o = T.value) == null ? void 0 : o.duplicateUrl;
171
- }), G = async () => {
170
+ return (o = R.value) == null ? void 0 : o.duplicateUrl;
171
+ }), q = async () => {
172
172
  if (!(!e.previewUrl || !l)) {
173
173
  l.isFormLoading.value = !0;
174
174
  try {
@@ -182,13 +182,13 @@ const Ke = (t) => t.includes(",") || t.includes(`
182
182
  }
183
183
  }, we = async () => {
184
184
  var n;
185
- T.value = e.uploadParams;
185
+ R.value = e.uploadParams;
186
186
  const o = k.value;
187
187
  if (!o) {
188
188
  m.error(a("webui.components.content.excelForm.uploadAddressNotConfigured"));
189
189
  return;
190
190
  }
191
- if (R.value) {
191
+ if (T.value) {
192
192
  m.error(a("webui.components.content.excelForm.validationError"));
193
193
  return;
194
194
  }
@@ -200,7 +200,7 @@ const Ke = (t) => t.includes(",") || t.includes(`
200
200
  }
201
201
  const s = new Pe(o, 1), u = I.value || "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", c = new File([N.value], x.value, {
202
202
  type: u
203
- }), v = Le.join(((n = T.value) == null ? void 0 : n.basePath) ?? "", x.value), d = {
203
+ }), v = Le.join(((n = R.value) == null ? void 0 : n.basePath) ?? "", x.value), d = {
204
204
  uid: "1",
205
205
  name: x.value,
206
206
  originFileObj: c,
@@ -226,9 +226,9 @@ const Ke = (t) => t.includes(",") || t.includes(`
226
226
  const { excelData: v, excelRows: d } = c, y = v.map((K) => {
227
227
  var X;
228
228
  const h = {};
229
- for (const q in K) {
230
- const U = (X = e.excelFieldMap) == null ? void 0 : X[q];
231
- U && (h[U] = K[q]);
229
+ for (const G in K) {
230
+ const U = (X = e.excelFieldMap) == null ? void 0 : X[G];
231
+ U && (h[U] = K[G]);
232
232
  }
233
233
  return h;
234
234
  });
@@ -248,7 +248,7 @@ const Ke = (t) => t.includes(",") || t.includes(`
248
248
  return;
249
249
  l.isFormSaving.value = !0;
250
250
  try {
251
- const c = await Re(e.excelCtrl, {
251
+ const c = await Te(e.excelCtrl, {
252
252
  params: u,
253
253
  urlKey: "save",
254
254
  url: e.excelCtrl.saveUrl
@@ -260,10 +260,10 @@ const Ke = (t) => t.includes(",") || t.includes(`
260
260
  l.isFormSaving.value = !1;
261
261
  }
262
262
  }
263
- }, R = p(!1), L = p(!1), N = p(null), I = p(""), ae = async (o) => {
263
+ }, T = p(!1), L = p(!1), N = p(null), I = p(""), ae = async (o) => {
264
264
  const n = e.gridCtrl;
265
265
  if (n) {
266
- T.value = e.uploadParams;
266
+ R.value = e.uploadParams;
267
267
  try {
268
268
  P.value && (P.value.api || (P.value.api = n.page.api), P.value.authorize === void 0 && (P.value.authorize = n.page.authorize));
269
269
  const {
@@ -274,11 +274,11 @@ const Ke = (t) => t.includes(",") || t.includes(`
274
274
  hasDuplicateError: d
275
275
  } = await ke(o, l.formRules.value, C.value, P.value);
276
276
  if (M.value = u, z.value = c, A.value = v ? "error" : l.formRules.value && Object.keys(l.formRules.value).length > 0 ? "success" : "warning", O.value = d ? "error" : C.value && C.value.length > 0 ? "success" : "warning", s) {
277
- R.value = v ?? !1, L.value = d ?? !1;
277
+ T.value = v ?? !1, L.value = d ?? !1;
278
278
  const y = URL.createObjectURL(s);
279
279
  F.value = y;
280
280
  } else
281
- R.value = !1, L.value = !1;
281
+ T.value = !1, L.value = !1;
282
282
  } catch {
283
283
  M.value = a("webui.components.content.dialog.validationException"), z.value = a("webui.components.content.dialog.validationException"), A.value = "error", O.value = "error";
284
284
  }
@@ -288,7 +288,7 @@ const Ke = (t) => t.includes(",") || t.includes(`
288
288
  m.error(a("webui.components.content.excelForm.gridCtrlNotConfigured"));
289
289
  return;
290
290
  }
291
- T.value = e.uploadParams;
291
+ R.value = e.uploadParams;
292
292
  const s = o.type === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" || o.type === "application/vnd.ms-excel", u = o.type === "text/csv" || o.name.toLowerCase().endsWith(".csv"), c = e.fileType || "both";
293
293
  let v = !1, d = "";
294
294
  switch (c) {
@@ -307,23 +307,23 @@ const Ke = (t) => t.includes(",") || t.includes(`
307
307
  return m.error(d), ce.LIST_IGNORE;
308
308
  try {
309
309
  if (j(), x.value = o.name, I.value = u ? "text/csv" : "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", u) {
310
- const h = await o.arrayBuffer(), q = new TextDecoder("utf-8").decode(h), U = await pe(q, o.name);
310
+ const h = await o.arrayBuffer(), G = new TextDecoder("utf-8").decode(h), U = await pe(G, o.name);
311
311
  if (!U.success)
312
312
  throw new Error(U.error || a("webui.components.content.excelForm.csvProcessingFailed"));
313
313
  const re = await (await fetch(U.blobUrl)).arrayBuffer();
314
- return N.value = re, await ae(re), !R.value && !L.value && (F.value = U.blobUrl), x.value = U.fileName, l.isFormLoading.value = !1, !1;
314
+ return N.value = re, await ae(re), !T.value && !L.value && (F.value = U.blobUrl), x.value = U.fileName, l.isFormLoading.value = !1, !1;
315
315
  }
316
316
  const y = await o.arrayBuffer();
317
317
  N.value = y;
318
318
  const K = new FileReader();
319
319
  K.readAsDataURL(o), K.onload = async (h) => {
320
- h.target ? (await ae(y), !R.value && !L.value && (F.value = h.target.result), l.isFormLoading.value = !1) : m.error(a("webui.components.content.excelForm.loadFileFailed"));
320
+ h.target ? (await ae(y), !T.value && !L.value && (F.value = h.target.result), l.isFormLoading.value = !1) : m.error(a("webui.components.content.excelForm.loadFileFailed"));
321
321
  };
322
322
  } catch (y) {
323
323
  console.error("文件处理错误:", y), m.error(a("webui.components.content.excelForm.fileProcessingFailed")), l.isFormLoading.value = !1, M.value = a("webui.components.content.excelForm.fileProcessingError"), A.value = "error";
324
324
  }
325
325
  return !1;
326
- }, V = Te(l.formRules.value);
326
+ }, V = Re(l.formRules.value);
327
327
  he(() => {
328
328
  var n;
329
329
  const o = (n = e.gridCtrl) == null ? void 0 : n.page;
@@ -336,10 +336,10 @@ const Ke = (t) => t.includes(",") || t.includes(`
336
336
  for (const s in l.formData.value)
337
337
  e.gridCtrl.rowData.value && (l.formData.value[s] = e.gridCtrl.rowData.value[s]);
338
338
  }
339
- w.value = l.visible.value, w.value && e.previewUrl && G();
339
+ w.value = l.visible.value, w.value && e.previewUrl && q();
340
340
  });
341
341
  const j = () => {
342
- if (F.value = "", x.value = "", te.value = [], N.value = null, I.value = "", l.isFormLoading.value = !1, M.value = a("webui.components.content.dialog.validationRules"), A.value = "warning", z.value = a("webui.components.content.dialog.duplicateData"), O.value = "warning", R.value = !1, L.value = !1, l.formData.value) {
342
+ if (F.value = "", x.value = "", te.value = [], N.value = null, I.value = "", l.isFormLoading.value = !1, M.value = a("webui.components.content.dialog.validationRules"), A.value = "warning", z.value = a("webui.components.content.dialog.duplicateData"), O.value = "warning", T.value = !1, L.value = !1, l.formData.value) {
343
343
  const o = e.fileField ?? "FileInfo", n = e.excelRecordsKey, s = e.excelRowsKey;
344
344
  delete l.formData.value[o], n && delete l.formData.value[n], s && delete l.formData.value[s];
345
345
  }
@@ -349,7 +349,7 @@ const Ke = (t) => t.includes(",") || t.includes(`
349
349
  };
350
350
  return i({
351
351
  clearAll: j
352
- }), (o, n) => (f(), Q(r(Ce), {
352
+ }), (o, n) => (f(), H(r(Ce), {
353
353
  title: t.title ?? r(a)("webui.components.content.dialog.fileUpload"),
354
354
  open: w.value,
355
355
  "onUpdate:open": n[0] || (n[0] = (s) => w.value = s),
@@ -364,19 +364,19 @@ const Ke = (t) => t.includes(",") || t.includes(`
364
364
  return [
365
365
  _(r(J), { onClick: se }, {
366
366
  default: D(() => [
367
- Z(E(t.cancelText ?? ($.value ? r(a)("webui.components.content.dialog.close") : r(a)("webui.common.cancel"))), 1)
367
+ Y(E(t.cancelText ?? ($.value ? r(a)("webui.components.content.dialog.close") : r(a)("webui.common.cancel"))), 1)
368
368
  ]),
369
369
  _: 1
370
370
  }),
371
- $.value ? B("", !0) : (f(), Q(r(J), {
371
+ $.value ? B("", !0) : (f(), H(r(J), {
372
372
  key: 0,
373
373
  onClick: we,
374
374
  type: "primary",
375
375
  loading: ((s = r(l)) == null ? void 0 : s.isFormSaving.value) ?? !1,
376
- disabled: !F.value || R.value || L.value || r(l).isFormLoading.value
376
+ disabled: !F.value || T.value || L.value || r(l).isFormLoading.value
377
377
  }, {
378
378
  default: D(() => [
379
- Z(E(t.saveText ?? r(a)("webui.components.content.dialog.uploadFile")), 1)
379
+ Y(E(t.saveText ?? r(a)("webui.components.content.dialog.uploadFile")), 1)
380
380
  ]),
381
381
  _: 1
382
382
  }, 8, ["loading", "disabled"]))
@@ -402,7 +402,7 @@ const Ke = (t) => t.includes(",") || t.includes(`
402
402
  disabled: !oe.value
403
403
  }, {
404
404
  default: D(() => [
405
- Z(E(me.value), 1)
405
+ Y(E(me.value), 1)
406
406
  ]),
407
407
  _: 1
408
408
  }, 8, ["disabled"])
@@ -410,7 +410,7 @@ const Ke = (t) => t.includes(",") || t.includes(`
410
410
  _: 1
411
411
  }, 8, ["file-list", "accept", "disabled"]),
412
412
  F.value && x.value ? (f(), g("div", ze, [
413
- _(r(Y), {
413
+ _(r(Z), {
414
414
  message: x.value,
415
415
  type: "info",
416
416
  "show-icon": !1
@@ -419,7 +419,7 @@ const Ke = (t) => t.includes(",") || t.includes(`
419
419
  W(o.$slots, "file-after")
420
420
  ])),
421
421
  b("div", Oe, [
422
- r(l).isFormLoading.value ? (f(), Q(r(Se), {
422
+ r(l).isFormLoading.value ? (f(), H(r(Se), {
423
423
  key: 0,
424
424
  size: "large"
425
425
  })) : B("", !0),
@@ -443,8 +443,8 @@ const Ke = (t) => t.includes(",") || t.includes(`
443
443
  ], 2),
444
444
  r(V).length > 0 ? (f(), g("div", Ve, [
445
445
  b("div", je, [
446
- r(V).length === 0 ? (f(), g("div", qe, E(r(a)("webui.components.content.dialog.noValidationRules")), 1)) : (f(), g("div", Ge, [
447
- _(r(Y), {
446
+ r(V).length === 0 ? (f(), g("div", Ge, E(r(a)("webui.components.content.dialog.noValidationRules")), 1)) : (f(), g("div", qe, [
447
+ _(r(Z), {
448
448
  message: M.value,
449
449
  type: A.value,
450
450
  "show-icon": "",
@@ -456,7 +456,7 @@ const Ke = (t) => t.includes(",") || t.includes(`
456
456
  class: "border-b pb-0"
457
457
  }, [
458
458
  b("div", Xe, E(s.field), 1),
459
- b("ul", He, [
459
+ b("ul", Qe, [
460
460
  (f(!0), g(ie, null, ne(s.rules, (c, v) => (f(), g("li", {
461
461
  key: v,
462
462
  class: "text-[12px] text-gray-600"
@@ -464,17 +464,17 @@ const Ke = (t) => t.includes(",") || t.includes(`
464
464
  ])
465
465
  ]))), 128))
466
466
  ]),
467
- C.value && C.value.length > 0 ? (f(), g("div", Qe, [
468
- _(r(Y), {
467
+ C.value && C.value.length > 0 ? (f(), g("div", He, [
468
+ _(r(Z), {
469
469
  message: z.value,
470
470
  type: O.value,
471
471
  "show-icon": "",
472
472
  class: "mt-2 mb-2"
473
473
  }, null, 8, ["message", "type"]),
474
474
  b("div", We, [
475
- b("div", Ze, E(C.value.length > 1 ? r(a)("webui.components.content.dialog.combinationMustBeUnique") : r(a)("webui.components.content.dialog.fieldMustBeUnique", [C.value.join(", ")])), 1),
475
+ b("div", Ye, E(C.value.length > 1 ? r(a)("webui.components.content.dialog.combinationMustBeUnique") : r(a)("webui.components.content.dialog.fieldMustBeUnique", [C.value.join(", ")])), 1),
476
476
  b("ul", Je, [
477
- b("li", Ye, E(C.value.join(", ")), 1)
477
+ b("li", Ze, E(C.value.join(", ")), 1)
478
478
  ])
479
479
  ])
480
480
  ])) : B("", !0)
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, openBlock as o, createBlock as t, withCtx as s, createElementVNode as C, normalizeClass as x, createVNode as w, KeepAlive as I, unref as n, resolveDynamicComponent as g } from "vue";
2
- import { _ as y } from "../../assets/modules/baseLayout-p7VibDY4.js";
3
- import { an as A, a as S } from "../../assets/modules/upload-template-Bl7C0exv.js";
2
+ import { _ as y } from "../../assets/modules/baseLayout-Cia1cG5l.js";
3
+ import { am as A, a as S } from "../../assets/modules/upload-template-BDrBVe4E.js";
4
4
  import "@skyfox2000/microbase";
5
5
  import "@skyfox2000/fapi";
6
6
  import k from "vue-m-message";
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as T, ref as l, watch as x, onMounted as F, openBlock as C, createBlock as q, unref as u, withCtx as d, createVNode as f, createTextVNode as L, toDisplayString as b } from "vue";
2
- import { _ as g } from "../../assets/modules/index-CEBo0bZK.js";
2
+ import { _ as g } from "../../assets/modules/index-Ye0JfNsM.js";
3
3
  import { Modal as D, Space as z } from "ant-design-vue";
4
4
  import { httpPost as N, ResStatus as O } from "@skyfox2000/fapi";
5
- import { am as n, $ as w } from "../../assets/modules/upload-template-Bl7C0exv.js";
5
+ import { al as n, $ as w } from "../../assets/modules/upload-template-BDrBVe4E.js";
6
6
  import "vue-m-message";
7
- import { U as M } from "../../assets/modules/file-upload-D7C_mOmO.js";
7
+ import { U as M } from "../../assets/modules/file-upload-D1gRZv8j.js";
8
8
  import "@skyfox2000/microbase";
9
9
  import "async-validator";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
12
- import { U as $ } from "../../assets/modules/uploadList-DIvGI7qL.js";
12
+ import { U as $ } from "../../assets/modules/uploadList-BreC8S8m.js";
13
13
  const H = /* @__PURE__ */ T({
14
14
  __name: "templateFile",
15
15
  props: {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as F, ref as s, watch as y, onMounted as z, openBlock as D, createBlock as _, unref as u, withCtx as p, createVNode as m, mergeProps as L, createTextVNode as w, toDisplayString as C } from "vue";
2
- import { _ as g } from "../../assets/modules/index-CEBo0bZK.js";
2
+ import { _ as g } from "../../assets/modules/index-Ye0JfNsM.js";
3
3
  import { Modal as k, Space as N } from "ant-design-vue";
4
4
  import { ResStatus as T } from "@skyfox2000/fapi";
5
- import { $ as v, a2 as $ } from "../../assets/modules/upload-template-Bl7C0exv.js";
5
+ import { $ as v, a1 as $ } from "../../assets/modules/upload-template-BDrBVe4E.js";
6
6
  import A from "vue-m-message";
7
7
  import "@skyfox2000/microbase";
8
8
  import "async-validator";
9
9
  import "dayjs";
10
- import { A as E } from "../../assets/modules/file-upload-D7C_mOmO.js";
10
+ import { A as E } from "../../assets/modules/file-upload-D1gRZv8j.js";
11
11
  import "vue-draggable-next";
12
- import { U as B } from "../../assets/modules/uploadList-DIvGI7qL.js";
12
+ import { U as B } from "../../assets/modules/uploadList-BreC8S8m.js";
13
13
  const W = /* @__PURE__ */ F({
14
14
  __name: "uploadForm",
15
15
  props: {
@@ -39,6 +39,7 @@ export declare const defaultEnLocale: {
39
39
  moreActions: string;
40
40
  uploadSave: string;
41
41
  dataLoading: string;
42
+ noData: string;
42
43
  };
43
44
  components: {
44
45
  common: {
@@ -92,10 +93,6 @@ export declare const defaultEnLocale: {
92
93
  fileProcessingError: string;
93
94
  dataSaveFailed: string;
94
95
  };
95
- listOperate: {
96
- confirmDelete: string;
97
- more: string;
98
- };
99
96
  table: {
100
97
  confirmDelete: string;
101
98
  };
@@ -185,7 +182,6 @@ export declare const defaultEnLocale: {
185
182
  };
186
183
  select: {
187
184
  pleaseSelect: string;
188
- noData: string;
189
185
  };
190
186
  aceEditor: {
191
187
  title: string;
@@ -208,7 +204,6 @@ export declare const defaultEnLocale: {
208
204
  error: string;
209
205
  };
210
206
  radio: {
211
- noData: string;
212
207
  all: string;
213
208
  };
214
209
  autoComplete: {
@@ -222,10 +217,6 @@ export declare const defaultEnLocale: {
222
217
  };
223
218
  transfer: {
224
219
  pleaseInput: string;
225
- noData: string;
226
- };
227
- input: {
228
- pleaseInput: string;
229
220
  };
230
221
  };
231
222
  };
@@ -249,6 +240,13 @@ export declare const defaultEnLocale: {
249
240
  exportFailed: string;
250
241
  fileExportFailed: string;
251
242
  };
243
+ form: {
244
+ submitValidationFailed: string;
245
+ saveSuccess: string;
246
+ dataAlreadyExists: string;
247
+ dataDuplicate: string;
248
+ saveFailed: string;
249
+ };
252
250
  formValidate: {
253
251
  required: string;
254
252
  numberType: string;
@@ -285,10 +283,13 @@ export declare const defaultEnLocale: {
285
283
  uploadCancelled: string;
286
284
  };
287
285
  data: {
286
+ startExecute: string;
288
287
  executeSuccess: string;
289
- noDataToSave: string;
288
+ noSaveData: string;
289
+ savingData: string;
290
290
  saveSuccess: string;
291
- conditionalDeleteForbidden: string;
291
+ deletingData: string;
292
+ forbidDeleteWithoutCondition: string;
292
293
  deleteSuccess: string;
293
294
  urlNotSet: string;
294
295
  };
@@ -316,16 +317,15 @@ export declare const defaultEnLocale: {
316
317
  notConfigured: string;
317
318
  outFieldsFormatError: string;
318
319
  };
319
- form: {
320
- submitValidationFailed: string;
321
- saveSuccess: string;
322
- dataAlreadyExists: string;
323
- dataDuplicate: string;
324
- saveFailed: string;
325
- };
326
320
  excelPreview: {
327
321
  previewUrlNotConfigured: string;
328
322
  fileLoadFailed: string;
323
+ csvProcessingFailed: string;
324
+ previewFileXlsx: string;
325
+ unsupportedRawFormat: string;
326
+ unsupportedFileFormat: string;
327
+ dataEmpty: string;
328
+ excelProcessingFailed: string;
329
329
  };
330
330
  tools: {
331
331
  noClickHandler: string;
@@ -38,6 +38,7 @@ export declare const defaultLocale: {
38
38
  moreActions: string;
39
39
  uploadSave: string;
40
40
  dataLoading: string;
41
+ noData: string;
41
42
  };
42
43
  components: {
43
44
  common: {
@@ -90,9 +91,8 @@ export declare const defaultLocale: {
90
91
  fileProcessingError: string;
91
92
  dataSaveFailed: string;
92
93
  };
93
- listOperate: {
94
+ table: {
94
95
  confirmDelete: string;
95
- more: string;
96
96
  };
97
97
  toolpanel: {
98
98
  tool: string;
@@ -180,7 +180,6 @@ export declare const defaultLocale: {
180
180
  };
181
181
  select: {
182
182
  pleaseSelect: string;
183
- noData: string;
184
183
  };
185
184
  aceEditor: {
186
185
  title: string;
@@ -203,7 +202,6 @@ export declare const defaultLocale: {
203
202
  error: string;
204
203
  };
205
204
  radio: {
206
- noData: string;
207
205
  all: string;
208
206
  };
209
207
  autoComplete: {
@@ -216,9 +214,6 @@ export declare const defaultLocale: {
216
214
  addConfigRow: string;
217
215
  };
218
216
  transfer: {
219
- noData: string;
220
- };
221
- input: {
222
217
  pleaseInput: string;
223
218
  };
224
219
  };