@balkangraph/orgchart.js 8.15.34 → 8.15.35
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 +19 -1
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -81,6 +81,12 @@ declare class OrgChart {
|
|
|
81
81
|
* ```
|
|
82
82
|
*/
|
|
83
83
|
xml: (w: string| number, h: string| number, c: string| number) => string,
|
|
84
|
+
/**
|
|
85
|
+
* ```typescript
|
|
86
|
+
* let visioIcon = OrgChart.icon.visio(24, 24, "#7A7A7A");
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
visio: (w: string| number, h: string| number, c: string| number, x?: string| number, y?: string| number) => string,
|
|
84
90
|
/**
|
|
85
91
|
* ```typescript
|
|
86
92
|
* let linkIcon = OrgChart.icon.link(24, 24, "#7A7A7A");
|
|
@@ -970,6 +976,18 @@ declare class OrgChart {
|
|
|
970
976
|
* {@link https://balkan.app/OrgChartJS/Docs/Exporting | See doc...}
|
|
971
977
|
*/
|
|
972
978
|
exportSVG(options?: OrgChart.exportOptions, callback?: () => void): void;
|
|
979
|
+
/**
|
|
980
|
+
* Exports to Visio document
|
|
981
|
+
* ```typescript
|
|
982
|
+
* let chart = new OrgChart('#tree', {});
|
|
983
|
+
* ...
|
|
984
|
+
* chart.exportVisio();
|
|
985
|
+
* ```
|
|
986
|
+
* @param options export options
|
|
987
|
+
* @param callback called when the export completes
|
|
988
|
+
* {@link https://balkan.app/OrgChartJS/Docs/Exporting | See doc...}
|
|
989
|
+
*/
|
|
990
|
+
exportVisio(options?: OrgChart.exportOptions, callback?: () => void): void;
|
|
973
991
|
/**
|
|
974
992
|
* Imports CSV file.
|
|
975
993
|
* ```typescript
|
|
@@ -4752,7 +4770,7 @@ declare namespace OrgChart {
|
|
|
4752
4770
|
exportUrl?: string,
|
|
4753
4771
|
|
|
4754
4772
|
/**
|
|
4755
|
-
* The URL to the export server. Default value - *https://
|
|
4773
|
+
* The URL to the export server. Default value - *https://serverjs.balkan.app*
|
|
4756
4774
|
* ```typescript
|
|
4757
4775
|
* var chart = new OrgChart('#tree', {
|
|
4758
4776
|
* serverUrl: "https://myDomain.com"
|