@xuda.io/runtime-bundle 1.0.1286 → 1.0.1287

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.
@@ -30230,6 +30230,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30230
30230
  klona.klona(fields_changed), // _.cloneDeep(fields_changed),
30231
30231
  null,
30232
30232
  datasource_changed[0], // refresh the current datasource only
30233
+ value,
30233
30234
  );
30234
30235
  }
30235
30236
 
@@ -31775,12 +31776,20 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31775
31776
  }
31776
31777
  };
31777
31778
 
31778
- func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
31779
+ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource, watcher) {
31779
31780
  var found, refresh_reason, refresh_details;
31780
31781
  const validate_change = function (prog_doc, panelXuAttributes, skip_ui_check) {
31781
31782
  found = null;
31782
31783
  refresh_reason = null;
31783
31784
  refresh_details = null;
31785
+
31786
+ if (watcher?.path?.includes('progDataSource')) {
31787
+ found = true;
31788
+ refresh_reason = `progDataSource by watcher ${watcher.path}`;
31789
+ refresh_details = watcher;
31790
+ return;
31791
+ }
31792
+
31784
31793
  const progDataSource_str = JSON.stringify(prog_doc.progDataSource);
31785
31794
  for (const field_id of fields_changed_arr) {
31786
31795
  // get panel attributes