iptdevs-design-system 3.1.810 → 3.1.811
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/cod/steps/cod-form-step-four/cod-form-step-four.component.mjs +3 -6
- package/esm2020/lib/cod/steps/cod-form-step-two/cod-form-step-two.component.mjs +4 -5
- package/fesm2015/iptdevs-design-system.mjs +5 -10
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +5 -9
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod/steps/cod-form-step-four/cod-form-step-four.component.d.ts +0 -1
- package/lib/cod/steps/cod-form-step-two/cod-form-step-two.component.d.ts +0 -1
- package/package.json +1 -1
|
@@ -3992,8 +3992,10 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
3992
3992
|
password: [{ value: '', disabled: this.isEditCod }, [Validators.required, Validators.minLength(6)]],
|
|
3993
3993
|
re_password: [{ value: '', disabled: this.isEditCod }, [Validators.required, Validators.minLength(6)]],
|
|
3994
3994
|
});
|
|
3995
|
+
const currentDate = new Date().toISOString().split('T')[0];
|
|
3996
|
+
this.codFormStepTwo.controls['birthdate'].setValue(currentDate);
|
|
3995
3997
|
// Calcular edad y setear valor
|
|
3996
|
-
this.codFormStepTwo.controls['birthdate'].
|
|
3998
|
+
console.log(this.codFormStepTwo.controls['birthdate'].value);
|
|
3997
3999
|
this.codFormStepTwo.controls['birthdate'].valueChanges.subscribe({
|
|
3998
4000
|
next: (change) => {
|
|
3999
4001
|
let today = new Date();
|
|
@@ -4016,9 +4018,6 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
4016
4018
|
}
|
|
4017
4019
|
});
|
|
4018
4020
|
}
|
|
4019
|
-
getCurrentDate() {
|
|
4020
|
-
return new Date().toISOString().split('T')[0];
|
|
4021
|
-
}
|
|
4022
4021
|
getParameters() {
|
|
4023
4022
|
this.parameterService.getCardTypes('col').subscribe((response) => {
|
|
4024
4023
|
this.idTypes = response.data;
|
|
@@ -4636,13 +4635,10 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
4636
4635
|
quota_price: ['', [Validators.required]],
|
|
4637
4636
|
fee_number: ['', [Validators.required]],
|
|
4638
4637
|
});
|
|
4639
|
-
|
|
4638
|
+
const currentDate = new Date().toISOString().split('T')[0];
|
|
4639
|
+
this.codFormStepFour.controls['payment_date'].setValue(currentDate);
|
|
4640
4640
|
this.listenPaymentMethodField();
|
|
4641
4641
|
}
|
|
4642
|
-
setCurrentDate() {
|
|
4643
|
-
const today = new Date().toISOString().split('T')[0];
|
|
4644
|
-
this.codFormStepFour.get('payment_date')?.setValue(today);
|
|
4645
|
-
}
|
|
4646
4642
|
listenPaymentMethodField() {
|
|
4647
4643
|
const control = this.codFormStepFour.get('payment_method');
|
|
4648
4644
|
control?.valueChanges.subscribe((change) => {
|