@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -11418,7 +11418,7 @@ func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id,
|
|
|
11418
11418
|
}
|
|
11419
11419
|
};
|
|
11420
11420
|
func.UI.screen = {};
|
|
11421
|
-
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) {
|
|
11421
|
+
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) {
|
|
11422
11422
|
if (!prog_id) return console.error('program is empty');
|
|
11423
11423
|
let screen_ret = await func.utils.get_screen_obj(SESSION_ID, prog_id);
|
|
11424
11424
|
if (!screen_ret) return console.error('program is not a screen object');
|
|
@@ -11631,7 +11631,7 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
11631
11631
|
const ret = await func.datasource.create(
|
|
11632
11632
|
SESSION_ID,
|
|
11633
11633
|
prog_id,
|
|
11634
|
-
|
|
11634
|
+
refreshed_ds, //params?.callingDataSource_objP?.dsSession
|
|
11635
11635
|
params.parentDataSourceNoP,
|
|
11636
11636
|
$rootFrame.attr('id'),
|
|
11637
11637
|
rowIdP,
|
|
@@ -12333,7 +12333,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12333
12333
|
async function render_panel() {
|
|
12334
12334
|
const prog_id = val.value?.prog || val.value;
|
|
12335
12335
|
const param_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
|
|
12336
|
-
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');
|
|
12336
|
+
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);
|
|
12337
12337
|
ret = { $new_div: ret_panel };
|
|
12338
12338
|
$container.data().xuData.xuPanelProps = $elm.data().xuAttributes;
|
|
12339
12339
|
return ret;
|
|
@@ -14542,7 +14542,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14542
14542
|
var $wrapper = $('<div>');
|
|
14543
14543
|
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, null, $wrapper, '');
|
|
14544
14544
|
|
|
14545
|
-
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,
|
|
14545
|
+
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);
|
|
14546
14546
|
if (ret.abort) {
|
|
14547
14547
|
// // program null
|
|
14548
14548
|
// if (ret.program_null) {
|
|
@@ -9150,7 +9150,7 @@ func.UI.find_field_in_progUi_attributes = function (progUi, field_id, prop, tag_
|
|
|
9150
9150
|
return elm_nodes;
|
|
9151
9151
|
};
|
|
9152
9152
|
func.UI.screen = {};
|
|
9153
|
-
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) {
|
|
9153
|
+
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) {
|
|
9154
9154
|
if (!prog_id) return console.error('program is empty');
|
|
9155
9155
|
let screen_ret = await func.utils.get_screen_obj(SESSION_ID, prog_id);
|
|
9156
9156
|
if (!screen_ret) return console.error('program is not a screen object');
|
|
@@ -9363,7 +9363,7 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
9363
9363
|
const ret = await func.datasource.create(
|
|
9364
9364
|
SESSION_ID,
|
|
9365
9365
|
prog_id,
|
|
9366
|
-
|
|
9366
|
+
refreshed_ds, //params?.callingDataSource_objP?.dsSession
|
|
9367
9367
|
params.parentDataSourceNoP,
|
|
9368
9368
|
$rootFrame.attr('id'),
|
|
9369
9369
|
rowIdP,
|
|
@@ -10065,7 +10065,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10065
10065
|
async function render_panel() {
|
|
10066
10066
|
const prog_id = val.value?.prog || val.value;
|
|
10067
10067
|
const param_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
|
|
10068
|
-
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');
|
|
10068
|
+
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);
|
|
10069
10069
|
ret = { $new_div: ret_panel };
|
|
10070
10070
|
$container.data().xuData.xuPanelProps = $elm.data().xuAttributes;
|
|
10071
10071
|
return ret;
|
|
@@ -12274,7 +12274,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12274
12274
|
var $wrapper = $('<div>');
|
|
12275
12275
|
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, null, $wrapper, '');
|
|
12276
12276
|
|
|
12277
|
-
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,
|
|
12277
|
+
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);
|
|
12278
12278
|
if (ret.abort) {
|
|
12279
12279
|
// // program null
|
|
12280
12280
|
// if (ret.program_null) {
|