@xuda.io/runtime-bundle 1.0.588 → 1.0.590
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.
|
@@ -31706,7 +31706,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
31706
31706
|
|
|
31707
31707
|
var found, refresh_reason, refresh_details;
|
|
31708
31708
|
if (fields_changed_arr) {
|
|
31709
|
-
if (fields_changed_datasource && panel_val._ds.dsSession
|
|
31709
|
+
if (fields_changed_datasource && panel_val._ds.dsSession <= Number(fields_changed_datasource)) {
|
|
31710
31710
|
continue;
|
|
31711
31711
|
}
|
|
31712
31712
|
for (const field_id of fields_changed_arr) {
|
|
@@ -31755,26 +31755,27 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
31755
31755
|
|
|
31756
31756
|
break;
|
|
31757
31757
|
}
|
|
31758
|
+
// }
|
|
31758
31759
|
}
|
|
31759
|
-
}
|
|
31760
31760
|
|
|
31761
|
-
|
|
31761
|
+
if (found) break;
|
|
31762
31762
|
|
|
31763
|
-
|
|
31764
|
-
|
|
31765
|
-
|
|
31766
|
-
|
|
31767
|
-
|
|
31763
|
+
// search field changed in the target program's progDataSource // @code
|
|
31764
|
+
found = progDataSource_str?.includes('@' + field_id);
|
|
31765
|
+
if (found) {
|
|
31766
|
+
refresh_reason = `field ${field_id} in progDataSource changed`;
|
|
31767
|
+
refresh_details = panel_val?.prog_doc?.progDataSource;
|
|
31768
31768
|
|
|
31769
|
-
|
|
31770
|
-
|
|
31769
|
+
break;
|
|
31770
|
+
}
|
|
31771
31771
|
|
|
31772
|
-
|
|
31773
|
-
|
|
31774
|
-
|
|
31775
|
-
|
|
31772
|
+
found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, field_id, 'xu-for').length;
|
|
31773
|
+
if (found) {
|
|
31774
|
+
refresh_reason = `field ${field_id} in progUi xu-for changed`;
|
|
31775
|
+
refresh_details = found;
|
|
31776
31776
|
|
|
31777
|
-
|
|
31777
|
+
break;
|
|
31778
|
+
}
|
|
31778
31779
|
}
|
|
31779
31780
|
}
|
|
31780
31781
|
}
|