rowvia 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +228 -0
- package/dist/rowvia.css +1 -0
- package/dist/rowvia.es.js +8962 -0
- package/dist/rowvia.umd.cjs +37 -0
- package/dist/types/api.d.ts +6 -0
- package/dist/types/components/detailDialog.d.ts +13 -0
- package/dist/types/core/clientSideRowModel.d.ts +116 -0
- package/dist/types/core/columnModel.d.ts +95 -0
- package/dist/types/core/eventService.d.ts +11 -0
- package/dist/types/core/formulaEngine.d.ts +42 -0
- package/dist/types/core/localeText.d.ts +15 -0
- package/dist/types/core/remoteRowModels.d.ts +170 -0
- package/dist/types/core/rowNode.d.ts +51 -0
- package/dist/types/core/utils.d.ts +38 -0
- package/dist/types/core/valueService.d.ts +14 -0
- package/dist/types/features/chartService.d.ts +49 -0
- package/dist/types/features/columnMenu.d.ts +9 -0
- package/dist/types/features/contextMenu.d.ts +27 -0
- package/dist/types/features/editService.d.ts +62 -0
- package/dist/types/features/exportService.d.ts +39 -0
- package/dist/types/features/filterGui.d.ts +19 -0
- package/dist/types/features/filterService.d.ts +36 -0
- package/dist/types/features/findService.d.ts +27 -0
- package/dist/types/features/formulaEditor.d.ts +11 -0
- package/dist/types/features/notesService.d.ts +23 -0
- package/dist/types/features/overlays.d.ts +14 -0
- package/dist/types/features/paginationService.d.ts +32 -0
- package/dist/types/features/pdfWriter.d.ts +24 -0
- package/dist/types/features/popupService.d.ts +15 -0
- package/dist/types/features/rangeSelection.d.ts +43 -0
- package/dist/types/features/rowDragService.d.ts +25 -0
- package/dist/types/features/rowGroupPanel.d.ts +10 -0
- package/dist/types/features/selectionService.d.ts +34 -0
- package/dist/types/features/sideBar.d.ts +29 -0
- package/dist/types/features/sortService.d.ts +12 -0
- package/dist/types/features/statusBar.d.ts +14 -0
- package/dist/types/features/undoRedoService.d.ts +40 -0
- package/dist/types/features/xlsxReader.d.ts +7 -0
- package/dist/types/features/xlsxWriter.d.ts +10 -0
- package/dist/types/gantt/component.d.ts +25 -0
- package/dist/types/gantt/data.d.ts +31 -0
- package/dist/types/gantt/filterSort.d.ts +50 -0
- package/dist/types/gantt/ganttChart.d.ts +122 -0
- package/dist/types/gantt/index.d.ts +5 -0
- package/dist/types/gantt/locale.d.ts +10 -0
- package/dist/types/grid.d.ts +168 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/personnel/component.d.ts +20 -0
- package/dist/types/personnel/index.d.ts +3 -0
- package/dist/types/personnel/model.d.ts +31 -0
- package/dist/types/render/cellRenderers.d.ts +30 -0
- package/dist/types/render/headerView.d.ts +64 -0
- package/dist/types/render/rowRenderer.d.ts +190 -0
- package/dist/types/render/stickyGroupRows.d.ts +21 -0
- package/dist/types/types.d.ts +889 -0
- package/package.json +47 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sticky Group Rows (ag-grid: `suppressGroupRowsSticky`, default false).
|
|
3
|
+
*
|
|
4
|
+
* While scrolling through an expanded group, the group row sticks to the top of
|
|
5
|
+
* the viewport until the last row of its subtree scrolls past. The rows that
|
|
6
|
+
* stick are the ancestor chain of the first visible row; they stack at the top
|
|
7
|
+
* of the viewport with the shallowest ancestor first. Collapsed groups never
|
|
8
|
+
* stick because none of their rows are displayed.
|
|
9
|
+
*/
|
|
10
|
+
/** level and group flag of one displayed row */
|
|
11
|
+
export interface DisplayRowInfo {
|
|
12
|
+
level: number;
|
|
13
|
+
group: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @param offsets natural top offset (px) of every displayed row, ascending
|
|
17
|
+
* @param rows level/group info of every displayed row, same order
|
|
18
|
+
* @param scrollTop current vertical scroll position of the viewport
|
|
19
|
+
* @returns indices of the group rows that stick to the top, ancestor first
|
|
20
|
+
*/
|
|
21
|
+
export declare function computeStickyGroupRows(offsets: number[], rows: DisplayRowInfo[], scrollTop: number): number[];
|