@balkangraph/orgchart.js 8.2.68 → 8.2.69
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 +21 -24
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -577,7 +577,7 @@ declare class OrgChart extends OrgChartBase {
|
|
|
577
577
|
toolbarUI: OrgChart.toolbarUI;
|
|
578
578
|
config: OrgChart.options
|
|
579
579
|
|
|
580
|
-
static fileUploadDialog(callback: () => void): void;
|
|
580
|
+
static fileUploadDialog(callback: (file: any) => void): void;
|
|
581
581
|
static isMobile(): boolean;
|
|
582
582
|
/**
|
|
583
583
|
* Checks if the used libraris is licnsed or not
|
|
@@ -617,28 +617,6 @@ declare class OrgChart extends OrgChartBase {
|
|
|
617
617
|
}
|
|
618
618
|
|
|
619
619
|
|
|
620
|
-
static icon: {
|
|
621
|
-
png: (w: string| number, h: string | number, c: string) => string,
|
|
622
|
-
pdf: (w: string | number| number, h: string | number, c: string) => string,
|
|
623
|
-
svg: (w: string| number, h: string| number, c: string | number) => string,
|
|
624
|
-
csv: (w: string| number, h: string| number, c: string| number) => string,
|
|
625
|
-
excel: (w: string| number, h: string| number, c: string| number) => string,
|
|
626
|
-
edit: (w: string| number, h: string| number, c: string| number) => string,
|
|
627
|
-
details: (w: string| number, h: string| number, c: string| number) => string,
|
|
628
|
-
remove: (w: string| number, h: string| number, c: string| number) => string,
|
|
629
|
-
add: (w: string| number, h: string| number, c: string| number) => string,
|
|
630
|
-
xml: (w: string| number, h: string| number, c: string| number) => string,
|
|
631
|
-
link: (w: string| number, h: string| number, c: string| number) => string,
|
|
632
|
-
happy: (w: string| number, h: string| number, c: string| number) => string,
|
|
633
|
-
sad: (w: string| number, h: string| number, c: string| number) => string,
|
|
634
|
-
share: (w: string| number, h: string| number, c: string| number, x?: string| number, y?: string| number) => string,
|
|
635
|
-
user: (w: string| number, h: string| number, c: string| number, x?: string| number, y?: string| number) => string
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
620
|
static templates :{ [key: string]: OrgChart.template} ;
|
|
643
621
|
|
|
644
622
|
|
|
@@ -854,7 +832,7 @@ declare namespace OrgChart {
|
|
|
854
832
|
* @param detailsMode If true the edit form is in read only mode
|
|
855
833
|
* @param dontAnim
|
|
856
834
|
*/
|
|
857
|
-
show(id: string | number, detailsMode: boolean, dontAnim
|
|
835
|
+
show(id: string | number, detailsMode: boolean, dontAnim?: boolean): void;
|
|
858
836
|
/**
|
|
859
837
|
* Hides the edit form
|
|
860
838
|
*/
|
|
@@ -2004,6 +1982,25 @@ declare namespace OrgChart {
|
|
|
2004
1982
|
|
|
2005
1983
|
declare class OrgChartBase {
|
|
2006
1984
|
|
|
1985
|
+
static icon: {
|
|
1986
|
+
png: (w: string| number, h: string | number, c: string) => string,
|
|
1987
|
+
pdf: (w: string | number| number, h: string | number, c: string) => string,
|
|
1988
|
+
svg: (w: string| number, h: string| number, c: string | number) => string,
|
|
1989
|
+
csv: (w: string| number, h: string| number, c: string| number) => string,
|
|
1990
|
+
excel: (w: string| number, h: string| number, c: string| number) => string,
|
|
1991
|
+
edit: (w: string| number, h: string| number, c: string| number) => string,
|
|
1992
|
+
details: (w: string| number, h: string| number, c: string| number) => string,
|
|
1993
|
+
remove: (w: string| number, h: string| number, c: string| number) => string,
|
|
1994
|
+
add: (w: string| number, h: string| number, c: string| number) => string,
|
|
1995
|
+
xml: (w: string| number, h: string| number, c: string| number) => string,
|
|
1996
|
+
link: (w: string| number, h: string| number, c: string| number) => string,
|
|
1997
|
+
happy: (w: string| number, h: string| number, c: string| number) => string,
|
|
1998
|
+
sad: (w: string| number, h: string| number, c: string| number) => string,
|
|
1999
|
+
share: (w: string| number, h: string| number, c: string| number, x?: string| number, y?: string| number) => string,
|
|
2000
|
+
user: (w: string| number, h: string| number, c: string| number, x?: string| number, y?: string| number) => string
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
|
|
2007
2004
|
/**
|
|
2008
2005
|
* Can update link
|
|
2009
2006
|
* @param id child id
|