@balkangraph/orgchart.js 8.14.62 → 8.14.64

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 CHANGED
@@ -692,8 +692,24 @@ declare class OrgChart extends OrgChartBase {
692
692
  toolbarUI: OrgChart.toolbarUI;
693
693
  config: OrgChart.options;
694
694
  roots: Array<OrgChart.node>;
695
+
696
+ static fileUploadDialog(callback: (file: any) => void): void;
697
+
698
+ static exportPDFFromCharts(optionList: Array<{
699
+ chartInstance: OrgChart,
700
+ margin?: Array<number>,
701
+ padding?: number,
702
+ landscape?: boolean,
703
+ type?: "preview" | "nodes",
704
+ scale?: "fit" | number,
705
+ format?: "A1" | "A2" | "A3" | "A4" | "A5" | "A4" | "Letter" | "Legal",
706
+ header?: string,
707
+ footer?: string,
708
+ expandChildren?: boolean,
709
+ min?: boolean,
710
+ nodeId? : number | string
711
+ }>, filename?: string, openInNewTab?: boolean, callback: (arrayBuffer: ArrayBuffer) => void): void;
695
712
 
696
- static fileUploadDialog(scallback: (file: any) => void): void;
697
713
  static isMobile(): boolean;
698
714
  /**
699
715
  * Checks if the used libraris is licnsed or not