@balkangraph/orgchart.js 8.15.8 → 8.15.10
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 +88 -0
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -2971,20 +2971,108 @@ declare namespace OrgChart {
|
|
|
2971
2971
|
fullScreen?: boolean
|
|
2972
2972
|
}
|
|
2973
2973
|
|
|
2974
|
+
/**
|
|
2975
|
+
* miniMap options
|
|
2976
|
+
*/
|
|
2974
2977
|
interface miniMap {
|
|
2978
|
+
|
|
2979
|
+
/**
|
|
2980
|
+
* Array of colors to use for the miniMap
|
|
2981
|
+
* ```typescript
|
|
2982
|
+
* OrgChart.miniMap.colors = ["#FFCA28", "#F57C00", "#039be5", "#757575"];
|
|
2983
|
+
* ```
|
|
2984
|
+
*/
|
|
2975
2985
|
colors?: Array<string>,
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* The background color in the miniMAp
|
|
2989
|
+
* ```typescript
|
|
2990
|
+
* OrgChart.miniMap.selectorBackgroundColor = "#888888";
|
|
2991
|
+
* ```
|
|
2992
|
+
*/
|
|
2976
2993
|
selectorBackgroundColor?: string,
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
/**
|
|
2997
|
+
* The background of the focus
|
|
2998
|
+
* ```typescript
|
|
2999
|
+
* OrgChart.miniMap.backgroundColor = "#fff";
|
|
3000
|
+
* ```
|
|
3001
|
+
*/
|
|
2977
3002
|
backgroundColor?: string,
|
|
3003
|
+
|
|
3004
|
+
/**
|
|
3005
|
+
* The stroke of the focus
|
|
3006
|
+
* ```typescript
|
|
3007
|
+
* OrgChart.miniMap.focusStroke = "#039BE5";
|
|
3008
|
+
* ```
|
|
3009
|
+
*/
|
|
2978
3010
|
focusStroke?: string,
|
|
3011
|
+
|
|
3012
|
+
/**
|
|
3013
|
+
* The background opacity
|
|
3014
|
+
* ```typescript
|
|
3015
|
+
* OrgChart.miniMap.opacity = 0.8;
|
|
3016
|
+
* ```
|
|
3017
|
+
*/
|
|
2979
3018
|
opacity?: Number,
|
|
3019
|
+
|
|
3020
|
+
/**
|
|
3021
|
+
* The miniMap border
|
|
3022
|
+
* ```typescript
|
|
3023
|
+
* OrgChart.miniMap.border = '2px solid #039BE5';
|
|
3024
|
+
* ```
|
|
3025
|
+
*/
|
|
2980
3026
|
border?: string,
|
|
3027
|
+
|
|
3028
|
+
/**
|
|
3029
|
+
* The miniMap width
|
|
3030
|
+
* ```typescript
|
|
3031
|
+
* OrgChart.miniMap.width = 200;
|
|
3032
|
+
* ```
|
|
3033
|
+
*/
|
|
2981
3034
|
width?: Number,
|
|
3035
|
+
|
|
3036
|
+
/**
|
|
3037
|
+
* The miniMap height
|
|
3038
|
+
* ```typescript
|
|
3039
|
+
* OrgChart.miniMap.width = 100;
|
|
3040
|
+
* ```
|
|
3041
|
+
*/
|
|
2982
3042
|
height?: Number,
|
|
3043
|
+
|
|
3044
|
+
/**
|
|
3045
|
+
* The miniMap padding
|
|
3046
|
+
* ```typescript
|
|
3047
|
+
* OrgChart.miniMap.padding = 10;
|
|
3048
|
+
* ```
|
|
3049
|
+
*/
|
|
2983
3050
|
padding?: Number,
|
|
3051
|
+
|
|
3052
|
+
/**
|
|
3053
|
+
* The miniMap position
|
|
3054
|
+
* ```typescript
|
|
3055
|
+
* OrgChart.miniMap.padding = {
|
|
3056
|
+
* top: 'padding',
|
|
3057
|
+
* left: 'padding',
|
|
3058
|
+
* right: undefined,
|
|
3059
|
+
* bottom: undefined
|
|
3060
|
+
* }
|
|
3061
|
+
* ```
|
|
3062
|
+
*/
|
|
2984
3063
|
position?: OrgChart.position,
|
|
3064
|
+
|
|
3065
|
+
/**
|
|
3066
|
+
* Draggable option
|
|
3067
|
+
* default option: true
|
|
3068
|
+
* ```typescript
|
|
3069
|
+
* OrgChart.miniMap.draggable = false;
|
|
3070
|
+
* ```
|
|
3071
|
+
*/
|
|
2985
3072
|
draggable?: boolean
|
|
2986
3073
|
}
|
|
2987
3074
|
|
|
3075
|
+
|
|
2988
3076
|
interface position {
|
|
2989
3077
|
top?: string,
|
|
2990
3078
|
left?: string,
|