@xuda.io/runtime-bundle 1.0.392 → 1.0.394
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.
|
@@ -28234,17 +28234,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
28234
28234
|
let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
|
|
28235
28235
|
|
|
28236
28236
|
if (!SYS_GLOBAL_OBJ_REFS) {
|
|
28237
|
-
SYS_GLOBAL_OBJ_REFS = {
|
|
28238
|
-
}
|
|
28239
|
-
|
|
28240
|
-
|
|
28237
|
+
SYS_GLOBAL_OBJ_REFS = {};
|
|
28238
|
+
}
|
|
28239
|
+
SYS_GLOBAL_OBJ_REFS.ds = _ds;
|
|
28240
|
+
SYS_GLOBAL_OBJ_REFS.data = data;
|
|
28241
28241
|
|
|
28242
|
-
|
|
28243
|
-
|
|
28244
|
-
|
|
28242
|
+
if ($elm) {
|
|
28243
|
+
// const props = _ds.in_parameters || {};
|
|
28244
|
+
// const attributes = $elm?.data()?.xuData?.properties || {};
|
|
28245
28245
|
|
|
28246
|
-
|
|
28247
|
-
}
|
|
28246
|
+
SYS_GLOBAL_OBJ_REFS.xu_ui_id = $elm.attr('xu-ui-id');
|
|
28248
28247
|
}
|
|
28249
28248
|
};
|
|
28250
28249
|
func.datasource = {};
|
|
@@ -31988,7 +31987,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
31988
31987
|
|
|
31989
31988
|
const common_fx = {
|
|
31990
31989
|
'xu-ref': async function ($elm, val) {
|
|
31991
|
-
func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, $elm);
|
|
31990
|
+
func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, val.value, $elm);
|
|
31992
31991
|
// const _session = SESSION_OBJ[SESSION_ID];
|
|
31993
31992
|
// let _ds_0 = _session.DS_GLB[0];
|
|
31994
31993
|
|