sf-documents 0.1.11 → 0.1.12

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.
@@ -32,6 +32,9 @@ export declare class FolderFilesComponent implements OnChanges, OnDestroy {
32
32
  fallido: number;
33
33
  };
34
34
  loading: boolean;
35
+ /** Error de la última carga de archivos; se muestra con "Reintentar" en lugar de la lista. */
36
+ loadError: string | null;
37
+ private filesSub?;
35
38
  allSelected: boolean;
36
39
  pageSizeOptions: {
37
40
  label: string;
@@ -104,6 +104,15 @@ export declare class SfDocumentsComponent implements OnChanges {
104
104
  generateDocument(): void;
105
105
  private toYYYYMMDD;
106
106
  onDocTypeChange(): void;
107
+ /**
108
+ * `required` viene de JCONFIGURACION (query.params) sin esquema: se acepta true, 1 y
109
+ * "true"/"1"/"s"/"si"/"sí" en texto; cualquier otra cosa (false, "false", ausente) es
110
+ * opcional. No aplica a los bit: arrancan en false, que ya es un valor.
111
+ */
112
+ isRequired(p: any): boolean;
113
+ /** Vacío para la validación y el envío: null, undefined o texto en blanco (0 y false no). */
114
+ private isEmpty;
115
+ isBoolean(p: any): boolean;
107
116
  openVisorDoc(item: any): void;
108
117
  openCurrentInNewWindow(path?: string): void;
109
118
  canPreview(label?: string, path?: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sf-documents",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^19.2.0",
6
6
  "@angular/common": "^19.2.0",