@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,13 @@
1
+ /// <reference types="react" />
2
+ declare const DataGridImpl: ({ className, renderers, columns, rows, containerProps, plugins: pluginsProp, normalizeDataKeys, ...otherProps }: {
3
+ [x: string]: any;
4
+ className: any;
5
+ renderers: any;
6
+ columns: any;
7
+ rows: any;
8
+ containerProps: any;
9
+ plugins: any;
10
+ normalizeDataKeys: any;
11
+ }) => JSX.Element;
12
+ export { DataGridImpl };
13
+ export default DataGridImpl;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ declare function PaginatedDataGrid({ columns, rows, showRowsLoader, noResultsPlaceholder, rowsLoaderRenderer, maxPerPage, minPerPage, onPageSelect, onPerPage, pagination, ...otherProps }: {
3
+ [x: string]: any;
4
+ columns: any;
5
+ rows: any;
6
+ showRowsLoader: any;
7
+ noResultsPlaceholder: any;
8
+ rowsLoaderRenderer?: (() => JSX.Element) | undefined;
9
+ maxPerPage: any;
10
+ minPerPage: any;
11
+ onPageSelect: any;
12
+ onPerPage: any;
13
+ pagination: any;
14
+ }): JSX.Element;
15
+ export default PaginatedDataGrid;
@@ -0,0 +1,4 @@
1
+ declare const dataGridBlockName = "data-grid";
2
+ declare const headerBlockName: string;
3
+ declare const bodyBlockName: string;
4
+ export { dataGridBlockName, headerBlockName, bodyBlockName };
@@ -0,0 +1,36 @@
1
+ /// <reference types="react" />
2
+ export declare const IconColumn: ({ property, label, headerIcon, getRowIcon, isVisited, intent, width, onClick, visible, resizable, sortable, searchable, }: {
3
+ property: any;
4
+ label: any;
5
+ headerIcon: any;
6
+ getRowIcon?: (() => null) | undefined;
7
+ isVisited?: (() => null) | undefined;
8
+ intent?: string | undefined;
9
+ width?: number | undefined;
10
+ onClick: any;
11
+ visible: any;
12
+ resizable: any;
13
+ sortable: any;
14
+ searchable: any;
15
+ }) => {
16
+ property: any;
17
+ label: any;
18
+ headerStyle: {
19
+ justifyContent: string;
20
+ };
21
+ header: {
22
+ formatters: (() => JSX.Element)[];
23
+ };
24
+ cell: {
25
+ formatters: ((value: any, extraParams: any) => JSX.Element)[];
26
+ };
27
+ cellStyle: {
28
+ justifyContent: string;
29
+ };
30
+ width: number;
31
+ visible: any;
32
+ resizable: any;
33
+ sortable: any;
34
+ searchable: any;
35
+ };
36
+ export default IconColumn;
@@ -0,0 +1,4 @@
1
+ export default function createNumberColumn({ label, property }: {
2
+ label: any;
3
+ property: any;
4
+ }): void;
@@ -0,0 +1,34 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const BodyCell: {
4
+ ({ component: Component, classProps, rowProps, column, columnIndex, rowIndex, grid }: {
5
+ component: any;
6
+ classProps: any;
7
+ rowProps: any;
8
+ column: any;
9
+ columnIndex: any;
10
+ rowIndex: any;
11
+ grid: any;
12
+ }): JSX.Element;
13
+ propTypes: {
14
+ component: PropTypes.Requireable<PropTypes.ReactElementLike>;
15
+ classProps: PropTypes.Requireable<PropTypes.InferProps<{
16
+ wrapText: PropTypes.Requireable<boolean>;
17
+ }>>;
18
+ rowProps: PropTypes.Requireable<PropTypes.InferProps<{
19
+ rowData: PropTypes.Requireable<PropTypes.InferProps<{}>>;
20
+ rowKey: PropTypes.Requireable<string>;
21
+ isScrolling: PropTypes.Requireable<boolean>;
22
+ }>>;
23
+ column: PropTypes.Requireable<PropTypes.InferProps<{
24
+ property: PropTypes.Requireable<string>;
25
+ cell: PropTypes.Requireable<any>;
26
+ props: PropTypes.Requireable<PropTypes.InferProps<{}>>;
27
+ }>>;
28
+ columnIndex: PropTypes.Requireable<number>;
29
+ rowIndex: PropTypes.Requireable<number>;
30
+ grid: PropTypes.Requireable<any>;
31
+ };
32
+ };
33
+ export { BodyCell };
34
+ export default BodyCell;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ declare function BodyWrapperDefaultRenderer({ component: Component, rows, rowRenderer, noResultsPlaceholder, innerRef, innerBodyRef, ...otherBodyProps }: {
3
+ [x: string]: any;
4
+ component: any;
5
+ rows: any;
6
+ rowRenderer: any;
7
+ noResultsPlaceholder: any;
8
+ innerRef: any;
9
+ innerBodyRef: any;
10
+ }): JSX.Element;
11
+ declare const _default: React.MemoExoticComponent<typeof BodyWrapperDefaultRenderer>;
12
+ export default _default;
@@ -0,0 +1,15 @@
1
+ export declare const getColumnVisibilityMenuOption: ({ columns, onColumnVisibilityChange, searchable, height, }: {
2
+ columns: any;
3
+ onColumnVisibilityChange: any;
4
+ searchable: any;
5
+ height: any;
6
+ }) => {
7
+ type: string;
8
+ id: string;
9
+ multi: boolean;
10
+ searchable: any;
11
+ closeOnClick: boolean;
12
+ active: any;
13
+ items: any;
14
+ height: any;
15
+ };
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const ColumnsOptionsMenuSection: ({ columns, onColumnVisibilityChange, searchable, height, }: {
3
+ columns: any;
4
+ onColumnVisibilityChange: any;
5
+ searchable?: boolean | undefined;
6
+ height: any;
7
+ }) => () => JSX.Element;
8
+ export { ColumnsOptionsMenuSection };
9
+ export default ColumnsOptionsMenuSection;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export declare const EmptyState: ({ primaryMessage, secondaryMessage, buttonLabel, onButtonClick, }: {
3
+ primaryMessage?: string | undefined;
4
+ secondaryMessage: any;
5
+ buttonLabel: any;
6
+ onButtonClick?: (() => void) | undefined;
7
+ }) => JSX.Element;
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ export declare const HeaderCell: {
4
+ ({ column, columnIndex, component: Component, classProps, grid }: {
5
+ column: any;
6
+ columnIndex: any;
7
+ component: any;
8
+ classProps: any;
9
+ grid: any;
10
+ }): JSX.Element;
11
+ propTypes: {
12
+ column: PropTypes.Requireable<any>;
13
+ columnIndex: PropTypes.Requireable<number>;
14
+ component: PropTypes.Requireable<any>;
15
+ classProps: PropTypes.Requireable<any>;
16
+ grid: PropTypes.Requireable<any>;
17
+ };
18
+ };
19
+ export default HeaderCell;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare function List(props: any, instance: any): JSX.Element;
3
+ export default List;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare function ListItem(props: any, instance: any): JSX.Element;
3
+ export default ListItem;
@@ -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';
2
+ export { default as BodyCell } from './BodyCell';
3
+ export { default as TableBody } from './TableBody';
4
+ export { default as TableHeader } from './TableHeader';
5
+ export { default as Table } from './Table';
@@ -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';
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: any[];
@@ -0,0 +1,9 @@
1
+ export { DSDataGrid } from './DSDataGrid';
2
+ export { DSDataGridsWithSchema } from './DSDataGrid';
3
+ export { ColumnsOptionsMenuSection } from './components/ColumnsOptionsMenuSection';
4
+ export { getColumnVisibilityMenuOption } from './components/ColumnVisibilityMenuOption';
5
+ export { EmptyState } from './components/EmptyState';
6
+ export { IconColumn } from './columns/IconColumn';
7
+ export { BodyHeaderScrollSyncPlugin, DndColumnsPlugin, ColumnSizingPlugin, CustomRendererPlugin, EditablePlugin, ComboBox, TextBox, ExpandablePlugin, ExpandableColumn, FilterablePlugin, InfiniteScrollPlugin, PaginationPlugin, ResizablePlugin, DndRowsPlugin, SelectablePlugin, SortablePlugin, ToolbarPlugin, ExportDataPlugin, VirtualizationPlugin, } from './plugins';
8
+ export { RowSizes, RowSizesOptions, RowSizesOptionsArr } from './rowSizes';
9
+ export { CellWithAddons, CellContainer } from './renders';
@@ -0,0 +1 @@
1
+ export declare const BodyHeaderScrollSyncPlugin: any;
@@ -0,0 +1 @@
1
+ export { BodyHeaderScrollSyncPlugin } from './BodyHeaderScrollSyncPlugin';
@@ -0,0 +1 @@
1
+ export declare const DndColumnsPlugin: 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';
@@ -0,0 +1 @@
1
+ export declare const ColumnSizingPlugin: 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: any) => 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';
@@ -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: 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';
@@ -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';
2
+ export { default as TextBox } from './TextBox';
@@ -0,0 +1 @@
1
+ export declare const EditablePlugin: 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';
2
+ export { ComboBox, TextBox } from './EditableComponents';
@@ -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: any;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare function 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 function 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';
2
+ export { ExpandableColumn } from './ExpandableColumn';
@@ -0,0 +1,14 @@
1
+ export declare const useExpandGridState: (grid: any) => {
2
+ state: {
3
+ expandedRows: any;
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: any) => void;
13
+ };
14
+ };
@@ -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: any;
@@ -0,0 +1 @@
1
+ export { ExportDataPlugin } from './ExportDataPlugin';
@@ -0,0 +1 @@
1
+ export declare const FilterablePlugin: any;
@@ -0,0 +1 @@
1
+ export declare const addFilterToColumn: (props: any, column: any) => any;