ods-component-lib 1.17.21 → 1.17.23
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 +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -7,7 +7,7 @@ import 'react-phone-input-2/lib/style.css';
|
|
|
7
7
|
import PhoneInput from 'react-phone-input-2';
|
|
8
8
|
import message from 'antd/es/message';
|
|
9
9
|
import Parser from 'html-react-parser';
|
|
10
|
-
import { DataGrid, Paging, Pager, SearchPanel, FilterRow, FilterPanel, RemoteOperations, HeaderFilter, ColumnChooser, Position, ColumnChooserSearch, ColumnChooserSelection, Selection, Editing, Popup, Form as Form$1, Scrolling, Export, Column, RequiredRule, Button as Button$1, Toolbar, Item as Item$1, Summary, TotalItem, StateStoring
|
|
10
|
+
import { DataGrid, LoadPanel, Paging, Pager, SearchPanel, FilterRow, FilterPanel, RemoteOperations, HeaderFilter, ColumnChooser, Position, ColumnChooserSearch, ColumnChooserSelection, Selection, Editing, Popup, Form as Form$1, Scrolling, Export, Column, RequiredRule, Button as Button$1, Toolbar, Item as Item$1, Summary, TotalItem, StateStoring } from 'devextreme-react/data-grid';
|
|
11
11
|
import { Item } from 'devextreme-react/form';
|
|
12
12
|
import jsPDF from 'jspdf';
|
|
13
13
|
import { exportDataGrid as exportDataGrid$1 } from 'devextreme/pdf_exporter';
|
|
@@ -1192,6 +1192,7 @@ function OdsDataGrid(props) {
|
|
|
1192
1192
|
return grid(props, dataGridRef);
|
|
1193
1193
|
}
|
|
1194
1194
|
function grid(props, dataGridRef) {
|
|
1195
|
+
debugger;
|
|
1195
1196
|
var headerCellRender = function headerCellRender(colProperties) {
|
|
1196
1197
|
return React.createElement("th", {
|
|
1197
1198
|
className: "dx-datagrid-headers",
|
|
@@ -1255,14 +1256,17 @@ function grid(props, dataGridRef) {
|
|
|
1255
1256
|
showRowLines: true,
|
|
1256
1257
|
showBorders: true,
|
|
1257
1258
|
columnAutoWidth: false,
|
|
1259
|
+
focusedRowEnabled: false,
|
|
1260
|
+
wordWrapEnabled: false,
|
|
1258
1261
|
onEditCanceling: props.onEditCanceling,
|
|
1259
1262
|
onExporting: onExporting,
|
|
1260
1263
|
height: window.innerHeight - 164,
|
|
1261
1264
|
repaintChangesOnly: true,
|
|
1262
1265
|
remoteOperations: props.remoteOperations !== undefined ? props.remoteOperations : false,
|
|
1263
1266
|
ref: dataGridRef
|
|
1264
|
-
}, React.createElement(
|
|
1265
|
-
enabled: true
|
|
1267
|
+
}, React.createElement(LoadPanel, {
|
|
1268
|
+
enabled: true
|
|
1269
|
+
}), React.createElement(Paging, {
|
|
1266
1270
|
defaultPageSize: props.pageSize
|
|
1267
1271
|
}), props.pagingEnable && React.createElement(Pager, {
|
|
1268
1272
|
visible: true,
|
|
@@ -1276,7 +1280,7 @@ function grid(props, dataGridRef) {
|
|
|
1276
1280
|
visible: true
|
|
1277
1281
|
}), React.createElement(FilterPanel, {
|
|
1278
1282
|
visible: true
|
|
1279
|
-
}), props.remoteOperations
|
|
1283
|
+
}), props.remoteOperations && React.createElement(RemoteOperations, {
|
|
1280
1284
|
filtering: true,
|
|
1281
1285
|
paging: false,
|
|
1282
1286
|
sorting: true,
|
|
@@ -1326,7 +1330,7 @@ function grid(props, dataGridRef) {
|
|
|
1326
1330
|
});
|
|
1327
1331
|
}));
|
|
1328
1332
|
}))), React.createElement(Scrolling, {
|
|
1329
|
-
mode: props.scroll.
|
|
1333
|
+
mode: props.scroll.mode,
|
|
1330
1334
|
showScrollbar: props.scroll.showScrollbar,
|
|
1331
1335
|
scrollByContent: props.scroll.scrollByContent,
|
|
1332
1336
|
scrollByThumb: props.scroll.scrollByThumb
|