@xuda.io/runtime-bundle 1.0.778 → 1.0.779
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/modules/xuda-event-javascript-module.min.mjs +3 -3
- package/js/modules/xuda-event-javascript-module.mjs +5 -3
- package/js/xuda-runtime-bundle.js +2 -4
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +2 -4
- package/js/xuda-runtime-slim.min.es.js +2 -4
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +2 -2
- package/js/xuda-worker-bundle.js +2 -2
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -8758,7 +8758,6 @@ func.UI.worker.find_job_index = function (SESSION_ID, jobNoP) {
|
|
|
8758
8758
|
};
|
|
8759
8759
|
|
|
8760
8760
|
func.UI.ds_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0], re_check) {
|
|
8761
|
-
return;
|
|
8762
8761
|
let _session = SESSION_OBJ[SESSION_ID];
|
|
8763
8762
|
|
|
8764
8763
|
const _data_system = _session?.DS_GLB?.[0]?.data_system;
|
|
@@ -8812,7 +8811,6 @@ func.UI.ds_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0
|
|
|
8812
8811
|
}
|
|
8813
8812
|
};
|
|
8814
8813
|
func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0]) {
|
|
8815
|
-
return;
|
|
8816
8814
|
if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
|
|
8817
8815
|
// let dom to finish build
|
|
8818
8816
|
return;
|
|
@@ -9652,14 +9650,14 @@ func.events.execute = async function (
|
|
|
9652
9650
|
|
|
9653
9651
|
call_native_javascript: async function () {
|
|
9654
9652
|
const module = await func.common.get_module(SESSION_ID, 'xuda-event-javascript-module.mjs');
|
|
9655
|
-
const result = await module.call_javascript(SESSION_ID, jobNoP, refIdP, dsSession);
|
|
9653
|
+
const result = await module.call_javascript(SESSION_ID, jobNoP, refIdP, dsSession, false, $(containerP));
|
|
9656
9654
|
await func.datasource.set_outputField(SESSION_ID, dsSessionP, result, args);
|
|
9657
9655
|
|
|
9658
9656
|
return result;
|
|
9659
9657
|
},
|
|
9660
9658
|
call_evaluate_javascript: async function () {
|
|
9661
9659
|
const module = await func.common.get_module(SESSION_ID, 'xuda-event-javascript-module.mjs');
|
|
9662
|
-
const result = await module.call_javascript(SESSION_ID, jobNoP, refIdP, dsSession, true);
|
|
9660
|
+
const result = await module.call_javascript(SESSION_ID, jobNoP, refIdP, dsSession, true, $(containerP));
|
|
9663
9661
|
await func.datasource.set_outputField(SESSION_ID, dsSessionP, result, args);
|
|
9664
9662
|
|
|
9665
9663
|
return result;
|
|
@@ -8759,7 +8759,6 @@ func.UI.worker.find_job_index = function (SESSION_ID, jobNoP) {
|
|
|
8759
8759
|
};
|
|
8760
8760
|
|
|
8761
8761
|
func.UI.ds_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0], re_check) {
|
|
8762
|
-
return;
|
|
8763
8762
|
let _session = SESSION_OBJ[SESSION_ID];
|
|
8764
8763
|
|
|
8765
8764
|
const _data_system = _session?.DS_GLB?.[0]?.data_system;
|
|
@@ -8813,7 +8812,6 @@ func.UI.ds_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0
|
|
|
8813
8812
|
}
|
|
8814
8813
|
};
|
|
8815
8814
|
func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0]) {
|
|
8816
|
-
return;
|
|
8817
8815
|
if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
|
|
8818
8816
|
// let dom to finish build
|
|
8819
8817
|
return;
|
|
@@ -13783,14 +13781,14 @@ func.events.execute = async function (
|
|
|
13783
13781
|
|
|
13784
13782
|
call_native_javascript: async function () {
|
|
13785
13783
|
const module = await func.common.get_module(SESSION_ID, 'xuda-event-javascript-module.mjs');
|
|
13786
|
-
const result = await module.call_javascript(SESSION_ID, jobNoP, refIdP, dsSession);
|
|
13784
|
+
const result = await module.call_javascript(SESSION_ID, jobNoP, refIdP, dsSession, false, $(containerP));
|
|
13787
13785
|
await func.datasource.set_outputField(SESSION_ID, dsSessionP, result, args);
|
|
13788
13786
|
|
|
13789
13787
|
return result;
|
|
13790
13788
|
},
|
|
13791
13789
|
call_evaluate_javascript: async function () {
|
|
13792
13790
|
const module = await func.common.get_module(SESSION_ID, 'xuda-event-javascript-module.mjs');
|
|
13793
|
-
const result = await module.call_javascript(SESSION_ID, jobNoP, refIdP, dsSession, true);
|
|
13791
|
+
const result = await module.call_javascript(SESSION_ID, jobNoP, refIdP, dsSession, true, $(containerP));
|
|
13794
13792
|
await func.datasource.set_outputField(SESSION_ID, dsSessionP, result, args);
|
|
13795
13793
|
|
|
13796
13794
|
return result;
|