@xuda.io/runtime-bundle 1.0.260 → 1.0.262
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.
|
@@ -33777,13 +33777,14 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
33777
33777
|
// view_field_id = (reference_source_obj.fieldIdP || "") + val.value;
|
|
33778
33778
|
// }
|
|
33779
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
|
-
}
|
|
33783
33780
|
|
|
33784
|
-
if (val.value === "
|
|
33785
|
-
|
|
33786
|
-
}
|
|
33781
|
+
// if (val.value === "_FOR_KEY") {
|
|
33782
|
+
// view_field_id = $elm.data().xuData.iterate_info.iterator_key;
|
|
33783
|
+
// }
|
|
33784
|
+
|
|
33785
|
+
// if (val.value === "_FOR_VAL") {
|
|
33786
|
+
// view_field_id = $elm.data().xuData.iterate_info.iterator_val;
|
|
33787
|
+
// }
|
|
33787
33788
|
is_dynamic_field = true
|
|
33788
33789
|
field_prop = _ds.dynamic_fields[view_field_id]
|
|
33789
33790
|
} else {
|
|
@@ -34104,14 +34105,16 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
34104
34105
|
// custom FOR_VAL name or namespaced default name
|
|
34105
34106
|
if (!custom_iterator_key) {
|
|
34106
34107
|
is_key_dynamic_field = true
|
|
34107
|
-
|
|
34108
|
-
iterator_key = $elm.data().xuData.node_org.id.replaceAll("-", "_") + "_FOR_KEY";
|
|
34108
|
+
|
|
34109
|
+
// iterator_key = $elm.data().xuData.node_org.id.replaceAll("-", "_") + "_FOR_KEY";
|
|
34110
|
+
iterator_key = "_FOR_KEY";
|
|
34109
34111
|
}
|
|
34110
34112
|
|
|
34111
34113
|
if (!custom_iterator_val) {
|
|
34112
34114
|
is_val_dynamic_field = true
|
|
34113
|
-
|
|
34114
|
-
iterator_val = $elm.data().xuData.node_org.id.replaceAll("-", "_") + "_FOR_VAL";
|
|
34115
|
+
|
|
34116
|
+
// iterator_val = $elm.data().xuData.node_org.id.replaceAll("-", "_") + "_FOR_VAL";
|
|
34117
|
+
iterator_val = "_FOR_VAL";
|
|
34115
34118
|
}
|
|
34116
34119
|
|
|
34117
34120
|
var i = 0;
|
|
@@ -34250,19 +34253,20 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
34250
34253
|
}
|
|
34251
34254
|
},
|
|
34252
34255
|
"xu-exp": async function ($elm, val) {
|
|
34253
|
-
let
|
|
34254
|
-
if (val.value
|
|
34255
|
-
|
|
34256
|
-
}
|
|
34256
|
+
let exp = val.value === null ? true : val.value
|
|
34257
|
+
// if (val.value.includes("@_FOR_KEY")) {
|
|
34258
|
+
// exp = exp.replaceAll("@_FOR_KEY", "@" + $elm.data().xuData.iterate_info.iterator_key);
|
|
34259
|
+
// }
|
|
34260
|
+
|
|
34261
|
+
// if (val.value.includes("@_FOR_VAL")) {
|
|
34262
|
+
// exp = exp.replaceAll("@_FOR_VAL", "@" + $elm.data().xuData.iterate_info.iterator_val);
|
|
34263
|
+
// }
|
|
34257
34264
|
|
|
34258
|
-
if (val.value === "@_FOR_VAL") {
|
|
34259
|
-
view_field_id = "@" + $elm.data().xuData.iterate_info.iterator_val;
|
|
34260
|
-
}
|
|
34261
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
|