@xuda.io/runtime-bundle 1.0.378 → 1.0.380
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 -6
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-mini-bundle.js +9 -6
- package/js/xuda-runtime-mini-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +10 -6
- package/js/xuda-runtime-slim.min.es.js +10 -6
- package/js/xuda-runtime-slim.min.js +2 -2
- package/js/xuda-server-bundle.min.mjs +2 -2
- package/js/xuda-server-bundle.mjs +10 -6
- package/js/xuda-worker-bundle.js +10 -6
- package/js/xuda-worker-bundle.min.js +2 -2
- package/package.json +1 -1
|
@@ -26123,13 +26123,16 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
|
|
|
26123
26123
|
}
|
|
26124
26124
|
|
|
26125
26125
|
if (typeof val === 'object') {
|
|
26126
|
-
|
|
26127
|
-
|
|
26128
|
-
|
|
26129
|
-
|
|
26126
|
+
try {
|
|
26127
|
+
let str = JSON.stringify(val);
|
|
26128
|
+
if (str.includes('.') && str.includes('drv_') && str.length > 30) {
|
|
26129
|
+
let new_val = replaceFiletoURL(str);
|
|
26130
26130
|
|
|
26131
|
-
|
|
26132
|
-
|
|
26131
|
+
return { value: new_val, changed: true };
|
|
26132
|
+
} else {
|
|
26133
|
+
return { value: val, changed: false };
|
|
26134
|
+
}
|
|
26135
|
+
} catch (err) {
|
|
26133
26136
|
return { value: val, changed: false };
|
|
26134
26137
|
}
|
|
26135
26138
|
}
|
|
@@ -34980,6 +34983,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
34980
34983
|
}
|
|
34981
34984
|
// extract object
|
|
34982
34985
|
if (typeof val.value === 'object' && var_Arr.length > 1) {
|
|
34986
|
+
debugger;
|
|
34983
34987
|
if (!Array.isArray(val.value) && !var_Arr[key + 1].value?.includes('.')) {
|
|
34984
34988
|
// && !["api_rendered_output"].includes(sourceP)
|
|
34985
34989
|
|