ui-core-abv 0.5.45 → 0.5.51
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/ui-core-abv.mjs +289 -14
- package/fesm2022/ui-core-abv.mjs.map +1 -1
- package/lib/components/dynamic-form/form.models.d.ts +3 -0
- package/lib/directives/textarea-autoresize-max-rows.directive.d.ts +9 -0
- package/lib/directives/textarea-autoresize-min-rows.directive.d.ts +9 -0
- package/lib/directives/textarea-autoresize.directive.d.ts +29 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UicTextareaAutoresizeDirective } from './textarea-autoresize.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UicTextareaAutoresizeMaxRowsDirective {
|
|
4
|
+
private readonly autosize;
|
|
5
|
+
constructor(autosize: UicTextareaAutoresizeDirective);
|
|
6
|
+
set textareaAutoresizeMaxRows(value: number | string | null | undefined);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicTextareaAutoresizeMaxRowsDirective, [{ optional: true; host: true; }]>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UicTextareaAutoresizeMaxRowsDirective, "[textareaAutoresizeMaxRows]", never, { "textareaAutoresizeMaxRows": { "alias": "textareaAutoresizeMaxRows"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UicTextareaAutoresizeDirective } from './textarea-autoresize.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UicTextareaAutoresizeMinRowsDirective {
|
|
4
|
+
private readonly autosize;
|
|
5
|
+
constructor(autosize: UicTextareaAutoresizeDirective);
|
|
6
|
+
set textareaAutoresizeMinRows(value: number | string | null | undefined);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicTextareaAutoresizeMinRowsDirective, [{ optional: true; host: true; }]>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UicTextareaAutoresizeMinRowsDirective, "[textareaAutoresizeMinRows]", never, { "textareaAutoresizeMinRows": { "alias": "textareaAutoresizeMinRows"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AfterViewInit, DoCheck, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UicTextareaAutoresizeDirective implements AfterViewInit, DoCheck {
|
|
4
|
+
private readonly elementRef;
|
|
5
|
+
private _minRows;
|
|
6
|
+
private _maxRows;
|
|
7
|
+
private initialRows;
|
|
8
|
+
private lastValue;
|
|
9
|
+
private enabled;
|
|
10
|
+
constructor(elementRef: ElementRef<HTMLTextAreaElement>);
|
|
11
|
+
set minRows(value: number | string | null | undefined);
|
|
12
|
+
set maxRows(value: number | string | null | undefined);
|
|
13
|
+
set textareaAutoresize(value: boolean | string | null | undefined);
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
ngDoCheck(): void;
|
|
16
|
+
onInput(): void;
|
|
17
|
+
onWindowResize(): void;
|
|
18
|
+
private resizeToFitContent;
|
|
19
|
+
private getLineHeight;
|
|
20
|
+
private parseCssValue;
|
|
21
|
+
private measureLineHeight;
|
|
22
|
+
setMinRows(value: number | string | null | undefined): void;
|
|
23
|
+
setMaxRows(value: number | string | null | undefined): void;
|
|
24
|
+
private resetStyles;
|
|
25
|
+
private coerceNumber;
|
|
26
|
+
private coerceBoolean;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicTextareaAutoresizeDirective, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UicTextareaAutoresizeDirective, "[textareaAutoresize]", never, { "minRows": { "alias": "minRows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "textareaAutoresize": { "alias": "textareaAutoresize"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -46,4 +46,7 @@ export * from './lib/services/push-alert.service';
|
|
|
46
46
|
export * from './lib/pipes/name-inits.pipe';
|
|
47
47
|
export * from './lib/pipes/first-capital.pipe';
|
|
48
48
|
export * from './lib/directives/tool-tip.directive';
|
|
49
|
+
export * from './lib/directives/textarea-autoresize.directive';
|
|
50
|
+
export * from './lib/directives/textarea-autoresize-min-rows.directive';
|
|
51
|
+
export * from './lib/directives/textarea-autoresize-max-rows.directive';
|
|
49
52
|
export * from './lib/helpers';
|