@xuda.io/runtime-bundle 1.0.255 → 1.0.257
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.
|
@@ -33767,14 +33767,22 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
33767
33767
|
let is_dynamic_field = false
|
|
33768
33768
|
let field_prop
|
|
33769
33769
|
|
|
33770
|
-
const iterate_info = $elm?.data()?.xuData?.iterate_info
|
|
33771
|
-
const reference_source_obj = iterate_info?.reference_source_obj
|
|
33770
|
+
// const iterate_info = $elm?.data()?.xuData?.iterate_info
|
|
33771
|
+
// const reference_source_obj = iterate_info?.reference_source_obj
|
|
33772
33772
|
|
|
33773
33773
|
|
|
33774
33774
|
|
|
33775
33775
|
if (["_FOR_VAL", "_FOR_KEY"].includes(val.value)) {
|
|
33776
|
-
if (reference_source_obj) {
|
|
33777
|
-
|
|
33776
|
+
// if (reference_source_obj) {
|
|
33777
|
+
// view_field_id = (reference_source_obj.fieldIdP || "") + val.value;
|
|
33778
|
+
// }
|
|
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
|
+
|
|
33784
|
+
if (val.value === "_FOR_VAL") {
|
|
33785
|
+
view_field_id = $elm.data().xuData.iterate_info.iterator_val;
|
|
33778
33786
|
}
|
|
33779
33787
|
is_dynamic_field = true
|
|
33780
33788
|
field_prop = _ds.dynamic_fields[view_field_id]
|
|
@@ -34096,12 +34104,14 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
34096
34104
|
// custom FOR_VAL name or namespaced default name
|
|
34097
34105
|
if (!custom_iterator_key) {
|
|
34098
34106
|
is_key_dynamic_field = true
|
|
34099
|
-
iterator_key = (reference_source_obj?.fieldIdP || "") + "_FOR_KEY";
|
|
34107
|
+
// iterator_key = (reference_source_obj?.fieldIdP || "") + "_FOR_KEY";
|
|
34108
|
+
iterator_key = $elm.data().xuData.node_org.id + "_FOR_KEY";
|
|
34100
34109
|
}
|
|
34101
34110
|
|
|
34102
34111
|
if (!custom_iterator_val) {
|
|
34103
34112
|
is_val_dynamic_field = true
|
|
34104
|
-
iterator_val = (reference_source_obj?.fieldIdP || "") + "_FOR_VAL";
|
|
34113
|
+
// iterator_val = (reference_source_obj?.fieldIdP || "") + "_FOR_VAL";
|
|
34114
|
+
iterator_val = $elm.data().xuData.node_org.id + "_FOR_VAL";
|
|
34105
34115
|
}
|
|
34106
34116
|
|
|
34107
34117
|
var i = 0;
|