@xuda.io/runtime-bundle 1.0.899 → 1.0.901
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.
|
@@ -31121,10 +31121,12 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31121
31121
|
|
|
31122
31122
|
const validate_param_in = function (exp) {
|
|
31123
31123
|
if (!typeof exp === 'string') return;
|
|
31124
|
+
if (!exp.includes('@')) return;
|
|
31124
31125
|
if (_.isEmpty(elm_data?.xuData?.paramsP?.parameters_raw_obj)) return;
|
|
31125
31126
|
let exp_val_for_parameter_in_validation = _.clone(exp);
|
|
31126
31127
|
for (const [param_key, param_val] of Object.entries(elm_data?.xuData?.paramsP?.parameters_raw_obj)) {
|
|
31127
|
-
|
|
31128
|
+
if (!param_val.includes('@')) continue;
|
|
31129
|
+
exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll('@' + param_key, param_val);
|
|
31128
31130
|
}
|
|
31129
31131
|
return exp_val_for_parameter_in_validation?.includes?.('@' + val_field);
|
|
31130
31132
|
};
|