ods-component-lib 1.16.8 → 1.16.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.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1223,7 +1223,7 @@ function grid(props) {
|
|
|
1223
1223
|
};
|
|
1224
1224
|
var fileName = props.exportFileName ? props.exportFileName + moment().format("YYYYMMDD") : "DatagridExportFile" + moment().format("YYYYMMDD");
|
|
1225
1225
|
var onExporting = function onExporting(e) {
|
|
1226
|
-
if (e.format === '
|
|
1226
|
+
if (e.format === 'xlsx') {
|
|
1227
1227
|
var workbook = new exceljs.Workbook();
|
|
1228
1228
|
excel_exporter.exportDataGrid({
|
|
1229
1229
|
component: e.component,
|
|
@@ -1428,7 +1428,7 @@ function grid$1(props) {
|
|
|
1428
1428
|
};
|
|
1429
1429
|
var fileName = props.exportFileName ? props.exportFileName + moment().format("YYYYMMDD") : "DatagridExportFile" + moment().format("YYYYMMDD");
|
|
1430
1430
|
var onExporting = function onExporting(e) {
|
|
1431
|
-
if (e.format === '
|
|
1431
|
+
if (e.format === 'xlsx') {
|
|
1432
1432
|
var workbook = new exceljs.Workbook();
|
|
1433
1433
|
excel_exporter.exportDataGrid({
|
|
1434
1434
|
component: e.component,
|