@wavemaker/app-ng-runtime 11.4.1-rc.5354 → 11.4.2-next.25744
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/components/chart/bundles/index.umd.js +7 -1
- app-ng-runtime/components/chart/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/chart/esm2015/chart.component.js +8 -2
- app-ng-runtime/components/chart/fesm2015/index.js +7 -1
- app-ng-runtime/components/chart/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/chart/index.metadata.json +1 -1
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +6 -0
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/containers/tabs/esm2015/tab-pane/tab-pane.component.js +7 -1
- app-ng-runtime/components/containers/tabs/fesm2015/index.js +6 -0
- app-ng-runtime/components/containers/tabs/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/containers/tabs/index.metadata.json +1 -1
- app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -0
- app-ng-runtime/components/data/form/bundles/index.umd.js +5 -3
- app-ng-runtime/components/data/form/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/form/esm2015/form.component.js +6 -4
- app-ng-runtime/components/data/form/fesm2015/index.js +5 -3
- app-ng-runtime/components/data/form/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/form/index.metadata.json +1 -1
- 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;
|
|
@@ -1196,7 +1196,13 @@
|
|
|
1196
1196
|
if (isLineTypeChart(this.type) && !core.isNumberType(this.xAxisDataType)) {
|
|
1197
1197
|
// Verification to get the unique data keys
|
|
1198
1198
|
this.xDataKeyArr.push(value);
|
|
1199
|
-
|
|
1199
|
+
// Check if it is of type Date
|
|
1200
|
+
if (value instanceof Date) {
|
|
1201
|
+
return value;
|
|
1202
|
+
}
|
|
1203
|
+
else {
|
|
1204
|
+
return index;
|
|
1205
|
+
}
|
|
1200
1206
|
}
|
|
1201
1207
|
return value;
|
|
1202
1208
|
};
|