@vendorflow/components 2.1.1 → 3.0.5

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.
Files changed (149) hide show
  1. package/lib/components/index.d.ts +1 -1
  2. package/lib/components/material-ui/Button/Button.d.ts +1 -1
  3. package/lib/components/material-ui/ButtonMenu/ButtonMenu.d.ts +2 -2
  4. package/lib/components/material-ui/ColorPicker/ColorPicker.d.ts +1 -1
  5. package/lib/components/material-ui/DataTable/Data.d.ts +1 -1
  6. package/lib/components/material-ui/DataTable/DataTable.d.ts +10 -77
  7. package/lib/components/material-ui/DataTable/FilterTool/Filters/MultiSelectFilter.d.ts +1 -1
  8. package/lib/components/material-ui/DataTable/FilterTool/Filters/RangeFilter.d.ts +1 -1
  9. package/lib/components/material-ui/DataTable/FilterTool/Filters/SingleSelectFilter.d.ts +1 -1
  10. package/lib/components/material-ui/DataTable/FilterTool/Filters/TextFilter.d.ts +1 -1
  11. package/lib/components/material-ui/DataTable/FilterTool/index.d.ts +2 -2
  12. package/lib/components/material-ui/DataTable/TablePieces/BodyRow.d.ts +1 -1
  13. package/lib/components/material-ui/DataTable/TablePieces/HeaderCell.d.ts +1 -1
  14. package/lib/components/material-ui/DataTable/TablePieces/Toolbar.d.ts +1 -1
  15. package/lib/components/material-ui/DataTable/index.d.ts +1 -1
  16. package/lib/components/material-ui/InputDate/InputDate.d.ts +2 -2
  17. package/lib/components/material-ui/InputDateTime/InputDateTime.d.ts +2 -2
  18. package/lib/components/material-ui/InputGroup/InputGroup.d.ts +1 -1
  19. package/lib/components/material-ui/InputSearchDropdown/InputSearchDropdown.d.ts +2 -2
  20. package/lib/components/material-ui/InputTime/InputTime.d.ts +2 -2
  21. package/lib/components/material-ui/Modal/Modal.d.ts +1 -1
  22. package/lib/index.js +3 -14
  23. package/lib/index.js.LICENSE.txt +29 -0
  24. package/lib/index.js.map +1 -0
  25. package/lib/types/Component.types.d.ts +9 -9
  26. package/lib/types/DataTable.types.d.ts +69 -0
  27. package/lib/types/index.d.ts +1 -0
  28. package/package.json +24 -103
  29. package/lib/TempHooks.d.ts +0 -9
  30. package/lib/TempHooks.js +0 -25
  31. package/lib/components/InfiniteScroll/InfiniteScroll.d.ts +0 -16
  32. package/lib/components/InfiniteScroll/InfiniteScroll.js +0 -159
  33. package/lib/components/InfiniteScroll/index.d.ts +0 -1
  34. package/lib/components/InfiniteScroll/index.js +0 -8
  35. package/lib/components/blueprint/InputGroup/InputGroup.d.ts +0 -20
  36. package/lib/components/blueprint/InputGroup/InputGroup.js +0 -13
  37. package/lib/components/blueprint/InputGroup/InputGroup.story.d.ts +0 -2
  38. package/lib/components/blueprint/InputGroup/InputGroup.story.js +0 -11
  39. package/lib/components/blueprint/InputGroup/index.d.ts +0 -1
  40. package/lib/components/blueprint/InputGroup/index.js +0 -4
  41. package/lib/components/blueprint/InputSelect/InputSelect.d.ts +0 -51
  42. package/lib/components/blueprint/InputSelect/InputSelect.js +0 -98
  43. package/lib/components/blueprint/InputSelect/InputSelect.story.d.ts +0 -3
  44. package/lib/components/blueprint/InputSelect/InputSelect.story.js +0 -19
  45. package/lib/components/blueprint/InputSelect/index.d.ts +0 -1
  46. package/lib/components/blueprint/InputSelect/index.js +0 -4
  47. package/lib/components/blueprint/InputTime/InputTime.d.ts +0 -24
  48. package/lib/components/blueprint/InputTime/InputTime.js +0 -28
  49. package/lib/components/blueprint/InputTime/InputTime.story.d.ts +0 -2
  50. package/lib/components/blueprint/InputTime/InputTime.story.js +0 -11
  51. package/lib/components/blueprint/InputTime/index.d.ts +0 -1
  52. package/lib/components/blueprint/InputTime/index.js +0 -4
  53. package/lib/components/index.js +0 -32
  54. package/lib/components/material-ui/AudioPlayer/AudioPlayer.js +0 -111
  55. package/lib/components/material-ui/AudioPlayer/AudioPlayer.story.js +0 -9
  56. package/lib/components/material-ui/AudioPlayer/index.js +0 -8
  57. package/lib/components/material-ui/Button/Button.js +0 -38
  58. package/lib/components/material-ui/Button/Button.story.js +0 -9
  59. package/lib/components/material-ui/Button/index.js +0 -8
  60. package/lib/components/material-ui/ButtonMenu/ButtonMenu.js +0 -115
  61. package/lib/components/material-ui/ButtonMenu/ButtonMenu.story.js +0 -79
  62. package/lib/components/material-ui/ButtonMenu/index.js +0 -8
  63. package/lib/components/material-ui/ChatInterface/ActionsMenu.d.ts +0 -4
  64. package/lib/components/material-ui/ChatInterface/ActionsMenu.js +0 -37
  65. package/lib/components/material-ui/ChatInterface/ChatInterface.d.ts +0 -33
  66. package/lib/components/material-ui/ChatInterface/ChatInterface.js +0 -109
  67. package/lib/components/material-ui/ChatInterface/ChatInterface.story.d.ts +0 -1
  68. package/lib/components/material-ui/ChatInterface/ChatInterface.story.js +0 -134
  69. package/lib/components/material-ui/ChatInterface/MessageInput.d.ts +0 -9
  70. package/lib/components/material-ui/ChatInterface/MessageInput.js +0 -53
  71. package/lib/components/material-ui/ChatInterface/MessageItem.d.ts +0 -8
  72. package/lib/components/material-ui/ChatInterface/MessageItem.js +0 -71
  73. package/lib/components/material-ui/ChatInterface/MessageThread.d.ts +0 -6
  74. package/lib/components/material-ui/ChatInterface/MessageThread.js +0 -119
  75. package/lib/components/material-ui/ChatInterface/index.d.ts +0 -1
  76. package/lib/components/material-ui/ChatInterface/index.js +0 -8
  77. package/lib/components/material-ui/ColorPicker/ColorPicker.js +0 -86
  78. package/lib/components/material-ui/ColorPicker/ColorPicker.story.js +0 -47
  79. package/lib/components/material-ui/ColorPicker/index.js +0 -8
  80. package/lib/components/material-ui/ColorPicker/styles.js +0 -24
  81. package/lib/components/material-ui/DataTable/AppliedFilters.d.ts +0 -12
  82. package/lib/components/material-ui/DataTable/AppliedFilters.js +0 -26
  83. package/lib/components/material-ui/DataTable/Data.js +0 -42
  84. package/lib/components/material-ui/DataTable/DataTable.js +0 -363
  85. package/lib/components/material-ui/DataTable/DataTable.story.js +0 -76
  86. package/lib/components/material-ui/DataTable/FilterTool/Filters/MultiSelectFilter.js +0 -63
  87. package/lib/components/material-ui/DataTable/FilterTool/Filters/RangeFilter.js +0 -76
  88. package/lib/components/material-ui/DataTable/FilterTool/Filters/SingleSelectFilter.js +0 -69
  89. package/lib/components/material-ui/DataTable/FilterTool/Filters/TextFilter.js +0 -52
  90. package/lib/components/material-ui/DataTable/FilterTool/index.js +0 -78
  91. package/lib/components/material-ui/DataTable/GlobalSearchFilter.d.ts +0 -10
  92. package/lib/components/material-ui/DataTable/GlobalSearchFilter.js +0 -49
  93. package/lib/components/material-ui/DataTable/IndeterminateCheckbox.d.ts +0 -4
  94. package/lib/components/material-ui/DataTable/IndeterminateCheckbox.js +0 -65
  95. package/lib/components/material-ui/DataTable/SortIndicator.d.ts +0 -10
  96. package/lib/components/material-ui/DataTable/SortIndicator.js +0 -33
  97. package/lib/components/material-ui/DataTable/TablePieces/AppliedFilters.js +0 -26
  98. package/lib/components/material-ui/DataTable/TablePieces/BodyCell.js +0 -50
  99. package/lib/components/material-ui/DataTable/TablePieces/BodyRow.js +0 -88
  100. package/lib/components/material-ui/DataTable/TablePieces/GlobalSearchFilter.js +0 -49
  101. package/lib/components/material-ui/DataTable/TablePieces/HeaderCell.js +0 -57
  102. package/lib/components/material-ui/DataTable/TablePieces/IndeterminateCheckbox.js +0 -65
  103. package/lib/components/material-ui/DataTable/TablePieces/SortIndicator.js +0 -33
  104. package/lib/components/material-ui/DataTable/TablePieces/Table.js +0 -47
  105. package/lib/components/material-ui/DataTable/TablePieces/TableBodyContent.js +0 -89
  106. package/lib/components/material-ui/DataTable/TablePieces/Toolbar.js +0 -59
  107. package/lib/components/material-ui/DataTable/TablePieces/ViewColumnTool.js +0 -77
  108. package/lib/components/material-ui/DataTable/Toolbar.d.ts +0 -24
  109. package/lib/components/material-ui/DataTable/Toolbar.js +0 -63
  110. package/lib/components/material-ui/DataTable/Utils.d.ts +0 -25
  111. package/lib/components/material-ui/DataTable/Utils.js +0 -119
  112. package/lib/components/material-ui/DataTable/ViewColumnTool.d.ts +0 -11
  113. package/lib/components/material-ui/DataTable/ViewColumnTool.js +0 -76
  114. package/lib/components/material-ui/DataTable/index.js +0 -8
  115. package/lib/components/material-ui/ErrorBoundary/ErrorBoundary.d.ts +0 -7
  116. package/lib/components/material-ui/ErrorBoundary/ErrorBoundary.js +0 -20
  117. package/lib/components/material-ui/ErrorBoundary/index.d.ts +0 -1
  118. package/lib/components/material-ui/ErrorBoundary/index.js +0 -8
  119. package/lib/components/material-ui/InputCheckboxGroup/InputCheckboxGroup.js +0 -99
  120. package/lib/components/material-ui/InputCheckboxGroup/InputCheckboxGroup.story.js +0 -52
  121. package/lib/components/material-ui/InputCheckboxGroup/index.js +0 -8
  122. package/lib/components/material-ui/InputDate/InputDate.js +0 -93
  123. package/lib/components/material-ui/InputDate/InputDate.story.js +0 -53
  124. package/lib/components/material-ui/InputDate/index.js +0 -8
  125. package/lib/components/material-ui/InputDateTime/InputDateTime.js +0 -82
  126. package/lib/components/material-ui/InputDateTime/InputDateTime.story.js +0 -53
  127. package/lib/components/material-ui/InputDateTime/index.js +0 -8
  128. package/lib/components/material-ui/InputGroup/InputGroup.js +0 -91
  129. package/lib/components/material-ui/InputGroup/InputGroup.story.js +0 -50
  130. package/lib/components/material-ui/InputGroup/index.js +0 -8
  131. package/lib/components/material-ui/InputRadioGroup/InputRadioGroup.js +0 -82
  132. package/lib/components/material-ui/InputRadioGroup/InputRadioGroup.story.js +0 -52
  133. package/lib/components/material-ui/InputRadioGroup/index.js +0 -8
  134. package/lib/components/material-ui/InputSearchDropdown/InputSearchDropdown.js +0 -146
  135. package/lib/components/material-ui/InputSearchDropdown/InputSearchDropdown.story.js +0 -66
  136. package/lib/components/material-ui/InputSearchDropdown/index.js +0 -8
  137. package/lib/components/material-ui/InputTime/InputTime.js +0 -82
  138. package/lib/components/material-ui/InputTime/InputTime.story.js +0 -53
  139. package/lib/components/material-ui/InputTime/index.js +0 -8
  140. package/lib/components/material-ui/Modal/Modal.js +0 -57
  141. package/lib/components/material-ui/Modal/Modal.story.js +0 -83
  142. package/lib/components/material-ui/Modal/index.js +0 -8
  143. package/lib/services/Select.service.d.ts +0 -5
  144. package/lib/services/Select.service.js +0 -67
  145. package/lib/stories/0-Inputs.stories.d.ts +0 -17
  146. package/lib/stories/0-Inputs.stories.js +0 -38
  147. package/lib/types/Component.types.js +0 -2
  148. package/lib/types/Internal.types.js +0 -2
  149. 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 { default as DataTable } from './material-ui/DataTable';
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,5 +1,5 @@
1
1
  import { ButtonProps } from '@mui/material';
