@xuda.io/runtime-bundle 1.0.1078 → 1.0.1080

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.
@@ -11778,7 +11778,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11778
11778
  }
11779
11779
 
11780
11780
  if (glb.new_xu_render) {
11781
- if (attr === 'xu-exp:xu-render' || attr === 'xu-render') {
11781
+ if (attr === 'xu-exp:xu-render') {
11782
+ //|| attr === 'xu-render'
11782
11783
  for await (const [key, val] of Object.entries(_$elem)) {
11783
11784
  if (key === 'length') break;
11784
11785
  if ($(val).data().xuData.node) {
@@ -12652,12 +12653,16 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12652
12653
 
12653
12654
  const new_render = async function () {
12654
12655
  var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
12656
+ const has_xu_render_attribute = $elm.data()?.xuData?.attr_exp_info?.['xu-render'] ? true : false;
12655
12657
  const init_render = async function () {
12656
12658
  nodeP.xu_render_made = value;
12657
12659
  if (!value) {
12658
- return { has_xu_render_attribute: true, xu_render_in_process: true, abort: true };
12660
+ if (has_xu_render_attribute) {
12661
+ return { has_xu_render_attribute, xu_render_in_process: true, abort: true };
12662
+ }
12663
+ return { abort: true };
12659
12664
  }
12660
- return { has_xu_render_attribute: true };
12665
+ return { has_xu_render_attribute };
12661
12666
  };
12662
12667
 
12663
12668
  const post_render = async function () {
@@ -9503,7 +9503,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9503
9503
  }
9504
9504
 
9505
9505
  if (glb.new_xu_render) {
9506
- if (attr === 'xu-exp:xu-render' || attr === 'xu-render') {
9506
+ if (attr === 'xu-exp:xu-render') {
9507
+ //|| attr === 'xu-render'
9507
9508
  for await (const [key, val] of Object.entries(_$elem)) {
9508
9509
  if (key === 'length') break;
9509
9510
  if ($(val).data().xuData.node) {
@@ -10377,12 +10378,16 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10377
10378
 
10378
10379
  const new_render = async function () {
10379
10380
  var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
10381
+ const has_xu_render_attribute = $elm.data()?.xuData?.attr_exp_info?.['xu-render'] ? true : false;
10380
10382
  const init_render = async function () {
10381
10383
  nodeP.xu_render_made = value;
10382
10384
  if (!value) {
10383
- return { has_xu_render_attribute: true, xu_render_in_process: true, abort: true };
10385
+ if (has_xu_render_attribute) {
10386
+ return { has_xu_render_attribute, xu_render_in_process: true, abort: true };
10387
+ }
10388
+ return { abort: true };
10384
10389
  }
10385
- return { has_xu_render_attribute: true };
10390
+ return { has_xu_render_attribute };
10386
10391
  };
10387
10392
 
10388
10393
  const post_render = async function () {