@balkangraph/orgchart.js 8.12.9 → 8.12.11
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 +18 -1
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1095,7 +1095,7 @@ declare namespace OrgChart {
|
|
|
1095
1095
|
* @param type A case-sensitive string representing the event type to listen for.
|
|
1096
1096
|
* @param listener The object that receives a notification when an event of the specified type occurs. This must be a JavaScript function.
|
|
1097
1097
|
*/
|
|
1098
|
-
on(type: "searchclick", listener: (sender:
|
|
1098
|
+
on(type: "add-item" | "show-items" | "hide" | "searchclick" , listener: (sender: searchUI, args: any, args1: any, args2: any) => void | boolean): searchUI;
|
|
1099
1099
|
/**
|
|
1100
1100
|
* Hides the search grid
|
|
1101
1101
|
*/
|
|
@@ -1111,6 +1111,14 @@ declare namespace OrgChart {
|
|
|
1111
1111
|
input: HTMLElement;
|
|
1112
1112
|
searchTableWrapper: HTMLElement;
|
|
1113
1113
|
lastSearch: Array<object>;
|
|
1114
|
+
/**
|
|
1115
|
+
* OrgChart instance
|
|
1116
|
+
*/
|
|
1117
|
+
instance: OrgChart;
|
|
1118
|
+
/**
|
|
1119
|
+
* Search in field with abbreviation.
|
|
1120
|
+
*/
|
|
1121
|
+
searchFieldsAbbreviation: {[key: string]: string};
|
|
1114
1122
|
}
|
|
1115
1123
|
|
|
1116
1124
|
|
|
@@ -1127,7 +1135,16 @@ declare namespace OrgChart {
|
|
|
1127
1135
|
*/
|
|
1128
1136
|
hide(): void;
|
|
1129
1137
|
addFilterTag(data: object): boolean;
|
|
1138
|
+
/**
|
|
1139
|
+
* The on() method of the filterUI interface sets up a function that will be called whenever the specified event is delivered to the target. *
|
|
1140
|
+
* @category Event Listeners
|
|
1141
|
+
* @param type A case-sensitive string representing the event type to listen for.
|
|
1142
|
+
* @param listener The object that receives a notification when an event of the specified type occurs. This must be a JavaScript function.
|
|
1143
|
+
*/
|
|
1144
|
+
on(type: "update" | "add-item" | "add-filter" | "show-items" , listener: (sender: filterUI, args: any, args1: any, args2: any) => void | boolean): filterUI;
|
|
1130
1145
|
filterBy?: any;
|
|
1146
|
+
element: HTMLElement;
|
|
1147
|
+
instance: OrgChart;
|
|
1131
1148
|
}
|
|
1132
1149
|
|
|
1133
1150
|
|