@balkangraph/orgchart.js 8.2.35 → 8.2.38

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
@@ -806,7 +806,7 @@ declare namespace OrgChart {
806
806
  img_0?: string,
807
807
  link_field_0?: string,
808
808
  editFormHeaderColor?: string,
809
- nodeCircleMenuButton?: string,
809
+ nodeCircleMenuButton?: object,
810
810
  min?: template,
811
811
  [name: string]: any
812
812
  }
@@ -1956,6 +1956,13 @@ declare namespace OrgChart {
1956
1956
 
1957
1957
  declare class OrgChartBase {
1958
1958
 
1959
+ /**
1960
+ * Can update link
1961
+ * @param id child id
1962
+ * @param pid parent id
1963
+ */
1964
+ canUpdateLink(id: string | number, pid: string | number): boolean;
1965
+
1959
1966
  /**
1960
1967
  * Removes specified node from nodes collection, redraws the chart and fires remove event.
1961
1968
  * @param id identification number of the node