virtua 0.51.3 → 0.52.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 +37 -13
- package/lib/angular/VGrid.d.ts +249 -0
- package/lib/angular/VList.d.ts +3 -3
- package/lib/angular/Virtualizer.d.ts +3 -3
- package/lib/angular/WindowVirtualizer.d.ts +3 -3
- package/lib/angular/index.d.ts +2 -0
- package/lib/angular/index.js +1150 -327
- package/lib/angular/index.js.map +1 -1
- package/lib/core/grid.d.ts +30 -0
- package/lib/core/index.cjs +484 -270
- package/lib/core/index.cjs.map +1 -1
- package/lib/core/index.d.ts +5 -3
- package/lib/core/index.js +462 -249
- package/lib/core/index.js.map +1 -1
- package/lib/core/layouts/grid.d.ts +21 -0
- package/lib/core/scroll-to.d.ts +50 -1
- package/lib/core/types.d.ts +0 -25
- package/lib/index.cjs +761 -558
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +730 -509
- package/lib/index.js.map +1 -1
- package/lib/react/VGrid.d.ts +105 -80
- package/lib/react/index.d.ts +3 -2
- package/lib/solid/VGrid.d.ts +193 -0
- package/lib/solid/index.cjs +817 -288
- package/lib/solid/index.cjs.map +1 -1
- package/lib/solid/index.d.ts +3 -0
- package/lib/solid/index.js +786 -270
- package/lib/solid/index.js.map +1 -1
- package/lib/solid/index.jsx +743 -124
- package/lib/solid/index.jsx.map +1 -1
- package/lib/svelte/GridCell.svelte +44 -0
- package/lib/svelte/GridRow.svelte +42 -0
- package/lib/svelte/GridRowGroup.svelte +42 -0
- package/lib/svelte/VGrid.svelte +238 -0
- package/lib/svelte/VGrid.type.d.ts +185 -0
- package/lib/svelte/index.d.ts +3 -0
- package/lib/svelte/index.js +2 -1
- package/lib/vue/VGrid.d.ts +194 -0
- package/lib/vue/index.cjs +886 -376
- package/lib/vue/index.cjs.map +1 -1
- package/lib/vue/index.d.ts +3 -0
- package/lib/vue/index.js +858 -349
- package/lib/vue/index.js.map +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A cell position in the grid.
|
|
3
|
+
*/
|
|
4
|
+
export interface VGridCell {
|
|
5
|
+
/**
|
|
6
|
+
* The row index of the cell.
|
|
7
|
+
*/
|
|
8
|
+
rowIndex: number;
|
|
9
|
+
/**
|
|
10
|
+
* The column index of the cell.
|
|
11
|
+
*/
|
|
12
|
+
colIndex: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A cell merged over multiple rows and/or columns in the grid.
|
|
16
|
+
*
|
|
17
|
+
* {@link VGridCell.rowIndex} and {@link VGridCell.colIndex} point to the origin cell (top row, start column) of the merged area.
|
|
18
|
+
*/
|
|
19
|
+
export interface VGridSpan extends VGridCell {
|
|
20
|
+
/**
|
|
21
|
+
* The number of rows the cell spans.
|
|
22
|
+
* @defaultValue 1
|
|
23
|
+
*/
|
|
24
|
+
rowSpan?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The number of columns the cell spans.
|
|
27
|
+
* @defaultValue 1
|
|
28
|
+
*/
|
|
29
|
+
colSpan?: number;
|
|
30
|
+
}
|