@sumaris-net/ngx-components 18.6.45-alpha7 → 18.6.45
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/src/app/shared/directives/autoresize.directive.mjs +48 -25
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +5 -4
- package/esm2022/src/app/social/message/message.form.mjs +4 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +131 -108
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/directives/autoresize.directive.d.ts +8 -4
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AutoResizeDirective implements AfterViewInit {
|
|
4
5
|
readonly element: ElementRef<HTMLTextAreaElement>;
|
|
5
|
-
|
|
6
|
+
readonly cdkDirective: CdkTextareaAutosize;
|
|
7
|
+
private get _cachedLineHeight();
|
|
8
|
+
private get _previousValue();
|
|
9
|
+
private set _previousValue(value);
|
|
6
10
|
maxRows: number;
|
|
7
11
|
minRows: number;
|
|
8
|
-
constructor(element: ElementRef<HTMLTextAreaElement
|
|
12
|
+
constructor(element: ElementRef<HTMLTextAreaElement>, cdkDirective: CdkTextareaAutosize);
|
|
9
13
|
ngAfterViewInit(): void;
|
|
10
14
|
onInput(): void;
|
|
11
|
-
private
|
|
15
|
+
private doResize;
|
|
12
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoResizeDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoResizeDirective, "textarea[
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoResizeDirective, "textarea[cdkTextareaAutosize]", never, { "maxRows": { "alias": "cdkAutosizeMaxRows"; "required": false; }; "minRows": { "alias": "cdkAutosizeMinRows"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
18
|
static ngAcceptInputType_maxRows: unknown;
|
|
15
19
|
static ngAcceptInputType_minRows: unknown;
|
|
16
20
|
}
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "18.6.
|
|
5
|
+
"version": "18.6.45",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|