@xuda.io/runtime-bundle 1.0.890 → 1.0.892
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.
|
@@ -31115,11 +31115,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31115
31115
|
.find('*')
|
|
31116
31116
|
.filter(function () {
|
|
31117
31117
|
// // look if the changed field include in the calling in parameters
|
|
31118
|
-
|
|
31119
|
-
|
|
31118
|
+
let parameter_in_filed_id;
|
|
31119
|
+
|
|
31120
31120
|
let attr = [];
|
|
31121
31121
|
|
|
31122
|
-
$.each(
|
|
31122
|
+
$.each($(this).data()?.xuAttributes, function (key, val) {
|
|
31123
31123
|
if (key.substr(0, 3) !== 'xu-') return true;
|
|
31124
31124
|
|
|
31125
31125
|
if (key === 'xu-bind') {
|
|
@@ -31336,7 +31336,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31336
31336
|
if (avoid_xu_for_refresh) return;
|
|
31337
31337
|
await func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_for', obj, new_job, _elem_val.$elm, _elem_val.$elm.data().xuData.paramsP.dsSessionP);
|
|
31338
31338
|
|
|
31339
|
-
if (
|
|
31339
|
+
if (_session.engine_mode === 'live_preview') {
|
|
31340
31340
|
console.info('node execute_xu_for', obj, panel_val);
|
|
31341
31341
|
}
|
|
31342
31342
|
|
|
@@ -32177,16 +32177,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32177
32177
|
console.warn(e);
|
|
32178
32178
|
}
|
|
32179
32179
|
|
|
32180
|
-
return {
|
|
32181
|
-
},
|
|
32182
|
-
'xu-text': async function ($elm, val) {
|
|
32183
|
-
try {
|
|
32184
|
-
$elm.text(val.value);
|
|
32185
|
-
} catch (error) {
|
|
32186
|
-
console.warn(e);
|
|
32187
|
-
}
|
|
32188
|
-
|
|
32189
|
-
return { abort: true };
|
|
32180
|
+
return {};
|
|
32190
32181
|
},
|
|
32191
32182
|
'xu-for': async function ($elm, data) {
|
|
32192
32183
|
// exit if call from rendered xu-for item to prevent infante loop (parent_infoP?.iterate_info indicate call from rendered item)
|
|
@@ -34175,7 +34166,6 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34175
34166
|
if (nodeP.content && nodeP.attributes) {
|
|
34176
34167
|
nodeP.attributes['xu-content'] = nodeP.content;
|
|
34177
34168
|
}
|
|
34178
|
-
|
|
34179
34169
|
if (nodeP.tagName === 'xu-widget') {
|
|
34180
34170
|
if (is_skeleton) return;
|
|
34181
34171
|
return await fx['widget']();
|