iptdevs-design-system 2.6.32 → 2.6.34

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.
@@ -2013,6 +2013,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2013
2013
  }]
2014
2014
  }], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
2015
2015
 
2016
+ class ClassroomService {
2017
+ constructor(http) {
2018
+ this.http = http;
2019
+ this.SERVICE_URL = 'https://iptdev.com.co/lab/academic/api/';
2020
+ }
2021
+ getClassroomsByModality(params) {
2022
+ let serviceUrl = this.SERVICE_URL + 'post/classroom/by/modality';
2023
+ this.generateRequestParams(params);
2024
+ return this.http.post(serviceUrl, this.httpOptions);
2025
+ }
2026
+ // construye los headers y params
2027
+ generateRequestParams(param) {
2028
+ this.httpOptions = {
2029
+ header: new HttpHeaders(),
2030
+ params: param,
2031
+ };
2032
+ }
2033
+ }
2034
+ ClassroomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClassroomService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
2035
+ ClassroomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClassroomService, providedIn: 'root' });
2036
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClassroomService, decorators: [{
2037
+ type: Injectable,
2038
+ args: [{
2039
+ providedIn: 'root',
2040
+ }]
2041
+ }], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
2042
+
2016
2043
  class CoreModule {
2017
2044
  }
2018
2045
  CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -2027,6 +2054,7 @@ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13
2027
2054
  BaseService,
2028
2055
  TestService,
2029
2056
  MarketingService,
2057
+ ClassroomService,
2030
2058
  BudgetService
2031
2059
  ] });
2032
2060
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule, decorators: [{
@@ -2042,6 +2070,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2042
2070
  BaseService,
2043
2071
  TestService,
2044
2072
  MarketingService,
2073
+ ClassroomService,
2045
2074
  BudgetService
2046
2075
  ]
2047
2076
  }]
@@ -2226,5 +2255,5 @@ class UserLoginRs {
2226
2255
  * Generated bundle index. Do not edit.
2227
2256
  */
2228
2257
 
2229
- export { AsideButtonComponent, AttendanceService, BaseService, BudgetService, ButtonComponent, CalendarService, CheckboxComponent, 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 };
2258
+ 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 };
2230
2259
  //# sourceMappingURL=iptdevs-design-system.mjs.map