@balkangraph/orgchart.js 8.2.22 → 8.2.26

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
@@ -747,9 +747,11 @@ declare class OrgChart extends OrgChartBase {
747
747
  * @ignore
748
748
  */
749
749
  static LAZY_LOADING_FACTOR: number;
750
-
751
-
752
-
750
+
751
+ /**
752
+ * Hides the Edit Form when the chart is moved with pan
753
+ */
754
+ static HIDE_EDIT_FORM_ON_PAN: boolean;
753
755
  }
754
756
 
755
757
  declare namespace OrgChart {
@@ -817,7 +819,7 @@ declare namespace OrgChart {
817
819
  * @param type A case-sensitive string representing the event type to listen for.
818
820
  * @param listener The object that receives a notification when an event of the specified type occurs. This must be a JavaScript function.
819
821
  */
820
- on(type: "show" | "element-btn-click" | "button-click" | "hide", listener: (sender: editUI, args: unknown, args1: unknown, args2: unknown) => void | boolean): editUI;
822
+ on(type: "show" | "save" | "cancel" | "element-btn-click" | "button-click" | "hide", listener: (sender: editUI, args: unknown, args1: unknown, args2: unknown) => void | boolean): editUI;
821
823
  /**
822
824
  * Shows the edit form for the specified node id
823
825
  * @param id node id
@@ -1927,7 +1929,8 @@ declare namespace OrgChart {
1927
1929
  editForm?: {
1928
1930
  readOnly?: boolean,
1929
1931
  titleBinding?: string,
1930
- photoBinding?: string,
1932
+ photoBinding?: string,
1933
+ focusBinding?: string,
1931
1934
  addMore?: string,
1932
1935
  addMoreBtn?: string,
1933
1936
  addMoreFieldName?: string,