iptdevs-design-system 2.7.159 → 2.7.161
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/esm2020/lib/cod/cod-documents-section/cod-documents-section.component.mjs +42 -22
- package/fesm2015/iptdevs-design-system.mjs +41 -21
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +41 -21
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod/cod-documents-section/cod-documents-section.component.d.ts +9 -2
- package/package.json +1 -1
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export interface DocumentState {
|
|
5
|
+
doc_student: boolean;
|
|
6
|
+
doc_agreement: boolean;
|
|
7
|
+
doc_parent: boolean;
|
|
8
|
+
doc_confanorte: boolean;
|
|
9
|
+
}
|
|
4
10
|
export declare class CodDocumentsSectionComponent implements OnInit {
|
|
5
11
|
private fb;
|
|
6
12
|
documentsForm: FormGroup;
|
|
@@ -12,12 +18,13 @@ export declare class CodDocumentsSectionComponent implements OnInit {
|
|
|
12
18
|
code: number;
|
|
13
19
|
pdfSrc: any;
|
|
14
20
|
numDoc: number;
|
|
21
|
+
documentState: DocumentState;
|
|
15
22
|
constructor(fb: FormBuilder);
|
|
16
23
|
ngOnInit(): void;
|
|
17
24
|
showIdDocument(): void;
|
|
18
|
-
catchDocument(event: any,
|
|
25
|
+
catchDocument(event: any, typeDoc: keyof DocumentState): void;
|
|
19
26
|
filesUploaded(): void;
|
|
20
|
-
clearDocStudent(typeDoc:
|
|
27
|
+
clearDocStudent(typeDoc: keyof DocumentState): void;
|
|
21
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodDocumentsSectionComponent, never>;
|
|
22
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodDocumentsSectionComponent, "ipt-cod-documents-section", never, {}, {}, never, never, false>;
|
|
23
30
|
}
|