@xuda.io/runtime-bundle 1.0.901 → 1.0.903

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
  }
@@ -32203,7 +32195,16 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32203
32195
  } catch (error) {
32204
32196
  console.warn(e);
32205
32197
  }
32206
-
32198
+ return;
32199
+ return { abort: true };
32200
+ },
32201
+ 'xu-html': async function ($elm, val) {
32202
+ try {
32203
+ $elm.html(val.value);
32204
+ } catch (error) {
32205
+ console.warn(e);
32206
+ }
32207
+ return;
32207
32208
  return { abort: true };
32208
32209
  },
32209
32210
  'xu-for': async function ($elm, data) {