@xuda.io/runtime-bundle 1.0.255 → 1.0.256
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -14398,15 +14398,17 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
14398
14398
|
let is_dynamic_field = false
|
|
14399
14399
|
let field_prop
|
|
14400
14400
|
|
|
14401
|
-
const iterate_info = $elm?.data()?.xuData?.iterate_info
|
|
14402
|
-
const reference_source_obj = iterate_info?.reference_source_obj
|
|
14401
|
+
// const iterate_info = $elm?.data()?.xuData?.iterate_info
|
|
14402
|
+
// const reference_source_obj = iterate_info?.reference_source_obj
|
|
14403
14403
|
|
|
14404
14404
|
|
|
14405
14405
|
|
|
14406
14406
|
if (["_FOR_VAL", "_FOR_KEY"].includes(val.value)) {
|
|
14407
|
-
if (reference_source_obj) {
|
|
14408
|
-
|
|
14409
|
-
}
|
|
14407
|
+
// if (reference_source_obj) {
|
|
14408
|
+
// view_field_id = (reference_source_obj.fieldIdP || "") + val.value;
|
|
14409
|
+
// }
|
|
14410
|
+
view_field_id = $elm.data().xuData.node_org.id + val.value;
|
|
14411
|
+
|
|
14410
14412
|
is_dynamic_field = true
|
|
14411
14413
|
field_prop = _ds.dynamic_fields[view_field_id]
|
|
14412
14414
|
} else {
|
|
@@ -14727,12 +14729,14 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
14727
14729
|
// custom FOR_VAL name or namespaced default name
|
|
14728
14730
|
if (!custom_iterator_key) {
|
|
14729
14731
|
is_key_dynamic_field = true
|
|
14730
|
-
iterator_key = (reference_source_obj?.fieldIdP || "") + "_FOR_KEY";
|
|
14732
|
+
// iterator_key = (reference_source_obj?.fieldIdP || "") + "_FOR_KEY";
|
|
14733
|
+
iterator_key = $elm.data().xuData.node_org.id + "_FOR_KEY";
|
|
14731
14734
|
}
|
|
14732
14735
|
|
|
14733
14736
|
if (!custom_iterator_val) {
|
|
14734
14737
|
is_val_dynamic_field = true
|
|
14735
|
-
iterator_val = (reference_source_obj?.fieldIdP || "") + "_FOR_VAL";
|
|
14738
|
+
// iterator_val = (reference_source_obj?.fieldIdP || "") + "_FOR_VAL";
|
|
14739
|
+
iterator_val = $elm.data().xuData.node_org.id + "_FOR_VAL";
|
|
14736
14740
|
}
|
|
14737
14741
|
|
|
14738
14742
|
var i = 0;
|
|
@@ -11808,15 +11808,17 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
11808
11808
|
let is_dynamic_field = false
|
|
11809
11809
|
let field_prop
|
|
11810
11810
|
|
|
11811
|
-
const iterate_info = $elm?.data()?.xuData?.iterate_info
|
|
11812
|
-
const reference_source_obj = iterate_info?.reference_source_obj
|
|
11811
|
+
// const iterate_info = $elm?.data()?.xuData?.iterate_info
|
|
11812
|
+
// const reference_source_obj = iterate_info?.reference_source_obj
|
|
11813
11813
|
|
|
11814
11814
|
|
|
11815
11815
|
|
|
11816
11816
|
if (["_FOR_VAL", "_FOR_KEY"].includes(val.value)) {
|
|
11817
|
-
if (reference_source_obj) {
|
|
11818
|
-
|
|
11819
|
-
}
|
|
11817
|
+
// if (reference_source_obj) {
|
|
11818
|
+
// view_field_id = (reference_source_obj.fieldIdP || "") + val.value;
|
|
11819
|
+
// }
|
|
11820
|
+
view_field_id = $elm.data().xuData.node_org.id + val.value;
|
|
11821
|
+
|
|
11820
11822
|
is_dynamic_field = true
|
|
11821
11823
|
field_prop = _ds.dynamic_fields[view_field_id]
|
|
11822
11824
|
} else {
|
|
@@ -12137,12 +12139,14 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
12137
12139
|
// custom FOR_VAL name or namespaced default name
|
|
12138
12140
|
if (!custom_iterator_key) {
|
|
12139
12141
|
is_key_dynamic_field = true
|
|
12140
|
-
iterator_key = (reference_source_obj?.fieldIdP || "") + "_FOR_KEY";
|
|
12142
|
+
// iterator_key = (reference_source_obj?.fieldIdP || "") + "_FOR_KEY";
|
|
12143
|
+
iterator_key = $elm.data().xuData.node_org.id + "_FOR_KEY";
|
|
12141
12144
|
}
|
|
12142
12145
|
|
|
12143
12146
|
if (!custom_iterator_val) {
|
|
12144
12147
|
is_val_dynamic_field = true
|
|
12145
|
-
iterator_val = (reference_source_obj?.fieldIdP || "") + "_FOR_VAL";
|
|
12148
|
+
// iterator_val = (reference_source_obj?.fieldIdP || "") + "_FOR_VAL";
|
|
12149
|
+
iterator_val = $elm.data().xuData.node_org.id + "_FOR_VAL";
|
|
12146
12150
|
}
|
|
12147
12151
|
|
|
12148
12152
|
var i = 0;
|