impaktapps-ui-builder 0.0.1062 → 0.0.1064
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 +3 -2
- 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/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +3 -2
package/package.json
CHANGED
|
@@ -363,7 +363,7 @@ const buildUiSchema = (config: any, store?: any) => {
|
|
|
363
363
|
enableColumnFilter: Object.keys(filterMap).length === 0 ? true : filterMap[cellElem.name] ?? false,
|
|
364
364
|
columnFilterModeOptions: config.filteringOptions,
|
|
365
365
|
enableSorting: config.enableSorting === "No" ? false : true,
|
|
366
|
-
columnKey:
|
|
366
|
+
columnKey: cellElem.columnKey
|
|
367
367
|
}
|
|
368
368
|
if (cellElem.type) {
|
|
369
369
|
return {
|
|
@@ -203,6 +203,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
203
203
|
],
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
|
+
eventGroups = {}
|
|
206
207
|
const schema = pageData?.schema ?? { type: "object", properties: {} };
|
|
207
208
|
eventGroups = extractEvents(config);
|
|
208
209
|
executeEventsParameters = {
|
|
@@ -274,7 +275,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
274
275
|
{ key: "size", value: paginationValues.pagination.pageSize },
|
|
275
276
|
{ key: "pageIndex", value: paginationValues.pagination.pageIndex },
|
|
276
277
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
277
|
-
{ key: "filters", value: paginationValues.columnFilters || [] },
|
|
278
|
+
{ key: "filters", value:paginationValues.tableColumnConfig|| paginationValues.columnFilters || [] },
|
|
278
279
|
{ key: "globalFilter", value: paginationValues.globalFilter ?? '' }
|
|
279
280
|
]
|
|
280
281
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
@@ -352,7 +353,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
352
353
|
}
|
|
353
354
|
},
|
|
354
355
|
callHandler: async function (eventType: string, functionParameters?: any) {
|
|
355
|
-
const path = funcParams.dynamicData?.tableButtonPath || funcParams.dynamicData.path.split(".")[
|
|
356
|
+
const path = funcParams.dynamicData?.tableButtonPath || funcParams.dynamicData.path.split(".")[funcParams.dynamicData.path.split(".").length - 1];
|
|
356
357
|
if (eventGroups?.[eventType]?.[path] !== undefined) {
|
|
357
358
|
Promise.all(eventGroups?.[eventType]?.[path].map((eventConfig) => {
|
|
358
359
|
executeEventsParameters.store.functionParameters = functionParameters
|