@xuda.io/runtime-bundle 1.0.474 → 1.0.475
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
|
@@ -9097,7 +9097,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9097
9097
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].props = _ds.in_parameters || {};
|
|
9098
9098
|
|
|
9099
9099
|
if ($elm) {
|
|
9100
|
-
const attributes = $elm?.data()?.xuData?.debug_info?.attribute_stat || {};
|
|
9100
|
+
const attributes = $elm?.data()?.xuPanelWrapper?.panelXuAttributes || $elm?.data()?.xuData?.debug_info?.attribute_stat || {};
|
|
9101
9101
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].attributes = attributes;
|
|
9102
9102
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
|
|
9103
9103
|
}
|
|
@@ -12044,7 +12044,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12044
12044
|
return ret;
|
|
12045
12045
|
},
|
|
12046
12046
|
'xu-ref': async function ($elm, val) {
|
|
12047
|
-
// const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
|
|
12048
12047
|
let ret = await common_fx['xu-ref']($container, val);
|
|
12049
12048
|
return ret;
|
|
12050
12049
|
},
|
|
@@ -9098,7 +9098,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9098
9098
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].props = _ds.in_parameters || {};
|
|
9099
9099
|
|
|
9100
9100
|
if ($elm) {
|
|
9101
|
-
const attributes = $elm?.data()?.xuData?.debug_info?.attribute_stat || {};
|
|
9101
|
+
const attributes = $elm?.data()?.xuPanelWrapper?.panelXuAttributes || $elm?.data()?.xuData?.debug_info?.attribute_stat || {};
|
|
9102
9102
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].attributes = attributes;
|
|
9103
9103
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
|
|
9104
9104
|
}
|
|
@@ -10117,7 +10117,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10117
10117
|
return ret;
|
|
10118
10118
|
},
|
|
10119
10119
|
'xu-ref': async function ($elm, val) {
|
|
10120
|
-
// const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
|
|
10121
10120
|
let ret = await common_fx['xu-ref']($container, val);
|
|
10122
10121
|
return ret;
|
|
10123
10122
|
},
|