@balkangraph/orgchart.js 8.2.28 → 8.2.31
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 +5 -3
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
declare class OrgChart extends OrgChartBase {
|
|
4
|
-
nodes: { [key
|
|
4
|
+
nodes: { [key in string | number]: OrgChart.node };
|
|
5
5
|
isVisible: boolean;
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1934,6 +1934,8 @@ declare namespace OrgChart {
|
|
|
1934
1934
|
addMore?: string,
|
|
1935
1935
|
addMoreBtn?: string,
|
|
1936
1936
|
addMoreFieldName?: string,
|
|
1937
|
+
saveAndCloseBtn?: string,
|
|
1938
|
+
cancelBtn?: string,
|
|
1937
1939
|
generateElementsFromFields?: boolean,
|
|
1938
1940
|
buttons?: {
|
|
1939
1941
|
[key: string]: {
|
|
@@ -2017,8 +2019,8 @@ declare class OrgChartBase {
|
|
|
2017
2019
|
* parent ids and sub tree parents ids that needs to be updated on the server. For example if you remove a node that has children all chilren nodes will change their pid to the parent node id of the removed node.
|
|
2018
2020
|
*/
|
|
2019
2021
|
newPidsAndStpidsForIds: {
|
|
2020
|
-
newPidsForIds: { [key
|
|
2021
|
-
newStpidsForIds: { [key
|
|
2022
|
+
newPidsForIds: { [key in string | number]: string | number },
|
|
2023
|
+
newStpidsForIds: { [key in string | number]: string | number }
|
|
2022
2024
|
}
|
|
2023
2025
|
}) => void): OrgChart;
|
|
2024
2026
|
|