@balkangraph/orgchart.js 8.19.2 → 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 +48 -0
- 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
|
|
@@ -3793,6 +3808,33 @@ declare namespace OrgChart {
|
|
|
3793
3808
|
footer?: string
|
|
3794
3809
|
}
|
|
3795
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
|
+
}
|
|
3796
3838
|
|
|
3797
3839
|
|
|
3798
3840
|
|
|
@@ -5323,6 +5365,12 @@ declare namespace OrgChart {
|
|
|
5323
5365
|
* @ignore
|
|
5324
5366
|
*/
|
|
5325
5367
|
pdfPreviewUI?: OrgChart.pdfPreviewUI,
|
|
5368
|
+
|
|
5369
|
+
/**
|
|
5370
|
+
* @ignore
|
|
5371
|
+
*/
|
|
5372
|
+
pngPreviewUI?: OrgChart.pngPreviewUI,
|
|
5373
|
+
|
|
5326
5374
|
/**
|
|
5327
5375
|
* @ignore
|
|
5328
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"}
|