@balkangraph/orgchart.js 8.1.1 → 8.1.5

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
@@ -1077,7 +1077,8 @@ declare class OrgChart {
1077
1077
  toolbarUI: any;
1078
1078
  nodeContextMenuUI: any;
1079
1079
  config: any;
1080
- static searchUI: any;
1080
+ // static searchUI: any;
1081
+ searchUI: any;
1081
1082
  _layoutConfigs: any;
1082
1083
 
1083
1084
  constructor(element: HTMLElement, options: OrgChartOptions);
@@ -1904,8 +1905,8 @@ Code example:
1904
1905
  * ```
1905
1906
  * Parameters:
1906
1907
  * @param value - value to search for
1907
- * @param searchInFileds - array of fields to search in
1908
- * @param retrieveFields - array of returned fields
1908
+ * @param searchInFileds - (optional) array of fields to search in
1909
+ * @param retrieveFields - (optional) array of returned fields
1909
1910
  *
1910
1911
  *
1911
1912
  * Code example:
@@ -1914,7 +1915,7 @@ Code example:
1914
1915
  * ```
1915
1916
  */
1916
1917
 
1917
- search(value: string | number, searchInFileds: Array<string>, retrieveFields: Array<string>) : void;
1918
+ search(value: string | number, searchInFileds?: Array<string>, retrieveFields?: Array<string>) : any;
1918
1919
 
1919
1920
  /**
1920
1921
  * Returns the node DOM element.