@xuda.io/runtime-bundle 1.0.1029 → 1.0.1031

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.
@@ -31411,13 +31411,15 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31411
31411
  const iterate_progUi = async function (node, node_id) {
31412
31412
  for (let item of node) {
31413
31413
  if (!_.isEmpty(item.attributes)) {
31414
+ const parent_element_ui_id = node_id;
31415
+ const _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
31414
31416
  for await (const [attr, val] of Object.entries(item.attributes)) {
31415
31417
  if (attr === 'xu-exp:xu-for' || attr === 'xu-for') {
31416
31418
  if (val?.includes(field_id)) {
31417
- const parent_element_ui_id = node_id;
31419
+ // const parent_element_ui_id = node_id;
31418
31420
  debugger;
31419
31421
  // let _$elem = $(`[xu-ui-id^=${parent_element_ui_id}]`);
31420
- let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
31422
+ // let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
31421
31423
 
31422
31424
  const _elem_key = parent_element_ui_id;
31423
31425
  const _elem_val = { attributes: [], $elm: _$elem };
@@ -31449,8 +31451,20 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31449
31451
 
31450
31452
  if (glb.new_xu_render) {
31451
31453
  if (attr === 'xu-exp:xu-render' || attr === 'xu-render') {
31452
- let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
31453
31454
  debugger;
31455
+ $.each(_$elem, function (key, val) {
31456
+ if ($(val).data().xuData.node) {
31457
+ }
31458
+
31459
+ const obj = {
31460
+ ui_type: _elem_val.$elm.data().xuData.ui_type,
31461
+ SESSION_ID,
31462
+ elem_key: _elem_key,
31463
+ elem_val: _elem_val,
31464
+ fields_arr,
31465
+ };
31466
+ func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_render_attributes', obj, new_job, _elem_val.$elm, _elem_val.$elm.data().xuData.paramsP.dsSessionP);
31467
+ });
31454
31468
  }
31455
31469
  }
31456
31470
  }