@data-c/ui 0.2.82 → 0.2.84

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 Stack19, Typography as Typography15, useMediaQuery as useMediaQuery5, useTheme as useTheme8 } from "@mui/material";
2575
+ import { Stack as Stack19, Typography as Typography16, useMediaQuery as useMediaQuery5, useTheme as useTheme8 } 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 Box13, Stack as Stack17, useMediaQuery as useMediaQuery3, useTheme as useTheme6 } from "@mui/material";
2605
+ import { Box as Box14, Stack as Stack17, useMediaQuery as useMediaQuery3, useTheme as useTheme6 } 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 Alert3, Divider as Divider3, Stack as Stack14, TextField as TextField4, Typography as Typography10 } from "@mui/material";
2645
+ import { Alert as Alert3, Divider as Divider4, Stack as Stack14, TextField as TextField4, Typography as Typography11 } 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";
@@ -2903,6 +2903,9 @@ var prefixes = {
2903
2903
  context: "$",
2904
2904
  value: "."
2905
2905
  };
2906
+ function create$9(key2, options) {
2907
+ return new Reference(key2, options);
2908
+ }
2906
2909
  var Reference = class {
2907
2910
  constructor(key2, options = {}) {
2908
2911
  this.key = void 0;
@@ -5051,7 +5054,8 @@ var TupleSchema = class extends Schema {
5051
5054
  create$1.prototype = TupleSchema.prototype;
5052
5055
 
5053
5056
  // src/AlterarSenha/index.tsx
5054
- import { Alert as Alert2, Grid } from "@mui/material";
5057
+ import { InfoOutlined } from "@mui/icons-material";
5058
+ import { Alert as Alert2, Box as Box10, Divider as Divider3, Grid, Typography as Typography10 } from "@mui/material";
5055
5059
  import { useState as useState4 } from "react";
5056
5060
  import {
5057
5061
  useCredentials,
@@ -5073,7 +5077,7 @@ import {
5073
5077
  import { useState as useState3 } from "react";
5074
5078
  import { jsx as jsx17 } from "react/jsx-runtime";
5075
5079
  function PasswordTextField(props) {
5076
- const { name, label, value, onChange, onKeyDown } = props;
5080
+ const { name, label, value, onChange, onKeyDown, ...rest } = props;
5077
5081
  const [showPassword, setShowPassword] = useState3(false);
5078
5082
  function handleClickShowPassword() {
5079
5083
  setShowPassword(!showPassword);
@@ -5087,17 +5091,20 @@ function PasswordTextField(props) {
5087
5091
  onChange,
5088
5092
  onKeyDown,
5089
5093
  type: showPassword ? "text" : "password",
5090
- InputProps: {
5091
- endAdornment: /* @__PURE__ */ jsx17(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx17(
5092
- IconButton6,
5093
- {
5094
- tabIndex: -1,
5095
- onClick: handleClickShowPassword,
5096
- edge: "end",
5097
- children: showPassword ? /* @__PURE__ */ jsx17(VisibilityOff, {}) : /* @__PURE__ */ jsx17(Visibility, {})
5098
- }
5099
- ) })
5100
- }
5094
+ slotProps: {
5095
+ input: {
5096
+ endAdornment: /* @__PURE__ */ jsx17(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx17(
5097
+ IconButton6,
5098
+ {
5099
+ tabIndex: -1,
5100
+ onClick: handleClickShowPassword,
5101
+ edge: "end",
5102
+ children: showPassword ? /* @__PURE__ */ jsx17(VisibilityOff, {}) : /* @__PURE__ */ jsx17(Visibility, {})
5103
+ }
5104
+ ) })
5105
+ }
5106
+ },
5107
+ ...rest
5101
5108
  }
5102
5109
  );
5103
5110
  }
@@ -5437,11 +5444,13 @@ function ValidatorMessage(props) {
5437
5444
  import { jsx as jsx32, jsxs as jsxs14 } from "react/jsx-runtime";
5438
5445
  var defaultData = {
5439
5446
  senhaAtual: "",
5440
- senhaNova: ""
5447
+ senhaNova: "",
5448
+ senhaNovaConfirmar: ""
5441
5449
  };
5442
5450
  var schema = create$3().shape({
5443
5451
  senhaAtual: create$6().required("Informe a Senha Atual."),
5444
- senhaNova: create$6().required("Informe a Nova Senha.")
5452
+ senhaNova: create$6().required("Informe a Nova Senha."),
5453
+ senhaNovaConfirmar: create$6().required("Informe a Nova Senha.").oneOf([create$9("senhaNova")], "As senhas devem ser iguais.")
5445
5454
  });
5446
5455
  function AlterarSenha(props) {
5447
5456
  const {
@@ -5499,6 +5508,8 @@ function AlterarSenha(props) {
5499
5508
  setError("Ocorreu um erro ao tentar alterar a senha");
5500
5509
  }
5501
5510
  }).catch((error2) => {
5511
+ console.log("Erros por campo:", error2.inner);
5512
+ console.log("Primeiro erro:", error2.errors);
5502
5513
  setValidationErrors(error2);
5503
5514
  });
5504
5515
  }
@@ -5533,6 +5544,11 @@ function AlterarSenha(props) {
5533
5544
  }
5534
5545
  return false;
5535
5546
  }
5547
+ function asSenhasSaoIguais() {
5548
+ if (data?.senhaNova === "")
5549
+ return false;
5550
+ return data?.senhaNova === data?.senhaNovaConfirmar;
5551
+ }
5536
5552
  return /* @__PURE__ */ jsxs14(Dialog_default.Root, { open: isOpen, onClose: (_) => onClose(), maxWidth: "md", children: [
5537
5553
  /* @__PURE__ */ jsxs14(Dialog_default.Header, { children: [
5538
5554
  /* @__PURE__ */ jsx32(Dialog_default.Title, { children: "Alterar Senha" }),
@@ -5544,16 +5560,29 @@ function AlterarSenha(props) {
5544
5560
  /* @__PURE__ */ jsx32("br", {}),
5545
5561
  "Cadastre uma senha segura para deixar sua conta mais protegida."
5546
5562
  ] }) }),
5547
- /* @__PURE__ */ jsx32(Grid, { size: 12, children: /* @__PURE__ */ jsx32(
5548
- PasswordTextField,
5549
- {
5550
- name: "senhaAtual",
5551
- label: "Senha Atual",
5552
- value: data?.senhaAtual || "",
5553
- onChange: handleChange,
5554
- ...validationProps("senhaAtual")
5555
- }
5556
- ) }),
5563
+ /* @__PURE__ */ jsxs14(Grid, { size: 12, children: [
5564
+ /* @__PURE__ */ jsx32(
5565
+ PasswordTextField,
5566
+ {
5567
+ name: "senhaAtual",
5568
+ label: "Senha Atual",
5569
+ value: data?.senhaAtual || "",
5570
+ onChange: handleChange,
5571
+ ...validationProps("senhaAtual")
5572
+ }
5573
+ ),
5574
+ /* @__PURE__ */ jsxs14(
5575
+ Box10,
5576
+ {
5577
+ sx: { display: "flex", alignItems: "center", gap: 0.5, mt: 0.5 },
5578
+ children: [
5579
+ /* @__PURE__ */ jsx32(InfoOutlined, { sx: { fontSize: 14, color: "text.secondary" } }),
5580
+ /* @__PURE__ */ jsx32(Typography10, { variant: "caption", color: "text.secondary", children: "Essa \xE9 a senha que voc\xEA utiliza para acessar o sistema atualmente." })
5581
+ ]
5582
+ }
5583
+ )
5584
+ ] }),
5585
+ /* @__PURE__ */ jsx32(Grid, { size: 12, children: /* @__PURE__ */ jsx32(Divider3, {}) }),
5557
5586
  /* @__PURE__ */ jsx32(Grid, { size: 12, children: /* @__PURE__ */ jsx32(
5558
5587
  PasswordTextField,
5559
5588
  {
@@ -5564,6 +5593,28 @@ function AlterarSenha(props) {
5564
5593
  ...validationProps("senhaNova")
5565
5594
  }
5566
5595
  ) }),
5596
+ /* @__PURE__ */ jsxs14(Grid, { size: 12, children: [
5597
+ /* @__PURE__ */ jsx32(
5598
+ PasswordTextField,
5599
+ {
5600
+ name: "senhaNovaConfirmar",
5601
+ label: "Confirmar Nova Senha",
5602
+ value: data?.senhaNovaConfirmar || "",
5603
+ onChange: handleChange,
5604
+ ...validationProps("senhaNovaConfirmar")
5605
+ }
5606
+ ),
5607
+ /* @__PURE__ */ jsxs14(
5608
+ Box10,
5609
+ {
5610
+ sx: { display: "flex", alignItems: "center", gap: 0.5, mt: 0.5 },
5611
+ children: [
5612
+ /* @__PURE__ */ jsx32(InfoOutlined, { sx: { fontSize: 14, color: "text.secondary" } }),
5613
+ /* @__PURE__ */ jsx32(Typography10, { variant: "caption", color: "text.secondary", children: "Informe nos campos acima a nova senha que deseja utilizar." })
5614
+ ]
5615
+ }
5616
+ )
5617
+ ] }),
5567
5618
  /* @__PURE__ */ jsxs14(Grid, { size: 12, children: [
5568
5619
  /* @__PURE__ */ jsx32(
5569
5620
  ValidatorMessage,
@@ -5599,6 +5650,13 @@ function AlterarSenha(props) {
5599
5650
  isValid: temCaracterEspecial(),
5600
5651
  message: "A nova senha deve ter ao menos um caracter especial"
5601
5652
  }
5653
+ ),
5654
+ /* @__PURE__ */ jsx32(
5655
+ ValidatorMessage,
5656
+ {
5657
+ isValid: asSenhasSaoIguais(),
5658
+ message: "A confirma\xE7\xE3o da nova senha deve ser igual \xE0 nova senha"
5659
+ }
5602
5660
  )
5603
5661
  ] }),
5604
5662
  error && /* @__PURE__ */ jsx32(Grid, { size: 12, children: /* @__PURE__ */ jsx32(Alert2, { severity: "error", children: error }) })
@@ -5746,9 +5804,9 @@ function LoginForm(props) {
5746
5804
  mt: 2,
5747
5805
  mb: 2,
5748
5806
  children: [
5749
- /* @__PURE__ */ jsx33(Divider3, { sx: { flexGrow: 1, mr: 1 } }),
5750
- /* @__PURE__ */ jsx33(Typography10, { children: "Ou fa\xE7a login com" }),
5751
- /* @__PURE__ */ jsx33(Divider3, { sx: { flexGrow: 1, ml: 1 } })
5807
+ /* @__PURE__ */ jsx33(Divider4, { sx: { flexGrow: 1, mr: 1 } }),
5808
+ /* @__PURE__ */ jsx33(Typography11, { children: "Ou fa\xE7a login com" }),
5809
+ /* @__PURE__ */ jsx33(Divider4, { sx: { flexGrow: 1, ml: 1 } })
5752
5810
  ]
5753
5811
  }
5754
5812
  ),
@@ -5791,7 +5849,7 @@ function LoginForm(props) {
5791
5849
 
5792
5850
  // src/MioAuth/components/EsqueciSenhaForm/index.tsx
5793
5851
  import { useState as useState6 } from "react";
5794
- import { Alert as Alert4, Box as Box10, TextField as TextField5 } from "@mui/material";
5852
+ import { Alert as Alert4, Box as Box11, TextField as TextField5 } from "@mui/material";
5795
5853
  import { useCredentials as useCredentials3, useValidations as useValidations3 } from "@data-c/hooks";
5796
5854
  import { jsx as jsx34, jsxs as jsxs16 } from "react/jsx-runtime";
5797
5855
  var schema3 = create$3().shape({
@@ -5821,7 +5879,7 @@ function EsqueciSenhaForm(props) {
5821
5879
  setValidationErrors(error2);
5822
5880
  });
5823
5881
  }
5824
- return /* @__PURE__ */ jsxs16(Box10, { component: "form", children: [
5882
+ return /* @__PURE__ */ jsxs16(Box11, { component: "form", children: [
5825
5883
  /* @__PURE__ */ jsx34(
5826
5884
  TextField5,
5827
5885
  {
@@ -5897,7 +5955,7 @@ function EsqueciSenhaForm(props) {
5897
5955
 
5898
5956
  // src/MioAuth/components/LicencaForm/index.tsx
5899
5957
  import { useEffect as useEffect5, useState as useState7 } from "react";
5900
- import { Box as Box11, MenuItem, TextField as TextField6 } from "@mui/material";
5958
+ import { Box as Box12, MenuItem, TextField as TextField6 } from "@mui/material";
5901
5959
  import { useCredentials as useCredentials4 } from "@data-c/hooks";
5902
5960
  import { jsx as jsx35, jsxs as jsxs17 } from "react/jsx-runtime";
5903
5961
  function LicencaForm(props) {
@@ -5922,7 +5980,7 @@ function LicencaForm(props) {
5922
5980
  onLoginFailed(err);
5923
5981
  }
5924
5982
  }
5925
- return /* @__PURE__ */ jsxs17(Box11, { component: "form", sx: { minWidth: "290px" }, children: [
5983
+ return /* @__PURE__ */ jsxs17(Box12, { component: "form", sx: { minWidth: "290px" }, children: [
5926
5984
  /* @__PURE__ */ jsx35(
5927
5985
  TextField6,
5928
5986
  {
@@ -5963,7 +6021,7 @@ import {
5963
6021
  useForm as useForm2
5964
6022
  } from "@data-c/hooks";
5965
6023
  import HelpOutline from "@mui/icons-material/HelpOutline";
5966
- import { Alert as Alert6, IconButton as IconButton8, Stack as Stack16, TextField as TextField9, Typography as Typography12 } from "@mui/material";
6024
+ import { Alert as Alert6, IconButton as IconButton8, Stack as Stack16, TextField as TextField9, Typography as Typography13 } from "@mui/material";
5967
6025
  import { useState as useState10 } from "react";
5968
6026
 
5969
6027
  // src/WhastappTextField/index.tsx
@@ -6021,12 +6079,12 @@ function WhatsAppTextField(props) {
6021
6079
  import {
6022
6080
  useCredentials as useCredentials5
6023
6081
  } from "@data-c/hooks";
6024
- import { Alert as Alert5, Stack as Stack15, Typography as Typography11 } from "@mui/material";
6082
+ import { Alert as Alert5, Stack as Stack15, Typography as Typography12 } from "@mui/material";
6025
6083
  import { useEffect as useEffect6, useState as useState9 } from "react";
6026
6084
 
6027
6085
  // src/VerificationCodeInput/index.tsx
6028
6086
  import { useRef as useRef2 } from "react";
6029
- import { Box as Box12, TextField as TextField8 } from "@mui/material";
6087
+ import { Box as Box13, TextField as TextField8 } from "@mui/material";
6030
6088
  import { jsx as jsx37 } from "react/jsx-runtime";
6031
6089
  function VerificationCodeInput({
6032
6090
  length = 6,
@@ -6050,7 +6108,7 @@ function VerificationCodeInput({
6050
6108
  inputsRef.current[index - 1]?.focus();
6051
6109
  }
6052
6110
  };
6053
- return /* @__PURE__ */ jsx37(Box12, { display: "flex", gap: 1, children: Array.from({ length }).map((_, i) => /* @__PURE__ */ jsx37(
6111
+ return /* @__PURE__ */ jsx37(Box13, { display: "flex", gap: 1, children: Array.from({ length }).map((_, i) => /* @__PURE__ */ jsx37(
6054
6112
  TextField8,
6055
6113
  {
6056
6114
  autoFocus: i === 0,
@@ -6121,14 +6179,14 @@ function DialogVerificarOtp(props) {
6121
6179
  alignItems: "center",
6122
6180
  children: [
6123
6181
  /* @__PURE__ */ jsx38(
6124
- Typography11,
6182
+ Typography12,
6125
6183
  {
6126
6184
  variant: "subtitle1",
6127
6185
  sx: { fontWeight: "bolder", fontSize: "11pt" },
6128
6186
  children: "\u{1F510} Digite a senha tempor\xE1ria para acessar sua conta"
6129
6187
  }
6130
6188
  ),
6131
- /* @__PURE__ */ jsxs18(Typography11, { variant: "body1", sx: { fontSize: "10pt" }, children: [
6189
+ /* @__PURE__ */ jsxs18(Typography12, { variant: "body1", sx: { fontSize: "10pt" }, children: [
6132
6190
  "Enviamos uma senha tempor\xE1ria para ",
6133
6191
  /* @__PURE__ */ jsx38("b", { children: payload.target }),
6134
6192
  ". ",
@@ -6200,7 +6258,7 @@ function OtpForm(props) {
6200
6258
  };
6201
6259
  return /* @__PURE__ */ jsxs19(Fragment4, { children: [
6202
6260
  /* @__PURE__ */ jsx39("form", { onSubmit: handleSubmit, children: /* @__PURE__ */ jsxs19(Stack16, { spacing: 2, children: [
6203
- /* @__PURE__ */ jsx39(Typography12, { 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" }),
6261
+ /* @__PURE__ */ jsx39(Typography13, { 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" }),
6204
6262
  tipo === "otp-email" && /* @__PURE__ */ jsx39(
6205
6263
  TextField9,
6206
6264
  {
@@ -6356,7 +6414,7 @@ function LoginSection(props) {
6356
6414
  const pageLabel = pageLabelMap[view];
6357
6415
  return /* @__PURE__ */ jsxs20(Stack17, { children: [
6358
6416
  /* @__PURE__ */ jsx40(Header, { label: appName, subTitle: pageLabel }),
6359
- /* @__PURE__ */ jsxs20(Box13, { sx: { marginTop: 2 }, children: [
6417
+ /* @__PURE__ */ jsxs20(Box14, { sx: { marginTop: 2 }, children: [
6360
6418
  view === "login" && /* @__PURE__ */ jsx40(
6361
6419
  LoginForm,
6362
6420
  {
@@ -6406,7 +6464,7 @@ function LoginSection(props) {
6406
6464
 
6407
6465
  // src/MioAuth/components/DefaultBanner/index.tsx
6408
6466
  import ArrowRight from "@mui/icons-material/ArrowRight";
6409
- import { Link, Stack as Stack18, Typography as Typography14, useMediaQuery as useMediaQuery4, useTheme as useTheme7 } from "@mui/material";
6467
+ import { Link, Stack as Stack18, Typography as Typography15, useMediaQuery as useMediaQuery4, useTheme as useTheme7 } from "@mui/material";
6410
6468
  import { jsx as jsx41, jsxs as jsxs21 } from "react/jsx-runtime";
6411
6469
  function DefaultBanner() {
6412
6470
  const theme2 = useTheme7();
@@ -6428,7 +6486,7 @@ function DefaultBanner() {
6428
6486
  },
6429
6487
  children: /* @__PURE__ */ jsxs21(Stack18, { padding: "2rem", children: [
6430
6488
  /* @__PURE__ */ jsx41(
6431
- Typography14,
6489
+ Typography15,
6432
6490
  {
6433
6491
  component: "h1",
6434
6492
  fontSize: "3.5rem",
@@ -6441,7 +6499,7 @@ function DefaultBanner() {
6441
6499
  }
6442
6500
  ),
6443
6501
  /* @__PURE__ */ jsx41(
6444
- Typography14,
6502
+ Typography15,
6445
6503
  {
6446
6504
  component: "h2",
6447
6505
  color: "white",
@@ -6454,7 +6512,7 @@ function DefaultBanner() {
6454
6512
  }
6455
6513
  ),
6456
6514
  /* @__PURE__ */ jsx41(
6457
- Typography14,
6515
+ Typography15,
6458
6516
  {
6459
6517
  component: "span",
6460
6518
  fontSize: "1.25rem",
@@ -6532,7 +6590,7 @@ function LoginContainer({ children }) {
6532
6590
  }
6533
6591
  ),
6534
6592
  /* @__PURE__ */ jsx42(
6535
- Typography15,
6593
+ Typography16,
6536
6594
  {
6537
6595
  variant: "body1",
6538
6596
  component: "span",
@@ -6557,7 +6615,7 @@ function MioAuth(props) {
6557
6615
  // src/AlterarLicenca/index.tsx
6558
6616
  import { formatDocumento as formatDocumento2, normalizeText } from "@data-c/hooks";
6559
6617
  import ArrowDropDown from "@mui/icons-material/ArrowDropDown";
6560
- import { Button as Button12, Stack as Stack44, Typography as Typography26 } from "@mui/material";
6618
+ import { Button as Button12, Stack as Stack44, Typography as Typography27 } from "@mui/material";
6561
6619
  import { useState as useState25 } from "react";
6562
6620
 
6563
6621
  // src/v2/Header/HeaderContent.tsx
@@ -8165,7 +8223,7 @@ var Menu_default = Menu;
8165
8223
  import {
8166
8224
  Button as Button4,
8167
8225
  Breadcrumbs as MuiBreadcrumbs,
8168
- Typography as Typography16
8226
+ Typography as Typography17
8169
8227
  } from "@mui/material";
8170
8228
  import { jsx as jsx94 } from "react/jsx-runtime";
8171
8229
  function Breadcrumbs(props) {
@@ -8182,7 +8240,7 @@ function Breadcrumbs(props) {
8182
8240
  const currentPage = links.length === 1 || links.length === i + 1;
8183
8241
  if (currentPage) {
8184
8242
  return /* @__PURE__ */ jsx94(
8185
- Typography16,
8243
+ Typography17,
8186
8244
  {
8187
8245
  sx: { fontSize: "10pt", fontWeight: "bolder" },
8188
8246
  variant: "subtitle1",
@@ -8536,12 +8594,12 @@ function FilterAdvancedContainer(props) {
8536
8594
  }
8537
8595
 
8538
8596
  // src/v2/Filter/FilterAdvancedContent.tsx
8539
- import { Box as Box14 } from "@mui/material";
8597
+ import { Box as Box15 } from "@mui/material";
8540
8598
  import { jsx as jsx100 } from "react/jsx-runtime";
8541
8599
  function FilterAdvancedActionsContent({
8542
8600
  children
8543
8601
  }) {
8544
- return /* @__PURE__ */ jsx100(Box14, { mt: 1, ml: 1, mr: 1, mb: 2, children });
8602
+ return /* @__PURE__ */ jsx100(Box15, { mt: 1, ml: 1, mr: 1, mb: 2, children });
8545
8603
  }
8546
8604
 
8547
8605
  // src/v2/Filter/FilterApplyButton.tsx
@@ -8575,7 +8633,7 @@ function FiltrerChip(props) {
8575
8633
 
8576
8634
  // src/v2/Filter/FilterChips.tsx
8577
8635
  import { usePopover } from "@data-c/hooks";
8578
- import { Box as Box15, Button as Button6, Popover as Popover2, Stack as Stack25 } from "@mui/material";
8636
+ import { Box as Box16, Button as Button6, Popover as Popover2, Stack as Stack25 } from "@mui/material";
8579
8637
  import React9 from "react";
8580
8638
  import { jsx as jsx103, jsxs as jsxs62 } from "react/jsx-runtime";
8581
8639
  function FilterChips({
@@ -8638,7 +8696,7 @@ function FilterChips({
8638
8696
  horizontal: "right"
8639
8697
  },
8640
8698
  children: [
8641
- /* @__PURE__ */ jsx103(Box15, { pt: 2, pl: 1, pr: 1, pb: 2, children: React9.Children.map(childrenProp, (child) => {
8699
+ /* @__PURE__ */ jsx103(Box16, { pt: 2, pl: 1, pr: 1, pb: 2, children: React9.Children.map(childrenProp, (child) => {
8642
8700
  if (React9.isValidElement(child) && child.props.name === popoverData?.name) {
8643
8701
  return child.props.children;
8644
8702
  }
@@ -8753,12 +8811,12 @@ function ResetButton() {
8753
8811
  }
8754
8812
 
8755
8813
  // src/v2/Filter/FilterRoot.tsx
8756
- import { Box as Box16 } from "@mui/material";
8814
+ import { Box as Box17 } from "@mui/material";
8757
8815
  import { jsx as jsx106 } from "react/jsx-runtime";
8758
8816
  function FilterRoot(props) {
8759
8817
  const { children } = props;
8760
8818
  return /* @__PURE__ */ jsx106(
8761
- Box16,
8819
+ Box17,
8762
8820
  {
8763
8821
  sx: {
8764
8822
  border: (theme2) => `1px solid ${theme2.palette.border}`,
@@ -8817,7 +8875,7 @@ import {
8817
8875
  import { ptBR } from "@mui/x-data-grid/locales";
8818
8876
 
8819
8877
  // src/v2/DataTable/DataTableEmptyData.tsx
8820
- import { Stack as Stack27, Typography as Typography17 } from "@mui/material";
8878
+ import { Stack as Stack27, Typography as Typography18 } from "@mui/material";
8821
8879
  import { jsx as jsx108, jsxs as jsxs64 } from "react/jsx-runtime";
8822
8880
  function DataTableEmptyData() {
8823
8881
  return /* @__PURE__ */ jsxs64(
@@ -8853,8 +8911,8 @@ function DataTableEmptyData() {
8853
8911
  }
8854
8912
  ),
8855
8913
  /* @__PURE__ */ jsxs64(Stack27, { spacing: 1, textAlign: "center", children: [
8856
- /* @__PURE__ */ jsx108(Typography17, { variant: "h4", component: "h2", fontWeight: "600", children: "Nenhum registro encontrado" }),
8857
- /* @__PURE__ */ jsx108(Typography17, { variant: "body2", whiteSpace: "normal", children: "Tente outra pesquisa ou adicione um novo registro." })
8914
+ /* @__PURE__ */ jsx108(Typography18, { variant: "h4", component: "h2", fontWeight: "600", children: "Nenhum registro encontrado" }),
8915
+ /* @__PURE__ */ jsx108(Typography18, { variant: "body2", whiteSpace: "normal", children: "Tente outra pesquisa ou adicione um novo registro." })
8858
8916
  ] })
8859
8917
  ]
8860
8918
  }
@@ -8862,7 +8920,7 @@ function DataTableEmptyData() {
8862
8920
  }
8863
8921
 
8864
8922
  // src/v2/DataTable/DataTableError.tsx
8865
- import { Stack as Stack28, Typography as Typography18 } from "@mui/material";
8923
+ import { Stack as Stack28, Typography as Typography19 } from "@mui/material";
8866
8924
  import { jsx as jsx109, jsxs as jsxs65 } from "react/jsx-runtime";
8867
8925
  function DataTableError({
8868
8926
  errorMessage
@@ -8900,8 +8958,8 @@ function DataTableError({
8900
8958
  }
8901
8959
  ),
8902
8960
  /* @__PURE__ */ jsxs65(Stack28, { gap: 1, textAlign: "center", children: [
8903
- /* @__PURE__ */ jsx109(Typography18, { variant: "h4", component: "h2", fontWeight: "600", children: "Ops! Algo deu errado" }),
8904
- /* @__PURE__ */ jsx109(Typography18, { variant: "body2", children: errorMessage })
8961
+ /* @__PURE__ */ jsx109(Typography19, { variant: "h4", component: "h2", fontWeight: "600", children: "Ops! Algo deu errado" }),
8962
+ /* @__PURE__ */ jsx109(Typography19, { variant: "body2", children: errorMessage })
8905
8963
  ] })
8906
8964
  ]
8907
8965
  }
@@ -9260,7 +9318,7 @@ import {
9260
9318
  CircularProgress as CircularProgress3,
9261
9319
  IconButton as IconButton11,
9262
9320
  Tooltip as Tooltip2,
9263
- Box as Box17
9321
+ Box as Box18
9264
9322
  } from "@mui/material";
9265
9323
  import { Fragment as Fragment6, jsx as jsx117, jsxs as jsxs67 } from "react/jsx-runtime";
9266
9324
  function DataTableButton(props) {
@@ -9312,7 +9370,7 @@ function DataTableButton(props) {
9312
9370
  },
9313
9371
  ...rest,
9314
9372
  children: /* @__PURE__ */ jsxs67(
9315
- Box17,
9373
+ Box18,
9316
9374
  {
9317
9375
  component: "span",
9318
9376
  sx: {
@@ -9508,7 +9566,7 @@ import {
9508
9566
  Pagination as MuiPagination,
9509
9567
  MenuItem as MenuItem3,
9510
9568
  Stack as Stack32,
9511
- Typography as Typography19
9569
+ Typography as Typography20
9512
9570
  } from "@mui/material";
9513
9571
  import {
9514
9572
  pluralizar
@@ -9560,7 +9618,7 @@ function Pagination(props) {
9560
9618
  marginLeft: "auto",
9561
9619
  children: [
9562
9620
  /* @__PURE__ */ jsx126(
9563
- Typography19,
9621
+ Typography20,
9564
9622
  {
9565
9623
  variant: "body2",
9566
9624
  fontSize: "13px",
@@ -9649,7 +9707,7 @@ function Root({ children, height, ...rest }) {
9649
9707
  }
9650
9708
 
9651
9709
  // src/v2/DataTable/DataTableSelectionCounter.tsx
9652
- import { Stack as Stack34, Typography as Typography20 } from "@mui/material";
9710
+ import { Stack as Stack34, Typography as Typography21 } from "@mui/material";
9653
9711
  import { useMemo as useMemo6 } from "react";
9654
9712
  import { jsx as jsx128, jsxs as jsxs69 } from "react/jsx-runtime";
9655
9713
  function SelectionCounter(props) {
@@ -9665,7 +9723,7 @@ function SelectionCounter(props) {
9665
9723
  return countQuantidade === 1 ? `${countTitle} ${selecionadoText}` : countQuantidade && countQuantidade > 1 ? `${countTitle.split(" ").map((item) => `${item}s`).join(" ")} ${selecionadosText}` : `${nenhumText} ${countTitle} ${selecionadoText}`;
9666
9724
  }, [countQuantidade]);
9667
9725
  return /* @__PURE__ */ jsx128(Stack34, { children: /* @__PURE__ */ jsxs69(
9668
- Typography20,
9726
+ Typography21,
9669
9727
  {
9670
9728
  variant: "body2",
9671
9729
  fontSize: "13px",
@@ -9681,7 +9739,7 @@ function SelectionCounter(props) {
9681
9739
  }
9682
9740
 
9683
9741
  // src/v2/DataTable/DataTableTitle.tsx
9684
- import { Typography as Typography21, useTheme as useTheme10 } from "@mui/material";
9742
+ import { Typography as Typography22, useTheme as useTheme10 } from "@mui/material";
9685
9743
  import { jsx as jsx129 } from "react/jsx-runtime";
9686
9744
  function Title3({
9687
9745
  children,
@@ -9690,7 +9748,7 @@ function Title3({
9690
9748
  }) {
9691
9749
  const theme2 = useTheme10();
9692
9750
  return /* @__PURE__ */ jsx129(
9693
- Typography21,
9751
+ Typography22,
9694
9752
  {
9695
9753
  variant: "h6",
9696
9754
  whiteSpace: "nowrap",
@@ -10029,12 +10087,12 @@ var Button11 = {
10029
10087
  var ButtonGroup_default = Button11;
10030
10088
 
10031
10089
  // src/v2/Card/CardRoot.tsx
10032
- import { Box as Box18 } from "@mui/material";
10090
+ import { Box as Box19 } from "@mui/material";
10033
10091
  import { jsx as jsx141 } from "react/jsx-runtime";
10034
10092
  function CardRoot(props) {
10035
10093
  const { children, sx, ...rest } = props;
10036
10094
  return /* @__PURE__ */ jsx141(
10037
- Box18,
10095
+ Box19,
10038
10096
  {
10039
10097
  sx: {
10040
10098
  position: "relative",
@@ -10054,14 +10112,14 @@ function CardRoot(props) {
10054
10112
  }
10055
10113
 
10056
10114
  // src/v2/Card/CardHeader.tsx
10057
- import { Box as Box19, Stack as Stack38 } from "@mui/material";
10115
+ import { Box as Box20, Stack as Stack38 } from "@mui/material";
10058
10116
  import React11 from "react";
10059
10117
  import { jsx as jsx142 } from "react/jsx-runtime";
10060
10118
  function CardHeader(props) {
10061
10119
  const { children } = props;
10062
10120
  const clonedChildren = React11.Children.toArray(children).map((child) => {
10063
10121
  return React11.isValidElement(child) && /* @__PURE__ */ jsx142(
10064
- Box19,
10122
+ Box20,
10065
10123
  {
10066
10124
  sx: {
10067
10125
  // backgroundColor: (theme) => theme.palette.background.default,
@@ -10091,11 +10149,11 @@ function CardHeader(props) {
10091
10149
  }
10092
10150
 
10093
10151
  // src/v2/Card/CardTitle.tsx
10094
- import { Typography as Typography22 } from "@mui/material";
10152
+ import { Typography as Typography23 } from "@mui/material";
10095
10153
  import { jsx as jsx143 } from "react/jsx-runtime";
10096
10154
  function CardTitle(props) {
10097
10155
  const { title } = props;
10098
- return /* @__PURE__ */ jsx143(Typography22, { component: "h6", variant: "h6", children: title });
10156
+ return /* @__PURE__ */ jsx143(Typography23, { component: "h6", variant: "h6", children: title });
10099
10157
  }
10100
10158
 
10101
10159
  // src/v2/Card/CardContent.tsx
@@ -10139,7 +10197,7 @@ var LucideIcon = ({
10139
10197
  var LucidIcon_default = LucideIcon;
10140
10198
 
10141
10199
  // src/v2/Title.tsx
10142
- import { Typography as Typography23, useTheme as useTheme11 } from "@mui/material";
10200
+ import { Typography as Typography24, useTheme as useTheme11 } from "@mui/material";
10143
10201
  import { jsx as jsx146 } from "react/jsx-runtime";
10144
10202
  function variantStyles(theme2, v) {
10145
10203
  switch (v) {
@@ -10173,7 +10231,7 @@ function Title4({
10173
10231
  }) {
10174
10232
  const theme2 = useTheme11();
10175
10233
  return /* @__PURE__ */ jsx146(
10176
- Typography23,
10234
+ Typography24,
10177
10235
  {
10178
10236
  sx: {
10179
10237
  ...variantStyles(theme2, variant),
@@ -10186,11 +10244,11 @@ function Title4({
10186
10244
  }
10187
10245
 
10188
10246
  // src/v2/Page/PageContent.tsx
10189
- import { Box as Box20 } from "@mui/material";
10247
+ import { Box as Box21 } from "@mui/material";
10190
10248
  import { jsx as jsx147 } from "react/jsx-runtime";
10191
10249
  function PageContent(props) {
10192
10250
  return /* @__PURE__ */ jsx147(
10193
- Box20,
10251
+ Box21,
10194
10252
  {
10195
10253
  mt: 2,
10196
10254
  sx: {
@@ -10248,11 +10306,11 @@ import {
10248
10306
  Autocomplete as MuiAutocomplete,
10249
10307
  Stack as Stack41,
10250
10308
  TextField as TextField11,
10251
- Typography as Typography24
10309
+ Typography as Typography25
10252
10310
  } from "@mui/material";
10253
10311
  import debounce3 from "lodash/debounce";
10254
10312
  import React12, { useCallback as useCallback3 } from "react";
10255
- import { jsx as jsx151, jsxs as jsxs71 } from "react/jsx-runtime";
10313
+ import { Fragment as Fragment8, jsx as jsx151, jsxs as jsxs71 } from "react/jsx-runtime";
10256
10314
  function Loading() {
10257
10315
  return /* @__PURE__ */ jsxs71(
10258
10316
  Stack41,
@@ -10263,7 +10321,7 @@ function Loading() {
10263
10321
  alignItems: "center",
10264
10322
  children: [
10265
10323
  /* @__PURE__ */ jsx151(CircularProgress4, { size: 16 }),
10266
- /* @__PURE__ */ jsx151(Typography24, { variant: "body1", children: "Carregando..." })
10324
+ /* @__PURE__ */ jsx151(Typography25, { variant: "body1", children: "Carregando..." })
10267
10325
  ]
10268
10326
  }
10269
10327
  );
@@ -10370,7 +10428,10 @@ function Autocomplete(props) {
10370
10428
  inputLabel: { shrink: true },
10371
10429
  input: {
10372
10430
  ...params.InputProps,
10373
- startAdornment: _endAdornment
10431
+ startAdornment: /* @__PURE__ */ jsxs71(Fragment8, { children: [
10432
+ _endAdornment,
10433
+ params.InputProps.startAdornment
10434
+ ] })
10374
10435
  }
10375
10436
  },
10376
10437
  ...params,
@@ -10495,13 +10556,15 @@ import { jsx as jsx153 } from "react/jsx-runtime";
10495
10556
  function TransporterRoot(props) {
10496
10557
  const { scope, onChange, value, children } = props;
10497
10558
  const store = createTransporterScope(scope);
10498
- store.getState().setValue(value);
10559
+ useEffect16(() => {
10560
+ store.getState().setValue(value);
10561
+ }, [value, store]);
10499
10562
  useEffect16(() => {
10500
10563
  store.getState().setOnChange(onChange);
10501
10564
  return () => {
10502
10565
  store.getState().setOnChange(void 0);
10503
10566
  };
10504
- }, [scope, onChange]);
10567
+ }, [scope, onChange, store]);
10505
10568
  return /* @__PURE__ */ jsx153(TransporterScopeProvider, { value: scope, children });
10506
10569
  }
10507
10570
 
@@ -10822,13 +10885,13 @@ import axios from "axios";
10822
10885
  import { useEffect as useEffect17, useState as useState23 } from "react";
10823
10886
 
10824
10887
  // src/v2/NotaVersao/NotaVersaoItem.tsx
10825
- import { Collapse as Collapse2, Stack as Stack42, Typography as Typography25 } from "@mui/material";
10888
+ import { Collapse as Collapse2, Stack as Stack42, Typography as Typography26 } from "@mui/material";
10826
10889
  import { useState as useState22 } from "react";
10827
- import { Fragment as Fragment8, jsx as jsx159, jsxs as jsxs73 } from "react/jsx-runtime";
10890
+ import { Fragment as Fragment9, jsx as jsx159, jsxs as jsxs73 } from "react/jsx-runtime";
10828
10891
  function NotaVersaoItem(props) {
10829
10892
  const { article, isOpen: _isOpen } = props;
10830
10893
  const [isOpen, setOpen] = useState22(Boolean(_isOpen));
10831
- return /* @__PURE__ */ jsxs73(Fragment8, { children: [
10894
+ return /* @__PURE__ */ jsxs73(Fragment9, { children: [
10832
10895
  /* @__PURE__ */ jsx159(
10833
10896
  Stack42,
10834
10897
  {
@@ -10841,7 +10904,7 @@ function NotaVersaoItem(props) {
10841
10904
  cursor: "pointer"
10842
10905
  }
10843
10906
  },
10844
- children: /* @__PURE__ */ jsx159(Typography25, { variant: "subtitle1", children: article.title })
10907
+ children: /* @__PURE__ */ jsx159(Typography26, { variant: "subtitle1", children: article.title })
10845
10908
  }
10846
10909
  ),
10847
10910
  /* @__PURE__ */ jsx159(Collapse2, { in: isOpen, sx: { pl: 1, pr: 1 }, children: /* @__PURE__ */ jsx159(
@@ -10856,7 +10919,7 @@ function NotaVersaoItem(props) {
10856
10919
  }
10857
10920
 
10858
10921
  // src/v2/NotaVersao/index.tsx
10859
- import { Fragment as Fragment9, jsx as jsx160, jsxs as jsxs74 } from "react/jsx-runtime";
10922
+ import { Fragment as Fragment10, jsx as jsx160, jsxs as jsxs74 } from "react/jsx-runtime";
10860
10923
  function NotaVersao(props) {
10861
10924
  const {
10862
10925
  sectionId,
@@ -10923,7 +10986,7 @@ function NotaVersao(props) {
10923
10986
  loadSection();
10924
10987
  }
10925
10988
  }, [sectionId, isOpen]);
10926
- return /* @__PURE__ */ jsxs74(Fragment9, { children: [
10989
+ return /* @__PURE__ */ jsxs74(Fragment10, { children: [
10927
10990
  /* @__PURE__ */ jsx160(
10928
10991
  Button_default,
10929
10992
  {
@@ -11451,8 +11514,8 @@ function AlterarLicenca(props) {
11451
11514
  const [query, setQuery] = useState25("");
11452
11515
  if (licencas.length === 0)
11453
11516
  return /* @__PURE__ */ jsxs76(Stack44, { overflow: "hidden", children: [
11454
- /* @__PURE__ */ jsx165(Typography26, { overflow: "hidden", textOverflow: "ellipsis", variant: "body1", children: licencaSelecionada.nome }),
11455
- /* @__PURE__ */ jsx165(Typography26, { overflow: "hidden", textOverflow: "ellipsis", variant: "body2", children: formatDocumento2(licencaSelecionada.documento) })
11517
+ /* @__PURE__ */ jsx165(Typography27, { overflow: "hidden", textOverflow: "ellipsis", variant: "body1", children: licencaSelecionada.nome }),
11518
+ /* @__PURE__ */ jsx165(Typography27, { overflow: "hidden", textOverflow: "ellipsis", variant: "body2", children: formatDocumento2(licencaSelecionada.documento) })
11456
11519
  ] });
11457
11520
  function handleSearch(val) {
11458
11521
  setQuery(val);
@@ -11505,8 +11568,8 @@ function AlterarLicenca(props) {
11505
11568
  selected: licencaSelecionada.uuid === e.uuid,
11506
11569
  onClick: () => onAlterarLicenca(e),
11507
11570
  children: /* @__PURE__ */ jsxs76(Stack44, { children: [
11508
- /* @__PURE__ */ jsx165(Typography26, { variant: "body1", textOverflow: "ellipsis", children: e.nome }),
11509
- /* @__PURE__ */ jsx165(Typography26, { variant: "body2", textOverflow: "ellipsis", children: formatDocumento2(e.documento) })
11571
+ /* @__PURE__ */ jsx165(Typography27, { variant: "body1", textOverflow: "ellipsis", children: e.nome }),
11572
+ /* @__PURE__ */ jsx165(Typography27, { variant: "body2", textOverflow: "ellipsis", children: formatDocumento2(e.documento) })
11510
11573
  ] })
11511
11574
  }
11512
11575
  ) }, e.uuid);
@@ -11530,7 +11593,7 @@ import { List as List5 } from "@mui/material";
11530
11593
  import { useState as useState26 } from "react";
11531
11594
  import ExpandLess from "@mui/icons-material/ExpandLess";
11532
11595
  import ExpandMore from "@mui/icons-material/ExpandMore";
11533
- import { Box as Box21, Collapse as Collapse3, Icon as Icon4, ListItemText as ListItemText3 } from "@mui/material";
11596
+ import { Box as Box22, Collapse as Collapse3, Icon as Icon4, ListItemText as ListItemText3 } from "@mui/material";
11534
11597
 
11535
11598
  // src/DrawerMenu/components/MenuItem/index.tsx
11536
11599
  import { MenuItem as MuiMenuItem } from "@mui/material";
@@ -11587,7 +11650,7 @@ function FullMenuItem2(props) {
11587
11650
  function toggleExpand() {
11588
11651
  setExpanded(!expanded);
11589
11652
  }
11590
- return /* @__PURE__ */ jsxs77(Box21, { children: [
11653
+ return /* @__PURE__ */ jsxs77(Box22, { children: [
11591
11654
  /* @__PURE__ */ jsxs77(
11592
11655
  MenuItem_default,
11593
11656
  {
@@ -11784,11 +11847,11 @@ function DrawerMenu(props) {
11784
11847
  }
11785
11848
 
11786
11849
  // src/Content/index.tsx
11787
- import { Box as Box22 } from "@mui/material";
11850
+ import { Box as Box23 } from "@mui/material";
11788
11851
  import { jsx as jsx171 } from "react/jsx-runtime";
11789
11852
  function Content2(props) {
11790
11853
  return /* @__PURE__ */ jsx171(
11791
- Box22,
11854
+ Box23,
11792
11855
  {
11793
11856
  m: 2,
11794
11857
  sx: {
@@ -11822,14 +11885,14 @@ import { Stack as Stack49, Tab, Tabs } from "@mui/material";
11822
11885
  import { useState as useState32 } from "react";
11823
11886
 
11824
11887
  // src/Profile/TabPanel.tsx
11825
- import { Box as Box23 } from "@mui/material";
11888
+ import { Box as Box24 } from "@mui/material";
11826
11889
  import { jsx as jsx173 } from "react/jsx-runtime";
11827
11890
  function TabPanel(props) {
11828
11891
  const { children, value, index, ...others } = props;
11829
11892
  if (value !== index)
11830
11893
  return null;
11831
11894
  return /* @__PURE__ */ jsx173(
11832
- Box23,
11895
+ Box24,
11833
11896
  {
11834
11897
  role: "tabpanel",
11835
11898
  hidden: value !== index,
@@ -11853,11 +11916,11 @@ import {
11853
11916
  } from "@data-c/hooks";
11854
11917
  import {
11855
11918
  Alert as Alert8,
11856
- Divider as Divider4,
11919
+ Divider as Divider5,
11857
11920
  Grid as Grid2,
11858
11921
  Stack as Stack46,
11859
11922
  TextField as TextField13,
11860
- Typography as Typography27
11923
+ Typography as Typography28
11861
11924
  } from "@mui/material";
11862
11925
  import { useEffect as useEffect19, useState as useState29 } from "react";
11863
11926
 
@@ -12046,7 +12109,7 @@ function MinhaConta(props) {
12046
12109
  });
12047
12110
  }
12048
12111
  return /* @__PURE__ */ jsxs81(Stack46, { spacing: 2, children: [
12049
- /* @__PURE__ */ jsx175(Typography27, { variant: "h6", children: "Avatar" }),
12112
+ /* @__PURE__ */ jsx175(Typography28, { variant: "h6", children: "Avatar" }),
12050
12113
  /* @__PURE__ */ jsx175(
12051
12114
  AvatarUploader_default,
12052
12115
  {
@@ -12067,8 +12130,8 @@ function MinhaConta(props) {
12067
12130
  }
12068
12131
  }
12069
12132
  ),
12070
- /* @__PURE__ */ jsx175(Divider4, {}),
12071
- /* @__PURE__ */ jsx175(Typography27, { variant: "h6", children: "Informa\xE7\xF5es da Conta" }),
12133
+ /* @__PURE__ */ jsx175(Divider5, {}),
12134
+ /* @__PURE__ */ jsx175(Typography28, { variant: "h6", children: "Informa\xE7\xF5es da Conta" }),
12072
12135
  /* @__PURE__ */ jsxs81(Grid2, { container: true, spacing: 1.5, children: [
12073
12136
  /* @__PURE__ */ jsx175(Grid2, { size: { xl: 4, lg: 4, md: 4, sm: 12, xs: 12 }, children: /* @__PURE__ */ jsx175(
12074
12137
  TextField13,
@@ -12121,14 +12184,14 @@ import {
12121
12184
  useForm as useForm4
12122
12185
  } from "@data-c/hooks";
12123
12186
  import Verified from "@mui/icons-material/Verified";
12124
- import { Alert as Alert10, Divider as Divider5, Stack as Stack48, Typography as Typography29 } from "@mui/material";
12187
+ import { Alert as Alert10, Divider as Divider6, Stack as Stack48, Typography as Typography30 } from "@mui/material";
12125
12188
  import { useEffect as useEffect21, useState as useState31 } from "react";
12126
12189
 
12127
12190
  // src/Profile/DialogVerificarWhastapp.tsx
12128
12191
  import {
12129
12192
  useCredentials as useCredentials9
12130
12193
  } from "@data-c/hooks";
12131
- import { Alert as Alert9, Stack as Stack47, Typography as Typography28 } from "@mui/material";
12194
+ import { Alert as Alert9, Stack as Stack47, Typography as Typography29 } from "@mui/material";
12132
12195
  import { useEffect as useEffect20, useState as useState30 } from "react";
12133
12196
  import { jsx as jsx176, jsxs as jsxs82 } from "react/jsx-runtime";
12134
12197
  function DialogVerificarWhastapp(props) {
@@ -12169,14 +12232,14 @@ function DialogVerificarWhastapp(props) {
12169
12232
  alignItems: "center",
12170
12233
  children: [
12171
12234
  /* @__PURE__ */ jsx176(
12172
- Typography28,
12235
+ Typography29,
12173
12236
  {
12174
12237
  variant: "subtitle1",
12175
12238
  sx: { fontWeight: "bolder", fontSize: "11pt" },
12176
12239
  children: "\u{1F510} Verifique seu n\xFAmero"
12177
12240
  }
12178
12241
  ),
12179
- /* @__PURE__ */ jsxs82(Typography28, { variant: "body1", sx: { fontSize: "10pt" }, children: [
12242
+ /* @__PURE__ */ jsxs82(Typography29, { variant: "body1", sx: { fontSize: "10pt" }, children: [
12180
12243
  "Enviamos um c\xF3digo via WhatsApp para +55",
12181
12244
  " ",
12182
12245
  /* @__PURE__ */ jsx176("b", { children: `(${payload?.whatsappNumber?.slice(0, 2)}) ${payload?.whatsappNumber?.slice(2, 7)}-${payload?.whatsappNumber?.slice(7)}` }),
@@ -12252,7 +12315,7 @@ function LoginSeguranca(props) {
12252
12315
  }
12253
12316
  }
12254
12317
  return /* @__PURE__ */ jsxs83(Stack48, { spacing: 2, children: [
12255
- /* @__PURE__ */ jsx177(Typography29, { variant: "h6", children: "Senha" }),
12318
+ /* @__PURE__ */ jsx177(Typography30, { variant: "h6", children: "Senha" }),
12256
12319
  /* @__PURE__ */ jsx177(
12257
12320
  Button_default,
12258
12321
  {
@@ -12273,8 +12336,8 @@ function LoginSeguranca(props) {
12273
12336
  credentialsConfig
12274
12337
  }
12275
12338
  ),
12276
- /* @__PURE__ */ jsx177(Divider5, {}),
12277
- /* @__PURE__ */ jsx177(Typography29, { variant: "h6", children: "Login com Whastapp" }),
12339
+ /* @__PURE__ */ jsx177(Divider6, {}),
12340
+ /* @__PURE__ */ jsx177(Typography30, { variant: "h6", children: "Login com Whastapp" }),
12278
12341
  /* @__PURE__ */ jsxs83(Stack48, { direction: "row", spacing: 2, children: [
12279
12342
  /* @__PURE__ */ jsx177(
12280
12343
  WhatsAppTextField,
@@ -12298,7 +12361,7 @@ function LoginSeguranca(props) {
12298
12361
  alignItems: "center",
12299
12362
  children: [
12300
12363
  /* @__PURE__ */ jsx177(Verified, { color: "success" }),
12301
- /* @__PURE__ */ jsx177(Typography29, { variant: "body2", children: "N\xFAmero Verificado" })
12364
+ /* @__PURE__ */ jsx177(Typography30, { variant: "body2", children: "N\xFAmero Verificado" })
12302
12365
  ]
12303
12366
  }
12304
12367
  ),
@@ -12339,7 +12402,7 @@ function LoginSeguranca(props) {
12339
12402
 
12340
12403
  // src/Profile/index.tsx
12341
12404
  import { useUserContext as useUserContext2 } from "@data-c/providers";
12342
- import { Fragment as Fragment10, jsx as jsx178, jsxs as jsxs84 } from "react/jsx-runtime";
12405
+ import { Fragment as Fragment11, jsx as jsx178, jsxs as jsxs84 } from "react/jsx-runtime";
12343
12406
  function Profile(props) {
12344
12407
  const [tabValue, setTabValue] = useState32(0);
12345
12408
  const {
@@ -12347,7 +12410,7 @@ function Profile(props) {
12347
12410
  setUser: setUsuarioLogado,
12348
12411
  credentialsConfig
12349
12412
  } = useUserContext2();
12350
- return /* @__PURE__ */ jsx178(Fragment10, { children: /* @__PURE__ */ jsxs84(Stack49, { spacing: 2, direction: "row", children: [
12413
+ return /* @__PURE__ */ jsx178(Fragment11, { children: /* @__PURE__ */ jsxs84(Stack49, { spacing: 2, direction: "row", children: [
12351
12414
  /* @__PURE__ */ jsx178(Stack49, { sx: { width: "200px" }, children: /* @__PURE__ */ jsxs84(
12352
12415
  Tabs,
12353
12416
  {