iptdevs-design-system 3.1.384 → 3.1.385
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 +9 -19
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component.mjs +2 -2
- package/fesm2015/iptdevs-design-system.mjs +22 -35
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +22 -35
- package/fesm2020/iptdevs-design-system.mjs.map +1 -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 i2 from 'primeng/steps';
|
|
38
38
|
import { StepsModule } from 'primeng/steps';
|
|
39
39
|
|
|
40
40
|
class AsideButtonComponent {
|
|
@@ -6113,7 +6113,7 @@ class CodSelfFormStepOneComponent {
|
|
|
6113
6113
|
this.codSelfFormStepOne.markAllAsTouched();
|
|
6114
6114
|
if (this.codSelfFormStepOne.invalid)
|
|
6115
6115
|
return;
|
|
6116
|
-
// Movernos al paso
|
|
6116
|
+
// Movernos al paso 1
|
|
6117
6117
|
this.completed.emit(1);
|
|
6118
6118
|
}
|
|
6119
6119
|
}
|
|
@@ -6135,6 +6135,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
6135
6135
|
args: [{ selector: 'app-cod-self-form-step-two', template: "<span>step 2</span>\n" }]
|
|
6136
6136
|
}] });
|
|
6137
6137
|
|
|
6138
|
+
class CodSelfFormStepThreeComponent {
|
|
6139
|
+
}
|
|
6140
|
+
CodSelfFormStepThreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepThreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6141
|
+
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: [""] });
|
|
6142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepThreeComponent, decorators: [{
|
|
6143
|
+
type: Component,
|
|
6144
|
+
args: [{ selector: 'app-cod-self-form-step-three', template: "<span>step 3</span>\n" }]
|
|
6145
|
+
}] });
|
|
6146
|
+
|
|
6147
|
+
class CodSelfFormStepFourComponent {
|
|
6148
|
+
}
|
|
6149
|
+
CodSelfFormStepFourComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepFourComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6150
|
+
CodSelfFormStepFourComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepFourComponent, selector: "app-cod-self-form-step-four", ngImport: i0, template: "<span>step 4</span>\n", styles: [""] });
|
|
6151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepFourComponent, decorators: [{
|
|
6152
|
+
type: Component,
|
|
6153
|
+
args: [{ selector: 'app-cod-self-form-step-four', template: "<span>step 4</span>\n" }]
|
|
6154
|
+
}] });
|
|
6155
|
+
|
|
6138
6156
|
class CodSelfManagedComponent {
|
|
6139
6157
|
constructor() {
|
|
6140
6158
|
this.currentStep = 0;
|
|
@@ -6149,19 +6167,6 @@ class CodSelfManagedComponent {
|
|
|
6149
6167
|
{ label: 'Confirmation', id: '4' }
|
|
6150
6168
|
];
|
|
6151
6169
|
}
|
|
6152
|
-
// onNext() {
|
|
6153
|
-
// if (this.stepCompleted[this.currentStep]) {
|
|
6154
|
-
// this.currentStep++;
|
|
6155
|
-
// } else {
|
|
6156
|
-
// // Aquí puedes mostrar algún mensaje de error o realizar alguna acción cuando el paso no está completado
|
|
6157
|
-
// console.log('Completa el paso actual antes de avanzar.');
|
|
6158
|
-
// }
|
|
6159
|
-
// }
|
|
6160
|
-
// onPrevious() {
|
|
6161
|
-
// if (this.currentStep > 0) {
|
|
6162
|
-
// this.currentStep--;
|
|
6163
|
-
// }
|
|
6164
|
-
// }
|
|
6165
6170
|
onChangeStep(step) {
|
|
6166
6171
|
console.log(step);
|
|
6167
6172
|
this.currentStep = step;
|
|
@@ -6171,28 +6176,10 @@ class CodSelfManagedComponent {
|
|
|
6171
6176
|
}
|
|
6172
6177
|
}
|
|
6173
6178
|
CodSelfManagedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfManagedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6174
|
-
CodSelfManagedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfManagedComponent, selector: "ipt-cod-self-managed", ngImport: i0, template: "<h3>Cod Autogestionado</h3>\n\n<p-steps [model]=\"items\" [(activeIndex)]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" ></p-steps>\n\n
|
|
6179
|
+
CodSelfManagedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfManagedComponent, selector: "ipt-cod-self-managed", ngImport: i0, template: "<h3>Cod Autogestionado</h3>\n\n<p-steps [model]=\"items\" [(activeIndex)]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" ></p-steps>\n\n<div *ngIf=\"currentStep === 0\">\n <app-cod-self-form-step-one (completed)=\"changeStep($event)\"></app-cod-self-form-step-one>\n</div>\n\n<div *ngIf=\"currentStep === 1\">\n <app-cod-self-form-step-two (completed)=\"changeStep($event)\"></app-cod-self-form-step-two>\n</div>\n\n<div *ngIf=\"currentStep === 2\">\n <app-cod-self-form-step-three (completed)=\"changeStep($event)\"></app-cod-self-form-step-three>\n</div>\n\n<div *ngIf=\"currentStep === 3\">\n <app-cod-self-form-step-four (completed)=\"changeStep($event)\"></app-cod-self-form-step-four>\n</div>\n\n\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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", outputs: ["completed"] }, { kind: "component", type: CodSelfFormStepTwoComponent, selector: "app-cod-self-form-step-two" }, { kind: "component", type: CodSelfFormStepThreeComponent, selector: "app-cod-self-form-step-three" }, { kind: "component", type: CodSelfFormStepFourComponent, selector: "app-cod-self-form-step-four" }] });
|
|
6175
6180
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfManagedComponent, decorators: [{
|
|
6176
6181
|
type: Component,
|
|
6177
|
-
args: [{ selector: 'ipt-cod-self-managed', template: "<h3>Cod Autogestionado</h3>\n\n<p-steps [model]=\"items\" [(activeIndex)]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" ></p-steps>\n\n
|
|
6178
|
-
}] });
|
|
6179
|
-
|
|
6180
|
-
class CodSelfFormStepThreeComponent {
|
|
6181
|
-
}
|
|
6182
|
-
CodSelfFormStepThreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepThreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6183
|
-
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: [""] });
|
|
6184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepThreeComponent, decorators: [{
|
|
6185
|
-
type: Component,
|
|
6186
|
-
args: [{ selector: 'app-cod-self-form-step-three', template: "<span>step 3</span>\n" }]
|
|
6187
|
-
}] });
|
|
6188
|
-
|
|
6189
|
-
class CodSelfFormStepFourComponent {
|
|
6190
|
-
}
|
|
6191
|
-
CodSelfFormStepFourComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepFourComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6192
|
-
CodSelfFormStepFourComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepFourComponent, selector: "app-cod-self-form-step-four", ngImport: i0, template: "<span>step 4</span>\n", styles: [""] });
|
|
6193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepFourComponent, decorators: [{
|
|
6194
|
-
type: Component,
|
|
6195
|
-
args: [{ selector: 'app-cod-self-form-step-four', template: "<span>step 4</span>\n" }]
|
|
6182
|
+
args: [{ selector: 'ipt-cod-self-managed', template: "<h3>Cod Autogestionado</h3>\n\n<p-steps [model]=\"items\" [(activeIndex)]=\"currentStep\" (activeIndexChange)=\"currentStep = $event\" ></p-steps>\n\n<div *ngIf=\"currentStep === 0\">\n <app-cod-self-form-step-one (completed)=\"changeStep($event)\"></app-cod-self-form-step-one>\n</div>\n\n<div *ngIf=\"currentStep === 1\">\n <app-cod-self-form-step-two (completed)=\"changeStep($event)\"></app-cod-self-form-step-two>\n</div>\n\n<div *ngIf=\"currentStep === 2\">\n <app-cod-self-form-step-three (completed)=\"changeStep($event)\"></app-cod-self-form-step-three>\n</div>\n\n<div *ngIf=\"currentStep === 3\">\n <app-cod-self-form-step-four (completed)=\"changeStep($event)\"></app-cod-self-form-step-four>\n</div>\n\n\n" }]
|
|
6196
6183
|
}] });
|
|
6197
6184
|
|
|
6198
6185
|
class codSelfManagedModule {
|