elab_components 0.14.31 → 0.14.33
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/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -33537,7 +33537,7 @@ var OkGrid = function (_a) {
|
|
|
33537
33537
|
};
|
|
33538
33538
|
var excelExportFunc = function () {
|
|
33539
33539
|
if (excelExport.current !== null) {
|
|
33540
|
-
excelExport.current.save(
|
|
33540
|
+
excelExport.current.save(formattedExportData);
|
|
33541
33541
|
}
|
|
33542
33542
|
};
|
|
33543
33543
|
var handleComboxChange = function (event, key, combBoxData) {
|
|
@@ -33828,7 +33828,7 @@ var OkGrid = function (_a) {
|
|
|
33828
33828
|
}
|
|
33829
33829
|
}
|
|
33830
33830
|
: handleExpandChange;
|
|
33831
|
-
var formattedExportData = (_k = ((_j = allData === null || allData === void 0 ? void 0 : allData.data) !== null && _j !== void 0 ? _j :
|
|
33831
|
+
var formattedExportData = (_k = ((_j = allData === null || allData === void 0 ? void 0 : allData.data) !== null && _j !== void 0 ? _j : data)) === null || _k === void 0 ? void 0 : _k.map(function (item) {
|
|
33832
33832
|
var formattedItem = __assign({}, item);
|
|
33833
33833
|
Object.keys(formattedItem).forEach(function (key) {
|
|
33834
33834
|
var value = formattedItem[key];
|
package/dist/index.js
CHANGED
|
@@ -33565,7 +33565,7 @@ var OkGrid = function (_a) {
|
|
|
33565
33565
|
};
|
|
33566
33566
|
var excelExportFunc = function () {
|
|
33567
33567
|
if (excelExport.current !== null) {
|
|
33568
|
-
excelExport.current.save(
|
|
33568
|
+
excelExport.current.save(formattedExportData);
|
|
33569
33569
|
}
|
|
33570
33570
|
};
|
|
33571
33571
|
var handleComboxChange = function (event, key, combBoxData) {
|
|
@@ -33856,7 +33856,7 @@ var OkGrid = function (_a) {
|
|
|
33856
33856
|
}
|
|
33857
33857
|
}
|
|
33858
33858
|
: handleExpandChange;
|
|
33859
|
-
var formattedExportData = (_k = ((_j = allData === null || allData === void 0 ? void 0 : allData.data) !== null && _j !== void 0 ? _j :
|
|
33859
|
+
var formattedExportData = (_k = ((_j = allData === null || allData === void 0 ? void 0 : allData.data) !== null && _j !== void 0 ? _j : data)) === null || _k === void 0 ? void 0 : _k.map(function (item) {
|
|
33860
33860
|
var formattedItem = __assign({}, item);
|
|
33861
33861
|
Object.keys(formattedItem).forEach(function (key) {
|
|
33862
33862
|
var value = formattedItem[key];
|