@data-c/ui 0.2.69 → 0.2.82

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
@@ -1735,12 +1735,10 @@ function ColorsGrid() {
1735
1735
  }
1736
1736
 
1737
1737
  // src/DataTableOptions/index.tsx
1738
- import { Box as Box3, IconButton, Icon as Icon2, Badge } from "@mui/material";
1739
- import {
1740
- Edit as Editicon,
1741
- Delete as DeleteIcon,
1742
- GetApp
1743
- } from "@mui/icons-material";
1738
+ import DeleteIcon from "@mui/icons-material/Delete";
1739
+ import Editicon from "@mui/icons-material/Edit";
1740
+ import GetApp from "@mui/icons-material/GetApp";
1741
+ import { Badge, Box as Box3, Icon as Icon2, IconButton } from "@mui/material";
1744
1742
 
1745
1743
  // src/Tooltip/index.tsx
1746
1744
  import {
@@ -1931,9 +1929,9 @@ DataTableOptions.defaultProps = {
1931
1929
  };
1932
1930
 
1933
1931
  // src/FilterControl/index.tsx
1932
+ import RestartAlt from "@mui/icons-material/RestartAlt";
1934
1933
  import { Box as Box4, Chip, IconButton as IconButton2 } from "@mui/material";
1935
- import { RestartAlt } from "@mui/icons-material";
1936
- import { useFilterData, useFilterApi } from "@data-c/providers";
1934
+ import { useFilterApi, useFilterData } from "@data-c/providers";
1937
1935
  import { useCallback, useMemo } from "react";
1938
1936
  import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
1939
1937
  function FilterControl(props) {
@@ -2055,19 +2053,20 @@ function FilterControl(props) {
2055
2053
  // src/FilterContainer/index.tsx
2056
2054
  import { useEffect } from "react";
2057
2055
  import { useFilterApi as useFilterApi2, useFilterData as useFilterData2 } from "@data-c/providers";
2058
- import { RestartAlt as RestartAlt2, Search as SearchIcon } from "@mui/icons-material";
2056
+ import RestartAlt2 from "@mui/icons-material/RestartAlt";
2057
+ import SearchIcon from "@mui/icons-material/Search";
2059
2058
  import { Box as Box6, Button as Button2, Stack as Stack3 } from "@mui/material";
2060
2059
 
2061
2060
  // src/DrawerContainer/index.tsx
2061
+ import CancelIcon from "@mui/icons-material/Cancel";
2062
2062
  import {
2063
2063
  Box as Box5,
2064
- Stack as Stack2,
2065
- Drawer as MuiDrawer,
2066
- Typography as Typography2,
2067
2064
  IconButton as IconButton3,
2068
- Toolbar
2065
+ Drawer as MuiDrawer,
2066
+ Stack as Stack2,
2067
+ Toolbar,
2068
+ Typography as Typography2
2069
2069
  } from "@mui/material";
2070
- import { Cancel as CancelIcon2 } from "@mui/icons-material";
2071
2070
  import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
2072
2071
  function DrawerContainer(props) {
2073
2072
  const { drawerTitle, actions, onClose, children, ...rest } = props;
@@ -2116,7 +2115,7 @@ function DrawerContainer(props) {
2116
2115
  children: drawerTitle
2117
2116
  }
2118
2117
  ),
2119
- onClose && /* @__PURE__ */ jsx8(IconButton3, { onClick: onClose, children: /* @__PURE__ */ jsx8(CancelIcon2, { color: "error" }) })
2118
+ onClose && /* @__PURE__ */ jsx8(IconButton3, { onClick: onClose, children: /* @__PURE__ */ jsx8(CancelIcon, { color: "error" }) })
2120
2119
  ]
2121
2120
  }
2122
2121
  ),
@@ -2270,7 +2269,7 @@ FilterContainer.defaultProps = {
2270
2269
  };
2271
2270
 
2272
2271
  // src/Flag/index.tsx
2273
- import { Circle } from "@mui/icons-material";
2272
+ import Circle from "@mui/icons-material/Circle";
2274
2273
  import { jsx as jsx10 } from "react/jsx-runtime";
