@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -9035,7 +9035,8 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
|
|
|
9035
9035
|
const _data_system = _session?.DS_GLB?.[0]?.data_system;
|
|
9036
9036
|
|
|
9037
9037
|
for (const [key, val] of Object.entries(_data_system?.SYS_GLOBAL_OBJ_REFS || {})) {
|
|
9038
|
-
if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
|
|
9038
|
+
// if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
|
|
9039
|
+
if (!$(`[xu-ui-id='${val.xu_ui_id}`)?.length) {
|
|
9039
9040
|
delete _data_system.SYS_GLOBAL_OBJ_REFS[key];
|
|
9040
9041
|
}
|
|
9041
9042
|
}
|
|
@@ -11938,9 +11939,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
11938
11939
|
|
|
11939
11940
|
const props = _ds.in_parameters || {};
|
|
11940
11941
|
const attributes = $elm?.data()?.xuData?.properties || {};
|
|
11942
|
+
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
11941
11943
|
|
|
11942
11944
|
// _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
|
|
11943
|
-
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props };
|
|
11945
|
+
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props, xu_ui_id };
|
|
11944
11946
|
|
|
11945
11947
|
return {};
|
|
11946
11948
|
},
|
|
@@ -9036,7 +9036,8 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
|
|
|
9036
9036
|
const _data_system = _session?.DS_GLB?.[0]?.data_system;
|
|
9037
9037
|
|
|
9038
9038
|
for (const [key, val] of Object.entries(_data_system?.SYS_GLOBAL_OBJ_REFS || {})) {
|
|
9039
|
-
if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
|
|
9039
|
+
// if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
|
|
9040
|
+
if (!$(`[xu-ui-id='${val.xu_ui_id}`)?.length) {
|
|
9040
9041
|
delete _data_system.SYS_GLOBAL_OBJ_REFS[key];
|
|
9041
9042
|
}
|
|
9042
9043
|
}
|
|
@@ -10011,9 +10012,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10011
10012
|
|
|
10012
10013
|
const props = _ds.in_parameters || {};
|
|
10013
10014
|
const attributes = $elm?.data()?.xuData?.properties || {};
|
|
10015
|
+
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
10014
10016
|
|
|
10015
10017
|
// _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
|
|
10016
|
-
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props };
|
|
10018
|
+
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props, xu_ui_id };
|
|
10017
10019
|
|
|
10018
10020
|
return {};
|
|
10019
10021
|
},
|