@sumaris-net/ngx-components 18.23.69 → 18.23.71

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.69",
4
+ "version": "18.23.71",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -307,14 +307,19 @@ export declare function numberToString(val: number, opts?: Intl.NumberFormatOpti
307
307
  fixedDecimals?: number;
308
308
  }): string;
309
309
  /**
310
- * @deprecated USe assignSkipUndefined instead
310
+ * @deprecated Use deepMergeSkipUndefined instead
311
311
  */
312
312
  export declare function mergeObjectsWithoutUndefined(...objects: unknown[]): unknown;
313
313
  /**
314
- * Merges multiple objects into one, skipping properties with `undefined` values.
315
- *
316
- * @param target
317
- * @param {...unknown[]} sources - The objects to be merged.
318
- * @return {unknown} A new object that combines the properties of the provided objects, excluding `undefined` values.
314
+ * @deprecated Use deepMergeSkipUndefined instead
319
315
  */
320
316
  export declare function assignSkipUndefined(target: unknown, ...sources: unknown[]): unknown;
317
+ /**
318
+ * Merge many objects into one new object, skipping undefined objects or properties with `undefined` values.
319
+ * This function is recursive, but prevents circular references - fix issue sumaris-app#1929.
320
+ *
321
+ * @param {Partial<T>} target - The target object to merge properties into. Defaults to an empty object if not provided.
322
+ * @param {...unknown[]} sources - One or more source objects to merge into the target object.
323
+ * @return {T} The resulting object after merging the target and source objects.
324
+ */
325
+ export declare function deepMergeSkipUndefined<T = Record<string, unknown>>(target?: Partial<T>, ...sources: unknown[]): T;
@@ -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.69",
5
+ "version": "18.23.71",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{