@balkangraph/orgchart.js 8.4.7 → 8.4.10
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 +8 -2
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
declare class OrgChart extends OrgChartBase {
|
|
4
4
|
nodes: { [key in any]: OrgChart.node };
|
|
5
5
|
isVisible: boolean;
|
|
6
|
+
visibleNodeIds: Array<number | string>;
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @param element HTML element or string selector for example '#tree'
|
|
@@ -792,6 +793,11 @@ declare class OrgChart extends OrgChartBase {
|
|
|
792
793
|
static HIDE_EDIT_FORM_ON_PAN: boolean;
|
|
793
794
|
static ARRAY_FIELDS: Array<string>;
|
|
794
795
|
|
|
796
|
+
/**
|
|
797
|
+
* Csv import and export delimiter/separator
|
|
798
|
+
*/
|
|
799
|
+
static CSV_DELIMITER: string;
|
|
800
|
+
|
|
795
801
|
/**
|
|
796
802
|
* @ignore
|
|
797
803
|
*/
|
|
@@ -1084,7 +1090,7 @@ declare namespace OrgChart {
|
|
|
1084
1090
|
* @param nodeId
|
|
1085
1091
|
* @param menu
|
|
1086
1092
|
*/
|
|
1087
|
-
show(nodeId: string | number, menu
|
|
1093
|
+
show(nodeId: string | number, menu?: { [key: string]: menu }): void;
|
|
1088
1094
|
/**
|
|
1089
1095
|
* Hides circle menu
|
|
1090
1096
|
*/
|
|
@@ -1829,7 +1835,7 @@ declare namespace OrgChart {
|
|
|
1829
1835
|
* ```
|
|
1830
1836
|
* ```typescript
|
|
1831
1837
|
* var chart = new OrgChart('#tree', {
|
|
1832
|
-
* orderBy:
|
|
1838
|
+
* orderBy: {field: "orderId", desc: true},
|
|
1833
1839
|
* nodes: [
|
|
1834
1840
|
* { id: 10, pid: 1, orderId: 2 },
|
|
1835
1841
|
* { id: 11, pid: 1, orderId: 1 }
|