@xuda.io/runtime-bundle 1.0.254 → 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 {
|
|
@@ -14722,16 +14724,19 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
14722
14724
|
|
|
14723
14725
|
let iterator_key = custom_iterator_key
|
|
14724
14726
|
let iterator_val = custom_iterator_val
|
|
14727
|
+
let is_key_dynamic_field, is_val_dynamic_field
|
|
14725
14728
|
|
|
14726
14729
|
// custom FOR_VAL name or namespaced default name
|
|
14727
14730
|
if (!custom_iterator_key) {
|
|
14728
14731
|
is_key_dynamic_field = true
|
|
14729
|
-
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";
|
|
14730
14734
|
}
|
|
14731
14735
|
|
|
14732
14736
|
if (!custom_iterator_val) {
|
|
14733
14737
|
is_val_dynamic_field = true
|
|
14734
|
-
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";
|
|
14735
14740
|
}
|
|
14736
14741
|
|
|
14737
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 {
|
|
@@ -12132,16 +12134,19 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
12132
12134
|
|
|
12133
12135
|
let iterator_key = custom_iterator_key
|
|
12134
12136
|
let iterator_val = custom_iterator_val
|
|
12137
|
+
let is_key_dynamic_field, is_val_dynamic_field
|
|
12135
12138
|
|
|
12136
12139
|
// custom FOR_VAL name or namespaced default name
|
|
12137
12140
|
if (!custom_iterator_key) {
|
|
12138
12141
|
is_key_dynamic_field = true
|
|
12139
|
-
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";
|
|
12140
12144
|
}
|
|
12141
12145
|
|
|
12142
12146
|
if (!custom_iterator_val) {
|
|
12143
12147
|
is_val_dynamic_field = true
|
|
12144
|
-
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";
|
|
12145
12150
|
}
|
|
12146
12151
|
|
|
12147
12152
|
var i = 0;
|