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.
- package/dist/impaktapps-ui-builder.es.js +15 -0
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +2 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +15 -0
|
@@ -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
|
@@ -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 = [
|