iptdevs-design-system 3.1.418 → 3.1.420

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.
@@ -6231,24 +6231,24 @@ class LocalStorageCodSelfMaganedService {
6231
6231
  constructor() { }
6232
6232
  getCodFormData(step, control) {
6233
6233
  if (step === 1)
6234
- return localStorage.getItem(`COD FORM - step1(${control})`);
6234
+ return localStorage.getItem(`COD SELF - step1(${control})`);
6235
6235
  if (step === 2)
6236
- return localStorage.getItem(`COD FORM - step2(${control})`);
6236
+ return localStorage.getItem(`COD SELF - step2(${control})`);
6237
6237
  if (step === 3)
6238
- return localStorage.getItem(`COD FORM - step3(${control})`);
6238
+ return localStorage.getItem(`COD SELF - step3(${control})`);
6239
6239
  if (step === 4)
6240
- return localStorage.getItem(`COD FORM - step4(${control})`);
6240
+ return localStorage.getItem(`COD SELF - step4(${control})`);
6241
6241
  return null;
6242
6242
  }
6243
6243
  setCodFormData(step, control, value) {
6244
6244
  if (step === 1)
6245
- localStorage.setItem(`COD FORM - step1(${control})`, value);
6245
+ localStorage.setItem(`COD SELF - step1(${control})`, value);
6246
6246
  if (step === 2)
6247
- localStorage.setItem(`COD FORM - step2(${control})`, value);
6247
+ localStorage.setItem(`COD SELF - step2(${control})`, value);
6248
6248
  if (step === 3)
6249
- localStorage.setItem(`COD FORM - step3(${control})`, value);
6249
+ localStorage.setItem(`COD SELF - step3(${control})`, value);
6250
6250
  if (step === 4)
6251
- localStorage.setItem(`COD FORM - step4(${control})`, value);
6251
+ localStorage.setItem(`COD SELF - step4(${control})`, value);
6252
6252
  }
6253
6253
  clearData() {
6254
6254
  let keySessionUser = '606a7d4e73650b75ebb06972e77d6cc4';
@@ -6310,18 +6310,19 @@ class CodSelfFormStepOneComponent extends CodSelfManagedSteps {
6310
6310
  this.errorMessage = 'Faltan campos por llenar.';
6311
6311
  this.controls = new CodSelfManagedControls().controls[0];
6312
6312
  }
6313
+ // ngOnInit(): void {
6314
+ // this.setDataUsers();
6315
+ // }
6313
6316
  ngOnChanges(changes) {
6314
6317
  this.initForm();
6315
6318
  this.getParameters();
6316
- this.setDataUsers();
6317
6319
  this.startLocalStorageWork();
6320
+ // this.setDataUsers();
6318
6321
  if (changes['user'] && this.user != null) {
6319
6322
  this.setDataUsers();
6320
6323
  this.cdRef.detectChanges();
6321
6324
  }
6322
6325
  }
6323
- // ngOnInit(): void {
6324
- // }
6325
6326
  initForm() {
6326
6327
  this.codSelfFormStepOne = this.fb.group({
6327
6328
  student_name: ['', [Validators.required]],
@@ -6486,8 +6487,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
6486
6487
  type: Output
6487
6488
  }] } });
6488
6489
 
6489
- class CodSelfFormStepTwoComponent {
6490
+ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
6490
6491
  constructor() {
6492
+ super();
6491
6493
  this.completed = new EventEmitter();
6492
6494
  }
6493
6495
  back() {
@@ -6502,22 +6504,25 @@ class CodSelfFormStepTwoComponent {
6502
6504
  }
6503
6505
  }
6504
6506
  CodSelfFormStepTwoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepTwoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6505
- CodSelfFormStepTwoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepTwoComponent, selector: "app-cod-self-form-step-two", outputs: { completed: "completed" }, ngImport: i0, template: "<span>step 2</span>\n\n\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", styles: [""], dependencies: [{ kind: "directive", type: i7$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }] });
6507
+ 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, ngImport: i0, template: "<span>step 2</span>\n\n\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", styles: [""], dependencies: [{ kind: "directive", type: i7$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }] });
6506
6508
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepTwoComponent, decorators: [{
6507
6509
  type: Component,
6508
6510
  args: [{ selector: 'app-cod-self-form-step-two', template: "<span>step 2</span>\n\n\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" }]
6509
- }], propDecorators: { completed: [{
6511
+ }], ctorParameters: function () { return []; }, propDecorators: { completed: [{
6510
6512
  type: Output
6511
6513
  }] } });
6512
6514
 
6513
- class CodSelfFormStepThreeComponent {
6515
+ class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
6516
+ constructor() {
6517
+ super();
6518
+ }
6514
6519
  }
6515
6520
  CodSelfFormStepThreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepThreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6516
- CodSelfFormStepThreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepThreeComponent, selector: "app-cod-self-form-step-three", ngImport: i0, template: "<span>step 3</span>\n", styles: [""] });
6521
+ CodSelfFormStepThreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepThreeComponent, selector: "app-cod-self-form-step-three", usesInheritance: true, ngImport: i0, template: "<span>step 3</span>\n", styles: [""] });
6517
6522
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepThreeComponent, decorators: [{
6518
6523
  type: Component,
6519
6524
  args: [{ selector: 'app-cod-self-form-step-three', template: "<span>step 3</span>\n" }]
6520
- }] });
6525
+ }], ctorParameters: function () { return []; } });
6521
6526
 
6522
6527
  class CodSelfFormStepFourComponent {
6523
6528
  }