@xuda.io/runtime-bundle 1.0.1034 → 1.0.1036

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.
@@ -11575,7 +11575,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11575
11575
  }
11576
11576
  });
11577
11577
 
11578
- const selector_id = $(this).data()?.xuData?.xu_id;
11578
+ const selector_id = glb.new_xu_render ? $(this).data()?.xuData?.ui_id : $(this).data()?.xuData?.xu_id;
11579
11579
 
11580
11580
  if (attr.length) {
11581
11581
  selectors[selector_id] = selectors[selector_id];
@@ -11771,9 +11771,14 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11771
11771
  $.each(_$elem, function (key, val) {
11772
11772
  if ($(val).data().xuData.node) {
11773
11773
  $.each($(val).data().xuData.node.children, function (key, node) {
11774
+ if (node_id !== node.id) return true;
11775
+
11774
11776
  if (typeof node.xu_render_made !== 'undefined' && !node.xu_render_made) {
11775
11777
  const node_data = UI_WORKER_OBJ.xu_render_cache[node.xu_render_xu_ui_id][node.xu_render_cache_id];
11778
+ const _elem_key = node.xu_render_xu_ui_id;
11779
+ const _elem_val = { attributes: [attr], $elm: node_data.$div };
11776
11780
  const obj = {
11781
+ ui_type: _elem_val.$elm.data().xuData.ui_type,
11777
11782
  SESSION_ID,
11778
11783
  elem_key: _elem_key,
11779
11784
  elem_val: _elem_val,
@@ -9300,7 +9300,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9300
9300
  }
9301
9301
  });
9302
9302
 
9303
- const selector_id = $(this).data()?.xuData?.xu_id;
9303
+ const selector_id = glb.new_xu_render ? $(this).data()?.xuData?.ui_id : $(this).data()?.xuData?.xu_id;
9304
9304
 
9305
9305
  if (attr.length) {
9306
9306
  selectors[selector_id] = selectors[selector_id];
@@ -9496,9 +9496,14 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9496
9496
  $.each(_$elem, function (key, val) {
9497
9497
  if ($(val).data().xuData.node) {
9498
9498
  $.each($(val).data().xuData.node.children, function (key, node) {
9499
+ if (node_id !== node.id) return true;
9500
+
9499
9501
  if (typeof node.xu_render_made !== 'undefined' && !node.xu_render_made) {
9500
9502
  const node_data = UI_WORKER_OBJ.xu_render_cache[node.xu_render_xu_ui_id][node.xu_render_cache_id];
9503
+ const _elem_key = node.xu_render_xu_ui_id;
9504
+ const _elem_val = { attributes: [attr], $elm: node_data.$div };
9501
9505
  const obj = {
9506
+ ui_type: _elem_val.$elm.data().xuData.ui_type,
9502
9507
  SESSION_ID,
9503
9508
  elem_key: _elem_key,
9504
9509
  elem_val: _elem_val,