@balkangraph/orgchart.js 7.10.44 → 7.11.3
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/orgchart.d.ts +8 -2
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -129,6 +129,7 @@ declare namespace OrgChart {
|
|
|
129
129
|
var SEARCH_PLACEHOLDER: string;
|
|
130
130
|
|
|
131
131
|
const RES: any;
|
|
132
|
+
|
|
132
133
|
|
|
133
134
|
}
|
|
134
135
|
|
|
@@ -1019,7 +1020,8 @@ Code example:
|
|
|
1019
1020
|
searchFieldsWeight?: Object,
|
|
1020
1021
|
searchDisplayField?: String,
|
|
1021
1022
|
|
|
1022
|
-
enableKeyNavigation?: boolean
|
|
1023
|
+
enableKeyNavigation?: boolean,
|
|
1024
|
+
nodeCircleMenu: Object
|
|
1023
1025
|
|
|
1024
1026
|
}
|
|
1025
1027
|
|
|
@@ -1027,6 +1029,7 @@ Code example:
|
|
|
1027
1029
|
|
|
1028
1030
|
declare class OrgChart {
|
|
1029
1031
|
nodes: Array<Node>;
|
|
1032
|
+
nodeCircleMenuUI: any;
|
|
1030
1033
|
editUI: any;
|
|
1031
1034
|
menuUI: any;
|
|
1032
1035
|
nodeMenu: any;
|
|
@@ -1623,7 +1626,7 @@ Code example:
|
|
|
1623
1626
|
* @param label
|
|
1624
1627
|
* @param template
|
|
1625
1628
|
*/
|
|
1626
|
-
addClink(fromId: string | number, toId: string | number, label
|
|
1629
|
+
addClink(fromId: string | number, toId: string | number, label?: string, template?: string) : void;
|
|
1627
1630
|
|
|
1628
1631
|
/**
|
|
1629
1632
|
* Removes clink.
|
|
@@ -1712,6 +1715,7 @@ Code example:
|
|
|
1712
1715
|
removeSlink(fromId: string | number, toId: string | number) : void;
|
|
1713
1716
|
|
|
1714
1717
|
on(action: string, fun: Function): void;
|
|
1718
|
+
|
|
1715
1719
|
getNode(id: string | number): NodeModel;
|
|
1716
1720
|
|
|
1717
1721
|
/**
|
|
@@ -1905,4 +1909,6 @@ Code example:
|
|
|
1905
1909
|
*/
|
|
1906
1910
|
|
|
1907
1911
|
getNodeElement(id: string | number) : void;
|
|
1912
|
+
|
|
1913
|
+
generateId() : string | number;
|
|
1908
1914
|
}export default OrgChart
|