@coolon/angular-ui-powerups 16.1.0-alpha.208 → 16.1.0-alpha.209
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/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +14 -5
- package/fesm2022/coolon-angular-ui-powerups.mjs +13 -4
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +5 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CdkPortalOutletAttachedRef } from "@angular/cdk/portal";
|
|
2
2
|
import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
|
|
3
|
-
import { AfterViewInit, ElementRef, InjectionToken, OnInit } from "@angular/core";
|
|
3
|
+
import { AfterViewInit, ElementRef, InjectionToken, OnDestroy, OnInit } from "@angular/core";
|
|
4
4
|
import { ListModel, ListModelChain, MutableValueModel, Proxify, ValueModel } from "@coolon/pectin";
|
|
5
5
|
import { TableVirtualScrollDataSource } from "ng-table-virtual-scroll";
|
|
6
6
|
import { ResizeAwareComponent } from "../../../resize-aware.component";
|
|
@@ -18,7 +18,7 @@ export declare class TableRowAttributesDirective implements OnInit {
|
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowAttributesDirective, never>;
|
|
19
19
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowAttributesDirective, "[aupTableRowAttributes]", never, { "aupTableRowAttributes": { "alias": "aupTableRowAttributes"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
20
|
}
|
|
21
|
-
export declare class TableBodyComponent<Row extends object> extends ResizeAwareComponent implements AfterViewInit {
|
|
21
|
+
export declare class TableBodyComponent<Row extends object> extends ResizeAwareComponent implements AfterViewInit, OnDestroy {
|
|
22
22
|
protected bufferMultiplier: number;
|
|
23
23
|
accessor data$: ListModel<Row>;
|
|
24
24
|
accessor tableModel: AbstractTableModel<Row>;
|
|
@@ -40,6 +40,7 @@ export declare class TableBodyComponent<Row extends object> extends ResizeAwareC
|
|
|
40
40
|
protected readonly animationsDisabled$: MutableValueModel<boolean>;
|
|
41
41
|
private scrollTimeout;
|
|
42
42
|
private animationsResetRafId;
|
|
43
|
+
private scrollEndAbortController;
|
|
43
44
|
protected readonly optimisedChangeDetectionEnabled: boolean;
|
|
44
45
|
private viewInitialized;
|
|
45
46
|
constructor(bufferMultiplier?: number);
|
|
@@ -54,6 +55,8 @@ export declare class TableBodyComponent<Row extends object> extends ResizeAwareC
|
|
|
54
55
|
getColumnClasses(columnId: string): string[];
|
|
55
56
|
private scheduleTableHeightCheck;
|
|
56
57
|
private notifyScrolled;
|
|
58
|
+
private notifyScrollEnded;
|
|
59
|
+
ngOnDestroy(): void;
|
|
57
60
|
private resetAnimationsAfterFrame;
|
|
58
61
|
private clearScrollTimeout;
|
|
59
62
|
initialiseFooter($event: CdkPortalOutletAttachedRef): void;
|