@stemy/ngx-utils 12.2.14 → 12.2.16
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/bundles/stemy-ngx-utils.umd.js +112 -33
- package/bundles/stemy-ngx-utils.umd.js.map +1 -1
- package/esm2015/ngx-utils/pipes/find.pipe.js +4 -2
- package/esm2015/ngx-utils/utils/object.utils.js +73 -29
- package/esm2015/stemy-ngx-utils.js +3 -2
- package/fesm2015/stemy-ngx-utils.js +76 -29
- package/fesm2015/stemy-ngx-utils.js.map +1 -1
- package/ngx-utils/utils/object.utils.d.ts +3 -0
- package/package.json +1 -1
- package/stemy-ngx-utils.d.ts +2 -1
- package/stemy-ngx-utils.metadata.json +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare type FilterPredicate = (value: any, key?: any, target?: any, source?: any) => boolean;
|
|
2
2
|
export declare type IterateCallback = (value: any, key?: any) => void;
|
|
3
|
+
export declare function defaultPredicate(value: any, key?: any, target?: any, source?: any): boolean;
|
|
4
|
+
export declare function shouldCopyDefault(key: any, value: any): boolean;
|
|
3
5
|
export declare class ObjectUtils {
|
|
4
6
|
static compare(a: any, b: any): number;
|
|
5
7
|
static getProperties(obj: any): string[];
|
|
@@ -25,6 +27,7 @@ export declare class ObjectUtils {
|
|
|
25
27
|
static isNumber(value: any): value is number;
|
|
26
28
|
static isArray(value: any): value is Array<any>;
|
|
27
29
|
static isSet(value: any): value is Set<any>;
|
|
30
|
+
static isConstructor(value: any): boolean;
|
|
28
31
|
static checkInterface(obj: any, interFaceObject: any): boolean;
|
|
29
32
|
static isInterface(obj: any, interFaceObject: any): boolean;
|
|
30
33
|
static pad(obj: any, width: number, chr?: string): string;
|
package/package.json
CHANGED
package/stemy-ngx-utils.d.ts
CHANGED
|
@@ -2,4 +2,5 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public_api';
|
|
5
|
-
export { components as
|
|
5
|
+
export { components as ɵd, directives as ɵc, loadConfig as ɵf, pipes as ɵb, providers as ɵe } from './ngx-utils/ngx-utils.module';
|
|
6
|
+
export { defaultPredicate as ɵa } from './ngx-utils/utils/object.utils';
|