@xuda.io/runtime-bundle 1.0.581 → 1.0.582

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.
@@ -31717,7 +31717,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31717
31717
  found = _attributes['xu-exp:program']?.includes('@' + field_id);
31718
31718
 
31719
31719
  if (found) {
31720
- refresh_reason = 'program changed';
31720
+ refresh_reason = `program ${_attributes['xu-exp:program']} ${field_id} changed `;
31721
31721
  break;
31722
31722
  }
31723
31723
 
@@ -31739,7 +31739,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31739
31739
  found = progDataSource_str?.includes('@' + parameter_in_field_id);
31740
31740
 
31741
31741
  if (found) {
31742
- refresh_reason = 'field in progDataSource parameter_in changed';
31742
+ refresh_reason = `field ${field_id} in progDataSource parameter_in changed`;
31743
31743
  break;
31744
31744
  }
31745
31745
 
@@ -31747,7 +31747,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31747
31747
  found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, parameter_in_field_id, 'xu-for').length;
31748
31748
 
31749
31749
  if (found) {
31750
- refresh_reason = 'field in progUi xu-for parameter_in changed';
31750
+ refresh_reason = `field ${field_id} in progUi xu-for parameter_in changed`;
31751
31751
  break;
31752
31752
  }
31753
31753
  }
@@ -31758,13 +31758,13 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31758
31758
  // search field changed in the target program's progDataSource // @code
31759
31759
  found = progDataSource_str?.includes('@' + field_id);
31760
31760
  if (found) {
31761
- refresh_reason = 'field in progDataSource changed';
31761
+ refresh_reason = `field ${field_id} in progDataSource changed`;
31762
31762
  break;
31763
31763
  }
31764
31764
 
31765
31765
  found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, field_id, 'xu-for').length;
31766
31766
  if (found) {
31767
- refresh_reason = 'field in progUi xu-for changed';
31767
+ refresh_reason = `field ${field_id} in progUi xu-for changed`;
31768
31768
  break;
31769
31769
  }
31770
31770
  }
@@ -31772,14 +31772,14 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31772
31772
 
31773
31773
  if (datasource_changed) {
31774
31774
  if (panel_val._ds.dsSession == datasource_changed) {
31775
- refresh_reason = 'panel datasource changed';
31775
+ refresh_reason = `panel datasource ${datasource_changed} changed`;
31776
31776
  found = true;
31777
31777
  }
31778
31778
  }
31779
31779
  if (found) {
31780
31780
  const _session = SESSION_OBJ[SESSION_ID];
31781
31781
  if (_session.engine_mode === 'live_preview') {
31782
- console.log('refresh reason', refresh_reason);
31782
+ console.info('refresh reason', refresh_reason);
31783
31783
  }
31784
31784
  const $div_elm = panel_val.$panel_div;
31785
31785
  const wrapper_data = $div_elm.data();