@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -14939,6 +14939,22 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
|
|
|
14939
14939
|
}
|
|
14940
14940
|
};
|
|
14941
14941
|
|
|
14942
|
+
const get_parent_ds_fields = function (SESSION_ID, dsSessionP) {
|
|
14943
|
+
var _session = SESSION_OBJ[SESSION_ID];
|
|
14944
|
+
var _ds = _session.DS_GLB[dsSessionP];
|
|
14945
|
+
|
|
14946
|
+
const idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
14947
|
+
const data = _ds.data_feed.rows[idx];
|
|
14948
|
+
|
|
14949
|
+
let obj = {};
|
|
14950
|
+
|
|
14951
|
+
if (typeof _ds.parentDataSourceNo !== 'undefined') {
|
|
14952
|
+
obj = get_parent_ds_fields(SESSION_ID, _ds.parentDataSourceNo);
|
|
14953
|
+
}
|
|
14954
|
+
|
|
14955
|
+
return { ...data, ...obj };
|
|
14956
|
+
};
|
|
14957
|
+
|
|
14942
14958
|
const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP, exclude_vars = []) {
|
|
14943
14959
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
14944
14960
|
var _ds = _session.DS_GLB[dsSessionP];
|
|
@@ -12664,6 +12664,22 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
|
|
|
12664
12664
|
}
|
|
12665
12665
|
};
|
|
12666
12666
|
|
|
12667
|
+
const get_parent_ds_fields = function (SESSION_ID, dsSessionP) {
|
|
12668
|
+
var _session = SESSION_OBJ[SESSION_ID];
|
|
12669
|
+
var _ds = _session.DS_GLB[dsSessionP];
|
|
12670
|
+
|
|
12671
|
+
const idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
12672
|
+
const data = _ds.data_feed.rows[idx];
|
|
12673
|
+
|
|
12674
|
+
let obj = {};
|
|
12675
|
+
|
|
12676
|
+
if (typeof _ds.parentDataSourceNo !== 'undefined') {
|
|
12677
|
+
obj = get_parent_ds_fields(SESSION_ID, _ds.parentDataSourceNo);
|
|
12678
|
+
}
|
|
12679
|
+
|
|
12680
|
+
return { ...data, ...obj };
|
|
12681
|
+
};
|
|
12682
|
+
|
|
12667
12683
|
const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP, exclude_vars = []) {
|
|
12668
12684
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
12669
12685
|
var _ds = _session.DS_GLB[dsSessionP];
|