@balkangraph/orgchart.js 8.2.20 → 8.2.24

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
@@ -817,7 +817,7 @@ declare namespace OrgChart {
817
817
  * @param type A case-sensitive string representing the event type to listen for.
818
818
  * @param listener The object that receives a notification when an event of the specified type occurs. This must be a JavaScript function.
819
819
  */
820
- on(type: "show" | "element-btn-click" | "button-click" | "hide", listener: (sender: editUI, args: unknown, args1: unknown, args2: unknown) => void | boolean): editUI;
820
+ on(type: "show" | "save" | "cancel" | "element-btn-click" | "button-click" | "hide", listener: (sender: editUI, args: unknown, args1: unknown, args2: unknown) => void | boolean): editUI;
821
821
  /**
822
822
  * Shows the edit form for the specified node id
823
823
  * @param id node id
@@ -1932,6 +1932,7 @@ declare namespace OrgChart {
1932
1932
  addMoreBtn?: string,
1933
1933
  addMoreFieldName?: string,
1934
1934
  generateElementsFromFields?: boolean,
1935
+ focus?: string,
1935
1936
  buttons?: {
1936
1937
  [key: string]: {
1937
1938
  icon?: string,