@sumaris-net/ngx-components 18.23.43 → 18.23.44

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.23.43",
4
+ "version": "18.23.44",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -199,11 +199,11 @@ export declare function splitById<T, M extends KeyValueType<T> = KeyValueType<T>
199
199
  /**
200
200
  * Split an array, into a map of array, group by property
201
201
  */
202
- export declare function collectByProperty<T>(values: T[], propertyName: keyof T): KeyValueType<T[]>;
202
+ export declare function collectByProperty<T>(values: T[], propertyName: keyof T, defaultValue?: string | number): KeyValueType<T[]>;
203
203
  /**
204
204
  * Split an array, into a map of array, group by property path
205
205
  */
206
- export declare function collectByPropertyPath<T>(values: T[], propertyPath: string | Array<string | number>): KeyValueType<T[]>;
206
+ export declare function collectByPropertyPath<T>(values: T[], propertyPath: string | Array<string | number>, defaultValue?: string | number): KeyValueType<T[]>;
207
207
  /**
208
208
  * Split an array into chunks with fixed size
209
209
  */
@@ -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.23.43",
5
+ "version": "18.23.44",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{