@elliemae/ds-datagrids 2.3.0-alpha.8 → 2.3.0-alpha.9

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 (147) hide show
  1. package/dist/types/DSDataGrid.d.ts +863 -0
  2. package/dist/types/DataGridImpl.d.ts +13 -0
  3. package/dist/types/PaginatedDataGrid.d.ts +15 -0
  4. package/dist/types/blockNames.d.ts +4 -0
  5. package/dist/types/columns/IconColumn.d.ts +36 -0
  6. package/dist/types/columns/NumberColumn.d.ts +4 -0
  7. package/dist/types/components/BodyCell.d.ts +34 -0
  8. package/dist/types/components/BodyList.d.ts +12 -0
  9. package/dist/types/components/ColumnVisibilityMenuOption.d.ts +15 -0
  10. package/dist/types/components/ColumnsOptionsMenuSection.d.ts +9 -0
  11. package/dist/types/components/EmptyState.d.ts +7 -0
  12. package/dist/types/components/HeaderCell.d.ts +19 -0
  13. package/dist/types/components/List.d.ts +3 -0
  14. package/dist/types/components/ListItem.d.ts +3 -0
  15. package/dist/types/components/NoResults.d.ts +8 -0
  16. package/dist/types/components/RowsLoader.d.ts +5 -0
  17. package/dist/types/components/Table.d.ts +8 -0
  18. package/dist/types/components/TableBody.d.ts +4 -0
  19. package/dist/types/components/TableHeader.d.ts +4 -0
  20. package/dist/types/components/footer/addOptionalFooterComponents.d.ts +7 -0
  21. package/dist/types/components/header/PrimaryControls.d.ts +6 -0
  22. package/dist/types/components/header/addOptionalHeaderComponents.d.ts +11 -0
  23. package/dist/types/components/index.d.ts +5 -0
  24. package/dist/types/components/renderers/defaultClassedRenderers.d.ts +11 -0
  25. package/dist/types/components/renderers/index.d.ts +15 -0
  26. package/dist/types/components/renderers/renderRowsLoader.d.ts +2 -0
  27. package/dist/types/components/tableContext.d.ts +2 -0
  28. package/dist/types/components/tests/ColumnVisibilityMenu.test.d.ts +1 -0
  29. package/dist/types/defaultPlugins.d.ts +1 -0
  30. package/dist/types/index.d.ts +9 -0
  31. package/dist/types/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.d.ts +1 -0
  32. package/dist/types/plugins/body-header-scroll-sync/index.d.ts +1 -0
  33. package/dist/types/plugins/column-dnd/DndColumnsPlugin.d.ts +1 -0
  34. package/dist/types/plugins/column-dnd/decorateGridWithDndColumns.d.ts +2 -0
  35. package/dist/types/plugins/column-dnd/index.d.ts +1 -0
  36. package/dist/types/plugins/column-sizing/ColumnSizingPlugin.d.ts +1 -0
  37. package/dist/types/plugins/column-sizing/columnMeasurerTransformer.d.ts +6 -0
  38. package/dist/types/plugins/column-sizing/ext-points/decorateColumn.d.ts +1 -0
  39. package/dist/types/plugins/column-sizing/ext-points/getTableProps.d.ts +10 -0
  40. package/dist/types/plugins/column-sizing/getColumnNameFromProperty.d.ts +2 -0
  41. package/dist/types/plugins/column-sizing/index.d.ts +1 -0
  42. package/dist/types/plugins/column-sizing/useColumnSizeService.d.ts +18 -0
  43. package/dist/types/plugins/column-sizing/useStylesheetHelpers.d.ts +22 -0
  44. package/dist/types/plugins/column-sizing/utils.d.ts +5 -0
  45. package/dist/types/plugins/custom-cell-renderer/CustomRendererPlugin.d.ts +1 -0
  46. package/dist/types/plugins/custom-cell-renderer/addCustomRendererToCell.d.ts +4 -0
  47. package/dist/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +12 -0
  48. package/dist/types/plugins/custom-cell-renderer/index.d.ts +1 -0
  49. package/dist/types/plugins/editable/EditableComponents/ComboBox.d.ts +12 -0
  50. package/dist/types/plugins/editable/EditableComponents/TextBox.d.ts +24 -0
  51. package/dist/types/plugins/editable/EditableComponents/index.d.ts +2 -0
  52. package/dist/types/plugins/editable/EditablePlugin.d.ts +1 -0
  53. package/dist/types/plugins/editable/decorateEditable.d.ts +7 -0
  54. package/dist/types/plugins/editable/getEditorComponent.d.ts +7 -0
  55. package/dist/types/plugins/editable/index.d.ts +2 -0
  56. package/dist/types/plugins/expandable-grid/ExpandableColumn.d.ts +29 -0
  57. package/dist/types/plugins/expandable-grid/ExpandablePlugin.d.ts +1 -0
  58. package/dist/types/plugins/expandable-grid/ExpandedRow.d.ts +12 -0
  59. package/dist/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +10 -0
  60. package/dist/types/plugins/expandable-grid/index.d.ts +2 -0
  61. package/dist/types/plugins/expandable-grid/tests/ExpandablePlugin.test.d.ts +1 -0
  62. package/dist/types/plugins/expandable-grid/useExpandGridState.d.ts +14 -0
  63. package/dist/types/plugins/export-data/ExportDataPlugin.d.ts +4 -0
  64. package/dist/types/plugins/export-data/index.d.ts +1 -0
  65. package/dist/types/plugins/filterable/FilterablePlugin.d.ts +1 -0
  66. package/dist/types/plugins/filterable/addFilterToColumn.d.ts +1 -0
  67. package/dist/types/plugins/filterable/components/FilterableHeader.d.ts +29 -0
  68. package/dist/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +31 -0
  69. package/dist/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +28 -0
  70. package/dist/types/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.d.ts +31 -0
  71. package/dist/types/plugins/filterable/components/filterable-menus/TextFilterMenu.d.ts +36 -0
  72. package/dist/types/plugins/filterable/components/filterable-menus/defaultDateFormat.d.ts +1 -0
  73. package/dist/types/plugins/filterable/components/filterable-menus/getFilterMenuByType.d.ts +2 -0
  74. package/dist/types/plugins/filterable/filterableFormatter.d.ts +12 -0
  75. package/dist/types/plugins/filterable/filtering-helper/filterRowsByQuery.d.ts +3 -0
  76. package/dist/types/plugins/filterable/filtering-helper/strategiesOperators.d.ts +2 -0
  77. package/dist/types/plugins/filterable/helper.d.ts +22 -0
  78. package/dist/types/plugins/filterable/index.d.ts +1 -0
  79. package/dist/types/plugins/filterable/useFilterableState.d.ts +18 -0
  80. package/dist/types/plugins/grouping-by/GroupingByPlugin.d.ts +1 -0
  81. package/dist/types/plugins/grouping-grid/GroupingPlugin.d.ts +1 -0
  82. package/dist/types/plugins/grouping-grid/walkStrategy.d.ts +9 -0
  83. package/dist/types/plugins/index.d.ts +16 -0
  84. package/dist/types/plugins/infinite-scrolling/InfiniteScrollPlugin.d.ts +1 -0
  85. package/dist/types/plugins/infinite-scrolling/index.d.ts +1 -0
  86. package/dist/types/plugins/pagination/PaginationPlugin.d.ts +1 -0
  87. package/dist/types/plugins/pagination/components/Pagination.d.ts +11 -0
  88. package/dist/types/plugins/pagination/components/Paginator.d.ts +10 -0
  89. package/dist/types/plugins/pagination/components/PerPageDropdown.d.ts +10 -0
  90. package/dist/types/plugins/pagination/helper.d.ts +18 -0
  91. package/dist/types/plugins/pagination/index.d.ts +1 -0
  92. package/dist/types/plugins/pagination/usePaginationState.d.ts +9 -0
  93. package/dist/types/plugins/resizable/ResizablePlugin.d.ts +1 -0
  94. package/dist/types/plugins/resizable/decorateResizable.d.ts +4 -0
  95. package/dist/types/plugins/resizable/index.d.ts +1 -0
  96. package/dist/types/plugins/resizable/useResizeHandle.d.ts +13 -0
  97. package/dist/types/plugins/resizable/utils.d.ts +3 -0
  98. package/dist/types/plugins/row-dnd/DndRowsPlugin.d.ts +1 -0
  99. package/dist/types/plugins/row-dnd/index.d.ts +1 -0
  100. package/dist/types/plugins/selectable/SelectablePlugin.d.ts +1 -0
  101. package/dist/types/plugins/selectable/addSelectableColumn.d.ts +30 -0
  102. package/dist/types/plugins/selectable/helper.d.ts +5 -0
  103. package/dist/types/plugins/selectable/index.d.ts +1 -0
  104. package/dist/types/plugins/selectable/selectableFormatter.d.ts +10 -0
  105. package/dist/types/plugins/selectable/useSelectableState.d.ts +9 -0
  106. package/dist/types/plugins/sortable/SortablePlugin.d.ts +1 -0
  107. package/dist/types/plugins/sortable/checkIfSortable.d.ts +2 -0
  108. package/dist/types/plugins/sortable/index.d.ts +1 -0
  109. package/dist/types/plugins/sortable/sortHeaderFormatter.d.ts +7 -0
  110. package/dist/types/plugins/sortable/sortTree.d.ts +3 -0
  111. package/dist/types/plugins/sortable/sorter.d.ts +12 -0
  112. package/dist/types/plugins/sortable/useSortableState.d.ts +8 -0
  113. package/dist/types/plugins/toolbar/RowRenderer.d.ts +11 -0
  114. package/dist/types/plugins/toolbar/ToolbarPlugin.d.ts +1 -0
  115. package/dist/types/plugins/toolbar/ToolbarTrigger.d.ts +8 -0
  116. package/dist/types/plugins/toolbar/index.d.ts +1 -0
  117. package/dist/types/plugins/virtualization/AutoHeightList.d.ts +3 -0
  118. package/dist/types/plugins/virtualization/VirtualizationPlugin.d.ts +1 -0
  119. package/dist/types/plugins/virtualization/VirtualizedBody.d.ts +33 -0
  120. package/dist/types/plugins/virtualization/VirtualizedBodyRow.d.ts +8 -0
  121. package/dist/types/plugins/virtualization/helper.d.ts +1 -0
  122. package/dist/types/plugins/virtualization/index.d.ts +1 -0
  123. package/dist/types/renders/CellWithAddons.d.ts +52 -0
  124. package/dist/types/renders/index.d.ts +2 -0
  125. package/dist/types/renders/styled.d.ts +4 -0
  126. package/dist/types/rowSizes.d.ts +11 -0
  127. package/dist/types/stories/datagrids-export.stories.d.ts +1 -0
  128. package/dist/types/stories/datagrids-selectable-multi.stories.d.ts +1 -0
  129. package/dist/types/tests/DataGrid-Columns.test.d.ts +1 -0
  130. package/dist/types/tests/DataGrid-Editable.test.d.ts +1 -0
  131. package/dist/types/tests/DataGrid-Export.test.d.ts +1 -0
  132. package/dist/types/tests/DataGrid-Filter-helper.test.d.ts +1 -0
  133. package/dist/types/tests/DataGrid-Filterable-Dates.test.d.ts +1 -0
  134. package/dist/types/tests/DataGrid-Filterable-State.test.d.ts +1 -0
  135. package/dist/types/tests/DataGrid-RowDnd.test.d.ts +1 -0
  136. package/dist/types/tests/DataGrid-Selectable.test.d.ts +1 -0
  137. package/dist/types/tests/DataGrid-Sortable.test.d.ts +1 -0
  138. package/dist/types/tests/DataGrid-Toolbar.test.d.ts +1 -0
  139. package/dist/types/tests/DataGrid-Virtualization.test.d.ts +1 -0
  140. package/dist/types/tests/DataGrids-ColumnSizing.test.d.ts +1 -0
  141. package/dist/types/tests/DataGrids-ConditionalPagination.test.d.ts +1 -0
  142. package/dist/types/tests/DataGrids-Rows.test.d.ts +1 -0
  143. package/dist/types/tests/DataGrids.test.d.ts +1 -0
  144. package/dist/types/utilities/getPluginsFromProps.d.ts +2 -0
  145. package/dist/types/utilities/getScrollbarSize.d.ts +1 -0
  146. package/dist/types/utilities/normalizeData.d.ts +3 -0
  147. package/package.json +20 -20
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ export declare const FilterableHeader: {
4
+ ({ column, value, columnData, onAddFilter, onRemoveFilter, filterMenuRef, onFilterMenuClose, onFilterMenuOpen, filters, isMulti, }: {
5
+ column: any;
6
+ value: any;
7
+ columnData: any;
8
+ onAddFilter: any;
9
+ onRemoveFilter: any;
10
+ filterMenuRef: any;
11
+ onFilterMenuClose: any;
12
+ onFilterMenuOpen: any;
13
+ filters: any;
14
+ isMulti: any;
15
+ }): JSX.Element;
16
+ propTypes: {
17
+ column: PropTypes.Requireable<any>;
18
+ value: PropTypes.Requireable<any>;
19
+ columnData: PropTypes.Requireable<any>;
20
+ onAddFilter: PropTypes.Requireable<(...args: any[]) => any>;
21
+ onRemoveFilter: PropTypes.Requireable<(...args: any[]) => any>;
22
+ filterMenuRef: PropTypes.Requireable<any>;
23
+ onFilterMenuClose: PropTypes.Requireable<(...args: any[]) => any>;
24
+ onFilterMenuOpen: PropTypes.Requireable<(...args: any[]) => any>;
25
+ filters: PropTypes.Requireable<(PropTypes.InferProps<{}> | null | undefined)[]>;
26
+ isMulti: PropTypes.Requireable<boolean>;
27
+ };
28
+ };
29
+ export default FilterableHeader;
@@ -0,0 +1,31 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare function DateRangeFilterMenu({ column, className, isMenuOpened, onOpenMenu, placement, onAddFilter, dateFormatter, showHeader, menuProps, }: {
4
+ column: any;
5
+ className: any;
6
+ isMenuOpened?: boolean | undefined;
7
+ onOpenMenu?: (() => null) | undefined;
8
+ placement?: string | undefined;
9
+ onAddFilter?: (() => null) | undefined;
10
+ dateFormatter?: (({ startDate, endDate }: {
11
+ startDate: any;
12
+ endDate: any;
13
+ }, format?: string) => string) | undefined;
14
+ showHeader?: boolean | undefined;
15
+ menuProps: any;
16
+ }): JSX.Element;
17
+ declare namespace DateRangeFilterMenu {
18
+ var propTypes: {
19
+ column: PropTypes.Requireable<any>;
20
+ className: PropTypes.Requireable<string>;
21
+ isMenuOpened: PropTypes.Requireable<boolean>;
22
+ onOpenMenu: PropTypes.Requireable<(...args: any[]) => any>;
23
+ placement: PropTypes.Requireable<string>;
24
+ onAddFilter: PropTypes.Requireable<(...args: any[]) => any>;
25
+ dateFormatter: PropTypes.Requireable<any>;
26
+ showHeader: PropTypes.Requireable<boolean>;
27
+ menuProps: PropTypes.Requireable<any>;
28
+ };
29
+ }
30
+ export { DateRangeFilterMenu };
31
+ export default DateRangeFilterMenu;
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare function SingleDateFilterMenu({ column, className, isMenuOpened, onOpenMenu, placement, onAddFilter, dateFormatter, showHeader, menuProps, }: {
4
+ column: any;
5
+ className: any;
6
+ isMenuOpened?: boolean | undefined;
7
+ onOpenMenu?: (() => null) | undefined;
8
+ placement?: string | undefined;
9
+ onAddFilter?: (() => null) | undefined;
10
+ dateFormatter?: ((date: any, format?: string) => any) | undefined;
11
+ showHeader?: boolean | undefined;
12
+ menuProps: any;
13
+ }): JSX.Element;
14
+ declare namespace SingleDateFilterMenu {
15
+ var propTypes: {
16
+ column: PropTypes.Requireable<any>;
17
+ className: PropTypes.Requireable<string>;
18
+ isMenuOpened: PropTypes.Requireable<boolean>;
19
+ onOpenMenu: PropTypes.Requireable<(...args: any[]) => any>;
20
+ placement: PropTypes.Requireable<string>;
21
+ onAddFilter: PropTypes.Requireable<(...args: any[]) => any>;
22
+ dateFormatter: PropTypes.Requireable<any>;
23
+ showHeader: PropTypes.Requireable<boolean>;
24
+ menuProps: PropTypes.Requireable<any>;
25
+ };
26
+ }
27
+ export { SingleDateFilterMenu };
28
+ export default SingleDateFilterMenu;
@@ -0,0 +1,31 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare function SingleRangeSwitcherMenu({ column, className, isMenuOpened, onOpenMenu, placement, onAddFilter, dateFormatter, enableOutsideDays, menuProps, }: {
4
+ column: any;
5
+ className: any;
6
+ isMenuOpened?: boolean | undefined;
7
+ onOpenMenu?: ((...args: any[]) => void) | undefined;
8
+ placement?: string | undefined;
9
+ onAddFilter?: ((...args: any[]) => void) | undefined;
10
+ dateFormatter?: (({ startDate, endDate }: {
11
+ startDate: any;
12
+ endDate: any;
13
+ }, format?: string) => string) | undefined;
14
+ enableOutsideDays?: boolean | undefined;
15
+ menuProps: any;
16
+ }): JSX.Element;
17
+ declare namespace SingleRangeSwitcherMenu {
18
+ var propTypes: {
19
+ column: PropTypes.Requireable<any>;
20
+ className: PropTypes.Requireable<string>;
21
+ isMenuOpened: PropTypes.Requireable<boolean>;
22
+ onOpenMenu: PropTypes.Requireable<(...args: any[]) => any>;
23
+ placement: PropTypes.Requireable<string>;
24
+ onAddFilter: PropTypes.Requireable<(...args: any[]) => any>;
25
+ dateFormatter: PropTypes.Requireable<any>;
26
+ enableOutsideDays: PropTypes.Requireable<boolean>;
27
+ menuProps: PropTypes.Requireable<any>;
28
+ };
29
+ }
30
+ export { SingleRangeSwitcherMenu };
31
+ export default SingleRangeSwitcherMenu;
@@ -0,0 +1,36 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare function TextFilterMenu({ column, menuStyle, className, filters, isMenuOpened, onOpenMenu, onClose, placement, menuProps, onAddFilter, onRemoveFilter, maxOptions, isMulti, }: {
4
+ column: any;
5
+ menuStyle?: {} | undefined;
6
+ className: any;
7
+ filters?: never[] | undefined;
8
+ isMenuOpened?: boolean | undefined;
9
+ onOpenMenu?: (() => null) | undefined;
10
+ onClose?: (() => null) | undefined;
11
+ placement?: string | undefined;
12
+ menuProps?: {} | undefined;
13
+ onAddFilter?: (() => null) | undefined;
14
+ onRemoveFilter?: (() => null) | undefined;
15
+ maxOptions?: number | undefined;
16
+ isMulti?: boolean | undefined;
17
+ }): JSX.Element;
18
+ declare namespace TextFilterMenu {
19
+ var propTypes: {
20
+ column: PropTypes.Requireable<any>;
21
+ menuStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
22
+ className: PropTypes.Requireable<string>;
23
+ filters: PropTypes.Requireable<(PropTypes.InferProps<{}> | null | undefined)[]>;
24
+ isMenuOpened: PropTypes.Requireable<boolean>;
25
+ onOpenMenu: PropTypes.Requireable<(...args: any[]) => any>;
26
+ onClose: PropTypes.Requireable<(...args: any[]) => any>;
27
+ placement: PropTypes.Requireable<string>;
28
+ menuProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
29
+ onAddFilter: PropTypes.Requireable<(...args: any[]) => any>;
30
+ onRemoveFilter: PropTypes.Requireable<(...args: any[]) => any>;
31
+ maxOptions: PropTypes.Requireable<number>;
32
+ isMulti: PropTypes.Requireable<boolean>;
33
+ };
34
+ }
35
+ export { TextFilterMenu };
36
+ export default TextFilterMenu;
@@ -0,0 +1 @@
1
+ export declare const DEFAULT_DATE_FORMAT = "MM/DD/YYYY";
@@ -0,0 +1,2 @@
1
+ export declare const getFilterMenuByType: (type: any) => any;
2
+ export default getFilterMenuByType;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare const FilterableFormatter: ({ grid, onAddFilter, onRemoveFilter, query, filterMenuRef, }: {
3
+ grid: any;
4
+ onAddFilter: any;
5
+ onRemoveFilter: any;
6
+ query: any;
7
+ filterMenuRef: any;
8
+ }) => (value: any, { column }: {
9
+ column: any;
10
+ }) => JSX.Element;
11
+ export { FilterableFormatter };
12
+ export default FilterableFormatter;
@@ -0,0 +1,3 @@
1
+ export declare function filterRowsByQueryGroup(rows: any, query: any, composedRows: any): any;
2
+ export declare const filterRowsByQuery: (rows: any, query: any) => any;
3
+ export default filterRowsByQuery;
@@ -0,0 +1,2 @@
1
+ export declare const strategiesOperators: (op: any) => any;
2
+ export default strategiesOperators;
@@ -0,0 +1,22 @@
1
+ export declare const getFilterLabel: (column: any, value: any) => any;
2
+ export declare const getFilterLabels: (column: any, rows: any) => ({
3
+ id?: undefined;
4
+ label?: undefined;
5
+ } | {
6
+ id: any;
7
+ label: any;
8
+ })[];
9
+ export declare const getFilterLabelsGroup: (column: any, rows: any) => ({
10
+ id?: undefined;
11
+ label?: undefined;
12
+ } | {
13
+ id: any;
14
+ label: any;
15
+ })[];
16
+ export declare function getFilterValue(filter: any, column: any): any;
17
+ export declare function buildFilterArray(newFilter: any, filters: any): any[];
18
+ export declare const groupFilters: (filters: any) => any;
19
+ export declare function parseFiltersToQuery(filters: any): {
20
+ condition: string;
21
+ rules: never[];
22
+ };
@@ -0,0 +1 @@
1
+ export { FilterablePlugin } from './FilterablePlugin';
@@ -0,0 +1,18 @@
1
+ export declare function useFilterableState(grid: any): {
2
+ actions: {
3
+ addFilter: (filter: any, column: any) => void;
4
+ removeFilter: ({ group, pill, nextFilters }: {
5
+ group: any;
6
+ pill: any;
7
+ nextFilters: any;
8
+ }) => void;
9
+ removeAllFilters: () => void;
10
+ };
11
+ state: {
12
+ query: {
13
+ condition: string;
14
+ rules: never[];
15
+ };
16
+ filters: any;
17
+ };
18
+ };
@@ -0,0 +1 @@
1
+ export declare const GroupingByPlugin: any;
@@ -0,0 +1 @@
1
+ export declare const GroupingPlugin: any;
@@ -0,0 +1,9 @@
1
+ export declare function walkTreeStrategy({ data, childrenKey, level, getId, parentNode, shouldWalkChildren, cb, }: {
2
+ data: any;
3
+ childrenKey?: string | undefined;
4
+ level?: number | undefined;
5
+ getId?: ((item: any) => any) | undefined;
6
+ parentNode: any;
7
+ shouldWalkChildren?: (() => boolean) | undefined;
8
+ cb: any;
9
+ }): void;
@@ -0,0 +1,16 @@
1
+ export { BodyHeaderScrollSyncPlugin } from './body-header-scroll-sync';
2
+ export { DndColumnsPlugin } from './column-dnd';
3
+ export { ColumnSizingPlugin } from './column-sizing';
4
+ export { CustomRendererPlugin } from './custom-cell-renderer';
5
+ export { EditablePlugin, ComboBox, TextBox } from './editable';
6
+ export { ExpandableColumn, ExpandablePlugin } from './expandable-grid';
7
+ export { FilterablePlugin } from './filterable';
8
+ export { InfiniteScrollPlugin } from './infinite-scrolling';
9
+ export { PaginationPlugin } from './pagination';
10
+ export { ResizablePlugin } from './resizable';
11
+ export { DndRowsPlugin } from './row-dnd';
12
+ export { SelectablePlugin } from './selectable';
13
+ export { SortablePlugin } from './sortable';
14
+ export { ToolbarPlugin } from './toolbar';
15
+ export { ExportDataPlugin } from './export-data';
16
+ export { VirtualizationPlugin } from './virtualization';
@@ -0,0 +1 @@
1
+ export declare const InfiniteScrollPlugin: any;
@@ -0,0 +1 @@
1
+ export { InfiniteScrollPlugin } from './InfiniteScrollPlugin';
@@ -0,0 +1 @@
1
+ export declare const PaginationPlugin: any;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ declare const Pagination: ({ paginated, pagination, onPerPage, onPageSelect, paginationStep, maxPerPage, minPerPage, }: {
3
+ paginated: any;
4
+ pagination?: {} | undefined;
5
+ onPerPage: any;
6
+ onPageSelect: any;
7
+ paginationStep?: number | undefined;
8
+ maxPerPage?: number | undefined;
9
+ minPerPage?: number | undefined;
10
+ }) => JSX.Element | null;
11
+ export { Pagination };
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare const Paginator: ({ pagination, pages, onSelect, labelPrevious, labelNext }: {
3
+ pagination: any;
4
+ pages: any;
5
+ onSelect: any;
6
+ labelPrevious?: string | undefined;
7
+ labelNext?: string | undefined;
8
+ }) => JSX.Element;
9
+ export { Paginator };
10
+ export default Paginator;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare function PerPageDropdown({ min, max, step, value, onChange }: {
3
+ min?: number | undefined;
4
+ max?: number | undefined;
5
+ step?: number | undefined;
6
+ value?: number | undefined;
7
+ onChange?: (() => null) | undefined;
8
+ }): JSX.Element;
9
+ export { PerPageDropdown };
10
+ export default PerPageDropdown;
@@ -0,0 +1,18 @@
1
+ export declare const parsePerPageNumber: (number: any, max: any, min?: number) => any;
2
+ export declare const paginate: (rows: any, { page, perPage, amountOfPages: amount, totalRows }: {
3
+ page: any;
4
+ perPage?: number | undefined;
5
+ amountOfPages: any;
6
+ totalRows: any;
7
+ }) => {
8
+ amount: any;
9
+ rows: any;
10
+ page: any;
11
+ allRows?: undefined;
12
+ } | {
13
+ amount: number;
14
+ rows: any;
15
+ allRows: any;
16
+ page: number;
17
+ };
18
+ export default paginate;
@@ -0,0 +1 @@
1
+ export { PaginationPlugin } from './PaginationPlugin';
@@ -0,0 +1,9 @@
1
+ export declare function usePaginationState(grid: any): {
2
+ state: {
3
+ pagination: any;
4
+ };
5
+ actions: {
6
+ onPerPage: (perPageNumber: any) => void;
7
+ onPageSelect: (page: any) => void;
8
+ };
9
+ };
@@ -0,0 +1 @@
1
+ export declare const ResizablePlugin: any;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ declare const addResizableToColumn: (column: any, formatter: any) => any;
3
+ declare const resizableFormatter: (options: any) => (value: any) => JSX.Element;
4
+ export { addResizableToColumn, resizableFormatter };
@@ -0,0 +1 @@
1
+ export { ResizablePlugin } from './ResizablePlugin';
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export declare const useResizeHandle: ({ onDragStart, onDrag, onDragEnd, minWidth, isLast, }: {
3
+ onDragStart: any;
4
+ onDrag: any;
5
+ onDragEnd: any;
6
+ minWidth?: number | undefined;
7
+ isLast?: boolean | undefined;
8
+ }) => {
9
+ containerRef: React.MutableRefObject<undefined>;
10
+ Handle: ({ className }: {
11
+ className?: string | undefined;
12
+ }) => JSX.Element;
13
+ };
@@ -0,0 +1,3 @@
1
+ export declare const isPercentNumber: (stringNumber: any) => boolean;
2
+ export declare const isPxNumber: (stringNumber: any) => boolean;
3
+ export declare const translatePercentageToPx: (this: any, totalWidth: any, percentage: any, minWidth?: any) => any;
@@ -0,0 +1 @@
1
+ export declare const DndRowsPlugin: any;
@@ -0,0 +1 @@
1
+ export { DndRowsPlugin } from './DndRowsPlugin';
@@ -0,0 +1 @@
1
+ export declare const SelectablePlugin: any;
@@ -0,0 +1,30 @@
1
+ export declare function selectionColumnCreator({ grid, selectAll, selectionComponent, onSelectRow, onSelectAll, multiple, multiSelectFilterLabel, multiSelectFilterOptions, multiSelectFilterLabels, multiSelectComponent, }: {
2
+ grid: any;
3
+ selectAll: any;
4
+ selectionComponent: any;
5
+ onSelectRow: any;
6
+ onSelectAll: any;
7
+ multiple: any;
8
+ multiSelectFilterLabel: any;
9
+ multiSelectFilterOptions: any;
10
+ multiSelectFilterLabels: any;
11
+ multiSelectComponent: any;
12
+ }): ({ visible, isDataColumn, width, minWidth, cellRenderer, headerCellRenderer, customRenderer, header, ...column }?: {
13
+ visible?: boolean | undefined;
14
+ isDataColumn?: boolean | undefined;
15
+ width?: number | undefined;
16
+ minWidth: any;
17
+ cellRenderer: any;
18
+ headerCellRenderer: any;
19
+ customRenderer: any;
20
+ header: any;
21
+ }) => {
22
+ property: string;
23
+ filterLabel: any;
24
+ filterOptions: any;
25
+ filterLabels: any;
26
+ visible: boolean;
27
+ width: number;
28
+ minWidth: any;
29
+ isDataColumn: boolean;
30
+ };
@@ -0,0 +1,5 @@
1
+ export declare const checkAllRowsSelected: (rows: any, selectedRows: any) => boolean | "mixed";
2
+ export declare const toggleSelectAll: (rows: any, checked: any) => any;
3
+ export declare const toggleSingleSelectable: (selectedRows: any, id: any) => any;
4
+ export declare const selectSingleRow: (rows: any, filter: any) => any;
5
+ export declare const selectMultipleRow: (rows: any, isRowSelectedPredicate: any) => any;
@@ -0,0 +1 @@
1
+ export { SelectablePlugin } from './SelectablePlugin';
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare const selectableFormatter: ({ isMultiSelect, renderer, className, isHeader, onSelect }: {
3
+ isMultiSelect?: boolean | undefined;
4
+ renderer: any;
5
+ className: any;
6
+ isHeader: any;
7
+ onSelect: any;
8
+ }, grid: any) => (valueRender: any, extraParams: any) => JSX.Element;
9
+ export { selectableFormatter };
10
+ export default selectableFormatter;
@@ -0,0 +1,9 @@
1
+ export declare function useSelectableState(grid: any): {
2
+ actions: {
3
+ selectRow: (id: any, index: any, shift?: boolean, lastSelectedRow?: null) => void;
4
+ selectAll: (checked: any) => void;
5
+ };
6
+ state: {
7
+ selection: any;
8
+ };
9
+ };
@@ -0,0 +1 @@
1
+ export declare const SortablePlugin: any;
@@ -0,0 +1,2 @@
1
+ export declare const checkIfSortable: (column: any, rows: any) => boolean;
2
+ export default checkIfSortable;
@@ -0,0 +1 @@
1
+ export { SortablePlugin } from './SortablePlugin';
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const sortHeaderFormatter: (sortable: any, grid: any) => (value: any, { columnIndex, property }: {
3
+ columnIndex: any;
4
+ property: any;
5
+ }) => JSX.Element;
6
+ export { sortHeaderFormatter };
7
+ export default sortHeaderFormatter;
@@ -0,0 +1,3 @@
1
+ declare function sortTree(sortConfig: any): (rows: any) => any;
2
+ export { sortTree };
3
+ export default sortTree;
@@ -0,0 +1,12 @@
1
+ export declare const sorter: ({ columns, sortingColumns, sort, emptyLast }?: {
2
+ columns: any;
3
+ sortingColumns: any;
4
+ sort: any;
5
+ emptyLast: any;
6
+ }) => (data: any) => any;
7
+ export declare const sorterGroups: ({ columns, sortingColumns, sort, emptyLast }?: {
8
+ columns: any;
9
+ sortingColumns: any;
10
+ sort: any;
11
+ emptyLast: any;
12
+ }) => (data: any, rowsData: any) => any;
@@ -0,0 +1,8 @@
1
+ export declare function useSortableState(grid: any): {
2
+ state: {
3
+ sortingColumns: any;
4
+ };
5
+ actions: {
6
+ sort: (selectedColumn: any) => void;
7
+ };
8
+ };
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ export declare const RowRenderer: (Row: any, grid: any) => {
4
+ (props: any): JSX.Element;
5
+ propTypes: {
6
+ rowData: PropTypes.Requireable<any>;
7
+ index: PropTypes.Requireable<number>;
8
+ rowIndex: PropTypes.Requireable<number>;
9
+ style: PropTypes.Requireable<any>;
10
+ };
11
+ };
@@ -0,0 +1 @@
1
+ export declare const ToolbarPlugin: any;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare const ToolbarTrigger: ({ grid, rowData, hasScrollBar, rowRef }: {
3
+ grid: any;
4
+ rowData: any;
5
+ hasScrollBar: any;
6
+ rowRef: any;
7
+ }) => JSX.Element;
8
+ export default ToolbarTrigger;
@@ -0,0 +1 @@
1
+ export { ToolbarPlugin } from './ToolbarPlugin';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const AutoHeightList: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
3
+ export default AutoHeightList;
@@ -0,0 +1 @@
1
+ export declare const VirtualizationPlugin: any;
@@ -0,0 +1,33 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const VirtualizedBody: {
4
+ (props: any): JSX.Element;
5
+ defaultProps: {
6
+ rows: never[];
7
+ overscanCount: number;
8
+ };
9
+ propTypes: {
10
+ autoScrollToId: PropTypes.Requireable<number>;
11
+ columns: PropTypes.Requireable<(PropTypes.InferProps<{}> | null | undefined)[]>;
12
+ component: PropTypes.Requireable<PropTypes.ReactElementLike>;
13
+ expandable: PropTypes.Requireable<boolean>;
14
+ filters: PropTypes.Requireable<any>;
15
+ innerRef: PropTypes.Requireable<any>;
16
+ innerBody: PropTypes.Requireable<any>;
17
+ isPlaceholderActive: PropTypes.Requireable<boolean>;
18
+ listProps: PropTypes.Requireable<PropTypes.InferProps<{
19
+ itemSize: PropTypes.Requireable<(...args: any[]) => any>;
20
+ outerRef: PropTypes.Requireable<any>;
21
+ }>>;
22
+ noResultsPlaceholder: PropTypes.Requireable<PropTypes.Requireable<PropTypes.ReactElementLike> | PropTypes.Requireable<string>>;
23
+ overscanCount: PropTypes.Requireable<number>;
24
+ rows: PropTypes.Requireable<(PropTypes.InferProps<{}> | null | undefined)[]>;
25
+ rowHeight: PropTypes.Requireable<number>;
26
+ rowKey: PropTypes.Requireable<string>;
27
+ rowRenderer: PropTypes.Requireable<PropTypes.ReactElementLike>;
28
+ rowSize: PropTypes.Requireable<any>;
29
+ setHasScroll: PropTypes.Requireable<(...args: any[]) => any>;
30
+ };
31
+ };
32
+ export { VirtualizedBody };
33
+ export default VirtualizedBody;
@@ -0,0 +1,8 @@
1
+ export declare const VirtualizedBodyRow: ({ data, index, style, key, isScrolling }: {
2
+ data: any;
3
+ index: any;
4
+ style: any;
5
+ key: any;
6
+ isScrolling: any;
7
+ }) => any;
8
+ export default VirtualizedBodyRow;
@@ -0,0 +1 @@
1
+ export declare const isSafari: boolean | "";
@@ -0,0 +1 @@
1
+ export { VirtualizationPlugin } from './VirtualizationPlugin';