impaktapps-ui-builder 1.0.280 → 1.0.285

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.
@@ -22,6 +22,8 @@ declare const _default: (funcParams: funcParamsProps) => {
22
22
  onRowMovement: (paginationValues: any) => Promise<any>;
23
23
  onPaginationChange: (paginationValues: any) => Promise<any>;
24
24
  onNodeExpandChange: (param: any) => Promise<any>;
25
+ onNodeSearchChange: (param: any) => Promise<any>;
26
+ onSearchNodeSelect: (param: any) => Promise<any>;
25
27
  getSelectOptions: (param: any) => Promise<any>;
26
28
  onChange: () => void;
27
29
  callExecuteEvents: (paramValue: any, apiBody: any, eventType: string) => Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.280",
3
+ "version": "1.0.285",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -180,6 +180,21 @@ export default (funcParams: funcParamsProps) => {
180
180
  const response = await this.callExecuteEvents(param, apiBody, "onLoad");
181
181
  return response?.data;
182
182
  },
183
+ onNodeSearchChange: async function (param) {
184
+ const apiBody = [
185
+ { key: "searchTerm", value: param.searchTerm }
186
+ ]
187
+ const response = await this.callExecuteEvents(param, apiBody, "onLoad");
188
+ return response?.data;
189
+ },
190
+ onSearchNodeSelect: async function (param) {
191
+ const apiBody = [
192
+ { key: "selectedNodeId", value: param.selectedNodeId },
193
+ { key: "uncollapsedIds", value: param.uncollapsedIds }
194
+ ]
195
+ const response = await this.callExecuteEvents(param, apiBody, "onLoad");
196
+ return response?.data;
197
+ },
183
198
  getSelectOptions: async function (param) {
184
199
  if (param.serachValue !== "" && param.serachValue !== undefined) {
185
200
  const apiBody = [