@balkangraph/orgchart.js 8.4.1 → 8.4.4
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 +24 -3
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -277,10 +277,23 @@ declare class OrgChart extends OrgChartBase {
|
|
|
277
277
|
exportPNGProfile(options: OrgChart.exportOptions, callback?: () => void): void;
|
|
278
278
|
/**
|
|
279
279
|
* Exports to CSV
|
|
280
|
-
* @param
|
|
280
|
+
* @param filename The name of the exported file
|
|
281
281
|
* {@link https://balkan.app/OrgChartJS/Docs/Exporting | See doc...}
|
|
282
282
|
*/
|
|
283
|
-
exportCSV(
|
|
283
|
+
exportCSV(filename: string): void;
|
|
284
|
+
/**
|
|
285
|
+
* Exports to XML
|
|
286
|
+
* @param filename The name of the exported file
|
|
287
|
+
* {@link https://balkan.app/OrgChartJS/Docs/Exporting | See doc...}
|
|
288
|
+
*/
|
|
289
|
+
exportXML(filename: string): void;
|
|
290
|
+
/**
|
|
291
|
+
* Exports to JSON
|
|
292
|
+
* @param filename The name of the exported file
|
|
293
|
+
* {@link https://balkan.app/OrgChartJS/Docs/Exporting | See doc...}
|
|
294
|
+
*/
|
|
295
|
+
exportJSON(filename: string): void;
|
|
296
|
+
|
|
284
297
|
/**
|
|
285
298
|
* Shares node data, uses build-in device sharing functionallity.
|
|
286
299
|
* @param id node id
|
|
@@ -317,7 +330,14 @@ declare class OrgChart extends OrgChartBase {
|
|
|
317
330
|
* Imports XML file.
|
|
318
331
|
* {@link https://balkan.app/OrgChartJS/Docs/Importing | See doc...}
|
|
319
332
|
*/
|
|
320
|
-
importXML(
|
|
333
|
+
importXML(): void;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Imports JSON file.
|
|
337
|
+
* {@link https://balkan.app/OrgChartJS/Docs/Importing | See doc...}
|
|
338
|
+
*/
|
|
339
|
+
importJSON(): void;
|
|
340
|
+
|
|
321
341
|
/**
|
|
322
342
|
* Zoom out or zoom in the chart.
|
|
323
343
|
* @param delta true for zoom in, false for zoom out or scale number, if scale is > 1 it will zoom in and scale < 1 zoom out.
|
|
@@ -770,6 +790,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
770
790
|
* Hides the Edit Form when the chart is moved with pan
|
|
771
791
|
*/
|
|
772
792
|
static HIDE_EDIT_FORM_ON_PAN: boolean;
|
|
793
|
+
static ARRAY_FIELDS: Array<string>;
|
|
773
794
|
|
|
774
795
|
/**
|
|
775
796
|
* @ignore
|