@sumaris-net/ngx-components 18.6.44 → 18.6.45-alpha2

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.44",
4
+ "version": "18.6.45-alpha2",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
package/public_api.d.ts CHANGED
@@ -66,6 +66,7 @@ export * from './src/app/shared/directives/throttled-click.directive';
66
66
  export * from './src/app/shared/directives/resizable/resizable.directive';
67
67
  export * from './src/app/shared/directives/resizable/resizable.component';
68
68
  export * from './src/app/shared/directives/resizable/resizable.module';
69
+ export * from './src/app/shared/directives/autoresize.directive';
69
70
  export * from './src/app/shared/pipes/pipes.module';
70
71
  export * from './src/app/shared/pipes/date-format.pipe';
71
72
  export * from './src/app/shared/pipes/date-from-now.pipe';
@@ -0,0 +1,16 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AutoResizeDirective implements AfterViewInit {
4
+ readonly element: ElementRef<HTMLTextAreaElement>;
5
+ private _lineHeight;
6
+ maxRows: number;
7
+ minRows: number;
8
+ constructor(element: ElementRef<HTMLTextAreaElement>);
9
+ ngAfterViewInit(): void;
10
+ onInput(): void;
11
+ private autoResizeTextarea;
12
+ 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>;
14
+ static ngAcceptInputType_maxRows: unknown;
15
+ static ngAcceptInputType_minRows: unknown;
16
+ }
@@ -4,10 +4,11 @@ import * as i2 from "./ng-var.directive";
4
4
  import * as i3 from "./drag-and-drop.directive";
5
5
  import * as i4 from "./autotitle.directive";
6
6
  import * as i5 from "./throttled-click.directive";
7
- import * as i6 from "@angular/common";
8
- import * as i7 from "@ionic/angular";
7
+ import * as i6 from "./autoresize.directive";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@ionic/angular";
9
10
  export declare class SharedDirectivesModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectivesModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, [typeof i1.AutofocusDirective, typeof i2.NgVarDirective, typeof i3.DragAndDropDirective, typeof i4.AutoTitleDirective, typeof i5.ThrottledClickDirective], [typeof i6.CommonModule, typeof i7.IonicModule], [typeof i1.AutofocusDirective, typeof i2.NgVarDirective, typeof i3.DragAndDropDirective, typeof i4.AutoTitleDirective, typeof i5.ThrottledClickDirective]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, [typeof i1.AutofocusDirective, typeof i2.NgVarDirective, typeof i3.DragAndDropDirective, typeof i4.AutoTitleDirective, typeof i5.ThrottledClickDirective, typeof i6.AutoResizeDirective], [typeof i7.CommonModule, typeof i8.IonicModule], [typeof i1.AutofocusDirective, typeof i2.NgVarDirective, typeof i3.DragAndDropDirective, typeof i4.AutoTitleDirective, typeof i5.ThrottledClickDirective, typeof i6.AutoResizeDirective]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectivesModule>;
13
14
  }