iptdevs-design-system 2.6.36 → 2.6.38
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 +21 -1
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/iptdevs-design-system.mjs +21 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +21 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/cronogram/cronogram.models.d.ts +79 -0
- package/lib/core/services/calendar-service/calendar.service.d.ts +5 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -841,6 +841,26 @@ class CalendarService {
|
|
|
841
841
|
this.generateRequestParams(params);
|
|
842
842
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
843
843
|
}
|
|
844
|
+
getEventsByCourse(params) {
|
|
845
|
+
let serviceUrl = this.SERVICE_URL + 'post/event/calendar/idcalendar/by/course';
|
|
846
|
+
this.generateRequestParams(params);
|
|
847
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
848
|
+
}
|
|
849
|
+
getEventByDateTime(params) {
|
|
850
|
+
let serviceUrl = this.SERVICE_URL + 'post/event/calendar/idcalendar/by/datetime';
|
|
851
|
+
this.generateRequestParams(params);
|
|
852
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
853
|
+
}
|
|
854
|
+
getAvailability(params) {
|
|
855
|
+
let serviceUrl = this.SERVICE_URL + 'post/event/create/query';
|
|
856
|
+
this.generateRequestParams(params);
|
|
857
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
858
|
+
}
|
|
859
|
+
addNewEvent(params) {
|
|
860
|
+
let serviceUrl = this.SERVICE_URL + 'post/add/event/calendar/by/daytime';
|
|
861
|
+
this.generateRequestParams(params);
|
|
862
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
863
|
+
}
|
|
844
864
|
generateRequestParams(param) {
|
|
845
865
|
this.httpOptions = {
|
|
846
866
|
header: new HttpHeaders(),
|
|
@@ -2345,5 +2365,5 @@ class UserLoginRs {
|
|
|
2345
2365
|
* Generated bundle index. Do not edit.
|
|
2346
2366
|
*/
|
|
2347
2367
|
|
|
2348
|
-
export { AsideButtonComponent, AttendanceService, BaseService, BudgetService, ButtonComponent, CalendarService, CheckboxComponent, ClassroomService, ComponentsModule, CoreModule, CourseService, CreateUserFormComponent, DatalistComponent, DesignSystemModule, InputComponent, LevelButtonComponent, LevelTextComponent, LoaderComponent, LoginFormComponent, MarketingService, NotesService, ParameterService, RadioComponent, RedirectGuard, SelectComponent, Session, SidenavComponent, StorageService, StudentService, SwitchService, TestService, TextLinkComponent, UserLoginRs, UserRs, UserService };
|
|
2368
|
+
export { ActivityService, AsideButtonComponent, AttendanceService, BaseService, BudgetService, ButtonComponent, CalendarService, CheckboxComponent, ClassroomService, ComponentsModule, CoreModule, CourseService, CreateUserFormComponent, DatalistComponent, DesignSystemModule, InputComponent, LevelButtonComponent, LevelTextComponent, LoaderComponent, LoginFormComponent, MarketingService, NotesService, ParameterService, RadioComponent, RedirectGuard, SelectComponent, Session, SidenavComponent, StorageService, StudentService, SwitchService, TestService, TextLinkComponent, UserLoginRs, UserRs, UserService };
|
|
2349
2369
|
//# sourceMappingURL=iptdevs-design-system.mjs.map
|