@xuda.io/runtime-bundle 1.0.614 → 1.0.616

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.
@@ -11881,7 +11881,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11881
11881
  elem_key: _elem_key,
11882
11882
  elem_val: _elem_val,
11883
11883
  fields_arr,
11884
- xu_for_item_id: elem_val?.$elm?.data().xuData.nodeid,
11884
+ xu_for_item_id: elem_val?.$elm?.data()?.xuPanelData ? elem_val?.$elm?.data()?.xuPanelData.node.id : elem_val?.$elm?.data().xuData.nodeid,
11885
11885
  };
11886
11886
  await func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_for', obj, new_job, _elem_val.$elm, _elem_val.$elm.data().xuData.paramsP.dsSessionP);
11887
11887
 
@@ -11894,7 +11894,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11894
11894
  }
11895
11895
 
11896
11896
  /////////// xu-for for non displayed elements ////////////
11897
- const iterate_field_in_progUi = async function (progUi, field_id) {
11897
+ const iterate_field_in_progUi = async function (progUi, field_id, panel_val) {
11898
11898
  let found;
11899
11899
  const iterate_progUi = async function (node, node_id) {
11900
11900
  for (let item of node) {
@@ -11926,7 +11926,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11926
11926
  await func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_for', obj, new_job, _elem_val.$elm, _elem_val.$elm.data().xuData.paramsP.dsSessionP);
11927
11927
 
11928
11928
  if (_session.engine_mode === 'live_preview') {
11929
- console.info('node execute_xu_for', obj);
11929
+ console.info('node execute_xu_for', obj, panel_val);
11930
11930
  }
11931
11931
 
11932
11932
  break;
@@ -11956,10 +11956,10 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11956
11956
  await iterate_field_in_progUi(progUi, field_id);
11957
11957
  }
11958
11958
  }
11959
- // // run panels
11960
- // for await (const [panel_wrapper_element_ui_id, panel_val] of Object.entries(panels_obj)) {
11961
- // await iterate_field_in_progUi(panel_val.progUi, field_id);
11962
- // }
11959
+ // run panels
11960
+ for await (const [panel_wrapper_element_ui_id, panel_val] of Object.entries(panels_obj)) {
11961
+ await iterate_field_in_progUi(panel_val.progUi, field_id, panel_val);
11962
+ }
11963
11963
  }
11964
11964
 
11965
11965
  func.events.delete_job(SESSION_ID, jobNoP);
@@ -9612,7 +9612,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9612
9612
  elem_key: _elem_key,
9613
9613
  elem_val: _elem_val,
9614
9614
  fields_arr,
9615
- xu_for_item_id: elem_val?.$elm?.data().xuData.nodeid,
9615
+ xu_for_item_id: elem_val?.$elm?.data()?.xuPanelData ? elem_val?.$elm?.data()?.xuPanelData.node.id : elem_val?.$elm?.data().xuData.nodeid,
9616
9616
  };
9617
9617
  await func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_for', obj, new_job, _elem_val.$elm, _elem_val.$elm.data().xuData.paramsP.dsSessionP);
9618
9618
 
@@ -9625,7 +9625,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9625
9625
  }
9626
9626
 
9627
9627
  /////////// xu-for for non displayed elements ////////////
9628
- const iterate_field_in_progUi = async function (progUi, field_id) {
9628
+ const iterate_field_in_progUi = async function (progUi, field_id, panel_val) {
9629
9629
  let found;
9630
9630
  const iterate_progUi = async function (node, node_id) {
9631
9631
  for (let item of node) {
@@ -9657,7 +9657,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9657
9657
  await func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_for', obj, new_job, _elem_val.$elm, _elem_val.$elm.data().xuData.paramsP.dsSessionP);
9658
9658
 
9659
9659
  if (_session.engine_mode === 'live_preview') {
9660
- console.info('node execute_xu_for', obj);
9660
+ console.info('node execute_xu_for', obj, panel_val);
9661
9661
  }
9662
9662
 
9663
9663
  break;
@@ -9687,10 +9687,10 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9687
9687
  await iterate_field_in_progUi(progUi, field_id);
9688
9688
  }
9689
9689
  }
9690
- // // run panels
9691
- // for await (const [panel_wrapper_element_ui_id, panel_val] of Object.entries(panels_obj)) {
9692
- // await iterate_field_in_progUi(panel_val.progUi, field_id);
9693
- // }
9690
+ // run panels
9691
+ for await (const [panel_wrapper_element_ui_id, panel_val] of Object.entries(panels_obj)) {
9692
+ await iterate_field_in_progUi(panel_val.progUi, field_id, panel_val);
9693
+ }
9694
9694
  }
9695
9695
 
9696
9696
  func.events.delete_job(SESSION_ID, jobNoP);