@xuda.io/runtime-bundle 1.0.596 → 1.0.597
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-bundle.js +15 -15
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +15 -15
- package/js/xuda-runtime-slim.min.es.js +15 -15
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +1 -0
- package/js/xuda-worker-bundle.js +1 -0
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -9362,6 +9362,7 @@ func.events.add_to_queue = async function (
|
|
|
9362
9362
|
job_num: _session.WORKER_OBJ.num,
|
|
9363
9363
|
};
|
|
9364
9364
|
var _ds = _session.DS_GLB[dsSessionP];
|
|
9365
|
+
if (!_ds) return;
|
|
9365
9366
|
if (typeof dsSessionP !== 'undefined' && dsSessionP !== null) {
|
|
9366
9367
|
obj.prog_id = _ds.prog_id;
|
|
9367
9368
|
obj.parentDataSourceNo = _ds.parentDataSourceNo;
|
|
@@ -12067,27 +12068,26 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
12067
12068
|
|
|
12068
12069
|
break;
|
|
12069
12070
|
}
|
|
12070
|
-
// }
|
|
12071
12071
|
}
|
|
12072
|
+
}
|
|
12072
12073
|
|
|
12073
|
-
|
|
12074
|
+
if (found) break;
|
|
12074
12075
|
|
|
12075
|
-
|
|
12076
|
-
|
|
12077
|
-
|
|
12078
|
-
|
|
12079
|
-
|
|
12076
|
+
// search field changed in the target program's progDataSource // @code
|
|
12077
|
+
found = progDataSource_str?.includes('@' + field_id);
|
|
12078
|
+
if (found) {
|
|
12079
|
+
refresh_reason = `field ${field_id} in progDataSource changed`;
|
|
12080
|
+
refresh_details = panel_val?.prog_doc?.progDataSource;
|
|
12080
12081
|
|
|
12081
|
-
|
|
12082
|
-
|
|
12082
|
+
break;
|
|
12083
|
+
}
|
|
12083
12084
|
|
|
12084
|
-
|
|
12085
|
-
|
|
12086
|
-
|
|
12087
|
-
|
|
12085
|
+
found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, field_id, 'xu-for').length;
|
|
12086
|
+
if (found) {
|
|
12087
|
+
refresh_reason = `field ${field_id} in progUi xu-for changed`;
|
|
12088
|
+
refresh_details = found;
|
|
12088
12089
|
|
|
12089
|
-
|
|
12090
|
-
}
|
|
12090
|
+
break;
|
|
12091
12091
|
}
|
|
12092
12092
|
|
|
12093
12093
|
if (found) {
|
|
@@ -9799,27 +9799,26 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9799
9799
|
|
|
9800
9800
|
break;
|
|
9801
9801
|
}
|
|
9802
|
-
// }
|
|
9803
9802
|
}
|
|
9803
|
+
}
|
|
9804
9804
|
|
|
9805
|
-
|
|
9805
|
+
if (found) break;
|
|
9806
9806
|
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9807
|
+
// search field changed in the target program's progDataSource // @code
|
|
9808
|
+
found = progDataSource_str?.includes('@' + field_id);
|
|
9809
|
+
if (found) {
|
|
9810
|
+
refresh_reason = `field ${field_id} in progDataSource changed`;
|
|
9811
|
+
refresh_details = panel_val?.prog_doc?.progDataSource;
|
|
9812
9812
|
|
|
9813
|
-
|
|
9814
|
-
|
|
9813
|
+
break;
|
|
9814
|
+
}
|
|
9815
9815
|
|
|
9816
|
-
|
|
9817
|
-
|
|
9818
|
-
|
|
9819
|
-
|
|
9816
|
+
found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, field_id, 'xu-for').length;
|
|
9817
|
+
if (found) {
|
|
9818
|
+
refresh_reason = `field ${field_id} in progUi xu-for changed`;
|
|
9819
|
+
refresh_details = found;
|
|
9820
9820
|
|
|
9821
|
-
|
|
9822
|
-
}
|
|
9821
|
+
break;
|
|
9823
9822
|
}
|
|
9824
9823
|
|
|
9825
9824
|
if (found) {
|
|
@@ -13286,6 +13285,7 @@ func.events.add_to_queue = async function (
|
|
|
13286
13285
|
job_num: _session.WORKER_OBJ.num,
|
|
13287
13286
|
};
|
|
13288
13287
|
var _ds = _session.DS_GLB[dsSessionP];
|
|
13288
|
+
if (!_ds) return;
|
|
13289
13289
|
if (typeof dsSessionP !== 'undefined' && dsSessionP !== null) {
|
|
13290
13290
|
obj.prog_id = _ds.prog_id;
|
|
13291
13291
|
obj.parentDataSourceNo = _ds.parentDataSourceNo;
|