@ibiz-template/runtime 0.7.40 → 0.7.41-alpha.0

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/index.esm.js CHANGED
@@ -32372,8 +32372,10 @@ var UtilService = class {
32372
32372
  appDataEntityTag,
32373
32373
  appId2
32374
32374
  );
32375
+ const cloneContext = context.clone();
32376
+ cloneContext.srfappid = appId2;
32375
32377
  const appDEService = await app.deService.getService(
32376
- context,
32378
+ cloneContext,
32377
32379
  appDataEntityTag
32378
32380
  );
32379
32381
  if (appDEService) {
@@ -41156,6 +41158,13 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
41156
41158
  data,
41157
41159
  params
41158
41160
  );
41161
+ const { xdataControlName = "" } = view.model;
41162
+ const xdataControl = view.getController(
41163
+ xdataControlName
41164
+ );
41165
+ if (xdataControl) {
41166
+ resultContext.srfnavctrlid = xdataControl.ctrlId;
41167
+ }
41159
41168
  const options = this.handleViewOptionParams(resultParams);
41160
41169
  const res = await ibiz.commands.execute(
41161
41170
  OpenAppViewCommand.TAG,
@@ -54697,7 +54706,7 @@ var GridColumnController = class {
54697
54706
  get deGridDataItem() {
54698
54707
  var _a3;
54699
54708
  return (_a3 = this.grid.model.degridDataItems) == null ? void 0 : _a3.find((item) => {
54700
- return item.id === this.model.id;
54709
+ return item.id === this.model.dataItemName;
54701
54710
  });
54702
54711
  }
54703
54712
  /**
@@ -54775,7 +54784,8 @@ var GridColumnController = class {
54775
54784
  params: this.params,
54776
54785
  controller: this,
54777
54786
  ctrl: this.grid,
54778
- view: this.grid.view
54787
+ view: this.grid.view,
54788
+ metadata: { column: this.model }
54779
54789
  },
54780
54790
  scriptCode,
54781
54791
  { isAsync: false }
@@ -54788,7 +54798,8 @@ var GridColumnController = class {
54788
54798
  params: this.params,
54789
54799
  controller: this,
54790
54800
  ctrl: this.grid,
54791
- view: this.grid.view
54801
+ view: this.grid.view,
54802
+ metadata: { column: this.model }
54792
54803
  },
54793
54804
  scriptCode
54794
54805
  );