@sumaris-net/ngx-components 2.8.1-beta1 → 2.8.1-beta2

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": "2.8.1-beta1",
4
+ "version": "2.8.1-beta2",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -70,7 +70,14 @@ export declare function isNumberRange(value: string): boolean;
70
70
  export declare function getPropertyByPath(obj: any, path: string | Array<string | number>, defaultValue?: any): any;
71
71
  export declare function getProperty<T = any, K extends keyof T = any>(obj: T, key: K): T[K];
72
72
  export declare function getPropertyByPathAsString(obj: any, path: string | string[]): string | undefined;
73
- export declare function setPropertyByPath(obj: any, path: string | string[], value: any): any;
73
+ /**
74
+ * Update an object's property, using a path (like '<property_1>.<sub_property_1>')
75
+ * @param obj
76
+ * @param path
77
+ * @param value
78
+ * @return the given obj
79
+ */
80
+ export declare function setPropertyByPath<T = any>(obj: T, path: string | string[], value: any): T;
74
81
  export declare function sleep(ms: number): Promise<void>;
75
82
  export declare function round(value: number | undefined | null): number;
76
83
  export declare function equalsOrNil(value1: any, value2: any): 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": "2.8.1-alpha2",
5
+ "version": "2.8.1-beta2",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{