@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -9055,17 +9055,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9055
9055
|
let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
|
|
9056
9056
|
|
|
9057
9057
|
if (!SYS_GLOBAL_OBJ_REFS) {
|
|
9058
|
-
SYS_GLOBAL_OBJ_REFS = {
|
|
9059
|
-
}
|
|
9060
|
-
|
|
9061
|
-
|
|
9058
|
+
SYS_GLOBAL_OBJ_REFS = {};
|
|
9059
|
+
}
|
|
9060
|
+
SYS_GLOBAL_OBJ_REFS.ds = _ds;
|
|
9061
|
+
SYS_GLOBAL_OBJ_REFS.data = data;
|
|
9062
9062
|
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9063
|
+
if ($elm) {
|
|
9064
|
+
// const props = _ds.in_parameters || {};
|
|
9065
|
+
// const attributes = $elm?.data()?.xuData?.properties || {};
|
|
9066
9066
|
|
|
9067
|
-
|
|
9068
|
-
}
|
|
9067
|
+
SYS_GLOBAL_OBJ_REFS.xu_ui_id = $elm.attr('xu-ui-id');
|
|
9069
9068
|
}
|
|
9070
9069
|
};
|
|
9071
9070
|
func.events = {};
|
|
@@ -11956,7 +11955,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
11956
11955
|
|
|
11957
11956
|
const common_fx = {
|
|
11958
11957
|
'xu-ref': async function ($elm, val) {
|
|
11959
|
-
func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, $elm);
|
|
11958
|
+
func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, val.value, $elm);
|
|
11960
11959
|
// const _session = SESSION_OBJ[SESSION_ID];
|
|
11961
11960
|
// let _ds_0 = _session.DS_GLB[0];
|
|
11962
11961
|
|
|
@@ -9056,17 +9056,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9056
9056
|
let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
|
|
9057
9057
|
|
|
9058
9058
|
if (!SYS_GLOBAL_OBJ_REFS) {
|
|
9059
|
-
SYS_GLOBAL_OBJ_REFS = {
|
|
9060
|
-
}
|
|
9061
|
-
|
|
9062
|
-
|
|
9059
|
+
SYS_GLOBAL_OBJ_REFS = {};
|
|
9060
|
+
}
|
|
9061
|
+
SYS_GLOBAL_OBJ_REFS.ds = _ds;
|
|
9062
|
+
SYS_GLOBAL_OBJ_REFS.data = data;
|
|
9063
9063
|
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9064
|
+
if ($elm) {
|
|
9065
|
+
// const props = _ds.in_parameters || {};
|
|
9066
|
+
// const attributes = $elm?.data()?.xuData?.properties || {};
|
|
9067
9067
|
|
|
9068
|
-
|
|
9069
|
-
}
|
|
9068
|
+
SYS_GLOBAL_OBJ_REFS.xu_ui_id = $elm.attr('xu-ui-id');
|
|
9070
9069
|
}
|
|
9071
9070
|
};
|
|
9072
9071
|
func.UI.screen = {};
|
|
@@ -10029,7 +10028,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10029
10028
|
|
|
10030
10029
|
const common_fx = {
|
|
10031
10030
|
'xu-ref': async function ($elm, val) {
|
|
10032
|
-
func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, $elm);
|
|
10031
|
+
func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, val.value, $elm);
|
|
10033
10032
|
// const _session = SESSION_OBJ[SESSION_ID];
|
|
10034
10033
|
// let _ds_0 = _session.DS_GLB[0];
|
|
10035
10034
|
|