iptdevs-design-system 3.1.4388 → 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' },
@@ -6334,8 +6334,10 @@ class CodSelfFormStepOneComponent extends CodSelfManagedSteps {
6334
6334
  }
6335
6335
  ngOnChanges(changes) {
6336
6336
  // this.startLocalStorageWork();
6337
+ this.startLocalStorageWork();
6337
6338
  const currentUser = changes['userStudent'].currentValue;
6338
- if (changes['userStudent'] && this.userStudent != undefined) {
6339
+ console.log(this.userStudent);
6340
+ if (changes['userStudent'] && this.userStudent !== null) {
6339
6341
  console.log('currentUser', currentUser);
6340
6342
  this.setDataUsers();
6341
6343
  }
@@ -6639,10 +6641,10 @@ class CodSelfManagedComponent {
6639
6641
  }
6640
6642
  }
6641
6643
  CodSelfManagedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfManagedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6642
- 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" }] });
6643
6645
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfManagedComponent, decorators: [{
6644
6646
  type: Component,
6645
- 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" }]
6646
6648
  }], propDecorators: { user: [{
6647
6649
  type: Input
6648
6650
  }] } });
@@ -6661,7 +6663,8 @@ codSelfManagedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", ve
6661
6663
  FormsModule,
6662
6664
  ButtonModule,
6663
6665
  ToastModule,
6664
- CalendarModule], exports: [CodSelfManagedComponent,
6666
+ CalendarModule,
6667
+ TabViewModule], exports: [CodSelfManagedComponent,
6665
6668
  CodSelfFormStepOneComponent,
6666
6669
  CodSelfFormStepTwoComponent,
6667
6670
  CodSelfFormStepThreeComponent,
@@ -6673,7 +6676,8 @@ codSelfManagedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
6673
6676
  FormsModule,
6674
6677
  ButtonModule,
6675
6678
  ToastModule,
6676
- CalendarModule] });
6679
+ CalendarModule,
6680
+ TabViewModule] });
6677
6681
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: codSelfManagedModule, decorators: [{
6678
6682
  type: NgModule,
6679
6683
  args: [{
@@ -6685,7 +6689,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
6685
6689
  FormsModule,
6686
6690
  ButtonModule,
6687
6691
  ToastModule,
6688
- CalendarModule
6692
+ CalendarModule,
6693
+ TabViewModule
6689
6694
  ],
6690
6695
  declarations: [
6691
6696
  CodSelfManagedComponent,