iptdevs-design-system 2.7.158 → 2.7.159
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 +16 -4
- package/fesm2015/iptdevs-design-system.mjs +15 -3
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +15 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod/cod-documents-section/cod-documents-section.component.d.ts +0 -1
- package/package.json +1 -1
|
@@ -2222,7 +2222,6 @@ class CodDocumentsSectionComponent {
|
|
|
2222
2222
|
this.docAgreement = false;
|
|
2223
2223
|
this.docParent = false;
|
|
2224
2224
|
this.docConfanorte = false;
|
|
2225
|
-
this.visiBtn = ['docStudent', 'docAgreement', 'docParent', 'docConfanorte'];
|
|
2226
2225
|
this.idPdf = [];
|
|
2227
2226
|
this.numDoc = -1;
|
|
2228
2227
|
this.documentsForm = this.fb.group({
|
|
@@ -2238,8 +2237,21 @@ class CodDocumentsSectionComponent {
|
|
|
2238
2237
|
}
|
|
2239
2238
|
catchDocument(event, visible) {
|
|
2240
2239
|
this.numDoc++;
|
|
2241
|
-
|
|
2242
|
-
|
|
2240
|
+
switch (visible) {
|
|
2241
|
+
case 'docStudent':
|
|
2242
|
+
this.docStudent = true;
|
|
2243
|
+
break;
|
|
2244
|
+
case 'docAgreement':
|
|
2245
|
+
this.docAgreement = true;
|
|
2246
|
+
break;
|
|
2247
|
+
case 'docParent':
|
|
2248
|
+
this.docParent = true;
|
|
2249
|
+
break;
|
|
2250
|
+
case 'docConfanorte':
|
|
2251
|
+
this.docConfanorte = true;
|
|
2252
|
+
break;
|
|
2253
|
+
default:
|
|
2254
|
+
break;
|
|
2243
2255
|
}
|
|
2244
2256
|
const fileCatched = event.target.files[0];
|
|
2245
2257
|
let reader = new FileReader();
|