@xuda.io/runtime-bundle 1.0.695 → 1.0.696

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.
@@ -31441,7 +31441,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31441
31441
 
31442
31442
  func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
31443
31443
  var found, refresh_reason, refresh_details;
31444
- const validate_change = function (prog_doc, panelXuAttributes) {
31444
+ const validate_change = function (prog_doc, panelXuAttributes, skip_ui_check) {
31445
31445
  found = null;
31446
31446
  refresh_reason = null;
31447
31447
  refresh_details = null;
@@ -31482,14 +31482,15 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31482
31482
 
31483
31483
  break;
31484
31484
  }
31485
+ if (!skip_ui_check) {
31486
+ found = func.UI.find_field_in_progUi_attributes(prog_doc.progUi, parameter_in_field_id, 'xu-for').length;
31485
31487
 
31486
- found = func.UI.find_field_in_progUi_attributes(prog_doc.progUi, parameter_in_field_id, 'xu-for').length;
31488
+ if (found) {
31489
+ refresh_reason = `field ${field_id} in progUi xu-for parameter_in changed`;
31490
+ refresh_details = found;
31487
31491
 
31488
- if (found) {
31489
- refresh_reason = `field ${field_id} in progUi xu-for parameter_in changed`;
31490
- refresh_details = found;
31491
-
31492
- break;
31492
+ break;
31493
+ }
31493
31494
  }
31494
31495
  }
31495
31496
  }
@@ -31504,13 +31505,14 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31504
31505
 
31505
31506
  break;
31506
31507
  }
31508
+ if (!skip_ui_check) {
31509
+ found = func.UI.find_field_in_progUi_attributes(prog_doc.progUi, field_id, 'xu-for').length;
31510
+ if (found) {
31511
+ refresh_reason = `field ${field_id} in progUi xu-for changed`;
31512
+ refresh_details = found;
31507
31513
 
31508
- found = func.UI.find_field_in_progUi_attributes(prog_doc.progUi, field_id, 'xu-for').length;
31509
- if (found) {
31510
- refresh_reason = `field ${field_id} in progUi xu-for changed`;
31511
- refresh_details = found;
31512
-
31513
- break;
31514
+ break;
31515
+ }
31514
31516
  }
31515
31517
 
31516
31518
  if (found) {
@@ -31525,7 +31527,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31525
31527
  const _ds = _session.DS_GLB[fields_changed_datasource];
31526
31528
  const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, _ds.prog_id);
31527
31529
  if (prog_doc.progUi) {
31528
- validate_change(prog_doc);
31530
+ validate_change(prog_doc, null, true);
31529
31531
  if (found) {
31530
31532
  const $elm = $(`#container_${_ds.prog_id}_0`);
31531
31533
  if ($elm?.length) {