@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.
@@ -12149,7 +12149,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
12149
12149
  null,
12150
12150
  null,
12151
12151
  wrapper_data.xuData.key, // the wrapper key
12152
- null,
12152
+ panel_val._ds.dsSession, // the refreshed_ds
12153
12153
  wrapper_data.xuData.parent_node, // the wrapper parent node
12154
12154
  null,
12155
12155
  wrapper_data.xuData.$root_container, // the wrapper root container
@@ -12318,7 +12318,7 @@ const get_params_obj_new = async function (SESSION_ID, prog_id, nodeP, dsSession
12318
12318
  return params_obj;
12319
12319
  };
12320
12320
 
12321
- 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) {
12321
+ 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) {
12322
12322
  if (is_skeleton) return;
12323
12323
 
12324
12324
  // console.log(nodeP.id, xu_func, val);
@@ -13163,7 +13163,7 @@ func.UI.screen.fix_val_defaults = function (key, val) {
13163
13163
  return ret;
13164
13164
  };
13165
13165
 
13166
- 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 = []) {
13166
+ 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) {
13167
13167
  var done_exp = [];
13168
13168
 
13169
13169
  const _ds = SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP];
@@ -13323,6 +13323,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13323
13323
  value: (await get_xuExp(new_key)) || val,
13324
13324
  },
13325
13325
  is_init,
13326
+ refreshed_ds,
13326
13327
  );
13327
13328
  _ret = _.assignIn(_ret, ret);
13328
13329
  continue;
@@ -13346,6 +13347,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13346
13347
  value: (await get_xuExp(new_key)) || val,
13347
13348
  },
13348
13349
  is_init,
13350
+ refreshed_ds,
13349
13351
  );
13350
13352
 
13351
13353
  _ret = _.assignIn(_ret, ret);
@@ -13385,6 +13387,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13385
13387
  value: val,
13386
13388
  },
13387
13389
  true,
13390
+ refreshed_ds,
13388
13391
  );
13389
13392
  _ret = _.assignIn(_ret, ret);
13390
13393
  }
@@ -13414,6 +13417,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13414
13417
  value: (await get_xuExp(attr)) || nodeP.attributes[attr],
13415
13418
  },
13416
13419
  is_init,
13420
+ refreshed_ds,
13417
13421
  );
13418
13422
  _ret = _.assignIn(_ret, ret);
13419
13423
  }
@@ -13761,7 +13765,7 @@ func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div,
13761
13765
  return $div;
13762
13766
  };
13763
13767
 
13764
- func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, parent_infoP, paramsP, jobNoP, is_skeleton, keyP, is_mainP, parent_nodeP, check_existP, $root_container) {
13768
+ 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) {
13765
13769
  if (!is_skeleton) {
13766
13770
  var _session = SESSION_OBJ[SESSION_ID];
13767
13771
  var _ds = _session.DS_GLB[paramsP.dsSessionP];
@@ -14538,7 +14542,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14538
14542
  var $wrapper = $('<div>');
14539
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, '');
14540
14544
 
14541
- 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, null, refreshed_ds);
14542
14546
  if (ret.abort) {
14543
14547
  // // program null
14544
14548
  // if (ret.program_null) {
@@ -9881,7 +9881,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
9881
9881
  null,
9882
9882
  null,
9883
9883
  wrapper_data.xuData.key, // the wrapper key
9884
- null,
9884
+ panel_val._ds.dsSession, // the refreshed_ds
9885
9885
  wrapper_data.xuData.parent_node, // the wrapper parent node
9886
9886
  null,
9887
9887
  wrapper_data.xuData.$root_container, // the wrapper root container
@@ -10050,7 +10050,7 @@ const get_params_obj_new = async function (SESSION_ID, prog_id, nodeP, dsSession
10050
10050
  return params_obj;
10051
10051
  };
10052
10052
 
10053
- 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) {
10053
+ 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) {
10054
10054
  if (is_skeleton) return;
10055
10055
 
10056
10056
  // console.log(nodeP.id, xu_func, val);
@@ -10895,7 +10895,7 @@ func.UI.screen.fix_val_defaults = function (key, val) {
10895
10895
  return ret;
10896
10896
  };
10897
10897
 
10898
- 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 = []) {
10898
+ 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) {
10899
10899
  var done_exp = [];
10900
10900
 
10901
10901
  const _ds = SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP];
@@ -11055,6 +11055,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
11055
11055
  value: (await get_xuExp(new_key)) || val,
11056
11056
  },
11057
11057
  is_init,
11058
+ refreshed_ds,
11058
11059
  );
11059
11060
  _ret = _.assignIn(_ret, ret);
11060
11061
  continue;
@@ -11078,6 +11079,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
11078
11079
  value: (await get_xuExp(new_key)) || val,
11079
11080
  },
11080
11081
  is_init,
11082
+ refreshed_ds,
11081
11083
  );
11082
11084
 
11083
11085
  _ret = _.assignIn(_ret, ret);
@@ -11117,6 +11119,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
11117
11119
  value: val,
11118
11120
  },
11119
11121
  true,
11122
+ refreshed_ds,
11120
11123
  );
11121
11124
  _ret = _.assignIn(_ret, ret);
11122
11125
  }
@@ -11146,6 +11149,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
11146
11149
  value: (await get_xuExp(attr)) || nodeP.attributes[attr],
11147
11150
  },
11148
11151
  is_init,
11152
+ refreshed_ds,
11149
11153
  );
11150
11154
  _ret = _.assignIn(_ret, ret);
11151
11155
  }
@@ -11493,7 +11497,7 @@ func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div,
11493
11497
  return $div;
11494
11498
  };
11495
11499
 
11496
- func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, parent_infoP, paramsP, jobNoP, is_skeleton, keyP, is_mainP, parent_nodeP, check_existP, $root_container) {
11500
+ 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) {
11497
11501
  if (!is_skeleton) {
11498
11502
  var _session = SESSION_OBJ[SESSION_ID];
11499
11503
  var _ds = _session.DS_GLB[paramsP.dsSessionP];
@@ -12270,7 +12274,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12270
12274
  var $wrapper = $('<div>');
12271
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, '');
12272
12276
 
12273
- 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, null, refreshed_ds);
12274
12278
  if (ret.abort) {
12275
12279
  // // program null
12276
12280
  // if (ret.program_null) {