@balkangraph/orgchart.js 8.17.5 → 8.18.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 +54 -29
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -86,10 +86,16 @@ declare class OrgChart {
|
|
|
86
86
|
excel: (w: string| number, h: string| number, c: string| number) => string,
|
|
87
87
|
/**
|
|
88
88
|
* ```typescript
|
|
89
|
-
* let
|
|
89
|
+
* let powerPointIcon = OrgChart.icon.powerpoint(24, 24, "#7A7A7A");
|
|
90
90
|
* ```
|
|
91
91
|
*/
|
|
92
92
|
powerpoint: (w: string| number, h: string| number, c: string| number) => string,
|
|
93
|
+
/**
|
|
94
|
+
* ```typescript
|
|
95
|
+
* let powerPointPreviewIcon = OrgChart.icon.pppreview(24, 24, "#7A7A7A");
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
pppreview: (w: string| number, h: string| number, c: string| number) => string,
|
|
93
99
|
/**
|
|
94
100
|
* ```typescript
|
|
95
101
|
* let editIcon = OrgChart.icon.edit(24, 24, "#7A7A7A");
|
|
@@ -1032,33 +1038,7 @@ declare class OrgChart {
|
|
|
1032
1038
|
* {@link https://balkan.app/OrgChartJS/Docs/Exporting | See doc...}
|
|
1033
1039
|
*/
|
|
1034
1040
|
exportVisio(options?: OrgChart.exportOptions, callback?: () => void): void;
|
|
1035
|
-
exportToPowerPoint(options?:
|
|
1036
|
-
openInNewTab?: boolean,
|
|
1037
|
-
landscape?: boolean,
|
|
1038
|
-
filename?: string,
|
|
1039
|
-
// width?: number,
|
|
1040
|
-
// height?: number,
|
|
1041
|
-
padding?: number,
|
|
1042
|
-
margin?: Array<number>,
|
|
1043
|
-
nodeId?: number | string,
|
|
1044
|
-
expandChildren?: boolean,
|
|
1045
|
-
childLevels?: boolean,
|
|
1046
|
-
parentLevels?: boolean,
|
|
1047
|
-
min?: boolean,
|
|
1048
|
-
pages?: Array<{
|
|
1049
|
-
chartInstance?: OrgChart,
|
|
1050
|
-
nodeId?: number | string,
|
|
1051
|
-
expandChildren?: boolean,
|
|
1052
|
-
childLevels?: boolean,
|
|
1053
|
-
parentLevels?: boolean,
|
|
1054
|
-
min?: boolean,
|
|
1055
|
-
header?: string,
|
|
1056
|
-
footer?: string
|
|
1057
|
-
}>,
|
|
1058
|
-
format?: "Screen" | "Widescreen" | "Standard" | "A1" | "A2" | "A3" | "A4" | "A5" | "A4" | "Letter" | "Legal",
|
|
1059
|
-
header?: string,
|
|
1060
|
-
footer?: string
|
|
1061
|
-
}, callback?: () => void): void;
|
|
1041
|
+
exportToPowerPoint(options?: OrgChart.exportPowerPontOptions, callback?: () => void): void;
|
|
1062
1042
|
|
|
1063
1043
|
/**
|
|
1064
1044
|
* Imports CSV file.
|
|
@@ -3170,6 +3150,15 @@ declare namespace OrgChart {
|
|
|
3170
3150
|
show(x: number | HTMLElement, y?: number, firstNodeId?: string | number, secondNodeId?: string | number, menu?: { [key: string]: menu }): void;
|
|
3171
3151
|
}
|
|
3172
3152
|
|
|
3153
|
+
interface exportUI {
|
|
3154
|
+
get instance(): OrgChart;
|
|
3155
|
+
get options(): OrgChart.exportPowerPontOptions;
|
|
3156
|
+
init(obj: OrgChart): void;
|
|
3157
|
+
isVisible(): boolean;
|
|
3158
|
+
hide(): void;
|
|
3159
|
+
show(options: OrgChart.exportPowerPontOptions): void;
|
|
3160
|
+
}
|
|
3161
|
+
|
|
3173
3162
|
/**
|
|
3174
3163
|
* Circle Menu UI
|
|
3175
3164
|
* ```typescript
|
|
@@ -3718,6 +3707,36 @@ declare namespace OrgChart {
|
|
|
3718
3707
|
}
|
|
3719
3708
|
|
|
3720
3709
|
|
|
3710
|
+
|
|
3711
|
+
interface exportPowerPontOptions {
|
|
3712
|
+
openInNewTab?: boolean,
|
|
3713
|
+
landscape?: boolean,
|
|
3714
|
+
filename?: string,
|
|
3715
|
+
// width?: number,
|
|
3716
|
+
// height?: number,
|
|
3717
|
+
padding?: number,
|
|
3718
|
+
margin?: Array<number>,
|
|
3719
|
+
nodeId?: number | string,
|
|
3720
|
+
expandChildren?: boolean,
|
|
3721
|
+
childLevels?: boolean,
|
|
3722
|
+
parentLevels?: boolean,
|
|
3723
|
+
min?: boolean,
|
|
3724
|
+
pages?: Array<{
|
|
3725
|
+
chartInstance?: OrgChart,
|
|
3726
|
+
nodeId?: number | string,
|
|
3727
|
+
expandChildren?: boolean,
|
|
3728
|
+
childLevels?: boolean,
|
|
3729
|
+
parentLevels?: boolean,
|
|
3730
|
+
min?: boolean,
|
|
3731
|
+
header?: string,
|
|
3732
|
+
footer?: string
|
|
3733
|
+
}>,
|
|
3734
|
+
format?: "Screen" | "Widescreen" | "Standard",
|
|
3735
|
+
header?: string,
|
|
3736
|
+
footer?: string
|
|
3737
|
+
}
|
|
3738
|
+
|
|
3739
|
+
|
|
3721
3740
|
|
|
3722
3741
|
|
|
3723
3742
|
/**
|
|
@@ -4649,7 +4668,9 @@ declare namespace OrgChart {
|
|
|
4649
4668
|
*/
|
|
4650
4669
|
aiChatTools?: Array<OrgChart.aiChatTool>,
|
|
4651
4670
|
/**
|
|
4652
|
-
*
|
|
4671
|
+
* Shows a toolbar
|
|
4672
|
+
*
|
|
4673
|
+
* The toolbar options allow you to change the layout, zoom in/out, expand all nodes, etc.
|
|
4653
4674
|
* ```typescript
|
|
4654
4675
|
* var chart = new OrgChart('#tree', {
|
|
4655
4676
|
* toolbar: {
|
|
@@ -5236,6 +5257,10 @@ declare namespace OrgChart {
|
|
|
5236
5257
|
* @ignore
|
|
5237
5258
|
*/
|
|
5238
5259
|
nodeMenuUI?: OrgChart.menuUI,
|
|
5260
|
+
/**
|
|
5261
|
+
* @ignore
|
|
5262
|
+
*/
|
|
5263
|
+
powerPointPreviewUI?: OrgChart.exportUI,
|
|
5239
5264
|
/**
|
|
5240
5265
|
* @ignore
|
|
5241
5266
|
*/
|
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.18.00"}
|