@xuda.io/runtime-bundle 1.0.501 → 1.0.503
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.
|
@@ -31840,7 +31840,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
31840
31840
|
null,
|
|
31841
31841
|
null,
|
|
31842
31842
|
wrapper_data.xuData.key, // the wrapper key
|
|
31843
|
-
|
|
31843
|
+
panel_val._ds.dsSession, // the refreshed_ds
|
|
31844
31844
|
wrapper_data.xuData.parent_node, // the wrapper parent node
|
|
31845
31845
|
null,
|
|
31846
31846
|
wrapper_data.xuData.$root_container, // the wrapper root container
|
|
@@ -32009,7 +32009,7 @@ const get_params_obj_new = async function (SESSION_ID, prog_id, nodeP, dsSession
|
|
|
32009
32009
|
return params_obj;
|
|
32010
32010
|
};
|
|
32011
32011
|
|
|
32012
|
-
func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, xu_func, $elm, val, is_init) {
|
|
32012
|
+
func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, xu_func, $elm, val, is_init, refreshed_ds) {
|
|
32013
32013
|
if (is_skeleton) return;
|
|
32014
32014
|
|
|
32015
32015
|
// console.log(nodeP.id, xu_func, val);
|
|
@@ -32854,7 +32854,7 @@ func.UI.screen.fix_val_defaults = function (key, val) {
|
|
|
32854
32854
|
return ret;
|
|
32855
32855
|
};
|
|
32856
32856
|
|
|
32857
|
-
func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $elm, is_init, execute_attributes = []) {
|
|
32857
|
+
func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $elm, is_init, execute_attributes = [], refreshed_ds) {
|
|
32858
32858
|
var done_exp = [];
|
|
32859
32859
|
|
|
32860
32860
|
const _ds = SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP];
|
|
@@ -33014,6 +33014,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
33014
33014
|
value: (await get_xuExp(new_key)) || val,
|
|
33015
33015
|
},
|
|
33016
33016
|
is_init,
|
|
33017
|
+
refreshed_ds,
|
|
33017
33018
|
);
|
|
33018
33019
|
_ret = _.assignIn(_ret, ret);
|
|
33019
33020
|
continue;
|
|
@@ -33037,6 +33038,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
33037
33038
|
value: (await get_xuExp(new_key)) || val,
|
|
33038
33039
|
},
|
|
33039
33040
|
is_init,
|
|
33041
|
+
refreshed_ds,
|
|
33040
33042
|
);
|
|
33041
33043
|
|
|
33042
33044
|
_ret = _.assignIn(_ret, ret);
|
|
@@ -33076,6 +33078,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
33076
33078
|
value: val,
|
|
33077
33079
|
},
|
|
33078
33080
|
true,
|
|
33081
|
+
refreshed_ds,
|
|
33079
33082
|
);
|
|
33080
33083
|
_ret = _.assignIn(_ret, ret);
|
|
33081
33084
|
}
|
|
@@ -33105,6 +33108,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
33105
33108
|
value: (await get_xuExp(attr)) || nodeP.attributes[attr],
|
|
33106
33109
|
},
|
|
33107
33110
|
is_init,
|
|
33111
|
+
refreshed_ds,
|
|
33108
33112
|
);
|
|
33109
33113
|
_ret = _.assignIn(_ret, ret);
|
|
33110
33114
|
}
|
|
@@ -33452,7 +33456,7 @@ func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div,
|
|
|
33452
33456
|
return $div;
|
|
33453
33457
|
};
|
|
33454
33458
|
|
|
33455
|
-
func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, parent_infoP, paramsP, jobNoP, is_skeleton, keyP,
|
|
33459
|
+
func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, parent_infoP, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $root_container) {
|
|
33456
33460
|
if (!is_skeleton) {
|
|
33457
33461
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
33458
33462
|
var _ds = _session.DS_GLB[paramsP.dsSessionP];
|
|
@@ -34229,7 +34233,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34229
34233
|
var $wrapper = $('<div>');
|
|
34230
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, '');
|
|
34231
34235
|
|
|
34232
|
-
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, null, refreshed_ds);
|
|
34233
34237
|
if (ret.abort) {
|
|
34234
34238
|
// // program null
|
|
34235
34239
|
// if (ret.program_null) {
|