@vendorflow/components 2.1.1 → 3.0.4
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/lib/components/index.d.ts +1 -1
- package/lib/components/material-ui/DataTable/Data.d.ts +1 -1
- package/lib/components/material-ui/DataTable/DataTable.d.ts +9 -76
- package/lib/components/material-ui/DataTable/FilterTool/Filters/MultiSelectFilter.d.ts +1 -1
- package/lib/components/material-ui/DataTable/FilterTool/Filters/RangeFilter.d.ts +1 -1
- package/lib/components/material-ui/DataTable/FilterTool/Filters/SingleSelectFilter.d.ts +1 -1
- package/lib/components/material-ui/DataTable/FilterTool/Filters/TextFilter.d.ts +1 -1
- package/lib/components/material-ui/DataTable/FilterTool/index.d.ts +2 -2
- package/lib/components/material-ui/DataTable/TablePieces/BodyRow.d.ts +1 -1
- package/lib/components/material-ui/DataTable/TablePieces/HeaderCell.d.ts +1 -1
- package/lib/components/material-ui/DataTable/TablePieces/Toolbar.d.ts +1 -1
- package/lib/components/material-ui/DataTable/index.d.ts +1 -1
- package/lib/index.js +3 -14
- package/lib/index.js.LICENSE.txt +35 -0
- package/lib/index.js.map +1 -0
- package/lib/types/DataTable.types.d.ts +69 -0
- package/lib/types/index.d.ts +1 -0
- package/package.json +20 -99
- package/lib/TempHooks.d.ts +0 -9
- package/lib/TempHooks.js +0 -25
- package/lib/components/InfiniteScroll/InfiniteScroll.d.ts +0 -16
- package/lib/components/InfiniteScroll/InfiniteScroll.js +0 -159
- package/lib/components/InfiniteScroll/index.d.ts +0 -1
- package/lib/components/InfiniteScroll/index.js +0 -8
- package/lib/components/blueprint/InputGroup/InputGroup.d.ts +0 -20
- package/lib/components/blueprint/InputGroup/InputGroup.js +0 -13
- package/lib/components/blueprint/InputGroup/InputGroup.story.d.ts +0 -2
- package/lib/components/blueprint/InputGroup/InputGroup.story.js +0 -11
- package/lib/components/blueprint/InputGroup/index.d.ts +0 -1
- package/lib/components/blueprint/InputGroup/index.js +0 -4
- package/lib/components/blueprint/InputSelect/InputSelect.d.ts +0 -51
- package/lib/components/blueprint/InputSelect/InputSelect.js +0 -98
- package/lib/components/blueprint/InputSelect/InputSelect.story.d.ts +0 -3
- package/lib/components/blueprint/InputSelect/InputSelect.story.js +0 -19
- package/lib/components/blueprint/InputSelect/index.d.ts +0 -1
- package/lib/components/blueprint/InputSelect/index.js +0 -4
- package/lib/components/blueprint/InputTime/InputTime.d.ts +0 -24
- package/lib/components/blueprint/InputTime/InputTime.js +0 -28
- package/lib/components/blueprint/InputTime/InputTime.story.d.ts +0 -2
- package/lib/components/blueprint/InputTime/InputTime.story.js +0 -11
- package/lib/components/blueprint/InputTime/index.d.ts +0 -1
- package/lib/components/blueprint/InputTime/index.js +0 -4
- package/lib/components/index.js +0 -32
- package/lib/components/material-ui/AudioPlayer/AudioPlayer.js +0 -111
- package/lib/components/material-ui/AudioPlayer/AudioPlayer.story.js +0 -9
- package/lib/components/material-ui/AudioPlayer/index.js +0 -8
- package/lib/components/material-ui/Button/Button.js +0 -38
- package/lib/components/material-ui/Button/Button.story.js +0 -9
- package/lib/components/material-ui/Button/index.js +0 -8
- package/lib/components/material-ui/ButtonMenu/ButtonMenu.js +0 -115
- package/lib/components/material-ui/ButtonMenu/ButtonMenu.story.js +0 -79
- package/lib/components/material-ui/ButtonMenu/index.js +0 -8
- package/lib/components/material-ui/ChatInterface/ActionsMenu.d.ts +0 -4
- package/lib/components/material-ui/ChatInterface/ActionsMenu.js +0 -37
- package/lib/components/material-ui/ChatInterface/ChatInterface.d.ts +0 -33
- package/lib/components/material-ui/ChatInterface/ChatInterface.js +0 -109
- package/lib/components/material-ui/ChatInterface/ChatInterface.story.d.ts +0 -1
- package/lib/components/material-ui/ChatInterface/ChatInterface.story.js +0 -134
- package/lib/components/material-ui/ChatInterface/MessageInput.d.ts +0 -9
- package/lib/components/material-ui/ChatInterface/MessageInput.js +0 -53
- package/lib/components/material-ui/ChatInterface/MessageItem.d.ts +0 -8
- package/lib/components/material-ui/ChatInterface/MessageItem.js +0 -71
- package/lib/components/material-ui/ChatInterface/MessageThread.d.ts +0 -6
- package/lib/components/material-ui/ChatInterface/MessageThread.js +0 -119
- package/lib/components/material-ui/ChatInterface/index.d.ts +0 -1
- package/lib/components/material-ui/ChatInterface/index.js +0 -8
- package/lib/components/material-ui/ColorPicker/ColorPicker.js +0 -86
- package/lib/components/material-ui/ColorPicker/ColorPicker.story.js +0 -47
- package/lib/components/material-ui/ColorPicker/index.js +0 -8
- package/lib/components/material-ui/ColorPicker/styles.js +0 -24
- package/lib/components/material-ui/DataTable/AppliedFilters.d.ts +0 -12
- package/lib/components/material-ui/DataTable/AppliedFilters.js +0 -26
- package/lib/components/material-ui/DataTable/Data.js +0 -42
- package/lib/components/material-ui/DataTable/DataTable.js +0 -363
- package/lib/components/material-ui/DataTable/DataTable.story.js +0 -76
- package/lib/components/material-ui/DataTable/FilterTool/Filters/MultiSelectFilter.js +0 -63
- package/lib/components/material-ui/DataTable/FilterTool/Filters/RangeFilter.js +0 -76
- package/lib/components/material-ui/DataTable/FilterTool/Filters/SingleSelectFilter.js +0 -69
- package/lib/components/material-ui/DataTable/FilterTool/Filters/TextFilter.js +0 -52
- package/lib/components/material-ui/DataTable/FilterTool/index.js +0 -78
- package/lib/components/material-ui/DataTable/GlobalSearchFilter.d.ts +0 -10
- package/lib/components/material-ui/DataTable/GlobalSearchFilter.js +0 -49
- package/lib/components/material-ui/DataTable/IndeterminateCheckbox.d.ts +0 -4
- package/lib/components/material-ui/DataTable/IndeterminateCheckbox.js +0 -65
- package/lib/components/material-ui/DataTable/SortIndicator.d.ts +0 -10
- package/lib/components/material-ui/DataTable/SortIndicator.js +0 -33
- package/lib/components/material-ui/DataTable/TablePieces/AppliedFilters.js +0 -26
- package/lib/components/material-ui/DataTable/TablePieces/BodyCell.js +0 -50
- package/lib/components/material-ui/DataTable/TablePieces/BodyRow.js +0 -88
- package/lib/components/material-ui/DataTable/TablePieces/GlobalSearchFilter.js +0 -49
- package/lib/components/material-ui/DataTable/TablePieces/HeaderCell.js +0 -57
- package/lib/components/material-ui/DataTable/TablePieces/IndeterminateCheckbox.js +0 -65
- package/lib/components/material-ui/DataTable/TablePieces/SortIndicator.js +0 -33
- package/lib/components/material-ui/DataTable/TablePieces/Table.js +0 -47
- package/lib/components/material-ui/DataTable/TablePieces/TableBodyContent.js +0 -89
- package/lib/components/material-ui/DataTable/TablePieces/Toolbar.js +0 -59
- package/lib/components/material-ui/DataTable/TablePieces/ViewColumnTool.js +0 -77
- package/lib/components/material-ui/DataTable/Toolbar.d.ts +0 -24
- package/lib/components/material-ui/DataTable/Toolbar.js +0 -63
- package/lib/components/material-ui/DataTable/Utils.d.ts +0 -25
- package/lib/components/material-ui/DataTable/Utils.js +0 -119
- package/lib/components/material-ui/DataTable/ViewColumnTool.d.ts +0 -11
- package/lib/components/material-ui/DataTable/ViewColumnTool.js +0 -76
- package/lib/components/material-ui/DataTable/index.js +0 -8
- package/lib/components/material-ui/ErrorBoundary/ErrorBoundary.d.ts +0 -7
- package/lib/components/material-ui/ErrorBoundary/ErrorBoundary.js +0 -20
- package/lib/components/material-ui/ErrorBoundary/index.d.ts +0 -1
- package/lib/components/material-ui/ErrorBoundary/index.js +0 -8
- package/lib/components/material-ui/InputCheckboxGroup/InputCheckboxGroup.js +0 -99
- package/lib/components/material-ui/InputCheckboxGroup/InputCheckboxGroup.story.js +0 -52
- package/lib/components/material-ui/InputCheckboxGroup/index.js +0 -8
- package/lib/components/material-ui/InputDate/InputDate.js +0 -93
- package/lib/components/material-ui/InputDate/InputDate.story.js +0 -53
- package/lib/components/material-ui/InputDate/index.js +0 -8
- package/lib/components/material-ui/InputDateTime/InputDateTime.js +0 -82
- package/lib/components/material-ui/InputDateTime/InputDateTime.story.js +0 -53
- package/lib/components/material-ui/InputDateTime/index.js +0 -8
- package/lib/components/material-ui/InputGroup/InputGroup.js +0 -91
- package/lib/components/material-ui/InputGroup/InputGroup.story.js +0 -50
- package/lib/components/material-ui/InputGroup/index.js +0 -8
- package/lib/components/material-ui/InputRadioGroup/InputRadioGroup.js +0 -82
- package/lib/components/material-ui/InputRadioGroup/InputRadioGroup.story.js +0 -52
- package/lib/components/material-ui/InputRadioGroup/index.js +0 -8
- package/lib/components/material-ui/InputSearchDropdown/InputSearchDropdown.js +0 -146
- package/lib/components/material-ui/InputSearchDropdown/InputSearchDropdown.story.js +0 -66
- package/lib/components/material-ui/InputSearchDropdown/index.js +0 -8
- package/lib/components/material-ui/InputTime/InputTime.js +0 -82
- package/lib/components/material-ui/InputTime/InputTime.story.js +0 -53
- package/lib/components/material-ui/InputTime/index.js +0 -8
- package/lib/components/material-ui/Modal/Modal.js +0 -57
- package/lib/components/material-ui/Modal/Modal.story.js +0 -83
- package/lib/components/material-ui/Modal/index.js +0 -8
- package/lib/services/Select.service.d.ts +0 -5
- package/lib/services/Select.service.js +0 -67
- package/lib/stories/0-Inputs.stories.d.ts +0 -17
- package/lib/stories/0-Inputs.stories.js +0 -38
- package/lib/types/Component.types.js +0 -2
- package/lib/types/Internal.types.js +0 -2
- package/lib/types/index.js +0 -13
|
@@ -2,7 +2,7 @@ export { default as AudioPlayer } from './material-ui/AudioPlayer';
|
|
|
2
2
|
export { default as Button } from './material-ui/Button';
|
|
3
3
|
export { default as ButtonMenu } from './material-ui/ButtonMenu';
|
|
4
4
|
export { default as ColorPicker } from './material-ui/ColorPicker';
|
|
5
|
-
export {
|
|
5
|
+
export { DataTable, getColumnFilterConfig, renderSingleLineCell, useDefaultTableInstance, usePluginConfig, } from './material-ui/DataTable';
|
|
6
6
|
export { default as InputDate } from './material-ui/InputDate';
|
|
7
7
|
export { default as InputDateTime } from './material-ui/InputDateTime';
|
|
8
8
|
export { default as InputGroup } from './material-ui/InputGroup';
|
|
@@ -1,69 +1,10 @@
|
|
|
1
1
|
/** @jsxRuntime classic */
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
|
-
import {
|
|
4
|
+
import { PluginHook, TableState, ColumnInstance, Row, ActionType, Renderer, FilterProps } from 'react-table';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
|
+
import { EnhancedColumn, EnhancedTableInstance, EnhancedTableState, FilterType, TableFeatureOptions, UseDefaultTableInstanceProps } from '../../../types/DataTable.types';
|
|
6
7
|
export declare const ACTION_COLUMN_ID = "action-column";
|
|
7
|
-
export declare type Mode = 'single' | 'multi';
|
|
8
|
-
export declare type CustomColumnConfigProps<D extends object> = {
|
|
9
|
-
name?: string;
|
|
10
|
-
filterName?: string;
|
|
11
|
-
columns?: EnhancedColumn<D>[];
|
|
12
|
-
};
|
|
13
|
-
export declare type EnhancedHeader<D extends object> = HeaderGroup<D> & UseFiltersColumnProps<D> & UseSortByColumnProps<D> & UseResizeColumnsColumnProps<D> & CustomColumnConfigProps<D>;
|
|
14
|
-
export declare type EnhancedTableOptions<D extends object> = TableOptions<D> & UseExpandedOptions<D> & UseFiltersOptions<D> & UseGlobalFiltersOptions<D> & UseSortByOptions<D> & UsePaginationOptions<D> & UseRowSelectOptions<D>;
|
|
15
|
-
export declare type EnhancedTableInstance<D extends object> = Omit<TableInstance<D>, 'state'> & UseExpandedInstanceProps<D> & UseFiltersInstanceProps<D> & UseGlobalFiltersInstanceProps<D> & UseSortByInstanceProps<D> & UsePaginationInstanceProps<D> & UseRowSelectInstanceProps<D> & {
|
|
16
|
-
state: EnhancedTableState<D>;
|
|
17
|
-
};
|
|
18
|
-
export declare type EnhancedTableState<D extends object> = TableState<D> & UseExpandedState<D> & UseFiltersState<D> & UseGlobalFiltersState<D> & UseSortByState<D> & UsePaginationState<D> & UseRowSelectState<D> & UseResizeColumnsState<D>;
|
|
19
|
-
export declare type EnhancedColumn<D extends object> = CustomColumnConfigProps<D> & Partial<Omit<Column<D>, 'columns'>> & Partial<UseFiltersColumnOptions<D>> & Partial<UseSortByColumnOptions<D>> & Partial<UseResizeColumnsColumnOptions<D>>;
|
|
20
|
-
export declare type EnhancedRow<D extends object> = Row<D> & UseExpandedRowProps<D> & UseRowSelectRowProps<D>;
|
|
21
|
-
export interface TableFeatureOptions<D extends object> {
|
|
22
|
-
rowExpanding?: {
|
|
23
|
-
enabled: boolean;
|
|
24
|
-
mode: Mode;
|
|
25
|
-
/** @deprecated Use the ExpandedRow component prop instead. */
|
|
26
|
-
Component?: (props: {
|
|
27
|
-
data: D;
|
|
28
|
-
}) => JSX.Element;
|
|
29
|
-
autoResetExpanded?: boolean;
|
|
30
|
-
};
|
|
31
|
-
filters?: {
|
|
32
|
-
enabled: boolean;
|
|
33
|
-
};
|
|
34
|
-
globalSearch?: {
|
|
35
|
-
enabled: boolean;
|
|
36
|
-
setGlobalFilter?: (filterValue: any) => void | Promise<void>;
|
|
37
|
-
};
|
|
38
|
-
columnHiding?: {
|
|
39
|
-
enabled: boolean;
|
|
40
|
-
};
|
|
41
|
-
columnResizing?: {
|
|
42
|
-
enabled: boolean;
|
|
43
|
-
};
|
|
44
|
-
pagination?: {
|
|
45
|
-
enabled: boolean;
|
|
46
|
-
pageSize?: number;
|
|
47
|
-
rowsPerPageOptions?: number[];
|
|
48
|
-
};
|
|
49
|
-
rowSelect?: {
|
|
50
|
-
enabled: boolean;
|
|
51
|
-
mode: Mode;
|
|
52
|
-
};
|
|
53
|
-
sorting?: {
|
|
54
|
-
enabled: boolean;
|
|
55
|
-
};
|
|
56
|
-
table?: {
|
|
57
|
-
flexLayoutEnabled?: boolean;
|
|
58
|
-
hideToolbar?: boolean;
|
|
59
|
-
getRowId?: UseTableOptions<D>['getRowId'];
|
|
60
|
-
getRowClassName?: (rowId: string) => string;
|
|
61
|
-
};
|
|
62
|
-
virtualize?: {
|
|
63
|
-
enabled: boolean;
|
|
64
|
-
defaultRowHeight?: number;
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
8
|
export declare const CELL_PADDING = 4;
|
|
68
9
|
interface Props<D extends object> {
|
|
69
10
|
title?: string;
|
|
@@ -80,15 +21,8 @@ interface Props<D extends object> {
|
|
|
80
21
|
data: D;
|
|
81
22
|
}) => JSX.Element;
|
|
82
23
|
}
|
|
83
|
-
export
|
|
24
|
+
export declare function DataTable<D extends object>({ title, labels, columns, instance, options, renderActions, renderRowSelectActions, ExpandedRow, ...restOfProps }: Props<D>): JSX.Element;
|
|
84
25
|
export declare function usePluginConfig<D extends object>(options: TableFeatureOptions<D>): PluginHook<D>[];
|
|
85
|
-
export interface UseDefaultTableInstanceProps<D extends object> {
|
|
86
|
-
columns: EnhancedColumn<D>[];
|
|
87
|
-
data: D[];
|
|
88
|
-
options?: TableFeatureOptions<D>;
|
|
89
|
-
initialState?: Partial<EnhancedTableState<D>>;
|
|
90
|
-
defaultColumn?: Partial<Column<D>>;
|
|
91
|
-
}
|
|
92
26
|
export declare function useDefaultTableInstance<D extends object>({ columns, data, options, initialState, defaultColumn, }: UseDefaultTableInstanceProps<D>): {
|
|
93
27
|
setColumnWidth: (columnId: string, width: number) => void;
|
|
94
28
|
data: readonly D[];
|
|
@@ -98,16 +32,16 @@ export declare function useDefaultTableInstance<D extends object>({ columns, dat
|
|
|
98
32
|
plugins: PluginHook<D>[];
|
|
99
33
|
allColumns: ColumnInstance<D>[];
|
|
100
34
|
initialState?: Partial<TableState<D>> | undefined;
|
|
101
|
-
stateReducer?: ((newState: TableState<D>, action: ActionType, previousState: TableState<D>, instance?: TableInstance<D> | undefined) => TableState<D>) | undefined;
|
|
35
|
+
stateReducer?: ((newState: TableState<D>, action: ActionType, previousState: TableState<D>, instance?: import("react-table").TableInstance<D> | undefined) => TableState<D>) | undefined;
|
|
102
36
|
useControlledState?: ((state: TableState<D>, meta: import("react-table").MetaBase<D>) => TableState<D>) | undefined;
|
|
103
|
-
defaultColumn?: Partial<Column<D>> | undefined;
|
|
37
|
+
defaultColumn?: Partial<import("react-table").Column<D>> | undefined;
|
|
104
38
|
getSubRows?: ((originalRow: D, relativeIndex: number) => D[]) | undefined;
|
|
105
39
|
getRowId?: ((originalRow: D, relativeIndex: number, parent?: Row<D> | undefined) => string) | undefined;
|
|
106
40
|
autoResetHiddenColumns?: boolean | undefined;
|
|
107
41
|
dispatch: import("react-table").TableDispatch<any>;
|
|
108
42
|
visibleColumns: ColumnInstance<D>[];
|
|
109
|
-
headerGroups: HeaderGroup<D>[];
|
|
110
|
-
footerGroups: HeaderGroup<D>[];
|
|
43
|
+
headerGroups: import("react-table").HeaderGroup<D>[];
|
|
44
|
+
footerGroups: import("react-table").HeaderGroup<D>[];
|
|
111
45
|
flatHeaders: ColumnInstance<D>[];
|
|
112
46
|
rowsById: Record<string, Row<D>>;
|
|
113
47
|
getTableProps: (propGetter?: import("react-table").TablePropGetter<D> | undefined) => import("react-table").TableProps;
|
|
@@ -162,9 +96,8 @@ export declare function useDefaultTableInstance<D extends object>({ columns, dat
|
|
|
162
96
|
selectedFlatRows: Row<D>[];
|
|
163
97
|
state: EnhancedTableState<D>;
|
|
164
98
|
};
|
|
165
|
-
export declare
|
|
166
|
-
export declare
|
|
167
|
-
export declare function getColumnFilterConfig<D extends object>(filterType: FilterType): {
|
|
99
|
+
export declare const renderSingleLineCell: (value: string) => jsx.JSX.Element;
|
|
100
|
+
export declare const getColumnFilterConfig: <D extends object>(filterType: FilterType) => {
|
|
168
101
|
filter: string;
|
|
169
102
|
Filter: Renderer<FilterProps<D>>;
|
|
170
103
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilterProps } from 'react-table';
|
|
2
|
-
import { EnhancedHeader } from '
|
|
2
|
+
import { EnhancedHeader } from '../../../../../types/DataTable.types';
|
|
3
3
|
interface Props<D extends object> extends FilterProps<D> {
|
|
4
4
|
column: EnhancedHeader<D>;
|
|
5
5
|
columns: EnhancedHeader<D>[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilterProps } from 'react-table';
|
|
2
|
-
import { EnhancedHeader } from '
|
|
2
|
+
import { EnhancedHeader } from '../../../../../types/DataTable.types';
|
|
3
3
|
interface Props<D extends object> extends FilterProps<D> {
|
|
4
4
|
column: EnhancedHeader<D>;
|
|
5
5
|
columns: EnhancedHeader<D>[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilterProps } from 'react-table';
|
|
2
|
-
import { EnhancedHeader } from '
|
|
2
|
+
import { EnhancedHeader } from '../../../../../types/DataTable.types';
|
|
3
3
|
export declare const BLANK_VALUE_LABEL = "<Blank>";
|
|
4
4
|
interface Props<D extends object> extends FilterProps<D> {
|
|
5
5
|
column: EnhancedHeader<D>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilterProps } from 'react-table';
|
|
2
|
-
import { EnhancedHeader } from '
|
|
2
|
+
import { EnhancedHeader } from '../../../../../types/DataTable.types';
|
|
3
3
|
interface Props<D extends object> extends FilterProps<D> {
|
|
4
4
|
column: EnhancedHeader<D>;
|
|
5
5
|
columns: EnhancedHeader<D>[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** @jsxRuntime classic */
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
|
-
import { SimpleMap } from '../../../../types/Internal.types';
|
|
5
|
-
import { EnhancedHeader } from '../DataTable';
|
|
6
4
|
import { UseFiltersInstanceProps } from 'react-table';
|
|
5
|
+
import { SimpleMap } from '../../../../types/Internal.types';
|
|
6
|
+
import { EnhancedHeader } from '../../../../types/DataTable.types';
|
|
7
7
|
interface Props<D extends object> {
|
|
8
8
|
allColumns: EnhancedHeader<D>[];
|
|
9
9
|
columnNameById: SimpleMap<string>;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import { CSSProperties } from 'react';
|
|
5
|
-
import { EnhancedRow } from '../DataTable';
|
|
6
5
|
import { TableRowProps } from 'react-table';
|
|
7
6
|
import { Maybe } from '@vendorflow/types';
|
|
7
|
+
import { EnhancedRow } from '../../../../types/DataTable.types';
|
|
8
8
|
interface Props<D extends object> {
|
|
9
9
|
ExpandedComponent: ((props: {
|
|
10
10
|
data: D;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @jsxRuntime classic */
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
|
-
import { EnhancedHeader } from '../DataTable';
|
|
5
4
|
import { TableHeaderProps } from 'react-table';
|
|
5
|
+
import { EnhancedHeader } from '../../../../types/DataTable.types';
|
|
6
6
|
interface Props<D extends object> {
|
|
7
7
|
className?: string;
|
|
8
8
|
flexLayoutEnabled: boolean;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
import { SimpleMap } from '../../../../types/Internal.types';
|
|
6
|
-
import { EnhancedHeader } from '../DataTable';
|
|
7
6
|
import { UseFiltersInstanceProps } from 'react-table';
|
|
7
|
+
import { EnhancedHeader } from '../../../../types/DataTable.types';
|
|
8
8
|
interface Props<D extends object> {
|
|
9
9
|
title?: string;
|
|
10
10
|
allColumns: EnhancedHeader<D>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { DataTable, getColumnFilterConfig, renderSingleLineCell, usePluginConfig, useDefaultTableInstance, } from './DataTable';
|