@das-fed/ui 6.4.0-dev.54.7 → 6.4.0-dev.54.9

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 (126) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -3
  3. package/packages/business-components/change-pwd/i18n/index.d.ts +26 -34
  4. package/packages/business-components/change-pwd/index.js +66 -65
  5. package/packages/business-components/change-pwd/index.js.gz +0 -0
  6. package/packages/business-components/device-panel/i18n/index.d.ts +172 -0
  7. package/packages/business-components/device-panel/index.js +331 -261
  8. package/packages/business-components/device-panel/index.js.gz +0 -0
  9. package/packages/business-components/export-button/i18n/index.d.ts +16 -20
  10. package/packages/business-components/export-button/index.js +88 -86
  11. package/packages/business-components/export-button/index.js.gz +0 -0
  12. package/packages/business-components/import-button/i18n/index.d.ts +34 -30
  13. package/packages/business-components/import-button/index.js +148 -144
  14. package/packages/business-components/import-button/index.js.gz +0 -0
  15. package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -6
  16. package/packages/business-components/model-table-dialog/index.js +82 -83
  17. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  18. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +17 -49
  19. package/packages/business-components/model-table-dialog/style.css +1 -1
  20. package/packages/business-components/model-table-dialog/style.css.gz +0 -0
  21. package/packages/business-components/process-configuration/i18n/index.d.ts +37 -29
  22. package/packages/business-components/process-configuration/index.js +103 -92
  23. package/packages/business-components/process-configuration/index.js.gz +0 -0
  24. package/packages/business-components/process-form/i18n/index.d.ts +109 -69
  25. package/packages/business-components/process-form/index.js +691 -672
  26. package/packages/business-components/process-form/index.js.gz +0 -0
  27. package/packages/business-components/process-log/i18n/index.d.ts +4 -0
  28. package/packages/business-components/process-log/index.js +29 -28
  29. package/packages/business-components/process-log/index.js.gz +0 -0
  30. package/packages/business-components/process-search-form/i18n/index.d.ts +9 -9
  31. package/packages/business-components/process-search-form/index.js +2 -2
  32. package/packages/business-components/process-search-form/index.js.gz +0 -0
  33. package/packages/business-components/process-table/i18n/index.d.ts +8 -8
  34. package/packages/business-components/process-table/index.js +36 -36
  35. package/packages/business-components/process-table/index.js.gz +0 -0
  36. package/packages/business-components/upload-file/i18n/index.d.ts +2 -2
  37. package/packages/business-components/upload-file/index.js +45 -42
  38. package/packages/business-components/upload-file/index.js.gz +0 -0
  39. package/packages/business-components/urgent-panel/i18n/index.d.ts +28 -0
  40. package/packages/business-components/urgent-panel/index.js +595 -576
  41. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  42. package/packages/business-components/user-org-dialog/i18n/index.d.ts +7 -3
  43. package/packages/business-components/user-org-dialog/index.js +92 -91
  44. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  45. package/packages/business-components/video-dialog/i18n/index.d.ts +29 -17
  46. package/packages/business-components/video-dialog/index.js +116 -113
  47. package/packages/business-components/video-dialog/index.js.gz +0 -0
  48. package/packages/components/button/index.js +54 -56
  49. package/packages/components/button/index.js.gz +0 -0
  50. package/packages/components/image-upload/i18n/index.d.ts +9 -21
  51. package/packages/components/image-upload/index.js +92 -92
  52. package/packages/components/image-upload/index.js.gz +0 -0
  53. package/packages/components/image-viewer/i18n/index.d.ts +1 -30
  54. package/packages/components/image-viewer/index.js +213 -219
  55. package/packages/components/image-viewer/index.js.gz +0 -0
  56. package/packages/components/input/i18n/index.d.ts +3 -3
  57. package/packages/components/input/index.js +1 -1
  58. package/packages/components/input/index.js.gz +0 -0
  59. package/packages/components/input-dialog-select/i18n/index.d.ts +1 -6
  60. package/packages/components/input-dialog-select/index.js +49 -51
  61. package/packages/components/input-dialog-select/index.js.gz +0 -0
  62. package/packages/components/live-player/i18n/index.d.ts +3 -7
  63. package/packages/components/live-player/index.js +7 -5
  64. package/packages/components/live-player/index.js.gz +0 -0
  65. package/packages/components/live-player/style.css +1 -1
  66. package/packages/components/loading/i18n/index.d.ts +1 -1
  67. package/packages/components/loading/index.js +1 -3
  68. package/packages/components/loading/index.js.gz +0 -0
  69. package/packages/components/map/i18n/index.d.ts +7 -11
  70. package/packages/components/map/index.js +168 -167
  71. package/packages/components/map/index.js.gz +0 -0
  72. package/packages/components/menu-aside/i18n/index.d.ts +1 -1
  73. package/packages/components/menu-aside/index.js +1 -3
  74. package/packages/components/menu-aside/index.js.gz +0 -0
  75. package/packages/components/message/i18n/index.d.ts +1 -1
  76. package/packages/components/message/index.js +1 -3
  77. package/packages/components/message/index.js.gz +0 -0
  78. package/packages/components/notification/i18n/index.d.ts +1 -1
  79. package/packages/components/notification/index.js +1 -3
  80. package/packages/components/notification/index.js.gz +0 -0
  81. package/packages/components/pagination/i18n/index.d.ts +8 -8
  82. package/packages/components/pagination/index.js +124 -124
  83. package/packages/components/pagination/index.js.gz +0 -0
  84. package/packages/components/pagination/style.css +1 -1
  85. package/packages/components/pagination/style.css.gz +0 -0
  86. package/packages/components/popover/i18n/index.d.ts +2 -2
  87. package/packages/components/preview/i18n/index.d.ts +1 -1
  88. package/packages/components/preview/index.js +1 -3
  89. package/packages/components/preview/index.js.gz +0 -0
  90. package/packages/components/search/index.js +26 -36
  91. package/packages/components/search/index.js.gz +0 -0
  92. package/packages/components/search/style.css +1 -1
  93. package/packages/components/search/style.css.gz +0 -0
  94. package/packages/components/{search → search-form}/i18n/index.d.ts +6 -10
  95. package/packages/components/search-form/index.js +426 -418
  96. package/packages/components/search-form/index.js.gz +0 -0
  97. package/packages/components/search-form/style.css +1 -1
  98. package/packages/components/search-form/style.css.gz +0 -0
  99. package/packages/components/spin/i18n/index.d.ts +1 -1
  100. package/packages/components/spin/index.js +1 -3
  101. package/packages/components/spin/index.js.gz +0 -0
  102. package/packages/components/table/i18n/index.d.ts +19 -19
  103. package/packages/components/table/index.js +7 -7
  104. package/packages/components/table/index.js.gz +0 -0
  105. package/packages/components/table/style.css +1 -1
  106. package/packages/components/table/style.css.gz +0 -0
  107. package/packages/components/tabs/i18n/index.d.ts +3 -3
  108. package/packages/components/time-line/index.js +36 -40
  109. package/packages/components/time-line/index.js.gz +0 -0
  110. package/packages/components/tooltip/i18n/index.d.ts +1 -1
  111. package/packages/components/tooltip/index.js +1 -3
  112. package/packages/components/tooltip/index.js.gz +0 -0
  113. package/packages/components/tree/i18n/index.d.ts +8 -12
  114. package/packages/components/tree/index.js +137 -135
  115. package/packages/components/tree/index.js.gz +0 -0
  116. package/packages/components/tree/src/App.vue.d.ts +9 -27
  117. package/packages/components/upload/i18n/index.d.ts +5 -5
  118. package/packages/components/upload/index.js +1 -1
  119. package/packages/components/upload/index.js.gz +0 -0
  120. package/packages/components/virtual-tree/i18n/index.d.ts +1 -1
  121. package/packages/components/virtual-tree/index.js +1 -3
  122. package/packages/components/virtual-tree/index.js.gz +0 -0
  123. package/i18n-collection/en.js +0 -537
  124. package/i18n-collection/zh-CN.js +0 -537
  125. package/packages/components/button/i18n/index.d.ts +0 -2
  126. package/packages/components/time-line/i18n/index.d.ts +0 -7
