@sumaris-net/ngx-components 1.23.26 → 1.23.27

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.23.26",
4
+ "version": "1.23.27",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -18,7 +18,7 @@ export declare function arrayGroupBy<T = any, K extends keyof T = any, M extends
18
18
  } = {
19
19
  [key: string]: T[];
20
20
  }>(obj: T[], key: keyof T): M;
21
- export declare function arrayDistinct<T = any>(obj: T[], properties?: string[]): T[];
21
+ export declare function arrayDistinct<T = any>(values: T[], keyOrProperty?: string | string[] | ((obj: T) => string)): T[];
22
22
  export declare function nullIfUndefined<T>(obj: T | null | undefined): T | null;
23
23
  export declare function trimEmptyToNull<T>(str: string | null | undefined): string | null;
24
24
  export declare function toBoolean(obj: boolean | null | undefined | string, defaultValue?: boolean): boolean;