myrta-ui 17.1.71 → 17.1.72
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/alert/alert.component.mjs +2 -1
- package/esm2022/lib/directives/autosize/autosize.directive.mjs +79 -14
- package/fesm2022/myrta-ui.mjs +79 -13
- package/fesm2022/myrta-ui.mjs.map +1 -1
- package/lib/directives/autosize/autosize.directive.d.ts +15 -5
- package/package.json +1 -1
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy, Renderer2, NgZone } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AutosizeDirective implements AfterViewInit,
|
|
3
|
+
export declare class AutosizeDirective implements AfterViewInit, OnDestroy {
|
|
4
4
|
private elem;
|
|
5
5
|
private renderer;
|
|
6
|
+
private ngZone;
|
|
6
7
|
overflow: string;
|
|
7
8
|
rows: number;
|
|
8
|
-
autosize: boolean;
|
|
9
|
-
|
|
9
|
+
set autosize(value: boolean);
|
|
10
|
+
get autosize(): boolean;
|
|
11
|
+
private _autosize;
|
|
12
|
+
private observer;
|
|
13
|
+
private resizeTimeout;
|
|
14
|
+
private lastHeight;
|
|
15
|
+
constructor(elem: ElementRef, renderer: Renderer2, ngZone: NgZone);
|
|
10
16
|
ngAfterViewInit(): void;
|
|
11
|
-
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
private setupAutoResize;
|
|
19
|
+
private scheduleResize;
|
|
20
|
+
private onInput;
|
|
12
21
|
private resize;
|
|
13
22
|
private setHeight;
|
|
23
|
+
private cleanup;
|
|
14
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutosizeDirective, never>;
|
|
15
25
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AutosizeDirective, "[mrxAutosize]", never, { "rows": { "alias": "rows"; "required": false; }; "autosize": { "alias": "autosize"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
26
|
}
|