@balkangraph/orgchart.js 8.10.18 → 8.10.19
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 +10 -3
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -283,19 +283,19 @@ declare class OrgChart extends OrgChartBase {
|
|
|
283
283
|
* @param filename The name of the exported file
|
|
284
284
|
* {@link https://balkan.app/OrgChartJS/Docs/Exporting | See doc...}
|
|
285
285
|
*/
|
|
286
|
-
exportCSV(filename: string): void;
|
|
286
|
+
exportCSV(filename: string | OrgChart.exportCSVXMLJSONOptions): void;
|
|
287
287
|
/**
|
|
288
288
|
* Exports to XML
|
|
289
289
|
* @param filename The name of the exported file
|
|
290
290
|
* {@link https://balkan.app/OrgChartJS/Docs/Exporting | See doc...}
|
|
291
291
|
*/
|
|
292
|
-
exportXML(filename: string): void;
|
|
292
|
+
exportXML(filename: string | OrgChart.exportCSVXMLJSONOptions): void;
|
|
293
293
|
/**
|
|
294
294
|
* Exports to JSON
|
|
295
295
|
* @param filename The name of the exported file
|
|
296
296
|
* {@link https://balkan.app/OrgChartJS/Docs/Exporting | See doc...}
|
|
297
297
|
*/
|
|
298
|
-
exportJSON(filename: string): void;
|
|
298
|
+
exportJSON(filename: string | OrgChart.exportCSVXMLJSONOptions ): void;
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
301
|
* Shares node data, uses build-in device sharing functionallity.
|
|
@@ -1218,6 +1218,13 @@ declare namespace OrgChart {
|
|
|
1218
1218
|
nodeId? : number | string
|
|
1219
1219
|
}
|
|
1220
1220
|
|
|
1221
|
+
interface exportCSVXMLJSONOptions {
|
|
1222
|
+
filename?: string,
|
|
1223
|
+
expandChildren?: boolean,
|
|
1224
|
+
min?: boolean,
|
|
1225
|
+
nodeId? : number | string
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1221
1228
|
interface linkTemplate {
|
|
1222
1229
|
defs?: string,
|
|
1223
1230
|
link?: string,
|