@dt-frames/ui 1.0.46 → 1.0.48
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.
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"EDIT": "Edit ",
|
|
8
8
|
"EMPTY": "No Selected Data Yet!",
|
|
9
9
|
"MULTIFY_DELETE_CONFIRM": "Confirm Batch Delete",
|
|
10
|
-
"CONFIRM_MULTIFY_DELETE": "Confirm to Batch Delete Selected Data?",
|
|
10
|
+
"CONFIRM_MULTIFY_DELETE": "Confirm to Batch Delete of {length} Selected Data?",
|
|
11
11
|
"ADVANCED": "Retract",
|
|
12
12
|
"EXPAND": "Expand",
|
|
13
13
|
"SELECT_ICON": "Select Icon ",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"FULLSCREEN": "Full Screen",
|
|
24
24
|
"SAVE": "Save",
|
|
25
25
|
"CLOSE": "Close",
|
|
26
|
-
"ADD_SUCCESS": "Successfully Added!",
|
|
26
|
+
"ADD_SUCCESS": "Successfully Added!",
|
|
27
27
|
"UPDATE_SUCCESS": "Successfully Updated Data!",
|
|
28
28
|
"MULTIFY": "Batch",
|
|
29
29
|
"DELETE_SUCCESS": "Successfully Deleted!",
|
package/es/index.js
CHANGED
|
@@ -6910,7 +6910,11 @@ function useDownload(exportUrl, exportName) {
|
|
|
6910
6910
|
total.push(rowData);
|
|
6911
6911
|
return total;
|
|
6912
6912
|
}, []);
|
|
6913
|
-
|
|
6913
|
+
let excelHeader = [titles];
|
|
6914
|
+
if (extraData && extraData.length > 0) {
|
|
6915
|
+
excelHeader = [...extraData, titles];
|
|
6916
|
+
}
|
|
6917
|
+
export2Excel(excelHeader.concat(content), exportName2);
|
|
6914
6918
|
}
|
|
6915
6919
|
function export2Excel(data = [], exportName2 = "") {
|
|
6916
6920
|
const worksheet = xlsx.utils.aoa_to_sheet(data);
|
|
@@ -7286,7 +7290,9 @@ function useCurd(curdOpt) {
|
|
|
7286
7290
|
if (curd && curd.onDeletes && isFunction(curd.onDeletes)) {
|
|
7287
7291
|
confirm({
|
|
7288
7292
|
title: t("MULTIFY_DELETE_CONFIRM"),
|
|
7289
|
-
content: t("CONFIRM_MULTIFY_DELETE"
|
|
7293
|
+
content: t("CONFIRM_MULTIFY_DELETE", {
|
|
7294
|
+
length: ids.length
|
|
7295
|
+
}),
|
|
7290
7296
|
iconType: "warning",
|
|
7291
7297
|
onOk() {
|
|
7292
7298
|
curd.onDeletes(ids);
|