@sumaris-net/ngx-components 1.20.16 → 1.20.17

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": "1.20.16",
4
+ "version": "1.20.17",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
package/public_api.d.ts CHANGED
@@ -50,6 +50,9 @@ export * from './src/app/shared/directives/autofocus.directive';
50
50
  export * from './src/app/shared/directives/ng-var.directive';
51
51
  export * from './src/app/shared/directives/drag-and-drop.directive';
52
52
  export * from './src/app/shared/directives/autotitle.directive';
53
+ export * from './src/app/shared/directives/resizable/resizable.directive';
54
+ export * from './src/app/shared/directives/resizable/resizable.component';
55
+ export * from './src/app/shared/directives/resizable/resizable.module';
53
56
  export * from './src/app/shared/pipes/pipes.module';
54
57
  export * from './src/app/shared/pipes/date-format.pipe';
55
58
  export * from './src/app/shared/pipes/date-from-now.pipe';
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { MatColumnDef } from '@angular/material/table';
3
+ export declare class ResizableComponent {
4
+ readonly columnDef: MatColumnDef;
5
+ resizable: boolean;
6
+ sizeChanged: EventEmitter<number>;
7
+ width: string | null;
8
+ minWidth: string | null;
9
+ maxWidth: string | null;
10
+ private debug;
11
+ constructor(columnDef: MatColumnDef);
12
+ onResize(width: number, opts?: {
13
+ emitEvent: boolean;
14
+ }): void;
15
+ onFit(opts?: {
16
+ emitEvent: boolean;
17
+ }): void;
18
+ }
@@ -0,0 +1,9 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ export declare class ResizableDirective {
4
+ private readonly document;
5
+ private readonly elementRef;
6
+ readonly resizable: Observable<number>;
7
+ readonly fit: Observable<MouseEvent[]>;
8
+ constructor(document: any, elementRef: ElementRef<HTMLElement>);
9
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ResizableModule {
2
+ }
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { MatAutocompleteConfigHolder } from '../../autocomplete/material.autocomplete';
4
4
  import { LoadResult } from '../../../services/entity-service.class';
5
+ import { MatFormFieldAppearance } from '@angular/material/form-field';
5
6
  declare class EntityTestClass {
6
7
  id: number;
7
8
  label: string;
@@ -13,7 +14,7 @@ export declare class ChipsTestPage implements OnInit {
13
14
  private _$items;
14
15
  form: FormGroup;
15
16
  autocompleteFields: MatAutocompleteConfigHolder;
16
- appearance: string;
17
+ appearance: MatFormFieldAppearance;
17
18
  constructor(formBuilder: FormBuilder);
18
19
  ngOnInit(): void;
19
20
  loadData(): Promise<void>;