@balkangraph/orgchart.js 8.9.45 → 8.9.46
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 +30 -0
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1248,6 +1248,11 @@ declare namespace OrgChart {
|
|
|
1248
1248
|
template?: string,
|
|
1249
1249
|
label?: string
|
|
1250
1250
|
}
|
|
1251
|
+
interface dottedLine {
|
|
1252
|
+
from?: string | number,
|
|
1253
|
+
to?: string | number,
|
|
1254
|
+
tags?: Array<string>
|
|
1255
|
+
}
|
|
1251
1256
|
interface orderBy {
|
|
1252
1257
|
field?: string,
|
|
1253
1258
|
desc?: boolean
|
|
@@ -1759,6 +1764,31 @@ declare namespace OrgChart {
|
|
|
1759
1764
|
* ```
|
|
1760
1765
|
*/
|
|
1761
1766
|
slinks?: Array<OrgChart.link>,
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* Adds dotted line.
|
|
1770
|
+
* ```typescript
|
|
1771
|
+
* var chart = new OrgChart('#tree', {
|
|
1772
|
+
* dottedLines: [
|
|
1773
|
+
* {from: 6, to: 1 }
|
|
1774
|
+
* ]
|
|
1775
|
+
* });
|
|
1776
|
+
* ```
|
|
1777
|
+
*/
|
|
1778
|
+
dottedLines?: Array<OrgChart.dottedLine>,
|
|
1779
|
+
|
|
1780
|
+
/**
|
|
1781
|
+
* Adds group dotted line.
|
|
1782
|
+
* ```typescript
|
|
1783
|
+
* var chart = new OrgChart('#tree', {
|
|
1784
|
+
* groupDottedLines: [
|
|
1785
|
+
* {from: 6, to: 1 }
|
|
1786
|
+
* ]
|
|
1787
|
+
* });
|
|
1788
|
+
* ```
|
|
1789
|
+
*/
|
|
1790
|
+
groupDottedLines?: Array<OrgChart.dottedLine>,
|
|
1791
|
+
|
|
1762
1792
|
/**
|
|
1763
1793
|
* The gap between each level. Default value - *60*
|
|
1764
1794
|
* ```typescript
|