keevo-components 1.5.174 → 1.5.175
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/api/components/error/error.component.mjs +3 -3
- package/esm2020/lib/login/login.component.mjs +26 -23
- package/fesm2015/keevo-components.mjs +19 -20
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +19 -20
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/lib/login/login.component.d.ts +11 -14
- package/package.json +1 -1
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { BaseComponentCrudForm } from '../api/base-components/base-component-crud-form';
|
|
4
|
+
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
5
|
+
import { NotificationService } from '../api/services/notification.service';
|
|
6
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
7
|
import * as i0 from "@angular/core";
|
|
4
8
|
/**
|
|
5
9
|
* Componente de login personalizado.
|
|
6
10
|
* Este componente permite que os usuários façam login no sistema utilizando o estilo padrão dos sistemas Keevo.
|
|
7
11
|
*/
|
|
8
|
-
export declare class LoginComponent
|
|
12
|
+
export declare class LoginComponent extends BaseComponentCrudForm {
|
|
9
13
|
private formBuilder;
|
|
10
14
|
/** URL da imagem de fundo do componente. */
|
|
11
15
|
Background: any;
|
|
@@ -17,17 +21,10 @@ export declare class LoginComponent implements OnInit {
|
|
|
17
21
|
SystemColorSecondary: string;
|
|
18
22
|
/** Evento emitido quando o usuário faz login. */
|
|
19
23
|
onLogin: EventEmitter<any>;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* @param formBuilder O construtor de formulários do Angular.
|
|
25
|
-
*/
|
|
26
|
-
constructor(formBuilder: FormBuilder);
|
|
27
|
-
/** Inicializa o componente. */
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
/** Método chamado quando o usuário clica no botão de login. Emite o evento onLogin com os dados do formulário. */
|
|
30
|
-
login(): void;
|
|
24
|
+
constructor(dialogService: DialogService, notificationService: NotificationService, activatedRoute: ActivatedRoute, dynamicDialogRef: DynamicDialogRef, dynamicDialogConfig: DynamicDialogConfig, router: Router, formBuilder: FormBuilder);
|
|
25
|
+
configureForm(): void;
|
|
26
|
+
loadForm(id: any): void;
|
|
27
|
+
save(): void;
|
|
31
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
32
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "kv-login", never, { "Background": "Background"; "SystemLogo": "SystemLogo"; "SystemColorPrimary": "SystemColorPrimary"; "SystemColorSecondary": "SystemColorSecondary"; }, { "onLogin": "onLogin"; }, never, never, false, never>;
|
|
33
30
|
}
|