iptdevs-design-system 3.1.4387 → 3.1.4389

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.
@@ -34,7 +34,7 @@ import { InputTextareaModule } from 'primeng/inputtextarea';
34
34
  import * as i8 from 'primeng/inputtext';
35
35
  import { InputTextModule } from 'primeng/inputtext';
36
36
  import * as i1$3 from '@angular/router';
37
- import * as i2 from 'primeng/steps';
37
+ import * as i1$4 from 'primeng/steps';
38
38
  import { StepsModule } from 'primeng/steps';
39
39
  import * as i8$2 from 'primeng/toast';
40
40
  import { ToastModule } from 'primeng/toast';
@@ -6151,15 +6151,15 @@ class CodSelfManagedControls {
6151
6151
  constructor() {
6152
6152
  this.controls = [
6153
6153
  [
6154
+ { name: 'student_name', required: true, description: 'Nombres del estudiante' },
6155
+ { name: 'student_last_name', required: true, description: 'Apellidos del estudiante' },
6156
+ { name: 'student_id_card_type', required: true, description: 'Tipo de documento del estudiante' },
6157
+ { name: 'student_id_card', required: true, description: 'Documento del estudiante' },
6158
+ { name: 'gender', required: true, description: 'Género' },
6154
6159
  { name: 'birthdate', required: true, description: 'Fecha de nacimiento del estudiante' },
6155
6160
  { name: 'country', required: true, description: 'País' },
6156
6161
  { name: 'state', required: true, description: 'Departamento o estado' },
6157
6162
  { name: 'city', required: true, description: 'Ciudad de residencia' },
6158
- { name: 'student_id_card_type', required: true, description: 'Tipo de documento del estudiante' },
6159
- { name: 'student_id_card', required: true, description: 'Documento del estudiante' },
6160
- { name: 'student_last_name', required: true, description: 'Apellidos del estudiante' },
6161
- { name: 'student_name', required: true, description: 'Nombres del estudiante' },
6162
- { name: 'gender', required: true, description: 'Género' },
6163
6163
  { name: 'student_email', required: true, description: 'Correo del estudiante' },
6164
6164
  { name: 'student_phone_indicative', required: true, description: 'Indicativo del estudiante' },
6165
6165
  { name: 'student_phone_number', required: true, description: 'Teléfono del estudiante' },
@@ -6330,11 +6330,14 @@ class CodSelfFormStepOneComponent extends CodSelfManagedSteps {
6330
6330
  }
6331
6331
  ngOnInit() {
6332
6332
  this.getParameters();
6333
+ this.startLocalStorageWork();
6333
6334
  }
6334
6335
  ngOnChanges(changes) {
6336
+ // this.startLocalStorageWork();
6335
6337
  this.startLocalStorageWork();
6336
6338
  const currentUser = changes['userStudent'].currentValue;
6337
- if (changes['userStudent'] && this.userStudent != undefined) {
6339
+ console.log(this.userStudent);
6340
+ if (changes['userStudent'] && this.userStudent !== null) {
6338
6341
  console.log('currentUser', currentUser);
6339
6342
  this.setDataUsers();
6340
6343
  }
@@ -6638,10 +6641,10 @@ class CodSelfManagedComponent {
6638
6641
  }
6639
6642
  }
6640
6643
  CodSelfManagedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfManagedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6641
- CodSelfManagedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfManagedComponent, selector: "ipt-cod-self-managed", inputs: { user: "user" }, usesOnChanges: true, ngImport: i0, template: "<!-- <h3>Matricula</h3> -->\n\n<p-steps [model]=\"items\" [(activeIndex)]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" ></p-steps>\n<div class=\"container-steps\" [ngSwitch]=\"currentStep\">\n\n <ng-container *ngSwitchCase=\"0\">\n <app-cod-self-form-step-one (completed)=\"changeStep($event)\" [userStudent]=\"user\"></app-cod-self-form-step-one>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"1\">\n <app-cod-self-form-step-two (completed)=\"changeStep($event)\"></app-cod-self-form-step-two>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"2\">\n <app-cod-self-form-step-three (completed)=\"changeStep($event)\"></app-cod-self-form-step-three>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"3\">\n <app-cod-self-form-step-four (completed)=\"changeStep($event)\"></app-cod-self-form-step-four>\n </ng-container>\n\n</div>\n\n\n", dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2.Steps, selector: "p-steps", inputs: ["activeIndex", "model", "readonly", "style", "styleClass"], outputs: ["activeIndexChange"] }, { kind: "component", type: CodSelfFormStepOneComponent, selector: "app-cod-self-form-step-one", inputs: ["userStudent"], outputs: ["completed"] }, { kind: "component", type: CodSelfFormStepTwoComponent, selector: "app-cod-self-form-step-two", outputs: ["completed"] }, { kind: "component", type: CodSelfFormStepThreeComponent, selector: "app-cod-self-form-step-three" }, { kind: "component", type: CodSelfFormStepFourComponent, selector: "app-cod-self-form-step-four" }] });
6644
+ CodSelfManagedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfManagedComponent, selector: "ipt-cod-self-managed", inputs: { user: "user" }, usesOnChanges: true, ngImport: i0, template: "<!-- <h3>Matricula</h3> -->\n\n<p-steps [model]=\"items\" [(activeIndex)]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" ></p-steps>\n<p-tabView [activeIndex]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" [scrollable]=\"true\">\n <p-tabPanel>\n <app-cod-self-form-step-one (completed)=\"changeStep($event)\" [userStudent]=\"user\"></app-cod-self-form-step-one>\n </p-tabPanel>\n <p-tabPanel>\n <app-cod-self-form-step-two (completed)=\"changeStep($event)\"></app-cod-self-form-step-two>\n </p-tabPanel>\n <p-tabPanel>\n <app-cod-self-form-step-three (completed)=\"changeStep($event)\"></app-cod-self-form-step-three>\n </p-tabPanel>\n <p-tabPanel>\n <app-cod-self-form-step-four (completed)=\"changeStep($event)\"></app-cod-self-form-step-four>\n </p-tabPanel>\n</p-tabView>\n\n\n", dependencies: [{ kind: "component", type: i1$4.Steps, selector: "p-steps", inputs: ["activeIndex", "model", "readonly", "style", "styleClass"], outputs: ["activeIndexChange"] }, { kind: "component", type: i6$2.TabView, selector: "p-tabView", inputs: ["orientation", "style", "styleClass", "controlClose", "scrollable", "activeIndex"], outputs: ["onChange", "onClose", "activeIndexChange"] }, { kind: "component", type: i6$2.TabPanel, selector: "p-tabPanel", inputs: ["closable", "headerStyle", "headerStyleClass", "cache", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "selected", "disabled", "header", "leftIcon", "rightIcon"] }, { kind: "component", type: CodSelfFormStepOneComponent, selector: "app-cod-self-form-step-one", inputs: ["userStudent"], outputs: ["completed"] }, { kind: "component", type: CodSelfFormStepTwoComponent, selector: "app-cod-self-form-step-two", outputs: ["completed"] }, { kind: "component", type: CodSelfFormStepThreeComponent, selector: "app-cod-self-form-step-three" }, { kind: "component", type: CodSelfFormStepFourComponent, selector: "app-cod-self-form-step-four" }] });
6642
6645
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfManagedComponent, decorators: [{
6643
6646
  type: Component,
6644
- args: [{ selector: 'ipt-cod-self-managed', template: "<!-- <h3>Matricula</h3> -->\n\n<p-steps [model]=\"items\" [(activeIndex)]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" ></p-steps>\n<div class=\"container-steps\" [ngSwitch]=\"currentStep\">\n\n <ng-container *ngSwitchCase=\"0\">\n <app-cod-self-form-step-one (completed)=\"changeStep($event)\" [userStudent]=\"user\"></app-cod-self-form-step-one>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"1\">\n <app-cod-self-form-step-two (completed)=\"changeStep($event)\"></app-cod-self-form-step-two>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"2\">\n <app-cod-self-form-step-three (completed)=\"changeStep($event)\"></app-cod-self-form-step-three>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"3\">\n <app-cod-self-form-step-four (completed)=\"changeStep($event)\"></app-cod-self-form-step-four>\n </ng-container>\n\n</div>\n\n\n" }]
6647
+ args: [{ selector: 'ipt-cod-self-managed', template: "<!-- <h3>Matricula</h3> -->\n\n<p-steps [model]=\"items\" [(activeIndex)]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" ></p-steps>\n<p-tabView [activeIndex]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" [scrollable]=\"true\">\n <p-tabPanel>\n <app-cod-self-form-step-one (completed)=\"changeStep($event)\" [userStudent]=\"user\"></app-cod-self-form-step-one>\n </p-tabPanel>\n <p-tabPanel>\n <app-cod-self-form-step-two (completed)=\"changeStep($event)\"></app-cod-self-form-step-two>\n </p-tabPanel>\n <p-tabPanel>\n <app-cod-self-form-step-three (completed)=\"changeStep($event)\"></app-cod-self-form-step-three>\n </p-tabPanel>\n <p-tabPanel>\n <app-cod-self-form-step-four (completed)=\"changeStep($event)\"></app-cod-self-form-step-four>\n </p-tabPanel>\n</p-tabView>\n\n\n" }]
6645
6648
  }], propDecorators: { user: [{
6646
6649
  type: Input
6647
6650
  }] } });
