@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.
@@ -5349,6 +5349,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5349
5349
  if (record_id === 'datasource_main') {
5350
5350
  _.set(_ds, field_id, value);
5351
5351
  update_xu_ref();
5352
+ fields_changed.push(field_id);
5353
+ datasource_changed.push(dataSource);
5352
5354
  continue;
5353
5355
  }
5354
5356
 
@@ -12373,6 +12375,12 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
12373
12375
 
12374
12376
  try {
12375
12377
  // const panelDivData = panel_val.$panel_div.data().xuPanelWrapper.panelDivData;
12378
+
12379
+ // remove old panel content
12380
+ $.each(panel_val.ids, async function (key, val) {
12381
+ $("[xu-ui-id='" + val + "']").remove();
12382
+ });
12383
+
12376
12384
  const new_$div = await func.UI.screen.render_ui_tree(
12377
12385
  SESSION_ID,
12378
12386
  $div_elm, // the wrapper
@@ -12387,11 +12395,6 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
12387
12395
  null,
12388
12396
  wrapper_data.xuData.$root_container, // the wrapper root container
12389
12397
  );
12390
-
12391
- // // remove old panel content
12392
- // $.each(panel_val.ids, async function (key, val) {
12393
- // $("[xu-ui-id='" + val + "']").remove();
12394
- // });
12395
12398
  } catch (error) {
12396
12399
  debugger;
12397
12400
  }
@@ -5350,6 +5350,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5350
5350
  if (record_id === 'datasource_main') {
5351
5351
  _.set(_ds, field_id, value);
5352
5352
  update_xu_ref();
5353
+ fields_changed.push(field_id);
5354
+ datasource_changed.push(dataSource);
5353
5355
  continue;
5354
5356
  }
5355
5357
 
@@ -10105,6 +10107,12 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
10105
10107
 
10106
10108
  try {
10107
10109
  // const panelDivData = panel_val.$panel_div.data().xuPanelWrapper.panelDivData;
10110
+
10111
+ // remove old panel content
10112
+ $.each(panel_val.ids, async function (key, val) {
10113
+ $("[xu-ui-id='" + val + "']").remove();
10114
+ });
10115
+
10108
10116
  const new_$div = await func.UI.screen.render_ui_tree(
10109
10117
  SESSION_ID,
10110
10118
  $div_elm, // the wrapper
@@ -10119,11 +10127,6 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
10119
10127
  null,
10120
10128
  wrapper_data.xuData.$root_container, // the wrapper root container
10121
10129
  );
10122
-
10123
- // // remove old panel content
10124
- // $.each(panel_val.ids, async function (key, val) {
10125
- // $("[xu-ui-id='" + val + "']").remove();
10126
- // });
10127
10130
  } catch (error) {
10128
10131
  debugger;
10129
10132
  }