@pipelinesolucoes/form 1.2.0-beta.1 → 1.2.0-beta.3
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/dist/components/NotificationSnackbar.d.ts +1 -2
- package/dist/components/NotificationSnackbar.js +1 -1
- package/dist/components/NotificationSnackbar.js.map +1 -1
- package/dist/components/TextFieldPassword.d.ts +4 -33
- package/dist/components/TextFieldPassword.js +17 -16
- package/dist/components/TextFieldPassword.js.map +1 -1
- package/dist/components/TextFieldValidate.d.ts +5 -6
- package/dist/components/TextFieldValidate.js +12 -11
- package/dist/components/TextFieldValidate.js.map +1 -1
- package/dist/components/login/ClickResult.d.ts +11 -0
- package/dist/components/login/ClickResult.js +2 -0
- package/dist/components/login/ClickResult.js.map +1 -0
- package/dist/components/login/FormLogin.d.ts +6 -140
- package/dist/components/login/FormLogin.js +30 -142
- package/dist/components/login/FormLogin.js.map +1 -1
- package/dist/components/login/FormPasswordRecovery.d.ts +1 -22
- package/dist/components/login/FormPasswordRecovery.js +27 -6
- package/dist/components/login/FormPasswordRecovery.js.map +1 -1
- package/dist/components/login/FormSignUp.d.ts +4 -136
- package/dist/components/login/FormSignUp.js +30 -150
- package/dist/components/login/FormSignUp.js.map +1 -1
- package/dist/components/login/GoogleButton.d.ts +1 -4
- package/dist/components/login/GoogleButton.js.map +1 -1
- package/dist/components/login/StyleLogin.d.ts +7 -0
- package/dist/components/login/StyleLogin.js +42 -0
- package/dist/components/login/StyleLogin.js.map +1 -0
- package/dist/components/{FormStyled.d.ts → recaptcha/FormStyled.d.ts} +0 -7
- package/dist/components/{FormStyled.js → recaptcha/FormStyled.js} +0 -13
- package/dist/components/recaptcha/FormStyled.js.map +1 -0
- package/dist/components/recaptcha/RecaptchaForm.js +1 -1
- package/dist/components/recaptcha/RecaptchaForm.js.map +1 -1
- package/dist/components/{ButtonFormStyled.d.ts → style/ButtonFormStyled.d.ts} +1 -1
- package/dist/components/style/ButtonFormStyled.js +22 -0
- package/dist/components/style/ButtonFormStyled.js.map +1 -0
- package/dist/components/style/LinkFormStyled.d.ts +7 -0
- package/dist/components/style/LinkFormStyled.js +15 -0
- package/dist/components/style/LinkFormStyled.js.map +1 -0
- package/dist/index.d.ts +0 -4
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/FieldProps.d.ts +4 -0
- package/package.json +5 -3
- package/dist/components/ButtonFormStyled.js +0 -22
- package/dist/components/ButtonFormStyled.js.map +0 -1
- package/dist/components/FormStyled.js.map +0 -1
- package/dist/types/BorderProps.d.ts +0 -6
- package/dist/types/BorderProps.js +0 -2
- package/dist/types/BorderProps.js.map +0 -1
- package/dist/types/ColorProps.d.ts +0 -9
- package/dist/types/ColorProps.js +0 -2
- package/dist/types/ColorProps.js.map +0 -1
- package/dist/types/LayoutProps.d.ts +0 -7
- package/dist/types/LayoutProps.js +0 -2
- package/dist/types/LayoutProps.js.map +0 -1
- package/dist/types/TextProps.d.ts +0 -5
- package/dist/types/TextProps.js +0 -2
- package/dist/types/TextProps.js.map +0 -1
|
@@ -1,157 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { useTheme } from '@mui/material/styles';
|
|
5
5
|
import { Box, Divider, Typography } from '@mui/material';
|
|
6
|
-
import {
|
|
7
|
-
import { ButtonFormStyled } from '../ButtonFormStyled';
|
|
6
|
+
import { ButtonFormStyled } from '../style/ButtonFormStyled';
|
|
8
7
|
import { validateEmailMessage } from '../../utils/validateEmail';
|
|
9
8
|
import TextFieldValidate from '../TextFieldValidate';
|
|
10
9
|
import TextFieldPassword from '../TextFieldPassword';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
margin: 'auto',
|
|
17
|
-
padding: '0px',
|
|
18
|
-
}));
|
|
19
|
-
const DivPassword = styled('div')(() => ({
|
|
20
|
-
display: 'flex',
|
|
21
|
-
flexDirection: 'column',
|
|
22
|
-
gap: '8px',
|
|
23
|
-
width: '100%',
|
|
24
|
-
margin: '0',
|
|
25
|
-
padding: '0',
|
|
26
|
-
}));
|
|
27
|
-
const DivTitulo = styled('div')(() => ({
|
|
28
|
-
display: 'flex',
|
|
29
|
-
flexDirection: 'column',
|
|
30
|
-
gap: '8px',
|
|
31
|
-
width: '100%',
|
|
32
|
-
margin: '0',
|
|
33
|
-
padding: '0',
|
|
34
|
-
alignItems: 'center',
|
|
35
|
-
justifyContent: 'center',
|
|
36
|
-
}));
|
|
37
|
-
const DivLink = styled('div', {
|
|
38
|
-
shouldForwardProp: (prop) => !['text_color', 'align'].includes(prop),
|
|
39
|
-
})(({ text_color, align }) => ({
|
|
40
|
-
display: 'flex',
|
|
41
|
-
flexDirection: 'row',
|
|
42
|
-
alignItems: 'center',
|
|
43
|
-
justifyContent: align,
|
|
44
|
-
width: '100%',
|
|
45
|
-
padding: '0',
|
|
46
|
-
flex: '1',
|
|
47
|
-
color: text_color,
|
|
48
|
-
}));
|
|
49
|
-
const DivCampos = styled('div')(() => ({
|
|
50
|
-
display: 'flex',
|
|
51
|
-
flexDirection: 'column',
|
|
52
|
-
gap: '4px',
|
|
53
|
-
width: '100%',
|
|
54
|
-
margin: '0',
|
|
55
|
-
padding: '0',
|
|
56
|
-
alignItems: 'center',
|
|
57
|
-
justifyContent: 'center',
|
|
58
|
-
}));
|
|
59
|
-
/**
|
|
60
|
-
* Componente de formulário de login com suporte a autenticação via Google e login por email/senha.
|
|
61
|
-
* Inclui validação básica de email, exibição de mensagens de erro/sucesso retornadas pelo handler `onClick`
|
|
62
|
-
* e customização visual via props (container, campos, botão e links).
|
|
63
|
-
*
|
|
64
|
-
* @param {string} urlRecuperarConta URL para a página de recuperação de conta/senha. Obrigatório.
|
|
65
|
-
* @param {string} urlCriarConta URL para a página de criação de conta. Obrigatório.
|
|
66
|
-
* @param {React.ElementType<SvgIconProps>} [Icon] Ícone opcional (MUI SvgIcon) exibido no topo do formulário.
|
|
67
|
-
* @param {() => React.ReactElement} [titulo] Função que retorna o conteúdo do título exibido no topo do formulário.
|
|
68
|
-
* @param {() => React.ReactElement} googleButton Função que retorna o botão de login com Google. Obrigatório.
|
|
69
|
-
*
|
|
70
|
-
* @param {string} color Cor usada em alguns textos/containers auxiliares (ex.: wrapper dos links). Obrigatório.
|
|
71
|
-
* @param {string} [background='transparent'] Cor de fundo do container principal.
|
|
72
|
-
* @param {string} [borderRadius='0'] Raio da borda do container principal.
|
|
73
|
-
* @param {string} [border='none'] Borda do container principal.
|
|
74
|
-
* @param {string} [boxShadow='none'] Sombra do container principal.
|
|
75
|
-
*
|
|
76
|
-
* @param {string} [backgroundField='transparent'] Fundo dos campos (email/senha).
|
|
77
|
-
* @param {string} [colorField='#000'] Cor do texto dos campos (email/senha).
|
|
78
|
-
* @param {string} [colorFocusedField] Cor do estado focado do campo (se suportado pelos campos internos).
|
|
79
|
-
* @param {string} [borderRadiusField='0px'] Raio da borda dos campos.
|
|
80
|
-
* @param {string} [boxShadowField='none'] Sombra dos campos.
|
|
81
|
-
* @param {string} [borderColorField='#ccc'] Cor da borda dos campos.
|
|
82
|
-
* @param {string} [paddingField='4px 8px'] Espaçamento interno dos campos.
|
|
83
|
-
*
|
|
84
|
-
* @param {string} [textButton='Enviar'] Texto do botão principal.
|
|
85
|
-
* @param {TypographyVariant} [variantButton='body1'] Variante do Typography usada no texto do botão.
|
|
86
|
-
* @param {string} [backgroundButton='transparent'] Fundo do botão principal.
|
|
87
|
-
* @param {string} [backgroundHoverButton='transparent'] Fundo do botão no hover.
|
|
88
|
-
* @param {string} [colorButton='#000'] Cor do texto do botão.
|
|
89
|
-
* @param {string} [colorHoverButton='#000'] Cor do texto do botão no hover.
|
|
90
|
-
* @param {string} [borderRadiusButton='0'] Raio da borda do botão.
|
|
91
|
-
* @param {string} [borderButton='none'] Borda do botão.
|
|
92
|
-
* @param {string} [boxShadowButton='none'] Sombra do botão.
|
|
93
|
-
* @param {string} [widthButton='auto'] Largura do botão.
|
|
94
|
-
* @param {string} [heightButton='auto'] Altura do botão.
|
|
95
|
-
* @param {string} [paddingButton='4px 24px'] Padding do botão.
|
|
96
|
-
* @param {string} [marginButton='0'] Margem do botão.
|
|
97
|
-
*
|
|
98
|
-
* @param {string} color_message_sucess Cor padrão para mensagem de sucesso (caso `onClick` não retorne `color`). Obrigatório.
|
|
99
|
-
* @param {string} color_message_erro Cor padrão para mensagem de erro (caso `onClick` não retorne `color`). Obrigatório.
|
|
100
|
-
* @param {string} color_link Cor aplicada nos links "Esqueceu sua senha?" e "Criar conta". Obrigatório.
|
|
101
|
-
* @param {string} color_separador Cor da linha separadora (Divider). Obrigatório.
|
|
102
|
-
*
|
|
103
|
-
* @param {(data: { email: string; password: string }) => Promise<ClickResult> | ClickResult} [onClick]
|
|
104
|
-
* Handler chamado ao submeter o formulário. Recebe `{ email, password }` e deve retornar um `ClickResult`.
|
|
105
|
-
* - Se `success` for `true`, exibe `message` com `color_message_sucess` (ou `result.color` se fornecida)
|
|
106
|
-
* - Se `success` for `false`, exibe `message` com `color_message_erro` (ou `result.color` se fornecida)
|
|
107
|
-
* Se não for informado, o componente exibirá a mensagem: "Nenhuma ação foi configurada para o botão.".
|
|
108
|
-
*
|
|
109
|
-
* @param {React.ReactNode} [children] Conteúdo extra renderizado ao final do container (abaixo da mensagem).
|
|
110
|
-
*
|
|
111
|
-
* @example
|
|
112
|
-
* ```tsx
|
|
113
|
-
* import FormLogin from '@/components/FormLogin';
|
|
114
|
-
* import LockOutlinedIcon from '@mui/icons-material/LockOutlined';
|
|
115
|
-
* import { Button } from '@mui/material';
|
|
116
|
-
*
|
|
117
|
-
* export default function Example() {
|
|
118
|
-
* return (
|
|
119
|
-
* <FormLogin
|
|
120
|
-
* urlRecuperarConta="/recuperar"
|
|
121
|
-
* urlCriarConta="/cadastro"
|
|
122
|
-
* Icon={LockOutlinedIcon}
|
|
123
|
-
* titulo={() => <h2>Entrar</h2>}
|
|
124
|
-
* googleButton={() => <Button variant="outlined">Continuar com Google</Button>}
|
|
125
|
-
* color="#111"
|
|
126
|
-
* background="#fff"
|
|
127
|
-
* borderRadius="12px"
|
|
128
|
-
* boxShadow="0 10px 30px rgba(0,0,0,0.08)"
|
|
129
|
-
* backgroundField="#fafafa"
|
|
130
|
-
* borderColorField="#e0e0e0"
|
|
131
|
-
* paddingField="10px 12px"
|
|
132
|
-
* textButton="Acessar"
|
|
133
|
-
* backgroundButton="#111"
|
|
134
|
-
* backgroundHoverButton="#000"
|
|
135
|
-
* colorButton="#fff"
|
|
136
|
-
* colorHoverButton="#fff"
|
|
137
|
-
* borderRadiusButton="10px"
|
|
138
|
-
* paddingButton="10px 16px"
|
|
139
|
-
* color_message_sucess="#1b5e20"
|
|
140
|
-
* color_message_erro="#b71c1c"
|
|
141
|
-
* color_link="#1976d2"
|
|
142
|
-
* color_separador="#e0e0e0"
|
|
143
|
-
* onClick={async ({ email, password }) => {
|
|
144
|
-
* if (email === 'teste@exemplo.com' && password === '123') {
|
|
145
|
-
* return { success: true, message: 'Login realizado com sucesso!' };
|
|
146
|
-
* }
|
|
147
|
-
* return { success: false, message: 'Email ou senha inválidos.' };
|
|
148
|
-
* }}
|
|
149
|
-
* />
|
|
150
|
-
* );
|
|
151
|
-
* }
|
|
152
|
-
* ```
|
|
153
|
-
*/
|
|
154
|
-
const FormSignUp = ({ urlLogin, Icon, titulo, googleButton, color, background = 'transparent', borderRadius = '0', border = 'none', boxShadow = 'none', backgroundField = 'transparent', colorField = '#000', borderRadiusField = '0px', boxShadowField = 'none', borderColorField = '#ccc', paddingField = '4px 8px', textButton = 'Enviar', variantButton = 'body1', backgroundButton = 'transparent', backgroundHoverButton = 'transparent', colorButton = '#000', colorHoverButton = '#000', borderRadiusButton = '0', borderButton = 'none', boxShadowButton = 'none', widthButton = 'auto', heightButton = 'auto', paddingButton = '4px 24px', marginButton = '0', color_message_sucess, color_message_erro, color_link, color_separador, onClick, children, }) => {
|
|
10
|
+
import { LinkFormStyled } from '../style/LinkFormStyled';
|
|
11
|
+
import { DivCampos, DivLink, DivTitulo, FormContainer } from './StyleLogin';
|
|
12
|
+
const FormSignUp = ({ urlLogin, Icon, titulo, googleButton, background, borderRadius, border, boxShadow, backgroundField, colorField, borderRadiusField, boxShadowField, borderColorField, paddingField, marginField, textButton = 'Enviar', variantButton = 'body1', backgroundButton, backgroundHoverButton, colorButton, colorHoverButton, borderRadiusButton, borderButton = 'none', boxShadowButton, widthButton = 'auto', heightButton = 'auto', paddingButton, marginButton = '0', color_message_sucess, color_message_erro, colorLink, divider, onClick, children, }) => {
|
|
13
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70;
|
|
14
|
+
const theme = useTheme();
|
|
155
15
|
const [mensagemApi, setMensagemApi] = useState('');
|
|
156
16
|
const [corMensagemApi, setCorMensagemApi] = useState(color_message_erro);
|
|
157
17
|
const [email, setEmail] = useState('');
|
|
@@ -203,9 +63,29 @@ const FormSignUp = ({ urlLogin, Icon, titulo, googleButton, color, background =
|
|
|
203
63
|
setIsLoading(false);
|
|
204
64
|
}
|
|
205
65
|
};
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
66
|
+
const bContainer = (_d = background !== null && background !== void 0 ? background : (_c = (_b = (_a = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _a === void 0 ? void 0 : _a.forms) === null || _b === void 0 ? void 0 : _b.login) === null || _c === void 0 ? void 0 : _c.background) !== null && _d !== void 0 ? _d : 'transparent';
|
|
67
|
+
const brContainer = (_h = borderRadius !== null && borderRadius !== void 0 ? borderRadius : (_g = (_f = (_e = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _e === void 0 ? void 0 : _e.forms) === null || _f === void 0 ? void 0 : _f.login) === null || _g === void 0 ? void 0 : _g.borderRadius) !== null && _h !== void 0 ? _h : '0';
|
|
68
|
+
const bdContainer = (_m = border !== null && border !== void 0 ? border : (_l = (_k = (_j = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _j === void 0 ? void 0 : _j.forms) === null || _k === void 0 ? void 0 : _k.login) === null || _l === void 0 ? void 0 : _l.border) !== null && _m !== void 0 ? _m : '0';
|
|
69
|
+
const bsContainer = (_r = boxShadow !== null && boxShadow !== void 0 ? boxShadow : (_q = (_p = (_o = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _o === void 0 ? void 0 : _o.forms) === null || _p === void 0 ? void 0 : _p.login) === null || _q === void 0 ? void 0 : _q.boxShadow) !== null && _r !== void 0 ? _r : 'none';
|
|
70
|
+
const bField = (_w = backgroundField !== null && backgroundField !== void 0 ? backgroundField : (_v = (_u = (_t = (_s = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _s === void 0 ? void 0 : _s.forms) === null || _t === void 0 ? void 0 : _t.login) === null || _u === void 0 ? void 0 : _u.field) === null || _v === void 0 ? void 0 : _v.background) !== null && _w !== void 0 ? _w : undefined;
|
|
71
|
+
const cField = (_1 = colorField !== null && colorField !== void 0 ? colorField : (_0 = (_z = (_y = (_x = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _x === void 0 ? void 0 : _x.forms) === null || _y === void 0 ? void 0 : _y.login) === null || _z === void 0 ? void 0 : _z.field) === null || _0 === void 0 ? void 0 : _0.color) !== null && _1 !== void 0 ? _1 : undefined;
|
|
72
|
+
const brField = (_6 = borderRadiusField !== null && borderRadiusField !== void 0 ? borderRadiusField : (_5 = (_4 = (_3 = (_2 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _2 === void 0 ? void 0 : _2.forms) === null || _3 === void 0 ? void 0 : _3.login) === null || _4 === void 0 ? void 0 : _4.field) === null || _5 === void 0 ? void 0 : _5.borderRadius) !== null && _6 !== void 0 ? _6 : undefined;
|
|
73
|
+
const bsField = (_11 = boxShadowField !== null && boxShadowField !== void 0 ? boxShadowField : (_10 = (_9 = (_8 = (_7 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _7 === void 0 ? void 0 : _7.forms) === null || _8 === void 0 ? void 0 : _8.login) === null || _9 === void 0 ? void 0 : _9.field) === null || _10 === void 0 ? void 0 : _10.boxShadow) !== null && _11 !== void 0 ? _11 : undefined;
|
|
74
|
+
const bcField = (_16 = borderColorField !== null && borderColorField !== void 0 ? borderColorField : (_15 = (_14 = (_13 = (_12 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _12 === void 0 ? void 0 : _12.forms) === null || _13 === void 0 ? void 0 : _13.login) === null || _14 === void 0 ? void 0 : _14.field) === null || _15 === void 0 ? void 0 : _15.borderColor) !== null && _16 !== void 0 ? _16 : undefined;
|
|
75
|
+
const pField = (_21 = paddingField !== null && paddingField !== void 0 ? paddingField : (_20 = (_19 = (_18 = (_17 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _17 === void 0 ? void 0 : _17.forms) === null || _18 === void 0 ? void 0 : _18.login) === null || _19 === void 0 ? void 0 : _19.field) === null || _20 === void 0 ? void 0 : _20.padding) !== null && _21 !== void 0 ? _21 : undefined;
|
|
76
|
+
const mgField = (_26 = marginField !== null && marginField !== void 0 ? marginField : (_25 = (_24 = (_23 = (_22 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _22 === void 0 ? void 0 : _22.forms) === null || _23 === void 0 ? void 0 : _23.login) === null || _24 === void 0 ? void 0 : _24.field) === null || _25 === void 0 ? void 0 : _25.margin) !== null && _26 !== void 0 ? _26 : undefined;
|
|
77
|
+
const bgButton = (_31 = backgroundButton !== null && backgroundButton !== void 0 ? backgroundButton : (_30 = (_29 = (_28 = (_27 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _27 === void 0 ? void 0 : _27.forms) === null || _28 === void 0 ? void 0 : _28.login) === null || _29 === void 0 ? void 0 : _29.button) === null || _30 === void 0 ? void 0 : _30.background) !== null && _31 !== void 0 ? _31 : undefined;
|
|
78
|
+
const bgHoverButton = (_36 = backgroundHoverButton !== null && backgroundHoverButton !== void 0 ? backgroundHoverButton : (_35 = (_34 = (_33 = (_32 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _32 === void 0 ? void 0 : _32.forms) === null || _33 === void 0 ? void 0 : _33.login) === null || _34 === void 0 ? void 0 : _34.button) === null || _35 === void 0 ? void 0 : _35.backgroundHover) !== null && _36 !== void 0 ? _36 : undefined;
|
|
79
|
+
const cButton = (_41 = colorButton !== null && colorButton !== void 0 ? colorButton : (_40 = (_39 = (_38 = (_37 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _37 === void 0 ? void 0 : _37.forms) === null || _38 === void 0 ? void 0 : _38.login) === null || _39 === void 0 ? void 0 : _39.button) === null || _40 === void 0 ? void 0 : _40.color) !== null && _41 !== void 0 ? _41 : undefined;
|
|
80
|
+
const cHoverButton = (_46 = colorHoverButton !== null && colorHoverButton !== void 0 ? colorHoverButton : (_45 = (_44 = (_43 = (_42 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _42 === void 0 ? void 0 : _42.forms) === null || _43 === void 0 ? void 0 : _43.login) === null || _44 === void 0 ? void 0 : _44.button) === null || _45 === void 0 ? void 0 : _45.colorHover) !== null && _46 !== void 0 ? _46 : undefined;
|
|
81
|
+
const brButton = (_51 = borderRadiusButton !== null && borderRadiusButton !== void 0 ? borderRadiusButton : (_50 = (_49 = (_48 = (_47 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _47 === void 0 ? void 0 : _47.forms) === null || _48 === void 0 ? void 0 : _48.login) === null || _49 === void 0 ? void 0 : _49.button) === null || _50 === void 0 ? void 0 : _50.borderRadius) !== null && _51 !== void 0 ? _51 : undefined;
|
|
82
|
+
const bsButton = (_56 = boxShadowButton !== null && boxShadowButton !== void 0 ? boxShadowButton : (_55 = (_54 = (_53 = (_52 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _52 === void 0 ? void 0 : _52.forms) === null || _53 === void 0 ? void 0 : _53.login) === null || _54 === void 0 ? void 0 : _54.button) === null || _55 === void 0 ? void 0 : _55.boxShadow) !== null && _56 !== void 0 ? _56 : undefined;
|
|
83
|
+
const pButton = (_61 = paddingButton !== null && paddingButton !== void 0 ? paddingButton : (_60 = (_59 = (_58 = (_57 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _57 === void 0 ? void 0 : _57.forms) === null || _58 === void 0 ? void 0 : _58.login) === null || _59 === void 0 ? void 0 : _59.button) === null || _60 === void 0 ? void 0 : _60.padding) !== null && _61 !== void 0 ? _61 : undefined;
|
|
84
|
+
const cdivider = (_65 = divider !== null && divider !== void 0 ? divider : (_64 = (_63 = (_62 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _62 === void 0 ? void 0 : _62.forms) === null || _63 === void 0 ? void 0 : _63.login) === null || _64 === void 0 ? void 0 : _64.divider) !== null && _65 !== void 0 ? _65 : undefined;
|
|
85
|
+
const cLink = (_70 = colorLink !== null && colorLink !== void 0 ? colorLink : (_69 = (_68 = (_67 = (_66 = theme === null || theme === void 0 ? void 0 : theme.pipelinesolucoes) === null || _66 === void 0 ? void 0 : _66.forms) === null || _67 === void 0 ? void 0 : _67.login) === null || _68 === void 0 ? void 0 : _68.link) === null || _69 === void 0 ? void 0 : _69.color) !== null && _70 !== void 0 ? _70 : undefined;
|
|
86
|
+
return (_jsxs(Box, { display: "flex", flexDirection: "column", justifyContent: "center", gap: "24px", flex: 1, sx: { padding: '24px', borderRadius: brContainer,
|
|
87
|
+
background: bContainer, border: bdContainer,
|
|
88
|
+
boxShadow: bsContainer }, children: [(Icon || titulo) && (_jsxs(DivTitulo, { children: [Icon && _jsx(Icon, {}), titulo && titulo()] })), _jsxs(FormContainer, { children: [googleButton && googleButton(), _jsx(Divider, { sx: { borderColor: cdivider }, children: "ou" }), _jsxs(DivCampos, { children: [_jsx(TextFieldValidate, { id: "email", label: "Email", placeholder: "Email", background: bField, color: cField, borderRadius: brField, borderColor: bcField, boxShadow: bsField, padding: pField, value: email, onChange: (e) => setEmail(e.target.value), required: true, requiredMessage: "Campo obrigat\u00F3rio", validate: validateEmailMessage, showErrorOn: "blur" }), _jsx(TextFieldPassword, { id: "password", label: "Senha", placeholder: "Senha", required: true, background: bField, color: cField, borderRadius: brField, borderColor: bcField, boxShadow: bsField, padding: pField, value: password, onPasswordChange: (p) => setPassword(p) }), _jsx(TextFieldPassword, { id: "passwordconfirmada", label: "Confirmar Senha", placeholder: "Confirmar Senha", required: true, background: backgroundField, color: colorField, borderRadius: borderRadiusField, borderColor: borderColorField, boxShadow: boxShadowField, padding: paddingField, value: confirmPassword, onPasswordChange: (p) => setConfirmPassword(p) })] }), _jsx(ButtonFormStyled, { backgroundButton: bgButton, backgroundHoverButton: bgHoverButton, colorButton: cButton, colorHoverButton: cHoverButton, borderRadiusButton: brButton, borderButton: borderButton, boxShadowButton: bsButton, widthButton: widthButton, heightButton: heightButton, paddingButton: pButton, marginButton: marginButton, disabled: isLoading, onClick: handleClick, children: isLoading ? ('Enviando...') : (_jsx(Typography, { variant: variantButton, component: "span", children: textButton })) }), _jsx(DivLink, { children: _jsx(LinkFormStyled, { href: urlLogin, text_color: cLink, children: _jsx(Typography, { variant: variantButton, component: 'span', children: "Entrar" }) }) })] }), mensagemApi && (_jsx(Typography, { variant: "body2", sx: { color: corMensagemApi }, children: mensagemApi })), children] }));
|
|
209
89
|
};
|
|
210
90
|
export default FormSignUp;
|
|
211
91
|
//# sourceMappingURL=FormSignUp.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormSignUp.js","sourceRoot":"","sources":["../../../src/components/login/FormSignUp.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FormSignUp.js","sourceRoot":"","sources":["../../../src/components/login/FormSignUp.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,GAAG,EAAE,OAAO,EAAgB,UAAU,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAGzD,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AA0B5E,MAAM,UAAU,GAA8B,CAAC,EAC7C,QAAQ,EAER,IAAI,EACJ,MAAM,EACN,YAAY,EAEZ,UAAU,EACV,YAAY,EACZ,MAAM,EACN,SAAS,EAET,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,WAAW,EAEX,UAAU,GAAG,QAAQ,EACrB,aAAa,GAAG,OAAO,EAEvB,gBAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,GAAG,MAAM,EACrB,e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Q,EAAE,SAAS,EACnB,OAAO,EAAE,WAAW,YAEnB,SAAS,CAAC,CAAC,CAAC,CACX,aAAa,CACd,CAAC,CAAC,CAAC,CACF,KAAC,UAAU,IAAC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAC,MAAM,YACjD,UAAU,GACA,CACd,GACgB,EAEnB,KAAC,OAAO,cACN,KAAC,cAAc,IAAC,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,YAC/C,KAAC,UAAU,IAAC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAC,MAAM,uBAAoB,GACzD,GACT,IAEI,EAGf,WAAW,IAAI,CACd,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,EAAC,EAAE,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,YACtD,WAAW,GACD,CACd,EAEA,QAAQ,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React, { ReactElement } from 'react';
|
|
2
2
|
import { TypographyVariant, SvgIconProps } from '@mui/material';
|
|
3
|
-
import { ColorProps } from '
|
|
4
|
-
import { BorderProps } from '../../types/BorderProps';
|
|
5
|
-
import { LayoutProps } from '../../types/LayoutProps';
|
|
6
|
-
import { TextProps } from '../../types/TextProps';
|
|
3
|
+
import { BorderProps, ColorProps, LayoutProps, TextProps } from '@pipelinesolucoes/theme';
|
|
7
4
|
interface GoogleButtonProps extends ColorProps, BorderProps, LayoutProps, TextProps {
|
|
8
5
|
icon: () => ReactElement<HTMLImageElement> | ReactElement<SvgIconProps>;
|
|
9
6
|
text: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoogleButton.js","sourceRoot":"","sources":["../../../src/components/login/GoogleButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,EAAmC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"GoogleButton.js","sourceRoot":"","sources":["../../../src/components/login/GoogleButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,EAAmC,MAAM,eAAe,CAAC;AAIjG,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE;IACtC,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC;QACC,OAAO;QACP,QAAQ;QACR,SAAS;QACT,QAAQ;QACR,YAAY;QACZ,QAAQ;QACR,cAAc;QACd,WAAW;KACZ,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC7B,CAAC,CAUA,CAAC,EACC,KAAK,EACL,MAAM,EACN,OAAO,EACP,MAAM,EACN,UAAU,EACV,MAAM,EACN,YAAY,EACZ,SAAS,GACV,EAAE,EAAE,CAAC,CAAC;IACL,SAAS;IACT,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,MAAM;IAEd,SAAS;IACT,UAAU,EAAE,UAAU;IACtB,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,YAAY;IAC1B,SAAS,EAAE,SAAS;IACpB,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,SAAS;IAEjB,SAAS,EAAE;QACT,OAAO,EAAE,GAAG;QACZ,SAAS,EAAE,SAAS,IAAI,MAAM;KAC/B;IAED,YAAY,EAAE;QACZ,OAAO,EAAE,GAAG;QACZ,MAAM,EAAE,aAAa;KACtB;CACF,CAAC,CACH,CAAC;AAEF,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IACnC,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,KAAK;IACpB,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,QAAQ;IACxB,KA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,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,YAEnB,OAAO;oBACN,CAAC,CAAC,eAAe;oBACjB,CAAC,CAAC,CAAE,MAAC,SAAS,eACP,IAAI,EAAE,EACR,KAAC,UAAU,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,YAAG,IAAI,GAAc,IACpD,CAAC,GACF,EAElB,QAAQ,IAAI,CACX,KAAC,UAAU,IACT,IAAI,EAAC,OAAO,EACZ,OAAO,EAAC,OAAO,EACf,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EACb,KAAK,EAAE,UAAU,YAEhB,QAAQ,GACE,CACd,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAC1C,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const FormContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2
|
+
export declare const DivTitulo: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const DivCampos: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const DivLink: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
5
|
+
text_color?: string;
|
|
6
|
+
align?: string;
|
|
7
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { styled } from "@mui/material";
|
|
2
|
+
export const FormContainer = styled('div')(() => ({
|
|
3
|
+
display: 'flex',
|
|
4
|
+
flexDirection: 'column',
|
|
5
|
+
gap: '16px',
|
|
6
|
+
width: '100%',
|
|
7
|
+
margin: 'auto',
|
|
8
|
+
padding: '0px',
|
|
9
|
+
}));
|
|
10
|
+
export const DivTitulo = styled('div')(() => ({
|
|
11
|
+
display: 'flex',
|
|
12
|
+
flexDirection: 'column',
|
|
13
|
+
gap: '8px',
|
|
14
|
+
width: '100%',
|
|
15
|
+
margin: '0',
|
|
16
|
+
padding: '0',
|
|
17
|
+
alignItems: 'center',
|
|
18
|
+
justifyContent: 'center',
|
|
19
|
+
}));
|
|
20
|
+
export const DivCampos = styled('div')(() => ({
|
|
21
|
+
display: 'flex',
|
|
22
|
+
flexDirection: 'column',
|
|
23
|
+
gap: '4px',
|
|
24
|
+
width: '100%',
|
|
25
|
+
margin: '0',
|
|
26
|
+
padding: '0',
|
|
27
|
+
alignItems: 'center',
|
|
28
|
+
justifyContent: 'center',
|
|
29
|
+
}));
|
|
30
|
+
export const DivLink = styled('div', {
|
|
31
|
+
shouldForwardProp: (prop) => !['text_color', 'align'].includes(prop),
|
|
32
|
+
})(({ text_color, align = 'center' }) => ({
|
|
33
|
+
display: 'flex',
|
|
34
|
+
flexDirection: 'row',
|
|
35
|
+
alignItems: 'center',
|
|
36
|
+
justifyContent: align,
|
|
37
|
+
width: '100%',
|
|
38
|
+
padding: '0',
|
|
39
|
+
flex: '1',
|
|
40
|
+
color: text_color !== null && text_color !== void 0 ? text_color : "#000",
|
|
41
|
+
}));
|
|
42
|
+
//# sourceMappingURL=StyleLogin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StyleLogin.js","sourceRoot":"","sources":["../../../src/components/login/Style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AE,MAAM;IACf,aAAa,EAAE,KAAK;IACpB,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,KAAK;IACrB,KAAK,EAAE,MAAM;IACb,OAAO,EAAE,GAAG;IACZ,IAAI,EAAE,GAAG;IACT,KAAK,EAAE,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,MAAM;CAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -27,11 +27,4 @@ interface ButtonFormStyledProps {
|
|
|
27
27
|
margin?: string;
|
|
28
28
|
}
|
|
29
29
|
export declare const ButtonFormStyled: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ButtonFormStyledProps, {}, {}>;
|
|
30
|
-
export declare const LinkFormStyled: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
31
|
-
width: string;
|
|
32
|
-
height: string;
|
|
33
|
-
text_color: string;
|
|
34
|
-
margin?: string;
|
|
35
|
-
font_size?: string;
|
|
36
|
-
}, {}, {}>;
|
|
37
30
|
export {};
|
|
@@ -64,17 +64,4 @@ export const ButtonFormStyled = styled(Button, {
|
|
|
64
64
|
opacity: 0.9,
|
|
65
65
|
},
|
|
66
66
|
}));
|
|
67
|
-
export const LinkFormStyled = styled(Button, {
|
|
68
|
-
shouldForwardProp: (prop) => !['width', 'height', 'text_color', 'margin', 'font_size'].includes(prop),
|
|
69
|
-
})(({ theme, width, height, text_color, margin = 0, font_size }) => ({
|
|
70
|
-
color: text_color,
|
|
71
|
-
width: width,
|
|
72
|
-
height: height,
|
|
73
|
-
textTransform: 'none',
|
|
74
|
-
border: 'none',
|
|
75
|
-
cursor: 'pointer',
|
|
76
|
-
padding: '0',
|
|
77
|
-
boxShadow: 'none',
|
|
78
|
-
margin: margin,
|
|
79
|
-
}));
|
|
80
67
|
//# sourceMappingURL=FormStyled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormStyled.js","sourceRoot":"","sources":["../../../src/components/recaptcha/FormStyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAUhD,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,SAAS,EAAE;IAC/C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,kBAAkB,EAAE,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC7G,C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C"}
|
|
@@ -4,7 +4,7 @@ import React, { useRef, useState } from 'react';
|
|
|
4
4
|
import { styled } from '@mui/material/styles';
|
|
5
5
|
import { Box, Typography } from '@mui/material';
|
|
6
6
|
import RecaptchaInvisible from './RecaptchaInvisible';
|
|
7
|
-
import { ButtonFormStyled, TextFieldFixedSizeStyled, TextFieldStyled } from '
|
|
7
|
+
import { ButtonFormStyled, TextFieldFixedSizeStyled, TextFieldStyled } from './FormStyled';
|
|
8
8
|
import RecaptchaMessage from './RecaptchaMessage';
|
|
9
9
|
const FormContainer = styled('div')(() => ({
|
|
10
10
|
display: 'flex',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecaptchaForm.js","sourceRoot":"","sources":["../../../src/components/recaptcha/RecaptchaForm.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,kBAA6C,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"RecaptchaForm.js","sourceRoot":"","sources":["../../../src/components/recaptcha/RecaptchaForm.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,kBAA6C,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC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AAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,OAAO,EAAE,YAAY,EACrB,gBAAgB,EAAE,uBAAuB,EACzC,UAAU,EAAE,YAAY,EACxB,aAAa,EAAE,oBAAoB,EACnC,QAAQ,EAAE,SAAS,YAElB,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,GACvB,EAClB,WAAW,IAAI,CACd,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,cAAc,YAC/D,WAAW,GACD,CACd,IACa,EAEhB,KAAC,GAAG,IAAC,IAAI,EAAE,CAAC,YACT,QAAQ,GACL,EAEN,KAAC,gBAAgB,IAAC,KAAK,EAAE,KAAK,GAAG,EAGjC,KAAC,kBAAkB,IAAC,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,YAAY,GAAI,IAClE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ButtonProps } from "
|
|
1
|
+
import { ButtonProps } from "../../types/ButtonProps";
|
|
2
2
|
export declare const ButtonFormStyled: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ButtonProps, {}, {}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BUTTON_STYLE_FORWARD_PROPS } from "../../types/ButtonProps";
|
|
2
|
+
import { Button, styled } from "@mui/material";
|
|
3
|
+
export const ButtonFormStyled = styled(Button, {
|
|
4
|
+
shouldForwardProp: (prop) => !BUTTON_STYLE_FORWARD_PROPS.includes(prop),
|
|
5
|
+
})(({ backgroundButton, backgroundHoverButton, colorButton, colorHoverButton, borderRadiusButton, borderButton, boxShadowButton, widthButton, heightButton, paddingButton, marginButton, }) => ({
|
|
6
|
+
color: colorButton !== null && colorButton !== void 0 ? colorButton : '#000',
|
|
7
|
+
background: backgroundButton !== null && backgroundButton !== void 0 ? backgroundButton : 'transparent',
|
|
8
|
+
borderRadius: borderRadiusButton !== null && borderRadiusButton !== void 0 ? borderRadiusButton : '0',
|
|
9
|
+
textTransform: "none",
|
|
10
|
+
cursor: "pointer",
|
|
11
|
+
padding: paddingButton !== null && paddingButton !== void 0 ? paddingButton : '4px 24px',
|
|
12
|
+
boxShadow: boxShadowButton !== null && boxShadowButton !== void 0 ? boxShadowButton : 'none',
|
|
13
|
+
width: widthButton,
|
|
14
|
+
height: heightButton,
|
|
15
|
+
border: borderButton,
|
|
16
|
+
margin: marginButton,
|
|
17
|
+
"&:hover": {
|
|
18
|
+
background: backgroundHoverButton !== null && backgroundHoverButton !== void 0 ? backgroundHoverButton : 'transparent',
|
|
19
|
+
color: colorHoverButton !== null && colorHoverButton !== void 0 ? colorHoverButton : '#000',
|
|
20
|
+
},
|
|
21
|
+
}));
|
|
22
|
+
//# sourceMappingURL=ButtonFormStyled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonFormStyled.js","sourceRoot":"","sources":["../../../src/components/style/ButtonFormStyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAClF,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE;IAC3C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,0BAA0B,CAAC,QAAQ,CAAC,IAAyB,CAAC;CAC/F,CAAC,CACA,CAAC,EACC,gBAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,WAAW,EACX,YAAY,EACZ,aAAa,EACb,YAAY,GACb,EAAE,EAAE,CAAC,CAAC;IACL,KAAK,EAAE,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,MAAM;IAC5B,UAAU,EAAE,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,aAAa;IAC7C,YAAY,EAAE,kBAAkB,aAAlB,kBAAkB,cAAlB,kBAAkB,GAAI,GAAG;IACvC,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,SAAS;IAEjB,OAAO,EAAE,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,UAAU;IACpC,SAAS,EAAE,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,MAAM;IACpC,KAAK,EAAE,WAAW;IAClB,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,YAAY;IAEpB,SAAS,EAAE;QACT,UAAU,EAAE,qBAAqB,aAArB,qBAAqB,cAArB,qBAAqB,GAAI,aAAa;QAClD,KAAK,EAAE,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,MAAM;KAClC;CACF,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const LinkFormStyled: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
2
|
+
width?: string;
|
|
3
|
+
height?: string;
|
|
4
|
+
text_color: string;
|
|
5
|
+
margin?: string;
|
|
6
|
+
font_size?: string;
|
|
7
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Button, styled } from "@mui/material";
|
|
2
|
+
export const LinkFormStyled = styled(Button, {
|
|
3
|
+
shouldForwardProp: (prop) => !['width', 'height', 'text_color', 'margin', 'font_size'].includes(prop),
|
|
4
|
+
})(({ width = 'auto', height = 'auto', text_color, margin = 0 }) => ({
|
|
5
|
+
color: text_color,
|
|
6
|
+
width: width,
|
|
7
|
+
height: height,
|
|
8
|
+
textTransform: 'none',
|
|
9
|
+
border: 'none',
|
|
10
|
+
cursor: 'pointer',
|
|
11
|
+
padding: '0',
|
|
12
|
+
boxShadow: 'none',
|
|
13
|
+
margin: margin,
|
|
14
|
+
}));
|
|
15
|
+
//# sourceMappingURL=LinkFormStyled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkFormStyled.js","sourceRoot":"","sources":["../../../src/components/style/LinkFormStyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE;IAC3C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CACrF,CAAC,CACD,CAAC,EAAE,KAAK,GAAC,MAAM,EAAE,MAAM,GAAC,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAE7D,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,MAAM;IACd,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,GAAG;IACZ,SAAS,EAAE,MAAM;IACjB,MAAM,EAAE,MAAM;CACf,CAAC,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,9 +6,5 @@ export { default as RecaptchaForm } from './components/recaptcha/RecaptchaForm';
|
|
|
6
6
|
export { default as NotificationSnackbar } from './components/NotificationSnackbar';
|
|
7
7
|
export { default as TextFieldValidate } from './components/TextFieldValidate';
|
|
8
8
|
export { default as TextFieldPassword } from './components/TextFieldPassword';
|
|
9
|
-
export type { BorderProps } from "./types/BorderProps";
|
|
10
|
-
export type { ColorProps } from "./types/ColorProps";
|
|
11
|
-
export type { LayoutProps } from "./types/LayoutProps";
|
|
12
|
-
export type { TextProps } from "./types/TextProps";
|
|
13
9
|
export * from './utils/validateTelefone';
|
|
14
10
|
export * from './utils/validateEmail';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAC,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAC,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAC,MAAM,yCAAyC,CAAC;AAEzF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAC,MAAM,sCAAsC,CAAC;AAE/E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAC,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAC,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAC,MAAM,yCAAyC,CAAC;AAEzF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAC,MAAM,sCAAsC,CAAC;AAE/E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAE9E,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC"}
|