@sumaris-net/ngx-components 18.6.45-alpha6 → 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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "18.6.45-alpha6",
4
+ "version": "18.6.45",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -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
- private _lineHeight;
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 autoResizeTextarea;
15
+ private doResize;
12
16
  static ɵfac: i0.ɵɵFactoryDeclaration<AutoResizeDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<AutoResizeDirective, "textarea[appTextareaAutoResize]", never, { "maxRows": { "alias": "appAutosizeMaxRows"; "required": false; }; "minRows": { "alias": "appAutosizeMinRows"; "required": false; }; }, {}, never, never, false, never>;
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
  }
@@ -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.44",
5
+ "version": "18.6.45",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{