@data-c/ui 0.2.88 → 0.2.89

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/index.mjs CHANGED
@@ -2572,7 +2572,7 @@ function PageTitle(props) {
2572
2572
  }
2573
2573
 
2574
2574
  // src/MioAuth/index.tsx
2575
- import { Stack as Stack43, Typography as Typography26, useMediaQuery as useMediaQuery6, useTheme as useTheme11 } from "@mui/material";
2575
+ import { Stack as Stack44, Typography as Typography26, useMediaQuery as useMediaQuery6, useTheme as useTheme11 } from "@mui/material";
2576
2576
 
2577
2577
  // src/MioAuth/components/BannerSection/index.tsx
2578
2578
  import { Stack as Stack7, useMediaQuery as useMediaQuery2, useTheme } from "@mui/material";
@@ -2602,7 +2602,7 @@ function BannerSection(props) {
2602
2602
  }
2603
2603
 
2604
2604
  // src/MioAuth/components/LoginSection/index.tsx
2605
- import { Box as Box21, Stack as Stack41, useMediaQuery as useMediaQuery4, useTheme as useTheme9 } from "@mui/material";
2605
+ import { Box as Box21, Stack as Stack42, useMediaQuery as useMediaQuery4, useTheme as useTheme9 } from "@mui/material";
2606
2606
 
2607
2607
  // src/MioAuth/components/Header/index.tsx
2608
2608
  import { Stack as Stack8, Typography as Typography6 } from "@mui/material";
@@ -2642,7 +2642,7 @@ import {
2642
2642
  useCredentials as useCredentials2,
2643
2643
  useValidations as useValidations2
2644
2644
  } from "@data-c/hooks";
2645
- import { Alert as Alert4, Divider as Divider4, Stack as Stack38, TextField as TextField6, Typography as Typography21 } from "@mui/material";
2645
+ import { Alert as Alert4, Divider as Divider4, Stack as Stack39, TextField as TextField6, Typography as Typography21 } from "@mui/material";
2646
2646
  import { isAxiosError as isAxiosError2 } from "axios";
2647
2647
  import Mail from "@mui/icons-material/Mail";
2648
2648
  import WhatsApp from "@mui/icons-material/WhatsApp";
@@ -9313,13 +9313,16 @@ function TransporterRoot(props) {
9313
9313
  }
9314
9314
 
9315
9315
  // src/v2/Transporter/TransporterTextField.tsx
9316
- import { IconButton as IconButton11 } from "@mui/material";
9317
- import { jsx as jsx141 } from "react/jsx-runtime";
9316
+ import { IconButton as IconButton11, Stack as Stack36 } from "@mui/material";
9317
+ import { jsx as jsx141, jsxs as jsxs63 } from "react/jsx-runtime";
9318
9318
  function TransporterTextField(props) {
9319
9319
  const { disableLocalFiltering, renderOption, endAdornment, ...rest } = props;
9320
9320
  const scope = useTransporterScope();
9321
9321
  const { openTransporter, triggerOnChange, value } = useTransporter(scope);
9322
- const defaultEndAdornment = /* @__PURE__ */ jsx141(IconButton11, { onClick: () => openTransporter(), edge: "end", children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 }) });
9322
+ const defaultEndAdornment = endAdornment ? /* @__PURE__ */ jsxs63(Stack36, { direction: "row", spacing: 0, alignItems: "center", children: [
9323
+ /* @__PURE__ */ jsx141(IconButton11, { onClick: () => openTransporter(), edge: "end", children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 }) }),
9324
+ endAdornment
9325
+ ] }) : /* @__PURE__ */ jsx141(IconButton11, { onClick: () => openTransporter(), edge: "end", children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 }) });
9323
9326
  return /* @__PURE__ */ jsx141(
9324
9327
  Autocomplete,
9325
9328
  {
@@ -9334,7 +9337,7 @@ function TransporterTextField(props) {
9334
9337
  }
9335
9338
  },
9336
9339
  renderOption,
9337
- endAdornment: { ...defaultEndAdornment, ...endAdornment },
9340
+ endAdornment: defaultEndAdornment,
9338
9341
  ...rest
9339
9342
  }
9340
9343
  );
@@ -9632,15 +9635,15 @@ import axios from "axios";
9632
9635
  import { useEffect as useEffect13, useState as useState14 } from "react";
9633
9636
 
9634
9637
  // src/v2/NotaVersao/NotaVersaoItem.tsx
9635
- import { Collapse as Collapse2, Stack as Stack36, Typography as Typography18 } from "@mui/material";
9638
+ import { Collapse as Collapse2, Stack as Stack37, Typography as Typography18 } from "@mui/material";
9636
9639
  import { useState as useState13 } from "react";
