@jiaozhiye/qm-design-react 1.9.7 → 1.9.8
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/lib/_utils/util.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/table/src/utils/index.d.ts +8 -0
- package/package.json +1 -1
|
@@ -45,3 +45,11 @@ export declare const deepFindRecord: (arr: IRecord[], fn: (node: IRecord) => boo
|
|
|
45
45
|
export declare const deepTreeFilter: (tree: any[], fn: (node: unknown) => boolean) => any[];
|
|
46
46
|
export declare const flatToTree: (list: any[], id: string, pid: string) => any[];
|
|
47
47
|
export declare const sortableFormatter: <T>(items: T[]) => T[];
|
|
48
|
+
/**
|
|
49
|
+
* 深度比较两个对象字面量
|
|
50
|
+
* @param obj1 对象1
|
|
51
|
+
* @param obj2 对象2
|
|
52
|
+
* @param shallow 是否浅比较
|
|
53
|
+
* @returns
|
|
54
|
+
*/
|
|
55
|
+
export declare const equalFn: <T = any>(obj1: T, obj2: T, shallow?: boolean) => boolean;
|