@xuda.io/runtime-bundle 1.0.893 → 1.0.895

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.
@@ -31115,13 +31115,15 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31115
31115
  .find('*')
31116
31116
  .filter(function () {
31117
31117
  // // look if the changed field include in the calling in parameters
31118
- let parameter_in_filed_id;
31118
+ const elm_data = $(this).data();
31119
31119
 
31120
31120
  let attr = [];
31121
31121
 
31122
- $.each($(this).data()?.xuAttributes, function (key, val) {
31122
+ $.each(elm_data?.xuAttributes, function (key, val) {
31123
31123
  if (key.substr(0, 3) !== 'xu-') return true;
31124
31124
 
31125
+ const parameter_in_filed_id = elm_data?.xuData?.paramsP?.parameters_raw_obj?.[val.substr(1)] ? val.substr(1) : undefined;
31126
+
31125
31127
  if (key === 'xu-bind') {
31126
31128
  if (val?.includes?.(val_field) || val?.includes?.(parameter_in_filed_id)) {
31127
31129
  attr.push(key);
@@ -32176,6 +32178,15 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32176
32178
  } catch (error) {
32177
32179
  console.warn(e);
32178
32180
  }
32181
+ return;
32182
+ return { abort: true };
32183
+ },
32184
+ 'xu-text': async function ($elm, val) {
32185
+ try {
32186
+ $elm.text(val.value);
32187
+ } catch (error) {
32188
+ console.warn(e);
32189
+ }
32179
32190
 
32180
32191
  return { abort: true };
32181
32192
  },
@@ -34166,6 +34177,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34166
34177
  if (nodeP.content && nodeP.attributes) {
34167
34178
  nodeP.attributes['xu-content'] = nodeP.content;
34168
34179
  }
34180
+
34169
34181
  if (nodeP.tagName === 'xu-widget') {
34170
34182
  if (is_skeleton) return;
34171
34183
  return await fx['widget']();