@balkangraph/orgchart.js 8.16.12 → 8.16.14

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
@@ -418,7 +418,7 @@ declare class OrgChart {
418
418
  * ```
419
419
  * @param id identification number of the node
420
420
  */
421
- get(id: string | number): OrgChart.node;
421
+ get(id: string | number): Node;
422
422
  /**
423
423
  * If specified node has assistant/s or partner/s as children will return false.
424
424
  * ```typescript
@@ -2213,14 +2213,20 @@ declare class OrgChart {
2213
2213
  static grCloseTag: any;
2214
2214
  }
2215
2215
 
2216
+ interface Node {
2217
+ id: number | string,
2218
+ pid?: number | string,
2219
+ [key: string]: any
2220
+ }
2221
+
2216
2222
  declare namespace OrgChart {
2217
2223
 
2218
- interface node {
2219
- /**
2220
- * same pid you provided in the source node, the default value is null if not provided or if node with the same id does not exist
2221
- */
2222
- pid?: string | number,
2223
- }
2224
+ // interface node {
2225
+ // /**
2226
+ // * same pid you provided in the source node, the default value is null if not provided or if node with the same id does not exist
2227
+ // */
2228
+ // pid?: string | number,
2229
+ // }
2224
2230
  /**
2225
2231
  * deprecated, use OrgChart.align.center isntead
2226
2232
  * @ignore
@@ -4600,7 +4606,7 @@ declare namespace OrgChart {
4600
4606
  * });
4601
4607
  * ```
4602
4608
  */
4603
- showYScroll?: boolean ,
4609
+ showYScroll?: boolean,
4604
4610
  /**
4605
4611
  * Set template if you want to change the appearance of the chart. Org Chart JS comes with number of build-in templates:
4606
4612
  * - ana