ods-component-lib 1.17.103 → 1.17.106
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 +12 -15
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -15
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1188,9 +1188,6 @@ function OdsLogin(props) {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
|
|
1190
1190
|
var exportFormats = ['xlsx'];
|
|
1191
|
-
var searchEditorOptions = {
|
|
1192
|
-
placeholder: 'Search column'
|
|
1193
|
-
};
|
|
1194
1191
|
var renderMenuItem = function renderMenuItem() {
|
|
1195
1192
|
return React__default.createElement(dataGrid.Export, {
|
|
1196
1193
|
enabled: true,
|
|
@@ -1282,6 +1279,7 @@ function grid(props, dataGridRef) {
|
|
|
1282
1279
|
keyExpr: props.keyExpr,
|
|
1283
1280
|
allowColumnResizing: true,
|
|
1284
1281
|
columnResizingMode: "widget",
|
|
1282
|
+
onContentReady: props.onContentReady,
|
|
1285
1283
|
onRowInserted: props.onRowInserted,
|
|
1286
1284
|
onRowUpdated: props.onRowUpdated,
|
|
1287
1285
|
onRowRemoved: props.onRowRemoved,
|
|
@@ -1333,8 +1331,7 @@ function grid(props, dataGridRef) {
|
|
|
1333
1331
|
at: "right bottom",
|
|
1334
1332
|
of: ".dx-datagrid-column-chooser-button"
|
|
1335
1333
|
}), React__default.createElement(dataGrid.ColumnChooserSearch, {
|
|
1336
|
-
enabled: true
|
|
1337
|
-
editorOptions: searchEditorOptions
|
|
1334
|
+
enabled: true
|
|
1338
1335
|
}), React__default.createElement(dataGrid.ColumnChooserSelection, {
|
|
1339
1336
|
allowSelectAll: true,
|
|
1340
1337
|
selectByClick: true,
|
|
@@ -1477,10 +1474,7 @@ function grid(props, dataGridRef) {
|
|
|
1477
1474
|
}))));
|
|
1478
1475
|
}
|
|
1479
1476
|
|
|
1480
|
-
var exportFormats$1 = ['xlsx'
|
|
1481
|
-
var searchEditorOptions$1 = {
|
|
1482
|
-
placeholder: 'Search column'
|
|
1483
|
-
};
|
|
1477
|
+
var exportFormats$1 = ['xlsx'];
|
|
1484
1478
|
function OdsDisplayGrid(props) {
|
|
1485
1479
|
return grid$1(props);
|
|
1486
1480
|
}
|
|
@@ -1523,6 +1517,10 @@ function grid$1(props) {
|
|
|
1523
1517
|
});
|
|
1524
1518
|
}
|
|
1525
1519
|
};
|
|
1520
|
+
React.useEffect(function () {
|
|
1521
|
+
localization.locale(sessionStorage.getItem("locale"));
|
|
1522
|
+
localization.loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
|
|
1523
|
+
}, []);
|
|
1526
1524
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement(dataGrid.DataGrid, {
|
|
1527
1525
|
dataSource: props.dataSource,
|
|
1528
1526
|
columnAutoWidth: props.columnAutoWidth,
|
|
@@ -1558,8 +1556,7 @@ function grid$1(props) {
|
|
|
1558
1556
|
at: "right bottom",
|
|
1559
1557
|
of: ".dx-datagrid-column-chooser-button"
|
|
1560
1558
|
}), React__default.createElement(dataGrid.ColumnChooserSearch, {
|
|
1561
|
-
enabled: true
|
|
1562
|
-
editorOptions: searchEditorOptions$1
|
|
1559
|
+
enabled: true
|
|
1563
1560
|
}), React__default.createElement(dataGrid.ColumnChooserSelection, {
|
|
1564
1561
|
allowSelectAll: true,
|
|
1565
1562
|
selectByClick: true,
|
|
@@ -1595,7 +1592,7 @@ function grid$1(props) {
|
|
|
1595
1592
|
}
|
|
1596
1593
|
|
|
1597
1594
|
var exportFormats$2 = ['xlsx', 'pdf'];
|
|
1598
|
-
var searchEditorOptions
|
|
1595
|
+
var searchEditorOptions = {
|
|
1599
1596
|
placeholder: 'Search column'
|
|
1600
1597
|
};
|
|
1601
1598
|
var renderMenuItem$1 = function renderMenuItem() {
|
|
@@ -1724,7 +1721,7 @@ function OdsProfDataGrid(props) {
|
|
|
1724
1721
|
of: ".dx-datagrid-column-chooser-button"
|
|
1725
1722
|
}), React__default.createElement(dataGrid.ColumnChooserSearch, {
|
|
1726
1723
|
enabled: true,
|
|
1727
|
-
editorOptions: searchEditorOptions
|
|
1724
|
+
editorOptions: searchEditorOptions
|
|
1728
1725
|
}), React__default.createElement(dataGrid.ColumnChooserSelection, {
|
|
1729
1726
|
allowSelectAll: true,
|
|
1730
1727
|
selectByClick: true,
|
|
@@ -1856,7 +1853,7 @@ function OdsProfDataGrid(props) {
|
|
|
1856
1853
|
}
|
|
1857
1854
|
|
|
1858
1855
|
var exportFormats$3 = ['xlsx', 'pdf'];
|
|
1859
|
-
var searchEditorOptions$
|
|
1856
|
+
var searchEditorOptions$1 = {
|
|
1860
1857
|
placeholder: 'Search column'
|
|
1861
1858
|
};
|
|
1862
1859
|
var renderMenuItem$2 = function renderMenuItem() {
|
|
@@ -1983,7 +1980,7 @@ function grid$2(props) {
|
|
|
1983
1980
|
of: ".dx-datagrid-column-chooser-button"
|
|
1984
1981
|
}), React__default.createElement(dataGrid.ColumnChooserSearch, {
|
|
1985
1982
|
enabled: true,
|
|
1986
|
-
editorOptions: searchEditorOptions$
|
|
1983
|
+
editorOptions: searchEditorOptions$1
|
|
1987
1984
|
}), React__default.createElement(dataGrid.ColumnChooserSelection, {
|
|
1988
1985
|
allowSelectAll: true,
|
|
1989
1986
|
selectByClick: true,
|