@xuda.io/runtime-bundle 1.0.881 → 1.0.883
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 +11 -6
- package/js/xuda-runtime-bundle.min.js +2 -2
- package/js/xuda-runtime-slim.js +11 -6
- package/js/xuda-runtime-slim.min.es.js +11 -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 +4 -3
- package/js/xuda-worker-bundle.js +4 -3
- package/js/xuda-worker-bundle.min.js +2 -2
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -3132,6 +3132,7 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
|
|
|
3132
3132
|
prog_id: prog_id,
|
|
3133
3133
|
dsSession: dataSourceSession,
|
|
3134
3134
|
fieldId: fieldIdP,
|
|
3135
|
+
parentDataSourceNoP,
|
|
3135
3136
|
};
|
|
3136
3137
|
return ret;
|
|
3137
3138
|
};
|
|
@@ -9877,9 +9878,9 @@ func.events.execute = async function (
|
|
|
9877
9878
|
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
9878
9879
|
|
|
9879
9880
|
if (_ds.PARAM_OUT_INFO) {
|
|
9880
|
-
for await (const [dsSession_to_update, val] of Object.entries(datasource_changes)) {
|
|
9881
|
-
|
|
9882
|
-
}
|
|
9881
|
+
// for await (const [dsSession_to_update, val] of Object.entries(datasource_changes)) {
|
|
9882
|
+
await func.datasource.update_changes_for_out_parameter(SESSION_ID, _ds.dsSession, _ds.PARAM_OUT_INFO.parentDataSourceNo);
|
|
9883
|
+
// }
|
|
9883
9884
|
}
|
|
9884
9885
|
|
|
9885
9886
|
if (jobNoP) func.events.delete_job(SESSION_ID, jobNoP);
|
|
@@ -13545,10 +13546,14 @@ func.UI.screen.execute_screen_ready_events = async function (SESSION_ID, paramsP
|
|
|
13545
13546
|
}
|
|
13546
13547
|
return viewEventExec_arr.length;
|
|
13547
13548
|
};
|
|
13549
|
+
try {
|
|
13550
|
+
let count = await get_view_events_count('screen_ready');
|
|
13548
13551
|
|
|
13549
|
-
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
+
if (!count) return;
|
|
13553
|
+
return await execute_view_events(sourceP);
|
|
13554
|
+
} catch (error) {
|
|
13555
|
+
debugger;
|
|
13556
|
+
}
|
|
13552
13557
|
};
|
|
13553
13558
|
func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div, jobNoP) {
|
|
13554
13559
|
// await
|
|
@@ -3133,6 +3133,7 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
|
|
|
3133
3133
|
prog_id: prog_id,
|
|
3134
3134
|
dsSession: dataSourceSession,
|
|
3135
3135
|
fieldId: fieldIdP,
|
|
3136
|
+
parentDataSourceNoP,
|
|
3136
3137
|
};
|
|
3137
3138
|
return ret;
|
|
3138
3139
|
};
|
|
@@ -11272,10 +11273,14 @@ func.UI.screen.execute_screen_ready_events = async function (SESSION_ID, paramsP
|
|
|
11272
11273
|
}
|
|
11273
11274
|
return viewEventExec_arr.length;
|
|
11274
11275
|
};
|
|
11276
|
+
try {
|
|
11277
|
+
let count = await get_view_events_count('screen_ready');
|
|
11275
11278
|
|
|
11276
|
-
|
|
11277
|
-
|
|
11278
|
-
|
|
11279
|
+
if (!count) return;
|
|
11280
|
+
return await execute_view_events(sourceP);
|
|
11281
|
+
} catch (error) {
|
|
11282
|
+
debugger;
|
|
11283
|
+
}
|
|
11279
11284
|
};
|
|
11280
11285
|
func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div, jobNoP) {
|
|
11281
11286
|
// await
|
|
@@ -13831,9 +13836,9 @@ func.events.execute = async function (
|
|
|
13831
13836
|
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
13832
13837
|
|
|
13833
13838
|
if (_ds.PARAM_OUT_INFO) {
|
|
13834
|
-
for await (const [dsSession_to_update, val] of Object.entries(datasource_changes)) {
|
|
13835
|
-
|
|
13836
|
-
}
|
|
13839
|
+
// for await (const [dsSession_to_update, val] of Object.entries(datasource_changes)) {
|
|
13840
|
+
await func.datasource.update_changes_for_out_parameter(SESSION_ID, _ds.dsSession, _ds.PARAM_OUT_INFO.parentDataSourceNo);
|
|
13841
|
+
// }
|
|
13837
13842
|
}
|
|
13838
13843
|
|
|
13839
13844
|
if (jobNoP) func.events.delete_job(SESSION_ID, jobNoP);
|