iptdevs-design-system 2.4.3 → 2.5.0

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.
Files changed (36) hide show
  1. package/esm2020/lib/components/molecules/sidenav/sidenav.component.mjs +2 -2
  2. package/esm2020/lib/core/models/activities/activities.interface.mjs +2 -0
  3. package/esm2020/lib/core/models/attendance/attendance.interface.mjs +2 -0
  4. package/esm2020/lib/core/models/calendar/calendar-rq.models.mjs +2 -0
  5. package/esm2020/lib/core/models/course/course-rq.model.mjs +1 -1
  6. package/esm2020/lib/core/models/cronogram/cronogram.models.mjs +2 -0
  7. package/esm2020/lib/core/models/notes/notes.interface.mjs +2 -0
  8. package/esm2020/lib/core/models/response/response.interface.mjs +2 -0
  9. package/esm2020/lib/core/models/student/student.interface.mjs +2 -0
  10. package/esm2020/lib/core/models/user/user-rq.model.mjs +1 -1
  11. package/esm2020/lib/core/services/attendance-service/attendance.service.mjs +17 -0
  12. package/esm2020/lib/core/services/calendar-service/calendar.service.mjs +34 -0
  13. package/esm2020/lib/core/services/course-service/course-service.model.mjs +20 -1
  14. package/esm2020/lib/core/services/notes-service/notes.service.mjs +40 -0
  15. package/esm2020/lib/core/services/student-service/student.service.mjs +30 -0
  16. package/esm2020/public-api.mjs +19 -8
  17. package/fesm2015/iptdevs-design-system.mjs +128 -3
  18. package/fesm2015/iptdevs-design-system.mjs.map +1 -1
  19. package/fesm2020/iptdevs-design-system.mjs +128 -3
  20. package/fesm2020/iptdevs-design-system.mjs.map +1 -1
  21. package/lib/core/models/activities/activities.interface.d.ts +6 -0
  22. package/lib/core/models/attendance/attendance.interface.d.ts +44 -0
  23. package/lib/core/models/calendar/calendar-rq.models.d.ts +27 -0
  24. package/lib/core/models/course/course-rq.model.d.ts +8 -0
  25. package/lib/core/models/cronogram/cronogram.models.d.ts +71 -0
  26. package/lib/core/models/notes/notes.interface.d.ts +59 -0
  27. package/lib/core/models/response/response.interface.d.ts +10 -0
  28. package/lib/core/models/student/student.interface.d.ts +4 -0
  29. package/lib/core/models/user/user-rq.model.d.ts +19 -0
  30. package/lib/core/services/attendance-service/attendance.service.d.ts +8 -0
  31. package/lib/core/services/calendar-service/calendar.service.d.ts +15 -0
  32. package/lib/core/services/course-service/course-service.model.d.ts +6 -1
  33. package/lib/core/services/notes-service/notes.service.d.ts +17 -0
  34. package/lib/core/services/student-service/student.service.d.ts +14 -0
  35. package/package.json +3 -3
  36. package/public-api.d.ts +18 -7
@@ -1077,7 +1077,7 @@ SidenavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
1077
1077
  <div class="photo-logout"></div>
1078
1078
  </div>
1079
1079
  </mat-toolbar>
