@xuda.io/runtime-bundle 1.0.516 → 1.0.518

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.
@@ -30454,6 +30454,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30454
30454
  if (record_id === 'datasource_main') {
30455
30455
  _.set(_ds, field_id, value);
30456
30456
  update_xu_ref();
30457
+ fields_changed.push(field_id);
30458
+ datasource_changed.push(dataSource);
30457
30459
  continue;
30458
30460
  }
30459
30461
 
@@ -32064,6 +32066,12 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
32064
32066
 
32065
32067
  try {
32066
32068
  // const panelDivData = panel_val.$panel_div.data().xuPanelWrapper.panelDivData;
32069
+
32070
+ // remove old panel content
32071
+ $.each(panel_val.ids, async function (key, val) {
32072
+ $("[xu-ui-id='" + val + "']").remove();
32073
+ });
32074
+
32067
32075
  const new_$div = await func.UI.screen.render_ui_tree(
32068
32076
  SESSION_ID,
32069
32077
  $div_elm, // the wrapper
@@ -32078,11 +32086,6 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
32078
32086
  null,
32079
32087
  wrapper_data.xuData.$root_container, // the wrapper root container
32080
32088
  );
32081
-
32082
- // // remove old panel content
32083
- // $.each(panel_val.ids, async function (key, val) {
32084
- // $("[xu-ui-id='" + val + "']").remove();
32085
- // });
32086
32089
  } catch (error) {
32087
32090
  debugger;
32088
32091
  }