@xuda.io/runtime-bundle 1.0.264 → 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-bundle.js +8 -5
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-mini-bundle.js +1 -1
- package/js/xuda-runtime-mini-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +8 -5
- package/js/xuda-runtime-slim.min.es.js +8 -5
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +1 -1
- package/js/xuda-worker-bundle.js +1 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -25191,7 +25191,7 @@ glb.run_xu_before = [
|
|
|
25191
25191
|
// "xu-ui-plugin",
|
|
25192
25192
|
// "programParameters",
|
|
25193
25193
|
];
|
|
25194
|
-
glb.run_xu_after = ["xu-class", "xu-script", "xu-ui-plugin"];
|
|
25194
|
+
glb.run_xu_after = ["xu-bind", "xu-class", "xu-script", "xu-ui-plugin"];
|
|
25195
25195
|
glb.attr_abbreviations_arr = [
|
|
25196
25196
|
"xu-click",
|
|
25197
25197
|
"xu-dblclick",
|
|
@@ -34062,7 +34062,9 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
34062
34062
|
return {};
|
|
34063
34063
|
},
|
|
34064
34064
|
"xu-for": async function ($elm, data) {
|
|
34065
|
-
if (parent_infoP?.iterate_info
|
|
34065
|
+
// exit if call from rendered xu-for item to prevent infante loop (parent_infoP?.iterate_info indicate call from rendered item)
|
|
34066
|
+
if (parent_infoP?.iterate_info) return {};
|
|
34067
|
+
if (!data.value) return {};
|
|
34066
34068
|
try {
|
|
34067
34069
|
// 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.
|
|
34068
34070
|
let arr = data.value;
|
|
@@ -34182,10 +34184,11 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
34182
34184
|
is_val_dynamic_field,
|
|
34183
34185
|
reference_source_obj
|
|
34184
34186
|
};
|
|
34187
|
+
let _parent_info
|
|
34185
34188
|
if (parent_infoP) {
|
|
34186
|
-
|
|
34189
|
+
_parent_info = iterate_info;
|
|
34187
34190
|
} else {
|
|
34188
|
-
|
|
34191
|
+
_parent_info = {
|
|
34189
34192
|
iterate_info,
|
|
34190
34193
|
};
|
|
34191
34194
|
}
|
|
@@ -34193,7 +34196,7 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
34193
34196
|
SESSION_ID,
|
|
34194
34197
|
$container,
|
|
34195
34198
|
nodeP,
|
|
34196
|
-
parent_infoP ? _.cloneDeep(
|
|
34199
|
+
_parent_info,//parent_infoP ? _.cloneDeep(_parent_info) : null,
|
|
34197
34200
|
paramsP,
|
|
34198
34201
|
jobNoP,
|
|
34199
34202
|
null,
|