@balkangraph/orgchart.js 8.19.1 → 8.19.3
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 +51 -5
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1040,6 +1040,7 @@ declare class OrgChart {
|
|
|
1040
1040
|
exportVisio(options?: OrgChart.exportOptions, callback?: () => void): void;
|
|
1041
1041
|
exportToPowerPoint(options?: OrgChart.exportPowerPontOptions, callback?: () => void): void;
|
|
1042
1042
|
exportToPDF(options?: OrgChart.exportPDFOptions, callback?: () => void): void;
|
|
1043
|
+
exportToPNG(options?: OrgChart.exportPNGOptions, callback?: () => void): void;
|
|
1043
1044
|
|
|
1044
1045
|
/**
|
|
1045
1046
|
* Imports CSV file.
|
|
@@ -1527,6 +1528,7 @@ declare class OrgChart {
|
|
|
1527
1528
|
powerPointPreviewUI: OrgChart.powerPointPreviewUI;
|
|
1528
1529
|
|
|
1529
1530
|
pdfPreviewUI: OrgChart.pdfPreviewUI;
|
|
1531
|
+
pngPreviewUI: OrgChart.pngPreviewUI;
|
|
1530
1532
|
|
|
1531
1533
|
/**
|
|
1532
1534
|
* The chart filterUI object.
|
|
@@ -3189,6 +3191,19 @@ declare namespace OrgChart {
|
|
|
3189
3191
|
show(options: OrgChart.exportPDFOptions): void;
|
|
3190
3192
|
}
|
|
3191
3193
|
|
|
3194
|
+
interface pngPreviewUI {
|
|
3195
|
+
/**
|
|
3196
|
+
* The width of the EXPORT UI
|
|
3197
|
+
*/
|
|
3198
|
+
get width(): number;
|
|
3199
|
+
get instance(): OrgChart;
|
|
3200
|
+
get options(): OrgChart.exportPNGOptions;
|
|
3201
|
+
init(obj: OrgChart): void;
|
|
3202
|
+
isVisible(): boolean;
|
|
3203
|
+
hide(): void;
|
|
3204
|
+
show(options: OrgChart.exportPNGOptions): void;
|
|
3205
|
+
}
|
|
3206
|
+
|
|
3192
3207
|
/**
|
|
3193
3208
|
* Circle Menu UI
|
|
3194
3209
|
* ```typescript
|
|
@@ -3740,12 +3755,11 @@ declare namespace OrgChart {
|
|
|
3740
3755
|
|
|
3741
3756
|
interface exportPowerPontOptions {
|
|
3742
3757
|
openInNewTab?: boolean,
|
|
3743
|
-
|
|
3758
|
+
fileName?: string,
|
|
3744
3759
|
// width?: number,
|
|
3745
3760
|
// height?: number,
|
|
3746
3761
|
padding?: number,
|
|
3747
3762
|
margin?: Array<number>,
|
|
3748
|
-
nodeId?: number | string,
|
|
3749
3763
|
expandChildren?: boolean,
|
|
3750
3764
|
childLevels?: boolean,
|
|
3751
3765
|
parentLevels?: boolean,
|
|
@@ -3768,13 +3782,12 @@ declare namespace OrgChart {
|
|
|
3768
3782
|
|
|
3769
3783
|
interface exportPDFOptions {
|
|
3770
3784
|
openInNewTab?: boolean,
|
|
3771
|
-
|
|
3772
|
-
|
|
3785
|
+
fileName?: string,
|
|
3786
|
+
landscape?: boolean,
|
|
3773
3787
|
// width?: number,
|
|
3774
3788
|
// height?: number,
|
|
3775
3789
|
padding?: number,
|
|
3776
3790
|
margin?: Array<number>,
|
|
3777
|
-
nodeId?: number | string,
|
|
3778
3791
|
expandChildren?: boolean,
|
|
3779
3792
|
childLevels?: boolean,
|
|
3780
3793
|
parentLevels?: boolean,
|
|
@@ -3795,6 +3808,33 @@ declare namespace OrgChart {
|
|
|
3795
3808
|
footer?: string
|
|
3796
3809
|
}
|
|
3797
3810
|
|
|
3811
|
+
interface exportPNGOptions {
|
|
3812
|
+
openInNewTab?: boolean,
|
|
3813
|
+
fileName?: string,
|
|
3814
|
+
//landscape?: boolean,
|
|
3815
|
+
width?: number,
|
|
3816
|
+
height?: number,
|
|
3817
|
+
padding?: number,
|
|
3818
|
+
margin?: Array<number>,
|
|
3819
|
+
expandChildren?: boolean,
|
|
3820
|
+
childLevels?: boolean,
|
|
3821
|
+
parentLevels?: boolean,
|
|
3822
|
+
min?: boolean,
|
|
3823
|
+
pages?: Array<{
|
|
3824
|
+
chartInstance?: OrgChart,
|
|
3825
|
+
nodeId?: number | string,
|
|
3826
|
+
expandChildren?: boolean,
|
|
3827
|
+
childLevels?: boolean,
|
|
3828
|
+
parentLevels?: boolean,
|
|
3829
|
+
min?: boolean,
|
|
3830
|
+
header?: string,
|
|
3831
|
+
footer?: string,
|
|
3832
|
+
content?: string
|
|
3833
|
+
}>,
|
|
3834
|
+
//format?: "A1" | "A2" | "A3" | "A4" | "A5" | "A4" | "Letter" | "Legal",
|
|
3835
|
+
header?: string,
|
|
3836
|
+
footer?: string
|
|
3837
|
+
}
|
|
3798
3838
|
|
|
3799
3839
|
|
|
3800
3840
|
|
|
@@ -5325,6 +5365,12 @@ declare namespace OrgChart {
|
|
|
5325
5365
|
* @ignore
|
|
5326
5366
|
*/
|
|
5327
5367
|
pdfPreviewUI?: OrgChart.pdfPreviewUI,
|
|
5368
|
+
|
|
5369
|
+
/**
|
|
5370
|
+
* @ignore
|
|
5371
|
+
*/
|
|
5372
|
+
pngPreviewUI?: OrgChart.pngPreviewUI,
|
|
5373
|
+
|
|
5328
5374
|
/**
|
|
5329
5375
|
* @ignore
|
|
5330
5376
|
*/
|
package/orgchart.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
1
|
+
/* eslint-disable */
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"8.19.
|
|
1
|
+
{"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"8.19.03"}
|