@xuda.io/runtime-bundle 1.0.382 → 1.0.383
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.
|
@@ -28215,7 +28215,8 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
|
|
|
28215
28215
|
const _data_system = _session?.DS_GLB?.[0]?.data_system;
|
|
28216
28216
|
|
|
28217
28217
|
for (const [key, val] of Object.entries(_data_system?.SYS_GLOBAL_OBJ_REFS || {})) {
|
|
28218
|
-
if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
|
|
28218
|
+
// if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
|
|
28219
|
+
if (!$(`[xu-ui-id='${val.xu_ui_id}`)?.length) {
|
|
28219
28220
|
delete _data_system.SYS_GLOBAL_OBJ_REFS[key];
|
|
28220
28221
|
}
|
|
28221
28222
|
}
|
|
@@ -31970,9 +31971,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
31970
31971
|
|
|
31971
31972
|
const props = _ds.in_parameters || {};
|
|
31972
31973
|
const attributes = $elm?.data()?.xuData?.properties || {};
|
|
31974
|
+
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
31973
31975
|
|
|
31974
31976
|
// _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
|
|
31975
|
-
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props };
|
|
31977
|
+
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props, xu_ui_id };
|
|
31976
31978
|
|
|
31977
31979
|
return {};
|
|
31978
31980
|
},
|