@balkangraph/orgchart.js 8.15.31 → 8.15.32

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
@@ -2651,6 +2651,18 @@ declare namespace OrgChart {
2651
2651
  [name: string]: any
2652
2652
  }
2653
2653
 
2654
+
2655
+ /**
2656
+ * Edit/Details Form User Interface
2657
+ * ```typescript
2658
+ * let chart = new OrgChart("#tree", {
2659
+ * });
2660
+ * chart.onInit(function(){
2661
+ * chart.editUI.show(1);
2662
+ * });
2663
+ * chart.load(nodes)
2664
+ * ```
2665
+ */
2654
2666
  interface editUI {
2655
2667
  /**
2656
2668
  * Inits edit ui
@@ -2679,7 +2691,18 @@ declare namespace OrgChart {
2679
2691
  // static renderHeaderContent(title: string, photo: string, node: OrgChart.node, data: object): string;
2680
2692
  }
2681
2693
 
2682
-
2694
+ /**
2695
+ * AI User Interface
2696
+ * ```typescript
2697
+ * let chart = new OrgChart("#tree", {
2698
+ * enableAI: true,
2699
+ * });
2700
+ * chart.onInit(function(){
2701
+ * chart.aiUI.show();
2702
+ * });
2703
+ * chart.load(nodes)
2704
+ * ```
2705
+ */
2683
2706
  interface aiUI {
2684
2707
  /**
2685
2708
  * Prompt text box
@@ -3227,6 +3250,10 @@ declare namespace OrgChart {
3227
3250
  template?: string,
3228
3251
  label?: string
3229
3252
  }
3253
+
3254
+ /**
3255
+ * @ignore
3256
+ */
3230
3257
  interface backdrop {
3231
3258
  id?: string | number,
3232
3259
  levels?: number,
@@ -4288,14 +4315,7 @@ declare namespace OrgChart {
4288
4315
  slinks?: Array<OrgChart.link>,
4289
4316
 
4290
4317
  /**
4291
- * Adds backdrops to the specidied nodes.
4292
- * ```typescript
4293
- * var chart = new OrgChart('#tree', {
4294
- * backdrops: [
4295
- * { id: 5, levels: 2, color: '#039BE5', opacity: 0.2 }
4296
- * ]
4297
- * });
4298
- * ```
4318
+ * @ignore
4299
4319
  */
4300
4320
  backdrops?: Array<OrgChart.backdrop>,
4301
4321
 
@@ -4553,7 +4573,12 @@ declare namespace OrgChart {
4553
4573
  text?: string
4554
4574
  } }},
4555
4575
  /**
4556
- * @ignore
4576
+ * ```typescript
4577
+ * let chart = new OrgChart('#tree', {
4578
+ * editUI: new editForm(),
4579
+ * });
4580
+ * ```
4581
+ * [Go to edit doc page for more details](https://balkan.app/OrgChartJS/Docs/Edit#custom)
4557
4582
  */
4558
4583
  editUI?: OrgChart.editUI,
4559
4584
  /**