@xuda.io/runtime-bundle 1.0.1158 → 1.0.1160

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.
@@ -27961,18 +27961,18 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27961
27961
  return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27962
27962
  }
27963
27963
 
27964
- // $elm.empty();
27964
+ $elm.empty();
27965
27965
 
27966
- $.each($elm.children(), (key, val) => {
27967
- if (!$(val)?.data()?.xuData) return true;
27966
+ // $.each($elm.children(), (key, val) => {
27967
+ // if (!$(val)?.data()?.xuData) return true;
27968
27968
 
27969
- if ($(val).data().xuData.nodeid === queue_obj?.paramsP?.xu_for_item_id) {
27970
- $(val).remove();
27971
- }
27972
- });
27969
+ // if ($(val).data().xuData.nodeid === queue_obj?.paramsP?.xu_for_item_id) {
27970
+ // $(val).remove();
27971
+ // }
27972
+ // });
27973
27973
 
27974
27974
  let _data = queue_obj.paramsP.elem_val.$elm.data();
27975
- const node_to_render = _data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.xu_for_item_id);
27975
+ const node_to_render = _data.node; //_data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.xu_for_item_id);
27976
27976
  await func.UI.screen.render_ui_tree(queue_obj.paramsP.SESSION_ID, queue_obj.paramsP.elem_val.$elm, node_to_render, null, _data.xuData.paramsP, queue_obj.jobNoP, null, _data.xuData.key, null, _data.xuData.parent_node, null, _data.xuData.$root_container);
27977
27977
  } catch (error) {}
27978
27978
  return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
@@ -31416,7 +31416,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31416
31416
 
31417
31417
  if (elem_val.attributes.includes('xu-exp:xu-for') || elem_val.attributes.includes('xu-for')) continue;
31418
31418
  if (elem_val.$elm.data().xuData.ui_type === 'xu-widget') {
31419
- add_execute_queue('execute_xu_all_attributes');
31419
+ add_execute_queue('execute_xu_widget');
31420
31420
  } else {
31421
31421
  add_execute_queue('execute_xu_all_attributes');
31422
31422
  }