@xuda.io/runtime-bundle 1.0.338 → 1.0.340

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.
@@ -31587,7 +31587,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31587
31587
  .find('*')
31588
31588
  .filter(function () {
31589
31589
  // // look if the changed field include in the calling in parameters
31590
- // let parameter_in_filed_id;
31590
+ let parameter_in_filed_id;
31591
31591
  // const _$callingContainer = $(this).data()?.xuData?.paramsP?.$callingContainerP;
31592
31592
  // if (_$callingContainer) {
31593
31593
  // const _source_xuAttributes = _$callingContainer.data()?.xuAttributes;
@@ -31732,7 +31732,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31732
31732
  // xu-for
31733
31733
  selectors = {};
31734
31734
  get_selectors();
31735
- console.log('selectors', selectors);
31735
+ // console.log('selectors', selectors);
31736
31736
  let refreshed_ids = [];
31737
31737
  // handle xu-for
31738
31738
  let parent_element_ui_id;
@@ -31888,34 +31888,6 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31888
31888
  return found;
31889
31889
  };
31890
31890
 
31891
- // // set panels_obj
31892
- // for await (const [elem_key, elem_val] of Object.entries($elm)) {
31893
- // if (elem_key === "length") break;
31894
- // var $div = $(elem_val);
31895
- // let xuData = $div.data().xuData;
31896
-
31897
- // if (!$div.data().xuPanelData) continue;
31898
-
31899
- // let dsSession = xuData.paramsP.dsSessionP;
31900
- // var _session = SESSION_OBJ[SESSION_ID];
31901
- // let _ds = _session?.DS_GLB[dsSession];
31902
- // if (!_ds) continue;
31903
-
31904
- // if (_ds.tree_obj.disableAutoRefresh) {
31905
- // continue;
31906
- // }
31907
-
31908
- // const parent_element_ui_id = $div.data().xuPanelData.parent_element_ui_id;
31909
- // if (!panels_obj[parent_element_ui_id]) {
31910
- // panels_obj[parent_element_ui_id] = {
31911
- // _ds,
31912
- // $div,
31913
- // ids: [],
31914
- // };
31915
- // }
31916
- // panels_obj[parent_element_ui_id].ids.push($div.attr("xu-ui-id"));
31917
- // }
31918
-
31919
31891
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
31920
31892
  const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id);
31921
31893
  const progDataSource_str = JSON.stringify(prog_doc.progDataSource);
@@ -32247,6 +32219,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32247
32219
 
32248
32220
  const common_fx = {
32249
32221
  'xu-ref': async function ($elm, val) {
32222
+ console.log('xu-ref', $elm, val);
32250
32223
  return {};
32251
32224
  },
32252
32225
  'xu-bind': async function ($elm, val) {