ng-pli-commons 1.0.133 → 1.0.134

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.
@@ -11242,9 +11242,12 @@ class SendApplicationService {
11242
11242
  const allComponents = FormioUtil.getComponents(form.components);
11243
11243
  for (const component of allComponents) {
11244
11244
  // Verifica si el componente es de tipo 'day', es requerido y no tiene un valor válido.
11245
+ // La validación de 'required' en un campo 'day' es a nivel de sus sub-campos (day, month, year).
11245
11246
  if (component.type === 'day' &&
11246
- component.validate &&
11247
- component.validate.required) {
11247
+ component.fields &&
11248
+ ((component.fields.day && component.fields.day.required) ||
11249
+ (component.fields.month && component.fields.month.required) ||
11250
+ (component.fields.year && component.fields.year.required))) {
11248
11251
  const dayValue = data ? data[component.key] : null;
11249
11252
  // Un campo 'day' vacío puede ser null, '', o '00/00/0000'.
11250
11253
  if (!dayValue || dayValue === '00/00/0000') {
@@ -16704,8 +16707,8 @@ const VERSION = {
16704
16707
  },
16705
16708
  "suffix": "2682-g421eb182-dirty",
16706
16709
  "semverString": "0.0.18+2682.g421eb182",
16707
- "version": "1.0.133",
16708
- "buildTimestamp": "2025-11-26T22:37:52.449Z"
16710
+ "version": "1.0.134",
16711
+ "buildTimestamp": "2025-11-26T22:49:52.226Z"
16709
16712
  };
16710
16713
  /* tslint:enable */
16711
16714