@xuda.io/runtime-bundle 1.0.902 → 1.0.904

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.
@@ -31134,14 +31134,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31134
31134
  $.each(elm_data?.xuAttributes, function (key, val) {
31135
31135
  if (key.substr(0, 3) !== 'xu-') return true;
31136
31136
 
31137
- let parameter_in_filed_id; //= elm_data?.xuData?.paramsP?.parameters_raw_obj?.[val.substr(1)] ? val.substr(1) : undefined;
31138
- // let exp_val_for_parameter_in_validation = _.clone(val);
31139
- // if (!_.isEmpty(elm_data?.xuData?.paramsP?.parameters_raw_obj) && typeof exp_val_for_parameter_in_validation === 'string') {
31140
- // for (const [param_key, param_val] of Object.entries(elm_data?.xuData?.paramsP?.parameters_raw_obj)) {
31141
- // exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll(param_val, '@' + param_key);
31142
- // }
31143
- // }
31144
-
31145
31137
  if (key === 'xu-bind') {
31146
31138
  if (val?.includes?.(val_field) || validate_param_in(val)) {
31147
31139
  attr.push(key);
@@ -31171,7 +31163,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31171
31163
  const classes_obj = _.isString(classes_string) ? JSON.parse(classes_string) : _.defaults(classes_string, {});
31172
31164
 
31173
31165
  $.each(classes_obj, function (cla, cond) {
31174
- if (cond.includes('@' + val_field) || cond?.includes?.('@' + parameter_in_filed_id)) {
31166
+ if (cond.includes('@' + val_field) || validate_param_in(cond)) {
31175
31167
  attr.push('xu-class');
31176
31168
  return false;
31177
31169
  }
@@ -31186,7 +31178,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31186
31178
 
31187
31179
  if (key === 'xu-ui-plugin') {
31188
31180
  const plugin_str = JSON.stringify(val);
31189
- if (plugin_str.includes('@' + val_field) || plugin_str?.includes?.('@' + parameter_in_filed_id)) {
31181
+ if (plugin_str.includes('@' + val_field) || validate_param_in(plugin_str)) {
31190
31182
  attr.push(key);
31191
31183
  return false;
31192
31184
  }
@@ -34098,7 +34090,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34098
34090
  );
34099
34091
 
34100
34092
  let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
34101
- if (ret.abort || nodeP.tagName === 'svg') return await done();
34093
+ if (ret.abort || nodeP.tagName === 'svg' || nodeP?.attributes?.['xu-text'] || nodeP?.attributes?.['xu-html']) return await done();
34102
34094
  // check if iterator made to prevent children render
34103
34095
 
34104
34096
  if (nodeP?.attributes?.['xu-viewport'] == 'true') {