@xuda.io/runtime-bundle 1.0.503 → 1.0.505
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.
|
@@ -31109,7 +31109,7 @@ func.datasource.get_args_property_value = async function (SESSION_ID, dsSession,
|
|
|
31109
31109
|
return _value;
|
|
31110
31110
|
};
|
|
31111
31111
|
func.UI.screen = {};
|
|
31112
|
-
func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callingDataSource_objP, $callingContainerP, triggerIdP, rowIdP, jobNoP, is_panelP, parameters_obj_inP, source_functionP, call_screen_propertiesP) {
|
|
31112
|
+
func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callingDataSource_objP, $callingContainerP, triggerIdP, rowIdP, jobNoP, is_panelP, parameters_obj_inP, source_functionP, call_screen_propertiesP, refreshed_ds) {
|
|
31113
31113
|
if (!prog_id) return console.error('program is empty');
|
|
31114
31114
|
let screen_ret = await func.utils.get_screen_obj(SESSION_ID, prog_id);
|
|
31115
31115
|
if (!screen_ret) return console.error('program is not a screen object');
|
|
@@ -31322,7 +31322,7 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
31322
31322
|
const ret = await func.datasource.create(
|
|
31323
31323
|
SESSION_ID,
|
|
31324
31324
|
prog_id,
|
|
31325
|
-
|
|
31325
|
+
refreshed_ds, //params?.callingDataSource_objP?.dsSession
|
|
31326
31326
|
params.parentDataSourceNoP,
|
|
31327
31327
|
$rootFrame.attr('id'),
|
|
31328
31328
|
rowIdP,
|
|
@@ -32024,7 +32024,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32024
32024
|
async function render_panel() {
|
|
32025
32025
|
const prog_id = val.value?.prog || val.value;
|
|
32026
32026
|
const param_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
|
|
32027
|
-
let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, param_obj, 'initXu_panel');
|
|
32027
|
+
let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, param_obj, 'initXu_panel', undefined, refreshed_ds);
|
|
32028
32028
|
ret = { $new_div: ret_panel };
|
|
32029
32029
|
$container.data().xuData.xuPanelProps = $elm.data().xuAttributes;
|
|
32030
32030
|
return ret;
|
|
@@ -34233,7 +34233,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34233
34233
|
var $wrapper = $('<div>');
|
|
34234
34234
|
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, null, $wrapper, '');
|
|
34235
34235
|
|
|
34236
|
-
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div.clone(true), true,
|
|
34236
|
+
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div.clone(true), true, undefined, refreshed_ds);
|
|
34237
34237
|
if (ret.abort) {
|
|
34238
34238
|
// // program null
|
|
34239
34239
|
// if (ret.program_null) {
|