@xuda.io/runtime-bundle 1.0.896 → 1.0.898
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -11436,11 +11436,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11436
11436
|
$.each(elm_data?.xuAttributes, function (key, val) {
|
|
11437
11437
|
if (key.substr(0, 3) !== 'xu-') return true;
|
|
11438
11438
|
|
|
11439
|
-
let parameter_in_filed_id
|
|
11439
|
+
let parameter_in_filed_id; //= elm_data?.xuData?.paramsP?.parameters_raw_obj?.[val.substr(1)] ? val.substr(1) : undefined;
|
|
11440
11440
|
let exp_val_for_parameter_in_validation = _.clone(val);
|
|
11441
|
-
if (!_.isEmpty(elm_data?.xuData?.paramsP?.parameters_raw_obj)) {
|
|
11441
|
+
if (!_.isEmpty(elm_data?.xuData?.paramsP?.parameters_raw_obj) && typeof exp_val_for_parameter_in_validation === 'string') {
|
|
11442
11442
|
for (const [param_key, param_val] of Object.entries(elm_data?.xuData?.paramsP?.parameters_raw_obj)) {
|
|
11443
|
-
exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll(param_val, param_key);
|
|
11443
|
+
exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll(param_val, '@' + param_key);
|
|
11444
11444
|
}
|
|
11445
11445
|
}
|
|
11446
11446
|
|
|
@@ -9163,11 +9163,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9163
9163
|
$.each(elm_data?.xuAttributes, function (key, val) {
|
|
9164
9164
|
if (key.substr(0, 3) !== 'xu-') return true;
|
|
9165
9165
|
|
|
9166
|
-
let parameter_in_filed_id
|
|
9166
|
+
let parameter_in_filed_id; //= elm_data?.xuData?.paramsP?.parameters_raw_obj?.[val.substr(1)] ? val.substr(1) : undefined;
|
|
9167
9167
|
let exp_val_for_parameter_in_validation = _.clone(val);
|
|
9168
|
-
if (!_.isEmpty(elm_data?.xuData?.paramsP?.parameters_raw_obj)) {
|
|
9168
|
+
if (!_.isEmpty(elm_data?.xuData?.paramsP?.parameters_raw_obj) && typeof exp_val_for_parameter_in_validation === 'string') {
|
|
9169
9169
|
for (const [param_key, param_val] of Object.entries(elm_data?.xuData?.paramsP?.parameters_raw_obj)) {
|
|
9170
|
-
exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll(param_val, param_key);
|
|
9170
|
+
exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll(param_val, '@' + param_key);
|
|
9171
9171
|
}
|
|
9172
9172
|
}
|
|
9173
9173
|
|