1080
- `, isInline: true, styles: ["*{font-family:Poppins,sans-serif}@media screen and (min-width: 320px){.header{background-color:#fff;display:flex;justify-content:space-between;filter:drop-shadow(0px -1px 7px #000)}mat-sidenav{width:-moz-fit-content!important;width:fit-content!important;background-color:#1c77f7!important}.img-logo,.text-container{display:none}.mat-toolbar.mat-primary{background-color:#fff!important;color:#003d99!important;filter:drop-shadow(0px -1px 7px #000)}.logout-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:auto;border-radius:30px;display:flex;margin-left:10px}.logout-button{display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin-left:20px;text-align:center;width:150px}.photo-logout{background:url(http://qa.iptdev.com.co/assets/icons/exit.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon{background:url(http://qa.iptdev.com.co/assets/icons/icon-menu.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon-close{background:url(http://qa.iptdev.com.co/assets/icons/cruz.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat;width:35px;height:35px}.menu-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:52.5px;width:auto;border-radius:30px;display:flex}.menu-container p{width:85px;display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin:0 0 0 15px;text-align:center}}@media screen and (min-width: 768px){.img-logo{display:flex;width:120px;height:60px}.text-container{border-radius:40px;height:45px;width:100%;display:flex;gap:-100px;justify-content:center;flex-direction:column;align-items:flex-start}}.p1{color:gray;margin-left:30px;font-size:13px;height:20px}.p2{margin-left:30px;font-size:14px;font-weight:600;color:#1c77f7}.flex-container-menu{font-size:18px;color:#fff!important}.mat-nav-list{padding:0}\n"], components: [{ type: i3$1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { type: i4.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i5.MatNavList, selector: "mat-nav-list", inputs: ["disableRipple", "disabled"], exportAs: ["matNavList"] }, { type: AsideButtonComponent, selector: "ipt-aside-button", inputs: ["icon", "text", "buttonActive"], outputs: ["isClicked"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1080
+ `, isInline: true, styles: ["*{font-family:Poppins,sans-serif}@media screen and (min-width: 320px){.header{background-color:#fff;display:flex;justify-content:space-between;filter:drop-shadow(0px -1px 7px #000)}mat-sidenav{width:-moz-fit-content!important;width:fit-content!important;background-color:#1c77f7!important}.img-logo,.text-container{display:none}.mat-toolbar.mat-primary{background-color:#fff!important;color:#003d99!important;filter:drop-shadow(0px -1px 7px #000)}.logout-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:auto;border-radius:30px;display:flex;margin-left:10px}.logout-button{display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin-left:20px;text-align:center;width:150px}.photo-logout{background:url(http://qa.iptdev.com.co/assets/icons/exit.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon{background:url(http://qa.iptdev.com.co/assets/icons/icon-menu.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon-close{background:url(http://qa.iptdev.com.co/assets/icons/cruz.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat;width:35px;height:35px}.menu-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:52.5px;width:auto;border-radius:30px;display:flex}.menu-container:hover{cursor:pointer}.menu-container p{width:85px;display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin:0 0 0 15px;text-align:center}}@media screen and (min-width: 768px){.img-logo{display:flex;width:120px;height:60px}.text-container{border-radius:40px;height:45px;width:100%;display:flex;gap:-100px;justify-content:center;flex-direction:column;align-items:flex-start}}.p1{color:gray;margin-left:30px;font-size:13px;height:20px}.p2{margin-left:30px;font-size:14px;font-weight:600;color:#1c77f7}.flex-container-menu{font-size:18px;color:#fff!important}.mat-nav-list{padding:0}\n"], components: [{ type: i3$1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { type: i4.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i5.MatNavList, selector: "mat-nav-list", inputs: ["disableRipple", "disabled"], exportAs: ["matNavList"] }, { type: AsideButtonComponent, selector: "ipt-aside-button", inputs: ["icon", "text", "buttonActive"], outputs: ["isClicked"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1081
1081
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: SidenavComponent, decorators: [{
1082
1082
  type: Component,
1083
1083
  args: [{ selector: 'ipt-sidenav', template: `
@@ -1127,7 +1127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
1127
1127
  <div class="photo-logout"></div>
1128
1128
  </div>
1129
1129
  </mat-toolbar>
1130
- `, styles: ["*{font-family:Poppins,sans-serif}@media screen and (min-width: 320px){.header{background-color:#fff;display:flex;justify-content:space-between;filter:drop-shadow(0px -1px 7px #000)}mat-sidenav{width:-moz-fit-content!important;width:fit-content!important;background-color:#1c77f7!important}.img-logo,.text-container{display:none}.mat-toolbar.mat-primary{background-color:#fff!important;color:#003d99!important;filter:drop-shadow(0px -1px 7px #000)}.logout-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:auto;border-radius:30px;display:flex;margin-left:10px}.logout-button{display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin-left:20px;text-align:center;width:150px}.photo-logout{background:url(http://qa.iptdev.com.co/assets/icons/exit.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon{background:url(http://qa.iptdev.com.co/assets/icons/icon-menu.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon-close{background:url(http://qa.iptdev.com.co/assets/icons/cruz.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat;width:35px;height:35px}.menu-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:52.5px;width:auto;border-radius:30px;display:flex}.menu-container p{width:85px;display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin:0 0 0 15px;text-align:center}}@media screen and (min-width: 768px){.img-logo{display:flex;width:120px;height:60px}.text-container{border-radius:40px;height:45px;width:100%;display:flex;gap:-100px;justify-content:center;flex-direction:column;align-items:flex-start}}.p1{color:gray;margin-left:30px;font-size:13px;height:20px}.p2{margin-left:30px;font-size:14px;font-weight:600;color:#1c77f7}.flex-container-menu{font-size:18px;color:#fff!important}.mat-nav-list{padding:0}\n"] }]
1130
+ `, styles: ["*{font-family:Poppins,sans-serif}@media screen and (min-width: 320px){.header{background-color:#fff;display:flex;justify-content:space-between;filter:drop-shadow(0px -1px 7px #000)}mat-sidenav{width:-moz-fit-content!important;width:fit-content!important;background-color:#1c77f7!important}.img-logo,.text-container{display:none}.mat-toolbar.mat-primary{background-color:#fff!important;color:#003d99!important;filter:drop-shadow(0px -1px 7px #000)}.logout-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:auto;border-radius:30px;display:flex;margin-left:10px}.logout-button{display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin-left:20px;text-align:center;width:150px}.photo-logout{background:url(http://qa.iptdev.com.co/assets/icons/exit.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon{background:url(http://qa.iptdev.com.co/assets/icons/icon-menu.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon-close{background:url(http://qa.iptdev.com.co/assets/icons/cruz.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat;width:35px;height:35px}.menu-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:52.5px;width:auto;border-radius:30px;display:flex}.menu-container:hover{cursor:pointer}.menu-container p{width:85px;display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin:0 0 0 15px;text-align:center}}@media screen and (min-width: 768px){.img-logo{display:flex;width:120px;height:60px}.text-container{border-radius:40px;height:45px;width:100%;display:flex;gap:-100px;justify-content:center;flex-direction:column;align-items:flex-start}}.p1{color:gray;margin-left:30px;font-size:13px;height:20px}.p2{margin-left:30px;font-size:14px;font-weight:600;color:#1c77f7}.flex-container-menu{font-size:18px;color:#fff!important}.mat-nav-list{padding:0}\n"] }]
1131
1131
  }], ctorParameters: function () { return [{ type: UserService }, { type: StorageService }]; }, propDecorators: { department: [{
1132
1132
  type: Input
1133
1133
  }], setPage: [{
@@ -1275,6 +1275,25 @@ class CourseService {
1275
1275
  this.generateRequestParams(params);
1276
1276
  return this.http.post(serviceUrl, this.httpOptions);
1277
1277
  }
1278
+ getCoursesByTeacher(params) {
1279
+ let serviceUrl = this.SERVICE_URL + 'post/course/by/teacher';
1280
+ this.generateRequestParams(params);
1281
+ return this.http.post(serviceUrl, this.httpOptions);
1282
+ }
1283
+ getFilteredCoursesByTeacher(params) {
1284
+ let serviceUrl = this.SERVICE_URL + 'post/course/filtered/by/teacher';
1285
+ this.generateRequestParams(params);
1286
+ return this.http.post(serviceUrl, this.httpOptions);
1287
+ }
1288
+ getCoursesByStartDate(params) {
1289
+ let serviceUrl = this.SERVICE_URL + 'post/course/by/startdate';
1290
+ this.generateRequestParams(params);
1291
+ return this.http.post(serviceUrl, this.httpOptions);
1292
+ }
1293
+ numberClassByCode(idCode) {
1294
+ let serviceUrl = this.SERVICE_URL + 'get/coursetype/numclass/by/code/' + idCode;
1295
+ return this.http.get(serviceUrl);
1296
+ }
1278
1297
  // construye los headers y params
1279
1298
  generateRequestParams(param) {
1280
1299
  this.httpOptions = {
@@ -1715,6 +1734,112 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
1715
1734
  }]
1716
1735
  }] });
1717
1736
 
1737
+ class AttendanceService {
1738
+ constructor(http) {
1739
+ this.http = http;
1740
+ }
1741
+ }
1742
+ AttendanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
1743
+ AttendanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, providedIn: 'root' });
1744
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, decorators: [{
1745
+ type: Injectable,
1746
+ args: [{
1747
+ providedIn: 'root'
1748
+ }]
1749
+ }], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
1750
+
1751
+ class CalendarService {
1752
+ constructor(http) {
1753
+ this.http = http;
1754
+ this.SERVICE_URL = 'http://localhost:8000/api/';
1755
+ }
1756
+ getEventByIdCalendar(idCalendar) {
1757
+ let serviceUrl = this.SERVICE_URL + 'get/event/calendar/idcalendar/all/' + idCalendar;
1758
+ return this.http.get(serviceUrl);
1759
+ }
1760
+ postEventByDayTime(params) {
1761
+ let serviceUrl = this.SERVICE_URL + 'post/event/calendar/idcalendar/by/datetime';
1762
+ this.generateRequestParams(params);
1763
+ return this.http.post(serviceUrl, this.httpOptions);
1764
+ }
1765
+ generateRequestParams(param) {
1766
+ this.httpOptions = {
1767
+ header: new HttpHeaders(),
1768
+ params: param,
1769
+ };
1770
+ }
1771
+ }
1772
+ CalendarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CalendarService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
1773
+ CalendarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CalendarService, providedIn: 'root' });
1774
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CalendarService, decorators: [{
1775
+ type: Injectable,
1776
+ args: [{
1777
+ providedIn: 'root',
1778
+ }]
1779
+ }], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
1780
+
1781
+ class NotesService {
1782
+ constructor(http) {
1783
+ this.http = http;
1784
+ this.SERVICE_URL = 'https://iptdev.com.co/lab/academic/api/';
1785
+ }
1786
+ getNotesByGroup(params) {
1787
+ let serviceUrl = this.SERVICE_URL + 'post/obtain/notes/by/course';
1788
+ this.generateRequestParams(params);
1789
+ return this.http.post(serviceUrl, this.httpOptions);
1790
+ }
1791
+ getNotesByStudent(params) {
1792
+ let serviceUrl = this.SERVICE_URL + 'post/obtain/notes/by/student';
1793
+ this.generateRequestParams(params);
1794
+ return this.http.post(serviceUrl, this.httpOptions);
1795
+ }
1796
+ createNewNote(params) {
1797
+ let serviceUrl = this.SERVICE_URL + 'post/create/note';
1798
+ this.generateRequestParams(params);
1799
+ return this.http.post(serviceUrl, this.httpOptions);
1800
+ }
1801
+ generateRequestParams(param) {
1802
+ this.httpOptions = {
1803
+ header: new HttpHeaders(),
1804
+ params: param,
1805
+ };
1806
+ }
1807
+ }
1808
+ NotesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: NotesService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
1809
+ NotesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: NotesService, providedIn: 'root' });
1810
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: NotesService, decorators: [{
1811
+ type: Injectable,
1812
+ args: [{
1813
+ providedIn: 'root'
1814
+ }]
1815
+ }], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
1816
+
1817
+ class StudentService {
1818
+ constructor(http) {
1819
+ this.http = http;
1820
+ this.SERVICE_URL = 'https://iptdev.com.co/lab/academic/api/';
1821
+ }
1822
+ getStudentsByCourse(params) {
1823
+ let serviceUrl = this.SERVICE_URL + 'post/obtain/students/by/course';
1824
+ this.generateRequestParams(params);
1825
+ return this.http.post(serviceUrl, this.httpOptions);
1826
+ }
1827
+ generateRequestParams(param) {
1828
+ this.httpOptions = {
1829
+ header: new HttpHeaders(),
1830
+ params: param,
1831
+ };
1832
+ }
1833
+ }
1834
+ StudentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: StudentService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
1835
+ StudentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: StudentService, providedIn: 'root' });
1836
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: StudentService, decorators: [{
1837
+ type: Injectable,
1838
+ args: [{
1839
+ providedIn: 'root'
1840
+ }]
1841
+ }], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
1842
+
1718
1843
  class Session {
1719
1844
  }
1720
1845
 
@@ -1731,5 +1856,5 @@ class UserLoginRs {
1731
1856
  * Generated bundle index. Do not edit.
1732
1857
  */
1733
1858
 
1734
- export { AsideButtonComponent, BaseService, BudgetService, ButtonComponent, CheckboxComponent, ComponentsModule, CoreModule, CourseService, DatalistComponent, DesignSystemModule, InputComponent, LevelButtonComponent, LevelTextComponent, LoginFormComponent, MarketingService, ParameterService, RadioComponent, RedirectGuard, SelectComponent, Session, SidenavComponent, StorageService, SwitchService, TestService, TextLinkComponent, UserLoginRs, UserRs, UserService };
1859
+ export { AsideButtonComponent, AttendanceService, BaseService, BudgetService, ButtonComponent, CalendarService, CheckboxComponent, ComponentsModule, CoreModule, CourseService, DatalistComponent, DesignSystemModule, InputComponent, LevelButtonComponent, LevelTextComponent, LoginFormComponent, MarketingService, NotesService, ParameterService, RadioComponent, RedirectGuard, SelectComponent, Session, SidenavComponent, StorageService, StudentService, SwitchService, TestService, TextLinkComponent, UserLoginRs, UserRs, UserService };
1735
1860
  //# sourceMappingURL=iptdevs-design-system.mjs.map