@xuda.io/runtime-bundle 1.0.257 → 1.0.258

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.
@@ -14881,9 +14881,19 @@ func.UI.screen.execute_xu_functions = async function (
14881
14881
  }
14882
14882
  },
14883
14883
  "xu-exp": async function ($elm, val) {
14884
+ let view_field_id = val.value === null ? true : val.value
14885
+ if (val.value === "@_FOR_KEY") {
14886
+ view_field_id = $elm.data().xuData.iterate_info.iterator_key;
14887
+ }
14888
+
14889
+ if (val.value === "@_FOR_VAL") {
14890
+ view_field_id = $elm.data().xuData.iterate_info.iterator_val;
14891
+ }
14892
+
14893
+
14884
14894
  let exp_ret = await func.expression.get(
14885
14895
  SESSION_ID,
14886
- val.value === null ? true : val.value,
14896
+ view_field_id,
14887
14897
  paramsP.dsSessionP,
14888
14898
  "UI Attr EXP",
14889
14899
  SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP].currentRecordId
@@ -12291,9 +12291,19 @@ func.UI.screen.execute_xu_functions = async function (
12291
12291
  }
12292
12292
  },
12293
12293
  "xu-exp": async function ($elm, val) {
12294
+ let view_field_id = val.value === null ? true : val.value
12295
+ if (val.value === "@_FOR_KEY") {
12296
+ view_field_id = $elm.data().xuData.iterate_info.iterator_key;
12297
+ }
12298
+
12299
+ if (val.value === "@_FOR_VAL") {
12300
+ view_field_id = $elm.data().xuData.iterate_info.iterator_val;
12301
+ }
12302
+
12303
+
12294
12304
  let exp_ret = await func.expression.get(
12295
12305
  SESSION_ID,
12296
- val.value === null ? true : val.value,
12306
+ view_field_id,
12297
12307
  paramsP.dsSessionP,
12298
12308
  "UI Attr EXP",
12299
12309
  SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP].currentRecordId