@coolon/angular-ui-powerups 16.1.0-alpha.233 → 16.1.0-alpha.235
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 +21 -6
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +19 -5
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +7 -1
- package/fesm2022/coolon-angular-ui-powerups.mjs +43 -8
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +5 -3
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
|
|
2
|
-
import { AfterViewInit, ElementRef, InjectionToken,
|
|
2
|
+
import { AfterViewInit, ElementRef, InjectionToken, OnChanges, OnDestroy } from "@angular/core";
|
|
3
3
|
import { ListModel, ListModelChain, MutableValueModel, ValueModel } from "@coolon/pectin";
|
|
4
4
|
import { TableVirtualScrollDataSource } from "ng-table-virtual-scroll";
|
|
5
5
|
import { ResizeAwareComponent } from "../../../resize-aware.component";
|
|
@@ -9,11 +9,13 @@ import { FooterRowModel, ResolvedFooterRow } from "../../footer/footer-row-model
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare const AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER: InjectionToken<number>;
|
|
11
11
|
export declare const AUP_TABLE_OPTIMIZED_CHANGE_DETECTION: InjectionToken<boolean>;
|
|
12
|
-
export declare class TableRowAttributesDirective implements
|
|
12
|
+
export declare class TableRowAttributesDirective implements OnChanges {
|
|
13
13
|
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
14
14
|
aupTableRowAttributes: Record<string, string>;
|
|
15
|
+
/** Attribute names applied on the previous pass, so ones that disappear can be removed. */
|
|
16
|
+
private appliedAttributeNames;
|
|
15
17
|
constructor(elementRef: ElementRef<HTMLElement>);
|
|
16
|
-
|
|
18
|
+
ngOnChanges(): void;
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowAttributesDirective, never>;
|
|
18
20
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowAttributesDirective, "[aupTableRowAttributes]", never, { "aupTableRowAttributes": { "alias": "aupTableRowAttributes"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
21
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryList } from "@angular/core";
|
|
1
|
+
import { ElementRef, QueryList } from "@angular/core";
|
|
2
2
|
import { MatTabGroup } from "@angular/material/tabs";
|
|
3
3
|
import { BooleanValueModelChain, Constructable, DelegatingValueModel, Disposable, MutableValueModel } from "@coolon/pectin";
|
|
4
4
|
import { PlaceRouter } from "../../../place/place-router";
|
|
@@ -11,6 +11,7 @@ import { ActivityOutletComponent } from "./activity-outlet/activity-outlet.compo
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class ActivityContainerComponent<D, R, E> extends AbstractInteractionContext {
|
|
13
13
|
readonly placeRouter: PlaceRouter;
|
|
14
|
+
private readonly elementRef;
|
|
14
15
|
dynamicHeight: boolean;
|
|
15
16
|
tabs: MatTabGroup;
|
|
16
17
|
activityOutlets: QueryList<ActivityOutletComponent<unknown, unknown, unknown>>;
|
|
@@ -31,7 +32,7 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
|
|
|
31
32
|
readonly syncTabsJob: () => void;
|
|
32
33
|
readonly stable$: BooleanValueModelChain;
|
|
33
34
|
private wasActive;
|
|
34
|
-
constructor(placeRouter: PlaceRouter);
|
|
35
|
+
constructor(placeRouter: PlaceRouter, elementRef: ElementRef<HTMLElement>);
|
|
35
36
|
get started$(): import("@coolon/pectin").ValueModel<boolean>;
|
|
36
37
|
get ready$(): import("@coolon/pectin").ValueModel<boolean>;
|
|
37
38
|
get animating$(): import("@coolon/pectin").ValueModel<boolean>;
|
|
@@ -76,6 +77,7 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
|
|
|
76
77
|
* Synchronises the selected tab index.
|
|
77
78
|
*/
|
|
78
79
|
private synchroniseSelectedTabIndex;
|
|
80
|
+
private blurFocusWithinContainer;
|
|
79
81
|
finaliseActivityStates(): void;
|
|
80
82
|
private getSelectedOutlet;
|
|
81
83
|
protected getTabAnimationDuration(): string;
|