@wavemaker/app-ng-runtime 11.4.1-next.24709 → 11.4.1-next.24710
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.
- app-ng-runtime/components/basic/tree/bundles/index.umd.js +93 -216
- app-ng-runtime/components/basic/tree/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/basic/tree/esm2015/tree.component.js +94 -185
- app-ng-runtime/components/basic/tree/fesm2015/index.js +93 -184
- app-ng-runtime/components/basic/tree/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/basic/tree/index.metadata.json +1 -1
- app-ng-runtime/components/basic/tree/tree.component.d.ts +20 -20
- app-ng-runtime/package.json +1 -1
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { StylableComponent } from '@wm/components/base';
|
|
3
3
|
export declare class TreeComponent extends StylableComponent implements OnInit {
|
|
4
|
+
private binddatavalue;
|
|
5
|
+
private bindnodelabel;
|
|
6
|
+
private bindnodeicon;
|
|
7
|
+
private bindnodechildren;
|
|
4
8
|
private bindnodeid;
|
|
5
9
|
static initializeProps: void;
|
|
6
|
-
selecteditem: any;
|
|
7
|
-
nodeid: string;
|
|
8
10
|
private nodes;
|
|
11
|
+
private zTreeNodes;
|
|
9
12
|
private level;
|
|
10
|
-
private orderby;
|
|
11
|
-
private nodelabel;
|
|
12
|
-
private treeicon;
|
|
13
|
-
private nodechildren;
|
|
14
|
-
private nodeclick;
|
|
15
13
|
private treeClass;
|
|
16
|
-
private nodeicon;
|
|
17
14
|
private name;
|
|
18
|
-
private
|
|
15
|
+
private zTree;
|
|
16
|
+
datavalue: string;
|
|
17
|
+
treeicons: string;
|
|
18
|
+
selecteditem: any;
|
|
19
|
+
nodeid: string;
|
|
20
|
+
nodeaction: string;
|
|
21
|
+
nodeclick: string;
|
|
22
|
+
nodelabel: string;
|
|
23
|
+
nodeicon: string;
|
|
24
|
+
nodechildren: string;
|
|
25
|
+
orderby: string;
|
|
19
26
|
private setting;
|
|
20
|
-
constructor(inj: Injector, bindnodeid: any);
|
|
27
|
+
constructor(inj: Injector, binddatavalue: any, bindnodelabel: any, bindnodeicon: any, bindnodechildren: any, bindnodeid: any);
|
|
21
28
|
onPropertyChange(key: string, nv: any, ov?: any): void;
|
|
22
29
|
private expandTree;
|
|
23
30
|
private setTreeTemplate;
|
|
24
31
|
private getNodesFromString;
|
|
25
32
|
private getNodes;
|
|
26
|
-
private
|
|
27
|
-
private setNodeData;
|
|
33
|
+
private setNodeClasses;
|
|
28
34
|
private changeTreeIcons;
|
|
29
35
|
private getPath;
|
|
30
36
|
onClick(event: any, treeId: any, treeNode: any, clickFlag: any): void;
|
|
31
37
|
onExpand(event: any, treeId: any, treeNode: any): void;
|
|
32
38
|
onCollapse(event: any, treeId: any, treeNode: any): void;
|
|
33
|
-
private
|
|
34
|
-
get childrenKey(): any;
|
|
35
|
-
get labelKey(): any;
|
|
36
|
-
get iconKey(): any;
|
|
37
|
-
get treeObj(): any;
|
|
38
|
-
private modifyObjects;
|
|
39
|
-
private setNodeChildren;
|
|
40
|
-
private countDepth;
|
|
39
|
+
private constructZTreeData;
|
|
41
40
|
renderTree(): void;
|
|
41
|
+
private setChecked;
|
|
42
42
|
private selectNode;
|
|
43
43
|
private expandNode;
|
|
44
44
|
private postRenderTree;
|