@xuda.io/runtime-bundle 1.0.263 → 1.0.265
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
|
@@ -14693,7 +14693,9 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
14693
14693
|
return {};
|
|
14694
14694
|
},
|
|
14695
14695
|
"xu-for": async function ($elm, data) {
|
|
14696
|
-
if (parent_infoP?.iterate_info
|
|
14696
|
+
// exit if call from rendered xu-for item to prevent infante loop (parent_infoP?.iterate_info indicate call from rendered item)
|
|
14697
|
+
if (parent_infoP?.iterate_info) return {};
|
|
14698
|
+
if (!data.value) return {};
|
|
14697
14699
|
try {
|
|
14698
14700
|
// data.value (xu-for) can store actual values such as an array, a CSV, or a field_id that references a specific field within the dataset, initialized with values for the iteration.
|
|
14699
14701
|
let arr = data.value;
|
|
@@ -14813,10 +14815,11 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
14813
14815
|
is_val_dynamic_field,
|
|
14814
14816
|
reference_source_obj
|
|
14815
14817
|
};
|
|
14818
|
+
let _parent_info
|
|
14816
14819
|
if (parent_infoP) {
|
|
14817
|
-
|
|
14820
|
+
_parent_info = iterate_info;
|
|
14818
14821
|
} else {
|
|
14819
|
-
|
|
14822
|
+
_parent_info = {
|
|
14820
14823
|
iterate_info,
|
|
14821
14824
|
};
|
|
14822
14825
|
}
|
|
@@ -14824,7 +14827,7 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
14824
14827
|
SESSION_ID,
|
|
14825
14828
|
$container,
|
|
14826
14829
|
nodeP,
|
|
14827
|
-
parent_infoP ? _.cloneDeep(
|
|
14830
|
+
_parent_info,//parent_infoP ? _.cloneDeep(_parent_info) : null,
|
|
14828
14831
|
paramsP,
|
|
14829
14832
|
jobNoP,
|
|
14830
14833
|
null,
|
|
@@ -12103,7 +12103,9 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
12103
12103
|
return {};
|
|
12104
12104
|
},
|
|
12105
12105
|
"xu-for": async function ($elm, data) {
|
|
12106
|
-
if (parent_infoP?.iterate_info
|
|
12106
|
+
// exit if call from rendered xu-for item to prevent infante loop (parent_infoP?.iterate_info indicate call from rendered item)
|
|
12107
|
+
if (parent_infoP?.iterate_info) return {};
|
|
12108
|
+
if (!data.value) return {};
|
|
12107
12109
|
try {
|
|
12108
12110
|
// data.value (xu-for) can store actual values such as an array, a CSV, or a field_id that references a specific field within the dataset, initialized with values for the iteration.
|
|
12109
12111
|
let arr = data.value;
|
|
@@ -12223,10 +12225,11 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
12223
12225
|
is_val_dynamic_field,
|
|
12224
12226
|
reference_source_obj
|
|
12225
12227
|
};
|
|
12228
|
+
let _parent_info
|
|
12226
12229
|
if (parent_infoP) {
|
|
12227
|
-
|
|
12230
|
+
_parent_info = iterate_info;
|
|
12228
12231
|
} else {
|
|
12229
|
-
|
|
12232
|
+
_parent_info = {
|
|
12230
12233
|
iterate_info,
|
|
12231
12234
|
};
|
|
12232
12235
|
}
|
|
@@ -12234,7 +12237,7 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
12234
12237
|
SESSION_ID,
|
|
12235
12238
|
$container,
|
|
12236
12239
|
nodeP,
|
|
12237
|
-
parent_infoP ? _.cloneDeep(
|
|
12240
|
+
_parent_info,//parent_infoP ? _.cloneDeep(_parent_info) : null,
|
|
12238
12241
|
paramsP,
|
|
12239
12242
|
jobNoP,
|
|
12240
12243
|
null,
|