9637
- import { Fragment as Fragment8, jsx as jsx146, jsxs as jsxs63 } from "react/jsx-runtime";
9640
+ import { Fragment as Fragment8, jsx as jsx146, jsxs as jsxs64 } from "react/jsx-runtime";
9638
9641
  function NotaVersaoItem(props) {
9639
9642
  const { article, isOpen: _isOpen } = props;
9640
9643
  const [isOpen, setOpen] = useState13(Boolean(_isOpen));
9641
- return /* @__PURE__ */ jsxs63(Fragment8, { children: [
9644
+ return /* @__PURE__ */ jsxs64(Fragment8, { children: [
9642
9645
  /* @__PURE__ */ jsx146(
9643
- Stack36,
9646
+ Stack37,
9644
9647
  {
9645
9648
  onClick: () => setOpen(!isOpen),
9646
9649
  sx: {
@@ -9666,7 +9669,7 @@ function NotaVersaoItem(props) {
9666
9669
  }
9667
9670
 
9668
9671
  // src/v2/NotaVersao/index.tsx
9669
- import { Fragment as Fragment9, jsx as jsx147, jsxs as jsxs64 } from "react/jsx-runtime";
9672
+ import { Fragment as Fragment9, jsx as jsx147, jsxs as jsxs65 } from "react/jsx-runtime";
9670
9673
  function NotaVersao(props) {
9671
9674
  const {
9672
9675
  sectionId,
@@ -9733,7 +9736,7 @@ function NotaVersao(props) {
9733
9736
  loadSection();
9734
9737
  }
9735
9738
  }, [sectionId, isOpen]);
9736
- return /* @__PURE__ */ jsxs64(Fragment9, { children: [
9739
+ return /* @__PURE__ */ jsxs65(Fragment9, { children: [
9737
9740
  /* @__PURE__ */ jsx147(
9738
9741
  Button_default,
9739
9742
  {
@@ -9754,7 +9757,7 @@ function NotaVersao(props) {
9754
9757
  children: versao
9755
9758
  }
9756
9759
  ),
9757
- /* @__PURE__ */ jsxs64(
9760
+ /* @__PURE__ */ jsxs65(
9758
9761
  Dialog3,
9759
9762
  {
9760
9763
  fullWidth: true,
@@ -9763,13 +9766,13 @@ function NotaVersao(props) {
9763
9766
  open: isOpen,
9764
9767
  onClose: () => setOpen(false),
9765
9768
  children: [
9766
- /* @__PURE__ */ jsxs64(DialogTitle, { children: [
9769
+ /* @__PURE__ */ jsxs65(DialogTitle, { children: [
9767
9770
  "Notas de Vers\xE3o",
9768
9771
  " ",
9769
9772
  loading && /* @__PURE__ */ jsx147(CircularProgress5, { sx: { ml: 1 }, size: 14 })
9770
9773
  ] }),
9771
- /* @__PURE__ */ jsxs64(DialogContent2, { children: [
9772
- novaVersaoDisponivel && /* @__PURE__ */ jsxs64(Alert2, { severity: "info", sx: { mb: 2 }, children: [
9774
+ /* @__PURE__ */ jsxs65(DialogContent2, { children: [
9775
+ novaVersaoDisponivel && /* @__PURE__ */ jsxs65(Alert2, { severity: "info", sx: { mb: 2 }, children: [
9773
9776
  "Uma nova vers\xE3o (",
9774
9777
  versao,
9775
9778
  ") est\xE1 dispon\xEDvel!"
@@ -9832,7 +9835,7 @@ import {
9832
9835
  IconButton as IconButton12,
9833
9836
  InputAdornment as InputAdornment3,
9834
9837
  MenuItem as MenuItem5,
9835
- Stack as Stack37,
9838
+ Stack as Stack38,
9836
9839
  styled as styled7
9837
9840
  } from "@mui/material";
9838
9841
  import {
@@ -9842,7 +9845,7 @@ import {
9842
9845
  } from "@mui/x-date-pickers";
9843
9846
  import { DateTime as DateTime2 } from "luxon";
9844
9847
  import { useEffect as useEffect14, useMemo as useMemo9, useState as useState15 } from "react";
9845
- import { jsx as jsx150, jsxs as jsxs65 } from "react/jsx-runtime";
9848
+ import { jsx as jsx150, jsxs as jsxs66 } from "react/jsx-runtime";
9846
9849
  var CustomPickersDay = styled7(PickersDay, {
9847
9850
  shouldForwardProp: (prop) => prop !== "isSelected" && prop !== "isHovered"
9848
9851
  })(
@@ -10014,7 +10017,7 @@ function DateRangePicker(props) {
10014
10017
  return void 0;
10015
10018
  }, [dates.tipo]);
10016
10019
  if (renderFieldSet) {
10017
- return /* @__PURE__ */ jsxs65(
10020
+ return /* @__PURE__ */ jsxs66(
10018
10021
  "fieldset",
10019
10022
  {
10020
10023
  style: {
@@ -10034,8 +10037,8 @@ function DateRangePicker(props) {
10034
10037
  children: "Per\xEDodo"
10035
10038
  }
10036
10039
  ),
10037
- /* @__PURE__ */ jsxs65(Stack37, { spacing: 2, children: [
10038
- /* @__PURE__ */ jsxs65(
10040
+ /* @__PURE__ */ jsxs66(Stack38, { spacing: 2, children: [
10041
+ /* @__PURE__ */ jsxs66(
10039
10042
  TextField5,
10040
10043
  {
10041
10044
  value: dates.tipo,
@@ -10048,7 +10051,7 @@ function DateRangePicker(props) {
10048
10051
  size: "small",
10049
10052
  variant: "outlined",
10050
10053
  InputProps: {
10051
- startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs65(InputAdornment3, { position: "start", children: [
10054
+ startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs66(InputAdornment3, { position: "start", children: [
10052
10055
  /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx150(ArrowLeftIcon, { fontSize: "small" }) }),
10053
10056
  /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx150(ArrowRightIcon, { fontSize: "small" }) })
10054
10057
  ] })
@@ -10063,7 +10066,7 @@ function DateRangePicker(props) {
10063
10066
  ]
10064
10067
  }
10065
10068
  ),
10066
- /* @__PURE__ */ jsxs65(Stack37, { direction: "row", spacing: 1, children: [
10069
+ /* @__PURE__ */ jsxs66(Stack38, { direction: "row", spacing: 1, children: [
10067
10070
  /* @__PURE__ */ jsx150(
10068
10071
  DatePicker,
10069
10072
  {
@@ -10103,8 +10106,8 @@ function DateRangePicker(props) {
10103
10106
  }
10104
10107
  );
10105
10108
  }
10106
- return /* @__PURE__ */ jsxs65(Stack37, { spacing: 2, children: [
10107
- /* @__PURE__ */ jsxs65(
10109
+ return /* @__PURE__ */ jsxs66(Stack38, { spacing: 2, children: [
10110
+ /* @__PURE__ */ jsxs66(
10108
10111
  TextField5,
10109
10112
  {
10110
10113
  value: dates.tipo,
@@ -10117,7 +10120,7 @@ function DateRangePicker(props) {
10117
10120
  size: "small",
10118
10121
  variant: "outlined",
10119
10122
  InputProps: {
10120
- startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs65(InputAdornment3, { position: "start", children: [
10123
+ startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs66(InputAdornment3, { position: "start", children: [
10121
10124
  /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx150(ArrowLeftIcon, { fontSize: "small" }) }),
10122
10125
  /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx150(ArrowRightIcon, { fontSize: "small" }) })
10123
10126
  ] })
@@ -10132,7 +10135,7 @@ function DateRangePicker(props) {
10132
10135
  ]
10133
10136
  }
10134
10137
  ),
10135
- /* @__PURE__ */ jsxs65(Stack37, { direction: "row", spacing: 1, children: [
10138
+ /* @__PURE__ */ jsxs66(Stack38, { direction: "row", spacing: 1, children: [
10136
10139
  /* @__PURE__ */ jsx150(
10137
10140
  DatePicker,
10138
10141
  {
@@ -10292,11 +10295,11 @@ function PasswordTextField(props) {
10292
10295
  // src/AlterarSenha/components/ValidatorMessage/index.tsx
10293
10296
  import Circle3 from "@mui/icons-material/Circle";
10294
10297
  import { Box as Box16, Typography as Typography19, useTheme as useTheme8 } from "@mui/material";
10295
- import { jsx as jsx153, jsxs as jsxs66 } from "react/jsx-runtime";
10298
+ import { jsx as jsx153, jsxs as jsxs67 } from "react/jsx-runtime";
10296
10299
  function ValidatorMessage(props) {
10297
10300
  const { isValid, message } = props;
10298
10301
  const theme2 = useTheme8();
10299
- return /* @__PURE__ */ jsxs66(
10302
+ return /* @__PURE__ */ jsxs67(
10300
10303
  Box16,
10301
10304
  {
10302
10305
  sx: {
@@ -10331,7 +10334,7 @@ function ValidatorMessage(props) {
10331
10334
  }
10332
10335
 
10333
10336
  // src/AlterarSenha/index.tsx
10334
- import { jsx as jsx154, jsxs as jsxs67 } from "react/jsx-runtime";
10337
+ import { jsx as jsx154, jsxs as jsxs68 } from "react/jsx-runtime";
10335
10338
  var defaultData = {
10336
10339
  senhaAtual: "",
10337
10340
  senhaNova: "",
@@ -10439,18 +10442,18 @@ function AlterarSenha(props) {
10439
10442
  return false;
10440
10443
  return data?.senhaNova === data?.senhaNovaConfirmar;
10441
10444
  }
10442
- return /* @__PURE__ */ jsxs67(Dialog_default.Root, { open: isOpen, onClose: (_) => onClose(), maxWidth: "md", children: [
10443
- /* @__PURE__ */ jsxs67(Dialog_default.Header, { children: [
10445
+ return /* @__PURE__ */ jsxs68(Dialog_default.Root, { open: isOpen, onClose: (_) => onClose(), maxWidth: "md", children: [
10446
+ /* @__PURE__ */ jsxs68(Dialog_default.Header, { children: [
10444
10447
  /* @__PURE__ */ jsx154(Dialog_default.Title, { children: "Alterar Senha" }),
10445
10448
  /* @__PURE__ */ jsx154(Dialog_default.ActionClose, { onClose })
10446
10449
  ] }),
10447
- /* @__PURE__ */ jsx154(Dialog_default.Content, { children: /* @__PURE__ */ jsxs67(Grid, { container: true, spacing: 2, children: [
10448
- primeiroAcesso && /* @__PURE__ */ jsx154(Grid, { size: 12, children: /* @__PURE__ */ jsxs67(Alert3, { severity: "info", children: [
10450
+ /* @__PURE__ */ jsx154(Dialog_default.Content, { children: /* @__PURE__ */ jsxs68(Grid, { container: true, spacing: 2, children: [
10451
+ primeiroAcesso && /* @__PURE__ */ jsx154(Grid, { size: 12, children: /* @__PURE__ */ jsxs68(Alert3, { severity: "info", children: [
10449
10452
  "Voc\xEA est\xE1 acessando o sistema com uma senha tempor\xE1ria.",
10450
10453
  /* @__PURE__ */ jsx154("br", {}),
10451
10454
  "Cadastre uma senha segura para deixar sua conta mais protegida."
10452
10455
  ] }) }),
10453
- /* @__PURE__ */ jsxs67(Grid, { size: 12, children: [
10456
+ /* @__PURE__ */ jsxs68(Grid, { size: 12, children: [
10454
10457
  /* @__PURE__ */ jsx154(
10455
10458
  PasswordTextField,
10456
10459
  {
@@ -10461,7 +10464,7 @@ function AlterarSenha(props) {
10461
10464
  ...validationProps("senhaAtual")
10462
10465
  }
10463
10466
  ),
10464
- /* @__PURE__ */ jsxs67(
10467
+ /* @__PURE__ */ jsxs68(
10465
10468
  Box17,
10466
10469
  {
10467
10470
  sx: { display: "flex", alignItems: "center", gap: 0.5, mt: 0.5 },
@@ -10483,7 +10486,7 @@ function AlterarSenha(props) {
10483
10486
  ...validationProps("senhaNova")
10484
10487
  }
10485
10488
  ) }),
10486
- /* @__PURE__ */ jsxs67(Grid, { size: 12, children: [
10489
+ /* @__PURE__ */ jsxs68(Grid, { size: 12, children: [
10487
10490
  /* @__PURE__ */ jsx154(
10488
10491
  PasswordTextField,
10489
10492
  {
@@ -10494,7 +10497,7 @@ function AlterarSenha(props) {
10494
10497
  ...validationProps("senhaNovaConfirmar")
10495
10498
  }
10496
10499
  ),
10497
- /* @__PURE__ */ jsxs67(
10500
+ /* @__PURE__ */ jsxs68(
10498
10501
  Box17,
10499
10502
  {
10500
10503
  sx: { display: "flex", alignItems: "center", gap: 0.5, mt: 0.5 },
@@ -10505,7 +10508,7 @@ function AlterarSenha(props) {
10505
10508
  }
10506
10509
  )
10507
10510
  ] }),
10508
- /* @__PURE__ */ jsxs67(Grid, { size: 12, children: [
10511
+ /* @__PURE__ */ jsxs68(Grid, { size: 12, children: [
10509
10512
  /* @__PURE__ */ jsx154(
10510
10513
  ValidatorMessage,
10511
10514
  {
@@ -10551,7 +10554,7 @@ function AlterarSenha(props) {
10551
10554
  ] }),
10552
10555
  error && /* @__PURE__ */ jsx154(Grid, { size: 12, children: /* @__PURE__ */ jsx154(Alert3, { severity: "error", children: error }) })
10553
10556
  ] }) }),
10554
- /* @__PURE__ */ jsx154(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs67(Dialog_default.Actions, { children: [
10557
+ /* @__PURE__ */ jsx154(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs68(Dialog_default.Actions, { children: [
10555
10558
  /* @__PURE__ */ jsx154(Dialog_default.ActionCancelar, { onClick: () => onClose() }),
10556
10559
  /* @__PURE__ */ jsx154(
10557
10560
  Dialog_default.ActionSalvar,
@@ -10567,7 +10570,7 @@ function AlterarSenha(props) {
10567
10570
  }
10568
10571
 
10569
10572
  // src/MioAuth/components/LoginForm/index.tsx
10570
- import { jsx as jsx155, jsxs as jsxs68 } from "react/jsx-runtime";
10573
+ import { jsx as jsx155, jsxs as jsxs69 } from "react/jsx-runtime";
10571
10574
  var schema2 = create$3().shape({
10572
10575
  email: create$6().required("Informe o e-mail"),
10573
10576
  password: create$6().required("Informe a senha")
@@ -10609,9 +10612,9 @@ function LoginForm(props) {
10609
10612
  setLoading(false);
10610
10613
  });
10611
10614
  }
10612
- return /* @__PURE__ */ jsxs68(Stack38, { component: "form", onSubmit: handleLogin, children: [
10613
- /* @__PURE__ */ jsxs68(
10614
- Stack38,
10615
+ return /* @__PURE__ */ jsxs69(Stack39, { component: "form", onSubmit: handleLogin, children: [
10616
+ /* @__PURE__ */ jsxs69(
10617
+ Stack39,
10615
10618
  {
10616
10619
  spacing: 2,
10617
10620
  children: [
@@ -10678,13 +10681,13 @@ function LoginForm(props) {
10678
10681
  }
10679
10682
  ),
10680
10683
  error && /* @__PURE__ */ jsx155(Alert4, { severity: "error", children: error }),
10681
- sucessoAlterarSenha && /* @__PURE__ */ jsxs68(Alert4, { severity: "success", children: [
10684
+ sucessoAlterarSenha && /* @__PURE__ */ jsxs69(Alert4, { severity: "success", children: [
10682
10685
  "Senha cadastrada com sucesso",
10683
10686
  /* @__PURE__ */ jsx155("br", {}),
10684
10687
  "Tudo pronto para voc\xEA fazer o login"
10685
10688
  ] }),
10686
- /* @__PURE__ */ jsxs68(
10687
- Stack38,
10689
+ /* @__PURE__ */ jsxs69(
10690
+ Stack39,
10688
10691
  {
10689
10692
  direction: "row",
10690
10693
  justifyContent: "center",
@@ -10698,7 +10701,7 @@ function LoginForm(props) {
10698
10701
  ]
10699
10702
  }
10700
10703
  ),
10701
- /* @__PURE__ */ jsxs68(Stack38, { spacing: 1, children: [
10704
+ /* @__PURE__ */ jsxs69(Stack39, { spacing: 1, children: [
10702
10705
  /* @__PURE__ */ jsx155(
10703
10706
  Button_default,
10704
10707
  {
@@ -10739,7 +10742,7 @@ function LoginForm(props) {
10739
10742
  import { useState as useState19 } from "react";
10740
10743
  import { Alert as Alert5, Box as Box18, TextField as TextField7 } from "@mui/material";
10741
10744
  import { useCredentials as useCredentials3, useValidations as useValidations3 } from "@data-c/hooks";
10742
- import { jsx as jsx156, jsxs as jsxs69 } from "react/jsx-runtime";
10745
+ import { jsx as jsx156, jsxs as jsxs70 } from "react/jsx-runtime";
10743
10746
  var schema3 = create$3().shape({
10744
10747
  email: create$6().required("Informe o e-mail")
10745
10748
  });
@@ -10767,7 +10770,7 @@ function EsqueciSenhaForm(props) {
10767
10770
  setValidationErrors(error2);
10768
10771
  });
10769
10772
  }
10770
- return /* @__PURE__ */ jsxs69(Box18, { component: "form", children: [
10773
+ return /* @__PURE__ */ jsxs70(Box18, { component: "form", children: [
10771
10774
  /* @__PURE__ */ jsx156(
10772
10775
  TextField7,
10773
10776
  {
@@ -10845,7 +10848,7 @@ function EsqueciSenhaForm(props) {
10845
10848
  import { useEffect as useEffect16, useState as useState20 } from "react";
10846
10849
  import { Box as Box19, MenuItem as MenuItem6, TextField as TextField8 } from "@mui/material";
10847
10850
  import { useCredentials as useCredentials4 } from "@data-c/hooks";
10848
- import { jsx as jsx157, jsxs as jsxs70 } from "react/jsx-runtime";
10851
+ import { jsx as jsx157, jsxs as jsxs71 } from "react/jsx-runtime";
10849
10852
  function LicencaForm(props) {
10850
10853
  const { loginData, credentialsConfig, onLoginFailed, onLoginSuccess } = props;
10851
10854
  const [empresaId, setEmpresaId] = useState20("");
@@ -10868,7 +10871,7 @@ function LicencaForm(props) {
10868
10871
  onLoginFailed(err);
10869
10872
  }
10870
10873
  }
10871
- return /* @__PURE__ */ jsxs70(Box19, { component: "form", sx: { minWidth: "290px" }, children: [
10874
+ return /* @__PURE__ */ jsxs71(Box19, { component: "form", sx: { minWidth: "290px" }, children: [
10872
10875
  /* @__PURE__ */ jsx157(
10873
10876
  TextField8,
10874
10877
  {
@@ -10909,7 +10912,7 @@ import {
10909
10912
  useForm as useForm2
10910
10913
  } from "@data-c/hooks";
10911
10914
  import HelpOutline from "@mui/icons-material/HelpOutline";
10912
- import { Alert as Alert7, IconButton as IconButton14, Stack as Stack40, TextField as TextField11, Typography as Typography23 } from "@mui/material";
10915
+ import { Alert as Alert7, IconButton as IconButton14, Stack as Stack41, TextField as TextField11, Typography as Typography23 } from "@mui/material";
10913
10916
  import { useState as useState23 } from "react";
10914
10917
 
10915
10918
  // src/WhastappTextField/index.tsx
@@ -10967,7 +10970,7 @@ function WhatsAppTextField(props) {
10967
10970
  import {
10968
10971
  useCredentials as useCredentials5
10969
10972
  } from "@data-c/hooks";
10970
- import { Alert as Alert6, Stack as Stack39, Typography as Typography22 } from "@mui/material";
10973
+ import { Alert as Alert6, Stack as Stack40, Typography as Typography22 } from "@mui/material";
10971
10974
  import { useEffect as useEffect17, useState as useState22 } from "react";
10972
10975
 
10973
10976
  // src/VerificationCodeInput/index.tsx
@@ -11021,7 +11024,7 @@ function VerificationCodeInput({
11021
11024
  }
11022
11025
 
11023
11026
  // src/MioAuth/components/OtpForm/DialogVerificarOtp.tsx
11024
- import { jsx as jsx160, jsxs as jsxs71 } from "react/jsx-runtime";
11027
+ import { jsx as jsx160, jsxs as jsxs72 } from "react/jsx-runtime";
11025
11028
  function DialogVerificarOtp(props) {
11026
11029
  const { open, onClose, payload, onLoginSuccess, credentialsConfig } = props;
11027
11030
  const [code, setCode] = useState22("");
@@ -11053,13 +11056,13 @@ function DialogVerificarOtp(props) {
11053
11056
  setLoading(false);
11054
11057
  }
11055
11058
  }
11056
- return /* @__PURE__ */ jsxs71(Dialog_default.Root, { open, onClose: (_) => onClose(), maxWidth: "xs", children: [
11057
- /* @__PURE__ */ jsxs71(Dialog_default.Header, { children: [
11059
+ return /* @__PURE__ */ jsxs72(Dialog_default.Root, { open, onClose: (_) => onClose(), maxWidth: "xs", children: [
11060
+ /* @__PURE__ */ jsxs72(Dialog_default.Header, { children: [
11058
11061
  /* @__PURE__ */ jsx160(Dialog_default.Title, { children: "Entrar com senha tempor\xE1ria" }),
11059
11062
  /* @__PURE__ */ jsx160(Dialog_default.ActionClose, { onClose })
11060
11063
  ] }),
11061
- /* @__PURE__ */ jsx160(Dialog_default.Content, { children: /* @__PURE__ */ jsxs71(
11062
- Stack39,
11064
+ /* @__PURE__ */ jsx160(Dialog_default.Content, { children: /* @__PURE__ */ jsxs72(
11065
+ Stack40,
11063
11066
  {
11064
11067
  spacing: 2,
11065
11068
  justifyContent: "center",
@@ -11074,7 +11077,7 @@ function DialogVerificarOtp(props) {
11074
11077
  children: "\u{1F510} Digite a senha tempor\xE1ria para acessar sua conta"
11075
11078
  }
11076
11079
  ),
11077
- /* @__PURE__ */ jsxs71(Typography22, { variant: "body1", sx: { fontSize: "10pt" }, children: [
11080
+ /* @__PURE__ */ jsxs72(Typography22, { variant: "body1", sx: { fontSize: "10pt" }, children: [
11078
11081
  "Enviamos uma senha tempor\xE1ria para ",
11079
11082
  /* @__PURE__ */ jsx160("b", { children: payload.target }),
11080
11083
  ". ",
@@ -11094,7 +11097,7 @@ function DialogVerificarOtp(props) {
11094
11097
  ]
11095
11098
  }
11096
11099
  ) }),
11097
- /* @__PURE__ */ jsx160(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs71(Dialog_default.Actions, { children: [
11100
+ /* @__PURE__ */ jsx160(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs72(Dialog_default.Actions, { children: [
11098
11101
  /* @__PURE__ */ jsx160(Dialog_default.ActionCancelar, { onClick: () => onClose() }),
11099
11102
  /* @__PURE__ */ jsx160(
11100
11103
  Dialog_default.ActionSalvar,
@@ -11110,7 +11113,7 @@ function DialogVerificarOtp(props) {
11110
11113
  }
11111
11114
 
11112
11115
  // src/MioAuth/components/OtpForm/index.tsx
11113
- import { Fragment as Fragment10, jsx as jsx161, jsxs as jsxs72 } from "react/jsx-runtime";
11116
+ import { Fragment as Fragment10, jsx as jsx161, jsxs as jsxs73 } from "react/jsx-runtime";
11114
11117
  var contatoSchema = create$3().shape({
11115
11118
  contato: create$6().when("$tipo", ([tipo], schema6) => {
11116
11119
  return tipo === "otp-email" ? schema6.email("E-mail inv\xE1lido").required("Informe o e-mail") : schema6.matches(/^\+?[1-9]\d{7,14}$/, "N\xFAmero de WhatsApp inv\xE1lido").required("Informe o WhatsApp");
@@ -11144,8 +11147,8 @@ function OtpForm(props) {
11144
11147
  { context: { tipo } }
11145
11148
  );
11146
11149
  };
11147
- return /* @__PURE__ */ jsxs72(Fragment10, { children: [
11148
- /* @__PURE__ */ jsx161("form", { onSubmit: handleSubmit, children: /* @__PURE__ */ jsxs72(Stack40, { spacing: 2, children: [
11150
+ return /* @__PURE__ */ jsxs73(Fragment10, { children: [
11151
+ /* @__PURE__ */ jsx161("form", { onSubmit: handleSubmit, children: /* @__PURE__ */ jsxs73(Stack41, { spacing: 2, children: [
11149
11152
  /* @__PURE__ */ jsx161(Typography23, { variant: "subtitle2", children: tipo === "otp-email" ? " Informe seu e-mail para receber um c\xF3digo de acesso" : "Informe seu n\xFAmero de WhatsApp para receber um c\xF3digo de acesso" }),
11150
11153
  tipo === "otp-email" && /* @__PURE__ */ jsx161(
11151
11154
  TextField11,
@@ -11173,7 +11176,7 @@ function OtpForm(props) {
11173
11176
  ...validationErrors("contato")
11174
11177
  }
11175
11178
  ),
11176
- /* @__PURE__ */ jsxs72(Stack40, { children: [
11179
+ /* @__PURE__ */ jsxs73(Stack41, { children: [
11177
11180
  /* @__PURE__ */ jsx161(
11178
11181
  Button_default,
11179
11182
  {
@@ -11184,7 +11187,7 @@ function OtpForm(props) {
11184
11187
  children: "Enviar c\xF3digo"
11185
11188
  }
11186
11189
  ),
11187
- /* @__PURE__ */ jsxs72(
11190
+ /* @__PURE__ */ jsxs73(
11188
11191
  ButtonContainer,
11189
11192
  {
11190
11193
  sx: {
@@ -11242,7 +11245,7 @@ function OtpForm(props) {
11242
11245
  }
11243
11246
 
11244
11247
  // src/MioAuth/components/LoginSection/index.tsx
11245
- import { jsx as jsx162, jsxs as jsxs73 } from "react/jsx-runtime";
11248
+ import { jsx as jsx162, jsxs as jsxs74 } from "react/jsx-runtime";
11246
11249
  var pageLabelMap = {
11247
11250
  login: "Acesse sua conta",
11248
11251
  licensa: "Selecione a licen\xE7a",
@@ -11300,9 +11303,9 @@ function LoginSection(props) {
11300
11303
  setView("login");
11301
11304
  }
11302
11305
  const pageLabel = pageLabelMap[view];
11303
- return /* @__PURE__ */ jsxs73(Stack41, { children: [
11306
+ return /* @__PURE__ */ jsxs74(Stack42, { children: [
11304
11307
  /* @__PURE__ */ jsx162(Header, { label: appName, subTitle: pageLabel }),
11305
- /* @__PURE__ */ jsxs73(Box21, { sx: { marginTop: 2 }, children: [
11308
+ /* @__PURE__ */ jsxs74(Box21, { sx: { marginTop: 2 }, children: [
11306
11309
  view === "login" && /* @__PURE__ */ jsx162(
11307
11310
  LoginForm,
11308
11311
  {
@@ -11352,13 +11355,13 @@ function LoginSection(props) {
11352
11355
 
11353
11356
  // src/MioAuth/components/DefaultBanner/index.tsx
11354
11357
  import ArrowRight from "@mui/icons-material/ArrowRight";
11355
- import { Link, Stack as Stack42, Typography as Typography25, useMediaQuery as useMediaQuery5, useTheme as useTheme10 } from "@mui/material";
11356
- import { jsx as jsx163, jsxs as jsxs74 } from "react/jsx-runtime";
11358
+ import { Link, Stack as Stack43, Typography as Typography25, useMediaQuery as useMediaQuery5, useTheme as useTheme10 } from "@mui/material";
11359
+ import { jsx as jsx163, jsxs as jsxs75 } from "react/jsx-runtime";
11357
11360
  function DefaultBanner() {
11358
11361
  const theme2 = useTheme10();
11359
11362
  const fullScreen = useMediaQuery5(theme2.breakpoints.up("md"));
11360
11363
  return /* @__PURE__ */ jsx163(
11361
- Stack42,
11364
+ Stack43,
11362
11365
  {
11363
11366
  component: "section",
11364
11367
  display: fullScreen ? "flex" : "none",
@@ -11372,7 +11375,7 @@ function DefaultBanner() {
11372
11375
  backgroundPosition: "right",
11373
11376
  backgroundRepeat: "no-repeat"
11374
11377
  },
11375
- children: /* @__PURE__ */ jsxs74(Stack42, { padding: "2rem", children: [
11378
+ children: /* @__PURE__ */ jsxs75(Stack43, { padding: "2rem", children: [
11376
11379
  /* @__PURE__ */ jsx163(
11377
11380
  Typography25,
11378
11381
  {
@@ -11414,7 +11417,7 @@ function DefaultBanner() {
11414
11417
  children: "Mais de 30 anos de exist\xEAncia e muitas hist\xF3rias de sucesso."
11415
11418
  }
11416
11419
  ),
11417
- /* @__PURE__ */ jsx163(Link, { href: "https://site.datac.com.br/services/", target: "_blank", children: /* @__PURE__ */ jsxs74(
11420
+ /* @__PURE__ */ jsx163(Link, { href: "https://site.datac.com.br/services/", target: "_blank", children: /* @__PURE__ */ jsxs75(
11418
11421
  Button_default,
11419
11422
  {
11420
11423
  component: "a",
@@ -11453,12 +11456,12 @@ function DefaultBanner() {
11453
11456
  }
11454
11457
 
11455
11458
  // src/MioAuth/index.tsx
11456
- import { jsx as jsx164, jsxs as jsxs75 } from "react/jsx-runtime";
11459
+ import { jsx as jsx164, jsxs as jsxs76 } from "react/jsx-runtime";
11457
11460
  function LoginContainer({ children }) {
11458
11461
  const theme2 = useTheme11();
11459
11462
  const fullScreen = useMediaQuery6(theme2.breakpoints.up("md"));
11460
- return /* @__PURE__ */ jsxs75(
11461
- Stack43,
11463
+ return /* @__PURE__ */ jsxs76(
11464
+ Stack44,
11462
11465
  {
11463
11466
  component: "section",
11464
11467
  width: fullScreen ? "46%" : "100%",
@@ -11468,8 +11471,8 @@ function LoginContainer({ children }) {
11468
11471
  alignItems: "center",
11469
11472
  padding: "2rem",
11470
11473
  children: [
11471
- /* @__PURE__ */ jsx164(Stack43, { width: "100%", maxWidth: "28rem", margin: "auto 0", children }),
11472
- /* @__PURE__ */ jsxs75(Stack43, { direction: "row", alignItems: "center", marginBottom: -3, children: [
11474
+ /* @__PURE__ */ jsx164(Stack44, { width: "100%", maxWidth: "28rem", margin: "auto 0", children }),
11475
+ /* @__PURE__ */ jsxs76(Stack44, { direction: "row", alignItems: "center", marginBottom: -3, children: [
11473
11476
  /* @__PURE__ */ jsx164(
11474
11477
  "img",
11475
11478
  {
@@ -11494,7 +11497,7 @@ function LoginContainer({ children }) {
11494
11497
  }
11495
11498
  function MioAuth(props) {
11496
11499
  const { banner, loginSection } = props;
11497
- return /* @__PURE__ */ jsxs75(Stack43, { component: "main", direction: "row", height: "100vh", children: [
11500
+ return /* @__PURE__ */ jsxs76(Stack44, { component: "main", direction: "row", height: "100vh", children: [
11498
11501
  banner ? /* @__PURE__ */ jsx164(BannerSection, { children: banner }) : /* @__PURE__ */ jsx164(DefaultBanner, {}),
11499
11502
  /* @__PURE__ */ jsx164(LoginContainer, { children: loginSection ? loginSection : /* @__PURE__ */ jsx164(LoginSection, { ...props }) })
11500
11503
  ] });
@@ -11503,14 +11506,14 @@ function MioAuth(props) {
11503
11506
  // src/AlterarLicenca/index.tsx
11504
11507
  import { formatDocumento as formatDocumento2, normalizeText } from "@data-c/hooks";
11505
11508
  import ArrowDropDown from "@mui/icons-material/ArrowDropDown";
11506
- import { Button as Button12, Stack as Stack44, Typography as Typography27 } from "@mui/material";
11509
+ import { Button as Button12, Stack as Stack45, Typography as Typography27 } from "@mui/material";
11507
11510
  import { useState as useState25 } from "react";
11508
- import { jsx as jsx165, jsxs as jsxs76 } from "react/jsx-runtime";
11511
+ import { jsx as jsx165, jsxs as jsxs77 } from "react/jsx-runtime";
11509
11512
  function AlterarLicenca(props) {
11510
11513
  const { licencas, licencaSelecionada, onAlterarLicenca } = props;
11511
11514
  const [query, setQuery] = useState25("");
11512
11515
  if (licencas.length === 0)
11513
- return /* @__PURE__ */ jsxs76(Stack44, { overflow: "hidden", children: [
11516
+ return /* @__PURE__ */ jsxs77(Stack45, { overflow: "hidden", children: [
11514
11517
  /* @__PURE__ */ jsx165(Typography27, { overflow: "hidden", textOverflow: "ellipsis", variant: "body1", children: licencaSelecionada.nome }),
11515
11518
  /* @__PURE__ */ jsx165(Typography27, { overflow: "hidden", textOverflow: "ellipsis", variant: "body2", children: formatDocumento2(licencaSelecionada.documento) })
11516
11519
  ] });
@@ -11522,8 +11525,8 @@ function AlterarLicenca(props) {
11522
11525
  (field) => normalizeText(String(item[field])).includes(normalizeText(query))
11523
11526
  )
11524
11527
  ) : licencas;
11525
- return /* @__PURE__ */ jsxs76(Popover_default.Root, { children: [
11526
- /* @__PURE__ */ jsx165(Popover_default.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs76(
11528
+ return /* @__PURE__ */ jsxs77(Popover_default.Root, { children: [
11529
+ /* @__PURE__ */ jsx165(Popover_default.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs77(
11527
11530
  Button12,
11528
11531
  {
11529
11532
  sx: {
@@ -11547,7 +11550,7 @@ function AlterarLicenca(props) {
11547
11550
  p: 0.5
11548
11551
  }
11549
11552
  },
11550
- children: /* @__PURE__ */ jsxs76(
11553
+ children: /* @__PURE__ */ jsxs77(
11551
11554
  List_default.Root,
11552
11555
  {
11553
11556
  sx: {
@@ -11564,7 +11567,7 @@ function AlterarLicenca(props) {
11564
11567
  {
11565
11568
  selected: licencaSelecionada.uuid === e.uuid,
11566
11569
  onClick: () => onAlterarLicenca(e),
11567
- children: /* @__PURE__ */ jsxs76(Stack44, { children: [
11570
+ children: /* @__PURE__ */ jsxs77(Stack45, { children: [
11568
11571
  /* @__PURE__ */ jsx165(Typography27, { variant: "body1", textOverflow: "ellipsis", children: e.nome }),
11569
11572
  /* @__PURE__ */ jsx165(Typography27, { variant: "body2", textOverflow: "ellipsis", children: formatDocumento2(e.documento) })
11570
11573
  ] })
@@ -11635,7 +11638,7 @@ var MenuItem7 = (props) => /* @__PURE__ */ jsx166(StyledMuiMenuItem, { ...props
11635
11638
  var MenuItem_default = MenuItem7;
11636
11639
 
11637
11640
  // src/DrawerMenu/components/FullMenu/components/FullMenuItem/index.tsx
11638
- import { jsx as jsx167, jsxs as jsxs77 } from "react/jsx-runtime";
11641
+ import { jsx as jsx167, jsxs as jsxs78 } from "react/jsx-runtime";
11639
11642
  function FullMenuItem2(props) {
11640
11643
  const { menuItem, activeMenu, onMenuClick } = props;
11641
11644
  const [expanded, setExpanded] = useState26(false);
@@ -11647,8 +11650,8 @@ function FullMenuItem2(props) {
11647
11650
  function toggleExpand() {
11648
11651
  setExpanded(!expanded);
11649
11652
  }
11650
- return /* @__PURE__ */ jsxs77(Box22, { children: [
11651
- /* @__PURE__ */ jsxs77(
11653
+ return /* @__PURE__ */ jsxs78(Box22, { children: [
11654
+ /* @__PURE__ */ jsxs78(
11652
11655
  MenuItem_default,
11653
11656
  {
11654
11657
  onClick: () => {
@@ -11701,7 +11704,7 @@ function FullMenu(props) {
11701
11704
  // src/DrawerMenu/components/MinMenu/index.tsx
11702
11705
  import { useState as useState27 } from "react";
11703
11706
  import { List as List6, Icon as Icon5, ListItemIcon as ListItemIcon3, Popper as Popper3 } from "@mui/material";
11704
- import { jsx as jsx169, jsxs as jsxs78 } from "react/jsx-runtime";
11707
+ import { jsx as jsx169, jsxs as jsxs79 } from "react/jsx-runtime";
11705
11708
  function MinMenu(props) {
11706
11709
  const { menus, activeMenu, onMenuClick } = props;
11707
11710
  const [opened, setOpened] = useState27(null);
@@ -11718,7 +11721,7 @@ function MinMenu(props) {
11718
11721
  return /* @__PURE__ */ jsx169(List6, { component: "nav", disablePadding: true, children: menus.map((menuItem) => {
11719
11722
  if (!menuItem.visible)
11720
11723
  return null;
11721
- return /* @__PURE__ */ jsxs78(
11724
+ return /* @__PURE__ */ jsxs79(
11722
11725
  MenuItem_default,
11723
11726
  {
11724
11727
  onMouseEnter: (e) => {
@@ -11773,7 +11776,7 @@ function MinMenu(props) {
11773
11776
  }
11774
11777
 
11775
11778
  // src/DrawerMenu/index.tsx
11776
- import { jsx as jsx170, jsxs as jsxs79 } from "react/jsx-runtime";
11779
+ import { jsx as jsx170, jsxs as jsxs80 } from "react/jsx-runtime";
11777
11780
  var openedMixin2 = (width, theme2) => ({
11778
11781
  width,
11779
11782
  transition: theme2.transitions.create("width", {
@@ -11813,7 +11816,7 @@ var Drawer2 = styled9(MuiDrawer3, {
11813
11816
  }));
11814
11817
  function DrawerMenu(props) {
11815
11818
  const { open, items, width, activeMenu, onMenuClick, toggleMenu, ...rest } = props;
11816
- return /* @__PURE__ */ jsxs79(
11819
+ return /* @__PURE__ */ jsxs80(
11817
11820
  Drawer2,
11818
11821
  {
11819
11822
  width,
@@ -11878,7 +11881,7 @@ function Avatar(props) {
11878
11881
  }
11879
11882
 
11880
11883
  // src/Profile/index.tsx
11881
- import { Stack as Stack49, Tab, Tabs } from "@mui/material";
11884
+ import { Stack as Stack50, Tab, Tabs } from "@mui/material";
11882
11885
  import { useState as useState32 } from "react";
11883
11886
 
11884
11887
  // src/Profile/TabPanel.tsx
@@ -11915,7 +11918,7 @@ import {
11915
11918
  Alert as Alert8,
11916
11919
  Divider as Divider5,
11917
11920
  Grid as Grid2,
11918
- Stack as Stack46,
11921
+ Stack as Stack47,
11919
11922
  TextField as TextField12,
11920
11923
  Typography as Typography28
11921
11924
  } from "@mui/material";
@@ -11958,8 +11961,8 @@ function getCroppedImg(imageSrc, crop) {
11958
11961
  }
11959
11962
 
11960
11963
  // src/Profile/AvatarUploader.tsx
11961
- import { Stack as Stack45 } from "@mui/material";
11962
- import { jsx as jsx174, jsxs as jsxs80 } from "react/jsx-runtime";
11964
+ import { Stack as Stack46 } from "@mui/material";
11965
+ import { jsx as jsx174, jsxs as jsxs81 } from "react/jsx-runtime";
11963
11966
  var AvatarUploader = ({ onSave, src }) => {
11964
11967
  const [image, setImage] = useState28(null);
11965
11968
  const [croppedImage, setCroppedImage] = useState28(null);
@@ -11991,7 +11994,7 @@ var AvatarUploader = ({ onSave, src }) => {
11991
11994
  };
11992
11995
  reader.readAsDataURL(file);
11993
11996
  };
11994
- return /* @__PURE__ */ jsxs80(Stack45, { direction: "row", spacing: 2, alignItems: "center", children: [
11997
+ return /* @__PURE__ */ jsxs81(Stack46, { direction: "row", spacing: 2, alignItems: "center", children: [
11995
11998
  croppedImage ? /* @__PURE__ */ jsx174(
11996
11999
  Avatar2,
11997
12000
  {
@@ -12006,7 +12009,7 @@ var AvatarUploader = ({ onSave, src }) => {
12006
12009
  sx: { width: 64, height: 64, margin: "auto", mb: 2 }
12007
12010
  }
12008
12011
  ),
12009
- /* @__PURE__ */ jsxs80("label", { children: [
12012
+ /* @__PURE__ */ jsxs81("label", { children: [
12010
12013
  /* @__PURE__ */ jsx174(
12011
12014
  "input",
12012
12015
  {
@@ -12018,7 +12021,7 @@ var AvatarUploader = ({ onSave, src }) => {
12018
12021
  ),
12019
12022
  /* @__PURE__ */ jsx174(Button13, { variant: "contained", component: "span", children: "Alterar foto" })
12020
12023
  ] }),
12021
- /* @__PURE__ */ jsxs80(
12024
+ /* @__PURE__ */ jsxs81(
12022
12025
  Dialog4,
12023
12026
  {
12024
12027
  open,
@@ -12040,7 +12043,7 @@ var AvatarUploader = ({ onSave, src }) => {
12040
12043
  onCropComplete
12041
12044
  }
12042
12045
  ) }),
12043
- /* @__PURE__ */ jsxs80("div", { style: { padding: 20 }, children: [
12046
+ /* @__PURE__ */ jsxs81("div", { style: { padding: 20 }, children: [
12044
12047
  /* @__PURE__ */ jsx174(
12045
12048
  Slider,
12046
12049
  {
@@ -12061,7 +12064,7 @@ var AvatarUploader = ({ onSave, src }) => {
12061
12064
  var AvatarUploader_default = AvatarUploader;
12062
12065
 
12063
12066
  // src/Profile/MinhaConta.tsx
12064
- import { jsx as jsx175, jsxs as jsxs81 } from "react/jsx-runtime";
12067
+ import { jsx as jsx175, jsxs as jsxs82 } from "react/jsx-runtime";
12065
12068
  var schema4 = create$3().shape({
12066
12069
  name: create$6().required("Informe o nome")
12067
12070
  });
@@ -12105,7 +12108,7 @@ function MinhaConta(props) {
12105
12108
  }
12106
12109
  });
12107
12110
  }
12108
- return /* @__PURE__ */ jsxs81(Stack46, { spacing: 2, children: [
12111
+ return /* @__PURE__ */ jsxs82(Stack47, { spacing: 2, children: [
12109
12112
  /* @__PURE__ */ jsx175(Typography28, { variant: "h6", children: "Avatar" }),
12110
12113
  /* @__PURE__ */ jsx175(
12111
12114
  AvatarUploader_default,
@@ -12129,7 +12132,7 @@ function MinhaConta(props) {
12129
12132
  ),
12130
12133
  /* @__PURE__ */ jsx175(Divider5, {}),
12131
12134
  /* @__PURE__ */ jsx175(Typography28, { variant: "h6", children: "Informa\xE7\xF5es da Conta" }),
12132
- /* @__PURE__ */ jsxs81(Grid2, { container: true, spacing: 1.5, children: [
12135
+ /* @__PURE__ */ jsxs82(Grid2, { container: true, spacing: 1.5, children: [
12133
12136
  /* @__PURE__ */ jsx175(Grid2, { size: { xl: 4, lg: 4, md: 4, sm: 12, xs: 12 }, children: /* @__PURE__ */ jsx175(
12134
12137
  TextField12,
12135
12138
  {
@@ -12181,16 +12184,16 @@ import {
12181
12184
  useForm as useForm4
12182
12185
  } from "@data-c/hooks";
12183
12186
  import Verified from "@mui/icons-material/Verified";
12184
- import { Alert as Alert10, Divider as Divider6, Stack as Stack48, Typography as Typography30 } from "@mui/material";
12187
+ import { Alert as Alert10, Divider as Divider6, Stack as Stack49, Typography as Typography30 } from "@mui/material";
12185
12188
  import { useEffect as useEffect21, useState as useState31 } from "react";
12186
12189
 
12187
12190
  // src/Profile/DialogVerificarWhastapp.tsx
12188
12191
  import {
12189
12192
  useCredentials as useCredentials9
12190
12193
  } from "@data-c/hooks";
12191
- import { Alert as Alert9, Stack as Stack47, Typography as Typography29 } from "@mui/material";
12194
+ import { Alert as Alert9, Stack as Stack48, Typography as Typography29 } from "@mui/material";
12192
12195
  import { useEffect as useEffect20, useState as useState30 } from "react";
12193
- import { jsx as jsx176, jsxs as jsxs82 } from "react/jsx-runtime";
12196
+ import { jsx as jsx176, jsxs as jsxs83 } from "react/jsx-runtime";
12194
12197
  function DialogVerificarWhastapp(props) {
12195
12198
  const { open, onClose, payload, onCodigoVerificado, credentialsConfig } = props;
12196
12199
  const [code, setCode] = useState30("");
@@ -12215,13 +12218,13 @@ function DialogVerificarWhastapp(props) {
12215
12218
  setLoading(false);
12216
12219
  }
12217
12220
  }
12218
- return /* @__PURE__ */ jsxs82(Dialog_default.Root, { open, onClose: (_) => onClose(), maxWidth: "xs", children: [
12219
- /* @__PURE__ */ jsxs82(Dialog_default.Header, { children: [
12221
+ return /* @__PURE__ */ jsxs83(Dialog_default.Root, { open, onClose: (_) => onClose(), maxWidth: "xs", children: [
12222
+ /* @__PURE__ */ jsxs83(Dialog_default.Header, { children: [
12220
12223
  /* @__PURE__ */ jsx176(Dialog_default.Title, { children: "Verifica\xE7\xE3o do seu n\xFAmero de WhatsApp" }),
12221
12224
  /* @__PURE__ */ jsx176(Dialog_default.ActionClose, { onClose })
12222
12225
  ] }),
12223
- /* @__PURE__ */ jsx176(Dialog_default.Content, { children: /* @__PURE__ */ jsxs82(
12224
- Stack47,
12226
+ /* @__PURE__ */ jsx176(Dialog_default.Content, { children: /* @__PURE__ */ jsxs83(
12227
+ Stack48,
12225
12228
  {
12226
12229
  spacing: 2,
12227
12230
  justifyContent: "center",
@@ -12236,7 +12239,7 @@ function DialogVerificarWhastapp(props) {
12236
12239
  children: "\u{1F510} Verifique seu n\xFAmero"
12237
12240
  }
12238
12241
  ),
12239
- /* @__PURE__ */ jsxs82(Typography29, { variant: "body1", sx: { fontSize: "10pt" }, children: [
12242
+ /* @__PURE__ */ jsxs83(Typography29, { variant: "body1", sx: { fontSize: "10pt" }, children: [
12240
12243
  "Enviamos um c\xF3digo via WhatsApp para +55",
12241
12244
  " ",
12242
12245
  /* @__PURE__ */ jsx176("b", { children: `(${payload?.whatsappNumber?.slice(0, 2)}) ${payload?.whatsappNumber?.slice(2, 7)}-${payload?.whatsappNumber?.slice(7)}` }),
@@ -12257,7 +12260,7 @@ function DialogVerificarWhastapp(props) {
12257
12260
  ]
12258
12261
  }
12259
12262
  ) }),
12260
- /* @__PURE__ */ jsx176(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs82(Dialog_default.Actions, { children: [
12263
+ /* @__PURE__ */ jsx176(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs83(Dialog_default.Actions, { children: [
12261
12264
  /* @__PURE__ */ jsx176(Dialog_default.ActionCancelar, { onClick: () => onClose() }),
12262
12265
  /* @__PURE__ */ jsx176(
12263
12266
  Dialog_default.ActionSalvar,
@@ -12273,7 +12276,7 @@ function DialogVerificarWhastapp(props) {
12273
12276
  }
12274
12277
 
12275
12278
  // src/Profile/LoginSeguranca.tsx
12276
- import { jsx as jsx177, jsxs as jsxs83 } from "react/jsx-runtime";
12279
+ import { jsx as jsx177, jsxs as jsxs84 } from "react/jsx-runtime";
12277
12280
  var schema5 = create$3().shape({
12278
12281
  whatsappNumber: create$6().required("Informe o n\xFAmero do whastapp").length(15)
12279
12282
  });
@@ -12311,7 +12314,7 @@ function LoginSeguranca(props) {
12311
12314
  setGerandoNumero(false);
12312
12315
  }
12313
12316
  }
12314
- return /* @__PURE__ */ jsxs83(Stack48, { spacing: 2, children: [
12317
+ return /* @__PURE__ */ jsxs84(Stack49, { spacing: 2, children: [
12315
12318
  /* @__PURE__ */ jsx177(Typography30, { variant: "h6", children: "Senha" }),
12316
12319
  /* @__PURE__ */ jsx177(
12317
12320
  Button_default,
@@ -12335,7 +12338,7 @@ function LoginSeguranca(props) {
12335
12338
  ),
12336
12339
  /* @__PURE__ */ jsx177(Divider6, {}),
12337
12340
  /* @__PURE__ */ jsx177(Typography30, { variant: "h6", children: "Login com Whastapp" }),
12338
- /* @__PURE__ */ jsxs83(Stack48, { direction: "row", spacing: 2, children: [
12341
+ /* @__PURE__ */ jsxs84(Stack49, { direction: "row", spacing: 2, children: [
12339
12342
  /* @__PURE__ */ jsx177(
12340
12343
  WhatsAppTextField,
12341
12344
  {
@@ -12349,8 +12352,8 @@ function LoginSeguranca(props) {
12349
12352
  }
12350
12353
  }
12351
12354
  ),
12352
- data.whatsappVerifiedAt && /* @__PURE__ */ jsxs83(
12353
- Stack48,
12355
+ data.whatsappVerifiedAt && /* @__PURE__ */ jsxs84(
12356
+ Stack49,
12354
12357
  {
12355
12358
  direction: "row",
12356
12359
  spacing: 1,
@@ -12399,7 +12402,7 @@ function LoginSeguranca(props) {
12399
12402
 
12400
12403
  // src/Profile/index.tsx
12401
12404
  import { useUserContext as useUserContext2 } from "@data-c/providers";
12402
- import { Fragment as Fragment11, jsx as jsx178, jsxs as jsxs84 } from "react/jsx-runtime";
12405
+ import { Fragment as Fragment11, jsx as jsx178, jsxs as jsxs85 } from "react/jsx-runtime";
12403
12406
  function Profile(props) {
12404
12407
  const [tabValue, setTabValue] = useState32(0);
12405
12408
  const {
@@ -12407,8 +12410,8 @@ function Profile(props) {
12407
12410
  setUser: setUsuarioLogado,
12408
12411
  credentialsConfig
12409
12412
  } = useUserContext2();
12410
- return /* @__PURE__ */ jsx178(Fragment11, { children: /* @__PURE__ */ jsxs84(Stack49, { spacing: 2, direction: "row", children: [
12411
- /* @__PURE__ */ jsx178(Stack49, { sx: { width: "200px" }, children: /* @__PURE__ */ jsxs84(
12413
+ return /* @__PURE__ */ jsx178(Fragment11, { children: /* @__PURE__ */ jsxs85(Stack50, { spacing: 2, direction: "row", children: [
12414
+ /* @__PURE__ */ jsx178(Stack50, { sx: { width: "200px" }, children: /* @__PURE__ */ jsxs85(
12412
12415
  Tabs,
12413
12416
  {
12414
12417
  orientation: "vertical",
@@ -12427,7 +12430,7 @@ function Profile(props) {
12427
12430
  ]
12428
12431
  }
12429
12432
  ) }),
12430
- /* @__PURE__ */ jsxs84(Stack49, { sx: { flexGrow: 1 }, children: [
12433
+ /* @__PURE__ */ jsxs85(Stack50, { sx: { flexGrow: 1 }, children: [
12431
12434
  /* @__PURE__ */ jsx178(TabPanel, { value: tabValue, index: 0, children: /* @__PURE__ */ jsx178(
12432
12435
  MinhaConta,
12433
12436
  {