@xuda.io/runtime-bundle 1.0.1269 → 1.0.1271

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