@data-c/ui 0.2.88 → 0.2.90

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,39 @@ 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, Tooltip as Tooltip3 } from "@mui/material";
9317
+ import { jsx as jsx141, jsxs as jsxs63 } from "react/jsx-runtime";
9318
9318
  function TransporterTextField(props) {
9319
- const { disableLocalFiltering, renderOption, endAdornment, ...rest } = props;
9319
+ const {
9320
+ disableLocalFiltering,
9321
+ renderOption,
9322
+ endAdornment,
9323
+ disabled,
9324
+ ...rest
9325
+ } = props;
9320
9326
  const scope = useTransporterScope();
9321
9327
  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 }) });
9328
+ const defaultEndAdornment = endAdornment ? /* @__PURE__ */ jsxs63(Stack36, { direction: "row", spacing: 0, alignItems: "center", mr: 1, children: [
9329
+ /* @__PURE__ */ jsx141(Tooltip3, { title: "Clique no \xEDcone ou d\xEA dois cliques no campo para abrir a busca avan\xE7ada", children: /* @__PURE__ */ jsx141(
9330
+ IconButton11,
9331
+ {
9332
+ disabled,
9333
+ onClick: () => openTransporter(),
9334
+ edge: "end",
9335
+ children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 })
9336
+ }
9337
+ ) }),
9338
+ endAdornment
9339
+ ] }) : /* @__PURE__ */ jsx141(Tooltip3, { title: "Clique no \xEDcone ou d\xEA dois cliques no campo para abrir a busca avan\xE7ada", children: /* @__PURE__ */ jsx141(
9340
+ IconButton11,
9341
+ {
9342
+ disabled,
9343
+ onClick: () => openTransporter(),
9344
+ edge: "end",
9345
+ sx: { mr: 1 },
9346
+ children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 })
9347
+ }
9348
+ ) });
9323
9349
  return /* @__PURE__ */ jsx141(
9324
9350
  Autocomplete,
9325
9351
  {
@@ -9334,7 +9360,8 @@ function TransporterTextField(props) {
9334
9360
  }
9335
9361
  },
9336
9362
  renderOption,
9337
- endAdornment: { ...defaultEndAdornment, ...endAdornment },
9363
+ endAdornment: defaultEndAdornment,
9364
+ disabled,
9338
9365
  ...rest
9339
9366
  }
9340
9367
  );
@@ -9632,15 +9659,15 @@ import axios from "axios";
9632
9659
  import { useEffect as useEffect13, useState as useState14 } from "react";
9633
9660
 
9634
9661
  // src/v2/NotaVersao/NotaVersaoItem.tsx
9635
- import { Collapse as Collapse2, Stack as Stack36, Typography as Typography18 } from "@mui/material";
9662
+ import { Collapse as Collapse2, Stack as Stack37, Typography as Typography18 } from "@mui/material";
9636
9663
  import { useState as useState13 } from "react";
