iptdevs-design-system 3.2.168 → 3.2.170
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 +26 -13
- package/esm2020/lib/cod/logic/cod-form-controls.mjs +2 -1
- package/esm2020/lib/cod/steps/cod-form-step-four/cod-form-step-four.component.mjs +3 -2
- package/esm2020/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.mjs +74 -13
- package/esm2020/lib/core/models/budget/budget.model.mjs +1 -1
- package/esm2020/lib/core/models/cod/cod-rq.model.mjs +1 -1
- package/esm2020/lib/core/models/commercial/commercial.model.mjs +1 -1
- package/esm2020/lib/core/models/parameters/parameters-rs.model.mjs +1 -1
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +11 -1
- package/fesm2015/iptdevs-design-system.mjs +102 -17
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +98 -15
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod/cod-form/cod-form.component.d.ts +7 -2
- package/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.d.ts +13 -2
- package/lib/core/models/budget/budget.model.d.ts +17 -0
- package/lib/core/models/cod/cod-rq.model.d.ts +1 -0
- package/lib/core/models/commercial/commercial.model.d.ts +1 -0
- package/lib/core/models/parameters/parameters-rs.model.d.ts +1 -0
- package/lib/core/services/budget-service/budget-service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
+
import { StorageService } from '../../core/services/storage-service/storage-service';
|
|
3
4
|
import { CreateCODRq, IUpdateCODRq } from '../../core/models/cod/cod-rq.model';
|
|
4
5
|
import { CommercialService } from '../../core/services/commercial-service/comercial.service';
|
|
5
6
|
import { BaseService } from '../../core/utils/base-service/base.service';
|
|
@@ -14,12 +15,14 @@ export declare class CodFormComponent implements OnChanges, OnDestroy {
|
|
|
14
15
|
private codFormControls;
|
|
15
16
|
private commercialService;
|
|
16
17
|
private parameterService;
|
|
18
|
+
private storageService;
|
|
17
19
|
dataFromPreviusCodData?: any;
|
|
18
20
|
courseSelect?: any;
|
|
19
21
|
isNewCod: boolean;
|
|
20
22
|
editCod: boolean;
|
|
21
23
|
CourseSelectRenovation: any;
|
|
22
24
|
isRenovation?: boolean;
|
|
25
|
+
selectCampus?: number;
|
|
23
26
|
okCreatedCOD: EventEmitter<Boolean>;
|
|
24
27
|
okDataCreatedCOD: EventEmitter<any>;
|
|
25
28
|
subscription?: Subscription;
|
|
@@ -33,7 +36,8 @@ export declare class CodFormComponent implements OnChanges, OnDestroy {
|
|
|
33
36
|
loaderMessage: string;
|
|
34
37
|
codCreationSubscription: Subscription | null;
|
|
35
38
|
parametersAll?: IParametersAllRs;
|
|
36
|
-
|
|
39
|
+
userCampus: number;
|
|
40
|
+
constructor(baseService: BaseService, localStorageCOD: LocalStorageCODService, codFormControls: CodFormControls, commercialService: CommercialService, parameterService: ParameterService, storageService: StorageService);
|
|
37
41
|
ngOnChanges(changes: SimpleChanges): void;
|
|
38
42
|
ngOnDestroy(): void;
|
|
39
43
|
allowedRole(): boolean;
|
|
@@ -47,6 +51,7 @@ export declare class CodFormComponent implements OnChanges, OnDestroy {
|
|
|
47
51
|
changeStep(step: number): void;
|
|
48
52
|
parseNumber(value: any): number | null;
|
|
49
53
|
getParameters(): void;
|
|
54
|
+
isMainCampus(): boolean;
|
|
50
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodFormComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CodFormComponent, "ipt-cod-form", never, { "dataFromPreviusCodData": "dataFromPreviusCodData"; "courseSelect": "courseSelect"; "isNewCod": "isNewCod"; "editCod": "editCod"; "CourseSelectRenovation": "CourseSelectRenovation"; "isRenovation": "isRenovation"; }, { "okCreatedCOD": "okCreatedCOD"; "okDataCreatedCOD": "okDataCreatedCOD"; }, never, never, false>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CodFormComponent, "ipt-cod-form", never, { "dataFromPreviusCodData": "dataFromPreviusCodData"; "courseSelect": "courseSelect"; "isNewCod": "isNewCod"; "editCod": "editCod"; "CourseSelectRenovation": "CourseSelectRenovation"; "isRenovation": "isRenovation"; "selectCampus": "selectCampus"; }, { "okCreatedCOD": "okCreatedCOD"; "okDataCreatedCOD": "okDataCreatedCOD"; }, never, never, false>;
|
|
52
57
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, SimpleChanges, OnChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ParameterService } from '../../../core/services/parameters-service/parameters.service';
|
|
3
|
+
import { IGetCampusDetailListRs } from '../../../core/models/commercial/commercial.model';
|
|
2
4
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
5
|
import { CopiesService } from '../../../core/services/copies.service';
|
|
4
6
|
import { CourseService } from '../../../core/services/course-service/course-service.model';
|
|
@@ -6,6 +8,7 @@ import { BaseService } from '../../../core/utils/base-service/base.service';
|
|
|
6
8
|
import { CodFormSteps } from '../../logic/cod-form-steps';
|
|
7
9
|
import { CommunicatorService } from '../../logic/communicator.service';
|
|
8
10
|
import { IAgreementRs, ICourseTypeRs, IParametersAllRs } from '../../../core/models/parameters/parameters-rs.model';
|
|
11
|
+
import { StorageService } from '../../../core/services/storage-service/storage-service';
|
|
9
12
|
import * as i0 from "@angular/core";
|
|
10
13
|
export declare class CodFormStepOneComponent extends CodFormSteps implements OnChanges {
|
|
11
14
|
private fb;
|
|
@@ -13,6 +16,8 @@ export declare class CodFormStepOneComponent extends CodFormSteps implements OnC
|
|
|
13
16
|
private baseService;
|
|
14
17
|
private courseService;
|
|
15
18
|
private communicatorService;
|
|
19
|
+
private parameterService;
|
|
20
|
+
private storageService;
|
|
16
21
|
private cdRef;
|
|
17
22
|
initialData?: any;
|
|
18
23
|
dataPreviusCodData?: any;
|
|
@@ -20,6 +25,7 @@ export declare class CodFormStepOneComponent extends CodFormSteps implements OnC
|
|
|
20
25
|
courseSelectRenovation?: any;
|
|
21
26
|
isRenovation?: any;
|
|
22
27
|
parametersAll?: IParametersAllRs;
|
|
28
|
+
campus: number;
|
|
23
29
|
changeStepEvent: EventEmitter<number>;
|
|
24
30
|
copies: any;
|
|
25
31
|
codFormStepOne: FormGroup;
|
|
@@ -32,7 +38,9 @@ export declare class CodFormStepOneComponent extends CodFormSteps implements OnC
|
|
|
32
38
|
plans: any;
|
|
33
39
|
isDisabledSel: boolean;
|
|
34
40
|
controls: import("../../logic/cod-form-controls").Control[];
|
|
35
|
-
|
|
41
|
+
campusList: IGetCampusDetailListRs[];
|
|
42
|
+
userCampus: number;
|
|
43
|
+
constructor(fb: FormBuilder, copiesService: CopiesService, baseService: BaseService, courseService: CourseService, communicatorService: CommunicatorService, parameterService: ParameterService, storageService: StorageService, cdRef: ChangeDetectorRef);
|
|
36
44
|
ngOnChanges(changes: SimpleChanges): void;
|
|
37
45
|
private handleDataChanges;
|
|
38
46
|
private processData;
|
|
@@ -46,6 +54,7 @@ export declare class CodFormStepOneComponent extends CodFormSteps implements OnC
|
|
|
46
54
|
sendForm(): void;
|
|
47
55
|
resetForm(): void;
|
|
48
56
|
selectAcademicPlan(academic_plan: string): void;
|
|
57
|
+
selectCampus(campus: string): void;
|
|
49
58
|
getCourseType(plan: number): void;
|
|
50
59
|
getAgreementByPlan(plan: number): void;
|
|
51
60
|
selectCoursesTypesByPlan(coursesTypes: any): void;
|
|
@@ -55,6 +64,8 @@ export declare class CodFormStepOneComponent extends CodFormSteps implements OnC
|
|
|
55
64
|
private validRequest;
|
|
56
65
|
getAvailibleCourses(): void;
|
|
57
66
|
setValueStepFour(): void;
|
|
67
|
+
obtainCampus(): void;
|
|
68
|
+
canSelectCampus(): boolean;
|
|
58
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodFormStepOneComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CodFormStepOneComponent, "app-cod-form-step-one", never, { "initialData": "initialData"; "dataPreviusCodData": "dataPreviusCodData"; "isEditCod": "isEditCod"; "courseSelectRenovation": "courseSelectRenovation"; "isRenovation": "isRenovation"; "parametersAll": "parametersAll"; }, { "changeStepEvent": "changeStepEvent"; }, never, never, false>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CodFormStepOneComponent, "app-cod-form-step-one", never, { "initialData": "initialData"; "dataPreviusCodData": "dataPreviusCodData"; "isEditCod": "isEditCod"; "courseSelectRenovation": "courseSelectRenovation"; "isRenovation": "isRenovation"; "parametersAll": "parametersAll"; "campus": "campus"; }, { "changeStepEvent": "changeStepEvent"; }, never, never, false>;
|
|
60
71
|
}
|
|
@@ -1265,4 +1265,21 @@ export interface ISearchForStudentsByDifferentParametersAndCampusRq {
|
|
|
1265
1265
|
campus: number;
|
|
1266
1266
|
user: string;
|
|
1267
1267
|
}
|
|
1268
|
+
export interface IObtainCourseWalletSummaryByCampusAndUserStatusRq {
|
|
1269
|
+
token: string;
|
|
1270
|
+
coordinator: number;
|
|
1271
|
+
course_status: number;
|
|
1272
|
+
modality: number;
|
|
1273
|
+
campus: number;
|
|
1274
|
+
year: null;
|
|
1275
|
+
english_level: IEnglishLevelRq[];
|
|
1276
|
+
}
|
|
1277
|
+
export interface IObtainCampusSummaryByUserCodeRq {
|
|
1278
|
+
user_code: number;
|
|
1279
|
+
}
|
|
1280
|
+
export interface IObtainCampusSummaryByUserCodeRs {
|
|
1281
|
+
campus_code: number;
|
|
1282
|
+
campus_name: string;
|
|
1283
|
+
total_courses: number;
|
|
1284
|
+
}
|
|
1268
1285
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { getdiscountAllRq, DiscountRq, DiscountUpdateRq, IObtainAllCoursewallet, IAssignRequestRq, IObtainAvailableCourseRs, IGetCodByPaymentPlanRq, IUpdateAmountCodPaymentsRq, IParamsUpdateDateCodPaymentsRq, ICancelStudentReceiptRq, ICancelledReceiptByDateRq, IPaymentsReceivedByUserRq, IObtainCourseByCoodDiffParamRq, NameCommonExpenses, IObtainPaymentTranHistoryRq, IObtainStudentPaymentByDiffParamRq, InfoCashClosingRq, IcashClosingDateRq, IcashClosingRq, IpaymentBillEgressRq, IncomesAndEgressRq, IObatinDetailedIncomeByUserAndDateRq, SendEmailPayment, SendEmailPaymentCancellationRS, IPaymentCorrelativeRq, IObtainGatewayPaymentRecordRq, IUpdateEpaycoPaymentRq, IElectronicInvoiceRS, IAccountsBalanceRq, IGetFullPaymentInformationRq, IGetFullPaymentInformationRs, ISearchPaymentBillRq, ISearchPaymentBillRs, IGetSummaryByCoordinatorRq, IAddNewQuotaWithCommentsRq, IDeleteQuotaRecordWithCommentsRq, IModifyQuotaDataWithCommentsRq, IEditInstallmentAmounWithCommentsRq, ICoursePaymentRangeReportRq, ICoursePaymentRangeReportRs, IPreviewModifyPaymentPlanRq, ISaveModifiedPaymentPlanRq, IStudentsWithOverdueFeesByCoordinatorRq, IGetAllDiscountWithModalityBySegmentRq, ICreateDiscountWithSegmentRq, IObtainStudentInfoSerchRq, ISearchForStudentsByDifferentParametersAndCampusRq } from '../../models/budget/budget.model';
|
|
3
|
+
import { getdiscountAllRq, DiscountRq, DiscountUpdateRq, IObtainAllCoursewallet, IAssignRequestRq, IObtainAvailableCourseRs, IGetCodByPaymentPlanRq, IUpdateAmountCodPaymentsRq, IParamsUpdateDateCodPaymentsRq, ICancelStudentReceiptRq, ICancelledReceiptByDateRq, IPaymentsReceivedByUserRq, IObtainCourseByCoodDiffParamRq, NameCommonExpenses, IObtainPaymentTranHistoryRq, IObtainStudentPaymentByDiffParamRq, InfoCashClosingRq, IcashClosingDateRq, IcashClosingRq, IpaymentBillEgressRq, IncomesAndEgressRq, IObatinDetailedIncomeByUserAndDateRq, SendEmailPayment, SendEmailPaymentCancellationRS, IPaymentCorrelativeRq, IObtainGatewayPaymentRecordRq, IUpdateEpaycoPaymentRq, IElectronicInvoiceRS, IAccountsBalanceRq, IGetFullPaymentInformationRq, IGetFullPaymentInformationRs, ISearchPaymentBillRq, ISearchPaymentBillRs, IGetSummaryByCoordinatorRq, IAddNewQuotaWithCommentsRq, IDeleteQuotaRecordWithCommentsRq, IModifyQuotaDataWithCommentsRq, IEditInstallmentAmounWithCommentsRq, ICoursePaymentRangeReportRq, ICoursePaymentRangeReportRs, IPreviewModifyPaymentPlanRq, ISaveModifiedPaymentPlanRq, IStudentsWithOverdueFeesByCoordinatorRq, IGetAllDiscountWithModalityBySegmentRq, ICreateDiscountWithSegmentRq, IObtainStudentInfoSerchRq, ISearchForStudentsByDifferentParametersAndCampusRq, IObtainCampusSummaryByUserCodeRq, IObtainCourseWalletSummaryByCampusAndUserStatusRq } from '../../models/budget/budget.model';
|
|
4
4
|
import { IFullCodStudentOverdueByCoordinatorRq, IPaymentOverdueByCoordinatorCourseRq, IPaymentOverdueByCoordinatorRq, IPaymentReferenceRq, ITransferAssignImage, ITransferCreateRq, ITransferDeleteRq, ITransferGetAllRq, ITransferGetRq, ITransferSearchRq, ITransferShowImageRq, ITransferStatusUpdateRq, ITransferUpdateRq, PaymentBillRq2, PriceByTypeServiceRq, IDeleteCodPaymentsRq, ICreateCodPaymentsRq, ITransferStatusUpdateRequestRq, IUpdateElectronicInvoiceRq, IValidationOfTransfersByNumberRq, IGetDiscountCouponInformationRq } from '../../models/payment/payment-rq.model';
|
|
5
5
|
import { IgetCoursesFinishAndunassignedRq } from '../../models/reports/reports.model';
|
|
6
6
|
import { IPTGeneralService } from '../service-enviroments';
|
|
@@ -141,6 +141,8 @@ export declare class BudgetService extends IPTGeneralService {
|
|
|
141
141
|
getAllDiscountWithModalityBySegment(param: IGetAllDiscountWithModalityBySegmentRq): Observable<any>;
|
|
142
142
|
createDiscountWithSegment(param: ICreateDiscountWithSegmentRq): Observable<any>;
|
|
143
143
|
searchForStudentsByDifferentParametersAndCampus(param: ISearchForStudentsByDifferentParametersAndCampusRq): Observable<any>;
|
|
144
|
+
obtainCourseWalletSummaryByCampusAndUserStatus(param: IObtainCourseWalletSummaryByCampusAndUserStatusRq): Observable<any>;
|
|
145
|
+
obtainCampusSummaryByUserCode(param: IObtainCampusSummaryByUserCodeRq): Observable<any>;
|
|
144
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<BudgetService, never>;
|
|
145
147
|
static ɵprov: i0.ɵɵInjectableDeclaration<BudgetService>;
|
|
146
148
|
}
|