@balkangraph/orgchart.js 8.18.13 → 8.19.0
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 -6
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1039,7 +1039,7 @@ declare class OrgChart {
|
|
|
1039
1039
|
*/
|
|
1040
1040
|
exportVisio(options?: OrgChart.exportOptions, callback?: () => void): void;
|
|
1041
1041
|
exportToPowerPoint(options?: OrgChart.exportPowerPontOptions, callback?: () => void): void;
|
|
1042
|
-
exportToPDF(options?: OrgChart.
|
|
1042
|
+
exportToPDF(options?: OrgChart.exportPDFOptions, callback?: () => void): void;
|
|
1043
1043
|
|
|
1044
1044
|
/**
|
|
1045
1045
|
* Imports CSV file.
|
|
@@ -1524,9 +1524,9 @@ declare class OrgChart {
|
|
|
1524
1524
|
*/
|
|
1525
1525
|
nodeMenuUI: OrgChart.menuUI;
|
|
1526
1526
|
|
|
1527
|
-
powerPointPreviewUI: OrgChart.
|
|
1527
|
+
powerPointPreviewUI: OrgChart.powerPointPreviewUI;
|
|
1528
1528
|
|
|
1529
|
-
pdfPreviewUI: OrgChart.
|
|
1529
|
+
pdfPreviewUI: OrgChart.pdfPreviewUI;
|
|
1530
1530
|
|
|
1531
1531
|
/**
|
|
1532
1532
|
* The chart filterUI object.
|
|
@@ -3163,7 +3163,7 @@ declare namespace OrgChart {
|
|
|
3163
3163
|
show(x: number | HTMLElement, y?: number, firstNodeId?: string | number, secondNodeId?: string | number, menu?: { [key: string]: menu }): void;
|
|
3164
3164
|
}
|
|
3165
3165
|
|
|
3166
|
-
interface
|
|
3166
|
+
interface powerPointPreviewUI {
|
|
3167
3167
|
/**
|
|
3168
3168
|
* The width of the EXPORT UI
|
|
3169
3169
|
*/
|
|
@@ -3176,6 +3176,19 @@ declare namespace OrgChart {
|
|
|
3176
3176
|
show(options: OrgChart.exportPowerPontOptions): void;
|
|
3177
3177
|
}
|
|
3178
3178
|
|
|
3179
|
+
interface pdfPreviewUI {
|
|
3180
|
+
/**
|
|
3181
|
+
* The width of the EXPORT UI
|
|
3182
|
+
*/
|
|
3183
|
+
get width(): number;
|
|
3184
|
+
get instance(): OrgChart;
|
|
3185
|
+
get options(): OrgChart.exportPDFOptions;
|
|
3186
|
+
init(obj: OrgChart): void;
|
|
3187
|
+
isVisible(): boolean;
|
|
3188
|
+
hide(): void;
|
|
3189
|
+
show(options: OrgChart.exportPDFOptions): void;
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3179
3192
|
/**
|
|
3180
3193
|
* Circle Menu UI
|
|
3181
3194
|
* ```typescript
|
|
@@ -3753,6 +3766,35 @@ declare namespace OrgChart {
|
|
|
3753
3766
|
footer?: string
|
|
3754
3767
|
}
|
|
3755
3768
|
|
|
3769
|
+
interface exportPDFOptions {
|
|
3770
|
+
openInNewTab?: boolean,
|
|
3771
|
+
filename?: string,
|
|
3772
|
+
lanscape?: boolean,
|
|
3773
|
+
// width?: number,
|
|
3774
|
+
// height?: number,
|
|
3775
|
+
padding?: number,
|
|
3776
|
+
margin?: Array<number>,
|
|
3777
|
+
nodeId?: number | string,
|
|
3778
|
+
expandChildren?: boolean,
|
|
3779
|
+
childLevels?: boolean,
|
|
3780
|
+
parentLevels?: boolean,
|
|
3781
|
+
min?: boolean,
|
|
3782
|
+
pages?: Array<{
|
|
3783
|
+
chartInstance?: OrgChart,
|
|
3784
|
+
nodeId?: number | string,
|
|
3785
|
+
expandChildren?: boolean,
|
|
3786
|
+
childLevels?: boolean,
|
|
3787
|
+
parentLevels?: boolean,
|
|
3788
|
+
min?: boolean,
|
|
3789
|
+
header?: string,
|
|
3790
|
+
footer?: string,
|
|
3791
|
+
content?: string
|
|
3792
|
+
}>,
|
|
3793
|
+
format?: "A1" | "A2" | "A3" | "A4" | "A5" | "A4" | "Letter" | "Legal",
|
|
3794
|
+
header?: string,
|
|
3795
|
+
footer?: string
|
|
3796
|
+
}
|
|
3797
|
+
|
|
3756
3798
|
|
|
3757
3799
|
|
|
3758
3800
|
|
|
@@ -5277,12 +5319,12 @@ declare namespace OrgChart {
|
|
|
5277
5319
|
/**
|
|
5278
5320
|
* @ignore
|
|
5279
5321
|
*/
|
|
5280
|
-
powerPointPreviewUI?: OrgChart.
|
|
5322
|
+
powerPointPreviewUI?: OrgChart.powerPointPreviewUI,
|
|
5281
5323
|
|
|
5282
5324
|
/**
|
|
5283
5325
|
* @ignore
|
|
5284
5326
|
*/
|
|
5285
|
-
pdfPreviewUI?: OrgChart.
|
|
5327
|
+
pdfPreviewUI?: OrgChart.pdfPreviewUI,
|
|
5286
5328
|
/**
|
|
5287
5329
|
* @ignore
|
|
5288
5330
|
*/
|
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.
|
|
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.0"}
|