iptdevs-design-system 2.5.3 → 2.6.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.
- package/esm2020/lib/core/models/notes/notes.interface.mjs +1 -1
- package/esm2020/lib/core/services/calendar-service/calendar.service.mjs +2 -2
- package/esm2020/lib/core/services/notes-service/notes.service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +6 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/notes/notes.interface.d.ts +6 -0
- package/lib/core/services/notes-service/notes.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1763,7 +1763,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
1763
1763
|
class CalendarService {
|
|
1764
1764
|
constructor(http) {
|
|
1765
1765
|
this.http = http;
|
|
1766
|
-
this.SERVICE_URL = '
|
|
1766
|
+
this.SERVICE_URL = 'https://iptdev.com.co/lab/calendar/api/';
|
|
1767
1767
|
}
|
|
1768
1768
|
getEventByIdCalendar(idCalendar) {
|
|
1769
1769
|
let serviceUrl = this.SERVICE_URL + 'get/event/calendar/idcalendar/all/' + idCalendar;
|
|
@@ -1810,6 +1810,11 @@ class NotesService {
|
|
|
1810
1810
|
this.generateRequestParams(params);
|
|
1811
1811
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
1812
1812
|
}
|
|
1813
|
+
updateStudentNote(params) {
|
|
1814
|
+
let serviceUrl = this.SERVICE_URL + 'update/note';
|
|
1815
|
+
this.generateRequestParams(params);
|
|
1816
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
1817
|
+
}
|
|
1813
1818
|
generateRequestParams(param) {
|
|
1814
1819
|
this.httpOptions = {
|
|
1815
1820
|
header: new HttpHeaders(),
|