2275
2274
  function Flag(props) {
2276
2275
  const { isFlagged, type } = props;
@@ -2310,27 +2309,30 @@ function LabelValue(props) {
2310
2309
  }
2311
2310
 
2312
2311
  // src/PageTitle/index.tsx
2313
- import { useEffect as useEffect3, useRef, useState as useState2 } from "react";
2312
+ import ArrowBack from "@mui/icons-material/ArrowBack";
2313
+ import Close from "@mui/icons-material/Close";
2314
2314
  import {
2315
2315
  Box as Box8,
2316
2316
  IconButton as IconButton5,
2317
2317
  Stack as Stack6,
2318
+ Toolbar as Toolbar2,
2318
2319
  Typography as Typography5,
2319
- useMediaQuery,
2320
- Toolbar as Toolbar2
2320
+ useMediaQuery
2321
2321
  } from "@mui/material";
2322
- import { ArrowBack, Close } from "@mui/icons-material";
2322
+ import { useEffect as useEffect3, useRef, useState as useState2 } from "react";
2323
2323
 
2324
2324
  // src/Editable/index.tsx
2325
- import { Cancel, Edit, Save } from "@mui/icons-material";
2325
+ import Cancel from "@mui/icons-material/Cancel";
2326
+ import Edit from "@mui/icons-material/Edit";
2327
+ import Save from "@mui/icons-material/Save";
2326
2328
  import {
2327
- Stack as Stack5,
2328
- TextField,
2329
- Typography as Typography4,
2330
- IconButton as IconButton4,
2329
+ CircularProgress as CircularProgress2,
2331
2330
  ClickAwayListener,
2331
+ IconButton as IconButton4,
2332
2332
  InputAdornment,
2333
- CircularProgress as CircularProgress2
2333
+ Stack as Stack5,
2334
+ TextField,
2335
+ Typography as Typography4
2334
2336
  } from "@mui/material";
2335
2337
  import { useEffect as useEffect2, useState } from "react";
2336
2338
  import { Fragment as Fragment3, jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
@@ -2348,7 +2350,7 @@ function Editable(props) {
2348
2350
  error
2349
2351
  } = props;
2350
2352
  const {
2351
- InputProps: _5,
2353
+ InputProps: _,
2352
2354
  value: __,
2353
2355
  onKeyDown: ___,
2354
2356
  onChange: ____,
@@ -2449,13 +2451,13 @@ function Editable(props) {
2449
2451
  }
2450
2452
 
2451
2453
  // src/SearchTextField/index.tsx
2454
+ import Search from "@mui/icons-material/Search";
2452
2455
  import { InputAdornment as InputAdornment2, TextField as TextField2 } from "@mui/material";
2453
- import { Search } from "@mui/icons-material";
2454
- import _ from "lodash";
2456
+ import debounce from "lodash/debounce";
2455
2457
  import { jsx as jsx13 } from "react/jsx-runtime";
2456
2458
  function SearchTextField(props) {
2457
2459
  const { onSearch, ...rest } = props;
2458
- const debouncedHandleChange = _.debounce((query) => onSearch(query), 500);
2460
+ const debouncedHandleChange = debounce((query) => onSearch(query), 500);
2459
2461
  function handleChange(event) {
2460
2462
  const value = event.target.value;
2461
2463
  debouncedHandleChange(value);
@@ -2636,12 +2638,14 @@ function Header(props) {
2636
2638
 
2637
2639
  // src/MioAuth/components/LoginForm/index.tsx
2638
2640
  import { useState as useState5 } from "react";
2639
- import { Alert as Alert3, Divider as Divider3, Stack as Stack14, TextField as TextField5, Typography as Typography10 } from "@mui/material";
2640
- import { isAxiosError as isAxiosError2 } from "axios";
2641
2641
  import {
2642
- useValidations as useValidations2,
2643
- useCredentials as useCredentials2
2642
+ useCredentials as useCredentials2,
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";
2646
+ import { isAxiosError as isAxiosError2 } from "axios";
2647
+ import Mail from "@mui/icons-material/Mail";
2648
+ import WhatsApp from "@mui/icons-material/WhatsApp";
2645
2649
 
2646
2650
  // ../../node_modules/yup/index.esm.js
2647
2651
  var import_property_expr = __toESM(require_property_expr());
@@ -2737,7 +2741,7 @@ var ValidationError = class extends Error {
2737
2741
  originalPath: params.path
2738
2742
  });
2739
2743
  if (typeof message === "string")
2740
- return message.replace(strReg, (_5, key2) => printValue(params[key2]));
2744
+ return message.replace(strReg, (_, key2) => printValue(params[key2]));
2741
2745
  if (typeof message === "function")
2742
2746
  return message(params);
2743
2747
  return message;
@@ -3501,7 +3505,7 @@ attempted value: ${formattedValue}
3501
3505
  [isIndex ? "index" : "key"]: k,
3502
3506
  path: isIndex || k.includes(".") ? `${parentPath || ""}[${isIndex ? k : `"${k}"`}]` : (parentPath ? `${parentPath}.` : "") + key2
3503
3507
  });
3504
- return (_5, panic, next) => this.resolve(testOptions)._validate(value, testOptions, panic, next);
3508
+ return (_, panic, next) => this.resolve(testOptions)._validate(value, testOptions, panic, next);
3505
3509
  }
3506
3510
  validate(value, options) {
3507
3511
  var _options$disableStack2;
@@ -4430,7 +4434,7 @@ function sortByKeyOrder(keys) {
4430
4434
  return findIndex(keys, a) - findIndex(keys, b);
4431
4435
  };
4432
4436
  }
4433
- var parseJson = (value, _5, schema6) => {
4437
+ var parseJson = (value, _, schema6) => {
4434
4438
  if (typeof value !== "string") {
4435
4439
  return value;
4436
4440
  }
@@ -5059,13 +5063,14 @@ import { useEffect as useEffect4 } from "react";
5059
5063
  import isStrongPassword from "validator/lib/isStrongPassword";
5060
5064
 
5061
5065
  // src/PasswordTextField/index.tsx
5062
- import { useState as useState3 } from "react";
5063
- import { Visibility, VisibilityOff } from "@mui/icons-material";
5066
+ import Visibility from "@mui/icons-material/Visibility";
5067
+ import VisibilityOff from "@mui/icons-material/VisibilityOff";
5064
5068
  import {
5065
5069
  IconButton as IconButton6,
5066
- InputAdornment as InputAdornment4,
5067
- TextField as TextField4
5070
+ InputAdornment as InputAdornment3,
5071
+ TextField as TextField3
5068
5072
  } from "@mui/material";
5073
+ import { useState as useState3 } from "react";
5069
5074
  import { jsx as jsx17 } from "react/jsx-runtime";
5070
5075
  function PasswordTextField(props) {
5071
5076
  const { name, label, value, onChange, onKeyDown } = props;
@@ -5074,7 +5079,7 @@ function PasswordTextField(props) {
5074
5079
  setShowPassword(!showPassword);
5075
5080
  }
5076
5081
  return /* @__PURE__ */ jsx17(
5077
- TextField4,
5082
+ TextField3,
5078
5083
  {
5079
5084
  name,
5080
5085
  label,
@@ -5083,7 +5088,7 @@ function PasswordTextField(props) {
5083
5088
  onKeyDown,
5084
5089
  type: showPassword ? "text" : "password",
5085
5090
  InputProps: {
5086
- endAdornment: /* @__PURE__ */ jsx17(InputAdornment4, { position: "end", children: /* @__PURE__ */ jsx17(
5091
+ endAdornment: /* @__PURE__ */ jsx17(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx17(
5087
5092
  IconButton6,
5088
5093
  {
5089
5094
  tabIndex: -1,
@@ -5110,7 +5115,7 @@ function DialogActionCancelar({
5110
5115
  }
5111
5116
 
5112
5117
  // src/v2/Dialog/DialogActionClose.tsx
5113
- import { Close as CloseIcon } from "@mui/icons-material";
5118
+ import CloseIcon from "@mui/icons-material/Close";
5114
5119
  import { IconButton as IconButton7 } from "@mui/material";
5115
5120
  import { jsx as jsx19 } from "react/jsx-runtime";
5116
5121
  function DialogActionClose({ onClose }) {
@@ -5388,8 +5393,8 @@ var Dialog2 = {
5388
5393
  var Dialog_default = Dialog2;
5389
5394
 
5390
5395
  // src/AlterarSenha/components/ValidatorMessage/index.tsx
5396
+ import Circle2 from "@mui/icons-material/Circle";
5391
5397
  import { Box as Box9, Typography as Typography9, useTheme as useTheme5 } from "@mui/material";
5392
- import { Circle as Circle2 } from "@mui/icons-material";
5393
5398
  import { jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
5394
5399
  function ValidatorMessage(props) {
5395
5400
  const { isValid, message } = props;
@@ -5528,7 +5533,7 @@ function AlterarSenha(props) {
5528
5533
  }
5529
5534
  return false;
5530
5535
  }
5531
- return /* @__PURE__ */ jsxs14(Dialog_default.Root, { open: isOpen, onClose: (_5) => onClose(), maxWidth: "md", children: [
5536
+ return /* @__PURE__ */ jsxs14(Dialog_default.Root, { open: isOpen, onClose: (_) => onClose(), maxWidth: "md", children: [
5532
5537
  /* @__PURE__ */ jsxs14(Dialog_default.Header, { children: [
5533
5538
  /* @__PURE__ */ jsx32(Dialog_default.Title, { children: "Alterar Senha" }),
5534
5539
  /* @__PURE__ */ jsx32(Dialog_default.ActionClose, { onClose })
@@ -5614,7 +5619,6 @@ function AlterarSenha(props) {
5614
5619
  }
5615
5620
 
5616
5621
  // src/MioAuth/components/LoginForm/index.tsx
5617
- import { Mail, WhatsApp } from "@mui/icons-material";
5618
5622
  import { jsx as jsx33, jsxs as jsxs15 } from "react/jsx-runtime";
5619
5623
  var schema2 = create$3().shape({
5620
5624
  email: create$6().required("Informe o e-mail"),
@@ -5664,7 +5668,7 @@ function LoginForm(props) {
5664
5668
  spacing: 2,
5665
5669
  children: [
5666
5670
  /* @__PURE__ */ jsx33(
5667
- TextField5,
5671
+ TextField4,
5668
5672
  {
5669
5673
  name: "email",
5670
5674
  label: "E-mail",
@@ -5787,7 +5791,7 @@ function LoginForm(props) {
5787
5791
 
5788
5792
  // src/MioAuth/components/EsqueciSenhaForm/index.tsx
5789
5793
  import { useState as useState6 } from "react";
5790
- import { Alert as Alert4, Box as Box10, TextField as TextField6 } from "@mui/material";
5794
+ import { Alert as Alert4, Box as Box10, TextField as TextField5 } from "@mui/material";
5791
5795
  import { useCredentials as useCredentials3, useValidations as useValidations3 } from "@data-c/hooks";
5792
5796
  import { jsx as jsx34, jsxs as jsxs16 } from "react/jsx-runtime";
5793
5797
  var schema3 = create$3().shape({
@@ -5819,7 +5823,7 @@ function EsqueciSenhaForm(props) {
5819
5823
  }
5820
5824
  return /* @__PURE__ */ jsxs16(Box10, { component: "form", children: [
5821
5825
  /* @__PURE__ */ jsx34(
5822
- TextField6,
5826
+ TextField5,
5823
5827
  {
5824
5828
  name: "email",
5825
5829
  label: "E-mail",
@@ -5893,7 +5897,7 @@ function EsqueciSenhaForm(props) {
5893
5897
 
5894
5898
  // src/MioAuth/components/LicencaForm/index.tsx
5895
5899
  import { useEffect as useEffect5, useState as useState7 } from "react";
5896
- import { Box as Box11, MenuItem, TextField as TextField7 } from "@mui/material";
5900
+ import { Box as Box11, MenuItem, TextField as TextField6 } from "@mui/material";
5897
5901
  import { useCredentials as useCredentials4 } from "@data-c/hooks";
5898
5902
  import { jsx as jsx35, jsxs as jsxs17 } from "react/jsx-runtime";
5899
5903
  function LicencaForm(props) {
@@ -5920,7 +5924,7 @@ function LicencaForm(props) {
5920
5924
  }
5921
5925
  return /* @__PURE__ */ jsxs17(Box11, { component: "form", sx: { minWidth: "290px" }, children: [
5922
5926
  /* @__PURE__ */ jsx35(
5923
- TextField7,
5927
+ TextField6,
5924
5928
  {
5925
5929
  label: "Licen\xE7as",
5926
5930
  margin: "normal",
@@ -5954,14 +5958,17 @@ import {
5954
5958
  } from "@data-c/hooks";
5955
5959
 
5956
5960
  // src/MioAuth/components/OtpForm/index.tsx
5957
- import { Alert as Alert6, IconButton as IconButton8, Stack as Stack16, TextField as TextField10, Typography as Typography12 } from "@mui/material";
5958
5961
  import {
5962
+ useCredentials as useCredentials6,
5959
5963
  useForm as useForm2
5960
5964
  } from "@data-c/hooks";
5965
+ 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";
5967
+ import { useState as useState10 } from "react";
5961
5968
 
5962
5969
  // src/WhastappTextField/index.tsx
5963
5970
  import { useState as useState8, useMemo as useMemo2 } from "react";
5964
- import TextField8 from "@mui/material/TextField";
5971
+ import TextField7 from "@mui/material/TextField";
5965
5972
  import { jsx as jsx36 } from "react/jsx-runtime";
5966
5973
  var formatPhone = (value) => {
5967
5974
  const digits = value.replace(/\D/g, "");
@@ -6000,7 +6007,7 @@ function WhatsAppTextField(props) {
6000
6007
  }
6001
6008
  };
6002
6009
  return /* @__PURE__ */ jsx36(
6003
- TextField8,
6010
+ TextField7,
6004
6011
  {
6005
6012
  value: displayedValue,
6006
6013
  onChange: handleChange,
@@ -6010,10 +6017,6 @@ function WhatsAppTextField(props) {
6010
6017
  );
6011
6018
  }
6012
6019
 
6013
- // src/MioAuth/components/OtpForm/index.tsx
6014
- import { useCredentials as useCredentials6 } from "@data-c/hooks";
6015
- import { useState as useState10 } from "react";
6016
-
6017
6020
  // src/MioAuth/components/OtpForm/DialogVerificarOtp.tsx
6018
6021
  import {
6019
6022
  useCredentials as useCredentials5
@@ -6023,7 +6026,7 @@ import { useEffect as useEffect6, useState as useState9 } from "react";
6023
6026
 
6024
6027
  // src/VerificationCodeInput/index.tsx
6025
6028
  import { useRef as useRef2 } from "react";
6026
- import { Box as Box12, TextField as TextField9 } from "@mui/material";
6029
+ import { Box as Box12, TextField as TextField8 } from "@mui/material";
6027
6030
  import { jsx as jsx37 } from "react/jsx-runtime";
6028
6031
  function VerificationCodeInput({
6029
6032
  length = 6,
@@ -6047,8 +6050,8 @@ function VerificationCodeInput({
6047
6050
  inputsRef.current[index - 1]?.focus();
6048
6051
  }
6049
6052
  };
6050
- return /* @__PURE__ */ jsx37(Box12, { display: "flex", gap: 1, children: Array.from({ length }).map((_5, i) => /* @__PURE__ */ jsx37(
6051
- TextField9,
6053
+ return /* @__PURE__ */ jsx37(Box12, { display: "flex", gap: 1, children: Array.from({ length }).map((_, i) => /* @__PURE__ */ jsx37(
6054
+ TextField8,
6052
6055
  {
6053
6056
  autoFocus: i === 0,
6054
6057
  inputRef: (el) => inputsRef.current[i] = el,
@@ -6104,7 +6107,7 @@ function DialogVerificarOtp(props) {
6104
6107
  setLoading(false);
6105
6108
  }
6106
6109
  }
6107
- return /* @__PURE__ */ jsxs18(Dialog_default.Root, { open, onClose: (_5) => onClose(), maxWidth: "xs", children: [
6110
+ return /* @__PURE__ */ jsxs18(Dialog_default.Root, { open, onClose: (_) => onClose(), maxWidth: "xs", children: [
6108
6111
  /* @__PURE__ */ jsxs18(Dialog_default.Header, { children: [
6109
6112
  /* @__PURE__ */ jsx38(Dialog_default.Title, { children: "Entrar com senha tempor\xE1ria" }),
6110
6113
  /* @__PURE__ */ jsx38(Dialog_default.ActionClose, { onClose })
@@ -6161,7 +6164,6 @@ function DialogVerificarOtp(props) {
6161
6164
  }
6162
6165
 
6163
6166
  // src/MioAuth/components/OtpForm/index.tsx
6164
- import { HelpOutline } from "@mui/icons-material";
6165
6167
  import { Fragment as Fragment4, jsx as jsx39, jsxs as jsxs19 } from "react/jsx-runtime";
6166
6168
  var contatoSchema = create$3().shape({
6167
6169
  contato: create$6().when("$tipo", ([tipo], schema6) => {
@@ -6200,7 +6202,7 @@ function OtpForm(props) {
6200
6202
  /* @__PURE__ */ jsx39("form", { onSubmit: handleSubmit, children: /* @__PURE__ */ jsxs19(Stack16, { spacing: 2, children: [
6201
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" }),
6202
6204
  tipo === "otp-email" && /* @__PURE__ */ jsx39(
6203
- TextField10,
6205
+ TextField9,
6204
6206
  {
6205
6207
  autoFocus: true,
6206
6208
  name: "contato",
@@ -6280,7 +6282,7 @@ function OtpForm(props) {
6280
6282
  {
6281
6283
  onLoginSuccess,
6282
6284
  open: isOpenVerificar,
6283
- onClose: async (_5) => {
6285
+ onClose: async (_) => {
6284
6286
  setOpenVerificar(false);
6285
6287
  },
6286
6288
  payload: {
@@ -6403,7 +6405,7 @@ function LoginSection(props) {
6403
6405
  }
6404
6406
 
6405
6407
  // src/MioAuth/components/DefaultBanner/index.tsx
6406
- import { ArrowRight } from "@mui/icons-material";
6408
+ import ArrowRight from "@mui/icons-material/ArrowRight";
6407
6409
  import { Link, Stack as Stack18, Typography as Typography14, useMediaQuery as useMediaQuery4, useTheme as useTheme7 } from "@mui/material";
6408
6410
  import { jsx as jsx41, jsxs as jsxs21 } from "react/jsx-runtime";
6409
6411
  function DefaultBanner() {
@@ -6554,6 +6556,9 @@ function MioAuth(props) {
6554
6556
 
6555
6557
  // src/AlterarLicenca/index.tsx
6556
6558
  import { formatDocumento as formatDocumento2, normalizeText } from "@data-c/hooks";
6559
+ import ArrowDropDown from "@mui/icons-material/ArrowDropDown";
6560
+ import { Button as Button12, Stack as Stack44, Typography as Typography26 } from "@mui/material";
6561
+ import { useState as useState25 } from "react";
6557
6562
 
6558
6563
  // src/v2/Header/HeaderContent.tsx
6559
6564
  import { Stack as Stack20 } from "@mui/material";
@@ -7826,7 +7831,7 @@ import {
7826
7831
  Popper,
7827
7832
  styled as styled5
7828
7833
  } from "@mui/material";
7829
- import _2 from "lodash";
7834
+ import truncate from "lodash/truncate";
7830
7835
  import React6, { useState as useState13 } from "react";
7831
7836
 
7832
7837
  // src/Surface/index.tsx
@@ -7948,7 +7953,7 @@ function MinMenuItem(props) {
7948
7953
  },
7949
7954
  children: [
7950
7955
  /* @__PURE__ */ jsx89(ListItemIcon2, { children: renderIcon(icon) }),
7951
- /* @__PURE__ */ jsx89(ListItemText2, { primary: _2.truncate(label, { length: 12 }) }),
7956
+ /* @__PURE__ */ jsx89(ListItemText2, { primary: truncate(label, { length: 12 }) }),
7952
7957
  opened?.id === id && /* @__PURE__ */ jsx89(
7953
7958
  Popper,
7954
7959
  {
@@ -8336,7 +8341,7 @@ function reducer(state, action) {
8336
8341
  case "toggleIsOpen":
8337
8342
  return { ...state, isOpen: !state.isOpen };
8338
8343
  case "deleteAppliedValue":
8339
- const { [action.filterName]: _5, ...rest } = state.appliedValues || {};
8344
+ const { [action.filterName]: _, ...rest } = state.appliedValues || {};
8340
8345
  const { [action.filterName]: __, ...restFilterValues } = state.filterValues || {};
8341
8346
  if (action?.storagePath) {
8342
8347
  const storage = JSON.parse(
@@ -8593,7 +8598,7 @@ function FilterChips({
8593
8598
  if (!containsInAppliedValues)
8594
8599
  return null;
8595
8600
  return React9.cloneElement(child, {
8596
- onDelete: !child.props.disabledDelete ? (_5) => {
8601
+ onDelete: !child.props.disabledDelete ? (_) => {
8597
8602
  if (deleteFilterValue)
8598
8603
  deleteFilterValue(child.props.name || "");
8599
8604
  close();
@@ -8769,11 +8774,11 @@ function FilterRoot(props) {
8769
8774
 
8770
8775
  // src/v2/Filter/FilterSearchTextField.tsx
8771
8776
  import { InputBase } from "@mui/material";
8772
- import _3 from "lodash";
8777
+ import debounce2 from "lodash/debounce";
8773
8778
  import { jsx as jsx107 } from "react/jsx-runtime";
8774
8779
  function FilterSearchTextField(props) {
8775
8780
  const { onChange, ...rest } = props;
8776
- const debouncedHandleChange = _3.debounce((query) => onChange(query), 500);
8781
+ const debouncedHandleChange = debounce2((query) => onChange(query), 500);
8777
8782
  function handleChange(event) {
8778
8783
  const value = event.target.value;
8779
8784
  debouncedHandleChange(value);
@@ -8803,7 +8808,7 @@ import { ColumnsPanelTrigger, useGridApiRef as useGridApiRef2 } from "@mui/x-dat
8803
8808
 
8804
8809
  // src/v2/DataTable/DataTable.tsx
8805
8810
  import { useEffect as useEffect11, useMemo as useMemo4 } from "react";
8806
- import { Circle as Circle3 } from "@mui/icons-material";
8811
+ import Circle3 from "@mui/icons-material/Circle";
8807
8812
  import { LinearProgress, Stack as Stack29 } from "@mui/material";
8808
8813
  import {
8809
8814
  DataGrid,
@@ -9043,7 +9048,7 @@ function Table(props) {
9043
9048
  break;
9044
9049
  }
9045
9050
  }
9046
- function handleRowDoubleClick(params, _5, details) {
9051
+ function handleRowDoubleClick(params, _, details) {
9047
9052
  if (onRowDoubleClick)
9048
9053
  onRowDoubleClick("edit", params.id);
9049
9054
  }
@@ -9355,7 +9360,7 @@ function CellAction(props) {
9355
9360
  }
9356
9361
 
9357
9362
  // src/v2/DataTable/DataTableCellActionDelete.tsx
9358
- import { Delete as DeleteIcon2 } from "@mui/icons-material";
9363
+ import DeleteIcon2 from "@mui/icons-material/Delete";
9359
9364
  import { GridActionsCellItem as GridActionsCellItem6 } from "@mui/x-data-grid";
9360
9365
  import { jsx as jsx119 } from "react/jsx-runtime";
9361
9366
  function CellActionDelete({
@@ -9378,7 +9383,7 @@ function CellActionDelete({
9378
9383
  }
9379
9384
 
9380
9385
  // src/v2/DataTable/DataTableCellActionEdit.tsx
9381
- import { Edit as EditIcon } from "@mui/icons-material";
9386
+ import EditIcon from "@mui/icons-material/Edit";
9382
9387
  import { GridActionsCellItem as GridActionsCellItem7 } from "@mui/x-data-grid";
9383
9388
  import { jsx as jsx120 } from "react/jsx-runtime";
9384
9389
  function CellActionEdit({
@@ -9412,7 +9417,7 @@ function CellActions(props) {
9412
9417
  }
9413
9418
 
9414
9419
  // src/v2/DataTable/DataTableCellActionTransport.tsx
9415
- import { GetApp as TransportIcon } from "@mui/icons-material";
9420
+ import TransportIcon from "@mui/icons-material/GetApp";
9416
9421
  import { GridActionsCellItem as GridActionsCellItem8 } from "@mui/x-data-grid";
9417
9422
  import { jsx as jsx122 } from "react/jsx-runtime";
9418
9423
  function CellActionTransport({
@@ -9450,7 +9455,7 @@ function Content(props) {
9450
9455
  }
9451
9456
 
9452
9457
  // src/v2/DataTable/DataTableExportCsvButton.tsx
9453
- import { FileDownload as FileDownloadIcon } from "@mui/icons-material";
9458
+ import FileDownloadIcon from "@mui/icons-material/FileDownload";
9454
9459
  import {
9455
9460
  gridFilteredSortedRowIdsSelector as gridFilteredSortedRowIdsSelector2
9456
9461
  } from "@mui/x-data-grid";
@@ -9499,7 +9504,7 @@ function Footer2(props) {
9499
9504
  // src/v2/DataTable/DataTablePagination.tsx
9500
9505
  import { useMemo as useMemo5 } from "react";
9501
9506
  import {
9502
- TextField as TextField11,
9507
+ TextField as TextField10,
9503
9508
  Pagination as MuiPagination,
9504
9509
  MenuItem as MenuItem3,
9505
9510
  Stack as Stack32,
@@ -9566,7 +9571,7 @@ function Pagination(props) {
9566
9571
  ),
9567
9572
  showPagination && /* @__PURE__ */ jsxs68(Stack32, { direction: "row", alignItems: "center", gap: 2, marginLeft: "auto", children: [
9568
9573
  /* @__PURE__ */ jsx126(
9569
- TextField11,
9574
+ TextField10,
9570
9575
  {
9571
9576
  sx: {
9572
9577
  width: "78px",
@@ -9591,7 +9596,7 @@ function Pagination(props) {
9591
9596
  count: pages || 0,
9592
9597
  showFirstButton: true,
9593
9598
  showLastButton: true,
9594
- onChange: (_5, _page) => {
9599
+ onChange: (_, _page) => {
9595
9600
  if (onChangePage)
9596
9601
  onChangePage(_page);
9597
9602
  },
@@ -10242,10 +10247,10 @@ import {
10242
10247
  IconButton as IconButton12,
10243
10248
  Autocomplete as MuiAutocomplete,
10244
10249
  Stack as Stack41,
10245
- TextField as TextField12,
10250
+ TextField as TextField11,
10246
10251
  Typography as Typography24
10247
10252
  } from "@mui/material";
10248
- import _4 from "lodash";
10253
+ import debounce3 from "lodash/debounce";
10249
10254
  import React12, { useCallback as useCallback3 } from "react";
10250
10255
  import { jsx as jsx151, jsxs as jsxs71 } from "react/jsx-runtime";
10251
10256
  function Loading() {
@@ -10320,14 +10325,14 @@ function Autocomplete(props) {
10320
10325
  }
10321
10326
  return endAdornment;
10322
10327
  }
10323
- const debouncedHandleSearch = _4.debounce((query, reason) => {
10328
+ const debouncedHandleSearch = debounce3((query, reason) => {
10324
10329
  if (reason === "selectOption")
10325
10330
  return;
10326
10331
  if (onSearchChange)
10327
10332
  onSearchChange(query, reason);
10328
10333
  }, 500);
10329
10334
  const handleSearch = useCallback3(
10330
- (_5, v, reason) => {
10335
+ (_, v, reason) => {
10331
10336
  debouncedHandleSearch(v, reason);
10332
10337
  },
10333
10338
  [debouncedHandleSearch]
@@ -10348,7 +10353,7 @@ function Autocomplete(props) {
10348
10353
  loading: isLoading,
10349
10354
  loadingText: /* @__PURE__ */ jsx151(Loading, {}),
10350
10355
  value,
10351
- onChange: (_5, v) => handleChange(v),
10356
+ onChange: (_, v) => handleChange(v),
10352
10357
  options,
10353
10358
  onInputChange: handleSearch,
10354
10359
  getOptionLabel: renderValue,
@@ -10359,7 +10364,7 @@ function Autocomplete(props) {
10359
10364
  renderOption,
10360
10365
  renderInput: (params) => {
10361
10366
  return /* @__PURE__ */ jsx151(
10362
- TextField12,
10367
+ TextField11,
10363
10368
  {
10364
10369
  slotProps: {
10365
10370
  inputLabel: { shrink: true },
@@ -10538,7 +10543,7 @@ import {
10538
10543
  TextField as MUITextField
10539
10544
  } from "@mui/material";
10540
10545
  import { jsx as jsx155 } from "react/jsx-runtime";
10541
- function TextField13(props) {
10546
+ function TextField12(props) {
10542
10547
  return /* @__PURE__ */ jsx155(
10543
10548
  MUITextField,
10544
10549
  {
@@ -10621,7 +10626,7 @@ function DocumentoTextField(props) {
10621
10626
  };
10622
10627
  const maxLen = formattedMaxLength(tipoDocumento, propValue || internalValue);
10623
10628
  return /* @__PURE__ */ jsx156(
10624
- TextField13,
10629
+ TextField12,
10625
10630
  {
10626
10631
  value: displayedValue,
10627
10632
  onChange: handleChange,
@@ -10669,7 +10674,7 @@ function CEPTextField(props) {
10669
10674
  }
10670
10675
  };
10671
10676
  return /* @__PURE__ */ jsx157(
10672
- TextField13,
10677
+ TextField12,
10673
10678
  {
10674
10679
  value: displayedValue,
10675
10680
  onChange: handleChange,
@@ -10794,7 +10799,7 @@ function TelefoneTextField(props) {
10794
10799
  };
10795
10800
  const maxLen = formattedMaxLength2(tipoTelefone, allowDDI);
10796
10801
  return /* @__PURE__ */ jsx158(
10797
- TextField13,
10802
+ TextField12,
10798
10803
  {
10799
10804
  value: displayedValue,
10800
10805
  onChange: handleChange,
@@ -11015,7 +11020,7 @@ function DatePickerProvider({
11015
11020
  // src/v2/DateRangePicker/index.tsx
11016
11021
  import {
11017
11022
  IconButton as IconButton13,
11018
- InputAdornment as InputAdornment5,
11023
+ InputAdornment as InputAdornment4,
11019
11024
  MenuItem as MenuItem6,
11020
11025
  Stack as Stack43,
11021
11026
  styled as styled7
@@ -11221,7 +11226,7 @@ function DateRangePicker(props) {
11221
11226
  ),
11222
11227
  /* @__PURE__ */ jsxs75(Stack43, { spacing: 2, children: [
11223
11228
  /* @__PURE__ */ jsxs75(
11224
- TextField13,
11229
+ TextField12,
11225
11230
  {
11226
11231
  value: dates.tipo,
11227
11232
  onChange: (e) => {
@@ -11233,7 +11238,7 @@ function DateRangePicker(props) {
11233
11238
  size: "small",
11234
11239
  variant: "outlined",
11235
11240
  InputProps: {
11236
- startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs75(InputAdornment5, { position: "start", children: [
11241
+ startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs75(InputAdornment4, { position: "start", children: [
11237
11242
  /* @__PURE__ */ jsx163(IconButton13, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx163(ArrowLeftIcon, { fontSize: "small" }) }),
11238
11243
  /* @__PURE__ */ jsx163(IconButton13, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx163(ArrowRightIcon, { fontSize: "small" }) })
11239
11244
  ] })
@@ -11290,7 +11295,7 @@ function DateRangePicker(props) {
11290
11295
  }
11291
11296
  return /* @__PURE__ */ jsxs75(Stack43, { spacing: 2, children: [
11292
11297
  /* @__PURE__ */ jsxs75(
11293
- TextField13,
11298
+ TextField12,
11294
11299
  {
11295
11300
  value: dates.tipo,
11296
11301
  onChange: (e) => {
@@ -11302,7 +11307,7 @@ function DateRangePicker(props) {
11302
11307
  size: "small",
11303
11308
  variant: "outlined",
11304
11309
  InputProps: {
11305
- startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs75(InputAdornment5, { position: "start", children: [
11310
+ startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs75(InputAdornment4, { position: "start", children: [
11306
11311
  /* @__PURE__ */ jsx163(IconButton13, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx163(ArrowLeftIcon, { fontSize: "small" }) }),
11307
11312
  /* @__PURE__ */ jsx163(IconButton13, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx163(ArrowRightIcon, { fontSize: "small" }) })
11308
11313
  ] })
@@ -11408,7 +11413,7 @@ var CurrencyTextField = forwardRef2(
11408
11413
  }
11409
11414
  }, []);
11410
11415
  return /* @__PURE__ */ jsx164(
11411
- TextField13,
11416
+ TextField12,
11412
11417
  {
11413
11418
  onKeyDown: (e) => {
11414
11419
  key = e.key;
@@ -11440,9 +11445,6 @@ var CurrencyTextField = forwardRef2(
11440
11445
  var CurrencyTextField_default = CurrencyTextField;
11441
11446
 
11442
11447
  // src/AlterarLicenca/index.tsx
11443
- import { Button as Button12, Stack as Stack44, Typography as Typography26 } from "@mui/material";
11444
- import { ArrowDropDown } from "@mui/icons-material";
11445
- import { useState as useState25 } from "react";
11446
11448
  import { jsx as jsx165, jsxs as jsxs76 } from "react/jsx-runtime";
11447
11449
  function AlterarLicenca(props) {
11448
11450
  const { licencas, licencaSelecionada, onAlterarLicenca } = props;
@@ -11526,8 +11528,9 @@ import { List as List5 } from "@mui/material";
11526
11528
 
11527
11529
  // src/DrawerMenu/components/FullMenu/components/FullMenuItem/index.tsx
11528
11530
  import { useState as useState26 } from "react";
11531
+ import ExpandLess from "@mui/icons-material/ExpandLess";
11532
+ import ExpandMore from "@mui/icons-material/ExpandMore";
11529
11533
  import { Box as Box21, Collapse as Collapse3, Icon as Icon4, ListItemText as ListItemText3 } from "@mui/material";
11530
- import { ExpandMore, ExpandLess } from "@mui/icons-material";
11531
11534
 
11532
11535
  // src/DrawerMenu/components/MenuItem/index.tsx
11533
11536
  import { MenuItem as MuiMenuItem } from "@mui/material";
@@ -11853,7 +11856,7 @@ import {
11853
11856
  Divider as Divider4,
11854
11857
  Grid as Grid2,
11855
11858
  Stack as Stack46,
11856
- TextField as TextField14,
11859
+ TextField as TextField13,
11857
11860
  Typography as Typography27
11858
11861
  } from "@mui/material";
11859
11862
  import { useEffect as useEffect19, useState as useState29 } from "react";
@@ -11904,7 +11907,7 @@ var AvatarUploader = ({ onSave, src }) => {
11904
11907
  const [zoom, setZoom] = useState28(1);
11905
11908
  const [croppedAreaPixels, setCroppedAreaPixels] = useState28(null);
11906
11909
  const [open, setOpen] = useState28(false);
11907
- const onCropComplete = useCallback5((_5, croppedAreaPixels2) => {
11910
+ const onCropComplete = useCallback5((_, croppedAreaPixels2) => {
11908
11911
  setCroppedAreaPixels(croppedAreaPixels2);
11909
11912
  }, []);
11910
11913
  const handleSave = async () => {
@@ -11985,7 +11988,7 @@ var AvatarUploader = ({ onSave, src }) => {
11985
11988
  min: 1,
11986
11989
  max: 3,
11987
11990
  step: 0.1,
11988
- onChange: (_5, value) => setZoom(value)
11991
+ onChange: (_, value) => setZoom(value)
11989
11992
  }
11990
11993
  ),
11991
11994
  /* @__PURE__ */ jsx174(ButtonContainer, { children: /* @__PURE__ */ jsx174(Button13, { variant: "contained", onClick: handleSave, children: "Salvar" }) })
@@ -12068,7 +12071,7 @@ function MinhaConta(props) {
12068
12071
  /* @__PURE__ */ jsx175(Typography27, { variant: "h6", children: "Informa\xE7\xF5es da Conta" }),
12069
12072
  /* @__PURE__ */ jsxs81(Grid2, { container: true, spacing: 1.5, children: [
12070
12073
  /* @__PURE__ */ jsx175(Grid2, { size: { xl: 4, lg: 4, md: 4, sm: 12, xs: 12 }, children: /* @__PURE__ */ jsx175(
12071
- TextField14,
12074
+ TextField13,
12072
12075
  {
12073
12076
  disabled: true,
12074
12077
  fullWidth: true,
@@ -12077,7 +12080,7 @@ function MinhaConta(props) {
12077
12080
  }
12078
12081
  ) }),
12079
12082
  /* @__PURE__ */ jsx175(Grid2, { size: { xl: 4, lg: 4, md: 4, sm: 12, xs: 12 }, children: /* @__PURE__ */ jsx175(
12080
- TextField14,
12083
+ TextField13,
12081
12084
  {
12082
12085
  name: "name",
12083
12086
  fullWidth: true,
@@ -12088,7 +12091,7 @@ function MinhaConta(props) {
12088
12091
  }
12089
12092
  ) }),
12090
12093
  /* @__PURE__ */ jsx175(Grid2, { size: { xl: 4, lg: 4, md: 4, sm: 12, xs: 12 }, children: /* @__PURE__ */ jsx175(
12091
- TextField14,
12094
+ TextField13,
12092
12095
  {
12093
12096
  name: "surname",
12094
12097
  fullWidth: true,
@@ -12117,6 +12120,7 @@ import {
12117
12120
  useCredentials as useCredentials10,
12118
12121
  useForm as useForm4
12119
12122
  } from "@data-c/hooks";
12123
+ import Verified from "@mui/icons-material/Verified";
12120
12124
  import { Alert as Alert10, Divider as Divider5, Stack as Stack48, Typography as Typography29 } from "@mui/material";
12121
12125
  import { useEffect as useEffect21, useState as useState31 } from "react";
12122
12126
 
@@ -12151,7 +12155,7 @@ function DialogVerificarWhastapp(props) {
12151
12155
  setLoading(false);
12152
12156
  }
12153
12157
  }
12154
- return /* @__PURE__ */ jsxs82(Dialog_default.Root, { open, onClose: (_5) => onClose(), maxWidth: "xs", children: [
12158
+ return /* @__PURE__ */ jsxs82(Dialog_default.Root, { open, onClose: (_) => onClose(), maxWidth: "xs", children: [
12155
12159
  /* @__PURE__ */ jsxs82(Dialog_default.Header, { children: [
12156
12160
  /* @__PURE__ */ jsx176(Dialog_default.Title, { children: "Verifica\xE7\xE3o do seu n\xFAmero de WhatsApp" }),
12157
12161
  /* @__PURE__ */ jsx176(Dialog_default.ActionClose, { onClose })
@@ -12209,7 +12213,6 @@ function DialogVerificarWhastapp(props) {
12209
12213
  }
12210
12214
 
12211
12215
  // src/Profile/LoginSeguranca.tsx
12212
- import { Verified } from "@mui/icons-material";
12213
12216
  import { jsx as jsx177, jsxs as jsxs83 } from "react/jsx-runtime";
12214
12217
  var schema5 = create$3().shape({
12215
12218
  whatsappNumber: create$6().required("Informe o n\xFAmero do whastapp").length(15)
@@ -12320,7 +12323,7 @@ function LoginSeguranca(props) {
12320
12323
  DialogVerificarWhastapp,
12321
12324
  {
12322
12325
  open: isOpenVerificarWhastapp,
12323
- onClose: async (_5) => {
12326
+ onClose: async (_) => {
12324
12327
  setOpenVerificarWhatsapp(false);
12325
12328
  },
12326
12329
  payload: usuario,
@@ -12350,7 +12353,7 @@ function Profile(props) {
12350
12353
  {
12351
12354
  orientation: "vertical",
12352
12355
  value: tabValue,
12353
- onChange: (_5, value) => {
12356
+ onChange: (_, value) => {
12354
12357
  setTabValue(value);
12355
12358
  },
12356
12359
  sx: {
@@ -12445,7 +12448,7 @@ export {
12445
12448
  SearchTextField,
12446
12449
  Surface,
12447
12450
  TelefoneTextField,
12448
- TextField13 as TextField,
12451
+ TextField12 as TextField,
12449
12452
  ThemeProvider,
12450
12453
  Title4 as Title,
12451
12454
  Tooltip_default as Tooltip,