ados-rcm 1.1.143 → 1.1.144
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AModule/AUtils/treeF.d.ts +8 -1
- package/dist/index.cjs.js +12 -12
- package/dist/index.es.js +2954 -2937
- package/package.json +1 -1
@@ -10,9 +10,15 @@ declare function replace<T extends IATreeItem<T>>(items: T[] | T, srcItem: T, ds
|
|
10
10
|
/**
|
11
11
|
* descendants
|
12
12
|
*
|
13
|
-
* Description : returns all descendants of srcItems
|
13
|
+
* Description : returns all descendants of srcItems (including srcItems)
|
14
14
|
*/
|
15
15
|
declare function descendants<T extends IATreeItem<T>>(entireItems: T[] | T, srcItems: T[], isEqual: (a: T, b: T) => boolean): T[];
|
16
|
+
/**
|
17
|
+
* ancestors
|
18
|
+
*
|
19
|
+
* Description : returns all ancestors of srcItems (including srcItems)
|
20
|
+
*/
|
21
|
+
declare function ancestors<T extends IATreeItem<T>>(entireItems: T[] | T, srcItems: T[], isEqual: (a: T, b: T) => boolean): T[];
|
16
22
|
/**
|
17
23
|
* treeF : tree functions
|
18
24
|
*/
|
@@ -25,5 +31,6 @@ export declare const treeF: {
|
|
25
31
|
length: typeof length;
|
26
32
|
replace: typeof replace;
|
27
33
|
descendants: typeof descendants;
|
34
|
+
ancestors: typeof ancestors;
|
28
35
|
};
|
29
36
|
export {};
|