@balkangraph/orgchart.js 8.13.26 → 8.13.28

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 CHANGED
@@ -684,6 +684,8 @@ declare class OrgChart extends OrgChartBase {
684
684
  searchUI: OrgChart.searchUI;
685
685
  nodeMenuUI: OrgChart.menuUI;
686
686
  filterUI: OrgChart.filterUI;
687
+ xScrollUI: OrgChart.xScrollUI;
688
+ yScrollUI: OrgChart.yScrollUI;
687
689
  undoRedoUI: OrgChart.undoRedoUI;
688
690
  nodeCircleMenuUI: OrgChart.circleMenuUI;
689
691
  nodeContextMenuUI: OrgChart.menuUI;
@@ -1202,6 +1204,24 @@ declare namespace OrgChart {
1202
1204
  }
1203
1205
 
1204
1206
 
1207
+
1208
+
1209
+ interface xScrollUI {
1210
+ addListener(svg: HTMLElement): void;
1211
+ create(width: number): void;
1212
+ setPosition(width: number): void;
1213
+ on(type: "change", listener: (sender: xScrollUI, args: any, args1: any, args2: any) => void | boolean): xScrollUI;
1214
+ element: HTMLElement;
1215
+ }
1216
+
1217
+ interface yScrollUI {
1218
+ addListener(svg: HTMLElement): void;
1219
+ create(width: number): void;
1220
+ setPosition(width: number): void;
1221
+ on(type: "change", listener: (sender: yScrollUI, args: any, args1: any, args2: any) => void | boolean): yScrollUI;
1222
+ element: HTMLElement;
1223
+ }
1224
+
1205
1225
  interface menuUI {
1206
1226
  init(obj: OrgChart, menu: { [key: string]: menu }): void;
1207
1227
  /**
@@ -1651,7 +1671,7 @@ declare namespace OrgChart {
1651
1671
  */
1652
1672
  nodeContextMenu?: OrgChart.menu,
1653
1673
  /**
1654
- * Enables export to excel, export to svg and other OrgChart operations. Also you can define your own OrgChart operation.
1674
+ * Enables export to csv, export to svg and other OrgChart operations. Also you can define your own OrgChart operation.
1655
1675
  * ```typescript
1656
1676
  * var chart = new OrgChart('#tree', {
1657
1677
  * menu:{
@@ -2198,11 +2218,11 @@ declare namespace OrgChart {
2198
2218
  /**
2199
2219
  * @ignore
2200
2220
  */
2201
- xScrollUI?: any,
2221
+ xScrollUI?: OrgChart.xScrollUI,
2202
2222
  /**
2203
2223
  * @ignore
2204
2224
  */
2205
- yScrollUI?: any,
2225
+ yScrollUI?: OrgChart.yScrollUI,
2206
2226
  /**
2207
2227
  * @ignore
2208
2228
  */