iptdevs-design-system 3.1.297 → 3.1.299
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/cronogram/cronogram.models.mjs +1 -1
- package/esm2020/lib/core/services/calendar-service/calendar.service.mjs +11 -1
- package/esm2020/lib/core/services/user-service/user-service.mjs +5 -1
- package/fesm2015/iptdevs-design-system.mjs +14 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +14 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/cronogram/cronogram.models.d.ts +15 -0
- package/lib/core/services/calendar-service/calendar.service.d.ts +3 -1
- package/lib/core/services/user-service/user-service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -894,6 +894,10 @@ class UserService extends IPTGeneralService {
|
|
|
894
894
|
this.generateRequestParams(token);
|
|
895
895
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
896
896
|
}
|
|
897
|
+
obtainTeachersAvailableToTeach() {
|
|
898
|
+
let serviceUrl = this.SERVICE_URL + 'get/obtain/teachers/available/to/teach';
|
|
899
|
+
return this.http.get(serviceUrl);
|
|
900
|
+
}
|
|
897
901
|
}
|
|
898
902
|
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
899
903
|
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
@@ -1004,6 +1008,16 @@ class CalendarService extends IPTGeneralService {
|
|
|
1004
1008
|
this.generateRequestParams(params);
|
|
1005
1009
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
1006
1010
|
}
|
|
1011
|
+
obtainAvailableCourseDays(params) {
|
|
1012
|
+
let serviceUrl = this.SERVICE_URL + 'post/obtain/available/course/days';
|
|
1013
|
+
this.generateRequestParams(params);
|
|
1014
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1015
|
+
}
|
|
1016
|
+
obtainAvailableClassroomsInCalendar(params) {
|
|
1017
|
+
let serviceUrl = this.SERVICE_URL + 'post/obtain/available/classrooms/in/calendar';
|
|
1018
|
+
this.generateRequestParams(params);
|
|
1019
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1020
|
+
}
|
|
1007
1021
|
}
|
|
1008
1022
|
CalendarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CalendarService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1009
1023
|
CalendarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CalendarService, providedIn: 'root' });
|