@xuda.io/runtime-bundle 1.0.736 → 1.0.738

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.
@@ -31282,7 +31282,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31282
31282
  };
31283
31283
 
31284
31284
  get_selectors();
31285
- console.log('selectors>>>>', selectors);
31285
+ // console.log('selectors>>>>', selectors);
31286
31286
  for await (let [elem_key, elem_val] of Object.entries(selectors)) {
31287
31287
  if (elem_key === 'length') break;
31288
31288
 
@@ -31308,11 +31308,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31308
31308
  if (!elem_val?.$elm?.data()?.xuAttributes) continue;
31309
31309
 
31310
31310
  if (elem_val.attributes.includes('xu-exp:xu-render')) {
31311
- try {
31312
- var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
31313
- } catch (error) {
31314
- debugger;
31315
- }
31311
+ var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
31312
+
31316
31313
  var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
31317
31314
 
31318
31315
  if (!attr_value && elem_val.$elm[0].tagName === 'XURENDER') continue; // bypass job
@@ -32769,6 +32766,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32769
32766
  let properties = _.clone(plugin_index_resources.properties);
32770
32767
  for await (let [prop_name, prop_val] of Object.entries(properties)) {
32771
32768
  prop_val.value = value?.attributes?.[prop_name];
32769
+ if (value?.attributes?.[`xu-exp:${prop_name}`]) {
32770
+ const res = await func.expression.get(SESSION_ID, `xu-exp:${prop_name}`, paramsP.dsSessionP, 'UI Attr EXP');
32771
+ prop_val.value = res.result;
32772
+ }
32772
32773
  }
32773
32774
 
32774
32775
  const plugin_runtime_src = await func.utils.get_plugin_npm_cdn(SESSION_ID, plugin_name, `${_plugin.manifest['runtime.mjs'].dist ? 'dist/' : ''}runtime.mjs`);