@das-fed/upf-ui 6.4.0-dev.165 → 6.4.0-dev.167

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