@xuda.io/runtime-bundle 1.0.582 → 1.0.584

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.
@@ -31704,7 +31704,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31704
31704
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
31705
31705
  const progDataSource_str = JSON.stringify(panel_val.prog_doc.progDataSource);
31706
31706
 
31707
- var found, refresh_reason;
31707
+ var found, refresh_reason, refresh_details;
31708
31708
  if (fields_changed_arr) {
31709
31709
  if (fields_changed_datasource && panel_val._ds.dsSession < fields_changed_datasource) {
31710
31710
  continue;
@@ -31718,6 +31718,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31718
31718
 
31719
31719
  if (found) {
31720
31720
  refresh_reason = `program ${_attributes['xu-exp:program']} ${field_id} changed `;
31721
+ refresh_details = _attributes;
31721
31722
  break;
31722
31723
  }
31723
31724
 
@@ -31740,6 +31741,8 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31740
31741
 
31741
31742
  if (found) {
31742
31743
  refresh_reason = `field ${field_id} in progDataSource parameter_in changed`;
31744
+ refresh_details = panel_val?.prog_doc?.progDataSource;
31745
+
31743
31746
  break;
31744
31747
  }
31745
31748
 
@@ -31748,6 +31751,8 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31748
31751
 
31749
31752
  if (found) {
31750
31753
  refresh_reason = `field ${field_id} in progUi xu-for parameter_in changed`;
31754
+ refresh_details = found;
31755
+
31751
31756
  break;
31752
31757
  }
31753
31758
  }
@@ -31759,12 +31764,16 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31759
31764
  found = progDataSource_str?.includes('@' + field_id);
31760
31765
  if (found) {
31761
31766
  refresh_reason = `field ${field_id} in progDataSource changed`;
31767
+ refresh_details = panel_val?.prog_doc?.progDataSource;
31768
+
31762
31769
  break;
31763
31770
  }
31764
31771
 
31765
31772
  found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, field_id, 'xu-for').length;
31766
31773
  if (found) {
31767
31774
  refresh_reason = `field ${field_id} in progUi xu-for changed`;
31775
+ refresh_details = found;
31776
+
31768
31777
  break;
31769
31778
  }
31770
31779
  }
@@ -31773,13 +31782,19 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31773
31782
  if (datasource_changed) {
31774
31783
  if (panel_val._ds.dsSession == datasource_changed) {
31775
31784
  refresh_reason = `panel datasource ${datasource_changed} changed`;
31785
+ refresh_details = '';
31786
+
31776
31787
  found = true;
31777
31788
  }
31778
31789
  }
31779
31790
  if (found) {
31780
31791
  const _session = SESSION_OBJ[SESSION_ID];
31781
31792
  if (_session.engine_mode === 'live_preview') {
31782
- console.info('refresh reason', refresh_reason);
31793
+ console.info('========= refresh info ==============');
31794
+ console.info('reason:', refresh_reason);
31795
+ console.info('details::', refresh_details);
31796
+ console.info('ds:', panel_val._ds);
31797
+ console.info('=====================================');
31783
31798
  }
31784
31799
  const $div_elm = panel_val.$panel_div;
31785
31800
  const wrapper_data = $div_elm.data();