@elliemae/ds-datagrids 3.17.0-next.10 → 3.17.0-next.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/dist/types/DSDataGrid.d.ts +453 -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 +11 -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 +16 -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 +6 -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 +12 -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/tests/DataGrid-Columns.test.d.ts +1 -0
  128. package/dist/types/tests/DataGrid-Editable.test.d.ts +1 -0
  129. package/dist/types/tests/DataGrid-Export.test.d.ts +1 -0
  130. package/dist/types/tests/DataGrid-Filter-helper.test.d.ts +1 -0
  131. package/dist/types/tests/DataGrid-Filterable-Dates.test.d.ts +1 -0
  132. package/dist/types/tests/DataGrid-Filterable-State.test.d.ts +1 -0
  133. package/dist/types/tests/DataGrid-RowDnd.test.d.ts +1 -0
  134. package/dist/types/tests/DataGrid-Selectable.test.d.ts +1 -0
  135. package/dist/types/tests/DataGrid-Sortable.test.d.ts +1 -0
  136. package/dist/types/tests/DataGrid-Toolbar.test.d.ts +1 -0
  137. package/dist/types/tests/DataGrid-Virtualization.test.d.ts +1 -0
  138. package/dist/types/tests/DataGrids-ColumnSizing.test.d.ts +1 -0
  139. package/dist/types/tests/DataGrids-ConditionalPagination.test.d.ts +1 -0
  140. package/dist/types/tests/DataGrids-Rows.test.d.ts +1 -0
  141. package/dist/types/tests/DataGrids.test.d.ts +1 -0
  142. package/dist/types/utilities/getPluginsFromProps.d.ts +2 -0
  143. package/dist/types/utilities/getScrollbarSize.d.ts +1 -0
  144. package/dist/types/utilities/normalizeData.d.ts +3 -0
  145. package/package.json +20 -20
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare const NoResults: ({ innerRef, rowRenderer, children, ...rest }: {
3
+ [x: string]: any;
4
+ innerRef: any;
5
+ rowRenderer: any;
6
+ children: any;
7
+ }) => JSX.Element;
8
+ export default NoResults;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const RowsLoader: ({ size }: {
3
+ size?: string | undefined;
4
+ }) => JSX.Element;
5
+ export default RowsLoader;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ declare const Table: {
3
+ (props: any): JSX.Element;
4
+ Header: (props: any) => JSX.Element;
5
+ Body: React.NamedExoticComponent<object>;
6
+ };
7
+ export { Table };
8
+ export default Table;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ declare const TableBody: React.NamedExoticComponent<object>;
3
+ export { TableBody };
4
+ export default TableBody;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ declare const TableHeader: (props: any) => JSX.Element;
3
+ export { TableHeader };
4
+ export default TableHeader;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const addOptionalFooterComponents: ({ grid, rows }: {
3
+ grid: any;
4
+ rows: any;
5
+ }) => JSX.Element | null;
6
+ export { addOptionalFooterComponents };
7
+ export default addOptionalFooterComponents;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare const PrimaryControls: ({ onAddFilter }: {
3
+ onAddFilter?: (() => null) | undefined;
4
+ }) => JSX.Element;
5
+ export { PrimaryControls };
6
+ export default PrimaryControls;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ export declare const addOptionalHeaderComponents: {
4
+ ({ grid }: {
5
+ grid: any;
6
+ }): JSX.Element;
7
+ propTypes: {
8
+ grid: PropTypes.Requireable<any>;
9
+ };
10
+ };
11
+ export default addOptionalHeaderComponents;
@@ -0,0 +1,5 @@
1
+ export { default as HeaderCell } from './HeaderCell.js';
2
+ export { default as BodyCell } from './BodyCell.js';
3
+ export { default as TableBody } from './TableBody.js';
4
+ export { default as TableHeader } from './TableHeader.js';
5
+ export { default as Table } from './Table.js';
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export declare const NoResultsContainer: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
3
+ export declare const SpinnerContainer: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
4
+ export declare const DatagridWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
5
+ export declare const TableWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
6
+ export declare const HeaderWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
7
+ export declare const HeaderRow: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
8
+ export declare const HeaderCell: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
9
+ export declare const BodyWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
10
+ export declare const BodyRow: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
11
+ export declare const BodyCell: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ export { renderRowsLoader } from './renderRowsLoader.js';
3
+ export declare const defaultRenderers: {
4
+ table: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
5
+ header: {
6
+ wrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
7
+ row: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
8
+ cell: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
9
+ };
10
+ body: {
11
+ wrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
12
+ row: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
13
+ cell: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
14
+ };
15
+ };
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const renderRowsLoader: () => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const TableContext: React.Context<unknown>;
@@ -0,0 +1 @@
1
+ export declare const defaultPlugins: ((decorators: any) => any)[];
@@ -0,0 +1,9 @@
1
+ export { DSDataGrid } from './DSDataGrid.js';
2
+ export { DSDataGridsWithSchema } from './DSDataGrid.js';
3
+ export { ColumnsOptionsMenuSection } from './components/ColumnsOptionsMenuSection.js';
4
+ export { getColumnVisibilityMenuOption } from './components/ColumnVisibilityMenuOption.js';
5
+ export { EmptyState } from './components/EmptyState.js';
6
+ export { IconColumn } from './columns/IconColumn.js';
7
+ export { BodyHeaderScrollSyncPlugin, DndColumnsPlugin, ColumnSizingPlugin, CustomRendererPlugin, EditablePlugin, ComboBox, TextBox, ExpandablePlugin, ExpandableColumn, FilterablePlugin, InfiniteScrollPlugin, PaginationPlugin, ResizablePlugin, DndRowsPlugin, SelectablePlugin, SortablePlugin, ToolbarPlugin, ExportDataPlugin, VirtualizationPlugin, } from './plugins/index.js';
8
+ export { RowSizes, RowSizesOptions, RowSizesOptionsArr } from './rowSizes.js';
9
+ export { CellWithAddons, CellContainer } from './renders/index.js';
@@ -0,0 +1 @@
1
+ export declare const BodyHeaderScrollSyncPlugin: (decorators: any) => any;
@@ -0,0 +1 @@
1
+ export { BodyHeaderScrollSyncPlugin } from './BodyHeaderScrollSyncPlugin.js';
@@ -0,0 +1 @@
1
+ export declare const DndColumnsPlugin: (decorators: any) => any;
@@ -0,0 +1,2 @@
1
+ declare const addDragAndDropToColumn: (grid: any, column: any) => any;
2
+ export { addDragAndDropToColumn };
@@ -0,0 +1 @@
1
+ export { DndColumnsPlugin } from './DndColumnsPlugin.js';
@@ -0,0 +1 @@
1
+ export declare const ColumnSizingPlugin: (decorators: any) => any;
@@ -0,0 +1,6 @@
1
+ export declare const columnMeasurerTransformer: (columnSizeService: any) => (value: any, { column, grid }: {
2
+ column: any;
3
+ grid: any;
4
+ }, props?: {}) => {
5
+ innerRef: (node: HTMLElement | null) => void;
6
+ };
@@ -0,0 +1 @@
1
+ export declare function decorateColumn(column: any, grid: any, index: any): any;
@@ -0,0 +1,10 @@
1
+ export declare function getTableProps(tableProps: any, { refs, tableRef, bodyWidth, scrollbarWidth, isDragging, columnSizeService, updateRowWidth, columns }: {
2
+ refs: any;
3
+ tableRef: any;
4
+ bodyWidth: any;
5
+ scrollbarWidth: any;
6
+ isDragging: any;
7
+ columnSizeService: any;
8
+ updateRowWidth: any;
9
+ columns: any;
10
+ }): any;
@@ -0,0 +1,2 @@
1
+ export declare const getColumnNameFromProperty: (property: any) => any;
2
+ export default getColumnNameFromProperty;
@@ -0,0 +1 @@
1
+ export { ColumnSizingPlugin } from './ColumnSizingPlugin.js';
@@ -0,0 +1,18 @@
1
+ export declare const useColumnSizeService: (instance: any) => {
2
+ columns: {};
3
+ expandedToContentColumns: {};
4
+ initialUsedSpace: {
5
+ space: number;
6
+ amount: number;
7
+ percentage: number;
8
+ };
9
+ increaseUsedSpace: (space: any, columnUuid: any) => void;
10
+ registerColumn: (column: any) => (node: any) => any;
11
+ unregisterColumn: (column: any) => void;
12
+ updateMissingWidths: (totalWidth: any) => void;
13
+ computeColumnsTotalSize: () => unknown;
14
+ setActualColumnsSizesFixed: () => void;
15
+ expandableGridDetailWidth: number;
16
+ expandableColumnWidth: number;
17
+ };
18
+ export default useColumnSizeService;
@@ -0,0 +1,22 @@
1
+ export declare const RowStylesheetHelper: ({ grid, className }: {
2
+ grid: any;
3
+ className: any;
4
+ }) => {
5
+ update: (width: any) => void;
6
+ remove: () => any;
7
+ getRowClassName: () => any;
8
+ };
9
+ export declare function useStylesheetHelpers(grid: any): {
10
+ columnsStylesheet: {
11
+ decorateColumns: (columns: any, grid: any) => any;
12
+ getColumnCellClassName(column: any): string;
13
+ getColumnHeaderClassName(column: any): string;
14
+ cleanup(): void;
15
+ };
16
+ rowsStylesheet: {
17
+ update: (width: any) => void;
18
+ remove: () => any;
19
+ getRowClassName: () => any;
20
+ };
21
+ rowClassName: string;
22
+ };
@@ -0,0 +1,5 @@
1
+ export declare function getScrollbarSizeFromHeaderAndBody(refs: any): number;
2
+ export declare const isScrollbarVisible: (element: any) => boolean;
3
+ export declare const getPercentageValue: (percentString: any) => number | null;
4
+ export declare const getColumnWidthSize: (width: any, minWidth: any, column: any) => any;
5
+ export declare const calculateMinWidthForWrappedText: (columns: any) => number;
@@ -0,0 +1 @@
1
+ export declare const CustomRendererPlugin: (decorators: any) => any;
@@ -0,0 +1,4 @@
1
+ export declare const getRenderer: (renderer: any, grid: any, column: any) => (value: any, metaData: any) => any;
2
+ declare const addCustomRendererToCell: (grid: any) => (column: any) => any;
3
+ export { addCustomRendererToCell };
4
+ export default addCustomRendererToCell;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare const getRendererComponent: ({ props }: {
3
+ props: any;
4
+ }, { type, handlers, ...rest }: {
5
+ [x: string]: any;
6
+ type?: string | undefined;
7
+ handlers: any;
8
+ }, { rowData }: {
9
+ rowData: any;
10
+ }) => JSX.Element;
11
+ export { getRendererComponent };
12
+ export default getRendererComponent;
@@ -0,0 +1 @@
1
+ export { CustomRendererPlugin } from './CustomRendererPlugin.js';
@@ -0,0 +1,12 @@
1
+ import { Component } from 'react';
2
+ declare class ComboBox extends Component {
3
+ static defaultProps: {
4
+ onValue: () => null;
5
+ };
6
+ constructor(props: any);
7
+ handleChange: (value: any) => void;
8
+ handleBlur: () => void;
9
+ render(): JSX.Element;
10
+ }
11
+ export { ComboBox };
12
+ export default ComboBox;
@@ -0,0 +1,24 @@
1
+ import { Component } from 'react';
2
+ declare class TextBox extends Component {
3
+ static defaultProps: {
4
+ onValue: () => null;
5
+ };
6
+ constructor(props: any);
7
+ componentDidMount(): void;
8
+ handleKeyUp: ({ key, target: { value } }: {
9
+ key: any;
10
+ target: {
11
+ value: any;
12
+ };
13
+ }) => void;
14
+ handleKeyDown: (e: any) => void;
15
+ handleBlur: (e: any) => void;
16
+ handleChange: ({ target: { value } }: {
17
+ target: {
18
+ value: any;
19
+ };
20
+ }) => void;
21
+ render(): JSX.Element;
22
+ }
23
+ export { TextBox };
24
+ export default TextBox;
@@ -0,0 +1,2 @@
1
+ export { default as ComboBox } from './ComboBox.js';
2
+ export { default as TextBox } from './TextBox.js';
@@ -0,0 +1 @@
1
+ export declare const EditablePlugin: (decorators: any) => any;
@@ -0,0 +1,7 @@
1
+ declare const makeEditableConfig: (grid: any) => any;
2
+ declare const addEditableToCell: ({ column, config, handlers }: {
3
+ column: any;
4
+ config: any;
5
+ handlers: any;
6
+ }, grid: any) => any;
7
+ export { makeEditableConfig, addEditableToCell };
@@ -0,0 +1,7 @@
1
+ declare const getEditorComponent: (editorComponent: {} | undefined, handlers: any) => ({ value, onValue, extraParameters }: {
2
+ value: any;
3
+ onValue: any;
4
+ extraParameters: any;
5
+ }) => any;
6
+ export { getEditorComponent };
7
+ export default getEditorComponent;
@@ -0,0 +1,2 @@
1
+ export { EditablePlugin } from './EditablePlugin.js';
2
+ export { ComboBox, TextBox } from './EditableComponents/index.js';
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ export declare const ExpandableColumn: ({ property, label, renderRowLabel, renderRowDescription, renderExtraData, width, resizable, sortable, searchable, customRenderer, ...rest }: {
3
+ [x: string]: any;
4
+ property: any;
5
+ label: any;
6
+ renderRowLabel?: (() => string) | undefined;
7
+ renderRowDescription?: (() => null) | undefined;
8
+ renderExtraData?: (() => null) | undefined;
9
+ width: any;
10
+ resizable: any;
11
+ sortable: any;
12
+ searchable: any;
13
+ customRenderer: any;
14
+ }) => {
15
+ label: any;
16
+ property: any;
17
+ cell: {
18
+ formatters: ((value: any, { rowData, isExpanded }: {
19
+ rowData: any;
20
+ isExpanded: any;
21
+ }, grid: any) => JSX.Element)[];
22
+ };
23
+ width: any;
24
+ expandableColumn: boolean;
25
+ resizable: any;
26
+ sortable: any;
27
+ searchable: any;
28
+ };
29
+ export default ExpandableColumn;
@@ -0,0 +1 @@
1
+ export declare const ExpandablePlugin: (decorators: any) => any;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare const ExpandedRow: ({ parentGrid, detailColumns, rowData, rows, rowProps, cellComponent: CellComponent, rowComponent: RowComponent, }: {
3
+ parentGrid: any;
4
+ detailColumns: any;
5
+ rowData: any;
6
+ rows: any;
7
+ rowProps: any;
8
+ cellComponent: any;
9
+ rowComponent: any;
10
+ }) => JSX.Element;
11
+ export { ExpandedRow };
12
+ export default ExpandedRow;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare const ExpandedRowExtra: ({ children, rowData, rowProps, rowComponent: RowComponent, renderRowDetails, }: {
3
+ children: any;
4
+ rowData: any;
5
+ rowProps: any;
6
+ rowComponent: any;
7
+ renderRowDetails?: (() => null) | undefined;
8
+ }) => JSX.Element;
9
+ export { ExpandedRowExtra };
10
+ export default ExpandedRowExtra;
@@ -0,0 +1,2 @@
1
+ export { ExpandablePlugin } from './ExpandablePlugin.js';
2
+ export { ExpandableColumn } from './ExpandableColumn.js';
@@ -0,0 +1,16 @@
1
+ export declare const useExpandGridState: (grid: any) => {
2
+ state: {
3
+ expandedRows: Record<string, boolean>;
4
+ isExpandedAll: boolean;
5
+ shouldRefocus: boolean;
6
+ };
7
+ actions: {
8
+ expandRow: (row: any) => void;
9
+ toggleExpandAllRows: (stateData?: boolean | undefined) => void;
10
+ toggleExpand: (row: any) => void;
11
+ toggleShowAllRows: (row: any) => void;
12
+ collapseRow: (item: {
13
+ [x: string]: string;
14
+ }) => void;
15
+ };
16
+ };
@@ -0,0 +1,4 @@
1
+ export declare const getColumnValue: (row: any, property: any) => any;
2
+ export declare const getVisibleRowData: (row: any, columns: any) => any;
3
+ export declare const getExportedData: (rows: any, columns: any, range: any) => string;
4
+ export declare const ExportDataPlugin: (decorators: any) => any;
@@ -0,0 +1 @@
1
+ export { ExportDataPlugin } from './ExportDataPlugin.js';
@@ -0,0 +1 @@
1
+ export declare const FilterablePlugin: (decorators: any) => any;
@@ -0,0 +1 @@
1
+ export declare const addFilterToColumn: (props: any, column: any) => any;
@@ -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 const DateRangeFilterMenu: {
4
+ ({ column, className, isMenuOpened, onOpenMenu, placement, onAddFilter, dateFormatter, showHeader, menuProps, }: {
5
+ column: any;
6
+ className: any;
7
+ isMenuOpened?: boolean | undefined;
8
+ onOpenMenu?: (() => null) | undefined;
9
+ placement?: string | undefined;
10
+ onAddFilter?: (() => null) | undefined;
11
+ dateFormatter?: (({ startDate, endDate }: {
12
+ startDate: any;
13
+ endDate: any;
14
+ }, format?: string) => string) | undefined;
15
+ showHeader?: boolean | undefined;
16
+ menuProps: any;
17
+ }): JSX.Element;
18
+ 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 const SingleDateFilterMenu: {
4
+ ({ column, className, isMenuOpened, onOpenMenu, placement, onAddFilter, dateFormatter, showHeader, menuProps, }: {
5
+ column: any;
6
+ className: any;
7
+ isMenuOpened?: boolean | undefined;
8
+ onOpenMenu?: (() => null) | undefined;
9
+ placement?: string | undefined;
10
+ onAddFilter?: (() => null) | undefined;
11
+ dateFormatter?: ((date: any, format?: string) => any) | undefined;
12
+ showHeader?: boolean | undefined;
13
+ menuProps: any;
14
+ }): JSX.Element;
15
+ 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 const SingleRangeSwitcherMenu: {
4
+ ({ column, className, isMenuOpened, onOpenMenu, placement, onAddFilter, dateFormatter, enableOutsideDays, menuProps, }: {
5
+ column: any;
6
+ className: any;
7
+ isMenuOpened?: boolean | undefined;
8
+ onOpenMenu?: ((...args: any[]) => void) | undefined;
9
+ placement?: string | undefined;
10
+ onAddFilter?: ((...args: any[]) => void) | undefined;
11
+ dateFormatter?: (({ startDate, endDate }: {
12
+ startDate: any;
13
+ endDate: any;
14
+ }, format?: string) => string) | undefined;
15
+ enableOutsideDays?: boolean | undefined;
16
+ menuProps: any;
17
+ }): JSX.Element;
18
+ 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 const TextFilterMenu: {
4
+ ({ column, menuStyle, className, filters, isMenuOpened, onOpenMenu, onClose, placement, menuProps, onAddFilter, onRemoveFilter, maxOptions, isMulti, }: {
5
+ column: any;
6
+ menuStyle?: {} | undefined;
7
+ className: any;
8
+ filters?: never[] | undefined;
9
+ isMenuOpened?: boolean | undefined;
10
+ onOpenMenu?: (() => null) | undefined;
11
+ onClose?: (() => null) | undefined;
12
+ placement?: string | undefined;
13
+ menuProps?: {} | undefined;
14
+ onAddFilter?: (() => null) | undefined;
15
+ onRemoveFilter?: (() => null) | undefined;
16
+ maxOptions?: number | undefined;
17
+ isMulti?: boolean | undefined;
18
+ }): JSX.Element;
19
+ 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;