@xuda.io/runtime-bundle 1.0.339 → 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.
@@ -11863,34 +11863,6 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
11863
11863
  return found;
11864
11864
  };
11865
11865
 
11866
- // // set panels_obj
11867
- // for await (const [elem_key, elem_val] of Object.entries($elm)) {
11868
- // if (elem_key === "length") break;
11869
- // var $div = $(elem_val);
11870
- // let xuData = $div.data().xuData;
11871
-
11872
- // if (!$div.data().xuPanelData) continue;
11873
-
11874
- // let dsSession = xuData.paramsP.dsSessionP;
11875
- // var _session = SESSION_OBJ[SESSION_ID];
11876
- // let _ds = _session?.DS_GLB[dsSession];
11877
- // if (!_ds) continue;
11878
-
11879
- // if (_ds.tree_obj.disableAutoRefresh) {
11880
- // continue;
11881
- // }
11882
-
11883
- // const parent_element_ui_id = $div.data().xuPanelData.parent_element_ui_id;
11884
- // if (!panels_obj[parent_element_ui_id]) {
11885
- // panels_obj[parent_element_ui_id] = {
11886
- // _ds,
11887
- // $div,
11888
- // ids: [],
11889
- // };
11890
- // }
11891
- // panels_obj[parent_element_ui_id].ids.push($div.attr("xu-ui-id"));
11892
- // }
11893
-
11894
11866
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
11895
11867
  const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id);
11896
11868
  const progDataSource_str = JSON.stringify(prog_doc.progDataSource);
@@ -12222,6 +12194,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12222
12194
 
12223
12195
  const common_fx = {
12224
12196
  'xu-ref': async function ($elm, val) {
12197
+ console.log('xu-ref', $elm, val);
12225
12198
  return {};
12226
12199
  },
12227
12200
  'xu-bind': async function ($elm, val) {
@@ -9929,34 +9929,6 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
9929
9929
  return found;
9930
9930
  };
9931
9931
 
9932
- // // set panels_obj
9933
- // for await (const [elem_key, elem_val] of Object.entries($elm)) {
9934
- // if (elem_key === "length") break;
9935
- // var $div = $(elem_val);
9936
- // let xuData = $div.data().xuData;
9937
-
9938
- // if (!$div.data().xuPanelData) continue;
9939
-
9940
- // let dsSession = xuData.paramsP.dsSessionP;
9941
- // var _session = SESSION_OBJ[SESSION_ID];
9942
- // let _ds = _session?.DS_GLB[dsSession];
9943
- // if (!_ds) continue;
9944
-
9945
- // if (_ds.tree_obj.disableAutoRefresh) {
9946
- // continue;
9947
- // }
9948
-
9949
- // const parent_element_ui_id = $div.data().xuPanelData.parent_element_ui_id;
9950
- // if (!panels_obj[parent_element_ui_id]) {
9951
- // panels_obj[parent_element_ui_id] = {
9952
- // _ds,
9953
- // $div,
9954
- // ids: [],
9955
- // };
9956
- // }
9957
- // panels_obj[parent_element_ui_id].ids.push($div.attr("xu-ui-id"));
9958
- // }
9959
-
9960
9932
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
9961
9933
  const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id);
9962
9934
  const progDataSource_str = JSON.stringify(prog_doc.progDataSource);
@@ -10288,6 +10260,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10288
10260
 
10289
10261
  const common_fx = {
10290
10262
  'xu-ref': async function ($elm, val) {
10263
+ console.log('xu-ref', $elm, val);
10291
10264
  return {};
10292
10265
  },
10293
10266
  'xu-bind': async function ($elm, val) {