@xuda.io/runtime-bundle 1.0.946 → 1.0.948

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.
@@ -31140,9 +31140,9 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31140
31140
  let children_items_ignore_list = [];
31141
31141
  for await (let [elem_key, elem_val] of Object.entries(selectors)) {
31142
31142
  if (elem_key === 'length') break;
31143
- const xu_ui_id = $(elem_val.$elm).attr('xu-ui-id');
31144
- if (!xu_ui_id) continue;
31145
- if (children_items_ignore_list.includes(xu_ui_id)) continue;
31143
+ // const xu_ui_id = $(elem_val.$elm).attr('xu-ui-id');
31144
+ // if (!xu_ui_id) continue;
31145
+ if (elem_val.$elm.data().xuData.pending_to_delete) continue;
31146
31146
 
31147
31147
  const add_execute_queue = async function (type) {
31148
31148
  if (!elem_val.$elm?.data?.()?.xuData) return;
@@ -31180,6 +31180,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31180
31180
 
31181
31181
  if (!elem_val?.$elm?.data()?.xuData?.ui_type) continue;
31182
31182
 
31183
+ // RENDER = false handler
31183
31184
  const obj = {
31184
31185
  ui_type: elem_val.$elm.data().xuData.ui_type,
31185
31186
  SESSION_ID,
@@ -31194,7 +31195,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31194
31195
 
31195
31196
  // mark children items ignore list
31196
31197
  $.each(elem_val.$elm.find('*'), function (key, val) {
31197
- children_items_ignore_list.push($(val).attr('xu-ui-id'));
31198
+ // children_items_ignore_list.push($(val).attr('xu-ui-id'));
31199
+ $(val).data().xuData.pending_to_delete = true;
31198
31200
  });
31199
31201
 
31200
31202
  if (glb.DEBUG_MODE) {
@@ -31219,6 +31221,12 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31219
31221
  for await (let [elem_key, elem_val] of Object.entries(selectors)) {
31220
31222
  if (elem_key === 'length') break;
31221
31223
 
31224
+ // const xu_ui_id = $(elem_val.$elm).attr('xu-ui-id');
31225
+ // if (!xu_ui_id) continue;
31226
+ // if (children_items_ignore_list.includes(xu_ui_id)) continue;
31227
+
31228
+ if (elem_val.$elm.data().xuData.pending_to_delete) continue;
31229
+
31222
31230
  if (!elem_val.attributes.includes('xu-exp:xu-for') && !elem_val.attributes.includes('xu-for')) continue;
31223
31231
 
31224
31232
  let _parent_element_ui_id;
@@ -31469,6 +31477,8 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31469
31477
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
31470
31478
  // const progDataSource_str = JSON.stringify(panel_val.prog_doc.progDataSource);
31471
31479
 
31480
+ if (panel_val.$panel_div.data().xuData.pending_to_delete) continue;
31481
+
31472
31482
  if (fields_changed_arr) {
31473
31483
  if (fields_changed_datasource && panel_val._ds.dsSession <= Number(fields_changed_datasource)) {
31474
31484
  continue;