@sumaris-net/ngx-components 18.3.11 → 18.3.13

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.3.11",
4
+ "version": "18.3.13",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -2,11 +2,12 @@ import { AppTable } from './table.class';
2
2
  import { TableElement } from '@e-is/ngx-material-table';
3
3
  import { AsyncTableElement } from '@e-is/ngx-material-table/src/app/ngx-material-table/async/async-table-element';
4
4
  import { IEntity } from '../services/model/entity.model';
5
+ import { SortDirection } from '@angular/material/sort';
5
6
  export declare class AppTableUtils {
6
7
  static waitIdle(table: AppTable<any, any, any>): Promise<any>;
7
8
  static logRowErrors(row: TableElement<any> | AsyncTableElement<any>, logPrefix?: string): void;
8
9
  static getEntityId<T extends IEntity<T, ID> = IEntity<any, any>, ID = any>(row: TableElement<T> | AsyncTableElement<T>): ID;
9
10
  static getEntityIds<T extends IEntity<T, ID> = IEntity<any, any>, ID = any>(rows: TableElement<T>[] | AsyncTableElement<T>[]): ID[];
10
11
  static getEntities<T extends IEntity<T, ID> = IEntity<any, any>, ID = any>(rows: TableElement<T>[] | AsyncTableElement<T>[]): T[];
11
- static inverseDirection(direction: 'asc' | 'desc'): "asc" | "desc";
12
+ static inverseDirection(direction: SortDirection): SortDirection;
12
13
  }
@@ -57,6 +57,7 @@ export declare function disableControl(control: AbstractControl, opts?: {
57
57
  onlySelf?: boolean;
58
58
  emitEvent?: boolean;
59
59
  required?: boolean;
60
+ clearValue?: boolean;
60
61
  }): void;
61
62
  export declare function setControlEnabled(control: AbstractControl, enabled: boolean, opts?: {
62
63
  onlySelf?: boolean;
@@ -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.3.11",
5
+ "version": "18.3.13",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{