@coolon/angular-ui-powerups 16.1.0-alpha.195 → 16.1.0-alpha.197
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/disposable-component.mjs +15 -6
- package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +2 -2
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +22 -5
- package/esm2022/lib/directives/highlight.pipe.mjs +3 -2
- package/fesm2022/coolon-angular-ui-powerups.mjs +37 -11
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/disposable-component.d.ts +2 -1
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +2 -0
- package/lib/directives/highlight.pipe.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ChangeDetectorRef, InjectOptions, OnDestroy, OnInit, ProviderToken } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, InjectionToken, InjectOptions, OnDestroy, OnInit, ProviderToken } from '@angular/core';
|
|
2
2
|
import { GarbageCollector, HasValue } from '@coolon/pectin';
|
|
3
3
|
import { HighlightTextModelDirective } from "../directives/highlight-text-model.directive";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export declare const AUP_IN_DETACHED_CHANGE_DETECTION_PARENT: InjectionToken<boolean>;
|
|
5
6
|
export declare class DisposableComponent extends GarbageCollector implements OnInit, OnDestroy {
|
|
6
7
|
#private;
|
|
7
8
|
readonly trackById: import("@angular/core").TrackByFunction<any>;
|
|
@@ -9,6 +9,7 @@ import { ColumnModel } from "../../column/column-model";
|
|
|
9
9
|
import { FooterRowModel } from "../../footer/footer-row-model";
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare const AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER: InjectionToken<number>;
|
|
12
|
+
export declare const AUP_TABLE_OPTIMIZED_CHANGE_DETECTION: InjectionToken<boolean>;
|
|
12
13
|
export declare class TableRowAttributesDirective implements OnInit {
|
|
13
14
|
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
14
15
|
aupTableRowAttributes: Record<string, string>;
|
|
@@ -37,6 +38,7 @@ export declare class TableBodyComponent<Row extends object> extends ResizeAwareC
|
|
|
37
38
|
protected virtualScrollDataSource: TableVirtualScrollDataSource<Row>;
|
|
38
39
|
private virtualScrollActive$;
|
|
39
40
|
private scrollTimeout;
|
|
41
|
+
protected readonly optimisedChangeDetectionEnabled: boolean;
|
|
40
42
|
constructor(bufferMultiplier?: number);
|
|
41
43
|
ngAfterViewInit(): void;
|
|
42
44
|
get hideHeader(): boolean;
|
|
@@ -14,7 +14,7 @@ export declare class HighlightPipe extends GarbageCollector implements PipeTrans
|
|
|
14
14
|
* @param value The string to search within.
|
|
15
15
|
* @param searchTextFilter Intercept the search text to allow matching against substrings.
|
|
16
16
|
*/
|
|
17
|
-
transform(value: any, searchTextFilter?: (raw: string) => string): any;
|
|
17
|
+
transform(value: any, searchTextFilter?: (raw: string) => string | undefined | null): any;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, [null, { optional: true; }]>;
|
|
19
19
|
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "aupHighlight", false>;
|
|
20
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "16.1.0-alpha.
|
|
3
|
+
"version": "16.1.0-alpha.197",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^16.2.9",
|
|
6
6
|
"@angular/common": "^16.2.9",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@angular/platform-browser-dynamic": "^16.2.9",
|
|
13
13
|
"@angular/material-moment-adapter": "^16.2.10",
|
|
14
14
|
"@angular/router": "^16.2.9",
|
|
15
|
-
"@coolon/pectin": "^5.0.0-alpha.
|
|
15
|
+
"@coolon/pectin": "^5.0.0-alpha.104",
|
|
16
16
|
"fast-typescript-memoize": "^1.1.1",
|
|
17
17
|
"lodash-es": "^4.17.21",
|
|
18
18
|
"marked": "4.0.10",
|