@syook/react-tabulous 3.0.3 → 4.0.0-beta-0.1
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/README.md +206 -197
- package/lib/index.esm.js +19 -0
- package/lib/index.esm.js.map +1 -0
- package/lib/index.js +19 -0
- package/lib/index.js.map +1 -0
- package/lib/types/App.d.ts +4 -0
- package/lib/types/__tests__/reactTabulous/components/base/gridBody.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/base/gridFooterPlaceholder.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/bulkAction/bulkActions.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/cell/columnCell.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/columnBody/columnBody.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/columnHeaders/columnHeaderCheckbox.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/columnHeaders/columnHeaderItem.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/columnHeaders/columnHeaderMenu.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/columnHeaders/columnHeaders.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/containers/gridRoot.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/filter/index.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/filter/inputCategories.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/gridHeader.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/pagination/pagination.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbar.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbarColumns.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbarDensity.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbarExport.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbarFilter.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbarQuickFilter.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/button/button.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/checkbox.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/divider.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/icon.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/iconButton/iconButton.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/input/input.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/inputError/index.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/inputLabel/index.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/loader.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/menu.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/popup/popup.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/select/select.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/switch.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/components/widgets/typography.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/context/dataGridContextProvider.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/helpers/classnames.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/helpers/debounce.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/helpers/getColumnsAndSearchKeys.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/helpers/toCamelCase.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useDragHandler.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridColumn.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridColumnHeaders.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridDensity.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridExport.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridFilter.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridPagination.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridPin.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridResize.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridRootProps.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridRowSelection.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridSearch.test.d.ts +1 -0
- package/lib/types/__tests__/reactTabulous/hooks/useGridSort.test.d.ts +1 -0
- package/lib/types/data/index.d.ts +83 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/reactTabulous/components/base/gridBody.d.ts +2 -0
- package/lib/types/reactTabulous/components/base/gridFooterPlaceholder.d.ts +2 -0
- package/lib/types/reactTabulous/components/base/index.d.ts +2 -0
- package/lib/types/reactTabulous/components/bulkAction/index.d.ts +9 -0
- package/lib/types/reactTabulous/components/cell/columnCell.d.ts +12 -0
- package/lib/types/reactTabulous/components/cell/gridActionsCellItem.d.ts +10 -0
- package/lib/types/reactTabulous/components/columnBody/columnBody.d.ts +2 -0
- package/lib/types/reactTabulous/components/columnBody/index.d.ts +1 -0
- package/lib/types/reactTabulous/components/columnHeaders/columnHeaderCheckbox.d.ts +7 -0
- package/lib/types/reactTabulous/components/columnHeaders/columnHeaderItem.d.ts +31 -0
- package/lib/types/reactTabulous/components/columnHeaders/columnHeaderMenu.d.ts +18 -0
- package/lib/types/reactTabulous/components/columnHeaders/columnHeaders.d.ts +2 -0
- package/lib/types/reactTabulous/components/columnHeaders/index.d.ts +1 -0
- package/lib/types/reactTabulous/components/containers/gridRoot.d.ts +2 -0
- package/lib/types/reactTabulous/components/containers/index.d.ts +1 -0
- package/lib/types/reactTabulous/components/filter/index.d.ts +13 -0
- package/lib/types/reactTabulous/components/filter/inputCategories.d.ts +13 -0
- package/lib/types/reactTabulous/components/gridHeader.d.ts +2 -0
- package/lib/types/reactTabulous/components/index.d.ts +3 -0
- package/lib/types/reactTabulous/components/overlayWrapper/index.d.ts +1 -0
- package/lib/types/reactTabulous/components/overlayWrapper/overlayWrapper.d.ts +6 -0
- package/lib/types/reactTabulous/components/pagination/index.d.ts +1 -0
- package/lib/types/reactTabulous/components/pagination/pagination.d.ts +2 -0
- package/lib/types/reactTabulous/components/toolbar/gridToolbar.d.ts +6 -0
- package/lib/types/reactTabulous/components/toolbar/gridToolbarColumns.d.ts +2 -0
- package/lib/types/reactTabulous/components/toolbar/gridToolbarDensity.d.ts +2 -0
- package/lib/types/reactTabulous/components/toolbar/gridToolbarExport.d.ts +2 -0
- package/lib/types/reactTabulous/components/toolbar/gridToolbarFilter.d.ts +2 -0
- package/lib/types/reactTabulous/components/toolbar/gridToolbarQuickFilter.d.ts +2 -0
- package/lib/types/reactTabulous/components/toolbar/index.d.ts +6 -0
- package/lib/types/reactTabulous/components/widgets/button/buttonStyle.d.ts +5 -0
- package/lib/types/reactTabulous/components/widgets/button/index.d.ts +21 -0
- package/lib/types/reactTabulous/components/widgets/checkbox.d.ts +7 -0
- package/lib/types/reactTabulous/components/widgets/divider.d.ts +2 -0
- package/lib/types/reactTabulous/components/widgets/icon.d.ts +41 -0
- package/lib/types/reactTabulous/components/widgets/iconButton/index.d.ts +12 -0
- package/lib/types/reactTabulous/components/widgets/index.d.ts +12 -0
- package/lib/types/reactTabulous/components/widgets/input/index.d.ts +26 -0
- package/lib/types/reactTabulous/components/widgets/input/inputStyle.d.ts +5 -0
- package/lib/types/reactTabulous/components/widgets/inputError/index.d.ts +8 -0
- package/lib/types/reactTabulous/components/widgets/inputLabel/index.d.ts +13 -0
- package/lib/types/reactTabulous/components/widgets/loader.d.ts +1 -0
- package/lib/types/reactTabulous/components/widgets/menu.d.ts +16 -0
- package/lib/types/reactTabulous/components/widgets/popup/index.d.ts +12 -0
- package/lib/types/reactTabulous/components/widgets/select/index.d.ts +13 -0
- package/lib/types/reactTabulous/components/widgets/select/selectStyle.d.ts +5 -0
- package/lib/types/reactTabulous/components/widgets/switch.d.ts +8 -0
- package/lib/types/reactTabulous/components/widgets/typography.d.ts +28 -0
- package/lib/types/reactTabulous/constant/index.d.ts +10 -0
- package/lib/types/reactTabulous/constant/noRowsOverlay.d.ts +2 -0
- package/lib/types/reactTabulous/context/dataGridContextProvider.d.ts +6 -0
- package/lib/types/reactTabulous/context/dataGridRootPropsContext.d.ts +3 -0
- package/lib/types/reactTabulous/context/index.d.ts +1 -0
- package/lib/types/reactTabulous/context/test-utils.d.ts +5 -0
- package/lib/types/reactTabulous/helpers/classnames.d.ts +2 -0
- package/lib/types/reactTabulous/helpers/debounce.d.ts +1 -0
- package/lib/types/reactTabulous/helpers/getColumnsAndSearchKeys.d.ts +5 -0
- package/lib/types/reactTabulous/helpers/toCamelCase.d.ts +1 -0
- package/lib/types/reactTabulous/hooks/useClickAwayListener.d.ts +2 -0
- package/lib/types/reactTabulous/hooks/useDragHandler.d.ts +8 -0
- package/lib/types/reactTabulous/hooks/useGridColumn.d.ts +1 -0
- package/lib/types/reactTabulous/hooks/useGridColumnHeaders.d.ts +1 -0
- package/lib/types/reactTabulous/hooks/useGridDensity.d.ts +1 -0
- package/lib/types/reactTabulous/hooks/useGridExport.d.ts +3 -0
- package/lib/types/reactTabulous/hooks/useGridFilter.d.ts +6 -0
- package/lib/types/reactTabulous/hooks/useGridPagination.d.ts +1 -0
- package/lib/types/reactTabulous/hooks/useGridPin.d.ts +1 -0
- package/lib/types/reactTabulous/hooks/useGridResize.d.ts +1 -0
- package/lib/types/reactTabulous/hooks/useGridRootProps.d.ts +48 -0
- package/lib/types/reactTabulous/hooks/useGridRowSelection.d.ts +1 -0
- package/lib/types/reactTabulous/hooks/useGridSearch.d.ts +5 -0
- package/lib/types/reactTabulous/hooks/useGridSort.d.ts +4 -0
- package/lib/types/reactTabulous/index.d.ts +2 -0
- package/lib/types/reactTabulous/models/columnDef/columnDef.d.ts +72 -0
- package/lib/types/reactTabulous/models/columnDef/columnPin.d.ts +48 -0
- package/lib/types/reactTabulous/models/columnDef/columnType.d.ts +2 -0
- package/lib/types/reactTabulous/models/columnDef/index.d.ts +3 -0
- package/lib/types/reactTabulous/models/gridDensity.d.ts +4 -0
- package/lib/types/reactTabulous/models/gridFiltersModel.d.ts +9 -0
- package/lib/types/reactTabulous/models/gridRows.d.ts +2 -0
- package/lib/types/reactTabulous/models/gridSortModel.d.ts +1 -0
- package/lib/types/reactTabulous/models/index.d.ts +7 -0
- package/lib/types/reactTabulous/models/logger.d.ts +6 -0
- package/lib/types/reactTabulous/models/props/dataGridProps.d.ts +158 -0
- package/lib/types/reactTabulous/models/props/index.d.ts +1 -0
- package/lib/types/reactTabulous/reactTabulous/index.d.ts +1 -0
- package/lib/types/reactTabulous/reactTabulous/reactTabulous.d.ts +5 -0
- package/lib/types/reactTabulous/reactTabulous/reactTabulousStyle.d.ts +5 -0
- package/lib/types/setupTests.d.ts +1 -0
- package/package.json +107 -75
- package/CHANGELOG.md +0 -27
- package/lib/react-tabulous.min.js +0 -2
- package/lib/react-tabulous.min.js.LICENSE.txt +0 -20
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/types/__tests__/reactTabulous/components/columnHeaders/columnHeaderCheckbox.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export declare const dataSet1: {
|
|
2
|
+
name: string;
|
|
3
|
+
email: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const getDataSetBasedOnCountPassed: (count?: number) => {
|
|
6
|
+
name: string;
|
|
7
|
+
email: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const dataSet1Columns: {
|
|
10
|
+
field: string;
|
|
11
|
+
headerName: string;
|
|
12
|
+
sortable: boolean;
|
|
13
|
+
isVisible: boolean;
|
|
14
|
+
}[];
|
|
15
|
+
export declare const dataSet21: never[];
|
|
16
|
+
export declare const dataSet2: {
|
|
17
|
+
id: number;
|
|
18
|
+
name: string;
|
|
19
|
+
email: string;
|
|
20
|
+
age: number;
|
|
21
|
+
mobile: number;
|
|
22
|
+
isLoggedIn: string;
|
|
23
|
+
bio: string;
|
|
24
|
+
birthDate: Date;
|
|
25
|
+
lastJournalPublish: Date;
|
|
26
|
+
lastLogin: Date;
|
|
27
|
+
journalTitle: string;
|
|
28
|
+
level: number;
|
|
29
|
+
workPlace: string;
|
|
30
|
+
address: {
|
|
31
|
+
country: string;
|
|
32
|
+
state: string;
|
|
33
|
+
city: string;
|
|
34
|
+
pinCode: string;
|
|
35
|
+
};
|
|
36
|
+
}[];
|
|
37
|
+
export declare const dataSet2Columns1: never[];
|
|
38
|
+
export declare const dataSet2Columns: ({
|
|
39
|
+
field: string;
|
|
40
|
+
headerName: string;
|
|
41
|
+
type: string;
|
|
42
|
+
isFilterable: boolean;
|
|
43
|
+
isSortable: boolean;
|
|
44
|
+
isSearchable: boolean;
|
|
45
|
+
renderCell?: undefined;
|
|
46
|
+
valueGetter?: undefined;
|
|
47
|
+
} | {
|
|
48
|
+
field: string;
|
|
49
|
+
headerName: string;
|
|
50
|
+
type: string;
|
|
51
|
+
renderCell: (row: any) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
isFilterable?: undefined;
|
|
53
|
+
isSortable?: undefined;
|
|
54
|
+
isSearchable?: undefined;
|
|
55
|
+
valueGetter?: undefined;
|
|
56
|
+
} | {
|
|
57
|
+
field: string;
|
|
58
|
+
headerName: string;
|
|
59
|
+
type: string;
|
|
60
|
+
renderCell: (row: any) => import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
isFilterable: boolean;
|
|
62
|
+
isSortable: boolean;
|
|
63
|
+
isSearchable: boolean;
|
|
64
|
+
valueGetter?: undefined;
|
|
65
|
+
} | {
|
|
66
|
+
field: string;
|
|
67
|
+
headerName: string;
|
|
68
|
+
type: string;
|
|
69
|
+
isFilterable: boolean;
|
|
70
|
+
isSearchable: boolean;
|
|
71
|
+
isSortable?: undefined;
|
|
72
|
+
renderCell?: undefined;
|
|
73
|
+
valueGetter?: undefined;
|
|
74
|
+
} | {
|
|
75
|
+
field: string;
|
|
76
|
+
valueGetter: (row: any) => string;
|
|
77
|
+
headerName: string;
|
|
78
|
+
isFilterable: boolean;
|
|
79
|
+
isSortable: boolean;
|
|
80
|
+
isSearchable: boolean;
|
|
81
|
+
type?: undefined;
|
|
82
|
+
renderCell?: undefined;
|
|
83
|
+
})[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type GridRowId } from '../../models';
|
|
3
|
+
interface BulkActionsProps {
|
|
4
|
+
selectedRows: GridRowId[];
|
|
5
|
+
bulkActions: any;
|
|
6
|
+
onBulkActionClick: (action: any, selectedRows: GridRowId[]) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const BulkActions: FC<BulkActionsProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type GridPinnedPosition } from '../../models';
|
|
3
|
+
type ColumnCellProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
width?: number | string;
|
|
5
|
+
pinned?: GridPinnedPosition | null;
|
|
6
|
+
row?: any;
|
|
7
|
+
column?: any;
|
|
8
|
+
emptyPlaceholder: string;
|
|
9
|
+
rowIndex: number;
|
|
10
|
+
};
|
|
11
|
+
declare const ColumnCell: React.FC<ColumnCellProps>;
|
|
12
|
+
export default ColumnCell;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './columnBody';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type onDragUpdateType } from '../../hooks/useDragHandler';
|
|
3
|
+
import { type GridPinnedPosition, type GridSortDirection } from '../../models';
|
|
4
|
+
type ColumnHeaderItemProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
5
|
+
columnObj: any;
|
|
6
|
+
type: string;
|
|
7
|
+
disabledMoveLeft?: boolean;
|
|
8
|
+
disabledMoveRight?: boolean;
|
|
9
|
+
disableColumnFilter: boolean;
|
|
10
|
+
disableColumnMenu: boolean;
|
|
11
|
+
disableColumnPinning: boolean;
|
|
12
|
+
disableColumnReorder: boolean;
|
|
13
|
+
disableColumnSelector: boolean;
|
|
14
|
+
disableColumnResize: boolean;
|
|
15
|
+
disableMultipleColumnsSorting: boolean;
|
|
16
|
+
fetchOnPageChange: boolean;
|
|
17
|
+
headerName: string;
|
|
18
|
+
sortBy: GridSortDirection;
|
|
19
|
+
iconButtonSize?: number;
|
|
20
|
+
pinned?: GridPinnedPosition;
|
|
21
|
+
onDragUpdate: onDragUpdateType;
|
|
22
|
+
handleSort: (field: string, type: string, value?: any) => void;
|
|
23
|
+
handlePin: (field: string, value?: any) => void;
|
|
24
|
+
handleMove: (field: string, value?: any) => void;
|
|
25
|
+
handleWidth: (field: string, value: number) => void;
|
|
26
|
+
onHideColumns: (field: string) => void;
|
|
27
|
+
onToggleColumnToolbar: () => void;
|
|
28
|
+
onToggleFilterToolbar: () => void;
|
|
29
|
+
};
|
|
30
|
+
export declare const ColumnHeaderItem: React.FC<ColumnHeaderItemProps>;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type GridPinnedPosition, type GridSortDirection } from '../../models';
|
|
3
|
+
interface ColumnHeaderMenuProps {
|
|
4
|
+
disabledMoveLeft?: boolean;
|
|
5
|
+
disabledMoveRight?: boolean;
|
|
6
|
+
disableColumnFilter: boolean;
|
|
7
|
+
disableColumnPinning: boolean;
|
|
8
|
+
disableColumnReorder: boolean;
|
|
9
|
+
disableColumnSelector: boolean;
|
|
10
|
+
disableMultipleColumnsSorting: boolean;
|
|
11
|
+
fetchOnPageChange: boolean;
|
|
12
|
+
iconButtonSize: number;
|
|
13
|
+
sortBy: GridSortDirection;
|
|
14
|
+
pinned?: GridPinnedPosition;
|
|
15
|
+
handleAction: (actionName: string, value?: any) => void;
|
|
16
|
+
}
|
|
17
|
+
declare const ColumnHeaderMenu: React.FC<ColumnHeaderMenuProps>;
|
|
18
|
+
export default ColumnHeaderMenu;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './columnHeaders';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './gridRoot';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const filterPredicates: string[];
|
|
3
|
+
interface FilterOperators {
|
|
4
|
+
string: string[];
|
|
5
|
+
number: string[];
|
|
6
|
+
date: string[];
|
|
7
|
+
dateTime: string[];
|
|
8
|
+
boolean: string[];
|
|
9
|
+
singleSelect: string[];
|
|
10
|
+
}
|
|
11
|
+
export declare const filterOperators: FilterOperators;
|
|
12
|
+
export declare const FilterForm: React.FC;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface InputCategoriesProps {
|
|
3
|
+
attribute?: any;
|
|
4
|
+
type: any;
|
|
5
|
+
value: any;
|
|
6
|
+
rowIndex: any;
|
|
7
|
+
query: any;
|
|
8
|
+
onChange: any;
|
|
9
|
+
options: any;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const InputCategories: React.FC<InputCategoriesProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './overlayWrapper';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pagination';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const StyledSpaceDiv: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: React.ElementType<any> | undefined;
|
|
5
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const GridToolbar: React.FC;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ButtonStyle: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ButtonProps = React.HTMLAttributes<HTMLButtonElement> & {
|
|
3
|
+
variant?: 'contained' | 'outline' | 'text';
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
orientation?: 'vertical' | 'horizontal';
|
|
8
|
+
size?: 'normal' | 'medium' | 'small';
|
|
9
|
+
color?: 'primary' | 'success' | 'danger' | 'secondary';
|
|
10
|
+
iconClass?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const Button: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLButtonElement> & {
|
|
13
|
+
variant?: "text" | "outline" | "contained" | undefined;
|
|
14
|
+
icon?: React.ReactNode;
|
|
15
|
+
loading?: boolean | undefined;
|
|
16
|
+
disabled?: boolean | undefined;
|
|
17
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
18
|
+
size?: "small" | "normal" | "medium" | undefined;
|
|
19
|
+
color?: "primary" | "success" | "danger" | "secondary" | undefined;
|
|
20
|
+
iconClass?: string | undefined;
|
|
21
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const icons: {
|
|
3
|
+
add: import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
bar: import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
close: import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
column: import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
compact: import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
comfortable: import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
delete: import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
density: import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
download: import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
filter: import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
'filter-list': import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
sort: import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
'sort-up-fill': import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
'sort-down-fill': import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
'sort-down': import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
'sort-up': import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
'kebab-menu': import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
'arrow-left': import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
'double-arrow-left': import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
'arrow-right': import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
'double-arrow-right': import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
'eye-off': import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
pin: import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
standard: import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
'keyboard-back': import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
'keyboard-forward': import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
search: import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
};
|
|
31
|
+
export type Icons = keyof typeof icons;
|
|
32
|
+
interface IconProps extends React.HTMLAttributes<HTMLOrSVGElement> {
|
|
33
|
+
name: Icons;
|
|
34
|
+
size?: number;
|
|
35
|
+
fill?: string;
|
|
36
|
+
title?: string;
|
|
37
|
+
asButton?: boolean;
|
|
38
|
+
className?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare const Icon: React.FC<IconProps>;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type Icons } from '../icon';
|
|
3
|
+
export declare const IconButton: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
type?: "transparent" | "circular" | undefined;
|
|
5
|
+
size?: number | undefined;
|
|
6
|
+
className?: string | undefined;
|
|
7
|
+
onClick?: ((event: any) => void) | undefined;
|
|
8
|
+
name: Icons;
|
|
9
|
+
fill?: string | undefined;
|
|
10
|
+
title?: string | undefined;
|
|
11
|
+
disabled?: boolean | undefined;
|
|
12
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './button';
|
|
2
|
+
export * from './checkbox';
|
|
3
|
+
export * from './divider';
|
|
4
|
+
export * from './icon';
|
|
5
|
+
export * from './iconButton';
|
|
6
|
+
export * from './loader';
|
|
7
|
+
export * from './popup';
|
|
8
|
+
export * from './switch';
|
|
9
|
+
export * from './input';
|
|
10
|
+
export * from './select';
|
|
11
|
+
export * from './typography';
|
|
12
|
+
export * from './menu';
|