@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/doc/changelog.md +1 -0
- package/esm2022/src/app/core/table/table.class.mjs +2 -2
- package/esm2022/src/app/shared/functions.mjs +10 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +10 -3
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/functions.d.ts +8 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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;
|
package/src/assets/manifest.json
CHANGED
|
@@ -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-
|
|
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": [{
|