iptdevs-design-system 2.7.67 → 2.7.68
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-form/cod-form.component.mjs +19 -3
- package/esm2020/lib/cod/steps/cod-form-step-three/cod-form-step-three.component.mjs +14 -4
- package/esm2020/lib/cod/steps/cod-form-step-two/cod-form-step-two.component.mjs +18 -10
- package/esm2020/lib/core/models/commercial/commercial.model.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +11 -1
- package/fesm2015/iptdevs-design-system.mjs +57 -13
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +57 -13
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod/cod-form/cod-form.component.d.ts +5 -0
- package/lib/cod/steps/cod-form-step-three/cod-form-step-three.component.d.ts +3 -1
- package/lib/cod/steps/cod-form-step-two/cod-form-step-two.component.d.ts +2 -1
- package/lib/core/models/commercial/commercial.model.d.ts +34 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +3 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { OnChanges, SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
3
|
import { CreateCODRq } from '../../core/models/cod/cod-rq.model';
|
|
4
4
|
import { CommercialService } from '../../core/services/commercial-service/comercial.service';
|
|
5
|
+
import { CodAditionalInformationRq, CodParentRq } from '../../core/models/commercial/commercial.model';
|
|
5
6
|
import { BaseService } from '../../core/utils/base-service/base.service';
|
|
6
7
|
import { CodFormControls } from '../logic/cod-form-controls';
|
|
7
8
|
import { LocalStorageCODService } from '../logic/local-storage-cod.service';
|
|
@@ -14,6 +15,8 @@ export declare class CodFormComponent implements OnChanges {
|
|
|
14
15
|
dataFromPreviusCodData?: any;
|
|
15
16
|
codCode?: number;
|
|
16
17
|
subscription?: Subscription;
|
|
18
|
+
dataParent?: CodParentRq;
|
|
19
|
+
dataAdicInfo?: CodAditionalInformationRq;
|
|
17
20
|
private allowedRoles;
|
|
18
21
|
currentStep: number;
|
|
19
22
|
formTitle: string;
|
|
@@ -28,6 +31,8 @@ export declare class CodFormComponent implements OnChanges {
|
|
|
28
31
|
getCodbyCode(): void;
|
|
29
32
|
saveFinancingData(data: any[]): void;
|
|
30
33
|
getFormAction(action: string): void;
|
|
34
|
+
getAditionalInfoCod(codeAdicI: number): void;
|
|
35
|
+
getDataParent(codeParent: number): void;
|
|
31
36
|
updateCOD(totalData: any[]): void;
|
|
32
37
|
createCOD(totalData: any[]): void;
|
|
33
38
|
getCreateCODRq(data: any[]): CreateCODRq;
|
|
@@ -8,6 +8,8 @@ export declare class CodFormStepThreeComponent extends CodFormSteps implements O
|
|
|
8
8
|
private fb;
|
|
9
9
|
private parameterService;
|
|
10
10
|
private codFormControls;
|
|
11
|
+
parentData?: any;
|
|
12
|
+
adicinfoData?: any;
|
|
11
13
|
changeStepEvent: EventEmitter<number>;
|
|
12
14
|
globalControls: CodFormControls;
|
|
13
15
|
idTypes: any;
|
|
@@ -31,5 +33,5 @@ export declare class CodFormStepThreeComponent extends CodFormSteps implements O
|
|
|
31
33
|
selectIdTypeParents(value: string): void;
|
|
32
34
|
selectIndicativesParents(value: string): void;
|
|
33
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodFormStepThreeComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CodFormStepThreeComponent, "app-cod-form-step-three", never, {}, { "changeStepEvent": "changeStepEvent"; }, never, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CodFormStepThreeComponent, "app-cod-form-step-three", never, { "parentData": "parentData"; "adicinfoData": "adicinfoData"; }, { "changeStepEvent": "changeStepEvent"; }, never, never>;
|
|
35
37
|
}
|
|
@@ -7,6 +7,7 @@ export declare class CodFormStepTwoComponent extends CodFormSteps implements OnI
|
|
|
7
7
|
private fb;
|
|
8
8
|
private parameterService;
|
|
9
9
|
initialData?: any;
|
|
10
|
+
adicinfoData?: any;
|
|
10
11
|
changeStepEvent: EventEmitter<number>;
|
|
11
12
|
codFormStepTwo: FormGroup;
|
|
12
13
|
countrySelected: any;
|
|
@@ -40,5 +41,5 @@ export declare class CodFormStepTwoComponent extends CodFormSteps implements OnI
|
|
|
40
41
|
selectStratum(stratum: any): void;
|
|
41
42
|
selectCivilStatus(civil_status: any): void;
|
|
42
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodFormStepTwoComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CodFormStepTwoComponent, "app-cod-form-step-two", never, { "initialData": "initialData"; }, { "changeStepEvent": "changeStepEvent"; }, never, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CodFormStepTwoComponent, "app-cod-form-step-two", never, { "initialData": "initialData"; "adicinfoData": "adicinfoData"; }, { "changeStepEvent": "changeStepEvent"; }, never, never>;
|
|
44
45
|
}
|
|
@@ -8,3 +8,37 @@ export interface CodPrices {
|
|
|
8
8
|
fee_number: number;
|
|
9
9
|
quota_price: number;
|
|
10
10
|
}
|
|
11
|
+
export interface ParentByCodeRq {
|
|
12
|
+
parent_code: number | null;
|
|
13
|
+
}
|
|
14
|
+
export interface AdicInfoByCodeRq {
|
|
15
|
+
adic_info: number | null;
|
|
16
|
+
}
|
|
17
|
+
export interface CodAditionalInformationRq {
|
|
18
|
+
code: number;
|
|
19
|
+
grade: string | null;
|
|
20
|
+
program_name: string | null;
|
|
21
|
+
institution_name: string | null;
|
|
22
|
+
occupation: string | null;
|
|
23
|
+
parent_occupation: string | null;
|
|
24
|
+
disability: string | null;
|
|
25
|
+
health_regimen: string | null;
|
|
26
|
+
marketing_reasons: number;
|
|
27
|
+
study_reasons: number;
|
|
28
|
+
observation: string | null;
|
|
29
|
+
head_of_the_family: number;
|
|
30
|
+
afro_descendant: number;
|
|
31
|
+
displaced: number;
|
|
32
|
+
indigenous: number;
|
|
33
|
+
reinserted: number;
|
|
34
|
+
rom_population: number;
|
|
35
|
+
}
|
|
36
|
+
export interface CodParentRq {
|
|
37
|
+
code: number;
|
|
38
|
+
name: string;
|
|
39
|
+
last_name: string;
|
|
40
|
+
id_card_type: number;
|
|
41
|
+
id_card: string;
|
|
42
|
+
phone_indicative: number;
|
|
43
|
+
phone_number: string;
|
|
44
|
+
}
|
|
@@ -3,6 +3,7 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { GetDiscountCouponsRq } from '../../models/payment/payment-rq.model';
|
|
4
4
|
import { CreateCODRq } from '../../models/cod/cod-rq.model';
|
|
5
5
|
import { IPTGeneralService } from '../service-enviroments';
|
|
6
|
+
import { AdicInfoByCodeRq, ParentByCodeRq } from '../../models/commercial/commercial.model';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class CommercialService extends IPTGeneralService {
|
|
8
9
|
private http;
|
|
@@ -14,6 +15,8 @@ export declare class CommercialService extends IPTGeneralService {
|
|
|
14
15
|
getCodHistoryByCourse(request: any): Observable<any>;
|
|
15
16
|
getDiscountCoupons(params: GetDiscountCouponsRq): Observable<any>;
|
|
16
17
|
getCodPricesByAgreement(code: number): Observable<any>;
|
|
18
|
+
getCodParentByCode(params: ParentByCodeRq): Observable<any>;
|
|
19
|
+
getAdicInfoByCode(params: AdicInfoByCodeRq): Observable<any>;
|
|
17
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommercialService, never>;
|
|
18
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<CommercialService>;
|
|
19
22
|
}
|