@balkangraph/orgchart.js 8.14.119 → 8.14.121
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 +35 -21
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -2141,7 +2141,7 @@ declare class OrgChart {
|
|
|
2141
2141
|
}
|
|
2142
2142
|
|
|
2143
2143
|
declare namespace OrgChart {
|
|
2144
|
-
|
|
2144
|
+
|
|
2145
2145
|
interface node {
|
|
2146
2146
|
/**
|
|
2147
2147
|
* 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
|
|
@@ -2187,6 +2187,7 @@ declare namespace OrgChart {
|
|
|
2187
2187
|
*/
|
|
2188
2188
|
const treeRightOffset: any;
|
|
2189
2189
|
|
|
2190
|
+
|
|
2190
2191
|
interface options {
|
|
2191
2192
|
/**
|
|
2192
2193
|
* With the drag and drop features enabled you can move nodes easily and change the tree structure. Default value - *false*.
|
|
@@ -2242,9 +2243,14 @@ declare namespace OrgChart {
|
|
|
2242
2243
|
*/
|
|
2243
2244
|
const COLLAPSE_SUB_CHILDRENS: number;
|
|
2244
2245
|
|
|
2245
|
-
|
|
2246
|
+
/**
|
|
2247
|
+
* @ignore
|
|
2248
|
+
*/
|
|
2246
2249
|
var template: object;
|
|
2247
2250
|
|
|
2251
|
+
/**
|
|
2252
|
+
* @ignore
|
|
2253
|
+
*/
|
|
2248
2254
|
interface node {
|
|
2249
2255
|
/**
|
|
2250
2256
|
* the same id you provided in the source node
|
|
@@ -2370,12 +2376,14 @@ declare namespace OrgChart {
|
|
|
2370
2376
|
movey?: number | undefined
|
|
2371
2377
|
}
|
|
2372
2378
|
|
|
2379
|
+
|
|
2373
2380
|
/**
|
|
2374
2381
|
* OrgChart JS template
|
|
2375
2382
|
* ```typescript
|
|
2376
2383
|
* OrgChart.templates.myTemplate = Object.assign({}, OrgChart.templates.ana);
|
|
2377
2384
|
* ```
|
|
2378
2385
|
*/
|
|
2386
|
+
|
|
2379
2387
|
interface template
|
|
2380
2388
|
{
|
|
2381
2389
|
/**
|
|
@@ -2398,7 +2406,7 @@ declare namespace OrgChart {
|
|
|
2398
2406
|
* ```
|
|
2399
2407
|
*/
|
|
2400
2408
|
size?: Array<number>,
|
|
2401
|
-
|
|
2409
|
+
|
|
2402
2410
|
/**
|
|
2403
2411
|
* Size of the expandCollapse button
|
|
2404
2412
|
* ```typescript
|
|
@@ -2406,7 +2414,7 @@ declare namespace OrgChart {
|
|
|
2406
2414
|
* ```
|
|
2407
2415
|
*/
|
|
2408
2416
|
expandCollapseSize?: number,
|
|
2409
|
-
|
|
2417
|
+
|
|
2410
2418
|
/**
|
|
2411
2419
|
* Adjust link positions
|
|
2412
2420
|
* ```typescript
|
|
@@ -2424,7 +2432,7 @@ declare namespace OrgChart {
|
|
|
2424
2432
|
toX?: number,
|
|
2425
2433
|
toY?: number
|
|
2426
2434
|
},
|
|
2427
|
-
|
|
2435
|
+
|
|
2428
2436
|
/**
|
|
2429
2437
|
* Ripple
|
|
2430
2438
|
* ```typescript
|
|
@@ -2440,7 +2448,7 @@ declare namespace OrgChart {
|
|
|
2440
2448
|
color?: string,
|
|
2441
2449
|
rect?: Array<number>
|
|
2442
2450
|
},
|
|
2443
|
-
|
|
2451
|
+
|
|
2444
2452
|
/**
|
|
2445
2453
|
* Assistance link
|
|
2446
2454
|
* ```typescript
|
|
@@ -2451,7 +2459,7 @@ declare namespace OrgChart {
|
|
|
2451
2459
|
* ```
|
|
2452
2460
|
*/
|
|
2453
2461
|
assistanseLink?: string,
|
|
2454
|
-
|
|
2462
|
+
|
|
2455
2463
|
/**
|
|
2456
2464
|
* Assistance link
|
|
2457
2465
|
* ```typescript
|
|
@@ -2462,7 +2470,7 @@ declare namespace OrgChart {
|
|
|
2462
2470
|
* ```
|
|
2463
2471
|
*/
|
|
2464
2472
|
svg?: string,
|
|
2465
|
-
|
|
2473
|
+
|
|
2466
2474
|
/**
|
|
2467
2475
|
* Link
|
|
2468
2476
|
* ```typescript
|
|
@@ -2471,7 +2479,7 @@ declare namespace OrgChart {
|
|
|
2471
2479
|
* ```
|
|
2472
2480
|
*/
|
|
2473
2481
|
link?: string,
|
|
2474
|
-
|
|
2482
|
+
|
|
2475
2483
|
/**
|
|
2476
2484
|
* Pointer
|
|
2477
2485
|
* ```typescript
|
|
@@ -2486,7 +2494,7 @@ declare namespace OrgChart {
|
|
|
2486
2494
|
* ```
|
|
2487
2495
|
*/
|
|
2488
2496
|
pointer?: string,
|
|
2489
|
-
|
|
2497
|
+
|
|
2490
2498
|
/**
|
|
2491
2499
|
* Node
|
|
2492
2500
|
* ```typescript
|
|
@@ -2495,7 +2503,7 @@ declare namespace OrgChart {
|
|
|
2495
2503
|
* ```
|
|
2496
2504
|
*/
|
|
2497
2505
|
node?: string,
|
|
2498
|
-
|
|
2506
|
+
|
|
2499
2507
|
/**
|
|
2500
2508
|
* Plus/expand button
|
|
2501
2509
|
* ```typescript
|
|
@@ -2506,7 +2514,7 @@ declare namespace OrgChart {
|
|
|
2506
2514
|
* ```
|
|
2507
2515
|
*/
|
|
2508
2516
|
plus?: string,
|
|
2509
|
-
|
|
2517
|
+
|
|
2510
2518
|
/**
|
|
2511
2519
|
* Minus/collapse button
|
|
2512
2520
|
* ```typescript
|
|
@@ -2516,7 +2524,7 @@ declare namespace OrgChart {
|
|
|
2516
2524
|
* ```
|
|
2517
2525
|
*/
|
|
2518
2526
|
minus?: string,
|
|
2519
|
-
|
|
2527
|
+
|
|
2520
2528
|
/**
|
|
2521
2529
|
* Node menu button
|
|
2522
2530
|
* ```typescript
|
|
@@ -2529,7 +2537,7 @@ declare namespace OrgChart {
|
|
|
2529
2537
|
* ```
|
|
2530
2538
|
*/
|
|
2531
2539
|
nodeMenuButton?: string,
|
|
2532
|
-
|
|
2540
|
+
|
|
2533
2541
|
/**
|
|
2534
2542
|
* Menu button
|
|
2535
2543
|
* ```typescript
|
|
@@ -2542,7 +2550,7 @@ declare namespace OrgChart {
|
|
|
2542
2550
|
* ```
|
|
2543
2551
|
*/
|
|
2544
2552
|
menuButton?: string,
|
|
2545
|
-
|
|
2553
|
+
|
|
2546
2554
|
/**
|
|
2547
2555
|
* Node image
|
|
2548
2556
|
* ```typescript
|
|
@@ -2553,7 +2561,7 @@ declare namespace OrgChart {
|
|
|
2553
2561
|
* ```
|
|
2554
2562
|
*/
|
|
2555
2563
|
img_0?: string,
|
|
2556
|
-
|
|
2564
|
+
|
|
2557
2565
|
/**
|
|
2558
2566
|
* Link label
|
|
2559
2567
|
* ```typescript
|
|
@@ -2562,7 +2570,7 @@ declare namespace OrgChart {
|
|
|
2562
2570
|
* ```
|
|
2563
2571
|
*/
|
|
2564
2572
|
link_field_0?: string,
|
|
2565
|
-
|
|
2573
|
+
|
|
2566
2574
|
/**
|
|
2567
2575
|
* Edit form header color
|
|
2568
2576
|
* ```typescript
|
|
@@ -2584,7 +2592,7 @@ declare namespace OrgChart {
|
|
|
2584
2592
|
* ```
|
|
2585
2593
|
*/
|
|
2586
2594
|
nodeCircleMenuButton?: object,
|
|
2587
|
-
|
|
2595
|
+
|
|
2588
2596
|
/**
|
|
2589
2597
|
* Minimized template
|
|
2590
2598
|
* ```typescript
|
|
@@ -2597,7 +2605,7 @@ declare namespace OrgChart {
|
|
|
2597
2605
|
* ```
|
|
2598
2606
|
*/
|
|
2599
2607
|
min?: template,
|
|
2600
|
-
|
|
2608
|
+
|
|
2601
2609
|
/**
|
|
2602
2610
|
* A field
|
|
2603
2611
|
* ```typescript
|
|
@@ -2607,7 +2615,7 @@ declare namespace OrgChart {
|
|
|
2607
2615
|
*/
|
|
2608
2616
|
[name: string]: any
|
|
2609
2617
|
}
|
|
2610
|
-
|
|
2618
|
+
|
|
2611
2619
|
interface editUI {
|
|
2612
2620
|
/**
|
|
2613
2621
|
* Inits edit ui
|
|
@@ -3976,7 +3984,10 @@ declare namespace OrgChart {
|
|
|
3976
3984
|
elements?: Array<OrgChart.editFormElement | Array<OrgChart.editFormElement>>
|
|
3977
3985
|
}
|
|
3978
3986
|
}
|
|
3979
|
-
|
|
3987
|
+
|
|
3988
|
+
/**
|
|
3989
|
+
* @ignore
|
|
3990
|
+
*/
|
|
3980
3991
|
var ui: {
|
|
3981
3992
|
defs(fromrender: string): string;
|
|
3982
3993
|
lonely(config: Object): string;
|
|
@@ -3990,5 +4001,8 @@ declare namespace OrgChart {
|
|
|
3990
4001
|
|
|
3991
4002
|
};
|
|
3992
4003
|
|
|
4004
|
+
/**
|
|
4005
|
+
* @ignore
|
|
4006
|
+
*/
|
|
3993
4007
|
var t: any;
|
|
3994
4008
|
}export default OrgChart
|