@xuda.io/runtime-bundle 1.0.360 → 1.0.362
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 +5 -11
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +5 -11
- package/js/xuda-runtime-slim.min.es.js +5 -11
- package/js/xuda-runtime-slim.min.js +2 -2
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +3 -10
- package/js/xuda-worker-bundle.js +3 -10
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -31958,7 +31958,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
31958
31958
|
const props = _ds.in_parameters || {};
|
|
31959
31959
|
const attributes = $elm?.data()?.xuData?.properties || {};
|
|
31960
31960
|
|
|
31961
|
-
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
|
|
31961
|
+
// _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
|
|
31962
|
+
_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props };
|
|
31962
31963
|
|
|
31963
31964
|
return {};
|
|
31964
31965
|
},
|
|
@@ -34811,7 +34812,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
34811
34812
|
var split = [];
|
|
34812
34813
|
var var_Arr = [];
|
|
34813
34814
|
split = func.expression.parse(ret);
|
|
34814
|
-
|
|
34815
|
+
|
|
34815
34816
|
for await (const [arr_key, val] of Object.entries(split)) {
|
|
34816
34817
|
// run each field
|
|
34817
34818
|
const key = Number(arr_key);
|
|
@@ -34902,14 +34903,8 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
34902
34903
|
} // put default
|
|
34903
34904
|
fields[val.fieldId] = var_Arr[key].value;
|
|
34904
34905
|
|
|
34905
|
-
const ret = await func.datasource.get_value(
|
|
34906
|
-
|
|
34907
|
-
val.fieldId,
|
|
34908
|
-
dsSessionP,
|
|
34909
|
-
|
|
34910
|
-
rowIdP,
|
|
34911
|
-
); // find field in dataSources
|
|
34912
|
-
|
|
34906
|
+
const ret = await func.datasource.get_value(SESSION_ID, val.fieldId, dsSessionP, rowIdP); // find field in dataSources
|
|
34907
|
+
console.log(valP, val.fieldId, ret);
|
|
34913
34908
|
await replace_value_in_string(ret.ret, ret.fieldIdP);
|
|
34914
34909
|
}
|
|
34915
34910
|
}
|
|
@@ -34920,7 +34915,6 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
34920
34915
|
var var_error_found;
|
|
34921
34916
|
// merge arr values
|
|
34922
34917
|
_.forEach(var_Arr, function (val, key) {
|
|
34923
|
-
debugger;
|
|
34924
34918
|
if (sourceP === 'UI Property EXP') {
|
|
34925
34919
|
let ret = func.utils.get_drive_url(SESSION_ID, val.value, true);
|
|
34926
34920
|
if (ret.changed) {
|