ods-component-lib 1.17.193 → 1.17.195
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/components/devextreme/OdsRefactoredGrid.d.ts +53 -0
- package/dist/components/devextreme/OdsRemoteDataGrid.d.ts +26 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +474 -412
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +501 -439
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IDataGridOptions } from 'devextreme-react/data-grid';
|
|
3
|
+
interface DataGridButtonGroup {
|
|
4
|
+
type?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
hint?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
actionPermission?: boolean;
|
|
9
|
+
onclick: any;
|
|
10
|
+
iconComponent?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
interface IOdsDataGridProps extends IDataGridOptions {
|
|
13
|
+
actionButtonGroup?: DataGridButtonGroup[];
|
|
14
|
+
toolbarButtonGroup?: DataGridButtonGroup[];
|
|
15
|
+
exportFileName?: string;
|
|
16
|
+
summaryTotalColumnName?: string;
|
|
17
|
+
storeState?: boolean;
|
|
18
|
+
summaryTotalDataCount?: number;
|
|
19
|
+
summaryTotalDataDisplayLabel?: string;
|
|
20
|
+
summaryTotalPagesize?: number;
|
|
21
|
+
editHintLabel?: string;
|
|
22
|
+
editButtonClick?: any;
|
|
23
|
+
deleteButtonClick?: any;
|
|
24
|
+
pageTitle?: string;
|
|
25
|
+
pageSize?: number;
|
|
26
|
+
pagingEnable?: boolean;
|
|
27
|
+
searchEnable?: boolean;
|
|
28
|
+
filterEnable?: boolean;
|
|
29
|
+
headerFilterEnable?: boolean;
|
|
30
|
+
columnChooserPositionDisabled?: boolean;
|
|
31
|
+
columnChooserEnable: boolean;
|
|
32
|
+
selectEnable?: boolean;
|
|
33
|
+
selectionMode?: any;
|
|
34
|
+
editEnable?: boolean;
|
|
35
|
+
edit?: any;
|
|
36
|
+
popupTitle?: string;
|
|
37
|
+
scroll?: any;
|
|
38
|
+
exportEnable?: boolean;
|
|
39
|
+
customPopup?: boolean;
|
|
40
|
+
onExportingCustom?: any;
|
|
41
|
+
filterEnabledShow?: boolean;
|
|
42
|
+
scrolUseNative?: boolean;
|
|
43
|
+
selectionDeferred?: boolean;
|
|
44
|
+
formItems?: any[];
|
|
45
|
+
hintForDeleteButton?: string;
|
|
46
|
+
hintForEditButton?: string;
|
|
47
|
+
actionColumnLabel?: string;
|
|
48
|
+
exportFormats?: string[];
|
|
49
|
+
actionPermission?: boolean;
|
|
50
|
+
columns: any[];
|
|
51
|
+
}
|
|
52
|
+
declare function OdsRefactoredGrid(props: IOdsDataGridProps): React.JSX.Element;
|
|
53
|
+
export default OdsRefactoredGrid;
|
|
@@ -1,4 +1,27 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DataGridProps {
|
|
3
|
+
isApplyButtonClicked: boolean;
|
|
4
|
+
token: string;
|
|
5
|
+
language: string;
|
|
6
|
+
requestData: any;
|
|
7
|
+
apiUrl: string;
|
|
8
|
+
exportFileName: string;
|
|
9
|
+
filterEnabledShow: boolean;
|
|
10
|
+
columns: IDataGridColumn[];
|
|
11
|
+
pageTitle: string;
|
|
12
|
+
toolbarButtonGroup?: IButtonGroup[];
|
|
13
|
+
key: string;
|
|
14
|
+
}
|
|
15
|
+
interface IDataGridColumn {
|
|
16
|
+
dataField: string;
|
|
17
|
+
dataType: string;
|
|
18
|
+
caption: string;
|
|
19
|
+
visible?: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface IButtonGroup {
|
|
22
|
+
type: string;
|
|
23
|
+
label: string;
|
|
24
|
+
onclick: React.MouseEventHandler<HTMLElement>;
|
|
25
|
+
}
|
|
26
|
+
declare const OdsRemoteDataGrid: (props: DataGridProps) => React.JSX.Element;
|
|
4
27
|
export default OdsRemoteDataGrid;
|
package/dist/index.d.ts
CHANGED
|
@@ -44,10 +44,10 @@ import OdsParagraph from "./components/antd/typography/OdsParagraph";
|
|
|
44
44
|
import OdsText from "./components/antd/typography/OdsText";
|
|
45
45
|
import OdsTitle from "./components/antd/typography/OdsTitle";
|
|
46
46
|
import OdsLogin from "./components/custom/OdsLogin";
|
|
47
|
-
import OdsCustomDataSourceGrid from "./components/devextreme/OdsCustomDataSourceGrid";
|
|
48
47
|
import OdsDataGrid from "./components/devextreme/OdsDataGrid";
|
|
49
48
|
import OdsDisplayGrid from "./components/devextreme/OdsDisplayGrid";
|
|
50
49
|
import OdsProfDataGrid from "./components/devextreme/OdsProfDataGrid";
|
|
50
|
+
import OdsRefactoredGrid from "./components/devextreme/OdsRefactoredGrid";
|
|
51
51
|
import OdsRemoteDataGrid from "./components/devextreme/OdsRemoteDataGrid";
|
|
52
52
|
import DxTreeList from "./components/devextreme/treeview/DxTreeList";
|
|
53
53
|
import DxTreeView from "./components/devextreme/treeview/DxTreeView";
|
|
@@ -100,7 +100,7 @@ export { DxTreeList };
|
|
|
100
100
|
export { OdsDisplayGrid };
|
|
101
101
|
export { OdsProfDataGrid };
|
|
102
102
|
export { OdsRemoteDataGrid };
|
|
103
|
-
export { OdsCustomDataSourceGrid };
|
|
104
103
|
export { OdsAlert };
|
|
105
104
|
export { OdsBannerAlert };
|
|
106
105
|
export { OdsCustomMultiSelect };
|
|
106
|
+
export { OdsRefactoredGrid };
|