iptdevs-design-system 3.1.4388 → 3.1.4390
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-self-managed/cod-form-self-managed/cod-self-managed.component.mjs +5 -5
- package/esm2020/lib/cod-self-managed/cod-self-managed.module.mjs +8 -4
- package/esm2020/lib/cod-self-managed/logic/cod-self-managed-controls.mjs +6 -6
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component.mjs +4 -4
- package/fesm2015/iptdevs-design-system.mjs +17 -14
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +17 -14
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod-self-managed/cod-self-managed.module.d.ts +2 -1
- package/package.json +1 -1
|
@@ -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
|
|
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,12 +6330,12 @@ class CodSelfFormStepOneComponent extends CodSelfManagedSteps {
|
|
|
6330
6330
|
}
|
|
6331
6331
|
ngOnInit() {
|
|
6332
6332
|
this.getParameters();
|
|
6333
|
-
this.startLocalStorageWork();
|
|
6334
6333
|
}
|
|
6335
6334
|
ngOnChanges(changes) {
|
|
6336
|
-
|
|
6335
|
+
this.startLocalStorageWork();
|
|
6337
6336
|
const currentUser = changes['userStudent'].currentValue;
|
|
6338
|
-
|
|
6337
|
+
console.log(this.userStudent);
|
|
6338
|
+
if (changes['userStudent'] && this.userStudent != null) {
|
|
6339
6339
|
console.log('currentUser', currentUser);
|
|
6340
6340
|
this.setDataUsers();
|
|
6341
6341
|
}
|
|
@@ -6639,10 +6639,10 @@ class CodSelfManagedComponent {
|
|
|
6639
6639
|
}
|
|
6640
6640
|
}
|
|
6641
6641
|
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<
|
|
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<p-tabView [activeIndex]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" >\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
6643
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfManagedComponent, decorators: [{
|
|
6644
6644
|
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<
|
|
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<p-tabView [activeIndex]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" >\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
6646
|
}], propDecorators: { user: [{
|
|
6647
6647
|
type: Input
|
|
6648
6648
|
}] } });
|
|
@@ -6661,7 +6661,8 @@ codSelfManagedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", ve
|
|
|
6661
6661
|
FormsModule,
|
|
6662
6662
|
ButtonModule,
|
|
6663
6663
|
ToastModule,
|
|
6664
|
-
CalendarModule
|
|
6664
|
+
CalendarModule,
|
|
6665
|
+
TabViewModule], exports: [CodSelfManagedComponent,
|
|
6665
6666
|
CodSelfFormStepOneComponent,
|
|
6666
6667
|
CodSelfFormStepTwoComponent,
|
|
6667
6668
|
CodSelfFormStepThreeComponent,
|
|
@@ -6673,7 +6674,8 @@ codSelfManagedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
6673
6674
|
FormsModule,
|
|
6674
6675
|
ButtonModule,
|
|
6675
6676
|
ToastModule,
|
|
6676
|
-
CalendarModule
|
|
6677
|
+
CalendarModule,
|
|
6678
|
+
TabViewModule] });
|
|
6677
6679
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: codSelfManagedModule, decorators: [{
|
|
6678
6680
|
type: NgModule,
|
|
6679
6681
|
args: [{
|
|
@@ -6685,7 +6687,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
6685
6687
|
FormsModule,
|
|
6686
6688
|
ButtonModule,
|
|
6687
6689
|
ToastModule,
|
|
6688
|
-
CalendarModule
|
|
6690
|
+
CalendarModule,
|
|
6691
|
+
TabViewModule
|
|
6689
6692
|
],
|
|
6690
6693
|
declarations: [
|
|
6691
6694
|
CodSelfManagedComponent,
|