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.modern.js
CHANGED
|
@@ -1219,7 +1219,7 @@ function grid(props) {
|
|
|
1219
1219
|
};
|
|
1220
1220
|
var fileName = props.exportFileName ? props.exportFileName + moment().format("YYYYMMDD") : "DatagridExportFile" + moment().format("YYYYMMDD");
|
|
1221
1221
|
var onExporting = function onExporting(e) {
|
|
1222
|
-
if (e.format === '
|
|
1222
|
+
if (e.format === 'xlsx') {
|
|
1223
1223
|
var workbook = new Workbook();
|
|
1224
1224
|
exportDataGrid({
|
|
1225
1225
|
component: e.component,
|
|
@@ -1424,7 +1424,7 @@ function grid$1(props) {
|
|
|
1424
1424
|
};
|
|
1425
1425
|
var fileName = props.exportFileName ? props.exportFileName + moment().format("YYYYMMDD") : "DatagridExportFile" + moment().format("YYYYMMDD");
|
|
1426
1426
|
var onExporting = function onExporting(e) {
|
|
1427
|
-
if (e.format === '
|
|
1427
|
+
if (e.format === 'xlsx') {
|
|
1428
1428
|
var workbook = new Workbook();
|
|
1429
1429
|
exportDataGrid({
|
|
1430
1430
|
component: e.component,
|