@baosight/er4j 0.0.18 → 0.0.19

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.
@@ -11786,32 +11786,32 @@ var g;
11786
11786
  }
11787
11787
  }
11788
11788
  if (typeof e == "string") {
11789
- const p = this.getGridChangedRowsAsEiInfo(o);
11790
- p.addBlock(this.getAllControlValueAsEiBlock(t, void 0, i == null ? void 0 : i.filterBlockId)), a.push(this.callService(e, p, (i == null ? void 0 : i.loadingOptions) || { show: !0 }, (i == null ? void 0 : i.callServiceOptions) || { toCamelCase: !0 }));
11789
+ let p = this.getGridChangedRowsAsEiInfo(o);
11790
+ p.addBlock(this.getAllControlValueAsEiBlock(t, void 0, i == null ? void 0 : i.filterBlockId)), i != null && i.processInInfo && i.processInInfo instanceof Function && (p = i.processInInfo(p)), a.push(this.callService(e, p, (i == null ? void 0 : i.loadingOptions) || { show: !0 }, (i == null ? void 0 : i.callServiceOptions) || { toCamelCase: !0 }));
11791
11791
  } else if ($o.isPlainObject(e)) {
11792
11792
  const p = this.getAllControlValueAsEiBlock(t, void 0, i == null ? void 0 : i.filterBlockId);
11793
11793
  if (e.deleteService && e.deleteService.trim().length > 0) {
11794
11794
  const h = this.getGridDeletedRowsAsBlock(o);
11795
11795
  if (h.getMappedRows().length > 0) {
11796
11796
  h.rename("result");
11797
- const T = new It();
11798
- T.addBlock(p), T.addBlock(h), a.push(this.callService(e.deleteService, T, (i == null ? void 0 : i.loadingOptions) || { show: !0 }, (i == null ? void 0 : i.callServiceOptions) || { toCamelCase: !0 }));
11797
+ let T = new It();
11798
+ T.addBlock(p), T.addBlock(h), i != null && i.processInInfo && i.processInInfo instanceof Function && (T = i.processInInfo(T)), a.push(this.callService(e.deleteService, T, (i == null ? void 0 : i.loadingOptions) || { show: !0 }, (i == null ? void 0 : i.callServiceOptions) || { toCamelCase: !0 }));
11799
11799
  }
11800
11800
  }
11801
11801
  if (e.updateService && e.updateService.trim().length > 0) {
11802
11802
  const h = this.getGridModifyRowsAsBlock(o);
11803
11803
  if (h.getMappedRows().length > 0) {
11804
11804
  h.rename("result");
11805
- const T = new It();
11806
- T.addBlock(p), T.addBlock(h), a.push(this.callService(e.updateService, T, (i == null ? void 0 : i.loadingOptions) || { show: !0 }, (i == null ? void 0 : i.callServiceOptions) || { toCamelCase: !0 }));
11805
+ let T = new It();
11806
+ T.addBlock(p), T.addBlock(h), i != null && i.processInInfo && i.processInInfo instanceof Function && (T = i.processInInfo(T)), a.push(this.callService(e.updateService, T, (i == null ? void 0 : i.loadingOptions) || { show: !0 }, (i == null ? void 0 : i.callServiceOptions) || { toCamelCase: !0 }));
11807
11807
  }
11808
11808
  }
11809
11809
  if (e.insertService && e.insertService.trim().length > 0) {
11810
11810
  const h = this.getGridCreatedRowsAsBlock(o);
11811
11811
  if (h.getMappedRows().length > 0) {
11812
11812
  h.rename("result");
11813
- const T = new It();
11814
- T.addBlock(p), T.addBlock(h), a.push(this.callService(e.insertService, T, (i == null ? void 0 : i.loadingOptions) || { show: !0 }, (i == null ? void 0 : i.callServiceOptions) || { toCamelCase: !0 }));
11813
+ let T = new It();
11814
+ T.addBlock(p), T.addBlock(h), i != null && i.processInInfo && i.processInInfo instanceof Function && (T = i.processInInfo(T)), a.push(this.callService(e.insertService, T, (i == null ? void 0 : i.loadingOptions) || { show: !0 }, (i == null ? void 0 : i.callServiceOptions) || { toCamelCase: !0 }));
11815
11815
  }
11816
11816
  }
11817
11817
  }