@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12015,7 +12015,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
12015
12015
|
|
|
12016
12016
|
var found, refresh_reason, refresh_details;
|
|
12017
12017
|
if (fields_changed_arr) {
|
|
12018
|
-
if (fields_changed_datasource && panel_val._ds.dsSession
|
|
12018
|
+
if (fields_changed_datasource && panel_val._ds.dsSession <= Number(fields_changed_datasource)) {
|
|
12019
12019
|
continue;
|
|
12020
12020
|
}
|
|
12021
12021
|
for (const field_id of fields_changed_arr) {
|
|
@@ -12064,26 +12064,27 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
12064
12064
|
|
|
12065
12065
|
break;
|
|
12066
12066
|
}
|
|
12067
|
+
// }
|
|
12067
12068
|
}
|
|
12068
|
-
}
|
|
12069
12069
|
|
|
12070
|
-
|
|
12070
|
+
if (found) break;
|
|
12071
12071
|
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
|
|
12076
|
-
|
|
12072
|
+
// search field changed in the target program's progDataSource // @code
|
|
12073
|
+
found = progDataSource_str?.includes('@' + field_id);
|
|
12074
|
+
if (found) {
|
|
12075
|
+
refresh_reason = `field ${field_id} in progDataSource changed`;
|
|
12076
|
+
refresh_details = panel_val?.prog_doc?.progDataSource;
|
|
12077
12077
|
|
|
12078
|
-
|
|
12079
|
-
|
|
12078
|
+
break;
|
|
12079
|
+
}
|
|
12080
12080
|
|
|
12081
|
-
|
|
12082
|
-
|
|
12083
|
-
|
|
12084
|
-
|
|
12081
|
+
found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, field_id, 'xu-for').length;
|
|
12082
|
+
if (found) {
|
|
12083
|
+
refresh_reason = `field ${field_id} in progUi xu-for changed`;
|
|
12084
|
+
refresh_details = found;
|
|
12085
12085
|
|
|
12086
|
-
|
|
12086
|
+
break;
|
|
12087
|
+
}
|
|
12087
12088
|
}
|
|
12088
12089
|
}
|
|
12089
12090
|
}
|
|
@@ -9747,7 +9747,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9747
9747
|
|
|
9748
9748
|
var found, refresh_reason, refresh_details;
|
|
9749
9749
|
if (fields_changed_arr) {
|
|
9750
|
-
if (fields_changed_datasource && panel_val._ds.dsSession
|
|
9750
|
+
if (fields_changed_datasource && panel_val._ds.dsSession <= Number(fields_changed_datasource)) {
|
|
9751
9751
|
continue;
|
|
9752
9752
|
}
|
|
9753
9753
|
for (const field_id of fields_changed_arr) {
|
|
@@ -9796,26 +9796,27 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9796
9796
|
|
|
9797
9797
|
break;
|
|
9798
9798
|
}
|
|
9799
|
+
// }
|
|
9799
9800
|
}
|
|
9800
|
-
}
|
|
9801
9801
|
|
|
9802
|
-
|
|
9802
|
+
if (found) break;
|
|
9803
9803
|
|
|
9804
|
-
|
|
9805
|
-
|
|
9806
|
-
|
|
9807
|
-
|
|
9808
|
-
|
|
9804
|
+
// search field changed in the target program's progDataSource // @code
|
|
9805
|
+
found = progDataSource_str?.includes('@' + field_id);
|
|
9806
|
+
if (found) {
|
|
9807
|
+
refresh_reason = `field ${field_id} in progDataSource changed`;
|
|
9808
|
+
refresh_details = panel_val?.prog_doc?.progDataSource;
|
|
9809
9809
|
|
|
9810
|
-
|
|
9811
|
-
|
|
9810
|
+
break;
|
|
9811
|
+
}
|
|
9812
9812
|
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
9813
|
+
found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, field_id, 'xu-for').length;
|
|
9814
|
+
if (found) {
|
|
9815
|
+
refresh_reason = `field ${field_id} in progUi xu-for changed`;
|
|
9816
|
+
refresh_details = found;
|
|
9817
9817
|
|
|
9818
|
-
|
|
9818
|
+
break;
|
|
9819
|
+
}
|
|
9819
9820
|
}
|
|
9820
9821
|
}
|
|
9821
9822
|
}
|