iptdevs-design-system 3.1.3110 → 3.1.4367
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-self-managed/cod-form-self-managed/cod-self-managed.component.mjs +1 -1
- package/esm2020/lib/cod-self-managed/cod-self-managed.module.mjs +12 -4
- package/esm2020/lib/cod-self-managed/logic/cod-self-managed-controls.mjs +97 -0
- package/esm2020/lib/cod-self-managed/logic/cod-self-managed-steps.mjs +29 -0
- package/esm2020/lib/cod-self-managed/logic/local-storage-cod.service.mjs +46 -0
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component.mjs +61 -19
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-three/cod-self-form-step-three.component.mjs +8 -4
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-two/cod-self-form-step-two.component.mjs +46 -10
- package/esm2020/lib/components/atoms/select/select.component.mjs +4 -4
- package/esm2020/lib/core/models/budget/budget.model.mjs +1 -1
- package/esm2020/lib/core/services/academic-service/academic.service.mjs +6 -1
- package/esm2020/lib/core/services/attendance-service/attendance.service.mjs +5 -1
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +22 -2
- package/esm2020/public-api.mjs +9 -5
- package/fesm2015/iptdevs-design-system.mjs +313 -37
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +313 -37
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod-self-managed/cod-self-managed.module.d.ts +2 -1
- package/lib/cod-self-managed/logic/cod-self-managed-controls.d.ts +16 -0
- package/lib/cod-self-managed/logic/cod-self-managed-steps.d.ts +15 -0
- package/lib/cod-self-managed/logic/local-storage-cod.service.d.ts +9 -0
- package/lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component.d.ts +11 -4
- package/lib/cod-self-managed/steps/cod-form-step-three/cod-self-form-step-three.component.d.ts +3 -1
- package/lib/cod-self-managed/steps/cod-form-step-two/cod-self-form-step-two.component.d.ts +13 -2
- package/lib/components/atoms/select/select.component.d.ts +1 -1
- package/lib/core/models/budget/budget.model.d.ts +59 -0
- package/lib/core/services/academic-service/academic.service.d.ts +1 -0
- package/lib/core/services/attendance-service/attendance.service.d.ts +1 -0
- package/lib/core/services/budget-service/budget-service.d.ts +4 -1
- package/package.json +1 -1
- package/public-api.d.ts +7 -4
|
@@ -9,8 +9,9 @@ import * as i7 from "../components/components.module";
|
|
|
9
9
|
import * as i8 from "@angular/forms";
|
|
10
10
|
import * as i9 from "primeng/steps";
|
|
11
11
|
import * as i10 from "primeng/button";
|
|
12
|
+
import * as i11 from "primeng/calendar";
|
|
12
13
|
export declare class codSelfManagedModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<codSelfManagedModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<codSelfManagedModule, [typeof i1.CodSelfManagedComponent, typeof i2.CodSelfFormStepOneComponent, typeof i3.CodSelfFormStepTwoComponent, typeof i4.CodSelfFormStepThreeComponent, typeof i5.CodSelfFormStepFourComponent], [typeof i6.CommonModule, typeof i7.ComponentsModule, typeof i8.ReactiveFormsModule, typeof i9.StepsModule, typeof i8.FormsModule, typeof i10.ButtonModule], [typeof i1.CodSelfManagedComponent, typeof i2.CodSelfFormStepOneComponent, typeof i3.CodSelfFormStepTwoComponent, typeof i4.CodSelfFormStepThreeComponent, typeof i5.CodSelfFormStepFourComponent]>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<codSelfManagedModule, [typeof i1.CodSelfManagedComponent, typeof i2.CodSelfFormStepOneComponent, typeof i3.CodSelfFormStepTwoComponent, typeof i4.CodSelfFormStepThreeComponent, typeof i5.CodSelfFormStepFourComponent], [typeof i6.CommonModule, typeof i7.ComponentsModule, typeof i8.ReactiveFormsModule, typeof i9.StepsModule, typeof i8.FormsModule, typeof i10.ButtonModule, typeof i11.CalendarModule], [typeof i1.CodSelfManagedComponent, typeof i2.CodSelfFormStepOneComponent, typeof i3.CodSelfFormStepTwoComponent, typeof i4.CodSelfFormStepThreeComponent, typeof i5.CodSelfFormStepFourComponent]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<codSelfManagedModule>;
|
|
16
17
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface ControlSteps {
|
|
4
|
+
name: string;
|
|
5
|
+
required: boolean;
|
|
6
|
+
description: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class CodSelfManagedControls {
|
|
9
|
+
controls: Array<ControlSteps[]>;
|
|
10
|
+
private $controls;
|
|
11
|
+
constructor();
|
|
12
|
+
getControlValues(): Observable<Array<ControlSteps[]>>;
|
|
13
|
+
changeValue(step: number, controlName: string, newValue: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CodSelfManagedControls, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CodSelfManagedControls>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { ControlSteps } from "./cod-self-managed-controls";
|
|
3
|
+
import { LocalStorageCodSelfMaganedService } from "./local-storage-cod.service";
|
|
4
|
+
export interface localStorageValuesTwo {
|
|
5
|
+
control: string;
|
|
6
|
+
value: any;
|
|
7
|
+
}
|
|
8
|
+
export declare abstract class CodSelfManagedSteps {
|
|
9
|
+
localStorageCOD: LocalStorageCodSelfMaganedService;
|
|
10
|
+
constructor();
|
|
11
|
+
readAndWriteLS(step: number, control: string): localStorageValuesTwo;
|
|
12
|
+
setDataInLocalStorage(step: number, control: string, value: any): void;
|
|
13
|
+
listenFormChanges(step: number, control: string, obs: Observable<any>): void;
|
|
14
|
+
resetLocalStorage(controls: ControlSteps[]): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LocalStorageCodSelfMaganedService {
|
|
3
|
+
constructor();
|
|
4
|
+
getCodFormData(step: number, control: string): string | null;
|
|
5
|
+
setCodFormData(step: number, control: string, value: string): void;
|
|
6
|
+
clearData(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageCodSelfMaganedService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageCodSelfMaganedService>;
|
|
9
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges, OnChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { ParameterService } from '../../../core/services/parameters-service/parameters.service';
|
|
4
|
+
import { CodSelfManagedSteps } from '../../logic/cod-self-managed-steps';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CodSelfFormStepOneComponent implements OnInit {
|
|
6
|
+
export declare class CodSelfFormStepOneComponent extends CodSelfManagedSteps implements OnChanges, OnInit {
|
|
6
7
|
private fb;
|
|
7
8
|
private parameterService;
|
|
8
|
-
|
|
9
|
+
private cdRef;
|
|
10
|
+
user?: any;
|
|
9
11
|
completed: EventEmitter<number>;
|
|
10
12
|
codSelfFormStepOne: FormGroup;
|
|
11
13
|
genders: any[];
|
|
@@ -18,8 +20,10 @@ export declare class CodSelfFormStepOneComponent implements OnInit {
|
|
|
18
20
|
states: any;
|
|
19
21
|
cities: any;
|
|
20
22
|
errorMessage: string;
|
|
21
|
-
|
|
23
|
+
controls: import("../../logic/cod-self-managed-controls").ControlSteps[];
|
|
24
|
+
constructor(fb: FormBuilder, parameterService: ParameterService, cdRef: ChangeDetectorRef);
|
|
22
25
|
ngOnInit(): void;
|
|
26
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
27
|
initForm(): void;
|
|
24
28
|
getParameters(): void;
|
|
25
29
|
setDataUsers(): void;
|
|
@@ -28,9 +32,12 @@ export declare class CodSelfFormStepOneComponent implements OnInit {
|
|
|
28
32
|
selectCity(city: any): void;
|
|
29
33
|
selectIdType(idType: any): void;
|
|
30
34
|
selectGender(gender: any): void;
|
|
35
|
+
selectIndicatives(indicative: any): void;
|
|
31
36
|
sendForm(): void;
|
|
32
37
|
getState(state: any): void;
|
|
33
38
|
getCity(state: any): void;
|
|
39
|
+
startLocalStorageWork(): void;
|
|
40
|
+
showConfirm(): void;
|
|
34
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodSelfFormStepOneComponent, never>;
|
|
35
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodSelfFormStepOneComponent, "app-cod-self-form-step-one", never, { "user": "user"; }, { "completed": "completed"; }, never, never, false>;
|
|
36
43
|
}
|
package/lib/cod-self-managed/steps/cod-form-step-three/cod-self-form-step-three.component.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { CodSelfManagedSteps } from '../../logic/cod-self-managed-steps';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CodSelfFormStepThreeComponent {
|
|
3
|
+
export declare class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
|
|
4
|
+
constructor();
|
|
3
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodSelfFormStepThreeComponent, never>;
|
|
4
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodSelfFormStepThreeComponent, "app-cod-self-form-step-three", never, {}, {}, never, never, false>;
|
|
5
7
|
}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { CodSelfManagedSteps } from '../../logic/cod-self-managed-steps';
|
|
3
|
+
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CodSelfFormStepTwoComponent {
|
|
5
|
+
export declare class CodSelfFormStepTwoComponent extends CodSelfManagedSteps implements OnChanges, OnInit {
|
|
6
|
+
private fb;
|
|
7
|
+
private cdRef;
|
|
4
8
|
completed: EventEmitter<number>;
|
|
9
|
+
codSelfFormStepTwo: FormGroup;
|
|
10
|
+
controls: import("../../logic/cod-self-managed-controls").ControlSteps[];
|
|
11
|
+
constructor(fb: FormBuilder, cdRef: ChangeDetectorRef);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnChanges(): void;
|
|
14
|
+
initForm(): void;
|
|
5
15
|
back(): void;
|
|
6
16
|
sendForm(): void;
|
|
17
|
+
startLocalStorageWork(): void;
|
|
7
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodSelfFormStepTwoComponent, never>;
|
|
8
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodSelfFormStepTwoComponent, "app-cod-self-form-step-two", never, {}, { "completed": "completed"; }, never, never, false>;
|
|
9
20
|
}
|
|
@@ -15,10 +15,10 @@ export declare class SelectComponent {
|
|
|
15
15
|
eventSelect: EventEmitter<string>;
|
|
16
16
|
set control(value: AbstractControl);
|
|
17
17
|
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
+
ngOnInit(): void;
|
|
18
19
|
seleccionar(evt: string): void;
|
|
19
20
|
private setBinding;
|
|
20
21
|
click(value: MouseEvent): void;
|
|
21
|
-
ngOnInit(): void;
|
|
22
22
|
get textClass(): string;
|
|
23
23
|
get labelClass(): string;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
@@ -351,3 +351,62 @@ export interface NameCommonExpenses {
|
|
|
351
351
|
name: string;
|
|
352
352
|
token: string;
|
|
353
353
|
}
|
|
354
|
+
export interface IObtainPaymentTranHistoryRq {
|
|
355
|
+
token: string;
|
|
356
|
+
course_code: number;
|
|
357
|
+
}
|
|
358
|
+
export interface IObtainPaymentTranHistoryRs {
|
|
359
|
+
code: number;
|
|
360
|
+
document: number;
|
|
361
|
+
full_name: string;
|
|
362
|
+
phone: string;
|
|
363
|
+
email: string;
|
|
364
|
+
overdue_payments: IOverduePaymentsRs;
|
|
365
|
+
outstanding_payments: IOutstandingPaymentsRs;
|
|
366
|
+
payments_made: number;
|
|
367
|
+
previos_course: null | number;
|
|
368
|
+
color_due: string;
|
|
369
|
+
fuldataCourse: IFuldataCourseRs;
|
|
370
|
+
}
|
|
371
|
+
export interface IOutstandingPaymentsRs {
|
|
372
|
+
outstanding_payments: number;
|
|
373
|
+
number_installments: number;
|
|
374
|
+
}
|
|
375
|
+
export interface IOverduePaymentsRs {
|
|
376
|
+
Overdue_payments: number;
|
|
377
|
+
number_installments: number;
|
|
378
|
+
}
|
|
379
|
+
export interface IFuldataCourseRs {
|
|
380
|
+
code: number;
|
|
381
|
+
course_schedule: string[];
|
|
382
|
+
teacher: string;
|
|
383
|
+
course_type: ICourseTypeCluAndTheRs;
|
|
384
|
+
to_start: Date;
|
|
385
|
+
start_date: Date;
|
|
386
|
+
finish_date: Date;
|
|
387
|
+
capacity: number;
|
|
388
|
+
more_days: null;
|
|
389
|
+
english_level: string;
|
|
390
|
+
agreement: string;
|
|
391
|
+
course_modality: ICourseModalityRq;
|
|
392
|
+
is_renovation: number;
|
|
393
|
+
is_from: null;
|
|
394
|
+
is_club: number;
|
|
395
|
+
is_visible: number;
|
|
396
|
+
created_at: Date;
|
|
397
|
+
}
|
|
398
|
+
export interface ICourseTypeCluAndTheRs {
|
|
399
|
+
code: number;
|
|
400
|
+
name: string;
|
|
401
|
+
label: string;
|
|
402
|
+
number_class: number;
|
|
403
|
+
number_class_club: number;
|
|
404
|
+
academic_plan: string;
|
|
405
|
+
theory_classes: number;
|
|
406
|
+
club_classes: number;
|
|
407
|
+
}
|
|
408
|
+
export interface IObtainPaymentTranHistoryByCodRq {
|
|
409
|
+
token: string;
|
|
410
|
+
course_code: number;
|
|
411
|
+
cod_code: number;
|
|
412
|
+
}
|
|
@@ -33,6 +33,7 @@ export declare class AcademicService extends IPTGeneralService {
|
|
|
33
33
|
obtainCourseTheoryByCode(courseCode: number): Observable<any>;
|
|
34
34
|
obtainCoursesTheoryByDiffParametersForNotes(params: IObtainCoursesByDifferentParametersRq): Observable<any>;
|
|
35
35
|
obtainCoursesByTypeCoursesInCreatdCourseRs(params: IParamsObtainCoursesByTypeCourseInCreatedCoursesRs): Observable<any>;
|
|
36
|
+
obtainAllCodAirByCourse(params: GetStudentsByCourseRq): Observable<any>;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AcademicService, never>;
|
|
37
38
|
static ɵprov: i0.ɵɵInjectableDeclaration<AcademicService>;
|
|
38
39
|
}
|
|
@@ -26,6 +26,7 @@ export declare class AttendanceService extends IPTGeneralService {
|
|
|
26
26
|
obtainCourseEventByCode(code: number): Observable<IServiceAllDataAttendanceRq>;
|
|
27
27
|
obtainFullDataAttendanceByCode(code: number): Observable<IServiceAllDataAttendanceRq>;
|
|
28
28
|
UpdateIndividualAttendance(params: IUpdateAttendacenByCodeRq): Observable<Response>;
|
|
29
|
+
exportExcelAttendance(codeStudent: number): Observable<any>;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttendanceService, never>;
|
|
30
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<AttendanceService>;
|
|
31
32
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } 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 } from '../../models/budget/budget.model';
|
|
3
|
+
import { getdiscountAllRq, DiscountRq, DiscountUpdateRq, IObtainAllCoursewallet, IAssignRequestRq, IObtainAvailableCourseRs, IGetCodByPaymentPlanRq, IUpdateAmountCodPaymentsRq, IParamsUpdateDateCodPaymentsRq, ICancelStudentReceiptRq, ICancelledReceiptByDateRq, IPaymentsReceivedByUserRq, IObtainCourseByCoodDiffParamRq, NameCommonExpenses, IObtainPaymentTranHistoryRq } from '../../models/budget/budget.model';
|
|
4
4
|
import { IFullCodStudentOverdueByCoordinatorRq, IPaymentOverdueByCoordinatorCourseRq, IPaymentOverdueByCoordinatorRq, PaymentBillRq2, PriceByTypeServiceRq } from '../../models/payment/payment-rq.model';
|
|
5
5
|
import { IgetCoursesFinishAndunassignedRq } from '../../models/reports/reports.model';
|
|
6
6
|
import { IPTGeneralService } from '../service-enviroments';
|
|
@@ -52,6 +52,9 @@ export declare class BudgetService extends IPTGeneralService {
|
|
|
52
52
|
obtainCoursesByCoordAndDiffParam(params: IObtainCourseByCoodDiffParamRq): Observable<any>;
|
|
53
53
|
getAllCommonExpenses(): Observable<any>;
|
|
54
54
|
createCommmonExpenses(param: NameCommonExpenses): Observable<any>;
|
|
55
|
+
obtainCodAndStatusApprovedLevelByGroup(param: NameCommonExpenses): Observable<any>;
|
|
56
|
+
obtainStudentPaymentTransactionHistoryByCourse(param: IObtainPaymentTranHistoryRq): Observable<any>;
|
|
57
|
+
obtainPaymentTransactionHistoryByCod(param: IObtainPaymentTranHistoryRq): Observable<any>;
|
|
55
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<BudgetService, never>;
|
|
56
59
|
static ɵprov: i0.ɵɵInjectableDeclaration<BudgetService>;
|
|
57
60
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -83,7 +83,10 @@ export * from "./lib/cod/steps/cod-form-step-four/cod-form-step-four.component";
|
|
|
83
83
|
export * from "./lib/cod/steps/cod-form-step-five/cod-form-step-five.component";
|
|
84
84
|
export * from "./lib/cod-self-managed/cod-self-managed.module";
|
|
85
85
|
export * from "./lib/cod-self-managed/cod-form-self-managed/cod-self-managed.component";
|
|
86
|
-
export * from "./lib/cod-self-managed
|
|
87
|
-
export * from "./lib/cod-self-managed
|
|
88
|
-
export * from "./lib/cod-self-managed
|
|
89
|
-
export * from "./lib/cod-self-managed
|
|
86
|
+
export * from "./lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component";
|
|
87
|
+
export * from "./lib/cod-self-managed/steps/cod-form-step-two/cod-self-form-step-two.component";
|
|
88
|
+
export * from "./lib/cod-self-managed/steps/cod-form-step-three/cod-self-form-step-three.component";
|
|
89
|
+
export * from "./lib/cod-self-managed/steps/cod-form-step-four/cod-self-form-step-four.component";
|
|
90
|
+
export * from "./lib/cod-self-managed/logic/cod-self-managed-controls";
|
|
91
|
+
export * from "./lib/cod-self-managed/logic/cod-self-managed-steps";
|
|
92
|
+
export * from "./lib/cod-self-managed/logic/local-storage-cod.service";
|