@s_mart/telas-de-acesso 11.0.7 → 16.0.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.
Files changed (30) hide show
  1. package/dist/components/templateTelaBase.d.ts +2 -0
  2. package/dist/components/templateTelaBase.styles.d.ts +5 -0
  3. package/dist/components/templateTelaBase.types.d.ts +35 -0
  4. package/dist/index.d.ts +14 -0
  5. package/dist/index.mjs +595 -95
  6. package/dist/index.mjs.map +1 -0
  7. package/dist/screens/telaCadastro/telaCadastro.d.ts +2 -0
  8. package/dist/screens/telaCadastro/telaCadastro.styles.d.ts +8 -0
  9. package/dist/screens/telaCadastro/telaCadastro.types.d.ts +43 -0
  10. package/dist/screens/telaCadastro/telaCadastroRules.d.ts +9 -0
  11. package/dist/screens/telaCadastro/telaCadastroSlots.d.ts +6 -0
  12. package/dist/screens/telaCadastro/useTelaCadastro.d.ts +8 -0
  13. package/dist/screens/telaConviteExpirado/telaConviteExpirado.d.ts +2 -0
  14. package/dist/screens/telaConviteExpirado/telaConviteExpirado.styles.d.ts +2 -0
  15. package/dist/screens/telaConviteExpirado/telaConviteExpirado.types.d.ts +16 -0
  16. package/dist/screens/telaEsqueceuSenha/telaEsqueceuSenha.d.ts +2 -0
  17. package/dist/screens/telaEsqueceuSenha/telaEsqueceuSenha.styles.d.ts +3 -0
  18. package/dist/screens/telaEsqueceuSenha/telaEsqueceuSenha.types.d.ts +20 -0
  19. package/dist/screens/telaInstrucoesEnviadas/telaInstrucoesEnviadas.d.ts +2 -0
  20. package/dist/screens/telaInstrucoesEnviadas/telaInstrucoesEnviadas.styles.d.ts +2 -0
  21. package/dist/screens/telaInstrucoesEnviadas/telaInstrucoesEnviadas.types.d.ts +12 -0
  22. package/dist/screens/telaLogin/telaLogin.d.ts +2 -0
  23. package/dist/screens/telaLogin/telaLogin.styles.d.ts +3 -0
  24. package/dist/screens/telaLogin/telaLogin.types.d.ts +39 -0
  25. package/dist/screens/telaNovaSenha/telaNovaSenha.d.ts +2 -0
  26. package/dist/screens/telaNovaSenha/telaNovaSenha.helpers.d.ts +3 -0
  27. package/dist/screens/telaNovaSenha/telaNovaSenha.styles.d.ts +8 -0
  28. package/dist/screens/telaNovaSenha/telaNovaSenha.types.d.ts +20 -0
  29. package/package.json +39 -47
  30. package/dist/index.d.mts +0 -203
package/dist/index.mjs CHANGED
@@ -1,4 +1,17 @@
1
- import{LIcon as Ke}from"@s_mart/core";import{Typography as Ye}from"@mui/material";import{telefone as Ze}from"@s_mart/masks";import{lineWhatsApp as je}from"@s_mart/regular-icons";import{styled as $}from"@mui/material";import{colorPalette as Ge}from"@s_mart/tokens";import{toRem as p}from"@s_mart/utils";var j=$("div")`
1
+ import { Indicator as e, LIcon as t } from "@s_mart/core";
2
+ import { telefone as n } from "@s_mart/masks";
3
+ import { lineCheck as r, lineWhatsApp as i } from "@s_mart/regular-icons";
4
+ import { Button as a, Link as o, Typography as s, styled as c, useMediaQuery as l } from "@mui/material";
5
+ import { colorPalette as u } from "@s_mart/tokens";
6
+ import { toRem as d } from "@s_mart/utils";
7
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
8
+ import { memo as m, useMemo as h } from "react";
9
+ import { Checkbox as g, Form as _, TextField as v } from "@s_mart/form";
10
+ import { composeValidators as y, email as b, required as x } from "@s_mart/rules";
11
+ import { FormProvider as S, useForm as C, useWatch as w } from "react-hook-form";
12
+ import { useCapsLock as T } from "@s_mart/hooks";
13
+ //#region src/components/templateTelaBase.styles.ts
14
+ var ee = c("div")`
2
15
  display: flex;
3
16
  flex-direction: column;
4
17
  align-items: center;
@@ -8,17 +21,17 @@ import{LIcon as Ke}from"@s_mart/core";import{Typography as Ye}from"@mui/material
8
21
 
9
22
  height: 100vh;
10
23
 
11
- background-color: ${({theme:e})=>e.palette.primary.main};
24
+ background-color: ${({ theme: e }) => e.palette.primary.main};
12
25
  transition: background-color 0.3s ease-in-out;
13
26
 
14
27
  @media (max-width: 500px) {
15
- background-color: ${({theme:e})=>e.palette.common.white};
28
+ background-color: ${({ theme: e }) => e.palette.common.white};
16
29
  }
17
30
 
18
31
  @media (max-height: 600px) {
19
32
  justify-content: flex-start;
20
33
  }
21
- `,ee=$("div")`
34
+ `, E = c("div")`
22
35
  position: absolute;
23
36
  left: 0;
24
37
  bottom: 32px;
@@ -27,26 +40,26 @@ import{LIcon as Ke}from"@s_mart/core";import{Typography as Ye}from"@mui/material
27
40
  @media (max-width: 768px) {
28
41
  display: none;
29
42
  }
30
- `,te=$("h1")`
43
+ `, D = c("h1")`
31
44
  position: absolute;
32
45
  left: 32px;
33
46
  top: 32px;
34
47
 
35
- color: ${({theme:e})=>e.palette.common.white};
36
- font-size: ${p(32)};
48
+ color: ${({ theme: e }) => e.palette.common.white};
49
+ font-size: ${d(32)};
37
50
  line-height: 150%;
38
51
  font-weight: normal;
39
52
 
40
53
  @media (max-width: 768px) {
41
54
  left: 16px;
42
55
  top: 16px;
43
- font-size: ${p(24)};
56
+ font-size: ${d(24)};
44
57
  }
45
58
 
