@xuda.io/runtime-bundle 1.0.1067 → 1.0.1068
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.
|
@@ -34623,6 +34623,22 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
|
|
|
34623
34623
|
}
|
|
34624
34624
|
};
|
|
34625
34625
|
|
|
34626
|
+
const get_parent_ds_fields = function (SESSION_ID, dsSessionP) {
|
|
34627
|
+
var _session = SESSION_OBJ[SESSION_ID];
|
|
34628
|
+
var _ds = _session.DS_GLB[dsSessionP];
|
|
34629
|
+
|
|
34630
|
+
const idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
34631
|
+
const data = _ds.data_feed.rows[idx];
|
|
34632
|
+
|
|
34633
|
+
let obj = {};
|
|
34634
|
+
|
|
34635
|
+
if (typeof _ds.parentDataSourceNo !== 'undefined') {
|
|
34636
|
+
obj = get_parent_ds_fields(SESSION_ID, _ds.parentDataSourceNo);
|
|
34637
|
+
}
|
|
34638
|
+
|
|
34639
|
+
return { ...data, ...obj };
|
|
34640
|
+
};
|
|
34641
|
+
|
|
34626
34642
|
const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP, exclude_vars = []) {
|
|
34627
34643
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
34628
34644
|
var _ds = _session.DS_GLB[dsSessionP];
|