iptdevs-design-system 3.1.886 → 3.1.887

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.
@@ -3697,12 +3697,6 @@ class CodFormStepOneComponent extends CodFormSteps {
3697
3697
  this.communicatorService.setCurrentAgreement(this.localStorageCOD.getCodFormData(1, 'agreement_by_category'));
3698
3698
  // Lógica principal de cambios
3699
3699
  if (changes['initialData'] || changes['dataPreviusCodData']) {
3700
- console.log(changes);
3701
- console.log("initialData", this.initialData);
3702
- console.log("dataPreviusCodData", this.dataPreviusCodData);
3703
- console.log("isRenovation", this.isRenovation);
3704
- console.log("isEditCod", this.isEditCod);
3705
- console.log("courseSelectRenovation", this.courseSelectRenovation);
3706
3700
  this.handleDataChanges(changes);
3707
3701
  }
3708
3702
  this.cdRef.detectChanges();
@@ -3756,7 +3750,6 @@ class CodFormStepOneComponent extends CodFormSteps {
3756
3750
  handleDataChanges(changes) {
3757
3751
  // Caso 1: Hay initialData y NO hay dataPreviusCodData
3758
3752
  if (changes['initialData']?.currentValue && !this.isRenovation && !this.isEditCod) {
3759
- console.log("Procesando initialData (tiene prioridad)");
3760
3753
  this.processData(this.initialData);
3761
3754
  return;
3762
3755
  }
@@ -3764,21 +3757,18 @@ class CodFormStepOneComponent extends CodFormSteps {
3764
3757
  if (changes['dataPreviusCodData']?.currentValue) {
3765
3758
  // Subcaso 2.1: Es edición
3766
3759
  if (this.isEditCod && !this.isRenovation) {
3767
- console.log("Procesando dataPreviusCodData en modo edición");
3768
3760
  this.processData(this.dataPreviusCodData);
3769
3761
  this.isDisabledSel = !this.dataPreviusCodData.edit_course_payment;
3770
3762
  return;
3771
3763
  }
3772
3764
  // Subcaso 2.2: Es renovación
3773
3765
  if (!this.isEditCod && this.isRenovation && this.courseSelectRenovation) {
3774
- console.log("Procesando dataPreviusCodData en modo renovación");
3775
3766
  this.setDataCodRenovationSelect();
3776
3767
  this.isDisabledSel = true;
3777
3768
  return;
3778
3769
  }
3779
3770
  // Subcaso 2.2: viene con initialData
3780
3771
  if (this.initialData && !this.isEditCod && !this.isRenovation) {
3781
- console.log("Procesando dataPreviusCodData en modo dataPreviusCodData con initialData");
3782
3772
  this.processData(this.initialData);
3783
3773
  this.isDisabledSel = false;
3784
3774
  return;
@@ -3965,13 +3955,6 @@ class CodFormStepOneComponent extends CodFormSteps {
3965
3955
  this.codFormStepOne.controls['english_level'].setValue(null);
3966
3956
  }
3967
3957
  }
3968
- // private validRequest(): boolean {
3969
- // return (
3970
- // this.codFormStepOne.controls['english_level'].value != '' &&
3971
- // this.codFormStepOne.controls['agreement_by_category'].value != '' &&
3972
- // this.codFormStepOne.controls['course_type'].value != ''
3973
- // );
3974
- // }
3975
3958
  validRequest() {
3976
3959
  const form = this.codFormStepOne;
3977
3960
  return !!(form.get('english_level')?.value &&