@navservice/usuario 1.30.0 → 1.32.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/build/lib/biblioteca/src/componentes/auth/AuthAtivarDesativarAuthenticator/AuthAtivarDesativarAuthenticator.d.ts +2 -0
- package/build/lib/biblioteca/src/componentes/auth/AuthAtivarDesativarAuthenticator/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/auth/AuthGoogle/AuthGoogle.d.ts +5 -0
- package/build/lib/biblioteca/src/componentes/auth/AuthGoogle/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/auth/AuthLogin/AuthLogin.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/auth/AuthLogin/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/auth/AuthRegister/AuthRegister.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/auth/AuthRegister/index.d.ts +2 -0
- package/build/lib/biblioteca/src/componentes/auth/EnviarCodigoOtpParaEmail/EnviarCodigoOtpParaEmail.d.ts +12 -0
- package/build/lib/biblioteca/src/componentes/auth/EnviarCodigoOtpParaEmail/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/auth/EsqueciMinhaSenha/EsqueciMinhaSenha.d.ts +5 -0
- package/build/lib/biblioteca/src/componentes/auth/EsqueciMinhaSenha/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/auth/RecuperarSenhaComCodigoOtp/RecuperarSenhaComCodigoOtp.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/auth/RecuperarSenhaComCodigoOtp/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/auth/VerificarAuthenticator/VerificarAuthenticator.d.ts +2 -0
- package/build/lib/biblioteca/src/componentes/auth/VerificarAuthenticator/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/drawer/DraweFullScreen/DraweFullScreen.d.ts +12 -0
- package/build/lib/biblioteca/src/componentes/drawer/DraweFullScreen/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/drawer/DrawerPadrao/DrawerPadrao.d.ts +12 -0
- package/build/lib/biblioteca/src/componentes/drawer/DrawerPadrao/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/geral/FormularioZod/index.d.ts +45 -0
- package/build/lib/biblioteca/src/componentes/geral/PaginaEmDesenvolvimento/index.d.ts +5 -0
- package/build/lib/biblioteca/src/componentes/geral/TopTabs/index.d.ts +10 -0
- package/build/lib/biblioteca/src/componentes/layout/Layout.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/layout/NavBar/DarkMode.d.ts +2 -0
- package/build/lib/biblioteca/src/componentes/layout/NavBar/Logo.d.ts +2 -0
- package/build/lib/biblioteca/src/componentes/layout/NavBar/Profile.d.ts +5 -0
- package/build/lib/biblioteca/src/componentes/layout/NavBar/index.d.ts +3 -0
- package/build/lib/biblioteca/src/componentes/layout/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/layoutPublic/Header.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/layoutPublic/index.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/layoutPublic/layoutPublic.d.ts +1 -0
- package/build/lib/biblioteca/src/config_env/index.d.ts +16 -0
- package/build/lib/biblioteca/src/contexto/contexto_codigo_otp.d.ts +19 -0
- package/build/lib/biblioteca/src/contexto/contexto_layout.d.ts +74 -0
- package/build/lib/biblioteca/src/contexto/contexto_usuario.d.ts +32 -0
- package/build/lib/biblioteca/src/index.d.ts +15 -0
- package/build/lib/index.js +38894 -0
- package/build/lib/shared/configuracoes/_sistema.d.ts +49 -0
- package/build/lib/shared/configuracoes/_theme.d.ts +91 -0
- package/build/lib/shared/configuracoes/index.d.ts +142 -0
- package/build/lib/shared/types/controller/type_codigo_verificacao_otp.d.ts +87 -0
- package/build/lib/shared/types/controller/type_controller_authenticator.d.ts +88 -0
- package/build/lib/shared/types/controller/type_controller_usuario.d.ts +261 -0
- package/build/lib/shared/types/geral/type_response.d.ts +54 -0
- package/build/lib/shared/types/index.d.ts +45 -0
- 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";
|