iptdevs-design-system 2.6.22 → 2.6.24
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/components/forms/create-user-form/create-user-form.component.mjs +2 -1
- package/esm2020/lib/core/models/calendar/calendar-rq.models.mjs +1 -1
- package/esm2020/lib/core/services/calendar-service/calendar.service.mjs +16 -1
- package/fesm2015/iptdevs-design-system.mjs +16 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +16 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/calendar/calendar-rq.models.d.ts +44 -0
- package/lib/core/services/calendar-service/calendar.service.d.ts +4 -1
- package/package.json +1 -1
|
@@ -1161,6 +1161,7 @@ class CreateUserFormComponent {
|
|
|
1161
1161
|
switch (response.message.code) {
|
|
1162
1162
|
case 1:
|
|
1163
1163
|
this.userCreated.emit(true);
|
|
1164
|
+
this.initForm();
|
|
1164
1165
|
break;
|
|
1165
1166
|
case 2:
|
|
1166
1167
|
throw new Error("Los datos ingresados no corresponden a un usuario registrado en nuestro sistema, por favor reviselos.");
|
|
@@ -1996,6 +1997,21 @@ class CalendarService {
|
|
|
1996
1997
|
this.generateRequestParams(params);
|
|
1997
1998
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
1998
1999
|
}
|
|
2000
|
+
postEventByCourse(params) {
|
|
2001
|
+
let serviceUrl = this.SERVICE_URL + 'post/event/calendar/idcalendar/by/course';
|
|
2002
|
+
this.generateRequestParams(params);
|
|
2003
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2004
|
+
}
|
|
2005
|
+
postAddNewEvent(params) {
|
|
2006
|
+
let serviceUrl = this.SERVICE_URL + 'post/add/event/calendar/by/daytime';
|
|
2007
|
+
this.generateRequestParams(params);
|
|
2008
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2009
|
+
}
|
|
2010
|
+
postCreateQueryEvent(params) {
|
|
2011
|
+
let serviceUrl = this.SERVICE_URL + 'post/event/create/query';
|
|
2012
|
+
this.generateRequestParams(params);
|
|
2013
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2014
|
+
}
|
|
1999
2015
|
generateRequestParams(param) {
|
|
2000
2016
|
this.httpOptions = {
|
|
2001
2017
|
header: new HttpHeaders(),
|