@xuda.io/runtime-bundle 1.0.1264 → 1.0.1266

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.
@@ -27842,10 +27842,10 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27842
27842
  }
27843
27843
 
27844
27844
  const fx = {
27845
- update_datasource: async function () {
27845
+ update_datasource: async function (currentRecordId) {
27846
27846
  if (queue_obj?.paramsP) {
27847
27847
  var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[queue_obj.dsSession];
27848
- _ds.currentRecordId = queue_obj.paramsP.currentRecordId;
27848
+ _ds.currentRecordId = currentRecordId || queue_obj.paramsP.currentRecordId;
27849
27849
 
27850
27850
  var datasource_changes = {
27851
27851
  [_ds.dsSession]: { [_ds.currentRecordId]: 'set' },
@@ -27983,6 +27983,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27983
27983
  render_viewport: async function () {
27984
27984
  const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
27985
27985
  if (nodeP?.children?.length && !$div.children().length) {
27986
+ await fx.update_datasource($div?.data()?.xuData?.currentRecordId);
27986
27987
  $div.removeClass('skeleton');
27987
27988
  for await (const [key, val] of Object.entries(nodeP.children)) {
27988
27989
  const ret = await func.UI.screen.render_ui_tree(SESSION_ID, $div, nodeP.children[key], parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, nodeP, null, $root_container);
@@ -37027,7 +37028,7 @@ func.UI.screen.render_ui_tree_bad = async function (SESSION_ID, $container, node
37027
37028
  return;
37028
37029
  }
37029
37030
 
37030
- hover_in($div);
37031
+ // hover_in($div);
37031
37032
  ui_job_id = func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'render_viewport', { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container }, null, null, paramsP.dsSessionP);
37032
37033
  observer_outViewport.observe($div[0]);
37033
37034
  });