@das-fed/upf-ui 6.4.0-dev.164 → 6.4.0-dev.166

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 (171) hide show
  1. package/package.json +6 -6
  2. package/packages/business-components/ai-panel/i18n/index.d.ts +60 -0
  3. package/packages/business-components/ai-panel/{index-CViVnNHG.js → index-Bg_src1J.js} +440 -432
  4. package/packages/business-components/ai-panel/index-Bg_src1J.js.gz +0 -0
  5. package/packages/business-components/ai-panel/{index-14NcMHNj.js → index-CoN6WqdZ.js} +1 -1
  6. package/packages/business-components/ai-panel/index-CoN6WqdZ.js.gz +0 -0
  7. package/packages/business-components/ai-panel/index.js +1 -1
  8. package/packages/business-components/area-phone-select/i18n/index.d.ts +1 -0
  9. package/packages/business-components/area-phone-select/index.js +17 -17
  10. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  11. package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
  12. package/packages/business-components/change-enterprises/index.js +18 -18
  13. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  14. package/packages/business-components/currency-page/i18n/index.d.ts +4 -0
  15. package/packages/business-components/currency-page/index.js +9 -7
  16. package/packages/business-components/currency-page/index.js.gz +0 -0
  17. package/packages/business-components/device-panel/i18n/index.d.ts +244 -0
  18. package/packages/business-components/device-panel/index.js +3506 -3482
  19. package/packages/business-components/device-panel/index.js.gz +0 -0
  20. package/packages/business-components/export-button/i18n/index.d.ts +11 -0
  21. package/packages/business-components/export-button/index.js +83 -81
  22. package/packages/business-components/export-button/index.js.gz +0 -0
  23. package/packages/business-components/import-button/i18n/index.d.ts +29 -0
  24. package/packages/business-components/import-button/index.js +237 -233
  25. package/packages/business-components/import-button/index.js.gz +0 -0
  26. package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
  27. package/packages/business-components/model-table-dialog/index.js +166 -166
  28. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  29. package/packages/business-components/payment/i18n/index.d.ts +13 -0
  30. package/packages/business-components/payment/index.js +55 -55
  31. package/packages/business-components/payment/index.js.gz +0 -0
  32. package/packages/business-components/process-configuration/i18n/index.d.ts +30 -0
  33. package/packages/business-components/process-configuration/index.js +148 -146
  34. package/packages/business-components/process-configuration/index.js.gz +0 -0
  35. package/packages/business-components/process-form/i18n/index.d.ts +84 -0
  36. package/packages/business-components/process-form/index.js +472 -463
  37. package/packages/business-components/process-form/index.js.gz +0 -0
  38. package/packages/business-components/process-log/i18n/index.d.ts +9 -0
  39. package/packages/business-components/process-log/index.js +69 -69
  40. package/packages/business-components/process-log/index.js.gz +0 -0
  41. package/packages/business-components/process-search-form/i18n/index.d.ts +9 -0
  42. package/packages/business-components/process-search-form/index.js +125 -125
  43. package/packages/business-components/process-search-form/index.js.gz +0 -0
  44. package/packages/business-components/process-table/i18n/index.d.ts +8 -0
  45. package/packages/business-components/process-table/index.js +99 -99
  46. package/packages/business-components/process-table/index.js.gz +0 -0
  47. package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
  48. package/packages/business-components/upload-file/index.js +9 -8
  49. package/packages/business-components/upload-file/index.js.gz +0 -0
  50. package/packages/business-components/urgent-panel/i18n/index.d.ts +104 -0
  51. package/packages/business-components/urgent-panel/index.js +951 -943
  52. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  53. package/packages/business-components/user-org-dialog/i18n/index.d.ts +18 -0
  54. package/packages/business-components/user-org-dialog/index.js +180 -179
  55. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  56. package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
  57. package/packages/business-components/video-dialog/index.js +175 -175
  58. package/packages/business-components/video-dialog/index.js.gz +0 -0
  59. package/packages/components/calendar/i18n/index.d.ts +46 -0
  60. package/packages/components/calendar/index.js +163 -163
  61. package/packages/components/calendar/index.js.gz +0 -0
  62. package/packages/components/cascader/i18n/index.d.ts +1 -0
  63. package/packages/components/cascader/index.js +15 -15
  64. package/packages/components/cascader/index.js.gz +0 -0
  65. package/packages/components/color-picker/i18n/index.d.ts +1 -0
  66. package/packages/components/color-picker/index.js +10 -10
  67. package/packages/components/color-picker/index.js.gz +0 -0
  68. package/packages/components/custom-search-item/i18n/index.d.ts +1 -0
  69. package/packages/components/custom-search-item/index.js +10 -10
  70. package/packages/components/custom-search-item/index.js.gz +0 -0
  71. package/packages/components/date-picker/i18n/index.d.ts +6 -0
  72. package/packages/components/date-picker/index.js +234 -230
  73. package/packages/components/date-picker/index.js.gz +0 -0
  74. package/packages/components/date-picker/src/RangePicker.vue.d.ts +0 -2
  75. package/packages/components/date-picker/style.css +1 -1
  76. package/packages/components/date-picker/style.css.gz +0 -0
  77. package/packages/components/dialog/i18n/index.d.ts +6 -0
  78. package/packages/components/dialog/index.js +46 -46
  79. package/packages/components/dialog/index.js.gz +0 -0
  80. package/packages/components/dimple-layout/i18n/index.d.ts +10 -0
  81. package/packages/components/dimple-layout/index.js +10 -9
  82. package/packages/components/dimple-layout/index.js.gz +0 -0
  83. package/packages/components/dropdown/i18n/index.d.ts +1 -0
  84. package/packages/components/dropdown/index.js +12 -12
  85. package/packages/components/dropdown/index.js.gz +0 -0
  86. package/packages/components/empty/i18n/index.d.ts +1 -0
  87. package/packages/components/empty/index.js +1 -1
  88. package/packages/components/empty/index.js.gz +0 -0
  89. package/packages/components/image-upload/i18n/index.d.ts +7 -0
  90. package/packages/components/image-upload/index.js +47 -43
  91. package/packages/components/image-upload/index.js.gz +0 -0
  92. package/packages/components/input/i18n/index.d.ts +3 -0
  93. package/packages/components/input/index.js +27 -27
  94. package/packages/components/input/index.js.gz +0 -0
  95. package/packages/components/input-dialog-select/i18n/index.d.ts +2 -0
  96. package/packages/components/input-dialog-select/index.js +23 -23
  97. package/packages/components/input-dialog-select/index.js.gz +0 -0
  98. package/packages/components/live-player/i18n/index.d.ts +2 -0
  99. package/packages/components/live-player/index.js +2 -1
  100. package/packages/components/live-player/index.js.gz +0 -0
  101. package/packages/components/loading/i18n/index.d.ts +1 -0
  102. package/packages/components/loading/index.js +20 -20
  103. package/packages/components/loading/index.js.gz +0 -0
  104. package/packages/components/map/i18n/index.d.ts +6 -0
  105. package/packages/components/map/index.js +159 -155
  106. package/packages/components/map/index.js.gz +0 -0
  107. package/packages/components/menu-aside/i18n/index.d.ts +1 -0
  108. package/packages/components/menu-aside/index.js +34 -34
  109. package/packages/components/menu-aside/index.js.gz +0 -0
  110. package/packages/components/message/i18n/index.d.ts +1 -0
  111. package/packages/components/message/index.js +7 -7
  112. package/packages/components/message/index.js.gz +0 -0
  113. package/packages/components/notification/i18n/index.d.ts +1 -0
  114. package/packages/components/notification/index.js +1 -1
  115. package/packages/components/notification/index.js.gz +0 -0
  116. package/packages/components/pagination/i18n/index.d.ts +4 -0
  117. package/packages/components/pagination/index.js +42 -42
  118. package/packages/components/pagination/index.js.gz +0 -0
  119. package/packages/components/popover/i18n/index.d.ts +2 -0
  120. package/packages/components/popover/index.js +20 -20
  121. package/packages/components/popover/index.js.gz +0 -0
  122. package/packages/components/preview/i18n/index.d.ts +1 -0
  123. package/packages/components/preview/index.js +4 -4
  124. package/packages/components/preview/index.js.gz +0 -0
  125. package/packages/components/rich-editor/i18n/index.d.ts +4 -0
  126. package/packages/components/rich-editor/index.js +1596 -1592
  127. package/packages/components/rich-editor/index.js.gz +0 -0
  128. package/packages/components/search-form/i18n/index.d.ts +7 -0
  129. package/packages/components/search-form/index.js +117 -117
  130. package/packages/components/search-form/index.js.gz +0 -0
  131. package/packages/components/select/i18n/index.d.ts +4 -0
  132. package/packages/components/select/index.js +93 -92
  133. package/packages/components/select/index.js.gz +0 -0
  134. package/packages/components/select-list/i18n/index.d.ts +4 -0
  135. package/packages/components/select-list/index.js +110 -110
  136. package/packages/components/select-list/index.js.gz +0 -0
  137. package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
  138. package/packages/components/special-range-picker-month/index.js +60 -60
  139. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  140. package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
  141. package/packages/components/special-range-picker-year/index.js +41 -41
  142. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  143. package/packages/components/spin/i18n/index.d.ts +1 -0
  144. package/packages/components/spin/index.js +14 -14
  145. package/packages/components/spin/index.js.gz +0 -0
  146. package/packages/components/table/i18n/index.d.ts +20 -0
  147. package/packages/components/table/index.js +546 -544
  148. package/packages/components/table/index.js.gz +0 -0
  149. package/packages/components/tabs/i18n/index.d.ts +3 -0
  150. package/packages/components/tabs/index.js +42 -42
  151. package/packages/components/tabs/index.js.gz +0 -0
  152. package/packages/components/tooltip/i18n/index.d.ts +1 -0
  153. package/packages/components/tooltip/index.js +15 -15
  154. package/packages/components/tooltip/index.js.gz +0 -0
  155. package/packages/components/tree/i18n/index.d.ts +9 -0
  156. package/packages/components/tree/index.js +310 -309
  157. package/packages/components/tree/index.js.gz +0 -0
  158. package/packages/components/tree-v2/i18n/index.d.ts +8 -0
  159. package/packages/components/tree-v2/index.js +9 -8
  160. package/packages/components/tree-v2/index.js.gz +0 -0
  161. package/packages/components/upload/i18n/index.d.ts +6 -0
  162. package/packages/components/upload/index.js +57 -56
  163. package/packages/components/upload/index.js.gz +0 -0
  164. package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
  165. package/packages/components/virtual-tree/index.js +12 -12
  166. package/packages/components/virtual-tree/index.js.gz +0 -0
  167. package/web-front-end/i18n/dasui_en-US.js +771 -0
  168. package/web-front-end/i18n/dasui_zh-CN.js +758 -0
  169. package/web-front-end/i18n/dasui_zh-MO.js +757 -0
  170. package/packages/business-components/ai-panel/index-14NcMHNj.js.gz +0 -0
  171. package/packages/business-components/ai-panel/index-CViVnNHG.js.gz +0 -0