@@ -1,50 +1,46 @@
1
1
  declare const _default: {
2
2
  导出表: {
3
- "zh-CN": string;
4
- en: string;
5
- };
6
- 正在导出中: {
7
- "zh-CN": string;
3
+ 'zh-CN': string;
8
4
  en: string;
9
5
  };
10
6
  导出失败: {
11
- "zh-CN": string;
7
+ 'zh-CN': string;
12
8
  en: string;
13
9
  };
14
10
  导出成功: {
15
- "zh-CN": string;
11
+ 'zh-CN': string;
16
12
  en: string;
17
13
  };
18
14
  导出进度: {
19
- "zh-CN": string;
15
+ 'zh-CN': string;
20
16
  en: string;
21
17
  };
22
18
  导出: {
23
- "zh-CN": string;
19
+ 'zh-CN': string;
24
20
  en: string;
25
21
  };
26
22
  导入: {
27
- "zh-CN": string;
23
+ 'zh-CN': string;
28
24
  en: string;
29
25
  };
30
- 失败: {
31
- "zh-CN": string;
26
+ '\u90E8\u5206\u6570\u636E\u6821\u9A8C\u4E0D\u901A\u8FC7\uFF0C\u8BF7\u4E0B\u8F7D\u9644\u4EF6\u5E76\u4FEE\u6539\uFF0C\u91CD\u65B0\u5BFC\u5165\uFF01': {
27
+ 'zh-CN': string;
32
28
  en: string;
33
29
  };
34
- 部分数据校验不通过: {
35
- "zh-CN": string;
30
+ '\u6B63\u5728\u5BFC\u51FA\u4E2D...': {
31
+ 'zh-CN': string;
36
32
  en: string;
37
33
  };
38
- 请下载附件并修改: {
39
- "zh-CN": string;
34
+ 'business-components_export-success-tip': {
35
+ 'zh-CN': string;
40
36
  en: string;
41
37
  };
42
- 重新导入: {
43
- "zh-CN": string;
38
+ 'business-components_export-failure-tip': {
39
+ 'zh-CN': string;
44
40
  en: string;
45
41
  };
46
- 部分: {
47
- "zh-CN": string;
42
+ 'business-components_export-partially-failure-tip': {
43
+ 'zh-CN': string;
48
44
  en: string;
49
45
  };
50
46
  };
@@ -1,15 +1,15 @@
1
1
  import '@das-fed/ui/packages/business-components/export-button/style.css';
2
2
  import { withInstall as X } from "@das-fed/utils/with-install/index";
3
- import { ref as p, defineComponent as G, computed as J, watch as B, openBlock as K, createElementBlock as Q, createVNode as z, unref as y, withCtx as L, renderSlot as W, createTextVNode as Z, toDisplayString as ee, createCommentVNode as te, isRef as S } from "vue";
3
+ import { ref as p, defineComponent as G, computed as J, watch as _, openBlock as K, createElementBlock as Q, createVNode as z, unref as h, withCtx as B, renderSlot as W, createTextVNode as Z, toDisplayString as ee, createCommentVNode as te, isRef as L } from "vue";
4
4
  import { t as g, i18n as k, setI18nRule as se } from "@das-fed/web/packages/i18n/index";
5
5
  import { DasDialog as ae } from "@das-fed/ui/packages/components/dialog/index";
6
6
  import { DasProgress as oe } from "@das-fed/ui/packages/components/progress/index";
7
7
  import { DasButton as re } from "@das-fed/ui/packages/components/button/index";
8
8
  import { iotProgress as le } from "@das-fed/utils/api-services/modules/iot";
9
9
  import D from "dayjs";
10
- import { DasMessage as C } from "@das-fed/ui/packages/components/message/index";
11
- import { getConfig as M } from "@das-fed/utils/config";
12
- let Y = (a = 21) => {
10
+ import { DasMessage as T } from "@das-fed/ui/packages/components/message/index";
11
+ import { getConfig as S } from "@das-fed/utils/config";
12
+ let H = (a = 21) => {
13
13
  let l = "", e = crypto.getRandomValues(new Uint8Array(a));
14
14
  for (; a--; ) {
15
15
  let s = e[a] & 63;
@@ -18,44 +18,44 @@ let Y = (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, h = p(""), n = p(""), c = p(""), f = p(""), v = p(!1), $ = p(""), P;
22
- const O = () => {
23
- n.value = "", c.value = "", f.value = "", v.value = !1, $.value = "";
24
- }, _ = async (t, u = "", x = "") => {
25
- o.value = "normal", i.value = 0, s.value = x || g("导出进度"), e.value = !0;
21
+ let l = p(!1), e = p(!1), s = p(""), i = p(0), o = p("normal"), c = p(!1), m, x = p(""), n = p(""), d = p(""), f = p(""), v = p(!1), $ = p(""), P;
22
+ const Y = () => {
23
+ n.value = "", d.value = "", f.value = "", v.value = !1, $.value = "";
24
+ }, O = 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 = "", x = "") => {
31
+ C(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 || "", x);
40
- }, T = async (t, u, x, b = "") => {
41
- m.value = !0, R(t, u, x, b), d = setTimeout(() => {
39
+ D().format("YYYYMMDDHHmmss") + "", C(b.taskId, "export", u || "", y);
40
+ }, C = async (t, u, y, b = "") => {
41
+ c.value = !0, N(t, u, y, b), m = setTimeout(() => {
42
42
  }, 50);
43
- }, N = () => {
44
- clearTimeout(d), d = null, e.value = !1;
45
- }, R = async (t, u = "export", x, b = "") => {
43
+ }, V = () => {
44
+ clearTimeout(m), m = null, e.value = !1;
45
+ }, N = async (t, u = "export", y, b = "") => {
46
46
  var U, E, I;
47
47
  const [q, r] = await ne("", {
48
48
  url: `progress/${t}`
49
49
  }).run();
50
50
  if (q) {
51
- m.value = !1;
51
+ c.value = !1;
52
52
  return;
53
53
  }
54
54
  i.value = r.percentage;
55
55
  const w = u == "export" ? g("导出") : g("导入");
56
56
  if (i.value == 100)
57
- if (h.value = r, m.value = !1, N(), u == "export")
58
- r.status == 1 ? (o.value = "success", H(`${M().baseURL}/oss${r.filePath}`, x, b), m.value = !1, a("success")) : r.status == 2 && (f.value = r.message || `${w}${g("失败")}`, C.error({
57
+ if (x.value = r, c.value = !1, V(), u == "export")
58
+ r.status == 1 ? (o.value = "success", M(`${S().baseURL}/oss${r.filePath}`, y, b), c.value = !1, a("success")) : r.status == 2 && (f.value = r.message || `${w}${g("失败")}`, T.error({
59
59
  message: r.message || `${w}${g("失败")}`,
60
60
  grouping: !0,
61
61
  repeatNum: 1
@@ -66,25 +66,25 @@ const ne = le.get("progress"), ue = (a) => {
66
66
  const F = (U = P.name) == null ? void 0 : U.substr(P.name.indexOf("."));
67
67
  (E = P.name) == null || E.replace(/(.*\/)*([^.]+).*/gi, "$2"), v.value = !0;
68
68
  const A = (I = r.filePath) == null ? void 0 : I.replace(/(.*\/)*([^.]+).*/gi, "$2");
69
- n.value = `${A}${F}`, c.value = P.sizeText, f.value = g("部分数据校验不通过,请下载附件并修改,重新导入!"), $.value = `${M().baseURL}/oss${r.filePath}`;
69
+ n.value = `${A}${F}`, d.value = P.sizeText, f.value = g("部分数据校验不通过,请下载附件并修改,重新导入!"), $.value = `${S().baseURL}/oss${r.filePath}`;
70
70
  }
71
- V(r.status, w), r.status == 1 && (l.value = !1), a("success");
71
+ R(r.status, w), r.status == 1 && (l.value = !1), a("success");
72
72
  } else u == "action" && (o.value = "success");
73
73
  else
74
- d && r.status != 2 ? d = setTimeout(() => {
75
- R(t, u, x, b);
76
- }, 50) : (h.value = r, m.value = !1, V(r.status, w), N(), v.value = !0, f.value = (r == null ? void 0 : r.message) || "");
77
- }, V = (t, u) => {
78
- t == 1 ? (o.value = "success", C.success({
79
- message: `${u}成功`,
74
+ m && r.status != 2 ? m = setTimeout(() => {
75
+ N(t, u, y, b);
76
+ }, 50) : (x.value = r, c.value = !1, R(r.status, w), V(), v.value = !0, f.value = (r == null ? void 0 : r.message) || "");
77
+ }, R = (t, u) => {
78
+ t == 1 ? (o.value = "success", T.success({
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", C.error({
83
- message: `${u}${g("失败")}`,
82
+ }), n.value = "", d.value = "", f.value = "") : t == 2 ? (o.value = "error", T.error({
83
+ message: g("business-components_export-failure-tip", u),
84
84
  grouping: !0,
85
85
  repeatNum: 1
86
- })) : t == 3 && (o.value = "error", C.error({
87
- message: `${g("部分")}${u}${g("失败")}`,
86
+ })) : t == 3 && (o.value = "error", T.error({
87
+ message: g("business-components_export-partially-failure-tip", u),
88
88
  grouping: !0,
89
89
  repeatNum: 1
90
90
  }));
@@ -95,49 +95,49 @@ const ne = le.get("progress"), ue = (a) => {
95
95
  progressTitle: s,
96
96
  percent: i,
97
97
  progressStatus: o,
98
- progressLoading: m,
99
- progressResult: h,
98
+ progressLoading: c,
99
+ progressResult: x,
100
100
  errorFileName: n,
101
- errorFileSize: c,
101
+ errorFileSize: d,
102
102
  errorMessage: f,
103
103
  errorImport: v,
104
104
  errorFilePath: $,
105
105
  fileExport: j,
106
- fileAction: _,
106
+ fileAction: O,
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")}${Y()}${u}`;
109
+ return `${t == null ? void 0 : t.replace(/(.*\/)*([^.]+).*/gi, "$2")}${H()}${u}`;
110
110
  },
111
- downloadFile: H,
112
- resetStataus: O,
113
- checkProgress: T
111
+ downloadFile: M,
112
+ resetStataus: Y,
113
+ checkProgress: C
114
114
  };
115
- }, H = (a, l, e = "xlsx") => {
115
+ }, M = (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], {
119
119
  type: e === "zip" ? "application/zip" : e === "xlsx" ? "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" : "application/pdf"
120
- }), m = URL.createObjectURL(o);
120
+ }), c = URL.createObjectURL(o);
121
121
  if (window.navigator.msSaveOrOpenBlob)
122
122
  navigator.msSaveBlob(o, l);
123
123
  else {
124
- const d = document.createElement("a");
125
- d.href = m, d.download = l, d.click(), window.URL.revokeObjectURL(m);
124
+ const m = document.createElement("a");
125
+ m.href = c, m.download = l, m.click(), window.URL.revokeObjectURL(c);
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), h = p({}), n = p({}), c = (v, $) => {
130
- h.value = {
129
+ const { showProgressDialog: e, progressTitle: s, percent: i, progressStatus: o, progressLoading: c, fileExport: m } = ue(l), x = p({}), n = p({}), d = (v, $) => {
130
+ x.value = {
131
131
  ...v
132
132
  }, n.value = {
133
133
  ...$
134
134
  };
135
135
  const P = `${a.exportFileName}${D().format("YYYYMMDD")}-${D().format("HHmmss")}.${a.fileType}`;
136
- d(f, P, a.fileType);
136
+ m(f, P, a.fileType);
137
137
  }, f = async () => {
138
- let v = Y();
139
- a.taskIdPosition === "params" && (h.value.taskId = v), a.taskIdPosition === "body" && (n.value.taskId = v);
140
- const [$, P] = await a.exportFun(n.value, { params: h.value }).run();
138
+ let v = H();
139
+ a.taskIdPosition === "params" && (x.value.taskId = v), a.taskIdPosition === "body" && (n.value.taskId = v);
140
+ const [$, P] = await a.exportFun(n.value, { params: x.value }).run();
141
141
  return $ ? { status: !1 } : { status: !0, taskId: v };
142
142
  };
143
143
  return {
@@ -145,10 +145,10 @@ const ne = le.get("progress"), ue = (a) => {
145
145
  progressTitle: s,
146
146
  percent: i,
147
147
  progressStatus: o,
148
- progressLoading: m,
149
- exportList: c
148
+ progressLoading: c,
149
+ exportList: d
150
150
  };
151
- }, pe = { class: "das-export-button" }, me = /* @__PURE__ */ G({
151
+ }, pe = { class: "das-export-button" }, ce = /* @__PURE__ */ G({
152
152
  __name: "App",
153
153
  props: {
154
154
  modelValue: {},
@@ -165,25 +165,25 @@ const ne = le.get("progress"), ue = (a) => {
165
165
  emits: ["update:modelValue", "update:bodyParams", "success"],
166
166
  setup(a, { emit: l }) {
167
167
  const e = a, s = l;
168
- J(() => e.exportFileName || g("导出表")), B(e.modelValue, (n) => {
168
+ J(() => e.exportFileName || g("导出表")), _(e.modelValue, (n) => {
169
169
  s("update:modelValue", n);
170
- }), B(e.bodyParams, (n) => {
170
+ }), _(e.bodyParams, (n) => {
171
171
  s("update:bodyParams", n);
172
172
  });
173
- const { showProgressDialog: i, percent: o, progressStatus: m, exportList: d } = ie(e, s), h = [k("正在导出中...").value, k("导出失败").value, k("导出成功").value];
174
- return (n, c) => (K(), Q("div", pe, [
175
- z(y(re), {
173
+ const { showProgressDialog: i, percent: o, progressStatus: c, exportList: m } = ie(e, s), x = [k("正在导出中...").value, k("导出失败").value, k("导出成功").value];
174
+ return (n, d) => (K(), Q("div", pe, [
175
+ z(h(re), {
176
176
  block: n.block,
177
177
  size: "middle",
178
178
  disabled: n.disabled,
179
179
  "btn-type": e.btnType,
180
180
  ghost: n.ghost,
181
- onClick: c[0] || (c[0] = (f) => y(d)(e.modelValue, e.bodyParams))
181
+ onClick: d[0] || (d[0] = (f) => h(m)(e.modelValue, e.bodyParams))
182
182
  }, {
183
- default: L(() => [
183
+ default: B(() => [
184
184
  W(n.$slots, "default", {}, () => [
185
185
  Z(
186
- ee(y(k)("导出").value),
186
+ ee(h(k)("导出").value),
187
187
  1
188
188
  /* TEXT */
189
189
  )
@@ -193,23 +193,23 @@ const ne = le.get("progress"), ue = (a) => {
193
193
  /* FORWARDED */
194
194
  }, 8, ["block", "disabled", "btn-type", "ghost"]),
195
195
  te(" 进度弹窗 "),
196
- z(y(ae), {
196
+ z(h(ae), {
197
197
  size: "mini",
198
- title: y(k)("导出进度").value,
198
+ title: h(k)("导出进度").value,
199
199
  "is-feedback-img": !1,
200
- modelValue: y(i),
201
- "onUpdate:modelValue": c[2] || (c[2] = (f) => S(i) ? i.value = f : null),
200
+ modelValue: h(i),
201
+ "onUpdate:modelValue": d[2] || (d[2] = (f) => L(i) ? i.value = f : null),
202
202
  "append-to-body": !0,
203
203
  type: "feedback"
204
204
  }, {
205
- default: L(() => [
206
- z(y(oe), {
207
- modelValue: y(o),
208
- "onUpdate:modelValue": c[1] || (c[1] = (f) => S(o) ? o.value = f : null),
205
+ default: B(() => [
206
+ z(h(oe), {
207
+ modelValue: h(o),
208
+ "onUpdate:modelValue": d[1] || (d[1] = (f) => L(o) ? o.value = f : null),
209
209
  style: { "margin-top": "35px" },
210
210
  type: "circle",
211
- status: y(m),
212
- textMap: h
211
+ status: h(c),
212
+ textMap: x
213
213
  }, null, 8, ["modelValue", "status"])
214
214
  ]),
215
215
  _: 1
@@ -217,28 +217,30 @@ const ne = le.get("progress"), ue = (a) => {
217
217
  }, 8, ["title", "modelValue"])
218
218
  ]));
219
219
  }
220
- }), de = (a, l) => {
220
+ }), me = (a, l) => {
221
221
  const e = a.__vccOpts || a;
222
222
  for (const [s, i] of l)
223
223
  e[s] = i;
224
224
  return e;
225
- }, ce = /* @__PURE__ */ de(me, [["__scopeId", "data-v-49f0bb05"]]), fe = {
226
- 导出表: { "zh-CN": "导出表", en: "Export table" },
227
- 正在导出中: { "zh-CN": "正在导出中", en: "Exporting" },
228
- 导出失败: { "zh-CN": "导出失败", en: "Export failed" },
229
- 导出成功: { "zh-CN": "导出成功", en: "Export successful" },
230
- 导出进度: { "zh-CN": "导出进度", en: "Export progress" },
225
+ }, de = /* @__PURE__ */ me(ce, [["__scopeId", "data-v-49f0bb05"]]), fe = {
226
+ 导出表: { "zh-CN": "导出表", en: "Export Table" },
227
+ 导出失败: { "zh-CN": "导出失败", en: "Export Failed" },
228
+ 导出成功: { "zh-CN": "导出成功", en: "Export Successful" },
229
+ 导出进度: { "zh-CN": "导出进度", en: "Export Progress" },
231
230
  导出: { "zh-CN": "导出", en: "Export" },
232
231
  导入: { "zh-CN": "导入", en: "Import" },
233
- 失败: { "zh-CN": "失败", en: "Failure" },
234
- 部分数据校验不通过: { "zh-CN": "部分数据校验不通过", en: "Some data validation failed" },
235
- 请下载附件并修改: { "zh-CN": "请下载附件并修改", en: "Please download the attachment and modify it" },
236
- 重新导入: { "zh-CN": "重新导入", en: "Re-import" },
237
- 部分: { "zh-CN": "部分", en: "Partial" }
232
+ "部分数据校验不通过,请下载附件并修改,重新导入!": {
233
+ "zh-CN": "部分数据校验不通过,请下载附件并修改,重新导入!",
234
+ en: "Some data failed validation, please download the attachment, make corrections, and re-import!"
235
+ },
236
+ "正在导出中...": { "zh-CN": "正在导出中...", en: "Exporting..." },
237
+ "business-components_export-success-tip": { "zh-CN": "$0成功", en: "$0 success" },
238
+ "business-components_export-failure-tip": { "zh-CN": "$0失败", en: "$0 failure" },
239
+ "business-components_export-partially-failure-tip": { "zh-CN": "部分$0失败", en: "Partially $0 failure" }
238
240
  };
239
241
  se(fe);
240
- const Te = X(ce);
242
+ const Ce = X(de);
241
243
  export {
242
- Te as DasExportButton,
243
- Te as default
244
+ Ce as DasExportButton,
245
+ Ce as default
244
246
  };
@@ -1,102 +1,106 @@
1
1
  declare const _default: {
2
2
  点击下载: {
3
- "zh-CN": string;
3
+ 'zh-CN': string;
4
4
  en: string;
5
5
  };
6
6
  仅支持上传: {
7
- "zh-CN": string;
7
+ 'zh-CN': string;
8
8
  en: string;
9
9
  };
10
10
  文件: {
11
- "zh-CN": string;
11
+ 'zh-CN': string;
12
12
  en: string;
13
13
  };
14
14
  重复数据以最后一条为准: {
15
- "zh-CN": string;
15
+ 'zh-CN': string;
16
16
  en: string;
17
17
  };
18
18
  取消: {
19
- "zh-CN": string;
19
+ 'zh-CN': string;
20
20
  en: string;
21
21
  };
22
22
  正在导入中: {
23
- "zh-CN": string;
23
+ 'zh-CN': string;
24
24
  en: string;
25
25
  };
26
26
  导入失败: {
27
- "zh-CN": string;
27
+ 'zh-CN': string;
28
28
  en: string;
29
29
  };
30
30
  正在导出中: {
31
- "zh-CN": string;
31
+ 'zh-CN': string;
32
32
  en: string;
33
33
  };
34
34
  导出失败: {
35
- "zh-CN": string;
35
+ 'zh-CN': string;
36
36
  en: string;
37
37
  };
38
38
  导出成功: {
39
- "zh-CN": string;
39
+ 'zh-CN': string;
40
40
  en: string;
41
41
  };
42
42
  文件格式错误: {
43
- "zh-CN": string;
43
+ 'zh-CN': string;
44
44
  en: string;
45
45
  };
46
46
  请重新上传: {
47
- "zh-CN": string;
47
+ 'zh-CN': string;
48
48
  en: string;
49
49
  };
50
50
  文件大小不超过: {
51
- "zh-CN": string;
51
+ 'zh-CN': string;
52
52
  en: string;
53
53
  };
54
54
  请上传文件: {
55
- "zh-CN": string;
55
+ 'zh-CN': string;
56
56
  en: string;
57
57
  };
58
58
  导入进度: {
59
- "zh-CN": string;
59
+ 'zh-CN': string;
60
60
  en: string;
61
61
  };
62
62
  导入成功: {
63
- "zh-CN": string;
63
+ 'zh-CN': string;
64
64
  en: string;
65
65
  };
66
66
  导出进度: {
67
- "zh-CN": string;
67
+ 'zh-CN': string;
68
68
  en: string;
69
69
  };
70
70
  导出: {
71
- "zh-CN": string;
71
+ 'zh-CN': string;
72
72
  en: string;
73
73
  };
74
74
  导入: {
75
- "zh-CN": string;
75
+ 'zh-CN': string;
76
76
  en: string;
77
77
  };
78
78
  失败: {
79
- "zh-CN": string;
79
+ 'zh-CN': string;
80
80
  en: string;
81
81
  };
82
- 部分数据校验不通过: {
83
- "zh-CN": string;
82
+ 成功: {
83
+ 'zh-CN': string;
84
84
  en: string;
85
85
  };
86
- 请下载附件并修改: {
87
- "zh-CN": string;
86
+ 部分: {
87
+ 'zh-CN': string;
88
88
  en: string;
89
89
  };
90
- 重新导入: {
91
- "zh-CN": string;
90
+ '\u90E8\u5206\u6570\u636E\u6821\u9A8C\u4E0D\u901A\u8FC7\uFF0C\u8BF7\u4E0B\u8F7D\u9644\u4EF6\u5E76\u4FEE\u6539\uFF0C\u91CD\u65B0\u5BFC\u5165\uFF01': {
91
+ 'zh-CN': string;
92
92
  en: string;
93
93
  };
94
- 成功: {
95
- "zh-CN": string;
94
+ '\u6587\u4EF6\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20\uFF01': {
95
+ 'zh-CN': string;
96
96
  en: string;
97
97
  };
98
- 部分: {
99
- "zh-CN": string;
98
+ '\u6B63\u5728\u5BFC\u5165\u4E2D...': {
99
+ 'zh-CN': string;
100
+ en: string;
101
+ };
102
+ '\u6B63\u5728\u5BFC\u51FA\u4E2D...': {
103
+ 'zh-CN': string;
100
104
  en: string;
101
105
  };
102
106
  };