@xuda.io/runtime-bundle 1.0.892 → 1.0.894

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
+ let 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);
@@ -31336,7 +31338,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31336
31338
  if (avoid_xu_for_refresh) return;
31337
31339
  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);
31338
31340
 
31339
- if (_session.engine_mode === 'live_preview') {
31341
+ if (glb.DEBUG_MODE) {
31340
31342
  console.info('node execute_xu_for', obj, panel_val);
31341
31343
  }
31342
31344
 
@@ -32176,8 +32178,17 @@ 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
- return {};
32191
+ return { abort: true };
32181
32192
  },
32182
32193
  'xu-for': async function ($elm, data) {
32183
32194
  // exit if call from rendered xu-for item to prevent infante loop (parent_infoP?.iterate_info indicate call from rendered item)
@@ -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']();