@xuda.io/runtime-bundle 1.0.354 → 1.0.355
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 +11 -1
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +11 -1
- package/js/xuda-runtime-slim.min.es.js +11 -1
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +11 -1
- package/js/xuda-worker-bundle.js +11 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -5142,6 +5142,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
5142
5142
|
_ds.data_feed.rows[row_idx][field_id] = value;
|
|
5143
5143
|
await set_fieldComputed_dependencies(dataSource, field_id, null);
|
|
5144
5144
|
|
|
5145
|
+
// search the field in refs
|
|
5146
|
+
let _ds_0 = _session.DS_GLB[0];
|
|
5147
|
+
for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
|
|
5148
|
+
if (val.dsSession == dataSource) {
|
|
5149
|
+
if (!fields_changed.includes(ref_name)) {
|
|
5150
|
+
fields_changed.push(ref_name);
|
|
5151
|
+
}
|
|
5152
|
+
}
|
|
5153
|
+
}
|
|
5154
|
+
|
|
5145
5155
|
if (!update_local_scope_only) {
|
|
5146
5156
|
let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, _ds.prog_id);
|
|
5147
5157
|
if (glb.IS_WORKER) {
|
|
@@ -5213,8 +5223,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
5213
5223
|
}
|
|
5214
5224
|
///// REFRESH SCREEN
|
|
5215
5225
|
if (!avoid_refresh && fields_changed.length) {
|
|
5216
|
-
// await removed from the below function cause to dead lock Mar 3 25
|
|
5217
5226
|
await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
|
|
5227
|
+
// await removed from the below function cause to dead lock Mar 3 25
|
|
5218
5228
|
func.UI.screen.refresh_screen(
|
|
5219
5229
|
SESSION_ID,
|
|
5220
5230
|
fields_changed,
|
|
@@ -5143,6 +5143,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
5143
5143
|
_ds.data_feed.rows[row_idx][field_id] = value;
|
|
5144
5144
|
await set_fieldComputed_dependencies(dataSource, field_id, null);
|
|
5145
5145
|
|
|
5146
|
+
// search the field in refs
|
|
5147
|
+
let _ds_0 = _session.DS_GLB[0];
|
|
5148
|
+
for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
|
|
5149
|
+
if (val.dsSession == dataSource) {
|
|
5150
|
+
if (!fields_changed.includes(ref_name)) {
|
|
5151
|
+
fields_changed.push(ref_name);
|
|
5152
|
+
}
|
|
5153
|
+
}
|
|
5154
|
+
}
|
|
5155
|
+
|
|
5146
5156
|
if (!update_local_scope_only) {
|
|
5147
5157
|
let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, _ds.prog_id);
|
|
5148
5158
|
if (glb.IS_WORKER) {
|
|
@@ -5214,8 +5224,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
5214
5224
|
}
|
|
5215
5225
|
///// REFRESH SCREEN
|
|
5216
5226
|
if (!avoid_refresh && fields_changed.length) {
|
|
5217
|
-
// await removed from the below function cause to dead lock Mar 3 25
|
|
5218
5227
|
await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
|
|
5228
|
+
// await removed from the below function cause to dead lock Mar 3 25
|
|
5219
5229
|
func.UI.screen.refresh_screen(
|
|
5220
5230
|
SESSION_ID,
|
|
5221
5231
|
fields_changed,
|