@@ -6660,7 +6663,8 @@ codSelfManagedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", ve
6660
6663
  FormsModule,
6661
6664
  ButtonModule,
6662
6665
  ToastModule,
6663
- CalendarModule], exports: [CodSelfManagedComponent,
6666
+ CalendarModule,
6667
+ TabViewModule], exports: [CodSelfManagedComponent,
6664
6668
  CodSelfFormStepOneComponent,
6665
6669
  CodSelfFormStepTwoComponent,
6666
6670
  CodSelfFormStepThreeComponent,
@@ -6672,7 +6676,8 @@ codSelfManagedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
6672
6676
  FormsModule,
6673
6677
  ButtonModule,
6674
6678
  ToastModule,
6675
- CalendarModule] });
6679
+ CalendarModule,
6680
+ TabViewModule] });
6676
6681
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: codSelfManagedModule, decorators: [{
6677
6682
  type: NgModule,
6678
6683
  args: [{
@@ -6684,7 +6689,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
6684
6689
  FormsModule,
6685
6690
  ButtonModule,
6686
6691
  ToastModule,
6687
- CalendarModule
6692
+ CalendarModule,
6693
+ TabViewModule
6688
6694
  ],
6689
6695
  declarations: [
6690
6696
  CodSelfManagedComponent,