cats-data-grid 2.0.34 → 2.0.35
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/fesm2022/cats-data-grid.mjs +35 -56
- package/fesm2022/cats-data-grid.mjs.map +1 -1
- package/index.d.ts +8 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnChanges, OnInit, EventEmitter,
|
|
2
|
+
import { OnChanges, OnInit, EventEmitter, Renderer2, NgZone, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
declare class CatsDataGridService {
|
|
5
5
|
constructor();
|
|
@@ -22,8 +22,9 @@ declare class ColDefs {
|
|
|
22
22
|
cellRenderer: any;
|
|
23
23
|
}
|
|
24
24
|
declare class CatsDataGridComponent implements OnChanges, OnInit {
|
|
25
|
-
private
|
|
25
|
+
private renderer;
|
|
26
26
|
private zone;
|
|
27
|
+
private cd;
|
|
27
28
|
tableOptions: any;
|
|
28
29
|
totalRecords: number;
|
|
29
30
|
sortingRequired: boolean;
|
|
@@ -54,6 +55,7 @@ declare class CatsDataGridComponent implements OnChanges, OnInit {
|
|
|
54
55
|
dragOverIndex: null | number;
|
|
55
56
|
draggedIndex: null | number;
|
|
56
57
|
originalColDefs: any[];
|
|
58
|
+
filteredRowData: any[];
|
|
57
59
|
filteredData: any[];
|
|
58
60
|
currentColumn: any;
|
|
59
61
|
currentIndex: number;
|
|
@@ -81,7 +83,10 @@ declare class CatsDataGridComponent implements OnChanges, OnInit {
|
|
|
81
83
|
}[];
|
|
82
84
|
showPin: boolean;
|
|
83
85
|
pinActionClicked: any;
|
|
84
|
-
|
|
86
|
+
private removeMouseMove;
|
|
87
|
+
private removeMouseUp;
|
|
88
|
+
private rafId;
|
|
89
|
+
constructor(renderer: Renderer2, zone: NgZone, cd: ChangeDetectorRef);
|
|
85
90
|
ngOnInit(): void;
|
|
86
91
|
ngOnChanges(changes: SimpleChanges): void;
|
|
87
92
|
/**
|
|
@@ -196,12 +201,6 @@ declare class CatsDataGridComponent implements OnChanges, OnInit {
|
|
|
196
201
|
* @returns {void}
|
|
197
202
|
*/
|
|
198
203
|
startResize(event: MouseEvent, index: number): void;
|
|
199
|
-
/**
|
|
200
|
-
* @description Handles column resizing as the mouse moves.
|
|
201
|
-
* @author Anand Pandey
|
|
202
|
-
* @param {MouseEvent} event - Mouse movement event during resizing.
|
|
203
|
-
* @returns {void}
|
|
204
|
-
*/
|
|
205
204
|
/**
|
|
206
205
|
* @description Handles column resizing as the mouse moves.
|
|
207
206
|
* @author Anand Pandey
|