@xuda.io/runtime-bundle 1.0.296 → 1.0.297
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 +4 -3
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +4 -3
- package/js/xuda-runtime-slim.min.es.js +4 -3
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +4 -3
- package/js/xuda-worker-bundle.js +4 -3
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -2112,7 +2112,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2112
2112
|
await func.datasource.execute_view_events(SESSION_ID, dataSourceSession, 'on_load');
|
|
2113
2113
|
}
|
|
2114
2114
|
// }
|
|
2115
|
-
return await func.datasource.callback(SESSION_ID, dataSourceSession, args.
|
|
2115
|
+
return await func.datasource.callback(SESSION_ID, dataSourceSession, args.rowIdP, args.jobNoP, _ds.prog_id);
|
|
2116
2116
|
};
|
|
2117
2117
|
|
|
2118
2118
|
const get_limit = async function () {
|
|
@@ -2656,7 +2656,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2656
2656
|
await func.datasource.execute_field_init_events(SESSION_ID, dataSourceSession, 'form', 'newRecord');
|
|
2657
2657
|
}
|
|
2658
2658
|
}
|
|
2659
|
-
await func.datasource.callback(SESSION_ID, dataSourceSession, args.
|
|
2659
|
+
await func.datasource.callback(SESSION_ID, dataSourceSession, args.rowIdP, args.jobNoP, _ds.prog_id);
|
|
2660
2660
|
};
|
|
2661
2661
|
if (!rows) {
|
|
2662
2662
|
await row_not_found();
|
|
@@ -3417,6 +3417,7 @@ func.datasource.del = function (SESSION_ID, dsP) {
|
|
|
3417
3417
|
};
|
|
3418
3418
|
func.datasource.update = async function (SESSION_ID, datasource_changes, update_local_scope_only, avoid_refresh) {
|
|
3419
3419
|
return new Promise(async (resolve, reject) => {
|
|
3420
|
+
debugger;
|
|
3420
3421
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
3421
3422
|
|
|
3422
3423
|
if (_session.IS_API || typeof IS_MASTER_WEBSOCKET !== 'undefined' || typeof IS_PROCESS_SERVER !== 'undefined') {
|
|
@@ -3598,7 +3599,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
3598
3599
|
});
|
|
3599
3600
|
};
|
|
3600
3601
|
|
|
3601
|
-
func.datasource.callback = async function (SESSION_ID, dsSessionP,
|
|
3602
|
+
func.datasource.callback = async function (SESSION_ID, dsSessionP, rowIdP, jobNoP, nodeIdP) {
|
|
3602
3603
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
3603
3604
|
var _ds = _session.DS_GLB[dsSessionP];
|
|
3604
3605
|
|
package/js/xuda-worker-bundle.js
CHANGED
|
@@ -2112,7 +2112,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2112
2112
|
await func.datasource.execute_view_events(SESSION_ID, dataSourceSession, 'on_load');
|
|
2113
2113
|
}
|
|
2114
2114
|
// }
|
|
2115
|
-
return await func.datasource.callback(SESSION_ID, dataSourceSession, args.
|
|
2115
|
+
return await func.datasource.callback(SESSION_ID, dataSourceSession, args.rowIdP, args.jobNoP, _ds.prog_id);
|
|
2116
2116
|
};
|
|
2117
2117
|
|
|
2118
2118
|
const get_limit = async function () {
|
|
@@ -2656,7 +2656,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2656
2656
|
await func.datasource.execute_field_init_events(SESSION_ID, dataSourceSession, 'form', 'newRecord');
|
|
2657
2657
|
}
|
|
2658
2658
|
}
|
|
2659
|
-
await func.datasource.callback(SESSION_ID, dataSourceSession, args.
|
|
2659
|
+
await func.datasource.callback(SESSION_ID, dataSourceSession, args.rowIdP, args.jobNoP, _ds.prog_id);
|
|
2660
2660
|
};
|
|
2661
2661
|
if (!rows) {
|
|
2662
2662
|
await row_not_found();
|
|
@@ -3417,6 +3417,7 @@ func.datasource.del = function (SESSION_ID, dsP) {
|
|
|
3417
3417
|
};
|
|
3418
3418
|
func.datasource.update = async function (SESSION_ID, datasource_changes, update_local_scope_only, avoid_refresh) {
|
|
3419
3419
|
return new Promise(async (resolve, reject) => {
|
|
3420
|
+
debugger;
|
|
3420
3421
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
3421
3422
|
|
|
3422
3423
|
if (_session.IS_API || typeof IS_MASTER_WEBSOCKET !== 'undefined' || typeof IS_PROCESS_SERVER !== 'undefined') {
|
|
@@ -3598,7 +3599,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
3598
3599
|
});
|
|
3599
3600
|
};
|
|
3600
3601
|
|
|
3601
|
-
func.datasource.callback = async function (SESSION_ID, dsSessionP,
|
|
3602
|
+
func.datasource.callback = async function (SESSION_ID, dsSessionP, rowIdP, jobNoP, nodeIdP) {
|
|
3602
3603
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
3603
3604
|
var _ds = _session.DS_GLB[dsSessionP];
|
|
3604
3605
|
|