@@ -2,56 +2,67 @@ declare const _default: {
2
2
  导出表: {
3
3
  'zh-CN': string;
4
4
  en: string;
5
+ 'zh-MO': string;
5
6
  _appCode: string;
6
7
  };
7
8
  导出失败: {
8
9
  'zh-CN': string;
9
10
  en: string;
11
+ 'zh-MO': string;
10
12
  _appCode: string;
11
13
  };
12
14
  导出成功: {
13
15
  'zh-CN': string;
14
16
  en: string;
17
+ 'zh-MO': string;
15
18
  _appCode: string;
16
19
  };
17
20
  导出进度: {
18
21
  'zh-CN': string;
19
22
  en: string;
23
+ 'zh-MO': string;
20
24
  _appCode: string;
21
25
  };
22
26
  导出: {
23
27
  'zh-CN': string;
24
28
  en: string;
29
+ 'zh-MO': string;
25
30
  _appCode: string;
26
31
  };
27
32
  导入: {
28
33
  'zh-CN': string;
29
34
  en: string;
35
+ 'zh-MO': string;
30
36
  _appCode: string;
31
37
  };
32
38
  '\u90E8\u5206\u6570\u636E\u6821\u9A8C\u4E0D\u901A\u8FC7\uFF0C\u8BF7\u4E0B\u8F7D\u9644\u4EF6\u5E76\u4FEE\u6539\uFF0C\u91CD\u65B0\u5BFC\u5165\uFF01': {
33
39
  'zh-CN': string;
34
40
  en: string;
41
+ 'zh-MO': string;
35
42
  _appCode: string;
36
43
  };
37
44
  '\u6B63\u5728\u5BFC\u51FA\u4E2D...': {
38
45
  'zh-CN': string;
39
46
  en: string;
47
+ 'zh-MO': string;
40
48
  _appCode: string;
41
49
  };
42
50
  'business-components_export-success-tip': {
43
51
  'zh-CN': string;
44
52
  en: string;
53
+ 'zh-MO': string;
45
54
  _appCode: string;
46
55
  };
47
56
  'business-components_export-failure-tip': {
48
57
  'zh-CN': string;
49
58
  en: string;
59
+ 'zh-MO': string;
50
60
  _appCode: string;
51
61
  };
52
62
  'business-components_export-partially-failure-tip': {
53
63
  'zh-CN': string;
54
64
  en: string;
65
+ 'zh-MO': string;
55
66
  _appCode: string;
56
67
  };
57
68
  };
