@xuda.io/runtime-bundle 1.0.689 → 1.0.691

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.
@@ -28713,7 +28713,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
28713
28713
  const fx_ret = await func.expression.get(SESSION_ID, _ds.progDataSource.dataSourceFilterModelTypeFx, dataSourceSession, 'query');
28714
28714
  _dataSourceFilterModelType = fx_ret.result;
28715
28715
  }
28716
- if (!['query', 'index'].includes(_dataSourceFilterModelType)) {
28716
+ if (_dataSourceFilterModelType && !['query', 'index'].includes(_dataSourceFilterModelType)) {
28717
28717
  return func.utils.debug_report(SESSION_ID, 'Data source', `Valid values for dataSourceFilterModelType are: "query" or "index" (${_dataSourceFilterModelType})`, 'E');
28718
28718
  }
28719
28719
 
@@ -31533,21 +31533,21 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31533
31533
  const wrapper_data = $wrapper.data();
31534
31534
  const refreshed_ds = _ds.dsSession;
31535
31535
 
31536
- let elm_to_delete = [];
31537
- const ts = Date.now();
31538
- $.each($elm.find('*'), function (key, val) {
31539
- let xu_ui_id = $(val).attr('xu-ui-id');
31540
- if (xu_ui_id) {
31541
- let new_id = xu_ui_id + ts;
31542
- elm_to_delete.push(new_id);
31543
-
31544
- $(val).attr('xu-ui-id', new_id).removeData();
31545
- } else {
31546
- $(val).remove();
31547
- }
31548
- });
31536
+ // let elm_to_delete = [];
31537
+ // const ts = Date.now();
31538
+ // $.each($elm.find('*'), function (key, val) {
31539
+ // let xu_ui_id = $(val).attr('xu-ui-id');
31540
+ // if (xu_ui_id) {
31541
+ // let new_id = xu_ui_id + ts;
31542
+ // elm_to_delete.push(new_id);
31543
+
31544
+ // $(val).attr('xu-ui-id', new_id).removeData();
31545
+ // } else {
31546
+ // $(val).remove();
31547
+ // }
31548
+ // });
31549
31549
 
31550
- // $elm.empty();
31550
+ $elm.empty();
31551
31551
  const new_$div = await func.UI.screen.render_ui_tree(
31552
31552
  SESSION_ID,
31553
31553
  $elm, // the wrapper
@@ -31563,10 +31563,10 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31563
31563
  elm_data.xuData.$root_container, // the wrapper root container
31564
31564
  );
31565
31565
 
31566
- // remove old screen content
31567
- $.each(elm_to_delete, async function (key, val) {
31568
- $("[xu-ui-id='" + elm_to_delete + "']").remove();
31569
- });
31566
+ // // remove old screen content
31567
+ // $.each(elm_to_delete, async function (key, val) {
31568
+ // $("[xu-ui-id='" + elm_to_delete + "']").remove();
31569
+ // });
31570
31570
 
31571
31571
  return;
31572
31572
  }