@navservice/usuario 1.30.0 → 1.31.0
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/build/es/biblioteca/src/componentes/auth/EnviarCodigoOtpParaEmail/EnviarCodigoOtpParaEmail.d.ts +6 -1
- package/build/es/biblioteca/src/componentes/auth/EnviarCodigoOtpParaEmail/index.d.ts +1 -1
- package/build/es/biblioteca/src/componentes/auth/RecuperarSenhaComCodigoOtp/RecuperarSenhaComCodigoOtp.d.ts +1 -0
- package/build/es/biblioteca/src/componentes/auth/RecuperarSenhaComCodigoOtp/index.d.ts +1 -0
- package/build/es/biblioteca/src/contexto/contexto_codigo_otp.d.ts +19 -0
- package/build/es/biblioteca/src/contexto/contexto_usuario.d.ts +2 -2
- package/build/es/biblioteca/src/index.d.ts +1 -0
- package/build/es/index.js +555 -347
- package/build/es/shared/configuracoes/_theme.d.ts +13 -0
- package/build/es/shared/configuracoes/index.d.ts +13 -0
- package/build/es/shared/types/controller/type_codigo_verificacao_otp.d.ts +6 -10
- package/build/es/shared/types/controller/type_controller_authenticator.d.ts +7 -1
- package/build/es/shared/types/controller/type_controller_usuario.d.ts +2 -1
- package/package.json +1 -1
|
@@ -2,6 +2,11 @@ type Props = {
|
|
|
2
2
|
email: string;
|
|
3
3
|
erroExterno?: string | null;
|
|
4
4
|
onConfirmarCodigo?: (codigo: string) => void;
|
|
5
|
+
title?: string;
|
|
6
|
+
color?: "error" | "primary";
|
|
5
7
|
};
|
|
6
|
-
export
|
|
8
|
+
export type EnviarCodigoOtpEmailRef = {
|
|
9
|
+
reset: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const EnviarCodigoOtpEmail: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<EnviarCodigoOtpEmailRef>>;
|
|
7
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { EnviarCodigoOtpEmail } from "./EnviarCodigoOtpParaEmail";
|
|
1
|
+
export { EnviarCodigoOtpEmail, EnviarCodigoOtpEmailRef } from "./EnviarCodigoOtpParaEmail";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function RecuperarSenhaComCodigoOtpButton(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RecuperarSenhaComCodigoOtpButton } from "./RecuperarSenhaComCodigoOtp";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AxiosResponse } from "axios";
|
|
2
|
+
import t from "../../../shared/types";
|
|
3
|
+
interface ZustandStore {
|
|
4
|
+
states: {
|
|
5
|
+
recuperar_senha_pelo_app_com_codigo_otp: {
|
|
6
|
+
loading: boolean;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
declare class contexto_codigo_otp {
|
|
11
|
+
api: {
|
|
12
|
+
recuperar_senha_pelo_app_com_codigo_otp: (props: t.Controller.CodigoOtp.RecuperarSenhaPeloAppComCodigoOtp.Input) => Promise<AxiosResponse<any, any, {}>>;
|
|
13
|
+
};
|
|
14
|
+
get get_jsx(): ZustandStore['states'];
|
|
15
|
+
get get_state(): ZustandStore['states'];
|
|
16
|
+
set_state: (updater: (state: ZustandStore["states"]) => void) => void;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: contexto_codigo_otp;
|
|
19
|
+
export default _default;
|
|
@@ -7,7 +7,7 @@ declare const contexto_usuario: {
|
|
|
7
7
|
register(props: t.Controller.Usuario.Register.Input): Promise<t.Controller.Usuario.Register.Response>;
|
|
8
8
|
login(props: t.Controller.Usuario.Login.Input): Promise<AxiosResponse>;
|
|
9
9
|
entrar_com_codigo_otp(props: t.Controller.CodigoOtp.EntrarComCodigoOtp.Input): Promise<t.Controller.CodigoOtp.EntrarComCodigoOtp.Response>;
|
|
10
|
-
login_register_google(props: t.Controller.Usuario.RegisterLoginGoogle.Input): Promise<
|
|
10
|
+
login_register_google(props: t.Controller.Usuario.RegisterLoginGoogle.Input): Promise<AxiosResponse<any, any, {}>>;
|
|
11
11
|
};
|
|
12
12
|
contexto: {
|
|
13
13
|
new (): {};
|
|
@@ -20,7 +20,7 @@ declare const contexto_usuario: {
|
|
|
20
20
|
state: {
|
|
21
21
|
new (): {};
|
|
22
22
|
set_signed(): void;
|
|
23
|
-
set_user(userData:
|
|
23
|
+
set_user(userData: t.Controller.Usuario.Login.Output | null): void;
|
|
24
24
|
set_loading(value: boolean): void;
|
|
25
25
|
set_signout(): void;
|
|
26
26
|
};
|
|
@@ -2,6 +2,7 @@ export { default as config_env_usuario } from "./config_env";
|
|
|
2
2
|
export { default as contexto_usuario } from "./contexto/contexto_usuario";
|
|
3
3
|
export { default as contexto_layout } from "./contexto/contexto_layout";
|
|
4
4
|
export { AuthAtivarDesativarAuthenticatorButton } from "./componentes/auth/AuthAtivarDesativarAuthenticator";
|
|
5
|
+
export { RecuperarSenhaComCodigoOtpButton } from "./componentes/auth/RecuperarSenhaComCodigoOtp";
|
|
5
6
|
export { EsqueciMinhaSenha } from "./componentes/auth/EsqueciMinhaSenha";
|
|
6
7
|
export { AuthGoogle } from "./componentes/auth/AuthGoogle";
|
|
7
8
|
export { AuthLogin } from "./componentes/auth/AuthLogin";
|