@balkangraph/orgchart.js 8.9.10 → 8.9.12

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
@@ -191,11 +191,11 @@ declare class OrgChart extends OrgChartBase {
191
191
  /**
192
192
  * Search in the chart.
193
193
  * @param value search for value
194
- * @param searchInFileds search in field names
194
+ * @param searchInFields search in field names
195
195
  * @param retrieveFields retrive data for fields
196
196
  * {@link https://balkan.app/OrgChartJS/Docs/Search | See doc...}
197
197
  */
198
- search(value: string, searchInFileds?: Array<string>, retrieveFields?: Array<string>): Array<{
198
+ search(value: string, searchInFields?: Array<string>, retrieveFields?: Array<string>): Array<{
199
199
  id: number | string,
200
200
  name: string,
201
201
  __score: number,
@@ -1689,7 +1689,7 @@ declare namespace OrgChart {
1689
1689
  * Search in field with abbreviation.
1690
1690
  * ```typescript
1691
1691
  * var chart = new OrgChart('#tree', {
1692
- * searchFiledsAbbreviation: {
1692
+ * searchFieldsAbbreviation: {
1693
1693
  * "n": "name",
1694
1694
  * "a": "My Address"
1695
1695
  * }
@@ -1697,7 +1697,7 @@ declare namespace OrgChart {
1697
1697
  * ```
1698
1698
  * {@link https://balkan.app/OrgChartJS/Docs/Search | See doc...}
1699
1699
  */
1700
- searchFiledsAbbreviation?: { [key: string]: string },
1700
+ searchFieldsAbbreviation?: { [key: string]: string },
1701
1701
  /**
1702
1702
  * Array of node data JSON objects. nodes option is the data source of the chart. Node JSON objects could have unlimited number of properties, id, pid, ppid, stpid and tags are reserved node properties.
1703
1703
  * - id - unique identifier, it clould be integer or string