@@ -1,15 +1,15 @@
1
1
  import '@das-fed/upf-ui/packages/business-components/export-button/style.css';
2
2
  import { withInstall as G } from "@das-fed/upf-utils/with-install/index";
3
- import { ref as p, defineComponent as J, computed as K, watch as B, createElementBlock as Q, openBlock as W, createVNode as z, unref as k, withCtx as L, renderSlot as Z, createTextVNode as ee, toDisplayString as te, isRef as M } from "vue";
4
- import { t as g, currentLang as N, i18n as $, setI18nRule as se } from "@das-fed/upf-web/packages/i18n/index";
3
+ import { ref as p, defineComponent as J, computed as K, watch as V, createElementBlock as Q, openBlock as W, createVNode as M, unref as $, withCtx as I, renderSlot as Z, createTextVNode as ee, toDisplayString as te, isRef as B } from "vue";
4
+ import { t as g, currentLang as T, i18n as w, setI18nRule as se } from "@das-fed/upf-web/packages/i18n/index";
5
5
  import { DasDialog as ae } from "@das-fed/upf-ui/packages/components/dialog/index";
6
6
  import { DasProgress as oe } from "@das-fed/upf-ui/packages/components/progress/index";
7
7
  import { DasButton as re } from "@das-fed/upf-ui/packages/components/button/index";
