iptdevs-design-system 3.1.216 → 3.1.217
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 +14 -9
- package/esm2020/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.mjs +2 -2
- package/fesm2015/iptdevs-design-system.mjs +14 -9
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +14 -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 +2 -3
- package/package.json +1 -1
|
@@ -3173,7 +3173,7 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3173
3173
|
this.codFormStepOne.controls['agreement_by_category'].setValue(this.dataPreviusCodData.agreement.code);
|
|
3174
3174
|
this.codFormStepOne.controls['english_level'].setValue(this.dataPreviusCodData.english_level.code);
|
|
3175
3175
|
this.codFormStepOne.controls['availible_courses'].setValue(this.dataPreviusCodData.course.code);
|
|
3176
|
-
this.codFormStepOne.controls['course_modality'].setValue(this.dataPreviusCodData.course_modality.code);
|
|
3176
|
+
this.codFormStepOne.controls['course_modality'].setValue(this.dataPreviusCodData.course.course_modality.code);
|
|
3177
3177
|
}
|
|
3178
3178
|
startLocalStorageWork() {
|
|
3179
3179
|
this.controls.forEach(control => {
|
|
@@ -3975,6 +3975,11 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
3975
3975
|
this.controls = new CodFormControls().controls[3];
|
|
3976
3976
|
}
|
|
3977
3977
|
ngOnChanges(changes) {
|
|
3978
|
+
this.initForm();
|
|
3979
|
+
this.startLocalStorageWork();
|
|
3980
|
+
this.validateErrors();
|
|
3981
|
+
// this.getCodPricesByAgreement();
|
|
3982
|
+
this.getValuesOfStepOneComponent();
|
|
3978
3983
|
if (changes['initialData']) {
|
|
3979
3984
|
if (this.initialData != null) {
|
|
3980
3985
|
if (this.initialData.cod_price != null) {
|
|
@@ -3984,14 +3989,14 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
3984
3989
|
}
|
|
3985
3990
|
}
|
|
3986
3991
|
}
|
|
3987
|
-
ngOnInit() {
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
}
|
|
3992
|
+
// ngOnInit(): void {
|
|
3993
|
+
// // this.cleanComponent();
|
|
3994
|
+
// this.initForm();
|
|
3995
|
+
// this.startLocalStorageWork();
|
|
3996
|
+
// this.validateErrors();
|
|
3997
|
+
// // this.getCodPricesByAgreement();
|
|
3998
|
+
// this.getValuesOfStepOneComponent();
|
|
3999
|
+
// }
|
|
3995
4000
|
getValuesOfStepOneComponent() {
|
|
3996
4001
|
// Tipo de curso seleccionado
|
|
3997
4002
|
this.communicatorService.getSelectedCourseType().subscribe(value => {
|