@balkangraph/orgchart.js 8.2.31 → 8.2.32

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
@@ -1974,7 +1974,7 @@ declare class OrgChartBase {
1974
1974
  * @param type A case-sensitive string representing the event type to listen for.
1975
1975
  * @param listener The object that receives a notification when an event of the specified type occurs. This must be a JavaScript function.
1976
1976
  */
1977
- on(type: "init" | "field" | "update" | "add" | "remove" | "renderbuttons" | "label" | "render-link" | "drag" | "drop" | "redraw" | "expcollclick" | "exportstart" | "exportend" | "click" | "dbclick" | "slink-click" | "clink-click" | "up-click" | "import" | "adding" | "added" | "updated" | "key-down" | "visibility-change" | "renderdefs" | "render" | "prerender" | "screen-reader-text" | "removed" | "ready" | "ripple", listener: (sender: OrgChart, args?: unknown, args1?: unknown, args2?: unknown) => void | boolean): OrgChart;
1977
+ on(type: "init" | "field" | "update" | "add" | "remove" | "renderbuttons" | "label" | "render-link" | "drag" | "drop" | "redraw" | "expcollclick" | "exportstart" | "exportend" | "click" | "dbclick" | "slink-click" | "clink-click" | "up-click" | "import" | "adding" | "added" | "updated" | "key-down" | "visibility-change" | "renderdefs" | "render" | "prerender" | "screen-reader-text" | "removed" | "ready" | "ripple", listener: (sender: OrgChart, args?: any, args1?: any, args2?: any) => void | boolean): OrgChart;
1978
1978
 
1979
1979
  /**
1980
1980
  * Occurs when the node data has been updated by updateNode method.
@@ -2019,8 +2019,8 @@ declare class OrgChartBase {
2019
2019
  * parent ids and sub tree parents ids that needs to be updated on the server. For example if you remove a node that has children all chilren nodes will change their pid to the parent node id of the removed node.
2020
2020
  */
2021
2021
  newPidsAndStpidsForIds: {
2022
- newPidsForIds: { [key in string | number]: string | number },
2023
- newStpidsForIds: { [key in string | number]: string | number }
2022
+ newPidsForIds: { [key in any]: string | number },
2023
+ newStpidsForIds: { [key in any]: string | number }
2024
2024
  }
2025
2025
  }) => void): OrgChart;
2026
2026