lew-ui 2.6.0 → 2.6.2

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.
@@ -120,3 +120,6 @@ export declare const poll: ({ interval, timeout, callback, vail }: {
120
120
  callback: () => void;
121
121
  vail: () => boolean;
122
122
  }) => void;
123
+ export declare const insertChildByKey: (tree: any, key: string | number, newChild: any) => boolean;
124
+ export declare const findAllChildrenKeys: (node: any) => (string | number)[];
125
+ export declare const findNodeByKey: (key: string | number, tree: any) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lew-ui",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "A Component Library for Vue3.js.",
5
5
  "keywords": [
6
6
  "vue3",
@@ -1,25 +0,0 @@
1
- import { TreeDataSource } from './props';
2
-
3
- export declare const flattenTree: (tree: TreeDataSource[]) => TreeDataSource[];
4
- export declare const findAllNodes: (tree?: TreeDataSource[], keyField?: string) => unknown[];
5
- export declare const findLeafNodes: (tree?: TreeDataSource[], keyField?: string) => unknown[];
6
- export declare const formatTree: ({ dataSource, parent, parentKeyPaths, parentLabelPaths, keyField, labelField, free }: {
7
- dataSource: TreeDataSource[];
8
- parent?: any;
9
- parentKeyPaths?: String[];
10
- parentLabelPaths?: String[];
11
- keyField?: string;
12
- labelField?: string;
13
- free?: boolean;
14
- }) => TreeDataSource[];
15
- export declare const tree2List: ({ initTree, dataSource, keyField, labelField, free, keyword }: {
16
- initTree?: any;
17
- dataSource?: TreeDataSource[];
18
- keyField?: string;
19
- labelField?: string;
20
- free?: boolean;
21
- keyword?: string;
22
- }) => Promise<Error | {
23
- newTree: TreeDataSource[];
24
- newTreeList: TreeDataSource[];
25
- }>;