@xuda.io/runtime-bundle 1.0.260 → 1.0.261
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.
|
@@ -34250,19 +34250,23 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
34250
34250
|
}
|
|
34251
34251
|
},
|
|
34252
34252
|
"xu-exp": async function ($elm, val) {
|
|
34253
|
-
let
|
|
34254
|
-
if (val.value
|
|
34255
|
-
|
|
34253
|
+
let exp = val.value === null ? true : val.value
|
|
34254
|
+
if (val.value.includes("@_FOR_KEY")) {
|
|
34255
|
+
exp = exp.replaceAll("@_FOR_KEY", "@" + $elm.data().xuData.iterate_info.iterator_key);
|
|
34256
34256
|
}
|
|
34257
34257
|
|
|
34258
|
-
if (val.value
|
|
34259
|
-
|
|
34258
|
+
if (val.value.includes("@_FOR_VAL")) {
|
|
34259
|
+
exp = exp.replaceAll("@_FOR_VAL", "@" + $elm.data().xuData.iterate_info.iterator_val);
|
|
34260
34260
|
}
|
|
34261
34261
|
|
|
34262
|
+
// if (val.value === "@_FOR_VAL") {
|
|
34263
|
+
// exp = "@" + $elm.data().xuData.iterate_info.iterator_val;
|
|
34264
|
+
// }
|
|
34265
|
+
|
|
34262
34266
|
|
|
34263
34267
|
let exp_ret = await func.expression.get(
|
|
34264
34268
|
SESSION_ID,
|
|
34265
|
-
|
|
34269
|
+
exp,
|
|
34266
34270
|
paramsP.dsSessionP,
|
|
34267
34271
|
"UI Attr EXP",
|
|
34268
34272
|
SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP].currentRecordId
|