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