@xuda.io/runtime-bundle 1.0.357 → 1.0.358

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.
@@ -30111,13 +30111,13 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30111
30111
 
30112
30112
  // search the field in refs
30113
30113
  let _ds_0 = _session.DS_GLB[0];
30114
- for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
30115
- if (val.ds.dsSession == dataSource) {
30116
- if (!fields_changed.includes(ref_name)) {
30117
- fields_changed.push(ref_name);
30118
- }
30119
- }
30120
- }
30114
+ // for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
30115
+ // if (val.ds.dsSession == dataSource) {
30116
+ // if (!fields_changed.includes(ref_name)) {
30117
+ // fields_changed.push(ref_name);
30118
+ // }
30119
+ // }
30120
+ // }
30121
30121
 
30122
30122
  if (!update_local_scope_only) {
30123
30123
  let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, _ds.prog_id);
@@ -31432,9 +31432,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31432
31432
 
31433
31433
  if (!elem_val?.$elm?.data()?.xuData?.ui_type) continue;
31434
31434
 
31435
- // // already rended
31436
- // if (elem_val.$elm[0].tagName !== 'XURENDER' && elem_val?.$elm?.length) continue;
31437
-
31438
31435
  new_job = await func.UI.worker.add_to_queue(
31439
31436
  SESSION_ID,
31440
31437
  'gui event',
@@ -33867,10 +33864,6 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
33867
33864
  var $wrapper = $('<div>');
33868
33865
  $div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
33869
33866
 
33870
- // if (paramsP.is_panelP) {
33871
- // var id = $div.attr('id');
33872
- // }
33873
-
33874
33867
  if (!$div) return;
33875
33868
 
33876
33869
  if (!REFRESHER_IN_PROGRESS && (paramsP.is_mobile_popover || paramsP.is_mobile_page)) {
@@ -33916,24 +33909,24 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
33916
33909
  }
33917
33910
 
33918
33911
  const done = async function (continuous_idx) {
33919
- const do_callback = async function ($div) {
33920
- // if ($root_container.data().xuData.progress_bar_circle) {
33921
- // setTimeout(function () {
33922
- // $.each(
33923
- // $root_container.data().xuData.progress_bar_circle,
33924
- // function (key, val) {
33925
- // val.bar.set(parseFloat(val.value)); // Number from 0.0 to 1.0
33926
- // }
33927
- // );
33928
- // }, 2000);
33929
- // }
33930
-
33931
- if (paramsP.screenInfo.properties?.rtl) {
33932
- $div_content.attr('dir', 'rtl');
33933
- }
33912
+ // const do_callback = async function ($div) {
33913
+ // // if ($root_container.data().xuData.progress_bar_circle) {
33914
+ // // setTimeout(function () {
33915
+ // // $.each(
33916
+ // // $root_container.data().xuData.progress_bar_circle,
33917
+ // // function (key, val) {
33918
+ // // val.bar.set(parseFloat(val.value)); // Number from 0.0 to 1.0
33919
+ // // }
33920
+ // // );
33921
+ // // }, 2000);
33922
+ // // }
33923
+
33924
+ // if (paramsP.screenInfo.properties?.rtl) {
33925
+ // $div_content.attr('dir', 'rtl');
33926
+ // }
33934
33927
 
33935
- return $div;
33936
- };
33928
+ // return $div;
33929
+ // };
33937
33930
  await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $container, true);
33938
33931
 
33939
33932
  return await render_screen_type($div);