ods-component-lib 1.17.68 → 1.17.70
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/OdsDataGrid.d.ts +3 -3
- package/dist/components/antd/button/OdsButton.styled.d.ts +2 -2
- package/dist/components/antd/table/OdsTable.d.ts +3 -3
- package/dist/components/devextreme/DxDataGridForm.d.ts +3 -3
- package/dist/components/devextreme/datagrid/OdsDataGrid.d.ts +21 -21
- package/dist/index.css +75 -75
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +109 -108
package/dist/index.modern.js
CHANGED
|
@@ -7,6 +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 { useTranslation } from 'react-i18next';
|
|
10
11
|
import { locale, loadMessages } from 'devextreme/localization';
|
|
11
12
|
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';
|
|
12
13
|
import { Item } from 'devextreme-react/form';
|
|
@@ -1199,6 +1200,8 @@ function OdsDataGrid(props) {
|
|
|
1199
1200
|
return grid(props, dataGridRef);
|
|
1200
1201
|
}
|
|
1201
1202
|
function grid(props, dataGridRef) {
|
|
1203
|
+
var _useTranslation = useTranslation(),
|
|
1204
|
+
t = _useTranslation.t;
|
|
1202
1205
|
var headerCellRender = function headerCellRender(colProperties) {
|
|
1203
1206
|
return React.createElement("th", {
|
|
1204
1207
|
className: "dx-datagrid-headers",
|
|
@@ -1391,7 +1394,7 @@ function grid(props, dataGridRef) {
|
|
|
1391
1394
|
width: 110,
|
|
1392
1395
|
showInColumnChooser: false
|
|
1393
1396
|
}, props.edit.allowUpdating && React.createElement(Button$1, {
|
|
1394
|
-
hint: "Edit",
|
|
1397
|
+
hint: t("Edit"),
|
|
1395
1398
|
visible: true,
|
|
1396
1399
|
disabled: false,
|
|
1397
1400
|
icon: "edit",
|