2
- declare type Props = {
2
+ type Props = {
3
3
  loading?: boolean;
4
4
  progressClasses?: any;
5
5
  } & ButtonProps;
@@ -1,8 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ButtonProps, MenuProps } from '@mui/material';
3
3
  import { MenuItem as MenuItemType, Divider as DividerType } from '../../../types/Component.types';
4
- declare type Variant = 'text' | 'contained' | 'outlined' | undefined;
5
- declare type Props = {
4
+ type Variant = 'text' | 'contained' | 'outlined' | undefined;
5
+ type Props = {
6
6
  buttonRenderer?: ReactNode | (() => ReactNode);
7
7
  button?: {
8
8
  text: string;
@@ -1,4 +1,4 @@
1
1
  import { Props as InputGroupProps } from '../InputGroup/InputGroup';
2
- declare type Props = InputGroupProps;
2
+ type Props = InputGroupProps;
3
3
  export default function ColorPicker({ name, value, onChange, ...restOfProps }: Props): JSX.Element;
4
4
  export {};
@@ -1,4 +1,4 @@
1
- import { EnhancedColumn } from './DataTable';
1
+ import { EnhancedColumn } from '../../../types/DataTable.types';
2
2
  export interface People {
3
3
  id: string;
4
4
  firstName: string;
@@ -1,69 +1,10 @@
1
1
  /** @jsxRuntime classic */
2
2
  /** @jsx jsx */
3
3
  import { jsx } from '@emotion/react';
4
- import { Column, UseSortByColumnProps, HeaderGroup, UseSortByOptions, TableOptions, UseSortByColumnOptions, PluginHook, UsePaginationOptions, UseSortByInstanceProps, UsePaginationInstanceProps, TableInstance, TableState, UseSortByState, UsePaginationState, UseRowSelectOptions, UseRowSelectInstanceProps, UseRowSelectState, ColumnInstance, Row, UseRowSelectRowProps, UseExpandedOptions, UseExpandedInstanceProps, UseExpandedState, UseExpandedRowProps, ActionType, UseGlobalFiltersInstanceProps, UseGlobalFiltersState, UseFiltersOptions, UseFiltersInstanceProps, UseFiltersState, UseFiltersColumnOptions, UseFiltersColumnProps, Renderer, FilterProps, UseTableOptions, UseGlobalFiltersOptions, UseResizeColumnsColumnOptions, UseResizeColumnsColumnProps, UseResizeColumnsState } from 'react-table';
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,34 +21,27 @@ interface Props<D extends object> {
80
21
  data: D;
81
22
  }) => JSX.Element;
82
23
  }
83
- export default function DataTable<D extends object>({ title, labels, columns, instance, options, renderActions, renderRowSelectActions, ExpandedRow, ...restOfProps }: Props<D>): JSX.Element;
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
- data: readonly D[];
95
28
  columns: ColumnInstance<D>[];
29
+ data: readonly D[];
96
30
  headers: ColumnInstance<D>[];
97
31
  rows: Row<D>[];
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 function renderSingleLineCell(value: string): jsx.JSX.Element;
166
- export declare type FilterType = 'text' | 'select' | 'multi-select' | 'range';
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 '../../DataTable';
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 '../../DataTable';
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 '../../DataTable';
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 '../../DataTable';
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 { default } from './DataTable';
1
+ export { DataTable, getColumnFilterConfig, renderSingleLineCell, usePluginConfig, useDefaultTableInstance, } from './DataTable';
@@ -2,10 +2,10 @@ import React from 'react';
2
2
  import { DatePickerProps } from '@mui/lab';
3
3
  import { SimpleEventHandler } from '../../../types';
4
4
  import { TextFieldProps } from '@mui/material';
5
- declare type Props = {
5
+ type Props = {
6
6
  name?: string;
7
7
  onChange: SimpleEventHandler<string>;
8
8
  InputProps?: Omit<TextFieldProps, 'id'>;
9
- } & Omit<DatePickerProps, 'onChange' | 'renderInput' | 'date' | 'rawValue' | 'openPicker' | 'InputProps'> & React.RefAttributes<HTMLDivElement>;
9
+ } & Omit<DatePickerProps<any>, 'onChange' | 'renderInput' | 'date' | 'rawValue' | 'openPicker' | 'InputProps'> & React.RefAttributes<HTMLDivElement>;
10
10
  export default function InputDate(props: Props): JSX.Element;
11
11
  export {};
@@ -2,10 +2,10 @@ import React from 'react';
2
2
  import { DateTimePickerProps } from '@mui/lab';
3
3
  import { SimpleEventHandler } from '../../../types';
4
4
  import { TextFieldProps } from '@mui/material';
5
- declare type Props = {
5
+ type Props = {
6
6
  name?: string;
7
7
  onChange: SimpleEventHandler<string>;
8
8
  InputProps?: Omit<TextFieldProps, 'id'>;
9
- } & Omit<DateTimePickerProps, 'onChange' | 'renderInput' | 'date' | 'rawValue' | 'openPicker' | 'InputProps'> & React.RefAttributes<HTMLDivElement>;
9
+ } & Omit<DateTimePickerProps<any>, 'onChange' | 'renderInput' | 'date' | 'rawValue' | 'openPicker' | 'InputProps'> & React.RefAttributes<HTMLDivElement>;
10
10
  export default function InputDateTime(props: Props): JSX.Element;
11
11
  export {};
@@ -1,5 +1,5 @@
1
1
  import { TextFieldProps } from '@mui/material';
2
- export declare type Props = {
2
+ export type Props = {
3
3
  value: string | null;
4
4
  charLimit?: number;
5
5
  hideCharCounter?: boolean;
@@ -1,8 +1,8 @@
1
1
  import { ChangeEvent, ReactNode, Ref } from 'react';
2
2
  import { AutocompleteProps, AutocompleteChangeReason, AutocompleteRenderInputParams } from '@mui/material';
3
3
  import { Variant } from '../../../types';
4
- declare type MaybeBoolean = boolean | undefined;
5
- declare type Props<T> = {
4
+ type MaybeBoolean = boolean | undefined;
5
+ type Props<T> = {
6
6
  error?: boolean;
7
7
  errors?: boolean[];
8
8
  label?: string;
@@ -1,10 +1,10 @@
1
1
  import { TimePickerProps } from '@mui/lab';
2
2
  import { SimpleEventHandler, ParsableDate } from '../../../types';
3
3
  import { TextFieldProps } from '@mui/material';
4
- declare type Props = {
4
+ type Props = {
5
5
  name?: string;
6
6
  onChange: SimpleEventHandler<ParsableDate>;
7
7
  InputProps?: Omit<TextFieldProps, 'id'>;
8
- } & Omit<TimePickerProps, 'onChange' | 'renderInput' | 'openPicker' | 'rawValue' | 'InputProps'>;
8
+ } & Omit<TimePickerProps<any>, 'onChange' | 'renderInput' | 'openPicker' | 'rawValue' | 'InputProps'>;
9
9
  export default function InputTime(props: Props): JSX.Element;
10
10
  export {};
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { DialogProps } from '@mui/material';
3
- declare type Props = DialogProps & {
3
+ type Props = DialogProps & {
4
4
  children: ReactNode;
5
5
  classes?: any;
6
6
  cancelButton?: {