@xuda.io/runtime-bundle 1.0.382 → 1.0.384
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-bundle.js +10 -4
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +10 -4
- package/js/xuda-runtime-slim.min.es.js +10 -4
- package/js/xuda-runtime-slim.min.js +2 -2
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +1 -1
- package/js/xuda-worker-bundle.js +1 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
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
|
}
|
|
@@ -10655,7 +10656,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
10655
10656
|
res[key] = 0;
|
|
10656
10657
|
}
|
|
10657
10658
|
});
|
|
10658
|
-
|
|
10659
|
+
const join = function (arrP) {
|
|
10659
10660
|
return arrP.join('');
|
|
10660
10661
|
};
|
|
10661
10662
|
var exp = undefined;
|
|
@@ -11934,13 +11935,18 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
11934
11935
|
const _ds = func.utils.clean_returned_datasource(SESSION_ID, paramsP.dsSessionP);
|
|
11935
11936
|
|
|
11936
11937
|
const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
11937
|
-
const data =
|
|
11938
|
+
const data = _ds?.data_feed?.rows?.[row_idx] || {};
|
|
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 };
|
|
11946
|
+
|
|
11947
|
+
const proxy1 = new Proxy(_session.DS_GLB[_ds.currentRecordId], (e) => {
|
|
11948
|
+
debugger;
|
|
11949
|
+
});
|
|
11944
11950
|
|
|
11945
11951
|
return {};
|
|
11946
11952
|
},
|
|
@@ -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
|
}
|
|
@@ -10007,13 +10008,18 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10007
10008
|
const _ds = func.utils.clean_returned_datasource(SESSION_ID, paramsP.dsSessionP);
|
|
10008
10009
|
|
|
10009
10010
|
const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
10010
|
-
const data =
|
|
10011
|
+
const data = _ds?.data_feed?.rows?.[row_idx] || {};
|
|
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 };
|
|
10019
|
+
|
|
10020
|
+
const proxy1 = new Proxy(_session.DS_GLB[_ds.currentRecordId], (e) => {
|
|
10021
|
+
debugger;
|
|
10022
|
+
});
|
|
10017
10023
|
|
|
10018
10024
|
return {};
|
|
10019
10025
|
},
|
|
@@ -14362,7 +14368,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
14362
14368
|
res[key] = 0;
|
|
14363
14369
|
}
|
|
14364
14370
|
});
|
|
14365
|
-
|
|
14371
|
+
const join = function (arrP) {
|
|
14366
14372
|
return arrP.join('');
|
|
14367
14373
|
};
|
|
14368
14374
|
var exp = undefined;
|