@xuda.io/runtime-bundle 1.0.347 → 1.0.348
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.
|
@@ -32227,12 +32227,14 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32227
32227
|
const common_fx = {
|
|
32228
32228
|
'xu-ref': async function ($elm, val) {
|
|
32229
32229
|
console.log('xu-ref', $elm, val);
|
|
32230
|
+
const _session = SESSION_OBJ[SESSION_ID];
|
|
32230
32231
|
let _ds_0 = _session.DS_GLB[0];
|
|
32231
32232
|
if (!_ds_0.data_system['SYS_GLOBAL_OBJ_REFS']) {
|
|
32232
32233
|
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'] = {};
|
|
32233
32234
|
}
|
|
32234
32235
|
// if (!_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val]) {
|
|
32235
|
-
|
|
32236
|
+
const _ds = _session.DS_GLB[paramsP.dsSessionP];
|
|
32237
|
+
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data: _ds?.data_feed?.rows || {}, props: $elm?.data()?.xuData?.properties };
|
|
32236
32238
|
// }
|
|
32237
32239
|
return {};
|
|
32238
32240
|
},
|