@balkangraph/orgchart.js 9.0.47 → 9.0.49
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 +127 -29
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1071,7 +1071,7 @@ declare class OrgChart {
|
|
|
1071
1071
|
* {@link https://balkan.app/OrgChartJS/Docs/ExportingOther | See doc...}
|
|
1072
1072
|
*/
|
|
1073
1073
|
exportToVisio(options?: OrgChart.exportVisioOptions, callback?: () => void): void;
|
|
1074
|
-
exportToPowerPoint(options?: OrgChart.
|
|
1074
|
+
exportToPowerPoint(options?: OrgChart.exportPowerPointOptions, callback?: () => void): void;
|
|
1075
1075
|
exportToPDF(options?: OrgChart.exportPDFOptions, callback?: () => void): void;
|
|
1076
1076
|
exportToPNG(options?: OrgChart.exportPNGOptions, callback?: () => void): void;
|
|
1077
1077
|
exportToSVG(options?: OrgChart.exportSVGOptions, callback?: () => void): void;
|
|
@@ -3262,7 +3262,8 @@ declare namespace OrgChart {
|
|
|
3262
3262
|
*/
|
|
3263
3263
|
get width(): number;
|
|
3264
3264
|
get instance(): OrgChart;
|
|
3265
|
-
get options(): OrgChart.
|
|
3265
|
+
get options(): OrgChart.exportPowerPointOptions;
|
|
3266
|
+
get selectedPage(): OrgChart.exportPowerPointPage;
|
|
3266
3267
|
|
|
3267
3268
|
locExport: string;
|
|
3268
3269
|
locCancel: string;
|
|
@@ -3294,9 +3295,14 @@ declare namespace OrgChart {
|
|
|
3294
3295
|
},
|
|
3295
3296
|
|
|
3296
3297
|
init(obj: OrgChart): void;
|
|
3298
|
+
refresh(): void;
|
|
3297
3299
|
isVisible(): boolean;
|
|
3298
3300
|
hide(): void;
|
|
3299
|
-
show(options: OrgChart.
|
|
3301
|
+
show(options: OrgChart.exportPowerPointOptions): void;
|
|
3302
|
+
|
|
3303
|
+
selectPage(index: number) : void;
|
|
3304
|
+
removePage(index: number) : void;
|
|
3305
|
+
addPage(page: OrgChart.exportPowerPointPage) : void;
|
|
3300
3306
|
}
|
|
3301
3307
|
|
|
3302
3308
|
interface pdfPreviewUI {
|
|
@@ -3306,6 +3312,7 @@ declare namespace OrgChart {
|
|
|
3306
3312
|
get width(): number;
|
|
3307
3313
|
get instance(): OrgChart;
|
|
3308
3314
|
get options(): OrgChart.exportPDFOptions;
|
|
3315
|
+
get selectedPage(): OrgChart.exportPDFPage;
|
|
3309
3316
|
|
|
3310
3317
|
locExport: string;
|
|
3311
3318
|
locCancel: string;
|
|
@@ -3346,10 +3353,16 @@ declare namespace OrgChart {
|
|
|
3346
3353
|
},
|
|
3347
3354
|
|
|
3348
3355
|
init(obj: OrgChart): void;
|
|
3356
|
+
refresh(): void;
|
|
3349
3357
|
isVisible(): boolean;
|
|
3350
3358
|
hide(): void;
|
|
3351
3359
|
show(options: OrgChart.exportPDFOptions): void;
|
|
3352
|
-
|
|
3360
|
+
|
|
3361
|
+
selectPage(index: number) : void;
|
|
3362
|
+
removePage(index: number) : void;
|
|
3363
|
+
toggelePrintTreeOrProfile() : void;
|
|
3364
|
+
toggleLanscape(): void;
|
|
3365
|
+
addPage(page: OrgChart.exportPDFPage) : void;
|
|
3353
3366
|
}
|
|
3354
3367
|
|
|
3355
3368
|
|
|
@@ -3360,6 +3373,7 @@ declare namespace OrgChart {
|
|
|
3360
3373
|
get width(): number;
|
|
3361
3374
|
get instance(): OrgChart;
|
|
3362
3375
|
get options(): OrgChart.exportPNGOptions;
|
|
3376
|
+
get selectedPage(): OrgChart.exportPNGPage;
|
|
3363
3377
|
|
|
3364
3378
|
|
|
3365
3379
|
locExport: string;
|
|
@@ -3392,13 +3406,66 @@ declare namespace OrgChart {
|
|
|
3392
3406
|
},
|
|
3393
3407
|
|
|
3394
3408
|
init(obj: OrgChart): void;
|
|
3409
|
+
refresh(): void;
|
|
3395
3410
|
isVisible(): boolean;
|
|
3396
3411
|
hide(): void;
|
|
3397
3412
|
show(options: OrgChart.exportPNGOptions): void;
|
|
3413
|
+
selectPage(index: number) : void;
|
|
3414
|
+
removePage(index: number) : void;
|
|
3415
|
+
addPage(page: OrgChart.exportPNGPage) : void;
|
|
3398
3416
|
}
|
|
3399
3417
|
|
|
3418
|
+
|
|
3400
3419
|
|
|
3401
|
-
|
|
3420
|
+
|
|
3421
|
+
interface svgPreviewUI {
|
|
3422
|
+
/**
|
|
3423
|
+
* The width of the EXPORT UI
|
|
3424
|
+
*/
|
|
3425
|
+
get width(): number;
|
|
3426
|
+
get instance(): OrgChart;
|
|
3427
|
+
get options(): OrgChart.exportPNGOptions;
|
|
3428
|
+
get selectedPage(): OrgChart.exportPNGPage;
|
|
3429
|
+
|
|
3430
|
+
|
|
3431
|
+
locExport: string;
|
|
3432
|
+
locCancel: string;
|
|
3433
|
+
locParentLevels: string;
|
|
3434
|
+
locChildLevels: string;
|
|
3435
|
+
locClickToAdd: string;
|
|
3436
|
+
locAddNew: string;
|
|
3437
|
+
locRemove: string;
|
|
3438
|
+
|
|
3439
|
+
/**
|
|
3440
|
+
* Buttons visibility configuration.
|
|
3441
|
+
* Each flag controls whether the corresponding UI button is displayed.
|
|
3442
|
+
*
|
|
3443
|
+
* - `true` → show the button
|
|
3444
|
+
* - `false` → hide the button
|
|
3445
|
+
*/
|
|
3446
|
+
buttons: {
|
|
3447
|
+
/** Show / hide the parent levels navigation button */
|
|
3448
|
+
parentLevels: boolean;
|
|
3449
|
+
|
|
3450
|
+
/** Show / hide the child levels navigation button */
|
|
3451
|
+
childLevels: boolean;
|
|
3452
|
+
|
|
3453
|
+
/** Show / hide the remove page button */
|
|
3454
|
+
removePage: boolean;
|
|
3455
|
+
|
|
3456
|
+
/** Show / hide the add new page button */
|
|
3457
|
+
addNewPage: boolean;
|
|
3458
|
+
},
|
|
3459
|
+
|
|
3460
|
+
init(obj: OrgChart): void;
|
|
3461
|
+
refresh(): void;
|
|
3462
|
+
isVisible(): boolean;
|
|
3463
|
+
hide(): void;
|
|
3464
|
+
show(options: OrgChart.exportPNGOptions): void;
|
|
3465
|
+
selectPage(index: number) : void;
|
|
3466
|
+
removePage(index: number) : void;
|
|
3467
|
+
addPage(page: OrgChart.exportSVGPage) : void;
|
|
3468
|
+
}
|
|
3402
3469
|
|
|
3403
3470
|
/**
|
|
3404
3471
|
* Circle Menu UI
|
|
@@ -3899,8 +3966,21 @@ declare namespace OrgChart {
|
|
|
3899
3966
|
|
|
3900
3967
|
|
|
3901
3968
|
|
|
3969
|
+
interface exportPowerPointPage {
|
|
3970
|
+
chartInstance?: OrgChart,
|
|
3971
|
+
nodeId?: number | string,
|
|
3972
|
+
expandChildren?: boolean,
|
|
3973
|
+
childLevels?: number,
|
|
3974
|
+
parentLevels?: number,
|
|
3975
|
+
min?: boolean,
|
|
3976
|
+
header?: string,
|
|
3977
|
+
footer?: string,
|
|
3978
|
+
content?: string
|
|
3979
|
+
}
|
|
3980
|
+
|
|
3981
|
+
|
|
3902
3982
|
|
|
3903
|
-
interface
|
|
3983
|
+
interface exportPowerPointOptions {
|
|
3904
3984
|
openInNewTab?: boolean,
|
|
3905
3985
|
fileName?: string,
|
|
3906
3986
|
// width?: number,
|
|
@@ -3911,22 +3991,25 @@ declare namespace OrgChart {
|
|
|
3911
3991
|
childLevels?: number,
|
|
3912
3992
|
parentLevels?: number,
|
|
3913
3993
|
min?: boolean,
|
|
3914
|
-
pages?: Array<
|
|
3915
|
-
chartInstance?: OrgChart,
|
|
3916
|
-
nodeId?: number | string,
|
|
3917
|
-
expandChildren?: boolean,
|
|
3918
|
-
childLevels?: number,
|
|
3919
|
-
parentLevels?: number,
|
|
3920
|
-
min?: boolean,
|
|
3921
|
-
header?: string,
|
|
3922
|
-
footer?: string,
|
|
3923
|
-
content?: string
|
|
3924
|
-
}>,
|
|
3994
|
+
pages?: Array<OrgChart.exportPowerPointPage>,
|
|
3925
3995
|
format?: "Screen" | "Widescreen" | "Standard",
|
|
3926
3996
|
header?: string,
|
|
3927
3997
|
footer?: string
|
|
3928
3998
|
}
|
|
3929
3999
|
|
|
4000
|
+
interface exportPDFPage {
|
|
4001
|
+
isProfile?: boolean,
|
|
4002
|
+
chartInstance?: OrgChart,
|
|
4003
|
+
nodeId?: number | string,
|
|
4004
|
+
expandChildren?: boolean,
|
|
4005
|
+
childLevels?: number,
|
|
4006
|
+
parentLevels?: number,
|
|
4007
|
+
min?: boolean,
|
|
4008
|
+
header?: string,
|
|
4009
|
+
footer?: string,
|
|
4010
|
+
content?: string
|
|
4011
|
+
}
|
|
4012
|
+
|
|
3930
4013
|
interface exportPDFOptions {
|
|
3931
4014
|
openInNewTab?: boolean,
|
|
3932
4015
|
fileName?: string,
|
|
@@ -3939,8 +4022,13 @@ declare namespace OrgChart {
|
|
|
3939
4022
|
childLevels?: number,
|
|
3940
4023
|
parentLevels?: number,
|
|
3941
4024
|
min?: boolean,
|
|
3942
|
-
pages?: Array<
|
|
3943
|
-
|
|
4025
|
+
pages?: Array<OrgChart.exportPDFPage>,
|
|
4026
|
+
format?: "A1" | "A2" | "A3" | "A4" | "A5" | "A4" | "Letter" | "Legal" | "auto",
|
|
4027
|
+
header?: string,
|
|
4028
|
+
footer?: string
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
interface exportPNGPage {
|
|
3944
4032
|
chartInstance?: OrgChart,
|
|
3945
4033
|
nodeId?: number | string,
|
|
3946
4034
|
expandChildren?: boolean,
|
|
@@ -3950,12 +4038,7 @@ declare namespace OrgChart {
|
|
|
3950
4038
|
header?: string,
|
|
3951
4039
|
footer?: string,
|
|
3952
4040
|
content?: string
|
|
3953
|
-
}
|
|
3954
|
-
format?: "A1" | "A2" | "A3" | "A4" | "A5" | "A4" | "Letter" | "Legal" | "auto",
|
|
3955
|
-
header?: string,
|
|
3956
|
-
footer?: string
|
|
3957
|
-
}
|
|
3958
|
-
|
|
4041
|
+
}
|
|
3959
4042
|
interface exportPNGOptions {
|
|
3960
4043
|
openInNewTab?: boolean,
|
|
3961
4044
|
fileName?: string,
|
|
@@ -3966,7 +4049,13 @@ declare namespace OrgChart {
|
|
|
3966
4049
|
childLevels?: number,
|
|
3967
4050
|
parentLevels?: number,
|
|
3968
4051
|
min?: boolean,
|
|
3969
|
-
pages?: Array<
|
|
4052
|
+
pages?: Array<OrgChart.exportPNGPage>,
|
|
4053
|
+
header?: string,
|
|
4054
|
+
footer?: string
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4057
|
+
|
|
4058
|
+
interface exportSVGPage {
|
|
3970
4059
|
chartInstance?: OrgChart,
|
|
3971
4060
|
nodeId?: number | string,
|
|
3972
4061
|
expandChildren?: boolean,
|
|
@@ -3976,13 +4065,22 @@ declare namespace OrgChart {
|
|
|
3976
4065
|
header?: string,
|
|
3977
4066
|
footer?: string,
|
|
3978
4067
|
content?: string
|
|
3979
|
-
}
|
|
3980
|
-
|
|
4068
|
+
}
|
|
4069
|
+
interface exportSVGOptions {
|
|
4070
|
+
openInNewTab?: boolean,
|
|
4071
|
+
fileName?: string,
|
|
4072
|
+
//landscape?: boolean,
|
|
4073
|
+
padding?: number,
|
|
4074
|
+
margin?: Array<number>,
|
|
4075
|
+
expandChildren?: boolean,
|
|
4076
|
+
childLevels?: number,
|
|
4077
|
+
parentLevels?: number,
|
|
4078
|
+
min?: boolean,
|
|
4079
|
+
pages?: Array<OrgChart.exportSVGPage>,
|
|
3981
4080
|
header?: string,
|
|
3982
4081
|
footer?: string
|
|
3983
4082
|
}
|
|
3984
4083
|
|
|
3985
|
-
interface exportSVGOptions extends exportPNGOptions {}
|
|
3986
4084
|
|
|
3987
4085
|
interface exportVisioOptions {
|
|
3988
4086
|
fileName?: string,
|
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":"9.00.
|
|
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":"9.00.49"}
|