@balkangraph/orgchart.js 8.2.24 → 8.2.28

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
@@ -407,7 +407,7 @@ declare class OrgChart extends OrgChartBase {
407
407
  * Occurs in the beginning of the export. Extra css styles can be added to the exported document using this event listener or show loading image.
408
408
  * ```typescript
409
409
  * var chart = new OrgChart('#tree', {});
410
- * chart.onExporStart(() => {
410
+ * chart.onExportStart(() => {
411
411
  * args.styles += '<link href="https://fonts.googleapis.com/css?family=Gochi+Hand" rel="stylesheet">';
412
412
  * //return false; to cancel the operation
413
413
  * });
@@ -415,7 +415,7 @@ declare class OrgChart extends OrgChartBase {
415
415
  * @category Event Listeners
416
416
  * @param listener
417
417
  */
418
- onExporStart(listener: (args:
418
+ onExportStart(listener: (args:
419
419
  {
420
420
  /**
421
421
  * the content to be exported
@@ -464,14 +464,14 @@ declare class OrgChart extends OrgChartBase {
464
464
  * Occurs in the beginning of the export. Use this event listener to hide loading image or upload exported document to your server using ArrayBuffer argument.
465
465
  * ```typescript
466
466
  * var chart = new OrgChart('#tree', {});
467
- * chart.onExporEnd(() => {
467
+ * chart.onExportEnd(() => {
468
468
  * //return false; to cancel the operation for example id you prefer the exported document to not download
469
469
  * });
470
470
  * ```
471
471
  * @category Event Listeners
472
472
  * @param listener
473
473
  */
474
- onExporEnd(listener: (args:
474
+ onExportEnd(listener: (args:
475
475
  /**
476
476
  * for PDF/PNG
477
477
  */
@@ -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 {
@@ -1927,12 +1929,12 @@ 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,
1934
1937
  generateElementsFromFields?: boolean,
1935
- focus?: string,
1936
1938
  buttons?: {
1937
1939
  [key: string]: {
1938
1940
  icon?: string,