@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
|
@@ -5319,13 +5319,16 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
|
|
|
5319
5319
|
}
|
|
5320
5320
|
|
|
5321
5321
|
if (typeof val === 'object') {
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5322
|
+
try {
|
|
5323
|
+
let str = JSON.stringify(val);
|
|
5324
|
+
if (str.includes('.') && str.includes('drv_') && str.length > 30) {
|
|
5325
|
+
let new_val = replaceFiletoURL(str);
|
|
5326
5326
|
|
|
5327
|
-
|
|
5328
|
-
|
|
5327
|
+
return { value: new_val, changed: true };
|
|
5328
|
+
} else {
|
|
5329
|
+
return { value: val, changed: false };
|
|
5330
|
+
}
|
|
5331
|
+
} catch (err) {
|
|
5329
5332
|
return { value: val, changed: false };
|
|
5330
5333
|
}
|
|
5331
5334
|
}
|
|
@@ -8025,6 +8028,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
8025
8028
|
}
|
|
8026
8029
|
// extract object
|
|
8027
8030
|
if (typeof val.value === 'object' && var_Arr.length > 1) {
|
|
8031
|
+
debugger;
|
|
8028
8032
|
if (!Array.isArray(val.value) && !var_Arr[key + 1].value?.includes('.')) {
|
|
8029
8033
|
// && !["api_rendered_output"].includes(sourceP)
|
|
8030
8034
|
|
package/js/xuda-worker-bundle.js
CHANGED
|
@@ -5319,13 +5319,16 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
|
|
|
5319
5319
|
}
|
|
5320
5320
|
|
|
5321
5321
|
if (typeof val === 'object') {
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5322
|
+
try {
|
|
5323
|
+
let str = JSON.stringify(val);
|
|
5324
|
+
if (str.includes('.') && str.includes('drv_') && str.length > 30) {
|
|
5325
|
+
let new_val = replaceFiletoURL(str);
|
|
5326
5326
|
|
|
5327
|
-
|
|
5328
|
-
|
|
5327
|
+
return { value: new_val, changed: true };
|
|
5328
|
+
} else {
|
|
5329
|
+
return { value: val, changed: false };
|
|
5330
|
+
}
|
|
5331
|
+
} catch (err) {
|
|
5329
5332
|
return { value: val, changed: false };
|
|
5330
5333
|
}
|
|
5331
5334
|
}
|
|
@@ -8025,6 +8028,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
8025
8028
|
}
|
|
8026
8029
|
// extract object
|
|
8027
8030
|
if (typeof val.value === 'object' && var_Arr.length > 1) {
|
|
8031
|
+
debugger;
|
|
8028
8032
|
if (!Array.isArray(val.value) && !var_Arr[key + 1].value?.includes('.')) {
|
|
8029
8033
|
// && !["api_rendered_output"].includes(sourceP)
|
|
8030
8034
|
|