@xuda.io/runtime-bundle 1.0.599 → 1.0.601

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.
@@ -27819,12 +27819,14 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27819
27819
  // return func.events.delete_job(SESSION_ID, queue_obj.jobNoP);
27820
27820
  return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27821
27821
  }
27822
+
27823
+ const node_to_render = _data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.elem_val?.xu_for_item_id);
27822
27824
  $elm.empty();
27823
27825
  let _data = queue_obj.paramsP.elem_val.$elm.data();
27824
27826
  func.UI.screen.render_ui_tree(
27825
27827
  queue_obj.paramsP.SESSION_ID,
27826
27828
  queue_obj.paramsP.elem_val.$elm,
27827
- _data.xuData.node_org.children[0], //_data?.xuData?.node?.children?.length ? _data.xuData.node.children[0] : _data.xuData.node,
27829
+ node_to_render, //_data.xuData.node_org.children[0], //_data?.xuData?.node?.children?.length ? _data.xuData.node.children[0] : _data.xuData.node,
27828
27830
  null,
27829
27831
  _data.xuData.paramsP,
27830
27832
  queue_obj.jobNoP,
@@ -31626,6 +31628,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31626
31628
  elem_key: _elem_key,
31627
31629
  elem_val: _elem_val,
31628
31630
  fields_arr,
31631
+ xu_for_item_id: item.id,
31629
31632
  };
31630
31633
  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);
31631
31634
 
@@ -33234,7 +33237,7 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
33234
33237
  try {
33235
33238
  const key_path = `${$container?.data()?.xuData?.key_path || '0'}-${keyP || '0'}`;
33236
33239
  const elem_key = `${nodeP.xu_tree_id || nodeP.id}-${key_path}-${currentRecordId}`;
33237
- let ui_id = `${nodeP.xu_tree_id || nodeP.id}-${elem_key}-${_paramsP?.dsSessionP?.toString() || ''}`;
33240
+ let ui_id = `${nodeP.id}-${elem_key}-${_paramsP?.dsSessionP?.toString() || ''}`; //nodeP.xu_tree_id ||
33238
33241
 
33239
33242
  /////////////////////////////////
33240
33243
 
@@ -33290,7 +33293,7 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
33290
33293
  prog_id: _paramsP.prog_id,
33291
33294
  nodeid: nodeP.id,
33292
33295
  ui_type: nodeP.tagName,
33293
- xu_id: xu_id,
33296
+ xu_id,
33294
33297
  recordid: currentRecordId,
33295
33298
  paramsP: _paramsP,
33296
33299
  key: keyP,
@@ -33298,7 +33301,6 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
33298
33301
  screenId: _paramsP.screenId,
33299
33302
  parent_container: $container?.attr('id'),
33300
33303
  elem_key,
33301
- ui_id,
33302
33304
  properties: prop,
33303
33305
  node: nodeP,
33304
33306
  node_org: _.cloneDeep(nodeP),