@xuda.io/runtime-bundle 1.0.1270 → 1.0.1272

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.
@@ -27629,7 +27629,8 @@ func.UI.worker.init = async function (SESSION_ID) {
27629
27629
 
27630
27630
  if (!val.elementP) {
27631
27631
  await func.UI.worker.execute(val.SESSION_ID, val);
27632
- continue;
27632
+ break;
27633
+ // continue;
27633
27634
  }
27634
27635
 
27635
27636
  const active_xu_ui_id = val.elementP.attr('xu-ui-id');
@@ -27863,7 +27864,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27863
27864
  await func.datasource.update(SESSION_ID, datasource_changes);
27864
27865
  }
27865
27866
  }
27866
- if (!currentRecordId) return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27867
+ if (!currentRecordId) return await func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27867
27868
  },
27868
27869
  execute_xu_render_attributes: async function () {
27869
27870
  const _data = queue_obj.paramsP.elem_val.$elm.data();
@@ -27890,7 +27891,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27890
27891
  );
27891
27892
  }
27892
27893
 
27893
- return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27894
+ return await func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27894
27895
  },
27895
27896
  execute_xu_all_attributes: async function () {
27896
27897
  const done = function () {
@@ -27961,7 +27962,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27961
27962
  var $elm = queue_obj?.paramsP?.elem_val?.$elm; // $(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${queue_obj.paramsP.elem_key}]`)
27962
27963
 
27963
27964
  if (!$elm?.length) {
27964
- return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27965
+ return await func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27965
27966
  }
27966
27967
 
27967
27968
  // $elm.empty();
@@ -27978,7 +27979,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27978
27979
  const node_to_render = _data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.xu_for_item_id);
27979
27980
  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);
27980
27981
  } catch (error) {}
27981
- return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27982
+ return await func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27982
27983
  },
27983
27984
  render_viewport: async function () {
27984
27985
  const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
@@ -27999,7 +28000,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27999
28000
  }
28000
28001
  }
28001
28002
 
28002
- return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
28003
+ return await func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
28003
28004
  },
28004
28005
  set_viewport_height: async function () {
28005
28006
  const { $div, height } = queue_obj?.paramsP || {};
@@ -28010,14 +28011,14 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
28010
28011
  }
28011
28012
  });
28012
28013
 
28013
- return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
28014
+ return await func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
28014
28015
  },
28015
28016
  execute_xu_widget: async function () {
28016
28017
  try {
28017
28018
  var $elm = queue_obj?.paramsP?.elem_val?.$elm; // $(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${queue_obj.paramsP.elem_key}]`)
28018
28019
 
28019
28020
  if (!$elm?.length) {
28020
- return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
28021
+ return await func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
28021
28022
  }
28022
28023
 
28023
28024
  // $elm.empty();
@@ -28036,7 +28037,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
28036
28037
  const node_to_render = _data.xuData.node_org; //_data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.xu_for_item_id);
28037
28038
  await func.UI.screen.render_ui_tree(queue_obj.paramsP.SESSION_ID, $(`[xu-ui-id="${parent_id}"]`), node_to_render, null, _data.xuData.paramsP, queue_obj.jobNoP, null, _data.xuData.key, null, _data.xuData.parent_node, null, _data.xuData.$root_container);
28038
28039
  } catch (error) {}
28039
- return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
28040
+ return await func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
28040
28041
  },
28041
28042
  };
28042
28043