impaktapps-ui-builder 1.0.2 → 1.0.4

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.
@@ -10388,9 +10388,7 @@ var service = (funcParams) => {
10388
10388
  }
10389
10389
  );
10390
10390
  const schema2 = (_m = pageData == null ? void 0 : pageData.schema) != null ? _m : { type: "object", properties: {} };
10391
- const newEventGroups = extractEvents(config2);
10392
- console.log("newEventGroups", newEventGroups, eventGroups);
10393
- eventGroups = newEventGroups;
10391
+ eventGroups = extractEvents(config2);
10394
10392
  executeEventsParameters = {
10395
10393
  config: {},
10396
10394
  componentName: "",
@@ -10400,7 +10398,7 @@ var service = (funcParams) => {
10400
10398
  service: funcParams.service,
10401
10399
  functionsProvider: funcParams.functionsProvider,
10402
10400
  serviceHolder: this,
10403
- eventGroups: newEventGroups,
10401
+ eventGroups,
10404
10402
  formDataHolder
10405
10403
  };
10406
10404
  await executeRefreshHandler({
@@ -10411,7 +10409,7 @@ var service = (funcParams) => {
10411
10409
  userValue: funcParams.userValue,
10412
10410
  service: funcParams.service,
10413
10411
  serviceHolder: this,
10414
- eventGroups: newEventGroups,
10412
+ eventGroups,
10415
10413
  formDataHolder: {}
10416
10414
  });
10417
10415
  funcParams.store.setSchema(
@@ -10474,7 +10472,7 @@ var service = (funcParams) => {
10474
10472
  { key: "size", value: paginationValues.pagination.pageSize },
10475
10473
  { key: "pageIndex", value: paginationValues.pagination.pageIndex },
10476
10474
  { key: "sorting", value: paginationValues.sorting || [] },
10477
- { key: "filters", value: paginationValues.columnFilters || [] },
10475
+ { key: "filters", value: paginationValues.tableColumnConfig || [] },
10478
10476
  { key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" }
10479
10477
  ];
10480
10478
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
@@ -10510,7 +10508,8 @@ var service = (funcParams) => {
10510
10508
  callExecuteEvents: async function(paramValue, apiBody, eventType) {
10511
10509
  var _a, _b;
10512
10510
  let LastCallResponse = void 0;
10513
- for (const eventConfig of (_a = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _a[paramValue.path]) {
10511
+ const eventsGroupClone = _.cloneDeep(eventGroups);
10512
+ for (const eventConfig of (_a = eventsGroupClone == null ? void 0 : eventsGroupClone[eventType]) == null ? void 0 : _a[paramValue.path]) {
10514
10513
  if (eventConfig.body) {
10515
10514
  eventConfig.body = [
10516
10515
  ...eventConfig.body,