@xuda.io/runtime-bundle 1.0.891 → 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,15 +31115,13 @@ 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
|
-
|
|
31118
|
+
let parameter_in_filed_id;
|
|
31119
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
|
-
let parameter_in_filed_id; //= elm_data?.xuData?.paramsP?.parameters_raw_obj?.[val.substr(1)] ? val.substr(1) : undefined;
|
|
31126
|
-
|
|
31127
31125
|
if (key === 'xu-bind') {
|
|
31128
31126
|
if (val?.includes?.(val_field) || val?.includes?.(parameter_in_filed_id)) {
|
|
31129
31127
|
attr.push(key);
|
|
@@ -31338,7 +31336,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31338
31336
|
if (avoid_xu_for_refresh) return;
|
|
31339
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);
|
|
31340
31338
|
|
|
31341
|
-
if (
|
|
31339
|
+
if (_session.engine_mode === 'live_preview') {
|
|
31342
31340
|
console.info('node execute_xu_for', obj, panel_val);
|
|
31343
31341
|
}
|
|
31344
31342
|
|
|
@@ -32179,16 +32177,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32179
32177
|
console.warn(e);
|
|
32180
32178
|
}
|
|
32181
32179
|
|
|
32182
|
-
return {
|
|
32183
|
-
},
|
|
32184
|
-
'xu-text': async function ($elm, val) {
|
|
32185
|
-
try {
|
|
32186
|
-
$elm.text(val.value);
|
|
32187
|
-
} catch (error) {
|
|
32188
|
-
console.warn(e);
|
|
32189
|
-
}
|
|
32190
|
-
|
|
32191
|
-
return { abort: true };
|
|
32180
|
+
return {};
|
|
32192
32181
|
},
|
|
32193
32182
|
'xu-for': async function ($elm, data) {
|
|
32194
32183
|
// exit if call from rendered xu-for item to prevent infante loop (parent_infoP?.iterate_info indicate call from rendered item)
|
|
@@ -34177,7 +34166,6 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34177
34166
|
if (nodeP.content && nodeP.attributes) {
|
|
34178
34167
|
nodeP.attributes['xu-content'] = nodeP.content;
|
|
34179
34168
|
}
|
|
34180
|
-
|
|
34181
34169
|
if (nodeP.tagName === 'xu-widget') {
|
|
34182
34170
|
if (is_skeleton) return;
|
|
34183
34171
|
return await fx['widget']();
|