@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.
- package/index.d.ts +7 -0
- package/index.js +18 -0
- package/package.json +5 -5
- package/packages/business-components/ai-panel/i18n/index.d.ts +60 -0
- package/packages/business-components/ai-panel/{index-CViVnNHG.js → index-Bg_src1J.js} +440 -432
- package/packages/business-components/ai-panel/index-Bg_src1J.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-14NcMHNj.js → index-CoN6WqdZ.js} +1 -1
- package/packages/business-components/ai-panel/index-CoN6WqdZ.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/area-phone-select/i18n/index.d.ts +1 -0
- package/packages/business-components/area-phone-select/index.js +17 -17
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
- package/packages/business-components/change-enterprises/index.js +18 -18
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +4 -0
- package/packages/business-components/currency-page/index.js +9 -7
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +244 -0
- package/packages/business-components/device-panel/index.js +3506 -3482
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +11 -0
- package/packages/business-components/export-button/index.js +83 -81
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +29 -0
- package/packages/business-components/import-button/index.js +237 -233
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
- package/packages/business-components/model-table-dialog/index.js +166 -166
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/i18n/index.d.ts +13 -0
- package/packages/business-components/payment/index.js +55 -55
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +30 -0
- package/packages/business-components/process-configuration/index.js +148 -146
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +84 -0
- package/packages/business-components/process-form/index.js +472 -463
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/i18n/index.d.ts +9 -0
- package/packages/business-components/process-log/index.js +69 -69
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +9 -0
- package/packages/business-components/process-search-form/index.js +125 -125
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/i18n/index.d.ts +8 -0
- package/packages/business-components/process-table/index.js +99 -99
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
- package/packages/business-components/upload-file/index.js +9 -8
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +104 -0
- package/packages/business-components/urgent-panel/index.js +951 -943
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +18 -0
- package/packages/business-components/user-org-dialog/index.js +180 -179
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
- package/packages/business-components/video-dialog/index.js +175 -175
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +46 -0
- package/packages/components/calendar/index.js +163 -163
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +1 -0
- package/packages/components/cascader/index.js +15 -15
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +1 -0
- package/packages/components/color-picker/index.js +10 -10
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +1 -0
- package/packages/components/custom-search-item/index.js +10 -10
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +6 -0
- package/packages/components/date-picker/index.js +127 -127
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -0
- package/packages/components/dialog/index.js +46 -46
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +10 -0
- package/packages/components/dimple-layout/index.js +10 -9
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +1 -0
- package/packages/components/dropdown/index.js +12 -12
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/empty/i18n/index.d.ts +1 -0
- package/packages/components/empty/index.js +1 -1
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +7 -0
- package/packages/components/image-upload/index.js +47 -43
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +3 -0
- package/packages/components/input/index.js +27 -27
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +2 -0
- package/packages/components/input-dialog-select/index.js +23 -23
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +2 -0
- package/packages/components/live-player/index.js +2 -1
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/i18n/index.d.ts +1 -0
- package/packages/components/loading/index.js +20 -20
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +6 -0
- package/packages/components/map/index.js +159 -155
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +1 -0
- package/packages/components/menu-aside/index.js +34 -34
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +1 -0
- package/packages/components/message/index.js +7 -7
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +1 -0
- package/packages/components/notification/index.js +1 -1
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +4 -0
- package/packages/components/pagination/index.js +42 -42
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -0
- package/packages/components/popover/index.js +20 -20
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/preview/i18n/index.d.ts +1 -0
- package/packages/components/preview/index.js +4 -4
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +4 -0
- package/packages/components/rich-editor/index.js +1596 -1592
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +7 -0
- package/packages/components/search-form/index.js +117 -117
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +4 -0
- package/packages/components/select/index.js +93 -92
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -0
- package/packages/components/select-list/index.js +110 -110
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
- package/packages/components/special-range-picker-month/index.js +60 -60
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
- package/packages/components/special-range-picker-year/index.js +41 -41
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +1 -0
- package/packages/components/spin/index.js +14 -14
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +20 -0
- package/packages/components/table/index.js +546 -544
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +3 -0
- package/packages/components/tabs/index.js +42 -42
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -0
- package/packages/components/tooltip/index.js +15 -15
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +9 -0
- package/packages/components/tree/index.js +310 -309
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-v2/i18n/index.d.ts +8 -0
- package/packages/components/tree-v2/index.js +9 -8
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +6 -0
- package/packages/components/upload/index.js +57 -56
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
- package/packages/components/virtual-tree/index.js +12 -12
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/web-front-end/i18n/dasui_en-US.js +482 -478
- package/web-front-end/i18n/dasui_zh-CN.js +2 -2
- package/web-front-end/i18n/dasui_zh-MO.js +757 -0
- package/packages/business-components/ai-panel/index-14NcMHNj.js.gz +0 -0
- 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
|
|
4
|
-
import { t as u, currentLang as we, i18n as
|
|
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
|
|
7
|
-
import { DasProgress as
|
|
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
|
|
10
|
-
import { DasMessage as
|
|
11
|
-
import
|
|
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
|
|
14
|
-
import { getUserInfo as
|
|
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
|
|
25
|
-
let m =
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
const [r, s] = await
|
|
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
|
-
},
|
|
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
|
-
}),
|
|
41
|
-
|
|
42
|
-
const c = await
|
|
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,
|
|
45
|
-
const pe = a ?
|
|
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
|
|
49
|
+
let ee = await j(G);
|
|
50
50
|
X.push(ee);
|
|
51
|
-
}),
|
|
52
|
-
|
|
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
|
-
|
|
54
|
+
z.append("filePaths", G);
|
|
55
55
|
});
|
|
56
56
|
} else {
|
|
57
|
-
const X = await
|
|
58
|
-
|
|
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:
|
|
63
|
+
bucketName: R,
|
|
64
64
|
filePath: J,
|
|
65
65
|
autoContentType: K
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
const [ue, me] = await pe(
|
|
68
|
+
const [ue, me] = await pe(z).run();
|
|
69
69
|
if (ue) return;
|
|
70
|
-
const ce = await
|
|
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,
|
|
76
|
+
l.value = u("导入进度"), p.value = !0, M(Z.taskId, "import", "");
|
|
77
77
|
} else {
|
|
78
78
|
if (!Z.status) return;
|
|
79
|
-
n.value = "success",
|
|
79
|
+
n.value = "success", P.success({
|
|
80
80
|
message: u("导入成功"),
|
|
81
81
|
grouping: !0,
|
|
82
82
|
repeatNum: 1
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
},
|
|
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
|
-
|
|
93
|
-
},
|
|
94
|
-
|
|
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
|
-
|
|
101
|
-
},
|
|
102
|
-
|
|
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(
|
|
106
|
-
},
|
|
107
|
-
var C,
|
|
108
|
-
const [i, t] = await
|
|
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
|
-
|
|
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 (
|
|
119
|
-
t.status == 1 ? (n.value = "success", ie(`${se().baseURL}/oss${t.filePath}`, d, a),
|
|
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 =
|
|
128
|
-
K.length && K[2],
|
|
129
|
-
let
|
|
130
|
-
const J = ((
|
|
131
|
-
|
|
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
|
-
|
|
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
|
-
|
|
137
|
-
|
|
138
|
-
}, 50) : (
|
|
139
|
-
},
|
|
140
|
-
r == 1 ? (n.value = "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
|
-
}),
|
|
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",
|
|
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:
|
|
161
|
-
progressResult:
|
|
162
|
-
errorFileName:
|
|
163
|
-
errorFileSize:
|
|
164
|
-
errorMessage:
|
|
165
|
-
errorImport:
|
|
166
|
-
errorFilePath:
|
|
167
|
-
fileHandleType:
|
|
168
|
-
fileImport:
|
|
169
|
-
fileExport:
|
|
170
|
-
fileAction:
|
|
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:
|
|
177
|
-
checkProgress:
|
|
176
|
+
resetStataus: U,
|
|
177
|
+
checkProgress: M,
|
|
178
178
|
clearTimer: f
|
|
179
179
|
};
|
|
180
|
-
},
|
|
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:
|
|
214
|
-
}),
|
|
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
|
|
219
|
-
|
|
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
|
-
},
|
|
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
|
-
}),
|
|
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:
|
|
236
|
-
progressLoading:
|
|
237
|
-
errorFileName:
|
|
238
|
-
errorFileSize:
|
|
239
|
-
errorMessage:
|
|
240
|
-
errorImport:
|
|
241
|
-
errorFilePath:
|
|
242
|
-
fileHandleType:
|
|
243
|
-
fileImport:
|
|
244
|
-
fileExport:
|
|
245
|
-
downloadFile:
|
|
246
|
-
clearTimer:
|
|
247
|
-
} =
|
|
248
|
-
let
|
|
249
|
-
const
|
|
250
|
-
|
|
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
|
|
253
|
-
const
|
|
254
|
-
const i = e.fileType.split(","), t = a.name.substring(a.name.lastIndexOf(".")), c =
|
|
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
|
-
|
|
257
|
-
|
|
256
|
+
P.warning(u("文件格式错误,请重新上传!")), setTimeout(() => {
|
|
257
|
+
y.value = [];
|
|
258
258
|
});
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
261
261
|
if (c > C) {
|
|
262
|
-
|
|
262
|
+
P.warning(
|
|
263
263
|
`${u("文件大小不超过")}${we.value === "zh-CN" ? e.fileMaxSize : " " + e.fileMaxSize}`
|
|
264
264
|
), setTimeout(() => {
|
|
265
|
-
|
|
265
|
+
y.value = [];
|
|
266
266
|
});
|
|
267
267
|
return;
|
|
268
268
|
}
|
|
269
|
-
|
|
270
|
-
},
|
|
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), [
|
|
282
|
-
return
|
|
283
|
-
},
|
|
284
|
-
if (!
|
|
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: `${
|
|
287
|
+
importFileName: `${j}/${e.ossName}/${B}`
|
|
288
288
|
};
|
|
289
|
-
e.maxCount > 1 && (a.importFileName =
|
|
290
|
-
const i = e.maxCount > 1, t = e.maxCount > 1 ?
|
|
291
|
-
await
|
|
292
|
-
},
|
|
293
|
-
|
|
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
|
-
|
|
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:
|
|
306
|
-
progressLoading:
|
|
307
|
-
errorFileName:
|
|
308
|
-
errorFileSize:
|
|
309
|
-
errorMessage:
|
|
310
|
-
errorImport:
|
|
305
|
+
progressStatus: g,
|
|
306
|
+
progressLoading: k,
|
|
307
|
+
errorFileName: b,
|
|
308
|
+
errorFileSize: F,
|
|
309
|
+
errorMessage: O,
|
|
310
|
+
errorImport: N,
|
|
311
311
|
importDialog: p,
|
|
312
|
-
fileList:
|
|
313
|
-
fileHandleType:
|
|
314
|
-
showImportHandle:
|
|
315
|
-
confirmImport:
|
|
316
|
-
fileUpload:
|
|
317
|
-
errorFileDownload:
|
|
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,
|
|
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
|
-
|
|
330
|
+
I(ne(a), e.templateName);
|
|
331
331
|
}
|
|
332
332
|
e.templateType === "dynamic" && e.templateFun && oe();
|
|
333
333
|
}
|
|
334
334
|
},
|
|
335
|
-
clearTimer:
|
|
335
|
+
clearTimer: U
|
|
336
336
|
};
|
|
337
|
-
},
|
|
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 =
|
|
361
|
-
showProgressDialog:
|
|
362
|
-
progressTitle:
|
|
363
|
-
percent:
|
|
364
|
-
progressStatus:
|
|
365
|
-
errorFileName:
|
|
366
|
-
errorFileSize:
|
|
367
|
-
errorMessage:
|
|
368
|
-
errorImport:
|
|
369
|
-
importDialog:
|
|
370
|
-
fileList:
|
|
371
|
-
fileHandleType:
|
|
372
|
-
showImportHandle:
|
|
373
|
-
confirmImport:
|
|
374
|
-
fileUpload:
|
|
375
|
-
errorFileDownload:
|
|
376
|
-
downTemplate:
|
|
377
|
-
clearTimer:
|
|
378
|
-
} =
|
|
379
|
-
let
|
|
380
|
-
return
|
|
381
|
-
f.includes("import") ?
|
|
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:
|
|
384
|
-
showImportHandle:
|
|
385
|
-
}), (f,
|
|
383
|
+
confirmImport: y,
|
|
384
|
+
showImportHandle: U
|
|
385
|
+
}), (f, h) => (Ce(), ve("div", De, [
|
|
386
386
|
q("div", {
|
|
387
|
-
onClick:
|
|
388
|
-
(...
|
|
387
|
+
onClick: h[0] || (h[0] = //@ts-ignore
|
|
388
|
+
(...v) => o(U) && o(U)(...v))
|
|
389
389
|
}, [
|
|
390
390
|
re(f.$slots, "default", {}, () => [
|
|
391
|
-
|
|
391
|
+
S(o(W), {
|
|
392
392
|
size: "middle",
|
|
393
393
|
"btn-type": "primary"
|
|
394
394
|
}, {
|
|
395
|
-
default:
|
|
396
|
-
Y(
|
|
395
|
+
default: E(() => [
|
|
396
|
+
Y(V(n.value), 1)
|
|
397
397
|
]),
|
|
398
398
|
_: 1
|
|
399
399
|
})
|
|
400
400
|
], !0)
|
|
401
401
|
]),
|
|
402
|
-
|
|
403
|
-
title: o(
|
|
404
|
-
modelValue: o(
|
|
405
|
-
"onUpdate:modelValue":
|
|
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:
|
|
410
|
+
footer: E(() => [
|
|
411
411
|
q("div", null, [
|
|
412
|
-
|
|
412
|
+
S(o(W), {
|
|
413
413
|
size: "middle",
|
|
414
|
-
onClick:
|
|
414
|
+
onClick: h[2] || (h[2] = (v) => T.value = !1)
|
|
415
415
|
}, {
|
|
416
|
-
default:
|
|
417
|
-
Y(
|
|
416
|
+
default: E(() => [
|
|
417
|
+
Y(V(o(L)("取消").value), 1)
|
|
418
418
|
]),
|
|
419
419
|
_: 1
|
|
420
420
|
}),
|
|
421
|
-
|
|
421
|
+
S(o(W), {
|
|
422
422
|
size: "middle",
|
|
423
423
|
"btn-type": "primary",
|
|
424
|
-
disabled: f.openDisabled && o(
|
|
424
|
+
disabled: f.openDisabled && o(_).length === 0,
|
|
425
425
|
style: { "margin-left": "12px", width: "100%" },
|
|
426
|
-
onClick: o(
|
|
426
|
+
onClick: o(y)
|
|
427
427
|
}, {
|
|
428
|
-
default:
|
|
429
|
-
Y(
|
|
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:
|
|
435
|
+
default: E(() => [
|
|
436
436
|
re(f.$slots, "tip", {}, () => [
|
|
437
|
-
q("div",
|
|
438
|
-
q("div",
|
|
439
|
-
Y(
|
|
440
|
-
|
|
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(
|
|
444
|
+
onClick: o(B)
|
|
445
445
|
}, {
|
|
446
|
-
default:
|
|
447
|
-
Y(
|
|
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",
|
|
452
|
+
q("div", Le, V(o(L)("2、仅支持上传Excel文件,重复数据以最后一条为准").value), 1)
|
|
453
453
|
])
|
|
454
454
|
], !0),
|
|
455
|
-
|
|
456
|
-
modelValue: o(
|
|
457
|
-
"onUpdate:modelValue":
|
|
458
|
-
error: o(
|
|
459
|
-
"error-file-name": o(
|
|
460
|
-
"error-file-size": o(
|
|
461
|
-
"error-message": o(
|
|
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(
|
|
466
|
-
onFileUpload: o(
|
|
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
|
-
|
|
471
|
+
S(o(le), {
|
|
472
472
|
size: "mini",
|
|
473
|
-
title: o(
|
|
473
|
+
title: o(L)(o(k)).value,
|
|
474
474
|
"is-feedback-img": !1,
|
|
475
|
-
modelValue: o(
|
|
476
|
-
"onUpdate:modelValue":
|
|
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(
|
|
478
|
+
onClose: o(A)
|
|
479
479
|
}, {
|
|
480
|
-
default:
|
|
481
|
-
|
|
482
|
-
modelValue: o(
|
|
483
|
-
"onUpdate:modelValue":
|
|
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(
|
|
487
|
-
textMap: o(
|
|
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
|
-
}),
|
|
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
|
-
},
|
|
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
|
-
|
|
548
|
-
const ot = de(
|
|
551
|
+
ze(Ve);
|
|
552
|
+
const ot = de(Re);
|
|
549
553
|
export {
|
|
550
554
|
ot as DasImportButton,
|
|
551
555
|
ot as default
|