iptdevs-design-system 3.1.428 → 3.1.430

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.
@@ -6171,12 +6171,13 @@ class CodSelfManagedControls {
6171
6171
  // { name: 're_password', required: true, description: 'Confirmación de contraseña' },
6172
6172
  ],
6173
6173
  [
6174
- { name: 'academic_plan', required: true, description: 'Plan académico' },
6175
- { name: 'course_type', required: true, description: 'Tipo de curso' },
6176
- { name: 'agreement_by_category', required: true, description: 'Convenio' },
6177
- { name: 'english_level', required: true, description: 'Nivel de inglés' },
6178
- { name: 'availible_courses', required: false, description: 'Cursos disponibles' },
6179
- { name: 'course_modality', required: false, description: 'Modalidad del curso' },
6174
+ { name: 'schedule', required: true, description: 'horario requerido' },
6175
+ // { name: 'academic_plan', required: true, description: 'Plan académico' },
6176
+ // { name: 'course_type', required: true, description: 'Tipo de curso' },
6177
+ // { name: 'agreement_by_category', required: true, description: 'Convenio' },
6178
+ // { name: 'english_level', required: true, description: 'Nivel de inglés' },
6179
+ // { name: 'availible_courses', required: false, description: 'Cursos disponibles' },
6180
+ // { name: 'course_modality', required: false, description: 'Modalidad del curso' },
6180
6181
  ],
6181
6182
  // [
6182
6183
  // { name: 'parent_id_card_type', required: true, description: 'Tipo de documento del acudiente' },
@@ -6527,6 +6528,7 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
6527
6528
  this.controls = new CodSelfManagedControls().controls[1];
6528
6529
  }
6529
6530
  ngOnChanges() {
6531
+ this.initForm();
6530
6532
  this.startLocalStorageWork();
6531
6533
  }
6532
6534
  initForm() {
@@ -6559,10 +6561,10 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
6559
6561
  }
6560
6562
  }
6561
6563
  CodSelfFormStepTwoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepTwoComponent, deps: [{ token: i1$1.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6562
- CodSelfFormStepTwoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepTwoComponent, selector: "app-cod-self-form-step-two", outputs: { completed: "completed" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"container-main\">\n <span>step 2</span>\n\n <form [formGroup]=\"codSelfFormStepTwo\">\n <!-- <ipt-input\n [inputType]=\"'time'\"\n [placeHolder]=\"'Nombres'\"\n [control]=\"codSelfFormStepTwo.controls['schedule']\"\n ></ipt-input> -->\n <input\n class=\"calendar\"\n type=\"time\"\n min=\"07:00:00\"\n max=\"20:00:00\"\n [formControl]=\"$any(codSelfFormStepTwo.controls['schedule'])\"\n />\n </form>\n <div class=\"flex mt-3 align-items-center gap-3\">\n <!-- <span *ngIf=\"codSelfFormStepOne.invalid && codSelfFormStepOne.touched\" class=\"text-red-500 font-bold text-center mt-1 py-2 bg-red-100 w-full border-round-xl\">{{ errorMessage }}</span> -->\n <button\n pButton\n icon=\"pi pi-arrow-left\"\n type=\"submit\"\n (click)=\"back()\"\n ></button>\n\n <button\n pButton\n icon=\"pi pi-arrow-right\"\n type=\"submit\"\n (click)=\"sendForm()\"\n ></button>\n </div>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i7$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }] });
6564
+ CodSelfFormStepTwoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepTwoComponent, selector: "app-cod-self-form-step-two", outputs: { completed: "completed" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"container-main\">\n <span>step 2</span>\n\n <form [formGroup]=\"codSelfFormStepTwo\">\n <!-- <ipt-input\n [inputType]=\"'time'\"\n [placeHolder]=\"'Nombres'\"\n [control]=\"codSelfFormStepTwo.controls['schedule']\"\n ></ipt-input> -->\n <input\n class=\"calendar\"\n type=\"time\"\n min=\"07:00:00\"\n max=\"20:00:00\"\n [formControl]=\"$any(codSelfFormStepTwo.controls['schedule'])\"\n />\n </form>\n <div class=\"flex mt-3 align-items-center gap-3\">\n <!-- <span *ngIf=\"codSelfFormStepOne.invalid && codSelfFormStepOne.touched\" class=\"text-red-500 font-bold text-center mt-1 py-2 bg-red-100 w-full border-round-xl\">{{ errorMessage }}</span> -->\n <button\n pButton\n icon=\"pi pi-arrow-left\"\n type=\"submit\"\n (click)=\"back()\"\n ></button>\n\n <button\n pButton\n icon=\"pi pi-arrow-right\"\n (click)=\"sendForm()\"\n ></button>\n </div>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i7$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }] });
6563
6565
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepTwoComponent, decorators: [{
6564
6566
  type: Component,
6565
- args: [{ selector: 'app-cod-self-form-step-two', template: "<div class=\"container-main\">\n <span>step 2</span>\n\n <form [formGroup]=\"codSelfFormStepTwo\">\n <!-- <ipt-input\n [inputType]=\"'time'\"\n [placeHolder]=\"'Nombres'\"\n [control]=\"codSelfFormStepTwo.controls['schedule']\"\n ></ipt-input> -->\n <input\n class=\"calendar\"\n type=\"time\"\n min=\"07:00:00\"\n max=\"20:00:00\"\n [formControl]=\"$any(codSelfFormStepTwo.controls['schedule'])\"\n />\n </form>\n <div class=\"flex mt-3 align-items-center gap-3\">\n <!-- <span *ngIf=\"codSelfFormStepOne.invalid && codSelfFormStepOne.touched\" class=\"text-red-500 font-bold text-center mt-1 py-2 bg-red-100 w-full border-round-xl\">{{ errorMessage }}</span> -->\n <button\n pButton\n icon=\"pi pi-arrow-left\"\n type=\"submit\"\n (click)=\"back()\"\n ></button>\n\n <button\n pButton\n icon=\"pi pi-arrow-right\"\n type=\"submit\"\n (click)=\"sendForm()\"\n ></button>\n </div>\n\n</div>\n" }]
6567
+ args: [{ selector: 'app-cod-self-form-step-two', template: "<div class=\"container-main\">\n <span>step 2</span>\n\n <form [formGroup]=\"codSelfFormStepTwo\">\n <!-- <ipt-input\n [inputType]=\"'time'\"\n [placeHolder]=\"'Nombres'\"\n [control]=\"codSelfFormStepTwo.controls['schedule']\"\n ></ipt-input> -->\n <input\n class=\"calendar\"\n type=\"time\"\n min=\"07:00:00\"\n max=\"20:00:00\"\n [formControl]=\"$any(codSelfFormStepTwo.controls['schedule'])\"\n />\n </form>\n <div class=\"flex mt-3 align-items-center gap-3\">\n <!-- <span *ngIf=\"codSelfFormStepOne.invalid && codSelfFormStepOne.touched\" class=\"text-red-500 font-bold text-center mt-1 py-2 bg-red-100 w-full border-round-xl\">{{ errorMessage }}</span> -->\n <button\n pButton\n icon=\"pi pi-arrow-left\"\n type=\"submit\"\n (click)=\"back()\"\n ></button>\n\n <button\n pButton\n icon=\"pi pi-arrow-right\"\n (click)=\"sendForm()\"\n ></button>\n </div>\n\n</div>\n" }]
6566
6568
  }], ctorParameters: function () { return [{ type: i1$1.FormBuilder }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { completed: [{
6567
6569
  type: Output
6568
6570
  }] } });