iptdevs-design-system 3.1.375 → 3.1.376

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.
@@ -3186,11 +3186,6 @@ class CodFormStepOneComponent extends CodFormSteps {
3186
3186
  Nota: la clase CodFormSteps() se encarga de toda la lógica de LS con los pasos del formulario del COD
3187
3187
  */
3188
3188
  ngOnChanges(changes) {
3189
- console.log("initialData", this.initialData);
3190
- console.log("dataPreviusCodData", this.dataPreviusCodData);
3191
- console.log("courseSelectRenovation", this.courseSelectRenovation);
3192
- console.log("isEditCod", this.isEditCod);
3193
- console.log("isRenovation", this.isRenovation);
3194
3189
  this.getParameters();
3195
3190
  this.initForm();
3196
3191
  this.startLocalStorageWork();
@@ -3203,14 +3198,12 @@ class CodFormStepOneComponent extends CodFormSteps {
3203
3198
  this.cdRef.detectChanges();
3204
3199
  }
3205
3200
  else {
3206
- console.log("llegue aqui por alguna razon del la condicion");
3207
3201
  this.codFormStepOne.controls['academic_plan'].setValue(null);
3208
3202
  this.codFormStepOne.controls['course_type'].setValue(null);
3209
3203
  this.codFormStepOne.controls['agreement_by_category'].setValue(null);
3210
3204
  this.codFormStepOne.controls['english_level'].setValue(null);
3211
3205
  this.codFormStepOne.controls['availible_courses'].setValue(null);
3212
3206
  this.codFormStepOne.controls['course_modality'].setValue(null);
3213
- // this.cdRef.detectChanges();
3214
3207
  }
3215
3208
  if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && this.isEditCod && this.isRenovation === false) {
3216
3209
  this.processData(this.dataPreviusCodData);
@@ -3220,30 +3213,16 @@ class CodFormStepOneComponent extends CodFormSteps {
3220
3213
  else {
3221
3214
  this.isDisabledSel = false;
3222
3215
  }
3223
- // if (this.isDisabledSel) {
3224
- // this.disableFormControls();
3225
- // }
3226
- // Forzar detección de cambios
3227
3216
  this.cdRef.detectChanges();
3228
3217
  }
3229
3218
  else if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && !this.isEditCod && this.courseSelectRenovation && this.isRenovation === true) {
3230
3219
  this.setDataCodRenovationSelect();
3231
3220
  this.isDisabledSel = true;
3232
- // this.disableFormControls();
3233
3221
  this.cdRef.detectChanges();
3234
3222
  }
3235
3223
  }
3236
- // private disableFormControls() {
3237
- // this.codFormStepOne.controls['academic_plan'].disable();
3238
- // this.codFormStepOne.controls['course_type'].disable();
3239
- // this.codFormStepOne.controls['agreement_by_category'].disable();
3240
- // this.codFormStepOne.controls['english_level'].disable();
3241
- // this.codFormStepOne.controls['availible_courses'].disable();
3242
- // this.codFormStepOne.controls['course_modality'].disable();
3243
- // }
3244
3224
  processData(data) {
3245
3225
  var _a, _b, _c, _d, _e, _f;
3246
- console.log("llegue aqui en processData");
3247
3226
  const { codFormStepOne } = this;
3248
3227
  this.getAgreementByPlan((_a = data.course_type) === null || _a === void 0 ? void 0 : _a.academic_plan.code);
3249
3228
  this.getCourseType((_b = data.course_type) === null || _b === void 0 ? void 0 : _b.academic_plan.code);
@@ -3253,11 +3232,9 @@ class CodFormStepOneComponent extends CodFormSteps {
3253
3232
  codFormStepOne.controls['academic_plan'].setValue((_f = data.course_type) === null || _f === void 0 ? void 0 : _f.academic_plan.code);
3254
3233
  this.getAvailibleCourses();
3255
3234
  if (this.isEditCod) {
3256
- console.log("llegue aqui setDataFromEditCodHistory");
3257
3235
  this.setDataFromEditCodHistory();
3258
3236
  }
3259
3237
  else if (!this.isEditCod && this.initialData != null) {
3260
- console.log("llegue aqui2");
3261
3238
  this.setDataFromUserHistory();
3262
3239
  }
3263
3240
  }
@@ -4797,7 +4774,6 @@ class CodFormComponent {
4797
4774
  }
4798
4775
  ngOnChanges(changes) {
4799
4776
  var _a;
4800
- console.log(this.courseSelect);
4801
4777
  if (changes['editCod'] && this.dataFromPreviusCodData) {
4802
4778
  if (this.editCod) {
4803
4779
  if (!this.dataFromPreviusCodData.edit_course_payment) {
@@ -4974,7 +4950,6 @@ class CodFormComponent {
4974
4950
  this.okCreatedCOD.emit(true);
4975
4951
  }
4976
4952
  else if (response.message.code === 3) {
4977
- console.log(response.data);
4978
4953
  let alertHtml = `
4979
4954
  <div class="my-custom-alert">
4980
4955
  <h2>Warning!</h2>