8
8
  import { iotProgress as le } from "@das-fed/upf-utils/api-services/modules/iot";
9
- import D from "dayjs";
10
- import { DasMessage as P } from "@das-fed/upf-ui/packages/components/message/index";
11
- import { getConfig as H } from "@das-fed/upf-utils/config";
12
- let F = (a = 21) => {
9
+ import O from "dayjs";
10
+ import { DasMessage as z } from "@das-fed/upf-ui/packages/components/message/index";
11
+ import { getConfig as L } from "@das-fed/upf-utils/config";
12
+ let Y = (a = 21) => {
13
13
  let l = "", e = crypto.getRandomValues(new Uint8Array(a));
14
14
  for (; a--; ) {
15
15
  let s = e[a] & 63;
@@ -18,32 +18,32 @@ let F = (a = 21) => {
18
18
  return l;
19
19
  };
20
20
  const ne = le.get("progress"), ue = (a) => {
21
- let l = p(!1), e = p(!1), s = p(""), i = p(0), o = p("normal"), m = p(!1), d, x = p(""), n = p(""), c = p(""), f = p(""), v = p(!1), w = p(""), y;
22
- const _ = () => {
23
- n.value = "", c.value = "", f.value = "", v.value = !1, w.value = "";
24
- }, O = async (t, u = "", h = "") => {
25
- o.value = "normal", i.value = 0, s.value = h || g("导出进度"), e.value = !0;
21
+ let l = p(!1), e = p(!1), s = p(""), i = p(0), o = p("normal"), m = p(!1), d, h = p(""), n = p(""), c = p(""), f = p(""), v = p(!1), k = p(""), x;
22
+ const P = () => {
23
+ n.value = "", c.value = "", f.value = "", v.value = !1, k.value = "";
24
+ }, F = async (t, u = "", y = "") => {
25
+ o.value = "normal", i.value = 0, s.value = y || g("导出进度"), e.value = !0;
26
26
  const b = await (t == null ? void 0 : t());
27
27
  if (!b.status) {
28
28
  e.value = !1, o.value = "error";
29
29
  return;
30
30
  }
31
- T(b.taskId, "action", "");
32
- }, j = async (t, u = "", h = "") => {
31
+ _(b.taskId, "action", "");
32
+ }, j = async (t, u = "", y = "") => {
33
33
  o.value = "normal", i.value = 0, s.value = g("导出进度"), e.value = !0;
34
34
  const b = await (t == null ? void 0 : t());
35
35
  if (!b.status) {
36
36
  e.value = !1, o.value = "error";
37
37
  return;
38
38
  }
39
- D().format("YYYYMMDDHHmmss") + "", T(b.taskId, "export", u || "", h);
40
- }, T = async (t, u, h, b = "") => {
41
- m.value = !0, R(t, u, h, b), d = setTimeout(() => {
39
+ O().format("YYYYMMDDHHmmss") + "", _(b.taskId, "export", u || "", y);
40
+ }, _ = async (t, u, y, b = "") => {
41
+ m.value = !0, D(t, u, y, b), d = setTimeout(() => {
42
42
  }, 50);
43
- }, E = () => {
43
+ }, N = () => {
44
44
  clearTimeout(d), d = null, e.value = !1;
45
- }, R = async (t, u = "export", h, b = "") => {
46
- var U, V, I;
45
+ }, D = async (t, u = "export", y, b = "") => {
46
+ var R, S, U;
47
47
  const [q, r] = await ne("", {
48
48
  url: `progress/${t}`
49
49
  }).run();
@@ -54,36 +54,36 @@ const ne = le.get("progress"), ue = (a) => {
54
54
  i.value = r.percentage;
55
55
  const C = u == "export" ? g("导出") : g("导入");
56
56
  if (i.value == 100)
57
- if (x.value = r, m.value = !1, E(), u == "export")
58
- r.status == 1 ? (o.value = "success", Y(`${H().baseURL}/oss${r.filePath}`, h, b), m.value = !1, a("success")) : r.status == 2 && (f.value = r.message || `${C}${N.value === "zh-CN" ? g("失败") : " " + g("失败")}`, P.error({
59
- message: r.message || `${C}${N.value === "zh-CN" ? g("失败") : " " + g("失败")}`,
57
+ if (h.value = r, m.value = !1, N(), u == "export")
58
+ r.status == 1 ? (o.value = "success", H(`${L().baseURL}/oss${r.filePath}`, y, b), m.value = !1, a("success")) : r.status == 2 && (f.value = r.message || `${C}${T.value === "zh-CN" ? g("失败") : " " + g("失败")}`, z.error({
59
+ message: r.message || `${C}${T.value === "zh-CN" ? g("失败") : " " + g("失败")}`,
60
60
  grouping: !0,
61
61
  repeatNum: 1
62
62
  }));
63
63
  else if (u == "import") {
64
64
  if (r.filePath) {
65
65
  o.value = "error";
66
- const A = (U = y.name) == null ? void 0 : U.substr(y.name.indexOf("."));
67
- (V = y.name) == null || V.replace(/(.*\/)*([^.]+).*/gi, "$2"), v.value = !0;
68
- const X = (I = r.filePath) == null ? void 0 : I.replace(/(.*\/)*([^.]+).*/gi, "$2");
69
- n.value = `${X}${A}`, c.value = y.sizeText, f.value = g("部分数据校验不通过,请下载附件并修改,重新导入!"), w.value = `${H().baseURL}/oss${r.filePath}`;
66
+ const A = (R = x.name) == null ? void 0 : R.substr(x.name.indexOf("."));
67
+ (S = x.name) == null || S.replace(/(.*\/)*([^.]+).*/gi, "$2"), v.value = !0;
68
+ const X = (U = r.filePath) == null ? void 0 : U.replace(/(.*\/)*([^.]+).*/gi, "$2");
69
+ n.value = `${X}${A}`, c.value = x.sizeText, f.value = g("部分数据校验不通过,请下载附件并修改,重新导入!"), k.value = `${L().baseURL}/oss${r.filePath}`;
70
70
  }
71
- S(r.status, C), r.status == 1 && (l.value = !1), a("success");
71
+ E(r.status, C), r.status == 1 && (l.value = !1), a("success");
72
72
  } else u == "action" && (o.value = "success");
73
73
  else
74
74
  d && r.status != 2 ? d = setTimeout(() => {
75
- R(t, u, h, b);
76
- }, 50) : (x.value = r, m.value = !1, S(r.status, C), E(), v.value = !0, f.value = (r == null ? void 0 : r.message) || "");
77
- }, S = (t, u) => {
78
- t == 1 ? (o.value = "success", P.success({
75
+ D(t, u, y, b);
76
+ }, 50) : (h.value = r, m.value = !1, E(r.status, C), N(), v.value = !0, f.value = (r == null ? void 0 : r.message) || "");
77
+ }, E = (t, u) => {
78
+ t == 1 ? (o.value = "success", z.success({
79
79
  message: g("business-components_export-success-tip", u),
80
80
  grouping: !0,
81
81
  repeatNum: 1
82
- }), n.value = "", c.value = "", f.value = "") : t == 2 ? (o.value = "error", P.error({
82
+ }), n.value = "", c.value = "", f.value = "") : t == 2 ? (o.value = "error", z.error({
83
83
  message: g("business-components_export-failure-tip", u),
84
84
  grouping: !0,
85
85
  repeatNum: 1
86
- })) : t == 3 && (o.value = "error", P.error({
86
+ })) : t == 3 && (o.value = "error", z.error({
87
87
  message: g("business-components_export-partially-failure-tip", u),
88
88
  grouping: !0,
89
89
  repeatNum: 1
@@ -96,23 +96,23 @@ const ne = le.get("progress"), ue = (a) => {
96
96
  percent: i,
97
97
  progressStatus: o,
98
98
  progressLoading: m,
99
- progressResult: x,
99
+ progressResult: h,
100
100
  errorFileName: n,
101
101
  errorFileSize: c,
102
102
  errorMessage: f,
103
103
  errorImport: v,
104
- errorFilePath: w,
104
+ errorFilePath: k,
105
105
  fileExport: j,
106
- fileAction: O,
106
+ fileAction: F,
107
107
  generateUniqueName: (t) => {
108
108
  const u = t == null ? void 0 : t.substr(t.indexOf("."));
109
- return `${t == null ? void 0 : t.replace(/(.*\/)*([^.]+).*/gi, "$2")}${F()}${u}`;
109
+ return `${t == null ? void 0 : t.replace(/(.*\/)*([^.]+).*/gi, "$2")}${Y()}${u}`;
110
110
  },
111
- downloadFile: Y,
112
- resetStataus: _,
113
- checkProgress: T
111
+ downloadFile: H,
112
+ resetStataus: P,
113
+ checkProgress: _
114
114
  };
115
- }, Y = (a, l, e = "xlsx") => {
115
+ }, H = (a, l, e = "xlsx") => {
116
116
  const s = new XMLHttpRequest();
117
117
  s.open("get", a), s.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), s.responseType = "blob", s.onload = function(i) {
118
118
  const o = new Blob([this.response], {
@@ -126,21 +126,21 @@ const ne = le.get("progress"), ue = (a) => {
126
126
  }
127
127
  }, s.send();
128
128
  }, ie = (a, l) => {
129
- const { showProgressDialog: e, progressTitle: s, percent: i, progressStatus: o, progressLoading: m, fileExport: d } = ue(l), x = p({}), n = p({}), c = (v, w) => {
130
- x.value = {
129
+ const { showProgressDialog: e, progressTitle: s, percent: i, progressStatus: o, progressLoading: m, fileExport: d } = ue(l), h = p({}), n = p({}), c = (v, k) => {
130
+ h.value = {
131
131
  ...v
132
132
  }, n.value = {
133
- ...w
133
+ ...k
134
134
  };
135
- let y = `${D().format("YYYYMMDD")}-${D().format("HHmmss")}.${a.fileType}`;
136
- N.value === "en" && !/s$/.test(a.exportFileName) && (y = " " + y);
137
- const _ = `${a.exportFileName}${y}`;
138
- d(f, _, a.fileType);
135
+ let x = `${O().format("YYYYMMDD")}-${O().format("HHmmss")}.${a.fileType}`;
136
+ T.value === "en" && !/s$/.test(a.exportFileName) && (x = " " + x);
137
+ const P = `${a.exportFileName}${x}`;
138
+ d(f, P, a.fileType);
139
139
  }, f = async () => {
140
- let v = F();
141
- a.taskIdPosition === "params" && (x.value.taskId = v), a.taskIdPosition === "body" && (n.value.taskId = v);
142
- const [w, y] = await a.exportFun(n.value, { params: x.value }).run();
143
- return w ? { status: !1 } : { status: !0, taskId: v };
140
+ let v = Y();
141
+ a.taskIdPosition === "params" && (h.value.taskId = v), a.taskIdPosition === "body" && (n.value.taskId = v);
142
+ const [k, x] = await a.exportFun(n.value, { params: h.value }).run();
143
+ return k ? { status: !1 } : { status: !0, taskId: v };
144
144
  };
145
145
  return {
146
146
  showProgressDialog: e,
@@ -167,45 +167,45 @@ const ne = le.get("progress"), ue = (a) => {
167
167
  emits: ["update:modelValue", "update:bodyParams", "success"],
168
168
  setup(a, { emit: l }) {
169
169
  const e = a, s = l;
170
- K(() => e.exportFileName || g("导出表")), B(e.modelValue, (n) => {
170
+ K(() => e.exportFileName || g("导出表")), V(e.modelValue, (n) => {
171
171
  s("update:modelValue", n);
172
- }), B(e.bodyParams, (n) => {
172
+ }), V(e.bodyParams, (n) => {
173
173
  s("update:bodyParams", n);
174
174
  });
175
- const { showProgressDialog: i, percent: o, progressStatus: m, exportList: d } = ie(e, s), x = [$("正在导出中...").value, $("导出失败").value, $("导出成功").value];
175
+ const { showProgressDialog: i, percent: o, progressStatus: m, exportList: d } = ie(e, s), h = [w("正在导出中...").value, w("导出失败").value, w("导出成功").value];
176
176
  return (n, c) => (W(), Q("div", pe, [
177
- z(k(re), {
177
+ M($(re), {
178
178
  block: n.block,
179
179
  size: "middle",
180
180
  disabled: n.disabled,
181
181
  "btn-type": e.btnType,
182
182
  ghost: n.ghost,
183
- onClick: c[0] || (c[0] = (f) => k(d)(e.modelValue, e.bodyParams))
183
+ onClick: c[0] || (c[0] = (f) => $(d)(e.modelValue, e.bodyParams))
184
184
  }, {
185
- default: L(() => [
185
+ default: I(() => [
186
186
  Z(n.$slots, "default", {}, () => [
187
- ee(te(k($)("导出").value), 1)
187
+ ee(te($(w)("导出").value), 1)
188
188
  ], !0)
189
189
  ]),
190
190
  _: 3
191
191
  }, 8, ["block", "disabled", "btn-type", "ghost"]),
192
- z(k(ae), {
192
+ M($(ae), {
193
193
  size: "mini",
194
- title: k($)("导出进度").value,
194
+ title: $(w)("导出进度").value,
195
195
  "is-feedback-img": !1,
196
- modelValue: k(i),
197
- "onUpdate:modelValue": c[2] || (c[2] = (f) => M(i) ? i.value = f : null),
196
+ modelValue: $(i),
197
+ "onUpdate:modelValue": c[2] || (c[2] = (f) => B(i) ? i.value = f : null),
198
198
  "append-to-body": !0,
199
199
  type: "feedback"
200
200
  }, {
201
- default: L(() => [
202
- z(k(oe), {
203
- modelValue: k(o),
204
- "onUpdate:modelValue": c[1] || (c[1] = (f) => M(o) ? o.value = f : null),
201
+ default: I(() => [
202
+ M($(oe), {
203
+ modelValue: $(o),
204
+ "onUpdate:modelValue": c[1] || (c[1] = (f) => B(o) ? o.value = f : null),
205
205
  style: { "margin-top": "35px" },
206
206
  type: "circle",
207
- status: k(m),
208
- textMap: x
207
+ status: $(m),
208
+ textMap: h
209
209
  }, null, 8, ["modelValue", "status"])
210
210
  ]),
211
211
  _: 1
@@ -218,29 +218,31 @@ const ne = le.get("progress"), ue = (a) => {
218
218
  e[s] = i;
219
219
  return e;
220
220
  }, ce = /* @__PURE__ */ de(me, [["__scopeId", "data-v-ea2b6dcb"]]), fe = {
221
- 导出表: { "zh-CN": "导出表", en: "Export Table", _appCode: "framework" },
222
- 导出失败: { "zh-CN": "导出失败", en: "Exported Failed", _appCode: "framework" },
223
- 导出成功: { "zh-CN": "导出成功", en: "Exported Successfully", _appCode: "framework" },
224
- 导出进度: { "zh-CN": "导出进度", en: "Export Progress", _appCode: "framework" },
225
- 导出: { "zh-CN": "导出", en: "Export", _appCode: "framework" },
226
- 导入: { "zh-CN": "导入", en: "Import", _appCode: "framework" },
221
+ 导出表: { "zh-CN": "导出表", en: "Export Table", "zh-MO": "導出表", _appCode: "framework" },
222
+ 导出失败: { "zh-CN": "导出失败", en: "Exported Failed", "zh-MO": "導出失敗", _appCode: "framework" },
223
+ 导出成功: { "zh-CN": "导出成功", en: "Exported Successfully", "zh-MO": "導出成功", _appCode: "framework" },
224
+ 导出进度: { "zh-CN": "导出进度", en: "Export Progress", "zh-MO": "導出進度", _appCode: "framework" },
225
+ 导出: { "zh-CN": "导出", en: "Export", "zh-MO": "導出", _appCode: "framework" },
226
+ 导入: { "zh-CN": "导入", en: "Import", "zh-MO": "導入", _appCode: "framework" },
227
227
  "部分数据校验不通过,请下载附件并修改,重新导入!": {
228
228
  "zh-CN": "部分数据校验不通过,请下载附件并修改,重新导入!",
229
229
  en: "Some data validation errors detected. Please download the attachment, make necessary corrections, and import again!",
230
+ "zh-MO": "部分數據校驗不通過,請下載附件並修改,重新導入!",
230
231
  _appCode: "framework"
231
232
  },
232
- "正在导出中...": { "zh-CN": "正在导出中...", en: "Exporting...", _appCode: "framework" },
233
- "business-components_export-success-tip": { "zh-CN": "$0成功", en: "$0 Successfully", _appCode: "framework" },
234
- "business-components_export-failure-tip": { "zh-CN": "$0失败", en: "$0 Failed", _appCode: "framework" },
233
+ "正在导出中...": { "zh-CN": "正在导出中...", en: "Exporting...", "zh-MO": "正在導出中...", _appCode: "framework" },
234
+ "business-components_export-success-tip": { "zh-CN": "$0成功", en: "$0 Successfully", "zh-MO": "$0成功", _appCode: "framework" },
235
+ "business-components_export-failure-tip": { "zh-CN": "$0失败", en: "$0 Failed", "zh-MO": "$0失敗", _appCode: "framework" },
235
236
  "business-components_export-partially-failure-tip": {
236
237
  "zh-CN": "部分$0失败",
237
238
  en: "Some $0 Failed",
239
+ "zh-MO": "部分$0失敗",
238
240
  _appCode: "framework"
239
241
  }
240
242
  };
241
243
  se(fe);
242
- const _e = G(ce);
244
+ const Pe = G(ce);
243
245
  export {
244
- _e as DasExportButton,
245
- _e as default
246
+ Pe as DasExportButton,
247
+ Pe as default
246
248
  };
@@ -7,146 +7,175 @@ declare const _default: {
7
7
  '2\u3001\u4EC5\u652F\u6301\u4E0A\u4F20Excel\u6587\u4EF6\uFF0C\u91CD\u590D\u6570\u636E\u4EE5\u6700\u540E\u4E00\u6761\u4E3A\u51C6': {
8
8
  'zh-CN': string;
9
9
  en: string;
10
+ 'zh-MO': string;
10
11
  _appCode: string;
11
12
  };
12
13
  文件: {
13
14
  'zh-CN': string;
14
15
  en: string;
16
+ 'zh-MO': string;
15
17
  _appCode: string;
16
18
  };
17
19
  取消: {
18
20
  'zh-CN': string;
19
21
  en: string;
22
+ 'zh-MO': string;
20
23
  _appCode: string;
21
24
  };
22
25
  正在导入中: {
23
26
  'zh-CN': string;
24
27
  en: string;
28
+ 'zh-MO': string;
25
29
  _appCode: string;
26
30
  };
27
31
  导入成功: {
28
32
  'zh-CN': string;
29
33
  en: string;
34
+ 'zh-MO': string;
30
35
  _appCode: string;
31
36
  };
32
37
  导入失败: {
33
38
  'zh-CN': string;
34
39
  en: string;
40
+ 'zh-MO': string;
35
41
  _appCode: string;
36
42
  };
37
43
  正在导出中: {
38
44
  'zh-CN': string;
39
45
  en: string;
46
+ 'zh-MO': string;
40
47
  _appCode: string;
41
48
  };
42
49
  导出失败: {
43
50
  'zh-CN': string;
44
51
  en: string;
52
+ 'zh-MO': string;
45
53
  _appCode: string;
46
54
  };
47
55
  导出成功: {
48
56
  'zh-CN': string;
49
57
  en: string;
58
+ 'zh-MO': string;
50
59
  _appCode: string;
51
60
  };
52
61
  文件格式错误: {
53
62
  'zh-CN': string;
54
63
  en: string;
64
+ 'zh-MO': string;
55
65
  _appCode: string;
56
66
  };
57
67
  请重新上传: {
58
68
  'zh-CN': string;
59
69
  en: string;
70
+ 'zh-MO': string;
60
71
  _appCode: string;
61
72
  };
62
73
  文件大小不超过: {
63
74
  'zh-CN': string;
64
75
  en: string;
76
+ 'zh-MO': string;
65
77
  _appCode: string;
66
78
  };
67
79
  请上传文件: {
68
80
  'zh-CN': string;
69
81
  en: string;
82
+ 'zh-MO': string;
70
83
  _appCode: string;
71
84
  };
72
85
  导入进度: {
73
86
  'zh-CN': string;
74
87
  en: string;
88
+ 'zh-MO': string;
75
89
  _appCode: string;
76
90
  };
77
91
  导出进度: {
78
92
  'zh-CN': string;
79
93
  en: string;
94
+ 'zh-MO': string;
80
95
  _appCode: string;
81
96
  };
82
97
  导出: {
83
98
  'zh-CN': string;
84
99
  en: string;
100
+ 'zh-MO': string;
85
101
  _appCode: string;
86
102
  };
87
103
  导入: {
88
104
  'zh-CN': string;
89
105
  en: string;
106
+ 'zh-MO': string;
90
107
  _appCode: string;
91
108
  };
92
109
  失败: {
93
110
  'zh-CN': string;
94
111
  en: string;
112
+ 'zh-MO': string;
95
113
  _appCode: string;
96
114
  };
97
115
  成功: {
98
116
  'zh-CN': string;
99
117
  en: string;
118
+ 'zh-MO': string;
100
119
  _appCode: string;
101
120
  };
102
121
  部分: {
103
122
  'zh-CN': string;
104
123
  en: string;
124
+ 'zh-MO': string;
105
125
  _appCode: string;
106
126
  };
107
127
  导入模板: {
108
128
  'zh-CN': string;
109
129
  en: string;
130
+ 'zh-MO': string;
110
131
  _appCode: string;
111
132
  };
112
133
  确定导入: {
113
134
  'zh-CN': string;
114
135
  en: string;
136
+ 'zh-MO': string;
115
137
  _appCode: string;
116
138
  };
117
139
  '\u90E8\u5206\u6570\u636E\u6821\u9A8C\u4E0D\u901A\u8FC7\uFF0C\u8BF7\u4E0B\u8F7D\u9644\u4EF6\u5E76\u4FEE\u6539\uFF0C\u91CD\u65B0\u5BFC\u5165\uFF01': {
118
140
  'zh-CN': string;
119
141
  en: string;
142
+ 'zh-MO': string;
120
143
  _appCode: string;
121
144
  };
122
145
  '\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20\uFF01': {
123
146
  'zh-CN': string;
124
147
  en: string;
148
+ 'zh-MO': string;
125
149
  _appCode: string;
126
150
  };
127
151
  '\u6B63\u5728\u5BFC\u5165\u4E2D...': {
128
152
  'zh-CN': string;
129
153
  en: string;
154
+ 'zh-MO': string;
130
155
  _appCode: string;
131
156
  };
132
157
  '\u6B63\u5728\u5BFC\u51FA\u4E2D...': {
133
158
  'zh-CN': string;
134
159
  en: string;
160
+ 'zh-MO': string;
135
161
  _appCode: string;
136
162
  };
137
163
  'business-components_export-success-tip': {
138
164
  'zh-CN': string;
139
165
  en: string;
166
+ 'zh-MO': string;
140
167
  _appCode: string;
141
168
  };
142
169
  'business-components_export-failure-tip': {
143
170
  'zh-CN': string;
144
171
  en: string;
172
+ 'zh-MO': string;
145
173
  _appCode: string;
146
174
  };
147
175
  'business-components_export-partially-failure-tip': {
148
176
  'zh-CN': string;
149
177
  en: string;
178
+ 'zh-MO': string;
150
179
  _appCode: string;
151
180
  };
152
181
  };