@balkangraph/orgchart.js 8.15.24 → 8.15.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
@@ -1407,6 +1407,15 @@ declare class OrgChart {
1407
1407
  */
1408
1408
  editUI: OrgChart.editUI;
1409
1409
 
1410
+ /**
1411
+ * The chart aiUI object.
1412
+ * ```typescript
1413
+ * let chart = new OrgChart('#tree', {});
1414
+ * let aiUI = chart.aiUI;
1415
+ * ```
1416
+ */
1417
+ aiUI: OrgChart.aiUI;
1418
+
1410
1419
  /**
1411
1420
  * The chart searchUI object.
1412
1421
  * ```typescript
@@ -2661,6 +2670,25 @@ declare namespace OrgChart {
2661
2670
  // static renderHeaderContent(title: string, photo: string, node: OrgChart.node, data: object): string;
2662
2671
  }
2663
2672
 
2673
+
2674
+ interface aiUI {
2675
+ /**
2676
+ * Inits ai ui
2677
+ * @param obj
2678
+ */
2679
+ init(obj: OrgChart): void;
2680
+ /**
2681
+ * Shows the ai form
2682
+ * @param dontFocus if true the imput will not be focused
2683
+ * @param dontAnim If true hsoe withput animation
2684
+ */
2685
+ show(dontFocus?: boolean, dontAnim?: boolean): void;
2686
+ /**
2687
+ * Hides the ai form
2688
+ */
2689
+ hide(): void;
2690
+ }
2691
+
2664
2692
  interface searchUI {
2665
2693
  init(obj: OrgChart): void;
2666
2694
  /**
@@ -4482,6 +4510,10 @@ declare namespace OrgChart {
4482
4510
  * @ignore
4483
4511
  */
4484
4512
  editUI?: OrgChart.editUI,
4513
+ /**
4514
+ * @ignore
4515
+ */
4516
+ aiUI?: OrgChart.aiUI,
4485
4517
  /**
4486
4518
  * @ignore
4487
4519
  */
@@ -4539,6 +4571,16 @@ declare namespace OrgChart {
4539
4571
  * ```
4540
4572
  */
4541
4573
  exportUrl?: string,
4574
+
4575
+ /**
4576
+ * The URL to the export server. Default value - *https://orgchartjs.balkan.app*
4577
+ * ```typescript
4578
+ * var chart = new OrgChart('#tree', {
4579
+ * serverUrl: "https://myDomain.com"
4580
+ * });
4581
+ * ```
4582
+ */
4583
+ serverUrl?: string,
4542
4584
  /**
4543
4585
  * The align option specifies the alignment of the nodes inside Org Chart JS.
4544
4586
  * - OrgChart.align.center - centered