9637
- import { Fragment as Fragment8, jsx as jsx146, jsxs as jsxs63 } from "react/jsx-runtime";
9664
+ import { Fragment as Fragment8, jsx as jsx146, jsxs as jsxs64 } from "react/jsx-runtime";
9638
9665
  function NotaVersaoItem(props) {
9639
9666
  const { article, isOpen: _isOpen } = props;
9640
9667
  const [isOpen, setOpen] = useState13(Boolean(_isOpen));
9641
- return /* @__PURE__ */ jsxs63(Fragment8, { children: [
9668
+ return /* @__PURE__ */ jsxs64(Fragment8, { children: [
9642
9669
  /* @__PURE__ */ jsx146(
9643
- Stack36,
9670
+ Stack37,
9644
9671
  {
9645
9672
  onClick: () => setOpen(!isOpen),
9646
9673
  sx: {
@@ -9666,7 +9693,7 @@ function NotaVersaoItem(props) {
9666
9693
  }
9667
9694
 
9668
9695
  // src/v2/NotaVersao/index.tsx
9669
- import { Fragment as Fragment9, jsx as jsx147, jsxs as jsxs64 } from "react/jsx-runtime";
9696
+ import { Fragment as Fragment9, jsx as jsx147, jsxs as jsxs65 } from "react/jsx-runtime";
9670
9697
  function NotaVersao(props) {
9671
9698
  const {
9672
9699
  sectionId,
@@ -9733,7 +9760,7 @@ function NotaVersao(props) {
9733
9760
  loadSection();
9734
9761
  }
9735
9762
  }, [sectionId, isOpen]);
9736
- return /* @__PURE__ */ jsxs64(Fragment9, { children: [
9763
+ return /* @__PURE__ */ jsxs65(Fragment9, { children: [
9737
9764
  /* @__PURE__ */ jsx147(
9738
9765
  Button_default,
9739
9766
  {
@@ -9754,7 +9781,7 @@ function NotaVersao(props) {
9754
9781
  children: versao
9755
9782
  }
9756
9783
  ),
9757
- /* @__PURE__ */ jsxs64(
9784
+ /* @__PURE__ */ jsxs65(
9758
9785
  Dialog3,
9759
9786
  {
9760
9787
  fullWidth: true,
@@ -9763,13 +9790,13 @@ function NotaVersao(props) {
9763
9790
  open: isOpen,
9764
9791
  onClose: () => setOpen(false),
9765
9792
  children: [
9766
- /* @__PURE__ */ jsxs64(DialogTitle, { children: [
9793
+ /* @__PURE__ */ jsxs65(DialogTitle, { children: [
9767
9794
  "Notas de Vers\xE3o",
9768
9795
  " ",
9769
9796
  loading && /* @__PURE__ */ jsx147(CircularProgress5, { sx: { ml: 1 }, size: 14 })
9770
9797
  ] }),
9771
- /* @__PURE__ */ jsxs64(DialogContent2, { children: [
9772
- novaVersaoDisponivel && /* @__PURE__ */ jsxs64(Alert2, { severity: "info", sx: { mb: 2 }, children: [
9798
+ /* @__PURE__ */ jsxs65(DialogContent2, { children: [
9799
+ novaVersaoDisponivel && /* @__PURE__ */ jsxs65(Alert2, { severity: "info", sx: { mb: 2 }, children: [
9773
9800
  "Uma nova vers\xE3o (",
9774
9801
  versao,
9775
9802
  ") est\xE1 dispon\xEDvel!"
@@ -9832,7 +9859,7 @@ import {
9832
9859
  IconButton as IconButton12,
9833
9860
  InputAdornment as InputAdornment3,
9834
9861
  MenuItem as MenuItem5,
9835
- Stack as Stack37,
9862
+ Stack as Stack38,
9836
9863
  styled as styled7
9837
9864
  } from "@mui/material";
9838
9865
  import {
@@ -9842,7 +9869,7 @@ import {
9842
9869
  } from "@mui/x-date-pickers";
9843
9870
  import { DateTime as DateTime2 } from "luxon";
9844
9871
  import { useEffect as useEffect14, useMemo as useMemo9, useState as useState15 } from "react";
9845
- import { jsx as jsx150, jsxs as jsxs65 } from "react/jsx-runtime";
9872
+ import { jsx as jsx150, jsxs as jsxs66 } from "react/jsx-runtime";
9846
9873
  var CustomPickersDay = styled7(PickersDay, {
9847
9874
  shouldForwardProp: (prop) => prop !== "isSelected" && prop !== "isHovered"
9848
9875
  })(
@@ -10014,7 +10041,7 @@ function DateRangePicker(props) {
10014
10041
  return void 0;
10015
10042
  }, [dates.tipo]);
10016
10043
  if (renderFieldSet) {
10017
- return /* @__PURE__ */ jsxs65(
10044
+ return /* @__PURE__ */ jsxs66(
10018
10045
  "fieldset",
10019
10046
  {
10020
10047
  style: {
@@ -10034,8 +10061,8 @@ function DateRangePicker(props) {
10034
10061
  children: "Per\xEDodo"
10035
10062
  }
10036
10063
  ),
10037
- /* @__PURE__ */ jsxs65(Stack37, { spacing: 2, children: [
10038
- /* @__PURE__ */ jsxs65(
10064
+ /* @__PURE__ */ jsxs66(Stack38, { spacing: 2, children: [
10065
+ /* @__PURE__ */ jsxs66(
10039
10066
  TextField5,
10040
10067
  {
10041
10068
  value: dates.tipo,
@@ -10048,7 +10075,7 @@ function DateRangePicker(props) {
10048
10075
  size: "small",
10049
10076
  variant: "outlined",
10050
10077
  InputProps: {
10051
- startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs65(InputAdornment3, { position: "start", children: [
10078
+ startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs66(InputAdornment3, { position: "start", children: [
10052
10079
  /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx150(ArrowLeftIcon, { fontSize: "small" }) }),
10053
10080
  /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx150(ArrowRightIcon, { fontSize: "small" }) })
10054
10081
  ] })
@@ -10063,7 +10090,7 @@ function DateRangePicker(props) {
10063
10090
  ]
10064
10091
  }
10065
10092
  ),
10066
- /* @__PURE__ */ jsxs65(Stack37, { direction: "row", spacing: 1, children: [
10093
+ /* @__PURE__ */ jsxs66(Stack38, { direction: "row", spacing: 1, children: [
10067
10094
  /* @__PURE__ */ jsx150(
10068
10095
  DatePicker,
10069
10096
  {
@@ -10103,8 +10130,8 @@ function DateRangePicker(props) {
10103
10130
  }
10104
10131
  );
10105
10132
  }
10106
- return /* @__PURE__ */ jsxs65(Stack37, { spacing: 2, children: [
10107
- /* @__PURE__ */ jsxs65(
10133
+ return /* @__PURE__ */ jsxs66(Stack38, { spacing: 2, children: [
10134
+ /* @__PURE__ */ jsxs66(
10108
10135
  TextField5,
10109
10136
  {
10110
10137
  value: dates.tipo,
@@ -10117,7 +10144,7 @@ function DateRangePicker(props) {
10117
10144
  size: "small",
10118
10145
  variant: "outlined",
10119
10146
  InputProps: {
10120
- startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs65(InputAdornment3, { position: "start", children: [
10147
+ startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs66(InputAdornment3, { position: "start", children: [
10121
10148
  /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx150(ArrowLeftIcon, { fontSize: "small" }) }),
10122
10149
  /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx150(ArrowRightIcon, { fontSize: "small" }) })
10123
10150
  ] })
@@ -10132,7 +10159,7 @@ function DateRangePicker(props) {
10132
10159
  ]
10133
10160
  }
10134
10161
  ),
10135
- /* @__PURE__ */ jsxs65(Stack37, { direction: "row", spacing: 1, children: [
10162
+ /* @__PURE__ */ jsxs66(Stack38, { direction: "row", spacing: 1, children: [
10136
10163
  /* @__PURE__ */ jsx150(
10137
10164
  DatePicker,
10138
10165
  {
@@ -10292,11 +10319,11 @@ function PasswordTextField(props) {
10292
10319
  // src/AlterarSenha/components/ValidatorMessage/index.tsx
10293
10320
  import Circle3 from "@mui/icons-material/Circle";
10294
10321
  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";
10322
+ import { jsx as jsx153, jsxs as jsxs67 } from "react/jsx-runtime";
10296
10323
  function ValidatorMessage(props) {
10297
10324
  const { isValid, message } = props;
10298
10325
  const theme2 = useTheme8();
10299
- return /* @__PURE__ */ jsxs66(
10326
+ return /* @__PURE__ */ jsxs67(
10300
10327
  Box16,
10301
10328
  {
10302
10329
  sx: {
@@ -10331,7 +10358,7 @@ function ValidatorMessage(props) {
10331
10358
  }
10332
10359
 
10333
10360
  // src/AlterarSenha/index.tsx
10334
- import { jsx as jsx154, jsxs as jsxs67 } from "react/jsx-runtime";
10361
+ import { jsx as jsx154, jsxs as jsxs68 } from "react/jsx-runtime";
10335
10362
  var defaultData = {
10336
10363
  senhaAtual: "",
10337
10364
  senhaNova: "",
@@ -10439,18 +10466,18 @@ function AlterarSenha(props) {
10439
10466
  return false;
10440
10467
  return data?.senhaNova === data?.senhaNovaConfirmar;
10441
10468
  }
10442
- return /* @__PURE__ */ jsxs67(Dialog_default.Root, { open: isOpen, onClose: (_) => onClose(), maxWidth: "md", children: [
10443
- /* @__PURE__ */ jsxs67(Dialog_default.Header, { children: [
10469
+ return /* @__PURE__ */ jsxs68(Dialog_default.Root, { open: isOpen, onClose: (_) => onClose(), maxWidth: "md", children: [
10470
+ /* @__PURE__ */ jsxs68(Dialog_default.Header, { children: [
10444
10471
  /* @__PURE__ */ jsx154(Dialog_default.Title, { children: "Alterar Senha" }),
10445
10472
  /* @__PURE__ */ jsx154(Dialog_default.ActionClose, { onClose })
10446
10473
  ] }),
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: [
10474
+ /* @__PURE__ */ jsx154(Dialog_default.Content, { children: /* @__PURE__ */ jsxs68(Grid, { container: true, spacing: 2, children: [
10475
+ primeiroAcesso && /* @__PURE__ */ jsx154(Grid, { size: 12, children: /* @__PURE__ */ jsxs68(Alert3, { severity: "info", children: [
10449
10476
  "Voc\xEA est\xE1 acessando o sistema com uma senha tempor\xE1ria.",
10450
10477
  /* @__PURE__ */ jsx154("br", {}),
10451
10478
  "Cadastre uma senha segura para deixar sua conta mais protegida."
10452
10479
  ] }) }),
10453
- /* @__PURE__ */ jsxs67(Grid, { size: 12, children: [
10480
+ /* @__PURE__ */ jsxs68(Grid, { size: 12, children: [
10454
10481
  /* @__PURE__ */ jsx154(
10455
10482
  PasswordTextField,
10456
10483
  {
@@ -10461,7 +10488,7 @@ function AlterarSenha(props) {
10461
10488
  ...validationProps("senhaAtual")
10462
10489
  }
10463
10490
  ),
10464
- /* @__PURE__ */ jsxs67(
10491
+ /* @__PURE__ */ jsxs68(
10465
10492
  Box17,
10466
10493
  {
10467
10494
  sx: { display: "flex", alignItems: "center", gap: 0.5, mt: 0.5 },
@@ -10483,7 +10510,7 @@ function AlterarSenha(props) {
10483
10510
  ...validationProps("senhaNova")
10484
10511
  }
10485
10512
  ) }),
10486
- /* @__PURE__ */ jsxs67(Grid, { size: 12, children: [
10513
+ /* @__PURE__ */ jsxs68(Grid, { size: 12, children: [
10487
10514
  /* @__PURE__ */ jsx154(
10488
10515
  PasswordTextField,
10489
10516
  {
@@ -10494,7 +10521,7 @@ function AlterarSenha(props) {
10494
10521
  ...validationProps("senhaNovaConfirmar")
10495
10522
  }
10496
10523
  ),
10497
- /* @__PURE__ */ jsxs67(
10524
+ /* @__PURE__ */ jsxs68(
10498
10525
  Box17,
10499
10526
  {
10500
10527
  sx: { display: "flex", alignItems: "center", gap: 0.5, mt: 0.5 },
@@ -10505,7 +10532,7 @@ function AlterarSenha(props) {
10505
10532
  }
10506
10533
  )
10507
10534
  ] }),
10508
- /* @__PURE__ */ jsxs67(Grid, { size: 12, children: [
10535
+ /* @__PURE__ */ jsxs68(Grid, { size: 12, children: [
10509
10536
  /* @__PURE__ */ jsx154(
10510
10537
  ValidatorMessage,
10511
10538
  {
@@ -10551,7 +10578,7 @@ function AlterarSenha(props) {
10551
10578
  ] }),
10552
10579
  error && /* @__PURE__ */ jsx154(Grid, { size: 12, children: /* @__PURE__ */ jsx154(Alert3, { severity: "error", children: error }) })
10553
10580
  ] }) }),
10554
- /* @__PURE__ */ jsx154(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs67(Dialog_default.Actions, { children: [
10581
+ /* @__PURE__ */ jsx154(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs68(Dialog_default.Actions, { children: [
10555
10582
  /* @__PURE__ */ jsx154(Dialog_default.ActionCancelar, { onClick: () => onClose() }),
10556
10583
  /* @__PURE__ */ jsx154(
10557
10584
  Dialog_default.ActionSalvar,
@@ -10567,7 +10594,7 @@ function AlterarSenha(props) {
10567
10594
  }
10568
10595
 
10569
10596
  // src/MioAuth/components/LoginForm/index.tsx
10570
- import { jsx as jsx155, jsxs as jsxs68 } from "react/jsx-runtime";
10597
+ import { jsx as jsx155, jsxs as jsxs69 } from "react/jsx-runtime";
10571
10598
  var schema2 = create$3().shape({
10572
10599
  email: create$6().required("Informe o e-mail"),
10573
10600
  password: create$6().required("Informe a senha")
@@ -10609,9 +10636,9 @@ function LoginForm(props) {
10609
10636
  setLoading(false);
10610
10637
  });
10611
10638
  }
10612
- return /* @__PURE__ */ jsxs68(Stack38, { component: "form", onSubmit: handleLogin, children: [
10613
- /* @__PURE__ */ jsxs68(
10614
- Stack38,
10639
+ return /* @__PURE__ */ jsxs69(Stack39, { component: "form", onSubmit: handleLogin, children: [
10640
+ /* @__PURE__ */ jsxs69(
10641
+ Stack39,
10615
10642
  {
10616
10643
  spacing: 2,
10617
10644
  children: [
@@ -10678,13 +10705,13 @@ function LoginForm(props) {
10678
10705
  }
10679
10706
  ),
10680
10707
  error && /* @__PURE__ */ jsx155(Alert4, { severity: "error", children: error }),
10681
- sucessoAlterarSenha && /* @__PURE__ */ jsxs68(Alert4, { severity: "success", children: [
10708
+ sucessoAlterarSenha && /* @__PURE__ */ jsxs69(Alert4, { severity: "success", children: [
10682
10709
  "Senha cadastrada com sucesso",
10683
10710
  /* @__PURE__ */ jsx155("br", {}),
10684
10711
  "Tudo pronto para voc\xEA fazer o login"
10685
10712
  ] }),
10686
- /* @__PURE__ */ jsxs68(
10687
- Stack38,
10713
+ /* @__PURE__ */ jsxs69(
10714
+ Stack39,
10688
10715
  {
10689
10716
  direction: "row",
10690
10717
  justifyContent: "center",
@@ -10698,7 +10725,7 @@ function LoginForm(props) {
10698
10725
  ]
10699
10726
  }
10700
10727
  ),
10701
- /* @__PURE__ */ jsxs68(Stack38, { spacing: 1, children: [
10728
+ /* @__PURE__ */ jsxs69(Stack39, { spacing: 1, children: [
10702
10729
  /* @__PURE__ */ jsx155(
10703
10730
  Button_default,
10704
10731
  {
@@ -10739,7 +10766,7 @@ function LoginForm(props) {
10739
10766
  import { useState as useState19 } from "react";
10740
10767
  import { Alert as Alert5, Box as Box18, TextField as TextField7 } from "@mui/material";
10741
10768
  import { useCredentials as useCredentials3, useValidations as useValidations3 } from "@data-c/hooks";
10742
- import { jsx as jsx156, jsxs as jsxs69 } from "react/jsx-runtime";
10769
+ import { jsx as jsx156, jsxs as jsxs70 } from "react/jsx-runtime";
10743
10770
  var schema3 = create$3().shape({
10744
10771
  email: create$6().required("Informe o e-mail")
10745
10772
  });
@@ -10767,7 +10794,7 @@ function EsqueciSenhaForm(props) {
10767
10794
  setValidationErrors(error2);
10768
10795
  });
10769
10796
  }
10770
- return /* @__PURE__ */ jsxs69(Box18, { component: "form", children: [
10797
+ return /* @__PURE__ */ jsxs70(Box18, { component: "form", children: [
10771
10798
  /* @__PURE__ */ jsx156(
10772
10799
  TextField7,
10773
10800
  {
@@ -10845,7 +10872,7 @@ function EsqueciSenhaForm(props) {
10845
10872
  import { useEffect as useEffect16, useState as useState20 } from "react";
10846
10873
  import { Box as Box19, MenuItem as MenuItem6, TextField as TextField8 } from "@mui/material";
10847
10874
  import { useCredentials as useCredentials4 } from "@data-c/hooks";
10848
- import { jsx as jsx157, jsxs as jsxs70 } from "react/jsx-runtime";
10875
+ import { jsx as jsx157, jsxs as jsxs71 } from "react/jsx-runtime";
10849
10876
  function LicencaForm(props) {
10850
10877
  const { loginData, credentialsConfig, onLoginFailed, onLoginSuccess } = props;
10851
10878
  const [empresaId, setEmpresaId] = useState20("");
@@ -10868,7 +10895,7 @@ function LicencaForm(props) {
10868
10895
  onLoginFailed(err);
10869
10896
  }
10870
10897
  }
10871
- return /* @__PURE__ */ jsxs70(Box19, { component: "form", sx: { minWidth: "290px" }, children: [
10898
+ return /* @__PURE__ */ jsxs71(Box19, { component: "form", sx: { minWidth: "290px" }, children: [
10872
10899
  /* @__PURE__ */ jsx157(
10873
10900
  TextField8,
10874
10901
  {
@@ -10909,7 +10936,7 @@ import {
10909
10936
  useForm as useForm2
10910
10937
  } from "@data-c/hooks";
10911
10938
  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";
10939
+ import { Alert as Alert7, IconButton as IconButton14, Stack as Stack41, TextField as TextField11, Typography as Typography23 } from "@mui/material";
10913
10940
  import { useState as useState23 } from "react";
10914
10941
 
10915
10942
  // src/WhastappTextField/index.tsx
@@ -10967,7 +10994,7 @@ function WhatsAppTextField(props) {
10967
10994
  import {
10968
10995
  useCredentials as useCredentials5
10969
10996
  } from "@data-c/hooks";
10970
- import { Alert as Alert6, Stack as Stack39, Typography as Typography22 } from "@mui/material";
10997
+ import { Alert as Alert6, Stack as Stack40, Typography as Typography22 } from "@mui/material";
10971
10998
  import { useEffect as useEffect17, useState as useState22 } from "react";
10972
10999
 
10973
11000
  // src/VerificationCodeInput/index.tsx
@@ -11021,7 +11048,7 @@ function VerificationCodeInput({
11021
11048
  }
11022
11049
 
11023
11050
  // src/MioAuth/components/OtpForm/DialogVerificarOtp.tsx
11024
- import { jsx as jsx160, jsxs as jsxs71 } from "react/jsx-runtime";
11051
+ import { jsx as jsx160, jsxs as jsxs72 } from "react/jsx-runtime";
11025
11052
  function DialogVerificarOtp(props) {
11026
11053
  const { open, onClose, payload, onLoginSuccess, credentialsConfig } = props;
11027
11054
  const [code, setCode] = useState22("");
@@ -11053,13 +11080,13 @@ function DialogVerificarOtp(props) {
11053
11080
  setLoading(false);
11054
11081
  }
11055
11082
  }
11056
- return /* @__PURE__ */ jsxs71(Dialog_default.Root, { open, onClose: (_) => onClose(), maxWidth: "xs", children: [
11057
- /* @__PURE__ */ jsxs71(Dialog_default.Header, { children: [
11083
+ return /* @__PURE__ */ jsxs72(Dialog_default.Root, { open, onClose: (_) => onClose(), maxWidth: "xs", children: [
11084
+ /* @__PURE__ */ jsxs72(Dialog_default.Header, { children: [
11058
11085
  /* @__PURE__ */ jsx160(Dialog_default.Title, { children: "Entrar com senha tempor\xE1ria" }),
11059
11086
  /* @__PURE__ */ jsx160(Dialog_default.ActionClose, { onClose })
11060
11087
  ] }),
11061
- /* @__PURE__ */ jsx160(Dialog_default.Content, { children: /* @__PURE__ */ jsxs71(
11062
- Stack39,
11088
+ /* @__PURE__ */ jsx160(Dialog_default.Content, { children: /* @__PURE__ */ jsxs72(
11089
+ Stack40,
11063
11090
  {
11064
11091
  spacing: 2,
11065
11092
  justifyContent: "center",
@@ -11074,7 +11101,7 @@ function DialogVerificarOtp(props) {
11074
11101
  children: "\u{1F510} Digite a senha tempor\xE1ria para acessar sua conta"
11075
11102
  }
11076
11103
  ),
11077
- /* @__PURE__ */ jsxs71(Typography22, { variant: "body1", sx: { fontSize: "10pt" }, children: [
11104
+ /* @__PURE__ */ jsxs72(Typography22, { variant: "body1", sx: { fontSize: "10pt" }, children: [
11078
11105
  "Enviamos uma senha tempor\xE1ria para ",
11079
11106
  /* @__PURE__ */ jsx160("b", { children: payload.target }),
11080
11107
  ". ",
@@ -11094,7 +11121,7 @@ function DialogVerificarOtp(props) {
11094
11121
  ]
11095
11122
  }
11096
11123
  ) }),
11097
- /* @__PURE__ */ jsx160(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs71(Dialog_default.Actions, { children: [
11124
+ /* @__PURE__ */ jsx160(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs72(Dialog_default.Actions, { children: [
11098
11125
  /* @__PURE__ */ jsx160(Dialog_default.ActionCancelar, { onClick: () => onClose() }),
11099
11126
  /* @__PURE__ */ jsx160(
11100
11127
  Dialog_default.ActionSalvar,
@@ -11110,7 +11137,7 @@ function DialogVerificarOtp(props) {
11110
11137
  }
11111
11138
 
11112
11139
  // src/MioAuth/components/OtpForm/index.tsx
11113
- import { Fragment as Fragment10, jsx as jsx161, jsxs as jsxs72 } from "react/jsx-runtime";
11140
+ import { Fragment as Fragment10, jsx as jsx161, jsxs as jsxs73 } from "react/jsx-runtime";
11114
11141
  var contatoSchema = create$3().shape({
11115
11142
  contato: create$6().when("$tipo", ([tipo], schema6) => {
11116
11143
  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 +11171,8 @@ function OtpForm(props) {
11144
11171
  { context: { tipo } }
11145
11172
  );
11146
11173
  };
11147
- return /* @__PURE__ */ jsxs72(Fragment10, { children: [
11148
- /* @__PURE__ */ jsx161("form", { onSubmit: handleSubmit, children: /* @__PURE__ */ jsxs72(Stack40, { spacing: 2, children: [
11174
+ return /* @__PURE__ */ jsxs73(Fragment10, { children: [
11175
+ /* @__PURE__ */ jsx161("form", { onSubmit: handleSubmit, children: /* @__PURE__ */ jsxs73(Stack41, { spacing: 2, children: [
11149
11176
  /* @__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
11177
  tipo === "otp-email" && /* @__PURE__ */ jsx161(
11151
11178
  TextField11,
@@ -11173,7 +11200,7 @@ function OtpForm(props) {
11173
11200
  ...validationErrors("contato")
11174
11201
  }
11175
11202
  ),
11176
- /* @__PURE__ */ jsxs72(Stack40, { children: [
11203
+ /* @__PURE__ */ jsxs73(Stack41, { children: [
11177
11204
  /* @__PURE__ */ jsx161(
11178
11205
  Button_default,
11179
11206
  {
@@ -11184,7 +11211,7 @@ function OtpForm(props) {
11184
11211
  children: "Enviar c\xF3digo"
11185
11212
  }
11186
11213
  ),
11187
- /* @__PURE__ */ jsxs72(
11214
+ /* @__PURE__ */ jsxs73(
11188
11215
  ButtonContainer,
11189
11216
  {
11190
11217
  sx: {
@@ -11242,7 +11269,7 @@ function OtpForm(props) {
11242
11269
  }
11243
11270
 
11244
11271
  // src/MioAuth/components/LoginSection/index.tsx
11245
- import { jsx as jsx162, jsxs as jsxs73 } from "react/jsx-runtime";
11272
+ import { jsx as jsx162, jsxs as jsxs74 } from "react/jsx-runtime";
11246
11273
  var pageLabelMap = {
11247
11274
  login: "Acesse sua conta",
11248
11275
  licensa: "Selecione a licen\xE7a",
@@ -11300,9 +11327,9 @@ function LoginSection(props) {
11300
11327
  setView("login");
11301
11328
  }
11302
11329
  const pageLabel = pageLabelMap[view];
11303
- return /* @__PURE__ */ jsxs73(Stack41, { children: [
11330
+ return /* @__PURE__ */ jsxs74(Stack42, { children: [
11304
11331
  /* @__PURE__ */ jsx162(Header, { label: appName, subTitle: pageLabel }),
11305
- /* @__PURE__ */ jsxs73(Box21, { sx: { marginTop: 2 }, children: [
11332
+ /* @__PURE__ */ jsxs74(Box21, { sx: { marginTop: 2 }, children: [
11306
11333
  view === "login" && /* @__PURE__ */ jsx162(
11307
11334
  LoginForm,
11308
11335
  {
@@ -11352,13 +11379,13 @@ function LoginSection(props) {
11352
11379
 
11353
11380
  // src/MioAuth/components/DefaultBanner/index.tsx
11354
11381
  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";
11382
+ import { Link, Stack as Stack43, Typography as Typography25, useMediaQuery as useMediaQuery5, useTheme as useTheme10 } from "@mui/material";
11383
+ import { jsx as jsx163, jsxs as jsxs75 } from "react/jsx-runtime";
11357
11384
  function DefaultBanner() {
11358
11385
  const theme2 = useTheme10();
11359
11386
  const fullScreen = useMediaQuery5(theme2.breakpoints.up("md"));
11360
11387
  return /* @__PURE__ */ jsx163(
11361
- Stack42,
11388
+ Stack43,
11362
11389
  {
11363
11390
  component: "section",
11364
11391
  display: fullScreen ? "flex" : "none",
@@ -11372,7 +11399,7 @@ function DefaultBanner() {
11372
11399
  backgroundPosition: "right",
11373
11400
  backgroundRepeat: "no-repeat"
11374
11401
  },
11375
- children: /* @__PURE__ */ jsxs74(Stack42, { padding: "2rem", children: [
11402
+ children: /* @__PURE__ */ jsxs75(Stack43, { padding: "2rem", children: [
11376
11403
  /* @__PURE__ */ jsx163(
11377
11404
  Typography25,
11378
11405
  {
@@ -11414,7 +11441,7 @@ function DefaultBanner() {
11414
11441
  children: "Mais de 30 anos de exist\xEAncia e muitas hist\xF3rias de sucesso."
11415
11442
  }
11416
11443
  ),
11417
- /* @__PURE__ */ jsx163(Link, { href: "https://site.datac.com.br/services/", target: "_blank", children: /* @__PURE__ */ jsxs74(
11444
+ /* @__PURE__ */ jsx163(Link, { href: "https://site.datac.com.br/services/", target: "_blank", children: /* @__PURE__ */ jsxs75(
11418
11445
  Button_default,
11419
11446
  {
11420
11447
  component: "a",
@@ -11453,12 +11480,12 @@ function DefaultBanner() {
11453
11480
  }
11454
11481
 
11455
11482
  // src/MioAuth/index.tsx
11456
- import { jsx as jsx164, jsxs as jsxs75 } from "react/jsx-runtime";
11483
+ import { jsx as jsx164, jsxs as jsxs76 } from "react/jsx-runtime";
11457
11484
  function LoginContainer({ children }) {
11458
11485
  const theme2 = useTheme11();
11459
11486
  const fullScreen = useMediaQuery6(theme2.breakpoints.up("md"));
11460
- return /* @__PURE__ */ jsxs75(
11461
- Stack43,
11487
+ return /* @__PURE__ */ jsxs76(
11488
+ Stack44,
11462
11489
  {
11463
11490
  component: "section",
11464
11491
  width: fullScreen ? "46%" : "100%",
@@ -11468,8 +11495,8 @@ function LoginContainer({ children }) {
11468
11495
  alignItems: "center",
11469
11496
  padding: "2rem",
11470
11497
  children: [
11471
- /* @__PURE__ */ jsx164(Stack43, { width: "100%", maxWidth: "28rem", margin: "auto 0", children }),
11472
- /* @__PURE__ */ jsxs75(Stack43, { direction: "row", alignItems: "center", marginBottom: -3, children: [
11498
+ /* @__PURE__ */ jsx164(Stack44, { width: "100%", maxWidth: "28rem", margin: "auto 0", children }),
11499
+ /* @__PURE__ */ jsxs76(Stack44, { direction: "row", alignItems: "center", marginBottom: -3, children: [
11473
11500
  /* @__PURE__ */ jsx164(
11474
11501
  "img",
11475
11502
  {
@@ -11494,7 +11521,7 @@ function LoginContainer({ children }) {
11494
11521
  }
11495
11522
  function MioAuth(props) {
11496
11523
  const { banner, loginSection } = props;
11497
- return /* @__PURE__ */ jsxs75(Stack43, { component: "main", direction: "row", height: "100vh", children: [
11524
+ return /* @__PURE__ */ jsxs76(Stack44, { component: "main", direction: "row", height: "100vh", children: [
11498
11525
  banner ? /* @__PURE__ */ jsx164(BannerSection, { children: banner }) : /* @__PURE__ */ jsx164(DefaultBanner, {}),
11499
11526
  /* @__PURE__ */ jsx164(LoginContainer, { children: loginSection ? loginSection : /* @__PURE__ */ jsx164(LoginSection, { ...props }) })
11500
11527
  ] });
@@ -11503,14 +11530,14 @@ function MioAuth(props) {
11503
11530
  // src/AlterarLicenca/index.tsx
11504
11531
  import { formatDocumento as formatDocumento2, normalizeText } from "@data-c/hooks";
11505
11532
  import ArrowDropDown from "@mui/icons-material/ArrowDropDown";
11506
- import { Button as Button12, Stack as Stack44, Typography as Typography27 } from "@mui/material";
11533
+ import { Button as Button12, Stack as Stack45, Typography as Typography27 } from "@mui/material";
11507
11534
  import { useState as useState25 } from "react";
11508
- import { jsx as jsx165, jsxs as jsxs76 } from "react/jsx-runtime";
11535
+ import { jsx as jsx165, jsxs as jsxs77 } from "react/jsx-runtime";
11509
11536
  function AlterarLicenca(props) {
11510
11537
  const { licencas, licencaSelecionada, onAlterarLicenca } = props;
11511
11538
  const [query, setQuery] = useState25("");
11512
11539
  if (licencas.length === 0)
11513
- return /* @__PURE__ */ jsxs76(Stack44, { overflow: "hidden", children: [
11540
+ return /* @__PURE__ */ jsxs77(Stack45, { overflow: "hidden", children: [
11514
11541
  /* @__PURE__ */ jsx165(Typography27, { overflow: "hidden", textOverflow: "ellipsis", variant: "body1", children: licencaSelecionada.nome }),
11515
11542
  /* @__PURE__ */ jsx165(Typography27, { overflow: "hidden", textOverflow: "ellipsis", variant: "body2", children: formatDocumento2(licencaSelecionada.documento) })
11516
11543
  ] });
@@ -11522,8 +11549,8 @@ function AlterarLicenca(props) {
11522
11549
  (field) => normalizeText(String(item[field])).includes(normalizeText(query))
11523
11550
  )
11524
11551
  ) : licencas;
11525
- return /* @__PURE__ */ jsxs76(Popover_default.Root, { children: [
11526
- /* @__PURE__ */ jsx165(Popover_default.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs76(
11552
+ return /* @__PURE__ */ jsxs77(Popover_default.Root, { children: [
11553
+ /* @__PURE__ */ jsx165(Popover_default.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs77(
11527
11554
  Button12,
11528
11555
  {
11529
11556
  sx: {
@@ -11547,7 +11574,7 @@ function AlterarLicenca(props) {
11547
11574
  p: 0.5
11548
11575
  }
11549
11576
  },
11550
- children: /* @__PURE__ */ jsxs76(
11577
+ children: /* @__PURE__ */ jsxs77(
11551
11578
  List_default.Root,
11552
11579
  {
11553
11580
  sx: {
@@ -11564,7 +11591,7 @@ function AlterarLicenca(props) {
11564
11591
  {
11565
11592
  selected: licencaSelecionada.uuid === e.uuid,
11566
11593
  onClick: () => onAlterarLicenca(e),
11567
- children: /* @__PURE__ */ jsxs76(Stack44, { children: [
11594
+ children: /* @__PURE__ */ jsxs77(Stack45, { children: [
11568
11595
  /* @__PURE__ */ jsx165(Typography27, { variant: "body1", textOverflow: "ellipsis", children: e.nome }),
11569
11596
  /* @__PURE__ */ jsx165(Typography27, { variant: "body2", textOverflow: "ellipsis", children: formatDocumento2(e.documento) })
11570
11597
  ] })
@@ -11635,7 +11662,7 @@ var MenuItem7 = (props) => /* @__PURE__ */ jsx166(StyledMuiMenuItem, { ...props
11635
11662
  var MenuItem_default = MenuItem7;
11636
11663
 
11637
11664
  // src/DrawerMenu/components/FullMenu/components/FullMenuItem/index.tsx
11638
- import { jsx as jsx167, jsxs as jsxs77 } from "react/jsx-runtime";
11665
+ import { jsx as jsx167, jsxs as jsxs78 } from "react/jsx-runtime";
11639
11666
  function FullMenuItem2(props) {
11640
11667
  const { menuItem, activeMenu, onMenuClick } = props;
11641
11668
  const [expanded, setExpanded] = useState26(false);
@@ -11647,8 +11674,8 @@ function FullMenuItem2(props) {
11647
11674
  function toggleExpand() {
11648
11675
  setExpanded(!expanded);
11649
11676
  }
11650
- return /* @__PURE__ */ jsxs77(Box22, { children: [
11651
- /* @__PURE__ */ jsxs77(
11677
+ return /* @__PURE__ */ jsxs78(Box22, { children: [
11678
+ /* @__PURE__ */ jsxs78(
11652
11679
  MenuItem_default,
11653
11680
  {
11654
11681
  onClick: () => {
@@ -11701,7 +11728,7 @@ function FullMenu(props) {
11701
11728
  // src/DrawerMenu/components/MinMenu/index.tsx
11702
11729
  import { useState as useState27 } from "react";
11703
11730
  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";
11731
+ import { jsx as jsx169, jsxs as jsxs79 } from "react/jsx-runtime";
11705
11732
  function MinMenu(props) {
11706
11733
  const { menus, activeMenu, onMenuClick } = props;
11707
11734
  const [opened, setOpened] = useState27(null);
@@ -11718,7 +11745,7 @@ function MinMenu(props) {
11718
11745
  return /* @__PURE__ */ jsx169(List6, { component: "nav", disablePadding: true, children: menus.map((menuItem) => {
11719
11746
  if (!menuItem.visible)
11720
11747
  return null;
11721
- return /* @__PURE__ */ jsxs78(
11748
+ return /* @__PURE__ */ jsxs79(
11722
11749
  MenuItem_default,
11723
11750
  {
11724
11751
  onMouseEnter: (e) => {
@@ -11773,7 +11800,7 @@ function MinMenu(props) {
11773
11800
  }
11774
11801
 
11775
11802
  // src/DrawerMenu/index.tsx
11776
- import { jsx as jsx170, jsxs as jsxs79 } from "react/jsx-runtime";
11803
+ import { jsx as jsx170, jsxs as jsxs80 } from "react/jsx-runtime";
11777
11804
  var openedMixin2 = (width, theme2) => ({
11778
11805
  width,
11779
11806
  transition: theme2.transitions.create("width", {
@@ -11813,7 +11840,7 @@ var Drawer2 = styled9(MuiDrawer3, {
11813
11840
  }));
11814
11841
  function DrawerMenu(props) {
11815
11842
  const { open, items, width, activeMenu, onMenuClick, toggleMenu, ...rest } = props;
11816
- return /* @__PURE__ */ jsxs79(
11843
+ return /* @__PURE__ */ jsxs80(
11817
11844
  Drawer2,
11818
11845
  {
11819
11846
  width,
@@ -11878,7 +11905,7 @@ function Avatar(props) {
11878
11905
  }
11879
11906
 
11880
11907
  // src/Profile/index.tsx
11881
- import { Stack as Stack49, Tab, Tabs } from "@mui/material";
11908
+ import { Stack as Stack50, Tab, Tabs } from "@mui/material";
11882
11909
  import { useState as useState32 } from "react";
11883
11910
 
11884
11911
  // src/Profile/TabPanel.tsx
@@ -11915,7 +11942,7 @@ import {
11915
11942
  Alert as Alert8,
11916
11943
  Divider as Divider5,
11917
11944
  Grid as Grid2,
11918
- Stack as Stack46,
11945
+ Stack as Stack47,
11919
11946
  TextField as TextField12,
11920
11947
  Typography as Typography28
11921
11948
  } from "@mui/material";
@@ -11958,8 +11985,8 @@ function getCroppedImg(imageSrc, crop) {
11958
11985
  }
11959
11986
 
11960
11987
  // src/Profile/AvatarUploader.tsx
11961
- import { Stack as Stack45 } from "@mui/material";
11962
- import { jsx as jsx174, jsxs as jsxs80 } from "react/jsx-runtime";
11988
+ import { Stack as Stack46 } from "@mui/material";
11989
+ import { jsx as jsx174, jsxs as jsxs81 } from "react/jsx-runtime";
11963
11990
  var AvatarUploader = ({ onSave, src }) => {
11964
11991
  const [image, setImage] = useState28(null);
11965
11992
  const [croppedImage, setCroppedImage] = useState28(null);
@@ -11991,7 +12018,7 @@ var AvatarUploader = ({ onSave, src }) => {
11991
12018
  };
11992
12019
  reader.readAsDataURL(file);
11993
12020
  };
11994
- return /* @__PURE__ */ jsxs80(Stack45, { direction: "row", spacing: 2, alignItems: "center", children: [
12021
+ return /* @__PURE__ */ jsxs81(Stack46, { direction: "row", spacing: 2, alignItems: "center", children: [
11995
12022
  croppedImage ? /* @__PURE__ */ jsx174(
11996
12023
  Avatar2,
11997
12024
  {
@@ -12006,7 +12033,7 @@ var AvatarUploader = ({ onSave, src }) => {
12006
12033
  sx: { width: 64, height: 64, margin: "auto", mb: 2 }
12007
12034
  }
12008
12035
  ),
12009
- /* @__PURE__ */ jsxs80("label", { children: [
12036
+ /* @__PURE__ */ jsxs81("label", { children: [
12010
12037
  /* @__PURE__ */ jsx174(
12011
12038
  "input",
12012
12039
  {
@@ -12018,7 +12045,7 @@ var AvatarUploader = ({ onSave, src }) => {
12018
12045
  ),
12019
12046
  /* @__PURE__ */ jsx174(Button13, { variant: "contained", component: "span", children: "Alterar foto" })
12020
12047
  ] }),
12021
- /* @__PURE__ */ jsxs80(
12048
+ /* @__PURE__ */ jsxs81(
12022
12049
  Dialog4,
12023
12050
  {
12024
12051
  open,
@@ -12040,7 +12067,7 @@ var AvatarUploader = ({ onSave, src }) => {
12040
12067
  onCropComplete
12041
12068
  }
12042
12069
  ) }),
12043
- /* @__PURE__ */ jsxs80("div", { style: { padding: 20 }, children: [
12070
+ /* @__PURE__ */ jsxs81("div", { style: { padding: 20 }, children: [
12044
12071
  /* @__PURE__ */ jsx174(
12045
12072
  Slider,
12046
12073
  {
@@ -12061,7 +12088,7 @@ var AvatarUploader = ({ onSave, src }) => {
12061
12088
  var AvatarUploader_default = AvatarUploader;
12062
12089
 
12063
12090
  // src/Profile/MinhaConta.tsx
12064
- import { jsx as jsx175, jsxs as jsxs81 } from "react/jsx-runtime";
12091
+ import { jsx as jsx175, jsxs as jsxs82 } from "react/jsx-runtime";
12065
12092
  var schema4 = create$3().shape({
12066
12093
  name: create$6().required("Informe o nome")
12067
12094
  });
@@ -12105,7 +12132,7 @@ function MinhaConta(props) {
12105
12132
  }
12106
12133
  });
12107
12134
  }
12108
- return /* @__PURE__ */ jsxs81(Stack46, { spacing: 2, children: [
12135
+ return /* @__PURE__ */ jsxs82(Stack47, { spacing: 2, children: [
12109
12136
  /* @__PURE__ */ jsx175(Typography28, { variant: "h6", children: "Avatar" }),
12110
12137
  /* @__PURE__ */ jsx175(
12111
12138
  AvatarUploader_default,
@@ -12129,7 +12156,7 @@ function MinhaConta(props) {
12129
12156
  ),
12130
12157
  /* @__PURE__ */ jsx175(Divider5, {}),
12131
12158
  /* @__PURE__ */ jsx175(Typography28, { variant: "h6", children: "Informa\xE7\xF5es da Conta" }),
12132
- /* @__PURE__ */ jsxs81(Grid2, { container: true, spacing: 1.5, children: [
12159
+ /* @__PURE__ */ jsxs82(Grid2, { container: true, spacing: 1.5, children: [
12133
12160
  /* @__PURE__ */ jsx175(Grid2, { size: { xl: 4, lg: 4, md: 4, sm: 12, xs: 12 }, children: /* @__PURE__ */ jsx175(
12134
12161
  TextField12,
12135
12162
  {
@@ -12181,16 +12208,16 @@ import {
12181
12208
  useForm as useForm4
12182
12209
  } from "@data-c/hooks";
12183
12210
  import Verified from "@mui/icons-material/Verified";
12184
- import { Alert as Alert10, Divider as Divider6, Stack as Stack48, Typography as Typography30 } from "@mui/material";
12211
+ import { Alert as Alert10, Divider as Divider6, Stack as Stack49, Typography as Typography30 } from "@mui/material";
12185
12212
  import { useEffect as useEffect21, useState as useState31 } from "react";
12186
12213
 
12187
12214
  // src/Profile/DialogVerificarWhastapp.tsx
12188
12215
  import {
12189
12216
  useCredentials as useCredentials9
12190
12217
  } from "@data-c/hooks";
12191
- import { Alert as Alert9, Stack as Stack47, Typography as Typography29 } from "@mui/material";
12218
+ import { Alert as Alert9, Stack as Stack48, Typography as Typography29 } from "@mui/material";
12192
12219
  import { useEffect as useEffect20, useState as useState30 } from "react";
12193
- import { jsx as jsx176, jsxs as jsxs82 } from "react/jsx-runtime";
12220
+ import { jsx as jsx176, jsxs as jsxs83 } from "react/jsx-runtime";
12194
12221
  function DialogVerificarWhastapp(props) {
12195
12222
  const { open, onClose, payload, onCodigoVerificado, credentialsConfig } = props;
12196
12223
  const [code, setCode] = useState30("");
@@ -12215,13 +12242,13 @@ function DialogVerificarWhastapp(props) {
12215
12242
  setLoading(false);
12216
12243
  }
12217
12244
  }
12218
- return /* @__PURE__ */ jsxs82(Dialog_default.Root, { open, onClose: (_) => onClose(), maxWidth: "xs", children: [
12219
- /* @__PURE__ */ jsxs82(Dialog_default.Header, { children: [
12245
+ return /* @__PURE__ */ jsxs83(Dialog_default.Root, { open, onClose: (_) => onClose(), maxWidth: "xs", children: [
12246
+ /* @__PURE__ */ jsxs83(Dialog_default.Header, { children: [
12220
12247
  /* @__PURE__ */ jsx176(Dialog_default.Title, { children: "Verifica\xE7\xE3o do seu n\xFAmero de WhatsApp" }),
12221
12248
  /* @__PURE__ */ jsx176(Dialog_default.ActionClose, { onClose })
12222
12249
  ] }),
12223
- /* @__PURE__ */ jsx176(Dialog_default.Content, { children: /* @__PURE__ */ jsxs82(
12224
- Stack47,
12250
+ /* @__PURE__ */ jsx176(Dialog_default.Content, { children: /* @__PURE__ */ jsxs83(
12251
+ Stack48,
12225
12252
  {
12226
12253
  spacing: 2,
12227
12254
  justifyContent: "center",
@@ -12236,7 +12263,7 @@ function DialogVerificarWhastapp(props) {
12236
12263
  children: "\u{1F510} Verifique seu n\xFAmero"
12237
12264
  }
12238
12265
  ),
12239
- /* @__PURE__ */ jsxs82(Typography29, { variant: "body1", sx: { fontSize: "10pt" }, children: [
12266
+ /* @__PURE__ */ jsxs83(Typography29, { variant: "body1", sx: { fontSize: "10pt" }, children: [
12240
12267
  "Enviamos um c\xF3digo via WhatsApp para +55",
12241
12268
  " ",
12242
12269
  /* @__PURE__ */ jsx176("b", { children: `(${payload?.whatsappNumber?.slice(0, 2)}) ${payload?.whatsappNumber?.slice(2, 7)}-${payload?.whatsappNumber?.slice(7)}` }),
@@ -12257,7 +12284,7 @@ function DialogVerificarWhastapp(props) {
12257
12284
  ]
12258
12285
  }
12259
12286
  ) }),
12260
- /* @__PURE__ */ jsx176(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs82(Dialog_default.Actions, { children: [
12287
+ /* @__PURE__ */ jsx176(Dialog_default.Footer, { children: /* @__PURE__ */ jsxs83(Dialog_default.Actions, { children: [
12261
12288
  /* @__PURE__ */ jsx176(Dialog_default.ActionCancelar, { onClick: () => onClose() }),
12262
12289
  /* @__PURE__ */ jsx176(
12263
12290
  Dialog_default.ActionSalvar,
@@ -12273,7 +12300,7 @@ function DialogVerificarWhastapp(props) {
12273
12300
  }
12274
12301
 
12275
12302
  // src/Profile/LoginSeguranca.tsx
12276
- import { jsx as jsx177, jsxs as jsxs83 } from "react/jsx-runtime";
12303
+ import { jsx as jsx177, jsxs as jsxs84 } from "react/jsx-runtime";
12277
12304
  var schema5 = create$3().shape({
12278
12305
  whatsappNumber: create$6().required("Informe o n\xFAmero do whastapp").length(15)
12279
12306
  });
@@ -12311,7 +12338,7 @@ function LoginSeguranca(props) {
12311
12338
  setGerandoNumero(false);
12312
12339
  }
12313
12340
  }
12314
- return /* @__PURE__ */ jsxs83(Stack48, { spacing: 2, children: [
12341
+ return /* @__PURE__ */ jsxs84(Stack49, { spacing: 2, children: [
12315
12342
  /* @__PURE__ */ jsx177(Typography30, { variant: "h6", children: "Senha" }),
12316
12343
  /* @__PURE__ */ jsx177(
12317
12344
  Button_default,
@@ -12335,7 +12362,7 @@ function LoginSeguranca(props) {
12335
12362
  ),
12336
12363
  /* @__PURE__ */ jsx177(Divider6, {}),
12337
12364
  /* @__PURE__ */ jsx177(Typography30, { variant: "h6", children: "Login com Whastapp" }),
12338
- /* @__PURE__ */ jsxs83(Stack48, { direction: "row", spacing: 2, children: [
12365
+ /* @__PURE__ */ jsxs84(Stack49, { direction: "row", spacing: 2, children: [
12339
12366
  /* @__PURE__ */ jsx177(
12340
12367
  WhatsAppTextField,
12341
12368
  {
@@ -12349,8 +12376,8 @@ function LoginSeguranca(props) {
12349
12376
  }
12350
12377
  }
12351
12378
  ),
12352
- data.whatsappVerifiedAt && /* @__PURE__ */ jsxs83(
12353
- Stack48,
12379
+ data.whatsappVerifiedAt && /* @__PURE__ */ jsxs84(
12380
+ Stack49,
12354
12381
  {
12355
12382
  direction: "row",
12356
12383
  spacing: 1,
@@ -12399,7 +12426,7 @@ function LoginSeguranca(props) {
12399
12426
 
12400
12427
  // src/Profile/index.tsx
12401
12428
  import { useUserContext as useUserContext2 } from "@data-c/providers";
12402
- import { Fragment as Fragment11, jsx as jsx178, jsxs as jsxs84 } from "react/jsx-runtime";
12429
+ import { Fragment as Fragment11, jsx as jsx178, jsxs as jsxs85 } from "react/jsx-runtime";
12403
12430
  function Profile(props) {
12404
12431
  const [tabValue, setTabValue] = useState32(0);
12405
12432
  const {
@@ -12407,8 +12434,8 @@ function Profile(props) {
12407
12434
  setUser: setUsuarioLogado,
12408
12435
  credentialsConfig
12409
12436
  } = 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(
12437
+ return /* @__PURE__ */ jsx178(Fragment11, { children: /* @__PURE__ */ jsxs85(Stack50, { spacing: 2, direction: "row", children: [
12438
+ /* @__PURE__ */ jsx178(Stack50, { sx: { width: "200px" }, children: /* @__PURE__ */ jsxs85(
12412
12439
  Tabs,
12413
12440
  {
12414
12441
  orientation: "vertical",
@@ -12427,7 +12454,7 @@ function Profile(props) {
12427
12454
  ]
12428
12455
  }
12429
12456
  ) }),
12430
- /* @__PURE__ */ jsxs84(Stack49, { sx: { flexGrow: 1 }, children: [
12457
+ /* @__PURE__ */ jsxs85(Stack50, { sx: { flexGrow: 1 }, children: [
12431
12458
  /* @__PURE__ */ jsx178(TabPanel, { value: tabValue, index: 0, children: /* @__PURE__ */ jsx178(
12432
12459
  MinhaConta,
12433
12460
  {