@das-fed/ui 6.4.0-dev.55.4 → 6.4.0-dev.55.5

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 (150) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
  3. package/packages/business-components/change-enterprises/index.js +44 -44
  4. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  5. package/packages/business-components/change-pwd/i18n/index.d.ts +18 -0
  6. package/packages/business-components/change-pwd/index.js +119 -114
  7. package/packages/business-components/change-pwd/index.js.gz +0 -0
  8. package/packages/business-components/currency-page/i18n/index.d.ts +4 -0
  9. package/packages/business-components/currency-page/index.js +12 -4
  10. package/packages/business-components/currency-page/index.js.gz +0 -0
  11. package/packages/business-components/device-panel/i18n/index.d.ts +235 -0
  12. package/packages/business-components/device-panel/index.js +4979 -4945
  13. package/packages/business-components/device-panel/index.js.gz +0 -0
  14. package/packages/business-components/export-button/i18n/index.d.ts +11 -0
  15. package/packages/business-components/export-button/index.js +76 -71
  16. package/packages/business-components/export-button/index.js.gz +0 -0
  17. package/packages/business-components/import-button/i18n/index.d.ts +26 -0
  18. package/packages/business-components/import-button/index.js +297 -288
  19. package/packages/business-components/import-button/index.js.gz +0 -0
  20. package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
  21. package/packages/business-components/model-table-dialog/index.js +433 -433
  22. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  23. package/packages/business-components/process-configuration/i18n/index.d.ts +31 -0
  24. package/packages/business-components/process-configuration/index.js +201 -198
  25. package/packages/business-components/process-configuration/index.js.gz +0 -0
  26. package/packages/business-components/process-form/i18n/index.d.ts +80 -0
  27. package/packages/business-components/process-form/index.js +820 -801
  28. package/packages/business-components/process-form/index.js.gz +0 -0
  29. package/packages/business-components/process-log/i18n/index.d.ts +10 -0
  30. package/packages/business-components/process-log/index.js +245 -245
  31. package/packages/business-components/process-log/index.js.gz +0 -0
  32. package/packages/business-components/process-search-form/i18n/index.d.ts +9 -0
  33. package/packages/business-components/process-search-form/index.js +126 -126
  34. package/packages/business-components/process-search-form/index.js.gz +0 -0
  35. package/packages/business-components/process-table/i18n/index.d.ts +8 -0
  36. package/packages/business-components/process-table/index.js +128 -128
  37. package/packages/business-components/process-table/index.js.gz +0 -0
  38. package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
  39. package/packages/business-components/upload-file/index.js +25 -24
  40. package/packages/business-components/upload-file/index.js.gz +0 -0
  41. package/packages/business-components/urgent-panel/i18n/index.d.ts +90 -0
  42. package/packages/business-components/urgent-panel/index.js +1249 -1235
  43. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  44. package/packages/business-components/user-org-dialog/i18n/index.d.ts +15 -0
  45. package/packages/business-components/user-org-dialog/index.js +223 -219
  46. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  47. package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
  48. package/packages/business-components/video-dialog/index.js +233 -233
  49. package/packages/business-components/video-dialog/index.js.gz +0 -0
  50. package/packages/components/calendar/i18n/index.d.ts +46 -0
  51. package/packages/components/calendar/index.js +283 -283
  52. package/packages/components/calendar/index.js.gz +0 -0
  53. package/packages/components/cascader/i18n/index.d.ts +1 -0
  54. package/packages/components/cascader/index.js +21 -21
  55. package/packages/components/cascader/index.js.gz +0 -0
  56. package/packages/components/color-picker/i18n/index.d.ts +1 -0
  57. package/packages/components/color-picker/index.js +35 -35
  58. package/packages/components/color-picker/index.js.gz +0 -0
  59. package/packages/components/custom-search-item/i18n/index.d.ts +1 -0
  60. package/packages/components/custom-search-item/index.js +17 -17
  61. package/packages/components/custom-search-item/index.js.gz +0 -0
  62. package/packages/components/date-picker/i18n/index.d.ts +3 -0
  63. package/packages/components/date-picker/index.js +94 -94
  64. package/packages/components/date-picker/index.js.gz +0 -0
  65. package/packages/components/dialog/i18n/index.d.ts +6 -0
  66. package/packages/components/dialog/index.js +58 -58
  67. package/packages/components/dialog/index.js.gz +0 -0
  68. package/packages/components/dimple-layout/i18n/index.d.ts +10 -0
  69. package/packages/components/dimple-layout/index.js +287 -283
  70. package/packages/components/dimple-layout/index.js.gz +0 -0
  71. package/packages/components/dropdown/i18n/index.d.ts +1 -0
  72. package/packages/components/dropdown/index.js +14 -14
  73. package/packages/components/dropdown/index.js.gz +0 -0
  74. package/packages/components/empty/i18n/index.d.ts +1 -0
  75. package/packages/components/empty/index.js +11 -11
  76. package/packages/components/empty/index.js.gz +0 -0
  77. package/packages/components/image-upload/i18n/index.d.ts +6 -0
  78. package/packages/components/image-upload/index.js +67 -58
  79. package/packages/components/image-upload/index.js.gz +0 -0
  80. package/packages/components/input/i18n/index.d.ts +3 -0
  81. package/packages/components/input/index.js +36 -36
  82. package/packages/components/input/index.js.gz +0 -0
  83. package/packages/components/live-player/i18n/index.d.ts +2 -0
  84. package/packages/components/live-player/index.js +3 -2
  85. package/packages/components/live-player/index.js.gz +0 -0
  86. package/packages/components/loading/i18n/index.d.ts +1 -0
  87. package/packages/components/loading/index.js +53 -53
  88. package/packages/components/loading/index.js.gz +0 -0
  89. package/packages/components/map/i18n/index.d.ts +4 -0
  90. package/packages/components/map/index.js +73 -68
  91. package/packages/components/map/index.js.gz +0 -0
  92. package/packages/components/menu-aside/i18n/index.d.ts +1 -0
  93. package/packages/components/menu-aside/index.js +1 -1
  94. package/packages/components/menu-aside/index.js.gz +0 -0
  95. package/packages/components/message/i18n/index.d.ts +1 -0
  96. package/packages/components/message/index.js +1 -1
  97. package/packages/components/message/index.js.gz +0 -0
  98. package/packages/components/notification/i18n/index.d.ts +1 -0
  99. package/packages/components/notification/index.js +1 -1
  100. package/packages/components/notification/index.js.gz +0 -0
  101. package/packages/components/pagination/i18n/index.d.ts +4 -0
  102. package/packages/components/pagination/index.js +44 -44
  103. package/packages/components/pagination/index.js.gz +0 -0
  104. package/packages/components/popover/i18n/index.d.ts +2 -0
  105. package/packages/components/popover/index.js +7 -7
  106. package/packages/components/popover/index.js.gz +0 -0
  107. package/packages/components/preview/i18n/index.d.ts +1 -0
  108. package/packages/components/preview/index.js +6 -6
  109. package/packages/components/preview/index.js.gz +0 -0
  110. package/packages/components/rich-editor/i18n/index.d.ts +4 -0
  111. package/packages/components/rich-editor/index.js +11 -4
  112. package/packages/components/rich-editor/index.js.gz +0 -0
  113. package/packages/components/search-form/i18n/index.d.ts +6 -0
  114. package/packages/components/search-form/index.js +113 -113
  115. package/packages/components/search-form/index.js.gz +0 -0
  116. package/packages/components/select/i18n/index.d.ts +5 -0
  117. package/packages/components/select/index.js +183 -183
  118. package/packages/components/select/index.js.gz +0 -0
  119. package/packages/components/select-list/i18n/index.d.ts +4 -0
  120. package/packages/components/select-list/index.js +73 -73
  121. package/packages/components/select-list/index.js.gz +0 -0
  122. package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
  123. package/packages/components/special-range-picker-month/index.js +72 -72
  124. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  125. package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
  126. package/packages/components/special-range-picker-year/index.js +99 -99
  127. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  128. package/packages/components/spin/i18n/index.d.ts +1 -0
  129. package/packages/components/spin/index.js +27 -27
  130. package/packages/components/spin/index.js.gz +0 -0
  131. package/packages/components/table/i18n/index.d.ts +41 -4
  132. package/packages/components/table/index.js +1782 -1779
  133. package/packages/components/table/index.js.gz +0 -0
  134. package/packages/components/table/style.css +1 -1
  135. package/packages/components/table/style.css.gz +0 -0
  136. package/packages/components/tabs/i18n/index.d.ts +3 -0
  137. package/packages/components/tabs/index.js +46 -46
  138. package/packages/components/tabs/index.js.gz +0 -0
  139. package/packages/components/tooltip/i18n/index.d.ts +1 -0
  140. package/packages/components/tooltip/index.js +14 -14
  141. package/packages/components/tooltip/index.js.gz +0 -0
  142. package/packages/components/tree/i18n/index.d.ts +7 -0
  143. package/packages/components/tree/index.js +8 -7
  144. package/packages/components/tree/index.js.gz +0 -0
  145. package/packages/components/upload/i18n/index.d.ts +5 -0
  146. package/packages/components/upload/index.js +54 -54
  147. package/packages/components/upload/index.js.gz +0 -0
  148. package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
  149. package/packages/components/virtual-tree/index.js +11 -11
  150. package/packages/components/virtual-tree/index.js.gz +0 -0
