@balkangraph/orgchart.js 8.3.3 → 8.3.6
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 +4 -3
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -616,7 +616,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
616
616
|
static isNEU(val: any): boolean;
|
|
617
617
|
static gradientCircleForDefs(id: string | number, colors: Array<string> | string, r: number, strokeWidth: number): string;
|
|
618
618
|
static convertCsvToNodes(text: string) : Array<OrgChart.node>;
|
|
619
|
-
|
|
619
|
+
static wrapText(text: string, field: Object): string;
|
|
620
620
|
/**
|
|
621
621
|
* Shows/hides lloading image. Usefull when export large data to pdf. You can override and show your own loading image.
|
|
622
622
|
*/
|
|
@@ -1010,7 +1010,7 @@ declare namespace OrgChart {
|
|
|
1010
1010
|
interface filterUI {
|
|
1011
1011
|
init(instance: OrgChart): void;
|
|
1012
1012
|
update(): void;
|
|
1013
|
-
|
|
1013
|
+
addFilterTag(data: object): boolean;
|
|
1014
1014
|
}
|
|
1015
1015
|
|
|
1016
1016
|
|
|
@@ -2157,7 +2157,8 @@ declare class OrgChartBase {
|
|
|
2157
2157
|
/**
|
|
2158
2158
|
* dragged node id
|
|
2159
2159
|
*/
|
|
2160
|
-
dragId: string | number
|
|
2160
|
+
dragId: string | number,
|
|
2161
|
+
event: MouseEvent
|
|
2161
2162
|
}) => void): OrgChart;
|
|
2162
2163
|
/**
|
|
2163
2164
|
* The onDrop event occurs when a node is dropped. *enableDragDrop* option has to be turned on.
|