@xuda.io/runtime-bundle 1.0.256 → 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.
|
@@ -33776,8 +33776,14 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
33776
33776
|
// if (reference_source_obj) {
|
|
33777
33777
|
// view_field_id = (reference_source_obj.fieldIdP || "") + val.value;
|
|
33778
33778
|
// }
|
|
33779
|
-
view_field_id = $elm.data().xuData.node_org.id + val.value;
|
|
33779
|
+
// view_field_id = $elm.data().xuData.node_org.id + val.value;
|
|
33780
|
+
if (val.value === "_FOR_KEY") {
|
|
33781
|
+
view_field_id = $elm.data().xuData.iterate_info.iterator_key;
|
|
33782
|
+
}
|
|
33780
33783
|
|
|
33784
|
+
if (val.value === "_FOR_VAL") {
|
|
33785
|
+
view_field_id = $elm.data().xuData.iterate_info.iterator_val;
|
|
33786
|
+
}
|
|
33781
33787
|
is_dynamic_field = true
|
|
33782
33788
|
field_prop = _ds.dynamic_fields[view_field_id]
|
|
33783
33789
|
} else {
|
|
@@ -34244,9 +34250,19 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
34244
34250
|
}
|
|
34245
34251
|
},
|
|
34246
34252
|
"xu-exp": async function ($elm, val) {
|
|
34253
|
+
let view_field_id = val.value === null ? true : val.value
|
|
34254
|
+
if (val.value === "@_FOR_KEY") {
|
|
34255
|
+
view_field_id = $elm.data().xuData.iterate_info.iterator_key;
|
|
34256
|
+
}
|
|
34257
|
+
|
|
34258
|
+
if (val.value === "@_FOR_VAL") {
|
|
34259
|
+
view_field_id = $elm.data().xuData.iterate_info.iterator_val;
|
|
34260
|
+
}
|
|
34261
|
+
|
|
34262
|
+
|
|
34247
34263
|
let exp_ret = await func.expression.get(
|
|
34248
34264
|
SESSION_ID,
|
|
34249
|
-
|
|
34265
|
+
view_field_id,
|
|
34250
34266
|
paramsP.dsSessionP,
|
|
34251
34267
|
"UI Attr EXP",
|
|
34252
34268
|
SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP].currentRecordId
|