@@ -1,183 +1,183 @@
1
1
  import '@das-fed/ui/packages/business-components/import-button/style.css';
2
2
  import { withInstall as fe } from "@das-fed/utils/with-install/index";
3
- import { ref as x, defineComponent as ge, watch as ve, openBlock as he, createElementBlock as xe, createElementVNode as _, unref as l, renderSlot as se, createVNode as $, withCtx as R, createTextVNode as K, toDisplayString as H, createCommentVNode as oe, isRef as Q } from "vue";
4
- import { t as c, i18n as M, setI18nRule as ye } from "@das-fed/web/packages/i18n/index";
5
- import { DasDialog as re } from "@das-fed/ui/packages/components/dialog/index";
6
- import { DasUpload as Ne } from "@das-fed/ui/packages/components/upload/index";
7
- import { DasProgress as be } from "@das-fed/ui/packages/components/progress/index";
3
+ import { ref as w, defineComponent as ge, watch as ve, openBlock as he, createElementBlock as we, createElementVNode as O, unref as o, renderSlot as re, createVNode as U, withCtx as L, createTextVNode as K, toDisplayString as A, createCommentVNode as le, isRef as Q } from "vue";
4
+ import { t as c, i18n as $, setI18nRule as Ce } from "@das-fed/web/packages/i18n/index";
5
+ import { DasDialog as se } from "@das-fed/ui/packages/components/dialog/index";
6
+ import { DasUpload as ke } from "@das-fed/ui/packages/components/upload/index";
7
+ import { DasProgress as xe } from "@das-fed/ui/packages/components/progress/index";
8
8
  import { DasButton as W } from "@das-fed/ui/packages/components/button/index";
9
- import { iotMinio as ae, iotProgress as we } from "@das-fed/utils/api-services/modules/iot";
10
- import { DasMessage as E } from "@das-fed/ui/packages/components/message/index";
11
- import Ce from "dayjs";
9
+ import { iotMinio as ae, iotProgress as ye } from "@das-fed/utils/api-services/modules/iot";
10
+ import { DasMessage as M } from "@das-fed/ui/packages/components/message/index";
11
+ import Ne from "dayjs";
12
12
  import { getConfig as ne } from "@das-fed/utils/config";
13
- import { extractFilename as ze } from "@das-fed/utils/common-tools";
14
- import { getUserInfo as Te } from "@das-fed/utils/common-info/index";
13
+ import { extractFilename as be } from "@das-fed/utils/common-tools";
14
+ import { getUserInfo as ze } from "@das-fed/utils/common-info/index";
15
15
  import { pureImageSrc as ie } from "@das-fed/utils/pure-image-src";
16
16
  let te = (e = 21) => {
17
- let p = "", m = crypto.getRandomValues(new Uint8Array(e));
17
+ let m = "", u = crypto.getRandomValues(new Uint8Array(e));
18
18
  for (; e--; ) {
19
- let n = m[e] & 63;
20
- n < 36 ? p += n.toString(36) : n < 62 ? p += (n - 26).toString(36).toUpperCase() : n < 63 ? p += "_" : p += "-";
19
+ let n = u[e] & 63;
20
+ n < 36 ? m += n.toString(36) : n < 62 ? m += (n - 26).toString(36).toUpperCase() : n < 63 ? m += "_" : m += "-";
21
21
  }
22
- return p;
22
+ return m;
23
23
  };
