@xuda.io/runtime-bundle 1.0.902 → 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
|
|
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
|
|
31181
|
+
if (plugin_str.includes('@' + val_field) || validate_param_in(plugin_str)) {
|
|
31190
31182
|
attr.push(key);
|
|
31191
31183
|
return false;
|
|
31192
31184
|
}
|