46
59
  @media (max-height: 830px) {
47
60
  left: 16px;
48
61
  top: 16px;
49
- font-size: ${p(24)};
62
+ font-size: ${d(24)};
50
63
 
51
64
  @media (max-width: 768px) {
52
65
  display: none;
@@ -59,207 +72,694 @@ import{LIcon as Ke}from"@s_mart/core";import{Typography as Ye}from"@mui/material
59
72
 
60
73
  span {
61
74
  background-color: #262626;
62
- padding: ${p(4)} ${p(8)};
63
- border-radius: ${p(12)};
75
+ padding: ${d(4)} ${d(8)};
76
+ border-radius: ${d(12)};
64
77
  }
65
78
 
66
79
  @media (max-width: 500px) {
67
80
  display: none;
68
81
  }
69
- `,oe=$("div")`
82
+ `, O = c("div")`
70
83
  position: relative;
71
84
  z-index: 2;
72
85
 
73
- padding: ${p(32)};
74
- border-radius: ${p(24)};
75
- margin: ${p(16)};
86
+ padding: ${d(32)};
87
+ border-radius: ${d(24)};
88
+ margin: ${d(16)};
76
89
 
77
- background-color: ${({theme:e})=>e.palette.common.white};
78
- `,ae=$("button")`
90
+ background-color: ${({ theme: e }) => e.palette.common.white};
91
+ `, k = c("button")`
79
92
  position: relative;
80
93
  z-index: 2;
81
94
 
82
- background-color: ${({theme:e})=>e.palette.primary.main};
83
- padding: ${p(4)} ${p(8)};
95
+ background-color: ${({ theme: e }) => e.palette.primary.main};
96
+ padding: ${d(4)} ${d(8)};
84
97
  border: none;
85
- border-radius: ${p(8)};
98
+ border-radius: ${d(8)};
86
99
  cursor: pointer;
87
100
 
88
101
  display: flex;
89
102
  align-items: center;
90
- gap: ${p(4)};
103
+ gap: ${d(4)};
91
104
 
92
- color: ${({theme:e})=>e.palette.common.white};
105
+ color: ${({ theme: e }) => e.palette.common.white};
93
106
 
94
107
  @media (max-width: 500px) {
95
- color: ${({theme:e})=>e.palette.common.black};
108
+ color: ${({ theme: e }) => e.palette.common.black};
96
109
  background-color: transparent;
97
110
 
98
111
  svg {
99
- color: ${Ge.green[300]};
112
+ color: ${u.green[300]};
100
113
  }
101
114
  }
102
- `;import{jsx as F,jsxs as I}from"react/jsx-runtime";function l({children:e,whatsapp:t,textoChamativo:r,style:i,paperStyle:a,ilustracao:n}){return I(j,{style:i,children:[r&&F(te,{children:r}),n&&F(ee,{children:typeof n=="string"?F("img",{src:n,alt:"Logo do sistema"}):n}),F(oe,{style:a,children:e}),t&&I(ae,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${t}`)},style:{marginBottom:16},children:[I(Ye,{variant:"bodyXS",children:["Com d\xFAvidas? ",Ze.format(t.slice(2))]}),F(Ke,{icon:je,size:"20px",removeMargin:!0})]})]})}import{Button as at,LIcon as A}from"@s_mart/core";import{Checkbox as rt,TextField as it}from"@s_mart/form";import{Link as nt,Typography as P}from"@mui/material";import{lineCheck as Q}from"@s_mart/regular-icons";import{colorPalette as w}from"@s_mart/tokens";import{styled as S}from"@mui/material";import{toRem as m}from"@s_mart/utils";var re=S("div")`
115
+ `;
116
+ //#endregion
117
+ //#region src/components/templateTelaBase.tsx
118
+ function A({ children: e, whatsapp: r, textoChamativo: a, style: o, paperStyle: c, ilustracao: l }) {
119
+ return /* @__PURE__ */ p(ee, {
120
+ style: o,
121
+ children: [
122
+ a && /* @__PURE__ */ f(D, { children: a }),
123
+ l && /* @__PURE__ */ f(E, { children: typeof l == "string" ? /* @__PURE__ */ f("img", {
124
+ src: l,
125
+ alt: "Logo do sistema"
126
+ }) : l }),
127
+ /* @__PURE__ */ f(O, {
128
+ style: c,
129
+ children: e
130
+ }),
131
+ r && /* @__PURE__ */ p(k, {
132
+ onClick: () => {
133
+ window.open(`https://api.whatsapp.com/send?phone=${r}`);
134
+ },
135
+ style: { marginBottom: 16 },
136
+ children: [/* @__PURE__ */ p(s, {
137
+ variant: "bodyXS",
138
+ children: ["Com dúvidas? ", n.format(r.slice(2))]
139
+ }), /* @__PURE__ */ f(t, {
140
+ icon: i,
141
+ size: "20px",
142
+ removeMargin: !0
143
+ })]
144
+ })
145
+ ]
146
+ });
147
+ }
148
+ //#endregion
149
+ //#region src/screens/telaCadastro/telaCadastro.styles.ts
150
+ var j = c("div")`
103
151
  display: grid;
104
- gap: ${m(32)};
105
- `,ie=S("header")`
152
+ gap: ${d(32)};
153
+ `, M = c("header")`
106
154
  display: grid;
107
155
  text-align: center;
108
- gap: ${m(16)};
109
- `,ne=S("div")`
156
+ gap: ${d(16)};
157
+ `, N = c("div")`
110
158
  display: grid;
111
- gap: ${m(32)};
112
- `,se=S("div")`
159
+ gap: ${d(32)};
160
+ `, P = c("div")`
113
161
  display: grid;
114
- gap: ${m(4)};
162
+ gap: ${d(4)};
115
163
 
116
164
  > div:first-of-type {
117
165
  display: grid;
118
166
  grid-template-columns: 1fr 1fr;
119
- gap: ${m(16)};
167
+ gap: ${d(16)};
120
168
 
121
169
  @media (max-width: 768px) {
122
170
  grid-template-columns: 1fr;
123
- gap: ${m(8)};
171
+ gap: ${d(8)};
124
172
  }
125
173
  }
126
174
 
127
175
  > div:last-of-type {
128
176
  display: grid;
129
- gap: ${m(4)};
177
+ gap: ${d(4)};
130
178
  }
131
- `,pe=S("div")`
179
+ `, F = c("div")`
132
180
  display: flex;
133
181
  flex-wrap: wrap;
134
- gap: ${m(8)};
135
- `,L=S("div")`
182
+ gap: ${d(8)};
183
+ `, I = c("div")`
136
184
  display: flex;
137
185
  align-items: center;
138
- gap: ${m(4)};
186
+ gap: ${d(4)};
139
187
 
140
- color: ${w.neutral[600]};
141
- border: 1px solid ${w.neutral[600]};
142
- border-radius: ${m(4)};
143
- padding: ${m(3)} ${m(4)};
188
+ color: ${u.neutral[600]};
189
+ border: 1px solid ${u.neutral[600]};
190
+ border-radius: ${d(4)};
191
+ padding: ${d(3)} ${d(4)};
144
192
 
145
193
  line-height: 1em;
146
194
  vertical-align: middle;
147
195
 
148
196
  &[data-checked='true'] {
149
- color: ${w.green[300]};
150
- border-color: ${w.green[300]};
197
+ color: ${u.green[300]};
198
+ border-color: ${u.green[300]};
151
199
  }
152
- `;import{useForm as et,useWatch as tt}from"react-hook-form";var V=e=>e?e.match(/[a-z]/i):!1,z=e=>e?e.match(/[0-9]/i):!1,H=e=>e?e.length>=6:!1,le={validate:e=>{if(!e)return"Obrigat\xF3rio";if(!V(e))return"Deve ter pelo menos uma letra";if(!z(e))return"Deve ter pelo menos um n\xFAmero";if(!H(e))return"Deve ter pelo menos 6 caracteres"}},me=e=>({validate:t=>{if(!t)return"Obrigat\xF3rio";if(t!==e)return"As senhas devem ser iguais"}});function de({defaultValues:e}){let t=et({defaultValues:e,mode:"all"}),r=tt({control:t.control,name:"senha"}),i=V(r),a=z(r),n=H(r);return{form:t,senha:r,senhaContemLetra:i,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:n}}import{TextField as _}from"@s_mart/form";import{required as ot}from"@s_mart/rules";import{jsx as X}from"react/jsx-runtime";var N={textFieldNome:e=>X(_,{...e}),textFieldEmail:e=>X(_,{...e}),textFieldSenha:e=>X(_,{...e})},ce={type:"text",name:"nome",label:"Nome completo",required:!0,rules:ot},ue={type:"email",name:"email",label:"E-mail de acesso",required:!0,disabled:!0},fe={type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:le};import{FormProvider as st}from"react-hook-form";import{memo as pt,useMemo as lt}from"react";import{required as mt}from"@s_mart/rules";import{jsx as o,jsxs as d}from"react/jsx-runtime";var he=pt(e=>{let{form:t,senha:r,senhaContemLetra:i,senhaContemMinimoDe6Caracteres:a,senhaContemNumero:n}=de(e),f=e.logo,C=e.slots,v=lt(()=>typeof f=="string"?o("img",{src:f,alt:"Logo do sistema"}):f,[f]),y=C?.textFieldNome??N.textFieldNome,Ue=C?.textFieldEmail??N.textFieldEmail,Oe=C?.textFieldSenha??N.textFieldSenha;return o(l,{...e,children:d(re,{children:[d(ie,{children:[f&&o("div",{children:v}),d(P,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",e.nomeSistema,"."]})]}),o(st,{...t,children:o("form",{onSubmit:t.handleSubmit(e.onSubmit),children:d(ne,{children:[o(Ue,{...ue}),o(y,{...ce}),d(se,{children:[d("div",{children:[o(Oe,{...fe}),o(it,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:me(r)})]}),d("div",{children:[o(P,{variant:"bodyXS",children:"Sua senha precisa conter:"}),d(pe,{children:[d(L,{"data-checked":!!i,children:[i&&o(A,{icon:Q,size:"16px",removeMargin:!0}),o(P,{variant:"bodyXS",children:"Uma letra"})]}),d(L,{"data-checked":!!n,children:[n&&o(A,{icon:Q,size:"16px",removeMargin:!0}),o(P,{variant:"bodyXS",children:"Um n\xFAmero"})]}),d(L,{"data-checked":!!a,children:[a&&o(A,{icon:Q,size:"16px",removeMargin:!0}),o(P,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),o("div",{children:o(rt,{rules:mt,name:"termosDeUso",label:d("div",{style:{display:"flex",gap:4},children:[o("span",{children:"Li e aceito os"}),o(nt,{href:e.linkTermosDeUso,target:"_blank",sx:Je=>({color:Je.palette.primary.main}),rel:"noreferrer",children:"termos de uso"})]})})}),o("div",{children:o(at,{type:"submit",fullWidth:!0,children:"Concluir meu cadastro"})})]})})})]})})});he.displayName="TelaCadastro";import{useMemo as dt}from"react";import{Button as xe,Indicator as ct}from"@s_mart/core";import{Checkbox as ut,Form as ft,TextField as ve}from"@s_mart/form";import{composeValidators as ht,required as Te,email as yt}from"@s_mart/rules";import{useCapsLock as gt}from"@s_mart/hooks";import{colorPalette as Ct}from"@s_mart/tokens";import{Typography as xt,useMediaQuery as vt}from"@mui/material";import{styled as U}from"@mui/material";import{toRem as B}from"@s_mart/utils";var ye=U("div")`
200
+ `, L = (e) => e ? e.match(/[a-z]/i) : !1, R = (e) => e ? e.match(/[0-9]/i) : !1, z = (e) => e ? e.length >= 6 : !1, B = { validate: (e) => {
201
+ if (!e) return "Obrigatório";
202
+ if (!L(e)) return "Deve ter pelo menos uma letra";
203
+ if (!R(e)) return "Deve ter pelo menos um número";
204
+ if (!z(e)) return "Deve ter pelo menos 6 caracteres";
205
+ } }, V = (e) => ({ validate: (t) => {
206
+ if (!t) return "Obrigatório";
207
+ if (t !== e) return "As senhas devem ser iguais";
208
+ } }), H = {
209
+ textFieldNome: (e) => /* @__PURE__ */ f(v, { ...e }),
210
+ textFieldEmail: (e) => /* @__PURE__ */ f(v, { ...e }),
211
+ textFieldSenha: (e) => /* @__PURE__ */ f(v, { ...e })
212
+ }, U = {
213
+ type: "text",
214
+ name: "nome",
215
+ label: "Nome completo",
216
+ required: !0,
217
+ rules: x
218
+ }, W = {
219
+ type: "email",
220
+ name: "email",
221
+ label: "E-mail de acesso",
222
+ required: !0,
223
+ disabled: !0
224
+ }, G = {
225
+ type: "password",
226
+ name: "senha",
227
+ label: "Senha de acesso",
228
+ required: !0,
229
+ rules: B
230
+ };
231
+ //#endregion
232
+ //#region src/screens/telaCadastro/useTelaCadastro.tsx
233
+ function K({ defaultValues: e }) {
234
+ let t = C({
235
+ defaultValues: e,
236
+ mode: "all"
237
+ }), n = w({
238
+ control: t.control,
239
+ name: "senha"
240
+ });
241
+ return {
242
+ form: t,
243
+ senha: n,
244
+ senhaContemLetra: L(n),
245
+ senhaContemNumero: R(n),
246
+ senhaContemMinimoDe6Caracteres: z(n)
247
+ };
248
+ }
249
+ //#endregion
250
+ //#region src/screens/telaCadastro/telaCadastro.tsx
251
+ var q = m((e) => {
252
+ let { form: n, senha: i, senhaContemLetra: c, senhaContemMinimoDe6Caracteres: l, senhaContemNumero: u } = K(e), d = e.logo, m = e.slots, _ = h(() => typeof d == "string" ? /* @__PURE__ */ f("img", {
253
+ src: d,
254
+ alt: "Logo do sistema"
255
+ }) : d, [d]), y = m?.textFieldNome ?? H.textFieldNome, b = m?.textFieldEmail ?? H.textFieldEmail, C = m?.textFieldSenha ?? H.textFieldSenha;
256
+ return /* @__PURE__ */ f(A, {
257
+ ...e,
258
+ children: /* @__PURE__ */ p(j, { children: [/* @__PURE__ */ p(M, { children: [d && /* @__PURE__ */ f("div", { children: _ }), /* @__PURE__ */ p(s, {
259
+ variant: "titleSM",
260
+ children: [
261
+ "Vamos cadastrar uma senha de acesso ao ",
262
+ e.nomeSistema,
263
+ "."
264
+ ]
265
+ })] }), /* @__PURE__ */ f(S, {
266
+ ...n,
267
+ children: /* @__PURE__ */ f("form", {
268
+ onSubmit: n.handleSubmit(e.onSubmit),
269
+ children: /* @__PURE__ */ p(N, { children: [
270
+ /* @__PURE__ */ f(b, { ...W }),
271
+ /* @__PURE__ */ f(y, { ...U }),
272
+ /* @__PURE__ */ p(P, { children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(C, { ...G }), /* @__PURE__ */ f(v, {
273
+ type: "password",
274
+ name: "confirmarSenha",
275
+ label: "Confirme sua senha",
276
+ required: !0,
277
+ rules: V(i)
278
+ })] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(s, {
279
+ variant: "bodyXS",
280
+ children: "Sua senha precisa conter:"
281
+ }), /* @__PURE__ */ p(F, { children: [
282
+ /* @__PURE__ */ p(I, {
283
+ "data-checked": !!c,
284
+ children: [c && /* @__PURE__ */ f(t, {
285
+ icon: r,
286
+ size: "16px",
287
+ removeMargin: !0
288
+ }), /* @__PURE__ */ f(s, {
289
+ variant: "bodyXS",
290
+ children: "Uma letra"
291
+ })]
292
+ }),
293
+ /* @__PURE__ */ p(I, {
294
+ "data-checked": !!u,
295
+ children: [u && /* @__PURE__ */ f(t, {
296
+ icon: r,
297
+ size: "16px",
298
+ removeMargin: !0
299
+ }), /* @__PURE__ */ f(s, {
300
+ variant: "bodyXS",
301
+ children: "Um número"
302
+ })]
303
+ }),
304
+ /* @__PURE__ */ p(I, {
305
+ "data-checked": !!l,
306
+ children: [l && /* @__PURE__ */ f(t, {
307
+ icon: r,
308
+ size: "16px",
309
+ removeMargin: !0
310
+ }), /* @__PURE__ */ f(s, {
311
+ variant: "bodyXS",
312
+ children: "Mínimo de 6 caracteres"
313
+ })]
314
+ })
315
+ ] })] })] }),
316
+ /* @__PURE__ */ f("div", { children: /* @__PURE__ */ f(g, {
317
+ rules: x,
318
+ name: "termosDeUso",
319
+ label: /* @__PURE__ */ p("div", {
320
+ style: {
321
+ display: "flex",
322
+ gap: 4
323
+ },
324
+ children: [/* @__PURE__ */ f("span", { children: "Li e aceito os" }), /* @__PURE__ */ f(o, {
325
+ href: e.linkTermosDeUso,
326
+ target: "_blank",
327
+ sx: (e) => ({ color: e.palette.primary.main }),
328
+ rel: "noreferrer",
329
+ children: "termos de uso"
330
+ })]
331
+ })
332
+ }) }),
333
+ /* @__PURE__ */ f("div", { children: /* @__PURE__ */ f(a, {
334
+ type: "submit",
335
+ fullWidth: !0,
336
+ children: "Concluir meu cadastro"
337
+ }) })
338
+ ] })
339
+ })
340
+ })] })
341
+ });
342
+ });
343
+ q.displayName = "TelaCadastro";
344
+ //#endregion
345
+ //#region src/screens/telaLogin/telaLogin.styles.ts
346
+ var J = c("div")`
153
347
  display: grid;
154
- gap: ${B(32)};
155
- `,ge=U("header")`
348
+ gap: ${d(32)};
349
+ `, te = c("header")`
156
350
  display: grid;
157
351
  text-align: center;
158
- gap: ${B(16)};
159
- `,Ce=U("div")`
352
+ gap: ${d(16)};
353
+ `, Y = c("div")`
160
354
  display: grid;
161
- gap: ${B(16)};
355
+ gap: ${d(16)};
162
356
 
163
357
  > div {
164
358
  display: grid;
165
- gap: ${B(16)};
359
+ gap: ${d(16)};
166
360
  }
167
361
 
168
362
  > div:last-of-type {
169
- gap: ${B(8)};
363
+ gap: ${d(8)};
170
364
  }
171
- `;import{jsx as c,jsxs as q}from"react/jsx-runtime";function Tt({logo:e,initialValues:t,onSubmit:r,onEsqueciMinhaSenha:i,errorLabel:a,...n}){let f=typeof e=="string"?c("img",{src:e,alt:"Logo do sistema"}):e,C=gt(),v=vt("(max-width: 500px)"),y=dt(()=>({manterConectado:!1,...t}),[t]);return c(l,{...n,paperStyle:{minWidth:v?void 0:456,width:v?"90%":void 0},children:q(ye,{children:[c(ge,{children:e&&c("div",{children:f})}),c(ft,{onSubmit:r,defaultValues:y,children:q(Ce,{children:[q("div",{children:[c(ve,{name:"email",label:"E-mail de acesso",required:!0,rules:ht([Te,yt]),autoComplete:"email",type:"email"}),q("div",{children:[c(ve,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:Te}),C&&c(ct,{severity:"warning",children:"Capslock ativado"}),!!a&&c(xt,{variant:"titleXXS",color:Ct.red[300],children:a})]})]}),c(ut,{name:"manterConectado",label:"Manter conectado"}),q("div",{children:[c(xe,{type:"submit",fullWidth:!0,children:"Entrar"}),i&&c(xe,{type:"button",fullWidth:!0,variant:"text",onClick:i,children:"Esqueci minha senha"})]})]})})]})})}import{Button as Fe,LIcon as St}from"@s_mart/core";import{Typography as Pe,useMediaQuery as bt}from"@mui/material";import{colorPalette as J}from"@s_mart/tokens";import{lineWhatsApp as $t}from"@s_mart/regular-icons";import{styled as Se}from"@mui/material";import{toRem as O}from"@s_mart/utils";var be=Se("div")`
365
+ `;
366
+ //#endregion
367
+ //#region src/screens/telaLogin/telaLogin.tsx
368
+ function X({ logo: t, initialValues: n, onSubmit: r, onEsqueciMinhaSenha: i, errorLabel: o, ...c }) {
369
+ let d = typeof t == "string" ? /* @__PURE__ */ f("img", {
370
+ src: t,
371
+ alt: "Logo do sistema"
372
+ }) : t, m = T(), S = l("(max-width: 500px)"), C = h(() => ({
373
+ manterConectado: !1,
374
+ ...n
375
+ }), [n]);
376
+ return /* @__PURE__ */ f(A, {
377
+ ...c,
378
+ paperStyle: {
379
+ minWidth: S ? void 0 : 456,
380
+ width: S ? "90%" : void 0
381
+ },
382
+ children: /* @__PURE__ */ p(J, { children: [/* @__PURE__ */ f(te, { children: t && /* @__PURE__ */ f("div", { children: d }) }), /* @__PURE__ */ f(_, {
383
+ onSubmit: r,
384
+ defaultValues: C,
385
+ children: /* @__PURE__ */ p(Y, { children: [
386
+ /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(v, {
387
+ name: "email",
388
+ label: "E-mail de acesso",
389
+ required: !0,
390
+ rules: y([x, b]),
391
+ autoComplete: "email",
392
+ type: "email"
393
+ }), /* @__PURE__ */ p("div", { children: [
394
+ /* @__PURE__ */ f(v, {
395
+ name: "senha",
396
+ label: "Senha de acesso",
397
+ type: "password",
398
+ required: !0,
399
+ rules: x
400
+ }),
401
+ m && /* @__PURE__ */ f(e, {
402
+ severity: "warning",
403
+ children: "Capslock ativado"
404
+ }),
405
+ !!o && /* @__PURE__ */ f(s, {
406
+ variant: "titleXXS",
407
+ color: u.red[300],
408
+ children: o
409
+ })
410
+ ] })] }),
411
+ /* @__PURE__ */ f(g, {
412
+ name: "manterConectado",
413
+ label: "Manter conectado"
414
+ }),
415
+ /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(a, {
416
+ type: "submit",
417
+ fullWidth: !0,
418
+ children: "Entrar"
419
+ }), i && /* @__PURE__ */ f(a, {
420
+ type: "button",
421
+ fullWidth: !0,
422
+ variant: "text",
423
+ onClick: i,
424
+ children: "Esqueci minha senha"
425
+ })] })
426
+ ] })
427
+ })] })
428
+ });
429
+ }
430
+ //#endregion
431
+ //#region src/screens/telaConviteExpirado/telaConviteExpirado.styles.ts
432
+ var Z = c("div")`
172
433
  display: grid;
173
- gap: ${O(32)};
434
+ gap: ${d(32)};
174
435
 
175
436
  > div {
176
437
  display: grid;
177
- gap: ${O(8)};
438
+ gap: ${d(8)};
178
439
  }
179
- `,$e=Se("header")`
440
+ `, Q = c("header")`
180
441
  display: grid;
181
442
  text-align: center;
182
- gap: ${O(16)};
183
- `;import{jsx as x,jsxs as E}from"react/jsx-runtime";function Ft({logo:e,onPrecisoDeAjuda:t,onRealizarAcesso:r,...i}){let a=typeof e=="string"?x("img",{src:e,alt:"Logo do sistema"}):e,n=bt("(max-width: 500px)");return x(l,{...i,paperStyle:{minWidth:n?void 0:456,width:n?"90%":void 0},children:E(be,{children:[E("div",{children:[x($e,{children:e&&x("div",{children:a})}),E("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:8,color:J.neutral[800]},children:[x(Pe,{variant:"bodyMD",children:"Parece que este convite j\xE1 foi usado ou expirou."}),x(Pe,{variant:"bodyMD",children:"J\xE1 se cadastrou? Realize o login."})]})]}),E("div",{children:[x(Fe,{fullWidth:!0,onClick:r,children:"Realizar login"}),E(Fe,{fullWidth:!0,variant:"text",onClick:t,style:{display:"flex",gap:4,color:J.neutral[900]},children:[x(St,{icon:$t,size:"20px",removeMargin:!0,color:J.neutral[900]}),"Preciso de outro convite"]})]})]})})}import{Button as Pt}from"@s_mart/core";import{useMediaQuery as Bt,Typography as Me}from"@mui/material";import{styled as Be}from"@mui/material";import{toRem as G}from"@s_mart/utils";var qe=Be("div")`
443
+ gap: ${d(16)};
444
+ `;
445
+ //#endregion
446
+ //#region src/screens/telaConviteExpirado/telaConviteExpirado.tsx
447
+ function ne({ logo: e, onPrecisoDeAjuda: n, onRealizarAcesso: r, ...o }) {
448
+ let c = typeof e == "string" ? /* @__PURE__ */ f("img", {
449
+ src: e,
450
+ alt: "Logo do sistema"
451
+ }) : e, d = l("(max-width: 500px)");
452
+ return /* @__PURE__ */ f(A, {
453
+ ...o,
454
+ paperStyle: {
455
+ minWidth: d ? void 0 : 456,
456
+ width: d ? "90%" : void 0
457
+ },
458
+ children: /* @__PURE__ */ p(Z, { children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(Q, { children: e && /* @__PURE__ */ f("div", { children: c }) }), /* @__PURE__ */ p("div", {
459
+ style: {
460
+ display: "flex",
461
+ flexDirection: "column",
462
+ textAlign: "center",
463
+ gap: 8,
464
+ color: u.neutral[800]
465
+ },
466
+ children: [/* @__PURE__ */ f(s, {
467
+ variant: "bodyMD",
468
+ children: "Parece que este convite já foi usado ou expirou."
469
+ }), /* @__PURE__ */ f(s, {
470
+ variant: "bodyMD",
471
+ children: "Já se cadastrou? Realize o login."
472
+ })]
473
+ })] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(a, {
474
+ fullWidth: !0,
475
+ onClick: r,
476
+ children: "Realizar login"
477
+ }), /* @__PURE__ */ p(a, {
478
+ fullWidth: !0,
479
+ variant: "text",
480
+ onClick: n,
481
+ style: {
482
+ display: "flex",
483
+ gap: 4,
484
+ color: u.neutral[900]
485
+ },
486
+ children: [/* @__PURE__ */ f(t, {
487
+ icon: i,
488
+ size: "20px",
489
+ removeMargin: !0,
490
+ color: u.neutral[900]
491
+ }), "Preciso de outro convite"]
492
+ })] })] })
493
+ });
494
+ }
495
+ //#endregion
496
+ //#region src/screens/telaInstrucoesEnviadas/telaInstrucoesEnviadas.styles.ts
497
+ var re = c("div")`
184
498
  display: grid;
185
- gap: ${G(32)};
499
+ gap: ${d(32)};
186
500
 
187
501
  > div {
188
502
  display: grid;
189
- gap: ${G(16)};
503
+ gap: ${d(16)};
190
504
  }
191
- `,Ee=Be("header")`
505
+ `, ie = c("header")`
192
506
  display: grid;
193
507
  text-align: center;
194
- gap: ${G(16)};
195
- `;import{jsx as T,jsxs as ke}from"react/jsx-runtime";function qt({logo:e,onVoltarParaLogin:t,...r}){let i=typeof e=="string"?T("img",{src:e,alt:"Logo do sistema"}):e,a=Bt("(max-width: 500px)");return T(l,{...r,paperStyle:{maxWidth:a?void 0:456,width:a?"90%":void 0},children:ke(qe,{children:[ke("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[T(Ee,{children:e&&T("div",{children:i})}),T(Me,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),T(Me,{variant:"bodySM",textAlign:"center",children:"Enviamos ao seu e-mail de acesso as instru\xE7\xF5es para criar uma nova senha. Verifique sua caixa de entrada e de Spam."})]}),T(Pt,{fullWidth:!0,onClick:t,children:"Voltar para login"})]})})}import{Button as Et,LIcon as K}from"@s_mart/core";import{Typography as M}from"@mui/material";import{TextField as ze}from"@s_mart/form";import{required as Mt}from"@s_mart/rules";import{lineCheck as Y}from"@s_mart/regular-icons";import{styled as b}from"@mui/material";import{colorPalette as R}from"@s_mart/tokens";import{toRem as u}from"@s_mart/utils";var we=b("div")`
508
+ gap: ${d(16)};
509
+ `;
510
+ //#endregion
511
+ //#region src/screens/telaInstrucoesEnviadas/telaInstrucoesEnviadas.tsx
512
+ function ae({ logo: e, onVoltarParaLogin: t, ...n }) {
513
+ let r = typeof e == "string" ? /* @__PURE__ */ f("img", {
514
+ src: e,
515
+ alt: "Logo do sistema"
516
+ }) : e, i = l("(max-width: 500px)");
517
+ return /* @__PURE__ */ f(A, {
518
+ ...n,
519
+ paperStyle: {
520
+ maxWidth: i ? void 0 : 456,
521
+ width: i ? "90%" : void 0
522
+ },
523
+ children: /* @__PURE__ */ p(re, { children: [/* @__PURE__ */ p("div", {
524
+ style: {
525
+ display: "flex",
526
+ flexDirection: "column",
527
+ gap: 24
528
+ },
529
+ children: [
530
+ /* @__PURE__ */ f(ie, { children: e && /* @__PURE__ */ f("div", { children: r }) }),
531
+ /* @__PURE__ */ f(s, {
532
+ variant: "titleMD",
533
+ sx: { textAlign: "center" },
534
+ children: "Instruções enviadas"
535
+ }),
536
+ /* @__PURE__ */ f(s, {
537
+ variant: "bodySM",
538
+ sx: { textAlign: "center" },
539
+ children: "Enviamos ao seu e-mail de acesso as instruções para criar uma nova senha. Verifique sua caixa de entrada e de Spam."
540
+ })
541
+ ]
542
+ }), /* @__PURE__ */ f(a, {
543
+ fullWidth: !0,
544
+ onClick: t,
545
+ children: "Voltar para login"
546
+ })] })
547
+ });
548
+ }
549
+ //#endregion
550
+ //#region src/screens/telaNovaSenha/telaNovaSenha.helpers.ts
551
+ var oe = (e) => e ? e.match(/[a-z]/i) : !1, se = (e) => e ? e.match(/[0-9]/i) : !1, ce = (e) => e ? e.length >= 6 : !1, le = c("div")`
196
552
  display: grid;
197
- gap: ${u(32)};
198
- `,Le=b("header")`
553
+ gap: ${d(32)};
554
+ `, ue = c("header")`
199
555
  display: grid;
200
556
  text-align: center;
201
- gap: ${u(16)};
202
- `,Ne=b("div")`
557
+ gap: ${d(16)};
558
+ `, de = c("div")`
203
559
  display: grid;
204
- gap: ${u(32)};
205
- `,Re=b("div")`
560
+ gap: ${d(32)};
561
+ `, fe = c("div")`
206
562
  display: grid;
207
- gap: ${u(4)};
563
+ gap: ${d(4)};
208
564
 
209
565
  > div:first-of-type {
210
566
  display: grid;
211
567
  grid-template-columns: 1fr 1fr;
212
- gap: ${u(16)};
568
+ gap: ${d(16)};
213
569
 
214
570
  @media (max-width: 768px) {
215
571
  grid-template-columns: 1fr;
216
- gap: ${u(8)};
572
+ gap: ${d(8)};
217
573
  }
218
574
  }
219
575
 
220
576
  > div:last-of-type {
221
577
  display: grid;
222
- gap: ${u(4)};
578
+ gap: ${d(4)};
223
579
  }
224
- `,We=b("div")`
580
+ `, pe = c("div")`
225
581
  display: flex;
226
582
  flex-wrap: wrap;
227
- gap: ${u(8)};
228
- `,W=b("div")`
583
+ gap: ${d(8)};
584
+ `, $ = c("div")`
229
585
  display: flex;
230
586
  align-items: center;
231
- gap: ${u(4)};
587
+ gap: ${d(4)};
232
588
 
233
- color: ${R.neutral[600]};
234
- border: 1px solid ${R.neutral[600]};
235
- border-radius: ${u(4)};
236
- padding: ${u(3)} ${u(4)};
589
+ color: ${u.neutral[600]};
590
+ border: 1px solid ${u.neutral[600]};
591
+ border-radius: ${d(4)};
592
+ padding: ${d(3)} ${d(4)};
237
593
 
238
594
  line-height: 1em;
239
595
  vertical-align: middle;
240
596
 
241
- ${({checked:e})=>{if(e)return`
242
- color: ${R.green[300]};
243
- border-color: ${R.green[300]};
244
- `}}
245
- `;import{FormProvider as kt,useForm as wt,useWatch as Lt}from"react-hook-form";var De=e=>e?e.match(/[a-z]/i):!1,Ie=e=>e?e.match(/[0-9]/i):!1,Ve=e=>e?e.length>=6:!1;import{jsx as s,jsxs as g}from"react/jsx-runtime";function Nt({logo:e,onTrocarMinhaSenha:t,...r}){let i=wt(),a=Lt({control:i.control,name:"senha"}),n=typeof e=="string"?s("img",{src:e,alt:"Logo do sistema"}):e,f=De(a),C=Ie(a),v=Ve(a);return s(l,{...r,children:g(we,{children:[g(Le,{children:[e&&s("div",{children:n}),s(M,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),s(kt,{...i,children:s("form",{onSubmit:y=>{y.preventDefault(),y.stopPropagation(),i.handleSubmit(t)(y)},children:g(Ne,{children:[g(Re,{children:[g("div",{children:[s(ze,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:Mt}),s(ze,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:y=>{if(!y)return"Campo obrigat\xF3rio";if(y!==a)return"As senhas devem ser iguais"}}})]}),g("div",{children:[s(M,{variant:"bodyXS",children:"Sua senha precisa conter:"}),g(We,{children:[g(W,{checked:!!f,children:[f&&s(K,{icon:Y,size:"16px",removeMargin:!0}),s(M,{variant:"bodyXS",children:"Uma letra"})]}),g(W,{checked:!!C,children:[C&&s(K,{icon:Y,size:"16px",removeMargin:!0}),s(M,{variant:"bodyXS",children:"Um n\xFAmero"})]}),g(W,{checked:!!v,children:[v&&s(K,{icon:Y,size:"16px",removeMargin:!0}),s(M,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),s(Et,{type:"submit",fullWidth:!0,children:"Trocar minha senha"})]})})})]})})}import{Button as Ae}from"@s_mart/core";import{Typography as Qe,useMediaQuery as Rt}from"@mui/material";import{styled as Z}from"@mui/material";import{toRem as k}from"@s_mart/utils";var He=Z("div")`
597
+ ${({ checked: e }) => {
598
+ if (e) return `
599
+ color: ${u.green[300]};
600
+ border-color: ${u.green[300]};
601
+ `;
602
+ }}
603
+ `;
604
+ //#endregion
605
+ //#region src/screens/telaNovaSenha/telaNovaSenha.tsx
606
+ function me({ logo: e, onTrocarMinhaSenha: n, ...i }) {
607
+ let o = C(), c = w({
608
+ control: o.control,
609
+ name: "senha"
610
+ }), l = typeof e == "string" ? /* @__PURE__ */ f("img", {
611
+ src: e,
612
+ alt: "Logo do sistema"
613
+ }) : e, u = oe(c), d = se(c), m = ce(c);
614
+ return /* @__PURE__ */ f(A, {
615
+ ...i,
616
+ children: /* @__PURE__ */ p(le, { children: [/* @__PURE__ */ p(ue, { children: [e && /* @__PURE__ */ f("div", { children: l }), /* @__PURE__ */ f(s, {
617
+ variant: "titleSM",
618
+ children: "Vamos cadastrar uma nova senha de acesso."
619
+ })] }), /* @__PURE__ */ f(S, {
620
+ ...o,
621
+ children: /* @__PURE__ */ f("form", {
622
+ onSubmit: (e) => {
623
+ e.preventDefault(), e.stopPropagation(), o.handleSubmit(n)(e);
624
+ },
625
+ children: /* @__PURE__ */ p(de, { children: [/* @__PURE__ */ p(fe, { children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(v, {
626
+ type: "password",
627
+ name: "senha",
628
+ label: "Senha de acesso",
629
+ required: !0,
630
+ rules: x
631
+ }), /* @__PURE__ */ f(v, {
632
+ type: "password",
633
+ name: "confirmarSenha",
634
+ label: "Confirme sua senha",
635
+ required: !0,
636
+ rules: { validate: (e) => {
637
+ if (!e) return "Campo obrigatório";
638
+ if (e !== c) return "As senhas devem ser iguais";
639
+ } }
640
+ })] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(s, {
641
+ variant: "bodyXS",
642
+ children: "Sua senha precisa conter:"
643
+ }), /* @__PURE__ */ p(pe, { children: [
644
+ /* @__PURE__ */ p($, {
645
+ checked: !!u,
646
+ children: [u && /* @__PURE__ */ f(t, {
647
+ icon: r,
648
+ size: "16px",
649
+ removeMargin: !0
650
+ }), /* @__PURE__ */ f(s, {
651
+ variant: "bodyXS",
652
+ children: "Uma letra"
653
+ })]
654
+ }),
655
+ /* @__PURE__ */ p($, {
656
+ checked: !!d,
657
+ children: [d && /* @__PURE__ */ f(t, {
658
+ icon: r,
659
+ size: "16px",
660
+ removeMargin: !0
661
+ }), /* @__PURE__ */ f(s, {
662
+ variant: "bodyXS",
663
+ children: "Um número"
664
+ })]
665
+ }),
666
+ /* @__PURE__ */ p($, {
667
+ checked: !!m,
668
+ children: [m && /* @__PURE__ */ f(t, {
669
+ icon: r,
670
+ size: "16px",
671
+ removeMargin: !0
672
+ }), /* @__PURE__ */ f(s, {
673
+ variant: "bodyXS",
674
+ children: "Mínimo de 6 caracteres"
675
+ })]
676
+ })
677
+ ] })] })] }), /* @__PURE__ */ f(a, {
678
+ type: "submit",
679
+ fullWidth: !0,
680
+ children: "Trocar minha senha"
681
+ })] })
682
+ })
683
+ })] })
684
+ });
685
+ }
686
+ //#endregion
687
+ //#region src/screens/telaEsqueceuSenha/telaEsqueceuSenha.styles.ts
688
+ var he = c("div")`
246
689
  display: grid;
247
- gap: ${k(32)};
690
+ gap: ${d(32)};
248
691
 
249
692
  > div {
250
693
  display: grid;
251
- gap: ${k(16)};
694
+ gap: ${d(16)};
252
695
  }
253
- `,_e=Z("header")`
696
+ `, ge = c("header")`
254
697
  display: grid;
255
698
  text-align: center;
256
- gap: ${k(16)};
257
- `,Xe=Z("div")`
699
+ gap: ${d(16)};
700
+ `, _e = c("div")`
258
701
  display: grid;
259
- gap: ${k(32)};
702
+ gap: ${d(32)};
260
703
 
261
704
  > div:last-of-type {
262
705
  display: grid;
263
- gap: ${k(16)};
706
+ gap: ${d(16)};
264
707
  }
265
- `;import{Form as Wt,TextField as Dt}from"@s_mart/form";import{composeValidators as It,email as Vt,required as zt}from"@s_mart/rules";import{jsx as h,jsxs as D}from"react/jsx-runtime";function Ht({logo:e,onVoltarParaLogin:t,onConfirmar:r,...i}){let a=typeof e=="string"?h("img",{src:e,alt:"Logo do sistema"}):e,n=Rt("(max-width: 500px)");return h(l,{...i,paperStyle:{minWidth:n?void 0:456,width:n?"90%":void 0},children:D(He,{children:[D("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[h(_e,{children:e&&h("div",{children:a})}),h(Qe,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),h(Qe,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),h(Wt,{onSubmit:r,children:D(Xe,{children:[h("div",{children:h(Dt,{name:"email",label:"E-mail de acesso",required:!0,rules:It([zt,Vt]),type:"email"})}),D("div",{children:[h(Ae,{fullWidth:!0,type:"submit",children:"Confirmar"}),h(Ae,{fullWidth:!0,onClick:t,variant:"neutral",children:"Voltar para login"})]})]})})]})})}export{he as TelaCadastro,Ft as TelaConviteExpirado,Ht as TelaEsqueceuSenha,qt as TelaInstrucoesEnviadas,Tt as TelaLogin,Nt as TelaNovaSenha,l as TemplateTelaBase};
708
+ `;
709
+ //#endregion
710
+ //#region src/screens/telaEsqueceuSenha/telaEsqueceuSenha.tsx
711
+ function ve({ logo: e, onVoltarParaLogin: t, onConfirmar: n, ...r }) {
712
+ let i = typeof e == "string" ? /* @__PURE__ */ f("img", {
713
+ src: e,
714
+ alt: "Logo do sistema"
715
+ }) : e, o = l("(max-width: 500px)");
716
+ return /* @__PURE__ */ f(A, {
717
+ ...r,
718
+ paperStyle: {
719
+ minWidth: o ? void 0 : 456,
720
+ width: o ? "90%" : void 0
721
+ },
722
+ children: /* @__PURE__ */ p(he, { children: [/* @__PURE__ */ p("div", {
723
+ style: {
724
+ display: "flex",
725
+ flexDirection: "column",
726
+ gap: 24
727
+ },
728
+ children: [
729
+ /* @__PURE__ */ f(ge, { children: e && /* @__PURE__ */ f("div", { children: i }) }),
730
+ /* @__PURE__ */ f(s, {
731
+ variant: "titleMD",
732
+ sx: { textAlign: "center" },
733
+ children: "Esqueceu a senha?"
734
+ }),
735
+ /* @__PURE__ */ f(s, {
736
+ variant: "bodySM",
737
+ sx: { textAlign: "center" },
738
+ children: "Informe seu e-mail de acesso para receber instruções e criar uma nova senha."
739
+ })
740
+ ]
741
+ }), /* @__PURE__ */ f(_, {
742
+ onSubmit: n,
743
+ children: /* @__PURE__ */ p(_e, { children: [/* @__PURE__ */ f("div", { children: /* @__PURE__ */ f(v, {
744
+ name: "email",
745
+ label: "E-mail de acesso",
746
+ required: !0,
747
+ rules: y([x, b]),
748
+ type: "email"
749
+ }) }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f(a, {
750
+ fullWidth: !0,
751
+ type: "submit",
752
+ children: "Confirmar"
753
+ }), /* @__PURE__ */ f(a, {
754
+ fullWidth: !0,
755
+ onClick: t,
756
+ variant: "neutral",
757
+ children: "Voltar para login"
758
+ })] })] })
759
+ })] })
760
+ });
761
+ }
762
+ //#endregion
763
+ export { q as TelaCadastro, ne as TelaConviteExpirado, ve as TelaEsqueceuSenha, ae as TelaInstrucoesEnviadas, X as TelaLogin, me as TelaNovaSenha, A as TemplateTelaBase };
764
+
765
+ //# sourceMappingURL=index.mjs.map