iptdevs-design-system 3.1.509 → 3.1.510

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.
@@ -6631,7 +6631,6 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
6631
6631
  this.visible = false;
6632
6632
  this.messageInfo = 'Busca un plan deacuerdo a tu disponibilidad';
6633
6633
  this.initForm();
6634
- this.minDate = new Date();
6635
6634
  }
6636
6635
  ngOnInit() {
6637
6636
  this.startLocalStorageWork();
@@ -6641,9 +6640,6 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
6641
6640
  // this.initForm();
6642
6641
  // this.startLocalStorageWork();
6643
6642
  }
6644
- ngOnDestroy() {
6645
- this.codSelfFormStepTwo.controls['schedule'].setValue("");
6646
- }
6647
6643
  initForm() {
6648
6644
  this.codSelfFormStepTwo = this.fb.group({
6649
6645
  schedule: ['', [Validators.required]],
@@ -6658,7 +6654,6 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
6658
6654
  }
6659
6655
  valuesInitialSchedule() {
6660
6656
  const scheduleValue = localStorage.getItem('COD SELF - step2(schedule)');
6661
- console.log(scheduleValue);
6662
6657
  // Verifica si hay un valor en el localStorage
6663
6658
  if (scheduleValue && scheduleValue.trim() != '') {
6664
6659
  // Si hay un valor en el localStorage, establece el valor del FormControl
@@ -6725,7 +6720,6 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
6725
6720
  onDateChange(event) {
6726
6721
  // Convierte la fecha a una cadena ISO 8601 y guárdala en el localStorage
6727
6722
  localStorage.setItem('COD SELF - step2(schedule)', event.toISOString());
6728
- console.log(event);
6729
6723
  }
6730
6724
  onReject() {
6731
6725
  this.messageService.clear('confirm');