iptdevs-design-system 3.1.330 → 3.1.331

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.
@@ -4868,6 +4868,23 @@ class CodFormComponent {
4868
4868
  this.localStorageCOD.clearData();
4869
4869
  this.okCreatedCOD.emit(true);
4870
4870
  }
4871
+ else if (response.message.code === 3) {
4872
+ const alertHtml = `
4873
+ <div class="my-custom-alert">
4874
+ <!-- Aquí puedes agregar el contenido HTML que desees -->
4875
+ <h2>Título de la Alerta Personalizada</h2>
4876
+ <p>Este es un componente personalizado simulado con Swal</p>
4877
+ <button class="btn btn-primary">Aceptar</button>
4878
+ </div>
4879
+ `;
4880
+ Swal.fire({
4881
+ html: alertHtml,
4882
+ icon: 'warning',
4883
+ showCancelButton: true,
4884
+ confirmButtonText: 'Confirmar',
4885
+ // cancelButtonText: 'Cancelar',
4886
+ });
4887
+ }
4871
4888
  else if (response.message.code === 4) {
4872
4889
  this.isLoading = false;
4873
4890
  this.loaderMessage = '';
@@ -5796,6 +5813,11 @@ class AcademicService extends IPTGeneralService {
5796
5813
  this.generateRequestParams(params);
5797
5814
  return this.http.post(serviceUrl, this.httpOptions);
5798
5815
  }
5816
+ getCodBcourseByModalityAndlevelEnglishAndCourseType(params) {
5817
+ let serviceUrl = this.SERVICE_URL + 'post/course/obtain/by/modality';
5818
+ this.generateRequestParams(params);
5819
+ return this.http.post(serviceUrl, this.httpOptions);
5820
+ }
5799
5821
  obtainCoursesTheoryByDifferentParameters(params) {
5800
5822
  let serviceUrl = this.SERVICE_URL + 'obtain/courses/theory/by/different/parameters';
5801
5823
  this.generateRequestParams(params);