@xuda.io/runtime-bundle 1.0.380 → 1.0.381
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 +3 -6
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +3 -6
- package/js/xuda-runtime-slim.min.es.js +3 -6
- package/js/xuda-runtime-slim.min.js +2 -2
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +0 -3
- package/js/xuda-worker-bundle.js +0 -3
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -10641,10 +10641,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
10641
10641
|
}
|
|
10642
10642
|
// extract object
|
|
10643
10643
|
if (typeof val.value === 'object' && var_Arr.length > 1) {
|
|
10644
|
-
debugger;
|
|
10645
10644
|
if (!Array.isArray(val.value) && !var_Arr[key + 1].value?.includes('.')) {
|
|
10646
|
-
// && !["api_rendered_output"].includes(sourceP)
|
|
10647
|
-
|
|
10648
10645
|
// prevent cast on single value expression
|
|
10649
10646
|
res[key] = '(' + JSON.stringify(val.value) + ')';
|
|
10650
10647
|
} else {
|
|
@@ -11934,7 +11931,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
11934
11931
|
const _session = SESSION_OBJ[SESSION_ID];
|
|
11935
11932
|
let _ds_0 = _session.DS_GLB[0];
|
|
11936
11933
|
|
|
11937
|
-
const _ds = _session.DS_GLB[paramsP.dsSessionP];
|
|
11934
|
+
const _ds = func.utils.clean_returned_datasource(SESSION_ID, _session.DS_GLB[paramsP.dsSessionP]);
|
|
11938
11935
|
|
|
11939
11936
|
const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
11940
11937
|
const data = _.clone(_ds?.data_feed?.rows?.[row_idx]) || {};
|
|
@@ -11942,8 +11939,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
11942
11939
|
const props = _ds.in_parameters || {};
|
|
11943
11940
|
const attributes = $elm?.data()?.xuData?.properties || {};
|
|
11944
11941
|
|
|
11945
|
-
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
|
|
11946
|
-
|
|
11942
|
+
// _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 };
|
|
11947
11944
|
|
|
11948
11945
|
return {};
|
|
11949
11946
|
},
|
|
@@ -10004,7 +10004,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10004
10004
|
const _session = SESSION_OBJ[SESSION_ID];
|
|
10005
10005
|
let _ds_0 = _session.DS_GLB[0];
|
|
10006
10006
|
|
|
10007
|
-
const _ds = _session.DS_GLB[paramsP.dsSessionP];
|
|
10007
|
+
const _ds = func.utils.clean_returned_datasource(SESSION_ID, _session.DS_GLB[paramsP.dsSessionP]);
|
|
10008
10008
|
|
|
10009
10009
|
const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
10010
10010
|
const data = _.clone(_ds?.data_feed?.rows?.[row_idx]) || {};
|
|
@@ -10012,8 +10012,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10012
10012
|
const props = _ds.in_parameters || {};
|
|
10013
10013
|
const attributes = $elm?.data()?.xuData?.properties || {};
|
|
10014
10014
|
|
|
10015
|
-
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
|
|
10016
|
-
|
|
10015
|
+
// _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 };
|
|
10017
10017
|
|
|
10018
10018
|
return {};
|
|
10019
10019
|
},
|
|
@@ -14348,10 +14348,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
14348
14348
|
}
|
|
14349
14349
|
// extract object
|
|
14350
14350
|
if (typeof val.value === 'object' && var_Arr.length > 1) {
|
|
14351
|
-
debugger;
|
|
14352
14351
|
if (!Array.isArray(val.value) && !var_Arr[key + 1].value?.includes('.')) {
|
|
14353
|
-
// && !["api_rendered_output"].includes(sourceP)
|
|
14354
|
-
|
|
14355
14352
|
// prevent cast on single value expression
|
|
14356
14353
|
res[key] = '(' + JSON.stringify(val.value) + ')';
|
|
14357
14354
|
} else {
|