ods-component-lib 1.17.2 → 1.17.4
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 +32 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +32 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1219,11 +1219,20 @@ function grid(props) {
|
|
|
1219
1219
|
var _ref;
|
|
1220
1220
|
var headerCellRender = function headerCellRender(colProperties) {
|
|
1221
1221
|
return React__default.createElement("th", {
|
|
1222
|
-
className: "dx-datagrid-headers"
|
|
1222
|
+
className: "dx-datagrid-headers",
|
|
1223
|
+
style: {
|
|
1224
|
+
fontFamily: "Manrope",
|
|
1225
|
+
fontSize: "14px",
|
|
1226
|
+
fontStyle: "normal",
|
|
1227
|
+
fontWeight: "600",
|
|
1228
|
+
lineHeight: "22px",
|
|
1229
|
+
background: "#E6F4FF"
|
|
1230
|
+
}
|
|
1223
1231
|
}, colProperties.column.caption);
|
|
1224
1232
|
};
|
|
1225
1233
|
var fileName = props.exportFileName ? props.exportFileName + moment().format("YYYYMMDD") : "DatagridExportFile" + moment().format("YYYYMMDD");
|
|
1226
1234
|
var onExporting = function onExporting(e) {
|
|
1235
|
+
debugger;
|
|
1227
1236
|
if (e.format === 'xlsx') {
|
|
1228
1237
|
var workbook = new exceljs.Workbook();
|
|
1229
1238
|
excel_exporter.exportDataGrid({
|
|
@@ -1269,7 +1278,10 @@ function grid(props) {
|
|
|
1269
1278
|
columnAutoWidth: false,
|
|
1270
1279
|
onEditCanceling: props.onEditCanceling,
|
|
1271
1280
|
onExporting: onExporting,
|
|
1272
|
-
height: (_ref = props.height !== undefined) != null ? _ref : props.height
|
|
1281
|
+
height: (_ref = props.height !== undefined) != null ? _ref : props.height,
|
|
1282
|
+
style: {
|
|
1283
|
+
maxWidth: "100%"
|
|
1284
|
+
}
|
|
1273
1285
|
}, React__default.createElement(dataGrid.Paging, {
|
|
1274
1286
|
enabled: true,
|
|
1275
1287
|
defaultPageSize: props.pageSize
|
|
@@ -1424,7 +1436,15 @@ function OdsDisplayGrid(props) {
|
|
|
1424
1436
|
function grid$1(props) {
|
|
1425
1437
|
var headerCellRender = function headerCellRender(colProperties) {
|
|
1426
1438
|
return React__default.createElement("th", {
|
|
1427
|
-
className: "dx-datagrid-headers"
|
|
1439
|
+
className: "dx-datagrid-headers",
|
|
1440
|
+
style: {
|
|
1441
|
+
fontFamily: "Manrope",
|
|
1442
|
+
fontSize: "14px",
|
|
1443
|
+
fontStyle: "normal",
|
|
1444
|
+
fontWeight: "600",
|
|
1445
|
+
lineHeight: "22px",
|
|
1446
|
+
background: "#E6F4FF"
|
|
1447
|
+
}
|
|
1428
1448
|
}, colProperties.column.caption);
|
|
1429
1449
|
};
|
|
1430
1450
|
var fileName = props.exportFileName ? props.exportFileName + moment().format("YYYYMMDD") : "DatagridExportFile" + moment().format("YYYYMMDD");
|
|
@@ -1824,7 +1844,15 @@ function grid$2(props) {
|
|
|
1824
1844
|
var _ref;
|
|
1825
1845
|
var headerCellRender = function headerCellRender(colProperties) {
|
|
1826
1846
|
return React__default.createElement("th", {
|
|
1827
|
-
className: "dx-datagrid-headers"
|
|
1847
|
+
className: "dx-datagrid-headers",
|
|
1848
|
+
style: {
|
|
1849
|
+
fontFamily: "Manrope",
|
|
1850
|
+
fontSize: "14px",
|
|
1851
|
+
fontStyle: "normal",
|
|
1852
|
+
fontWeight: "600",
|
|
1853
|
+
lineHeight: "22px",
|
|
1854
|
+
background: "#E6F4FF"
|
|
1855
|
+
}
|
|
1828
1856
|
}, colProperties.column.caption);
|
|
1829
1857
|
};
|
|
1830
1858
|
var fileName = props.exportFileName ? props.exportFileName + moment().format("YYYYMMDD") : "DatagridExportFile" + moment().format("YYYYMMDD");
|