@balkangraph/orgchart.js 9.0.18 → 9.0.23
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 +19 -60
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1703,65 +1703,6 @@ declare class OrgChart {
|
|
|
1703
1703
|
* ```
|
|
1704
1704
|
*/
|
|
1705
1705
|
static isTrial(): boolean;
|
|
1706
|
-
/**
|
|
1707
|
-
* Count all children nodes of the specified id.
|
|
1708
|
-
* ```typescript
|
|
1709
|
-
* let chart = new OrgChart('#tree', {});
|
|
1710
|
-
* chart.onInit(() => {
|
|
1711
|
-
* console.log(OrgChart.childrenCount(chart, chart.getNode(2)))
|
|
1712
|
-
* });
|
|
1713
|
-
* chart.load(nodes)
|
|
1714
|
-
* ```
|
|
1715
|
-
* @param chart OrgChart instance
|
|
1716
|
-
* @param node
|
|
1717
|
-
* @param count
|
|
1718
|
-
*/
|
|
1719
|
-
static childrenCount(chart: OrgChart, node: OrgChart.node): number;
|
|
1720
|
-
|
|
1721
|
-
/**
|
|
1722
|
-
* Count the total (to the leafs) children nodes of the specified id.
|
|
1723
|
-
* ```typescript
|
|
1724
|
-
* let chart = new OrgChart('#tree', {});
|
|
1725
|
-
* chart.onInit(() => {
|
|
1726
|
-
* console.log(OrgChart.childrenTotalCount(chart, chart.getNode(2)))
|
|
1727
|
-
* });
|
|
1728
|
-
* chart.load(nodes)
|
|
1729
|
-
* ```
|
|
1730
|
-
* @param chart OrgChart instance
|
|
1731
|
-
* @param node
|
|
1732
|
-
* @param count
|
|
1733
|
-
*/
|
|
1734
|
-
static childrenTotalCount(chart: OrgChart, node: OrgChart.node): number;
|
|
1735
|
-
|
|
1736
|
-
/**
|
|
1737
|
-
* Count the collapsed children nodes of the specified id.
|
|
1738
|
-
* ```typescript
|
|
1739
|
-
* let chart = new OrgChart('#tree', {});
|
|
1740
|
-
* chart.onInit(() => {
|
|
1741
|
-
* console.log(OrgChart.collapsedChildrenCount(chart, chart.getNode(2)))
|
|
1742
|
-
* });
|
|
1743
|
-
* chart.load(nodes)
|
|
1744
|
-
* ```
|
|
1745
|
-
* @param chart OrgChart instance
|
|
1746
|
-
* @param node
|
|
1747
|
-
* @param count
|
|
1748
|
-
*/
|
|
1749
|
-
static collapsedChildrenCount(chart: OrgChart, node: OrgChart.node): number;
|
|
1750
|
-
|
|
1751
|
-
/**
|
|
1752
|
-
* Count the total (to the leafs) collapsed children nodes of the specified id.
|
|
1753
|
-
* ```typescript
|
|
1754
|
-
* let chart = new OrgChart('#tree', {});
|
|
1755
|
-
* chart.onInit(() => {
|
|
1756
|
-
* console.log(OrgChart.collapsedChildrenCount(chart, chart.getNode(2)))
|
|
1757
|
-
* });
|
|
1758
|
-
* chart.load(nodes)
|
|
1759
|
-
* ```
|
|
1760
|
-
* @param chart OrgChart instance
|
|
1761
|
-
* @param node
|
|
1762
|
-
* @param count
|
|
1763
|
-
*/
|
|
1764
|
-
static collapsedChildrenTotalCount(chart: OrgChart, node: OrgChart.node): number;
|
|
1765
1706
|
|
|
1766
1707
|
/**
|
|
1767
1708
|
* Get the root node of the specified id.
|
|
@@ -1981,7 +1922,7 @@ declare class OrgChart {
|
|
|
1981
1922
|
* @param func - funcition to animate with
|
|
1982
1923
|
* @param callback - callback function
|
|
1983
1924
|
*/
|
|
1984
|
-
static animate(element: Object, attrStart?: Object, attrEnd?: Object, duration?: number, func?: OrgChart.anim, callback?: Function, tick?:
|
|
1925
|
+
static animate(element: Object, attrStart?: Object, attrEnd?: Object, duration?: number, func?: OrgChart.anim, callback?: Function, tick?: Function): void;
|
|
1985
1926
|
|
|
1986
1927
|
/**
|
|
1987
1928
|
* Minimap options.
|
|
@@ -2548,6 +2489,24 @@ declare namespace OrgChart {
|
|
|
2548
2489
|
* template name, you can specify multiple templates with tags in one chart
|
|
2549
2490
|
*/
|
|
2550
2491
|
templateName?: string,
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* Number of direct child nodes.
|
|
2495
|
+
*/
|
|
2496
|
+
childCount?: number,
|
|
2497
|
+
/**
|
|
2498
|
+
* Number of direct child nodes that are currently collapsed (hidden).
|
|
2499
|
+
*/
|
|
2500
|
+
collapsedChildCount?: number,
|
|
2501
|
+
/**
|
|
2502
|
+
* Total number of collapsed descendant nodes (collapsed at any depth).
|
|
2503
|
+
*/
|
|
2504
|
+
deepCollapsedChildCount?: number,
|
|
2505
|
+
/**
|
|
2506
|
+
* Total number of descendant nodes (children at all levels).
|
|
2507
|
+
*/
|
|
2508
|
+
deepChildCount?: number,
|
|
2509
|
+
|
|
2551
2510
|
/**
|
|
2552
2511
|
* a reference to the left node neighbor, the default value is undefined
|
|
2553
2512
|
*/
|
package/orgchart.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
1
|
+
/* eslint-disable */
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"9.00.
|
|
1
|
+
{"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"9.00.23"}
|