@xuda.io/runtime-bundle 1.0.246 → 1.0.247
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 +6 -2
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-mini-bundle.js +6 -2
- package/js/xuda-runtime-mini-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +6 -2
- package/js/xuda-runtime-slim.min.es.js +6 -2
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +6 -2
- package/js/xuda-worker-bundle.js +6 -2
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -27220,9 +27220,13 @@ func.utils.set_SYS_GLOBAL_OBJ_WIDGET_INFO = async function (SESSION_ID, docP) {
|
|
|
27220
27220
|
};
|
|
27221
27221
|
|
|
27222
27222
|
func.utils.get_last_datasource_no = function (SESSION_ID) {
|
|
27223
|
-
const filtered = Object.values(SESSION_OBJ[SESSION_ID].DS_GLB).filter((e) => e.tree_obj.menuType !== 'api');
|
|
27224
27223
|
|
|
27225
|
-
|
|
27224
|
+
if (typeof IS_PROCESS_SERVER !== "undefined") {
|
|
27225
|
+
return Object.keys(SESSION_OBJ[SESSION_ID].DS_GLB).at?.(-1)
|
|
27226
|
+
} else {
|
|
27227
|
+
const filtered = Object.values(SESSION_OBJ[SESSION_ID].DS_GLB).filter((e) => e.tree_obj.menuType !== 'api');
|
|
27228
|
+
return filtered?.at?.(-1)?.dsSession;
|
|
27229
|
+
}
|
|
27226
27230
|
};
|
|
27227
27231
|
func.UI.utils = {};
|
|
27228
27232
|
|