@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.
@@ -5144,13 +5144,13 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5144
5144
 
5145
5145
  // search the field in refs
5146
5146
  let _ds_0 = _session.DS_GLB[0];
5147
- for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5148
- if (val.ds.dsSession == dataSource) {
5149
- if (!fields_changed.includes(ref_name)) {
5150
- fields_changed.push(ref_name);
5151
- }
5152
- }
5153
- }
5147
+ // for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5148
+ // if (val.ds.dsSession == dataSource) {
5149
+ // if (!fields_changed.includes(ref_name)) {
5150
+ // fields_changed.push(ref_name);
5151
+ // }
5152
+ // }
5153
+ // }
5154
5154
 
5155
5155
  if (!update_local_scope_only) {
5156
5156
  let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, _ds.prog_id);
@@ -11407,9 +11407,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11407
11407
 
11408
11408
  if (!elem_val?.$elm?.data()?.xuData?.ui_type) continue;
11409
11409
 
11410
- // // already rended
11411
- // if (elem_val.$elm[0].tagName !== 'XURENDER' && elem_val?.$elm?.length) continue;
11412
-
11413
11410
  new_job = await func.UI.worker.add_to_queue(
11414
11411
  SESSION_ID,
11415
11412
  'gui event',
@@ -13842,10 +13839,6 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
13842
13839
  var $wrapper = $('<div>');
13843
13840
  $div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
13844
13841
 
13845
- // if (paramsP.is_panelP) {
13846
- // var id = $div.attr('id');
13847
- // }
13848
-
13849
13842
  if (!$div) return;
13850
13843
 
13851
13844
  if (!REFRESHER_IN_PROGRESS && (paramsP.is_mobile_popover || paramsP.is_mobile_page)) {
@@ -13891,24 +13884,24 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
13891
13884
  }
13892
13885
 
13893
13886
  const done = async function (continuous_idx) {
13894
- const do_callback = async function ($div) {
13895
- // if ($root_container.data().xuData.progress_bar_circle) {
13896
- // setTimeout(function () {
13897
- // $.each(
13898
- // $root_container.data().xuData.progress_bar_circle,
13899
- // function (key, val) {
13900
- // val.bar.set(parseFloat(val.value)); // Number from 0.0 to 1.0
13901
- // }
13902
- // );
13903
- // }, 2000);
13904
- // }
13905
-
13906
- if (paramsP.screenInfo.properties?.rtl) {
13907
- $div_content.attr('dir', 'rtl');
13908
- }
13887
+ // const do_callback = async function ($div) {
13888
+ // // if ($root_container.data().xuData.progress_bar_circle) {
13889
+ // // setTimeout(function () {
13890
+ // // $.each(
13891
+ // // $root_container.data().xuData.progress_bar_circle,
13892
+ // // function (key, val) {
13893
+ // // val.bar.set(parseFloat(val.value)); // Number from 0.0 to 1.0
13894
+ // // }
13895
+ // // );
13896
+ // // }, 2000);
13897
+ // // }
13898
+
13899
+ // if (paramsP.screenInfo.properties?.rtl) {
13900
+ // $div_content.attr('dir', 'rtl');
13901
+ // }
13909
13902
 
13910
- return $div;
13911
- };
13903
+ // return $div;
13904
+ // };
13912
13905
  await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $container, true);
13913
13906
 
13914
13907
  return await render_screen_type($div);
@@ -5145,13 +5145,13 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5145
5145
 
5146
5146
  // search the field in refs
5147
5147
  let _ds_0 = _session.DS_GLB[0];
5148
- for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5149
- if (val.ds.dsSession == dataSource) {
5150
- if (!fields_changed.includes(ref_name)) {
5151
- fields_changed.push(ref_name);
5152
- }
5153
- }
5154
- }
5148
+ // for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5149
+ // if (val.ds.dsSession == dataSource) {
5150
+ // if (!fields_changed.includes(ref_name)) {
5151
+ // fields_changed.push(ref_name);
5152
+ // }
5153
+ // }
5154
+ // }
5155
5155
 
5156
5156
  if (!update_local_scope_only) {
5157
5157
  let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, _ds.prog_id);
@@ -9473,9 +9473,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9473
9473
 
9474
9474
  if (!elem_val?.$elm?.data()?.xuData?.ui_type) continue;
9475
9475
 
9476
- // // already rended
9477
- // if (elem_val.$elm[0].tagName !== 'XURENDER' && elem_val?.$elm?.length) continue;
9478
-
9479
9476
  new_job = await func.UI.worker.add_to_queue(
9480
9477
  SESSION_ID,
9481
9478
  'gui event',
@@ -11908,10 +11905,6 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
11908
11905
  var $wrapper = $('<div>');
11909
11906
  $div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
11910
11907
 
11911
- // if (paramsP.is_panelP) {
11912
- // var id = $div.attr('id');
11913
- // }
11914
-
11915
11908
  if (!$div) return;
11916
11909
 
11917
11910
  if (!REFRESHER_IN_PROGRESS && (paramsP.is_mobile_popover || paramsP.is_mobile_page)) {
@@ -11957,24 +11950,24 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
11957
11950
  }
11958
11951
 
11959
11952
  const done = async function (continuous_idx) {
11960
- const do_callback = async function ($div) {
11961
- // if ($root_container.data().xuData.progress_bar_circle) {
11962
- // setTimeout(function () {
11963
- // $.each(
11964
- // $root_container.data().xuData.progress_bar_circle,
11965
- // function (key, val) {
11966
- // val.bar.set(parseFloat(val.value)); // Number from 0.0 to 1.0
11967
- // }
11968
- // );
11969
- // }, 2000);
11970
- // }
11971
-
11972
- if (paramsP.screenInfo.properties?.rtl) {
11973
- $div_content.attr('dir', 'rtl');
11974
- }
11953
+ // const do_callback = async function ($div) {
11954
+ // // if ($root_container.data().xuData.progress_bar_circle) {
11955
+ // // setTimeout(function () {
11956
+ // // $.each(
11957
+ // // $root_container.data().xuData.progress_bar_circle,
11958
+ // // function (key, val) {
11959
+ // // val.bar.set(parseFloat(val.value)); // Number from 0.0 to 1.0
11960
+ // // }
11961
+ // // );
11962
+ // // }, 2000);
11963
+ // // }
11964
+
11965
+ // if (paramsP.screenInfo.properties?.rtl) {
11966
+ // $div_content.attr('dir', 'rtl');
11967
+ // }
11975
11968
 
11976
- return $div;
11977
- };
11969
+ // return $div;
11970
+ // };
11978
11971
  await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $container, true);
11979
11972
 
11980
11973
  return await render_screen_type($div);