iptdevs-design-system 3.1.926 → 3.1.928
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/core/models/academic/academic.component.mjs +1 -1
- package/esm2020/lib/core/models/attendance/attendance.interface.mjs +1 -1
- package/esm2020/lib/core/services/academic-service/academic.service.mjs +1 -11
- package/esm2020/lib/core/services/attendance-service/attendance.service.mjs +16 -1
- package/fesm2015/iptdevs-design-system.mjs +15 -10
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +15 -10
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/academic/academic.component.d.ts +0 -15
- package/lib/core/models/attendance/attendance.interface.d.ts +46 -0
- package/lib/core/services/academic-service/academic.service.d.ts +1 -3
- package/lib/core/services/attendance-service/attendance.service.d.ts +4 -1
- package/package.json +1 -1
|
@@ -246,18 +246,3 @@ export interface ITeacherCourseRs {
|
|
|
246
246
|
last_name: string;
|
|
247
247
|
full_name: string;
|
|
248
248
|
}
|
|
249
|
-
export interface AddIndividualAttendanceRq {
|
|
250
|
-
params: {
|
|
251
|
-
token: string;
|
|
252
|
-
course_event: number;
|
|
253
|
-
cod_code: number;
|
|
254
|
-
is_attended: number;
|
|
255
|
-
observation: string;
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
export interface DeleteIndividualAttendanceRq {
|
|
259
|
-
params: {
|
|
260
|
-
token: string;
|
|
261
|
-
attendance_code: number;
|
|
262
|
-
};
|
|
263
|
-
}
|
|
@@ -156,3 +156,49 @@ export interface CourseEvent {
|
|
|
156
156
|
name_event: string;
|
|
157
157
|
description_event: string;
|
|
158
158
|
}
|
|
159
|
+
export interface Event2 {
|
|
160
|
+
code: number;
|
|
161
|
+
course_code: number;
|
|
162
|
+
date_event: Date;
|
|
163
|
+
name_event: string;
|
|
164
|
+
description_event: string;
|
|
165
|
+
attendances_report: AttendancesReport2[] | null;
|
|
166
|
+
}
|
|
167
|
+
export interface AttendancesReport2 {
|
|
168
|
+
code?: number;
|
|
169
|
+
cod_code: number;
|
|
170
|
+
course_event?: number;
|
|
171
|
+
student_name: string;
|
|
172
|
+
is_attended: number;
|
|
173
|
+
observation: string;
|
|
174
|
+
}
|
|
175
|
+
export interface CourseAttendance2 {
|
|
176
|
+
events: Event2[] | null;
|
|
177
|
+
}
|
|
178
|
+
export interface IAttendanceTakenRq {
|
|
179
|
+
student_code: string;
|
|
180
|
+
attended: string;
|
|
181
|
+
observation: string;
|
|
182
|
+
}
|
|
183
|
+
export interface IRegisterNewAttendanceRq {
|
|
184
|
+
token: string;
|
|
185
|
+
attendance_taken: IAttendanceTakenRq[];
|
|
186
|
+
course_code: number;
|
|
187
|
+
course_event: number;
|
|
188
|
+
}
|
|
189
|
+
export interface ApiResponse {
|
|
190
|
+
status: number;
|
|
191
|
+
message?: string;
|
|
192
|
+
data?: any;
|
|
193
|
+
}
|
|
194
|
+
export interface AddIndividualAttendanceRq {
|
|
195
|
+
token: string;
|
|
196
|
+
course_event: number;
|
|
197
|
+
cod_code: number;
|
|
198
|
+
is_attended: number;
|
|
199
|
+
observation: string;
|
|
200
|
+
}
|
|
201
|
+
export interface DeleteIndividualAttendanceRq {
|
|
202
|
+
token: string;
|
|
203
|
+
attendance_code: number;
|
|
204
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { IPTGeneralService } from '../service-enviroments';
|
|
4
|
-
import { GetCourseByTypeRq, GetStudentByCourse, GetLastStudentCodRq, GetStudentByTeacherRq, GetAllStudentByTeacherRq, ClassRoomRQI, IManageCreatedScherduleEventsRq, IParamsObtainCoursesByTypeCourseInCreatedCoursesRs, IgetAvailableCoursesByLevStaModalRq, IGetCoursesAvailableForExchangeRq
|
|
4
|
+
import { GetCourseByTypeRq, GetStudentByCourse, GetLastStudentCodRq, GetStudentByTeacherRq, GetAllStudentByTeacherRq, ClassRoomRQI, IManageCreatedScherduleEventsRq, IParamsObtainCoursesByTypeCourseInCreatedCoursesRs, IgetAvailableCoursesByLevStaModalRq, IGetCoursesAvailableForExchangeRq } from '../../models/academic/academic.component';
|
|
5
5
|
import { UserTokenRq } from '../../models/user/user-rq.model';
|
|
6
6
|
import { GetStudentsByCourseRq } from '../../models/student/student.interface';
|
|
7
7
|
import { GetCodByStudentCourseRq } from '../../models/cod/cod-rq.model';
|
|
@@ -49,8 +49,6 @@ export declare class AcademicService extends IPTGeneralService {
|
|
|
49
49
|
obtainCoursesAvailableSpacesAndClassesViewed(param: IgetAvailableCoursesByLevStaModalRq): Observable<any>;
|
|
50
50
|
getCoursesAvailableForStudentChange(param: IGetCoursesAvailableForExchangeRq): Observable<any>;
|
|
51
51
|
changeOfStudentGroup(param: IChangeOfStudentGroupRq): Observable<any>;
|
|
52
|
-
addIndividualAttendance(param: AddIndividualAttendanceRq): Observable<any>;
|
|
53
|
-
deleteIndividualAttendance(param: DeleteIndividualAttendanceRq): Observable<any>;
|
|
54
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<AcademicService, never>;
|
|
55
53
|
static ɵprov: i0.ɵɵInjectableDeclaration<AcademicService>;
|
|
56
54
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Response } from '../../models/response/response.interface';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { AddEventByCourseRq, CourseAttendance, GetEventByCodeRq, GetEventsByCourseCodeRq, GetNotAttendancesByCodRq, IRegisterNewAttendanceRq, IServiceAllDataAttendanceRq, IUpdateAttendacenByCodeRq, RegisterNewAttendanceByEventRq } from '../../models/attendance/attendance.interface';
|
|
4
|
+
import { AddEventByCourseRq, CourseAttendance, GetEventByCodeRq, GetEventsByCourseCodeRq, GetNotAttendancesByCodRq, IRegisterNewAttendanceRq, IServiceAllDataAttendanceRq, IUpdateAttendacenByCodeRq, RegisterNewAttendanceByEventRq, AddIndividualAttendanceRq, DeleteIndividualAttendanceRq } from '../../models/attendance/attendance.interface';
|
|
5
5
|
import { IPTGeneralService } from '../service-enviroments';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AttendanceService extends IPTGeneralService {
|
|
@@ -27,6 +27,9 @@ export declare class AttendanceService extends IPTGeneralService {
|
|
|
27
27
|
obtainFullDataAttendanceByCode(code: number): Observable<IServiceAllDataAttendanceRq>;
|
|
28
28
|
UpdateIndividualAttendance(params: IUpdateAttendacenByCodeRq): Observable<Response>;
|
|
29
29
|
exportExcelAttendance(codeStudent: number): Observable<any>;
|
|
30
|
+
updateAttendanceByEvent(params: IRegisterNewAttendanceRq): Observable<Response>;
|
|
31
|
+
addIndividualAttendance(param: AddIndividualAttendanceRq): Observable<any>;
|
|
32
|
+
deleteIndividualAttendance(param: DeleteIndividualAttendanceRq): Observable<any>;
|
|
30
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttendanceService, never>;
|
|
31
34
|
static ɵprov: i0.ɵɵInjectableDeclaration<AttendanceService>;
|
|
32
35
|
}
|