keevo-components 1.5.137 → 1.5.138
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/keevo-components.module.mjs +14 -7
- package/esm2020/lib/login/kvlogin.module.mjs +47 -0
- package/esm2020/lib/login/login.component.mjs +38 -0
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/keevo-components.mjs +84 -8
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +84 -8
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/lib/keevo-components.module.d.ts +2 -1
- package/lib/login/kvlogin.module.d.ts +13 -0
- package/lib/login/login.component.d.ts +17 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -4,7 +4,7 @@ import { Subject, of, combineLatest, filter, finalize } from 'rxjs';
|
|
|
4
4
|
import * as i1 from '@angular/common';
|
|
5
5
|
import { CommonModule } from '@angular/common';
|
|
6
6
|
import * as i2 from '@angular/forms';
|
|
7
|
-
import { NgControl, FormControlName, FormGroupDirective, NG_VALUE_ACCESSOR, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
7
|
+
import { NgControl, FormControlName, FormGroupDirective, NG_VALUE_ACCESSOR, FormGroup, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
8
8
|
import * as i4 from 'primeng/checkbox';
|
|
9
9
|
import { CheckboxModule } from 'primeng/checkbox';
|
|
10
10
|
import * as i1$1 from 'primeng/dynamicdialog';
|
|
@@ -3622,6 +3622,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
3622
3622
|
}]
|
|
3623
3623
|
}] });
|
|
3624
3624
|
|
|
3625
|
+
class LoginComponent {
|
|
3626
|
+
constructor(formBuilder) {
|
|
3627
|
+
this.formBuilder = formBuilder;
|
|
3628
|
+
this.onLogin = new EventEmitter();
|
|
3629
|
+
}
|
|
3630
|
+
ngOnInit() {
|
|
3631
|
+
this.loginForm = this.formBuilder.group({
|
|
3632
|
+
usuario: ['', Validators.required],
|
|
3633
|
+
senha: ['', Validators.required]
|
|
3634
|
+
});
|
|
3635
|
+
}
|
|
3636
|
+
login() {
|
|
3637
|
+
this.onLogin.emit(this.loginForm.value);
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
LoginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: LoginComponent, deps: [{ token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
3641
|
+
LoginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: LoginComponent, selector: "kv-login", inputs: { Background: "Background", SystemLogo: "SystemLogo", SystemColorPrimary: "SystemColorPrimary", SystemColorSecondary: "SystemColorSecondary" }, outputs: { onLogin: "onLogin" }, ngImport: i0, template: "<div id=\"login-container\"\r\n class=\"flex justify-content-center align-items-center login-container flex-column h-screen \" [style.background-image]=\"'url(' + Background + ')'\">\r\n\r\n <!-- CARD PRINCIPAL -->\r\n <div [formGroup]=\" loginForm\"\r\n class=\"flex flex-column align-items-center justify-content-between bg-white border-round-xl \"\r\n [style.width.px]=\"300\" [style.height.px]=\"435\">\r\n\r\n\r\n <div class=\"flex flex-row align-items-center justify-content-center p-3 mt-2\">\r\n <img alt=\"LogoSistema\" [style.height.rem]=\"4\" [src]=\"SystemLogo\" />\r\n </div>\r\n\r\n <!-- INFORMA\u00C7\u00D5ES CENTRAIS -->\r\n <div class=\" grid formgrid p-fluid gap-4 p-3\">\r\n\r\n <div class=\" w-full \">\r\n <img [style.height.rem]=\"2.5\" class=\"ml-2\" alt=\"keepass\" src=\"./assets/images/keepass-logo.png\" />\r\n </div>\r\n\r\n <kv-input-text componentId=\"usuario\" label=\"CPF ou Email\" formControlName=\"usuario\" class=\"field col-12\">\r\n </kv-input-text>\r\n\r\n <kv-input-password componentId=\"senha\" label=\"Senha\" [toggleMask]=\"true\" formControlName=\"senha\"\r\n [required]=\"true\" class=\"field col-12\">\r\n </kv-input-password>\r\n\r\n <div class=\"flex w-full justify-content-end esqueceu-senha\">\r\n <a href=\"https://inovacao.evopass.seg.br/redefinirsenha\" target=\"_blank\" style=\"font-size: smaller;\" [style.color]=\"SystemColorPrimary\">Esqueceu a senha?</a>\r\n </div>\r\n\r\n </div>\r\n\r\n <button \r\n id=\"login-button\" \r\n [style.background-color]=\"SystemColorPrimary\" \r\n [style.color]=\"'white'\" \r\n class=\"w-full \" \r\n (click)=\"login()\"\r\n [style.height.px]=\"50\"\r\n ><strong>Login</strong></button>\r\n </div>\r\n\r\n <p [style.color]=\"SystemColorSecondary\">N\u00E3o possui um Evopass? <a href=\"https://inovacao.evopass.seg.br/redefinirsenha\" target=\"_blank\" [style.color]=\"SystemColorSecondary\" >Cadastre-se</a>\r\n </p>\r\n\r\n <div class=\"flex justify-content-center align-items-center mt-5\">\r\n <img src=\"./assets/images/keevo-logo.png\" [style.height.rem]=\"4\" />\r\n </div>\r\n\r\n</div>", styles: ["#login-container{font-family:Roboto,Helvetica Neue,sans-serif;background:no-repeat center;background-size:cover}#mssg-erro{position:fixed;top:0;right:0;margin-right:1rem}.loading-indicator{position:fixed;z-index:999;height:3em;width:3em;overflow:show;margin:auto;inset:0}.loading-indicator:before{content:\"\";display:block;position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000087}.esqueceu-senha{position:relative;bottom:15px}a{text-decoration:none;font-weight:500;cursor:pointer;gap:3px}#login-button{width:100%;height:2.5rem;border-radius:0 0 10px 10px;border:none;cursor:pointer;font-size:14px;transition:all ease-in .2s;-webkit-transition:all ease-in .2s;-moz-transition:all ease-in .2s;-ms-transition:all ease-in .2s;-o-transition:all ease-in .2s}#login-button:hover{opacity:.9}:host ::ng-deep .progress-spinner .p-progress-spinner-circle{animation:spinner-color 3s ease-in-out infinite}@keyframes spinner-color{0%,to{stroke:#090127}}\n"], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: InputPasswordComponent, selector: "kv-input-password", inputs: ["feedback", "mediumRegex", "strongRegex", "toggleMask"] }, { kind: "component", type: InputTextComponent, selector: "kv-input-text" }] });
|
|
3642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: LoginComponent, decorators: [{
|
|
3643
|
+
type: Component,
|
|
3644
|
+
args: [{ selector: 'kv-login', template: "<div id=\"login-container\"\r\n class=\"flex justify-content-center align-items-center login-container flex-column h-screen \" [style.background-image]=\"'url(' + Background + ')'\">\r\n\r\n <!-- CARD PRINCIPAL -->\r\n <div [formGroup]=\" loginForm\"\r\n class=\"flex flex-column align-items-center justify-content-between bg-white border-round-xl \"\r\n [style.width.px]=\"300\" [style.height.px]=\"435\">\r\n\r\n\r\n <div class=\"flex flex-row align-items-center justify-content-center p-3 mt-2\">\r\n <img alt=\"LogoSistema\" [style.height.rem]=\"4\" [src]=\"SystemLogo\" />\r\n </div>\r\n\r\n <!-- INFORMA\u00C7\u00D5ES CENTRAIS -->\r\n <div class=\" grid formgrid p-fluid gap-4 p-3\">\r\n\r\n <div class=\" w-full \">\r\n <img [style.height.rem]=\"2.5\" class=\"ml-2\" alt=\"keepass\" src=\"./assets/images/keepass-logo.png\" />\r\n </div>\r\n\r\n <kv-input-text componentId=\"usuario\" label=\"CPF ou Email\" formControlName=\"usuario\" class=\"field col-12\">\r\n </kv-input-text>\r\n\r\n <kv-input-password componentId=\"senha\" label=\"Senha\" [toggleMask]=\"true\" formControlName=\"senha\"\r\n [required]=\"true\" class=\"field col-12\">\r\n </kv-input-password>\r\n\r\n <div class=\"flex w-full justify-content-end esqueceu-senha\">\r\n <a href=\"https://inovacao.evopass.seg.br/redefinirsenha\" target=\"_blank\" style=\"font-size: smaller;\" [style.color]=\"SystemColorPrimary\">Esqueceu a senha?</a>\r\n </div>\r\n\r\n </div>\r\n\r\n <button \r\n id=\"login-button\" \r\n [style.background-color]=\"SystemColorPrimary\" \r\n [style.color]=\"'white'\" \r\n class=\"w-full \" \r\n (click)=\"login()\"\r\n [style.height.px]=\"50\"\r\n ><strong>Login</strong></button>\r\n </div>\r\n\r\n <p [style.color]=\"SystemColorSecondary\">N\u00E3o possui um Evopass? <a href=\"https://inovacao.evopass.seg.br/redefinirsenha\" target=\"_blank\" [style.color]=\"SystemColorSecondary\" >Cadastre-se</a>\r\n </p>\r\n\r\n <div class=\"flex justify-content-center align-items-center mt-5\">\r\n <img src=\"./assets/images/keevo-logo.png\" [style.height.rem]=\"4\" />\r\n </div>\r\n\r\n</div>", styles: ["#login-container{font-family:Roboto,Helvetica Neue,sans-serif;background:no-repeat center;background-size:cover}#mssg-erro{position:fixed;top:0;right:0;margin-right:1rem}.loading-indicator{position:fixed;z-index:999;height:3em;width:3em;overflow:show;margin:auto;inset:0}.loading-indicator:before{content:\"\";display:block;position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000087}.esqueceu-senha{position:relative;bottom:15px}a{text-decoration:none;font-weight:500;cursor:pointer;gap:3px}#login-button{width:100%;height:2.5rem;border-radius:0 0 10px 10px;border:none;cursor:pointer;font-size:14px;transition:all ease-in .2s;-webkit-transition:all ease-in .2s;-moz-transition:all ease-in .2s;-ms-transition:all ease-in .2s;-o-transition:all ease-in .2s}#login-button:hover{opacity:.9}:host ::ng-deep .progress-spinner .p-progress-spinner-circle{animation:spinner-color 3s ease-in-out infinite}@keyframes spinner-color{0%,to{stroke:#090127}}\n"] }]
|
|
3645
|
+
}], ctorParameters: function () { return [{ type: i2.FormBuilder }]; }, propDecorators: { Background: [{
|
|
3646
|
+
type: Input
|
|
3647
|
+
}], SystemLogo: [{
|
|
3648
|
+
type: Input
|
|
3649
|
+
}], SystemColorPrimary: [{
|
|
3650
|
+
type: Input
|
|
3651
|
+
}], SystemColorSecondary: [{
|
|
3652
|
+
type: Input
|
|
3653
|
+
}], onLogin: [{
|
|
3654
|
+
type: Output
|
|
3655
|
+
}] } });
|
|
3656
|
+
|
|
3657
|
+
class KvLoginModule {
|
|
3658
|
+
}
|
|
3659
|
+
KvLoginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KvLoginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3660
|
+
KvLoginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: KvLoginModule, declarations: [LoginComponent], imports: [CommonModule,
|
|
3661
|
+
PrimeNgModule,
|
|
3662
|
+
FormsModule,
|
|
3663
|
+
ReactiveFormsModule,
|
|
3664
|
+
KvInputsModule,
|
|
3665
|
+
KvButtonsModule,
|
|
3666
|
+
ProgressSpinnerModule], exports: [LoginComponent] });
|
|
3667
|
+
KvLoginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KvLoginModule, imports: [CommonModule,
|
|
3668
|
+
PrimeNgModule,
|
|
3669
|
+
FormsModule,
|
|
3670
|
+
ReactiveFormsModule,
|
|
3671
|
+
KvInputsModule,
|
|
3672
|
+
KvButtonsModule,
|
|
3673
|
+
ProgressSpinnerModule] });
|
|
3674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KvLoginModule, decorators: [{
|
|
3675
|
+
type: NgModule,
|
|
3676
|
+
args: [{
|
|
3677
|
+
declarations: [
|
|
3678
|
+
LoginComponent
|
|
3679
|
+
],
|
|
3680
|
+
imports: [
|
|
3681
|
+
CommonModule,
|
|
3682
|
+
PrimeNgModule,
|
|
3683
|
+
FormsModule,
|
|
3684
|
+
ReactiveFormsModule,
|
|
3685
|
+
KvInputsModule,
|
|
3686
|
+
KvButtonsModule,
|
|
3687
|
+
ProgressSpinnerModule,
|
|
3688
|
+
],
|
|
3689
|
+
exports: [
|
|
3690
|
+
LoginComponent
|
|
3691
|
+
]
|
|
3692
|
+
}]
|
|
3693
|
+
}] });
|
|
3694
|
+
|
|
3625
3695
|
class KeevoComponentsModule {
|
|
3626
3696
|
}
|
|
3627
3697
|
KeevoComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -3634,7 +3704,8 @@ KeevoComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", v
|
|
|
3634
3704
|
KvPickListModule,
|
|
3635
3705
|
KVTreeTableModule,
|
|
3636
3706
|
KvWorkspaceModule,
|
|
3637
|
-
OrgchartModule
|
|
3707
|
+
OrgchartModule,
|
|
3708
|
+
KvLoginModule], exports: [KvInputsModule,
|
|
3638
3709
|
KvButtonsModule,
|
|
3639
3710
|
KvTableModule,
|
|
3640
3711
|
KvtreeViewModule,
|
|
@@ -3643,7 +3714,8 @@ KeevoComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", v
|
|
|
3643
3714
|
KvPickListModule,
|
|
3644
3715
|
KVTreeTableModule,
|
|
3645
3716
|
KvWorkspaceModule,
|
|
3646
|
-
OrgchartModule
|
|
3717
|
+
OrgchartModule,
|
|
3718
|
+
KvLoginModule] });
|
|
3647
3719
|
KeevoComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, imports: [KvInputsModule,
|
|
3648
3720
|
KvButtonsModule,
|
|
3649
3721
|
KvTableModule,
|
|
@@ -3653,7 +3725,8 @@ KeevoComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", v
|
|
|
3653
3725
|
KvPickListModule,
|
|
3654
3726
|
KVTreeTableModule,
|
|
3655
3727
|
KvWorkspaceModule,
|
|
3656
|
-
OrgchartModule,
|
|
3728
|
+
OrgchartModule,
|
|
3729
|
+
KvLoginModule, KvInputsModule,
|
|
3657
3730
|
KvButtonsModule,
|
|
3658
3731
|
KvTableModule,
|
|
3659
3732
|
KvtreeViewModule,
|
|
@@ -3662,7 +3735,8 @@ KeevoComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", v
|
|
|
3662
3735
|
KvPickListModule,
|
|
3663
3736
|
KVTreeTableModule,
|
|
3664
3737
|
KvWorkspaceModule,
|
|
3665
|
-
OrgchartModule
|
|
3738
|
+
OrgchartModule,
|
|
3739
|
+
KvLoginModule] });
|
|
3666
3740
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, decorators: [{
|
|
3667
3741
|
type: NgModule,
|
|
3668
3742
|
args: [{
|
|
@@ -3677,7 +3751,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
3677
3751
|
KvPickListModule,
|
|
3678
3752
|
KVTreeTableModule,
|
|
3679
3753
|
KvWorkspaceModule,
|
|
3680
|
-
OrgchartModule
|
|
3754
|
+
OrgchartModule,
|
|
3755
|
+
KvLoginModule
|
|
3681
3756
|
],
|
|
3682
3757
|
exports: [
|
|
3683
3758
|
KvInputsModule,
|
|
@@ -3689,7 +3764,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
3689
3764
|
KvPickListModule,
|
|
3690
3765
|
KVTreeTableModule,
|
|
3691
3766
|
KvWorkspaceModule,
|
|
3692
|
-
OrgchartModule
|
|
3767
|
+
OrgchartModule,
|
|
3768
|
+
KvLoginModule
|
|
3693
3769
|
]
|
|
3694
3770
|
}]
|
|
3695
3771
|
}] });
|
|
@@ -3755,5 +3831,5 @@ class TranslatePrimeng {
|
|
|
3755
3831
|
* Generated bundle index. Do not edit.
|
|
3756
3832
|
*/
|
|
3757
3833
|
|
|
3758
|
-
export { BaseChartComponent, BaseComponent, BaseComponentButton, BaseComponentCrud, BaseComponentCrudForm, BaseComponentCrudList, BaseComponentDropDown, BaseComponentInput, BaseComponentMultiSelect, ButtonPersonalizeComponent, ButtonSecondaryComponent, ButtonSuccessComponent, ChartComponent, CheckComponent, CodigoFipePipe, ComponentProviders, ComponentService, CpfCnpjPipe, DropdownComponent, ErrorComponent, InputCalendarComponent, InputMaskComponent, InputNumberComponent, InputPasswordComponent, InputTextComponent, InputTextareaComponent, InputTimeComponent, KVTreeTableModule, KeevoComponentsModule, KvButtonsModule, KvChartModule, KvInputsModule, KvMenuModule, KvPickListModule, KvTableModule, KvWorkspaceModule, KvtreeViewModule, MenuComponent, MultiSelectComponent, NotificationService, ObjectService, OrgchartComponent, OrgchartModule, PeriodosChart, PickListComponent, PipesModule, PrimeNgModule, RadioGroupComponent, SwitchComponent, TableComponent, TablePaginate, TelefonePipe, TranslatePrimeng, TreeTableComponent, TreeViewComponent, WorkspaceComponent, kvErrorModule };
|
|
3834
|
+
export { BaseChartComponent, BaseComponent, BaseComponentButton, BaseComponentCrud, BaseComponentCrudForm, BaseComponentCrudList, BaseComponentDropDown, BaseComponentInput, BaseComponentMultiSelect, ButtonPersonalizeComponent, ButtonSecondaryComponent, ButtonSuccessComponent, ChartComponent, CheckComponent, CodigoFipePipe, ComponentProviders, ComponentService, CpfCnpjPipe, DropdownComponent, ErrorComponent, InputCalendarComponent, InputMaskComponent, InputNumberComponent, InputPasswordComponent, InputTextComponent, InputTextareaComponent, InputTimeComponent, KVTreeTableModule, KeevoComponentsModule, KvButtonsModule, KvChartModule, KvInputsModule, KvLoginModule, KvMenuModule, KvPickListModule, KvTableModule, KvWorkspaceModule, KvtreeViewModule, LoginComponent, MenuComponent, MultiSelectComponent, NotificationService, ObjectService, OrgchartComponent, OrgchartModule, PeriodosChart, PickListComponent, PipesModule, PrimeNgModule, RadioGroupComponent, SwitchComponent, TableComponent, TablePaginate, TelefonePipe, TranslatePrimeng, TreeTableComponent, TreeViewComponent, WorkspaceComponent, kvErrorModule };
|
|
3759
3835
|
//# sourceMappingURL=keevo-components.mjs.map
|