@xuda.io/runtime-bundle 1.0.899 → 1.0.900

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.
@@ -11435,10 +11435,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11435
11435
 
11436
11436
  const validate_param_in = function (exp) {
11437
11437
  if (!typeof exp === 'string') return;
11438
+ if (!exp.includes('@')) return;
11438
11439
  if (_.isEmpty(elm_data?.xuData?.paramsP?.parameters_raw_obj)) return;
11439
11440
  let exp_val_for_parameter_in_validation = _.clone(exp);
11440
11441
  for (const [param_key, param_val] of Object.entries(elm_data?.xuData?.paramsP?.parameters_raw_obj)) {
11441
- exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll(param_val, '@' + param_key);
11442
+ exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll('@' + param_key, param_val);
11442
11443
  }
11443
11444
  return exp_val_for_parameter_in_validation?.includes?.('@' + val_field);
11444
11445
  };
@@ -9162,10 +9162,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9162
9162
 
9163
9163
  const validate_param_in = function (exp) {
9164
9164
  if (!typeof exp === 'string') return;
9165
+ if (!exp.includes('@')) return;
9165
9166
  if (_.isEmpty(elm_data?.xuData?.paramsP?.parameters_raw_obj)) return;
9166
9167
  let exp_val_for_parameter_in_validation = _.clone(exp);
9167
9168
  for (const [param_key, param_val] of Object.entries(elm_data?.xuData?.paramsP?.parameters_raw_obj)) {
9168
- exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll(param_val, '@' + param_key);
9169
+ exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll('@' + param_key, param_val);
9169
9170
  }
9170
9171
  return exp_val_for_parameter_in_validation?.includes?.('@' + val_field);
9171
9172
  };