@xuda.io/runtime-bundle 1.0.697 → 1.0.698

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.
@@ -31533,25 +31533,25 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31533
31533
  if ($elm?.length) {
31534
31534
  const elm_data = $elm.data();
31535
31535
  const $wrapper = $elm.parent();
31536
- const wrapper_data = $wrapper.data();
31536
+ // const wrapper_data = $wrapper.data();
31537
31537
  const refreshed_ds = _ds.dsSession;
31538
31538
 
31539
- let elm_to_delete = [];
31540
- const ts = Date.now();
31541
- $.each($elm.find('xu-root-component-' + SESSION_ID).find('*'), function (key, val) {
31542
- let xu_ui_id = $(val).attr('xu-ui-id');
31543
- if (xu_ui_id) {
31544
- let new_id = xu_ui_id + ts;
31545
- elm_to_delete.push(new_id);
31539
+ // let elm_to_delete = [];
31540
+ // const ts = Date.now();
31541
+ // $.each($elm.find('xu-root-component-' + SESSION_ID).find('*'), function (key, val) {
31542
+ // let xu_ui_id = $(val).attr('xu-ui-id');
31543
+ // if (xu_ui_id) {
31544
+ // let new_id = xu_ui_id + ts;
31545
+ // elm_to_delete.push(new_id);
31546
31546
 
31547
- $(val).attr('xu-ui-id', new_id).removeData();
31548
- }
31549
- // else {
31550
- // $(val).remove();
31551
- // }
31552
- });
31547
+ // $(val).attr('xu-ui-id', new_id).removeData();
31548
+ // }
31549
+ // // else {
31550
+ // // $(val).remove();
31551
+ // // }
31552
+ // });
31553
31553
 
31554
- // $elm.empty();
31554
+ $elm.empty();
31555
31555
  if ($elm.data()) {
31556
31556
  const new_$div = await func.UI.screen.render_ui_tree(
31557
31557
  SESSION_ID,
@@ -31568,10 +31568,10 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31568
31568
  elm_data.xuData.$root_container, // the wrapper root container
31569
31569
  );
31570
31570
 
31571
- // remove old screen content
31572
- $.each(elm_to_delete, async function (key, val) {
31573
- $("[xu-ui-id='" + elm_to_delete + "']").remove();
31574
- });
31571
+ // // remove old screen content
31572
+ // $.each(elm_to_delete, async function (key, val) {
31573
+ // $("[xu-ui-id='" + elm_to_delete + "']").remove();
31574
+ // });
31575
31575
 
31576
31576
  return;
31577
31577
  }