iptdevs-design-system 3.1.429 → 3.1.431

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.
@@ -36,7 +36,8 @@ import { InputTextModule } from 'primeng/inputtext';
36
36
  import * as i1$3 from '@angular/router';
37
37
  import * as i2 from 'primeng/steps';
38
38
  import { StepsModule } from 'primeng/steps';
39
- import { ToastModule } from 'primeng/toast';
39
+ import * as i3$1 from 'primeng/calendar';
40
+ import { CalendarModule } from 'primeng/calendar';
40
41
 
41
42
  class AsideButtonComponent {
42
43
  constructor() {
@@ -6528,6 +6529,7 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
6528
6529
  this.controls = new CodSelfManagedControls().controls[1];
6529
6530
  }
6530
6531
  ngOnChanges() {
6532
+ this.initForm();
6531
6533
  this.startLocalStorageWork();
6532
6534
  }
6533
6535
  initForm() {
@@ -6560,10 +6562,10 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
6560
6562
  }
6561
6563
  }
6562
6564
  CodSelfFormStepTwoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepTwoComponent, deps: [{ token: i1$1.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6563
- 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, usesOnChanges: true, ngImport: i0, template: "<div class=\"container-main\">\n <span>step 2</span>\n\n <form [formGroup]=\"codSelfFormStepTwo\">\n <!-- <ipt-input\n [inputType]=\"'time'\"\n [placeHolder]=\"'Nombres'\"\n [control]=\"codSelfFormStepTwo.controls['schedule']\"\n ></ipt-input> -->\n <input\n class=\"calendar\"\n type=\"time\"\n min=\"07:00:00\"\n max=\"20:00:00\"\n [formControl]=\"$any(codSelfFormStepTwo.controls['schedule'])\"\n />\n </form>\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\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i7$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }] });
6565
+ 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, usesOnChanges: true, ngImport: i0, template: "<div class=\"container-main\">\n <span>Planes</span>\n\n <form [formGroup]=\"codSelfFormStepTwo\">\n <!-- <ipt-input\n [inputType]=\"'time'\"\n [placeHolder]=\"'Nombres'\"\n [control]=\"codSelfFormStepTwo.controls['schedule']\"\n ></ipt-input> -->\n <p-calendar\n [timeOnly]=\"true\"\n placeholder=\"hh:mm\"\n [hourFormat]=\"'12'\"\n inputId=\"timeonly\"\n [formControl]=\"$any(codSelfFormStepTwo.controls['schedule'])\"\n ></p-calendar>\n </form>\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 (click)=\"sendForm()\"\n ></button>\n </div>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i7$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "component", type: i3$1.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "view", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }] });
6564
6566
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepTwoComponent, decorators: [{
6565
6567
  type: Component,
6566
- args: [{ selector: 'app-cod-self-form-step-two', template: "<div class=\"container-main\">\n <span>step 2</span>\n\n <form [formGroup]=\"codSelfFormStepTwo\">\n <!-- <ipt-input\n [inputType]=\"'time'\"\n [placeHolder]=\"'Nombres'\"\n [control]=\"codSelfFormStepTwo.controls['schedule']\"\n ></ipt-input> -->\n <input\n class=\"calendar\"\n type=\"time\"\n min=\"07:00:00\"\n max=\"20:00:00\"\n [formControl]=\"$any(codSelfFormStepTwo.controls['schedule'])\"\n />\n </form>\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\n</div>\n" }]
6568
+ args: [{ selector: 'app-cod-self-form-step-two', template: "<div class=\"container-main\">\n <span>Planes</span>\n\n <form [formGroup]=\"codSelfFormStepTwo\">\n <!-- <ipt-input\n [inputType]=\"'time'\"\n [placeHolder]=\"'Nombres'\"\n [control]=\"codSelfFormStepTwo.controls['schedule']\"\n ></ipt-input> -->\n <p-calendar\n [timeOnly]=\"true\"\n placeholder=\"hh:mm\"\n [hourFormat]=\"'12'\"\n inputId=\"timeonly\"\n [formControl]=\"$any(codSelfFormStepTwo.controls['schedule'])\"\n ></p-calendar>\n </form>\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 (click)=\"sendForm()\"\n ></button>\n </div>\n\n</div>\n" }]
6567
6569
  }], ctorParameters: function () { return [{ type: i1$1.FormBuilder }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { completed: [{
6568
6570
  type: Output
6569
6571
  }] } });
@@ -6633,7 +6635,8 @@ codSelfManagedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", ve
6633
6635
  StepsModule,
6634
6636
  FormsModule,
6635
6637
  ButtonModule,
6636
- ToastModule], exports: [CodSelfManagedComponent,
6638
+ // ToastModule
6639
+ CalendarModule], exports: [CodSelfManagedComponent,
6637
6640
  CodSelfFormStepOneComponent,
6638
6641
  CodSelfFormStepTwoComponent,
6639
6642
  CodSelfFormStepThreeComponent,
@@ -6644,7 +6647,8 @@ codSelfManagedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
6644
6647
  StepsModule,
6645
6648
  FormsModule,
6646
6649
  ButtonModule,
6647
- ToastModule] });
6650
+ // ToastModule
6651
+ CalendarModule] });
6648
6652
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: codSelfManagedModule, decorators: [{
6649
6653
  type: NgModule,
6650
6654
  args: [{
@@ -6655,7 +6659,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
6655
6659
  StepsModule,
6656
6660
  FormsModule,
6657
6661
  ButtonModule,
6658
- ToastModule
6662
+ // ToastModule
6663
+ CalendarModule
6659
6664
  ],
6660
6665
  declarations: [
6661
6666
  CodSelfManagedComponent,