@balkangraph/orgchart.js 8.2.29 → 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
@@ -1934,6 +1934,8 @@ declare namespace OrgChart {
1934
1934
  addMore?: string,
1935
1935
  addMoreBtn?: string,
1936
1936
  addMoreFieldName?: string,
1937
+ saveAndCloseBtn?: string,
1938
+ cancelBtn?: string,
1937
1939
  generateElementsFromFields?: boolean,
1938
1940
  buttons?: {
1939
1941
  [key: string]: {
@@ -1972,7 +1974,7 @@ declare class OrgChartBase {
1972
1974
  * @param type A case-sensitive string representing the event type to listen for.
1973
1975
  * @param listener The object that receives a notification when an event of the specified type occurs. This must be a JavaScript function.
1974
1976
  */
1975
- 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;
1976
1978
 
1977
1979
  /**
1978
1980
  * Occurs when the node data has been updated by updateNode method.
@@ -2017,8 +2019,8 @@ declare class OrgChartBase {
2017
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.
2018
2020
  */
2019
2021
  newPidsAndStpidsForIds: {
2020
- newPidsForIds: { [key in string | number]: string | number },
2021
- newStpidsForIds: { [key in string | number]: string | number }
2022
+ newPidsForIds: { [key in any]: string | number },
2023
+ newStpidsForIds: { [key in any]: string | number }
2022
2024
  }
2023
2025
  }) => void): OrgChart;
2024
2026