24
- const ke = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.headers = {}), e.headers["Content-Type"] = "multipart/form-data", e.responseType = "blob", e)), Ie = ae.post("upload-objects", (e) => (e.headers || (e.headers = {}), e.headers["Content-Type"] = "multipart/form-data", e.responseType = "blob", e)), Se = we.get("progress"), De = (e) => {
25
- let p = x(!1), m = x(!1), n = x(""), h = x(0), u = x("normal"), y = x(!1), g, T = x(""), P = x(""), I = x(""), z = x(""), S = x(!1), L = x(""), k = "", F = x(""), D;
26
- const N = () => {
27
- P.value = "", I.value = "", z.value = "", S.value = !1, L.value = "";
28
- }, j = async () => {
29
- const [s, o] = await ke().run();
30
- return s ? { stauts: !1 } : { status: !0, data: o };
31
- }, V = (s) => new Promise((o, a) => {
24
+ const Te = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.headers = {}), e.headers["Content-Type"] = "multipart/form-data", e.responseType = "blob", e)), Ie = ae.post("upload-objects", (e) => (e.headers || (e.headers = {}), e.headers["Content-Type"] = "multipart/form-data", e.responseType = "blob", e)), _e = ye.get("progress"), Se = (e) => {
25
+ let m = w(!1), u = w(!1), n = w(""), h = w(0), p = w("normal"), C = w(!1), g, z = w(""), D = w(""), I = w(""), b = w(""), _ = w(!1), E = w(""), T = "", F = w(""), S;
26
+ const k = () => {
27
+ D.value = "", I.value = "", b.value = "", _.value = !1, E.value = "";
28
+ }, R = async () => {
29
+ const [r, l] = await Te().run();
30
+ return r ? { stauts: !1 } : { status: !0, data: l };
31
+ }, j = (r) => new Promise((l, a) => {
32
32
  const i = [];
33
33
  let t = 0;
34
- for (; t < s.size; ) {
35
- const w = s.slice(t, t + 1048576);
36
- i.push(w), t += 1048576;
34
+ for (; t < r.size; ) {
35
+ const y = r.slice(t, t + 1048576);
36
+ i.push(y), t += 1048576;
37
37
  }
38
- const b = new Blob(i, { type: s.type });
39
- o(b);
40
- }), B = async (s, o, a, r = !1, i = !0, t = "") => {
41
- k = t, F.value = "import", i && (u.value = "normal", h.value = 0, n.value = c("导入进度"), m.value = !0, T.value = ""), D = o;
42
- const b = await j();
43
- if (!b.status) return;
44
- let w = b.data, C = null, { autoContentType: Y, bucketName: A, importFileName: J } = a;
45
- const me = r ? Ie : Fe;
46
- if (r) {
38
+ const x = new Blob(i, { type: r.type });
39
+ l(x);
40
+ }), V = async (r, l, a, s = !1, i = !0, t = "") => {
41
+ T = t, F.value = "import", i && (p.value = "normal", h.value = 0, n.value = c("导入进度"), u.value = !0, z.value = ""), S = l;
42
+ const x = await R();
43
+ if (!x.status) return;
44
+ let y = x.data, N = null, { autoContentType: Y, bucketName: B, importFileName: J } = a;
45
+ const ue = s ? Ie : Fe;
46
+ if (s) {
47
47
  let X = [];
48
- await o.forEach(async (G) => {
49
- let ee = await V(G);
48
+ await l.forEach(async (G) => {
49
+ let ee = await j(G);
50
50
  X.push(ee);
51
- }), C = new FormData(), C.append("accessKeyId", w.accessKeyId), C.append("secretAccessKey", w.secretAccessKey), C.append("sessionToken", w.sessionToken), C.append("bucketName", A), o.forEach((G, ee) => {
52
- C.append("file", X[ee]);
51
+ }), N = new FormData(), N.append("accessKeyId", y.accessKeyId), N.append("secretAccessKey", y.secretAccessKey), N.append("sessionToken", y.sessionToken), N.append("bucketName", B), l.forEach((G, ee) => {
52
+ N.append("file", X[ee]);
53
53
  }), J.forEach((G) => {
54
- C.append("filePaths", G);
54
+ N.append("filePaths", G);
55
55
  });
56
56
  } else {
57
- const X = await V(o);
58
- C = {
59
- accessKeyId: w.accessKeyId,
60
- secretAccessKey: w.secretAccessKey,
61
- sessionToken: w.sessionToken,
57
+ const X = await j(l);
58
+ N = {
59
+ accessKeyId: y.accessKeyId,
60
+ secretAccessKey: y.secretAccessKey,
61
+ sessionToken: y.sessionToken,
62
62
  file: X,
63
- bucketName: A,
63
+ bucketName: B,
64
64
  filePath: J,
65
65
  autoContentType: Y
66
66
  };
67
67
  }
68
- const [pe, ce] = await me(C).run();
69
- if (pe) return;
70
- const de = await Ue(ce.data), Z = await (s == null ? void 0 : s(de));
68
+ const [me, ce] = await ue(N).run();
69
+ if (me) return;
70
+ const de = await Pe(ce.data), Z = await (r == null ? void 0 : r(de));
71
71
  if (i) {
72
72
  if (!Z.status) {
73
- m.value = !1, u.value = "error";
73
+ u.value = !1, p.value = "error";
74
74
  return;
75
75
  }
76
- n.value = c("导入进度"), m.value = !0, d(Z.taskId, "import", "");
76
+ n.value = c("导入进度"), u.value = !0, d(Z.taskId, "import", "");
77
77
  } else {
78
78
  if (!Z.status) return;
79
- u.value = "success", E.success({
79
+ p.value = "success", M.success({
80
80
  message: c("导入成功"),
81
81
  grouping: !0,
82
82
  repeatNum: 1
83
83
  });
84
84
  }
85
- }, O = async (s, o = "", a = "") => {
86
- u.value = "normal", h.value = 0, n.value = a || c("导出进度"), m.value = !0;
87
- const r = await (s == null ? void 0 : s());
88
- if (!r.status) {
89
- m.value = !1, u.value = "error";
85
+ }, H = async (r, l = "", a = "") => {
86
+ p.value = "normal", h.value = 0, n.value = a || c("导出进度"), u.value = !0;
87
+ const s = await (r == null ? void 0 : r());
88
+ if (!s.status) {
89
+ u.value = !1, p.value = "error";
90
90
  return;
91
91
  }
92
- d(r.taskId, "action", "");
93
- }, U = async (s, o = "", a = "xlsx") => {
94
- F.value = "export", u.value = "normal", h.value = 0, n.value = c("导出进度"), m.value = !0;
95
- const r = await (s == null ? void 0 : s());
96
- if (!r.status) {
97
- m.value = !1, u.value = "error";
92
+ d(s.taskId, "action", "");
93
+ }, P = async (r, l = "", a = "xlsx") => {
94
+ F.value = "export", p.value = "normal", h.value = 0, n.value = c("导出进度"), u.value = !0;
95
+ const s = await (r == null ? void 0 : r());
96
+ if (!s.status) {
97
+ u.value = !1, p.value = "error";
98
98
  return;
99
99
  }
100
- Ce().format("YYYYMMDDHHmmss") + "", d(r.taskId, "export", o || "", a);
101
- }, d = async (s, o, a, r = "") => {
102
- y.value = !0, v(s, o, a, r), g = setTimeout(() => {
100
+ Ne().format("YYYYMMDDHHmmss") + "", d(s.taskId, "export", l || "", a);
101
+ }, d = async (r, l, a, s = "") => {
102
+ C.value = !0, v(r, l, a, s), g = setTimeout(() => {
103
103
  }, 50);
104
104
  }, f = () => {
105
- clearTimeout(g), g = null, m.value = !1;
106
- }, v = async (s, o = "export", a, r = "") => {
107
- var w, C;
108
- const [i, t] = await Se("", {
109
- url: `progress/${s}`
105
+ clearTimeout(g), g = null, u.value = !1;
106
+ }, v = async (r, l = "export", a, s = "") => {
107
+ var y, N;
108
+ const [i, t] = await _e("", {
109
+ url: `progress/${r}`
110
110
  }).run();
111
111
  if (i) {
112
- y.value = !1;
112
+ C.value = !1;
113
113
  return;
114
114
  }
115
115
  h.value = t.percentage;
116
- const b = o == "export" ? c("导出") : c("导入");
116
+ const x = l == "export" ? c("导出") : c("导入");
117
117
  if (h.value == 100)
118
- if (T.value = t, y.value = !1, f(), o == "export")
119
- t.status == 1 ? (u.value = "success", ue(`${ne().baseURL}/oss${t.filePath}`, a, r), y.value = !1) : t.status == 2 && (z.value = t.message || `${b}${c("失败")}`, E.error({
120
- message: t.message || `${b}${c("失败")}`,
118
+ if (z.value = t, C.value = !1, f(), l == "export")
119
+ t.status == 1 ? (p.value = "success", pe(`${ne().baseURL}/oss${t.filePath}`, a, s), C.value = !1) : t.status == 2 && (b.value = t.message || `${x}${c("失败")}`, M.error({
120
+ message: t.message || `${x}${c("失败")}`,
121
121
  grouping: !0,
122
122
  repeatNum: 1
123
123
  }));
124
- else if (o == "import") {
124
+ else if (l == "import") {
125
125
  if (t.filePath) {
126
- u.value = "error";
127
- const Y = (w = D.name) == null ? void 0 : w.match(/(.*?)(\.[^.]*$|$)/);
128
- Y.length && Y[2], S.value = !0;
129
- let A = await ze(`/oss/${t == null ? void 0 : t.filePath}`);
130
- const J = ((C = A == null ? void 0 : A.split("/")) == null ? void 0 : C.pop()) || "";
131
- P.value = k || J, I.value = D.sizeText, z.value = c("部分数据校验不通过,请下载附件并修改,重新导入!"), L.value = `${ne().baseURL}/oss/${t == null ? void 0 : t.filePath}`;
126
+ p.value = "error";
127
+ const Y = (y = S.name) == null ? void 0 : y.match(/(.*?)(\.[^.]*$|$)/);
128
+ Y.length && Y[2], _.value = !0;
129
+ let B = await be(`/oss/${t == null ? void 0 : t.filePath}`);
130
+ const J = ((N = B == null ? void 0 : B.split("/")) == null ? void 0 : N.pop()) || "";
131
+ D.value = T || J, I.value = S.sizeText, b.value = c("部分数据校验不通过,请下载附件并修改,重新导入!"), E.value = `${ne().baseURL}/oss/${t == null ? void 0 : t.filePath}`;
132
132
  }
133
- q(t.status, b, t.message), t.status == 1 && (p.value = !1), e("success");
134
- } else o == "action" && (u.value = "success");
133
+ q(t.status, x, t.message), t.status == 1 && (m.value = !1), e("success");
134
+ } else l == "action" && (p.value = "success");
135
135
  else
136
136
  g && t.status != 2 ? g = setTimeout(() => {
137
- v(s, o, a, r);
138
- }, 50) : (T.value = t, y.value = !1, q(t.status, b, t.message), f(), S.value = !0, z.value = (t == null ? void 0 : t.message) || "", e("error", t));
139
- }, q = (s, o, a) => {
140
- s == 1 ? (u.value = "success", E.success({
141
- message: c("business-components_export-success-tip", o),
137
+ v(r, l, a, s);
138
+ }, 50) : (z.value = t, C.value = !1, q(t.status, x, t.message), f(), _.value = !0, b.value = (t == null ? void 0 : t.message) || "", e("error", t));
139
+ }, q = (r, l, a) => {
140
+ r == 1 ? (p.value = "success", M.success({
141
+ message: c("business-components_export-success-tip", l),
142
142
  grouping: !0,
143
143
  repeatNum: 1
144
- }), P.value = "", I.value = "", z.value = "") : s == 2 ? (u.value = "error", E.error({
145
- message: c("business-components_export-failure-tip", o),
144
+ }), D.value = "", I.value = "", b.value = "") : r == 2 ? (p.value = "error", M.error({
145
+ message: c("business-components_export-failure-tip", l),
146
146
  grouping: !0,
147
147
  repeatNum: 1
148
- })) : s == 3 && (u.value = "error", E.error({
149
- message: c("business-components_export-partially-failure-tip", o),
148
+ })) : r == 3 && (p.value = "error", M.error({
149
+ message: c("business-components_export-partially-failure-tip", l),
150
150
  grouping: !0,
151
151
  repeatNum: 1
152
152
  }));
153
153
  };
154
154
  return {
155
- importDialog: p,
156
- showProgressDialog: m,
155
+ importDialog: m,
156
+ showProgressDialog: u,
157
157
  progressTitle: n,
158
158
  percent: h,
159
- progressStatus: u,
160
- progressLoading: y,
161
- progressResult: T,
162
- errorFileName: P,
159
+ progressStatus: p,
160
+ progressLoading: C,
161
+ progressResult: z,
162
+ errorFileName: D,
163
163
  errorFileSize: I,
164
- errorMessage: z,
165
- errorImport: S,
166
- errorFilePath: L,
164
+ errorMessage: b,
165
+ errorImport: _,
166
+ errorFilePath: E,
167
167
  fileHandleType: F,
168
- fileImport: B,
169
- fileExport: U,
170
- fileAction: O,
171
- generateUniqueName: (s) => {
172
- const o = s == null ? void 0 : s.match(/(.*?)(\.[^.]*$|$)/), a = o.length ? o[2] : "";
173
- return `${o.length ? o[1] : s}${te()}${a}`;
168
+ fileImport: V,
169
+ fileExport: P,
170
+ fileAction: H,
171
+ generateUniqueName: (r) => {
172
+ const l = r == null ? void 0 : r.match(/(.*?)(\.[^.]*$|$)/), a = l.length ? l[2] : "";
173
+ return `${l.length ? l[1] : r}${te()}${a}`;
174
174
  },
175
- downloadFile: ue,
176
- resetStataus: N,
175
+ downloadFile: pe,
176
+ resetStataus: k,
177
177
  checkProgress: d
178
178
  };
179
- }, Pe = (e) => {
180
- let p = e == null ? void 0 : e.toLocaleLowerCase();
179
+ }, De = (e) => {
180
+ let m = e == null ? void 0 : e.toLocaleLowerCase();
181
181
  return {
182
182
  excel: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
183
183
  pdf: "application/pdf",
@@ -204,130 +204,130 @@ const ke = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
204
204
  crt: "application/x-x509-ca-cert",
205
205
  der: "application/x-x509-ca-cert",
206
206
  cer: "application/pkix-cert"
207
- }[p];
208
- }, ue = (e, p, m = "excel") => {
207
+ }[m];
208
+ }, pe = (e, m, u = "excel") => {
209
209
  const n = new XMLHttpRequest();
210
210
  n.open("get", e), n.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), n.responseType = "blob", n.onload = function(h) {
211
- const u = new Blob([this.response], {
212
- type: Pe(m)
213
- }), y = URL.createObjectURL(u);
211
+ const p = new Blob([this.response], {
212
+ type: De(u)
213
+ }), C = URL.createObjectURL(p);
214
214
  if (window.navigator.msSaveOrOpenBlob)
215
- navigator.msSaveBlob(u, p);
215
+ navigator.msSaveBlob(p, m);
216
216
  else {
217
217
  const g = document.createElement("a");
218
- g.href = y, g.download = p, g.click(), window.URL.revokeObjectURL(y);
218
+ g.href = C, g.download = m, g.click(), window.URL.revokeObjectURL(C);
219
219
  }
220
220
  }, n.send();
221
- }, Ue = (e) => new Promise((p, m) => {
221
+ }, Pe = (e) => new Promise((m, u) => {
222
222
  var n = new FileReader();
223
223
  n.onload = function(h) {
224
- let u = "";
225
- typeof n.result == "string" && (u = JSON.parse(n.result)), p(u);
224
+ let p = "";
225
+ typeof n.result == "string" && (p = JSON.parse(n.result)), m(p);
226
226
  }, n.readAsText(e);
227
- }), $e = (e, p) => {
228
- var o;
227
+ }), Ue = (e, m) => {
228
+ var l;
229
229
  const {
230
- importDialog: m,
230
+ importDialog: u,
231
231
  showProgressDialog: n,
232
232
  progressTitle: h,
233
- percent: u,
234
- progressStatus: y,
233
+ percent: p,
234
+ progressStatus: C,
235
235
  progressLoading: g,
236
- errorFileName: T,
237
- errorFileSize: P,
236
+ errorFileName: z,
237
+ errorFileSize: D,
238
238
  errorMessage: I,
239
- errorImport: z,
240
- errorFilePath: S,
241
- fileHandleType: L,
242
- fileImport: k,
239
+ errorImport: b,
240
+ errorFilePath: _,
241
+ fileHandleType: E,
242
+ fileImport: T,
243
243
  fileExport: F,
244
- downloadFile: D
245
- } = De(p);
246
- let N = x([]), j = (o = Te()) == null ? void 0 : o.tenantId;
247
- const V = () => {
248
- N.value = [], z.value = !1, T.value = "", P.value = "", I.value = "", m.value = !0, S.value = "", p("open");
244
+ downloadFile: S
245
+ } = Se(m);
246
+ let k = w([]), R = (l = ze()) == null ? void 0 : l.tenantId;
247
+ const j = () => {
248
+ k.value = [], b.value = !1, z.value = "", D.value = "", I.value = "", u.value = !0, _.value = "", m("open");
249
249
  };
250
- let B;
251
- const O = (a) => {
252
- const r = e.fileType.split(","), i = a.name.substring(a.name.lastIndexOf(".")), t = U(a.sizeText), b = U(e.fileMaxSize);
253
- if (!r.includes(i)) {
254
- E.warning(c("文件格式错误,请重新上传!")), setTimeout(() => {
255
- N.value = [];
250
+ let V;
251
+ const H = (a) => {
252
+ const s = e.fileType.split(","), i = a.name.substring(a.name.lastIndexOf(".")), t = P(a.sizeText), x = P(e.fileMaxSize);
253
+ if (!s.includes(i)) {
254
+ M.warning(c("文件格式错误,请重新上传!")), setTimeout(() => {
255
+ k.value = [];
256
256
  });
257
257
  return;
258
258
  }
259
- if (t > b) {
260
- E.warning(`${c("文件大小不超过")}${e.fileMaxSize}`), setTimeout(() => {
261
- N.value = [];
259
+ if (t > x) {
260
+ M.warning(`${c("文件大小不超过")}${e.fileMaxSize}`), setTimeout(() => {
261
+ k.value = [];
262
262
  });
263
263
  return;
264
264
  }
265
- B = a.name;
266
- }, U = (a) => {
267
- let r = a.match(/\d+(\.\d+)?/)[0], i = a.match(/[a-zA-z]+/gi)[0], t = 0;
268
- return r = parseFloat(r), i = i.toLowerCase(), i === "gb" || i === "g" ? t = (r * 1024 * 1024 * 1024).toFixed(2) : i === "mb" || i === "m" ? t = (r * 1024 * 1024).toFixed(2) : i === "kb" || i === "k" ? t = (r * 1024).toFixed(2) : i === "b" && (t = r), parseFloat(t);
265
+ V = a.name;
266
+ }, P = (a) => {
267
+ let s = a.match(/\d+(\.\d+)?/)[0], i = a.match(/[a-zA-z]+/gi)[0], t = 0;
268
+ return s = parseFloat(s), i = i.toLowerCase(), i === "gb" || i === "g" ? t = (s * 1024 * 1024 * 1024).toFixed(2) : i === "mb" || i === "m" ? t = (s * 1024 * 1024).toFixed(2) : i === "kb" || i === "k" ? t = (s * 1024).toFixed(2) : i === "b" && (t = s), parseFloat(t);
269
269
  }, d = async (a) => {
270
- const r = a.value.split("/");
270
+ const s = a.value.split("/");
271
271
  let i = te();
272
272
  const t = {
273
- fileName: r[r.length - 1],
273
+ fileName: s[s.length - 1],
274
274
  filePath: a.value,
275
275
  taskId: i,
276
276
  ...e.importParams
277
- }, b = e.importParamsPosition === "params" ? e.importFun("", { params: t }) : e.importFun(t), [w, C] = await b.run();
278
- return w ? { status: !1 } : { status: !0, taskId: i };
277
+ }, x = e.importParamsPosition === "params" ? e.importFun("", { params: t }) : e.importFun(t), [y, N] = await x.run();
278
+ return y ? { status: !1 } : { status: !0, taskId: i };
279
279
  }, f = async () => {
280
- if (!N.value.length) return E.warning(c("请上传文件"));
280
+ if (!k.value.length) return M.warning(c("请上传文件"));
281
281
  const a = {
282
282
  bucketName: e.bucketName,
283
- importFileName: `${j}/${e.ossName}/${B}`
284
- }, r = e.maxCount > 1, i = e.maxCount > 1 ? N.value : N.value[0];
285
- await k(d, i, a, r);
283
+ importFileName: `${R}/${e.ossName}/${V}`
284
+ }, s = e.maxCount > 1, i = e.maxCount > 1 ? k.value : k.value[0];
285
+ await T(d, i, a, s);
286
286
  }, v = () => {
287
- D(S.value, T.value);
287
+ S(_.value, z.value);
288
288
  }, q = () => {
289
- F(le, e.templateName);
290
- }, le = async () => {
289
+ F(oe, e.templateName);
290
+ }, oe = async () => {
291
291
  let a = te();
292
- const [r, i] = await e.templateFun({ taskId: a }).run();
293
- return r ? { status: !1 } : { status: !0, taskId: a };
292
+ const [s, i] = await e.templateFun({ taskId: a }).run();
293
+ return s ? { status: !1 } : { status: !0, taskId: a };
294
294
  };
295
295
  return {
296
296
  showProgressDialog: n,
297
297
  progressTitle: h,
298
- percent: u,
299
- progressStatus: y,
298
+ percent: p,
299
+ progressStatus: C,
300
300
  progressLoading: g,
301
- errorFileName: T,
302
- errorFileSize: P,
301
+ errorFileName: z,
302
+ errorFileSize: D,
303
303
  errorMessage: I,
304
- errorImport: z,
305
- importDialog: m,
306
- fileList: N,
307
- fileHandleType: L,
308
- showImportHandle: V,
304
+ errorImport: b,
305
+ importDialog: u,
306
+ fileList: k,
307
+ fileHandleType: E,
308
+ showImportHandle: j,
309
309
  confirmImport: f,
310
- fileUpload: O,
310
+ fileUpload: H,
311
311
  errorFileDownload: v,
312
312
  downTemplate: async () => {
313
313
  let a = "";
314
314
  if (e.templateUrl)
315
- a = e.templateUrl, D(ie(a), e.templateName);
315
+ a = e.templateUrl, S(ie(a), e.templateName);
316
316
  else if (e.templateFun) {
317
317
  if (e.templateType === "static") {
318
318
  if (e.templateUrl)
319
319
  a = e.templateUrl;
320
320
  else if (e.templateFun) {
321
- const [r, i] = await e.templateFun().run();
321
+ const [s, i] = await e.templateFun().run();
322
322
  a = i;
323
323
  }
324
- D(ie(a), e.templateName);
324
+ S(ie(a), e.templateName);
325
325
  }
326
326
  e.templateType === "dynamic" && e.templateFun && q();
327
327
  }
328
328
  }
329
329
  };
330
- }, Me = { class: "das-import-button" }, Ee = { class: "tip-box" }, Le = { class: "first-line" }, Re = { class: "second-line" }, je = /* @__PURE__ */ ge({
330
+ }, $e = { class: "das-import-button" }, Me = { class: "tip-box" }, Ee = { class: "first-line" }, Le = { class: "second-line" }, Re = /* @__PURE__ */ ge({
331
331
  __name: "App",
332
332
  props: {
333
333
  importFun: {},
@@ -348,45 +348,45 @@ const ke = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
348
348
  multiple: { type: Boolean, default: !1 }
349
349
  },
350
350
  emits: ["open", "success", "error"],
351
- setup(e, { expose: p, emit: m }) {
352
- const n = e, h = m, {
353
- showProgressDialog: u,
354
- progressTitle: y,
351
+ setup(e, { expose: m, emit: u }) {
352
+ const n = e, h = u, {
353
+ showProgressDialog: p,
354
+ progressTitle: C,
355
355
  percent: g,
356
- progressStatus: T,
357
- progressLoading: P,
356
+ progressStatus: z,
357
+ progressLoading: D,
358
358
  errorFileName: I,
359
- errorFileSize: z,
360
- errorMessage: S,
361
- errorImport: L,
362
- importDialog: k,
359
+ errorFileSize: b,
360
+ errorMessage: _,
361
+ errorImport: E,
362
+ importDialog: T,
363
363
  fileList: F,
364
- fileHandleType: D,
365
- showImportHandle: N,
366
- confirmImport: j,
367
- fileUpload: V,
368
- errorFileDownload: B,
369
- downTemplate: O
370
- } = $e(n, h);
371
- let U;
372
- return ve(D, (d) => {
373
- d.includes("import") ? U = [c("正在导入中..."), c("导入失败"), c("导入成功")] : U = [c("正在导出中..."), c("导出失败"), c("导出成功")];
374
- }), p({
375
- confirmImport: j,
376
- showImportHandle: N
377
- }), (d, f) => (he(), xe("div", Me, [
378
- _("div", {
364
+ fileHandleType: S,
365
+ showImportHandle: k,
366
+ confirmImport: R,
367
+ fileUpload: j,
368
+ errorFileDownload: V,
369
+ downTemplate: H
370
+ } = Ue(n, h);
371
+ let P;
372
+ return ve(S, (d) => {
373
+ d.includes("import") ? P = [c("正在导入中..."), c("导入失败"), c("导入成功")] : P = [c("正在导出中..."), c("导出失败"), c("导出成功")];
374
+ }), m({
375
+ confirmImport: R,
376
+ showImportHandle: k
377
+ }), (d, f) => (he(), we("div", $e, [
378
+ O("div", {
379
379
  onClick: f[0] || (f[0] = //@ts-ignore
380
- (...v) => l(N) && l(N)(...v))
380
+ (...v) => o(k) && o(k)(...v))
381
381
  }, [
382
- se(d.$slots, "default", {}, () => [
383
- $(l(W), {
382
+ re(d.$slots, "default", {}, () => [
383
+ U(o(W), {
384
384
  size: "middle",
385
385
  "btn-type": "primary"
386
386
  }, {
387
- default: R(() => [
387
+ default: L(() => [
388
388
  K(
389
- H(l(M)("导入").value),
389
+ A(o($)("导入").value),
390
390
  1
391
391
  /* TEXT */
392
392
  )
@@ -396,24 +396,24 @@ const ke = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
396
396
  })
397
397
  ], !0)
398
398
  ]),
399
- oe(" 导入弹窗 "),
400
- $(l(re), {
401
- title: l(M)(d.importDialogName).value,
402
- modelValue: l(k),
403
- "onUpdate:modelValue": f[3] || (f[3] = (v) => Q(k) ? k.value = v : null),
399
+ le(" 导入弹窗 "),
400
+ U(o(se), {
401
+ title: o($)(d.importDialogName).value,
402
+ modelValue: o(T),
403
+ "onUpdate:modelValue": f[3] || (f[3] = (v) => Q(T) ? T.value = v : null),
404
404
  customClass: "upload-dialog",
405
405
  width: "610px",
406
406
  height: "500px"
407
407
  }, {
408
- footer: R(() => [
409
- _("div", null, [
410
- $(l(W), {
408
+ footer: L(() => [
409
+ O("div", null, [
410
+ U(o(W), {
411
411
  size: "middle",
412
- onClick: f[2] || (f[2] = (v) => k.value = !1)
412
+ onClick: f[2] || (f[2] = (v) => T.value = !1)
413
413
  }, {
414
- default: R(() => [
414
+ default: L(() => [
415
415
  K(
416
- H(l(M)("取消").value),
416
+ A(o($)("取消").value),
417
417
  1
418
418
  /* TEXT */
419
419
  )
@@ -421,16 +421,16 @@ const ke = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
421
421
  _: 1
422
422
  /* STABLE */
423
423
  }),
424
- $(l(W), {
424
+ U(o(W), {
425
425
  size: "middle",
426
426
  "btn-type": "primary",
427
- disabled: d.openDisabled && l(F).length === 0,
427
+ disabled: d.openDisabled && o(F).length === 0,
428
428
  style: { "margin-left": "12px" },
429
- onClick: l(j)
429
+ onClick: o(R)
430
430
  }, {
431
- default: R(() => [
431
+ default: L(() => [
432
432
  K(
433
- H(l(M)(`${d.confirmButtonName}`).value),
433
+ A(o($)(`${d.confirmButtonName}`).value),
434
434
  1
435
435
  /* TEXT */
436
436
  )
@@ -440,24 +440,24 @@ const ke = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
440
440
  }, 8, ["disabled", "onClick"])
441
441
  ])
442
442
  ]),
443
- default: R(() => [
444
- se(d.$slots, "tip", {}, () => [
445
- _("div", Ee, [
446
- _("div", Le, [
443
+ default: L(() => [
444
+ re(d.$slots, "tip", {}, () => [
445
+ O("div", Me, [
446
+ O("div", Ee, [
447
447
  K(
448
- H(l(M)("1、点击下载 ").value),
448
+ A(o($)("1、点击下载 ").value),
449
449
  1
450
450
  /* TEXT */
451
451
  ),
452
- $(l(W), {
452
+ U(o(W), {
453
453
  size: "large",
454
454
  btnType: "primary-text",
455
455
  block: "",
456
- onClick: l(O)
456
+ onClick: o(H)
457
457
  }, {
458
- default: R(() => [
458
+ default: L(() => [
459
459
  K(
460
- H(l(M)(`${d.templateName}`).value),
460
+ A(o($)(`${d.templateName}`).value),
461
461
  1
462
462
  /* TEXT */
463
463
  )
@@ -466,49 +466,49 @@ const ke = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
466
466
  /* STABLE */
467
467
  }, 8, ["onClick"])
468
468
  ]),
469
- _(
469
+ O(
470
470
  "div",
471
- Re,
472
- H(l(M)("2、仅支持上传Excel文件,重复数据以最后一条为准").value),
471
+ Le,
472
+ A(o($)("2、仅支持上传Excel文件,重复数据以最后一条为准").value),
473
473
  1
474
474
  /* TEXT */
475
475
  )
476
476
  ])
477
477
  ], !0),
478
- $(l(Ne), {
479
- modelValue: l(F),
478
+ U(o(ke), {
479
+ modelValue: o(F),
480
480
  "onUpdate:modelValue": f[1] || (f[1] = (v) => Q(F) ? F.value = v : null),
481
- error: l(L),
482
- "error-file-name": l(I),
483
- "error-file-size": l(z),
484
- "error-message": l(S),
481
+ error: o(E),
482
+ "error-file-name": o(I),
483
+ "error-file-size": o(b),
484
+ "error-message": o(_),
485
485
  accept: d.fileType,
486
486
  maxCount: d.maxCount,
487
487
  multiple: d.multiple,
488
- onErrorFileDownload: l(B),
489
- onFileUpload: l(V)
488
+ onErrorFileDownload: o(V),
489
+ onFileUpload: o(j)
490
490
  }, null, 8, ["modelValue", "error", "error-file-name", "error-file-size", "error-message", "accept", "maxCount", "multiple", "onErrorFileDownload", "onFileUpload"])
491
491
  ]),
492
492
  _: 3
493
493
  /* FORWARDED */
494
494
  }, 8, ["title", "modelValue"]),
495
- oe(" 进度弹窗 "),
496
- $(l(re), {
495
+ le(" 进度弹窗 "),
496
+ U(o(se), {
497
497
  size: "mini",
498
- title: l(M)(l(y)).value,
498
+ title: o($)(o(C)).value,
499
499
  "is-feedback-img": !1,
500
- modelValue: l(u),
501
- "onUpdate:modelValue": f[5] || (f[5] = (v) => Q(u) ? u.value = v : null),
500
+ modelValue: o(p),
501
+ "onUpdate:modelValue": f[5] || (f[5] = (v) => Q(p) ? p.value = v : null),
502
502
  type: "feedback"
503
503
  }, {
504
- default: R(() => [
505
- $(l(be), {
506
- modelValue: l(g),
504
+ default: L(() => [
505
+ U(o(xe), {
506
+ modelValue: o(g),
507
507
  "onUpdate:modelValue": f[4] || (f[4] = (v) => Q(g) ? g.value = v : null),
508
508
  style: { "margin-top": "35px" },
509
509
  type: "circle",
510
- status: l(T),
511
- textMap: l(U)
510
+ status: o(z),
511
+ textMap: o(P)
512
512
  }, null, 8, ["modelValue", "status", "textMap"])
513
513
  ]),
514
514
  _: 1
@@ -516,44 +516,53 @@ const ke = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.h
516
516
  }, 8, ["title", "modelValue"])
517
517
  ]));
518
518
  }
519
- }), Ve = (e, p) => {
520
- const m = e.__vccOpts || e;
521
- for (const [n, h] of p)
522
- m[n] = h;
523
- return m;
524
- }, Be = /* @__PURE__ */ Ve(je, [["__scopeId", "data-v-3fab7506"]]), Ae = {
525
- 点击下载: { "zh-CN": "点击下载", en: "Click to Download" },
526
- 仅支持上传: { "zh-CN": "仅支持上传", en: "Only Support Uploading" },
527
- 文件: { "zh-CN": "文件", en: "File" },
528
- 重复数据以最后一条为准: { "zh-CN": "重复数据以最后一条为准", en: "Duplicate Data Is Subject to the Last Entry" },
529
- 取消: { "zh-CN": "取消", en: "Cancel" },
530
- 正在导入中: { "zh-CN": "正在导入中", en: "Importing" },
531
- 导入失败: { "zh-CN": "导入失败", en: "Import Failed" },
532
- 正在导出中: { "zh-CN": "正在导出中", en: "Exporting" },
533
- 导出失败: { "zh-CN": "导出失败", en: "Export Failed" },
534
- 导出成功: { "zh-CN": "导出成功", en: "Export Successful" },
535
- 文件格式错误: { "zh-CN": "文件格式错误", en: "File Format Error" },
536
- 请重新上传: { "zh-CN": "请重新上传", en: "Please Upload Again" },
537
- 文件大小不超过: { "zh-CN": "文件大小不超过", en: "File Size Must Not Exceed" },
538
- 请上传文件: { "zh-CN": "请上传文件", en: "Please Upload the File" },
539
- 导入进度: { "zh-CN": "导入进度", en: "Import Progress" },
540
- 导入成功: { "zh-CN": "导入成功", en: "Import Successful" },
541
- 导出进度: { "zh-CN": "导出进度", en: "Export Progress" },
542
- 导出: { "zh-CN": "导出", en: "Export" },
543
- 导入: { "zh-CN": "导入", en: "Import" },
544
- 失败: { "zh-CN": "失败", en: "Failure" },
545
- 成功: { "zh-CN": "成功", en: "Success" },
546
- 部分: { "zh-CN": "部分", en: "Partial" },
519
+ }), je = (e, m) => {
520
+ const u = e.__vccOpts || e;
521
+ for (const [n, h] of m)
522
+ u[n] = h;
523
+ return u;
524
+ }, Ve = /* @__PURE__ */ je(Re, [["__scopeId", "data-v-3fab7506"]]), Be = {
525
+ 点击下载: { "zh-CN": "点击下载", en: "Click to Download", _appCode: "framework" },
526
+ 仅支持上传: { "zh-CN": "仅支持上传", en: "Only Support Uploading", _appCode: "framework" },
527
+ 文件: { "zh-CN": "文件", en: "File", _appCode: "framework" },
528
+ 重复数据以最后一条为准: {
529
+ "zh-CN": "重复数据以最后一条为准",
530
+ en: "Duplicate Data Is Subject to the Last Entry",
531
+ _appCode: "framework"
532
+ },
533
+ 取消: { "zh-CN": "取消", en: "Cancel", _appCode: "framework" },
534
+ 正在导入中: { "zh-CN": "正在导入中", en: "Importing", _appCode: "framework" },
535
+ 导入失败: { "zh-CN": "导入失败", en: "Import Failed", _appCode: "framework" },
536
+ 正在导出中: { "zh-CN": "正在导出中", en: "Exporting", _appCode: "framework" },
537
+ 导出失败: { "zh-CN": "导出失败", en: "Export Failed", _appCode: "framework" },
538
+ 导出成功: { "zh-CN": "导出成功", en: "Export Successful", _appCode: "framework" },
539
+ 文件格式错误: { "zh-CN": "文件格式错误", en: "File Format Error", _appCode: "framework" },
540
+ 请重新上传: { "zh-CN": "请重新上传", en: "Please Upload Again", _appCode: "framework" },
541
+ 文件大小不超过: { "zh-CN": "文件大小不超过", en: "File Size Must Not Exceed", _appCode: "framework" },
542
+ 请上传文件: { "zh-CN": "请上传文件", en: "Please Upload the File", _appCode: "framework" },
543
+ 导入进度: { "zh-CN": "导入进度", en: "Import Progress", _appCode: "framework" },
544
+ 导入成功: { "zh-CN": "导入成功", en: "Import Successful", _appCode: "framework" },
545
+ 导出进度: { "zh-CN": "导出进度", en: "Export Progress", _appCode: "framework" },
546
+ 导出: { "zh-CN": "导出", en: "Export", _appCode: "framework" },
547
+ 导入: { "zh-CN": "导入", en: "Import", _appCode: "framework" },
548
+ 失败: { "zh-CN": "失败", en: "Failure", _appCode: "framework" },
549
+ 成功: { "zh-CN": "成功", en: "Success", _appCode: "framework" },
550
+ 部分: { "zh-CN": "部分", en: "Partial", _appCode: "framework" },
547
551
  "部分数据校验不通过,请下载附件并修改,重新导入!": {
548
552
  "zh-CN": "部分数据校验不通过,请下载附件并修改,重新导入!",
549
- en: "Some Data Validation Failed, Please Download the Attachment, Modify, and Re-Import!"
553
+ en: "Some Data Validation Failed, Please Download the Attachment, Modify, and Re-Import!",
554
+ _appCode: "framework"
555
+ },
556
+ "文件格式错误,请重新上传!": {
557
+ "zh-CN": "文件格式错误,请重新上传!",
558
+ en: "File Format Error, Please Re-Upload!",
559
+ _appCode: "framework"
550
560
  },
551
- "文件格式错误,请重新上传!": { "zh-CN": "文件格式错误,请重新上传!", en: "File Format Error, Please Re-Upload!" },
552
- "正在导入中...": { "zh-CN": "正在导入中...", en: "Importing..." },
553
- "正在导出中...": { "zh-CN": "正在导出中...", en: "Exporting..." }
561
+ "正在导入中...": { "zh-CN": "正在导入中...", en: "Importing...", _appCode: "framework" },
562
+ "正在导出中...": { "zh-CN": "正在导出中...", en: "Exporting...", _appCode: "framework" }
554
563
  };
555
- ye(Ae);
556
- const at = fe(Be);
564
+ Ce(Be);
565
+ const at = fe(Ve);
557
566
  export {
558
567
  at as DasImportButton,
559
568
  at as default